Re: I'm a -- MARK --'ed user.

2003-01-22 Thread Larry Holish
On Wed, Jan 22, 2003 at 10:40:24AM -0500, Narins, Josh wrote:
> 
> I know I had help figuring this out a couple years ago, but I don't
> remember, and it's impossible to google (the dashes are stripped if you
> try).
> 
> On my console, on a woody 486, I see, regularly...
> 
> [ 30 or so seconds pass]
> 
> And I am quite sure I do not like feeling like a -- MARK --'ed person.
> 
> Help? 

This is normal. See section 11.2.3 of the Securing Debian HOWTO:

http://www.debian.org/doc/manuals/securing-debian-howto/ch11.en.html#s-vulnerable-system

HTH,

-- 
Larry Holish
<[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ALSA sound setup

2003-02-14 Thread Larry Holish
On Thu, Feb 13, 2003 at 06:35:24PM -0500, Chris Mitchell wrote:
> On Thu, Feb 13, 2003 at 04:34:01PM -0600, Jamin W. Collins wrote:
> > On Thu, Feb 13, 2003 at 04:04:49PM -0500, Chris Mitchell wrote:
> > > Hi all. 
> > >   I'm a bit stumped in my efforts to get ALSA sound working...
> (snip) 
> Hmm... *PokePokeRummage*
> The relevant bit of my modules.conf sez:
>   # --- BEGIN: Generated by ALSACONF, do not edit. ---
>   # --- ALSACONF verion 0.4.3b ---
>   alias char-major-116 snd
>   alias snd-card-0 snd-card-emu10k1
>   alias char-major-14 soundcore
>   alias sound-slot-0 snd-card-0
>   alias sound-service-0-0 snd-mixer-oss
>   alias sound-service-0-1 snd-seq-oss
>   alias sound-service-0-3 snd-pcm-oss
>   alias sound-service-0-8 snd-seq-oss
>   alias sound-service-0-12 snd-pcm-oss
>   options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660
>   snd_device_gid=29 snd_device_uid=0
>   options snd-card-emu10k1 snd_index=0 snd_id=CARD_0
>   snd_dac_frame_size=128 snd_adc_frame_size=64
>   # --- END: Generated by ALSACONF, do not edit. ---
> 
> which seems to be identical to what's listed on that page... with the
> addition of the "options" stuff at the end.

I think you should be using 'snd-emu10k1', rather than
'snd-card-emu10k1' here. See the note at the top of
/usr/share/doc/alsa-base/README.Debian.

HTH,

-- 
Larry Holish
<[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ALSA sound setup

2003-02-15 Thread Larry Holish
On Fri, Feb 14, 2003 at 10:46:08PM -0500, Chris Mitchell wrote:
> On Fri, Feb 14, 2003 at 10:09:39PM -0500, Chris Mitchell wrote:
> > On Fri, Feb 14, 2003 at 10:43:25AM -0600, Larry Holish wrote:
> 
> > > I think you should be using 'snd-emu10k1', rather than
> > > 'snd-card-emu10k1' here. See the note at the top of
> > > /usr/share/doc/alsa-base/README.Debian.
> > 
> > Hmm...  My version of that document doesn't mention that, but it does
> > sound familiar.  Anyway, I tried it. Stopped alsa, edited
> > /etc/alsa/modutils/0.9, replaced both occurrences (one alias and one in 
> > options), ran update-modules, checked the change had in fact taken effect
> > in modules.conf, started alsa... no change.  I wouldn't need to run that
> > snddevices script again or anything before it'll take effect, would I?

Sorry, I guess I should have started with this. I'm running testing
with a SB Live 5.1. Here's the relevant packages I have installed:

alsa-base 0.9.0rc6-3
alsa-modules-2.4.20   0.9.0rc6+3+p3+ljhcustom.2
alsa-source   0.9.0rc6-3
alsa-utils0.9.0rc3-0.2
alsaconf  0.4.3b-4

Looks like you are running a older driver (0.9.0beta10) than me, so
'snd-card-emu10k1' is correct. The name change starts in 0.9.0beta11. 

> Okay, now this is odd.  After your changes, lsmod showed that all of the
> alsa sound-related modules were *gone*.  So I changed it back, updated
> everything, and got a "no alsa driver installed" error.  So I ran
> alsaconf *again*.  And got a new error from it:
>   miguel# /etc/init.d/alsa start
>   Starting ALSA sound driver (version 0.9.0beta10):modprobe: Invalid line
>   90 in /etc/modules.conf
> snd_adc_frame_size
>failed.
>   modprobe: Invalid line 90 in /etc/modules.conf
> snd_adc_frame_size
>   miguel# 
> Anybody know what an adc frame size is and where I can find out what
> value goes there for my card? (I googled creativelabs for it and got
> nothing)...

And just for reference, my /etc/alsa/modutils/0.9 :

alias char-major-116 snd
alias snd-card-0 snd-emu10k1
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

This is straight from the alsa-project.org webpage referenced earlier
in this thread. I'm not sure of the answer to the adc frame size
question, but try commenting out that line and see if you have any
luck.

-- 
Larry Holish
<[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ALSA sound setup

2003-02-15 Thread Larry Holish
On Sat, Feb 15, 2003 at 04:53:42PM -0500, Scruloose wrote:
> On Sat, Feb 15, 2003 at 01:38:43PM -0600, Larry Holish wrote:
> 
> > Sorry, I guess I should have started with this. I'm running testing
> > with a SB Live 5.1. Here's the relevant packages I have installed:
> 
> > Looks like you are running a older driver (0.9.0beta10) than me, so
> > 'snd-card-emu10k1' is correct. The name change starts in 0.9.0beta11. 
> > 
> > And just for reference, my /etc/alsa/modutils/0.9 :
> 
> > This is straight from the alsa-project.org webpage referenced earlier
> > in this thread. I'm not sure of the answer to the adc frame size
> > question, but try commenting out that line and see if you have any
> > luck.
> 
> Woo-hoo! We have actual progress!  I've re(re(re))named snd-emu10k1 to
> snd-card-emu10k1, *commented out ALL the 'options'*, updated-modules, 
> rebooted, and *then* ran the snddevices script, and now amixer
> runs.  I don't know how to use amixer yet, so I unmuted the main volume
> with Gnome's mixer applet, fed a couple of my old WAVs (from the windows
> partition) into aplay, and it made noise.  Whee!
> The bad news is that it did, very literally, make noise.  Garbled,
> fuzzy, unrecognizable noise.  Now, that could be a not-really-compatible
> wav file, perhaps, or just settings to tweak in mixer or in .asoundrc...
> For diagnostic purposes, how about pointing me to a WAV file that you
> *know* is good?

Here's a small audio file format (.au) I use for testing.

http://www.kernel.org/pub/linux/kernel/SillySounds/english.au

-- 
Larry Holish
<[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: kernel messages to virtual console instead of to log file/etc.

2003-10-01 Thread Larry Holish
On Wed, Oct 01, 2003 at 01:41:15AM -0400, Daniel B. wrote:
> Although I have /etc/syslog.conf set up to send most messages elsewhere,
> I still get messages like:
> 
>   EXT2-fs: Unrecognized mount option bs
> 
> and
> 
>   EXT2-fs: blocksize too small for device.
> 
> dumped directly to the current virtual console (when I'm in a text 
> console).
[snip]

This might be helpful:

http://www.debian.org/doc/manuals/securing-debian-howto/ch11.en.html
 
Specifically, FAQ 11.1.11.

Regards,
Larry

-- 
Larry Holish
<[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Info on Permissions

2002-10-16 Thread Larry Holish

On Wed, Oct 16, 2002 at 08:59:40PM -0400, lameth wrote:
> Does anyone have a link for a How-to on permissions. I understand the 
> need for them and the idea behind them but what I want is a "Everything 
> you wanted to know about permissions but were afraid to ask" type 
> document. Coming from windows I find myself woefully ignorant on this 
> subject.

This article is pretty comprehensive:

-- 
Larry Holish
<[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Info on Permissions

2002-10-16 Thread Larry Holish

On Wed, Oct 16, 2002 at 11:14:18PM -0500, Larry Holish wrote:
> On Wed, Oct 16, 2002 at 08:59:40PM -0400, lameth wrote:
> > Does anyone have a link for a How-to on permissions. I understand the 
> > need for them and the idea behind them but what I want is a "Everything 
> > you wanted to know about permissions but were afraid to ask" type 
> > document. Coming from windows I find myself woefully ignorant on this 
> > subject.
> 
> This article is pretty comprehensive:

Whoops,

http://www.linuxpowered.com/html/editorials/file.html

-- 
Larry Holish
<[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Class notes in a tree structure

2002-08-30 Thread Larry Holish

On Fri, Aug 30, 2002 at 11:08:54PM -0400, Scott Henson wrote:
> I hate to hit up the list with this problem, but I havn't been able to
> find anything anywhere else.  I am looking for a program that would
> allow me to put my notes from class into a tree like structure on the
> computer for ease of studying.  Does anyone know of such a beast?
> Thanks.

I like hnb for notes.

Package: hnb
Priority: optional
Section: misc
Installed-Size: 154
Maintainer: Andras Bali <[EMAIL PROTECTED]>
Architecture: i386
Version: 1.8.1-1
Depends: libc6 (>= 2.2.3-7), libncurses5 (>= 5.2.20010310-1), libxml2
(>= 2.4.0-1)
Filename: pool/main/h/hnb/hnb_1.8.1-1_i386.deb
Size: 55484
MD5sum: 137829d7f762f73297c5b5f46af21075
Description: Hierarchical notebook
 Hnb is an ncurses program to organize many kinds of data in one place, for
 example addresses, todo lists, ideas, book reviews or to store snippets of
 brainstorming, to make a structured packing list or just to take random notes.
 It can export ascii, html and xml, supports todo checkboxes, checkbox trees
 with percentages, priorities, preferences, searching and more.

-- 
Larry Holish
<[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: annoying console messeges

2002-09-18 Thread Larry Holish

On Wed, Sep 18, 2002 at 03:15:33PM -0400, [EMAIL PROTECTED] wrote:

> Hi list,

> i recently did upgrade from potato to woody. After the upgrade
> messages from packet log filter appears on console screen . How
> can i avoid them to appeor on console - its very paiful do some
> work on console when they appear. I have 2.2.18 kernel compiled
> myself with ipchains installed.

See Chapter 11.1.11 in this HOWTO:

http://www.debian.org/doc/manuals/securing-debian-howto/ch11.en.html

-- 
Larry Holish
<[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: OT? Change skeleton in emacs html-helper-mode

2002-10-02 Thread Larry Holish

On Mon, Sep 30, 2002 at 05:08:57PM -0400, Matt Price wrote:
> Hi everyone,
> 
> can anyone tell me how to customize the default "skeleton" (what I
> think of as a template) for emacs html-helper-mode?  I have three or
> four web projects with different looks& feels; I'd like to arrange to
> have a different template come up for each of them (or in any case,
> I'd like to be able to choose which template I want, without, say,
> opening up the file and having to "save as" --- since I'm likely to
> forget to tdo that and mess up my template.  

To customize it, I edited the html-helper-mode.el file.  The
'html-helper-new-buffer-template' string holds the actual HTML code.
Then restart Emacs.  Also, see the file
'/usr/share/doc/html-helper-mode/configuring.html.'

However, I only use one customized skeleton.  In order to use many
skeletons (and be prompted for a choice), you're probably going to
have to do some LISP programming.

Regards,

Larry

-- 
Larry Holish
<[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




make-kpkg problem

2000-08-30 Thread Larry Holish
I just upgraded from slink to potato rather successfully.  I am having
a problem upgrading my kernel from 2.0.38 to 2.2.17pre6-1.  I
installed kernel-package, and grabbed kernel-source-2.2.17,
unzipped/untarred it from /usr/src, creating the new directory
/usr/src/kernel-source-2.2.17.  Then ran these commands:

# ln -s kernel-source-2.2.17 linux
# cd linux
# make config
# make-kpkg clean
# make-kpkg --revision=custom.1.0 kernel_image

Here is the last few lines of output from the last command:

make[3]: Leaving directory `/usr/src/kernel-source-2.2.17/arch/i386/lib'
make[2]: Leaving directory `/usr/src/kernel-source-2.2.17'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing \
-o scripts/split-include scripts/split-include.c
make[1]: *** No rule to make target `include/linux/autoconf.h', \
needed by `include/config/MARKER'. Stop.
make[1]: Leaving directory `/usr/src/kernel-source-2.2.17'
make: *** [stamp-build] Error 2
#

I am using gcc 2.95.2-13, and kernel-package 7.04.potato.3.  I have
read thru the README and Problems files in the kernel-package docs,
but have not found a clue for this.  Any help would be appreciated.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Larry Holish[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



make-kpkg problem

2000-09-01 Thread Larry Holish
I just upgraded from slink to potato rather successfully.  I am having
a problem upgrading my kernel from 2.0.38 to 2.2.17.  I installed
kernel-package, and grabbed the Debian kernel-source-2.2.17 package,
unzipped/untarred it from /usr/src, creating the new directory
/usr/src/kernel-source-2.2.17.  Then ran these commands:

# ln -s kernel-source-2.2.17 linux
# cd linux
# make config
# make-kpkg clean
# make-kpkg --revision=custom.1.0 kernel_image

Here is the last few lines of output from the last command:

make[3]: Leaving directory `/usr/src/kernel-source-2.2.17/arch/i386/lib'
make[2]: Leaving directory `/usr/src/kernel-source-2.2.17'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing \
-o scripts/split-include scripts/split-include.c
make[1]: *** No rule to make target `include/linux/autoconf.h', \
needed by `include/config/MARKER'. Stop.
make[1]: Leaving directory `/usr/src/kernel-source-2.2.17'
make: *** [stamp-build] Error 2
#

I am using gcc 2.95.2-13, and kernel-package 7.04.potato.3.  I have
read thru the README and Problems files in the kernel-package docs,
but have not found a clue for this.  Any help would be appreciated.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Larry Holish[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Re: psql tab-completion

2001-06-18 Thread Larry Holish
On Fri, Jun 15, 2001 at 02:36:12PM -0500, Larry Holish wrote:
>> Debs,
>>
>> I recently upgraded from PostgreSQL 7.03 to 7.1 using apt and Oliver
>> Elphick's packages for Potato. Everything went pretty well, except the
>> client application, psql, no longer does tab completion.  Has anybody
>> else ran into this problem?  Did I miss a dependency somewhere?
>>
>> I'm using:
>>
>> postgresql   7.1release-3.potato.1
>> postgresql-client7.1release-3.potato.1
>> libreadline4 4.1-1
>>
>> Please cc: me off list, as I'm not currently subscribed. Thanks.

>this is a good question -- another is, for those of us who
>blinked when the urls went by: what's the sources.list line to
>get potato-friendly 7.1 postgres?

# deb http://people.debian.org/~elphick/postgresql/pg7.1/potato/ ./

See http://people.debian.org/~elphick/postgresql/ for the details.

-- 
Larry Holish
<[EMAIL PROTECTED]>



Re: dist-upgrade help

2001-08-02 Thread Larry Holish
On Wed, Aug 01, 2001 at 09:19:19PM -0400, Robert Schweikert wrote:
> Hi,
> 
> hen I try to upgrade my distribution from potato to woody I get the
> following error.
> 
> 97% [Scanning packages]Template parse error near "" at
> /usr/lib/perl5/Debian/DebConf/Template.pm line 60,  chunk 3.
> E: Sub-process /usr/sbin/dpkg-preconfigure --apt returned an error code
> (29)
> E: Failure running script /usr/sbin/dpkg-preconfigure --apt
> 
> Unfortunately I know nothing about Perl. I expect that more information
> is needed, but I don't know what this information would be.
> 
> The steps I took
> 
> apt-get update (This fetched the files for stable and testing)
> apt-get upgrade (this upgraded the current distribution, this worked)
> apt-get dist-upgrade (this failed)
> 
> Thanks for any help.
> 
> Robert
> 
> --
> Robert Schweikert  MAY THE SOURCE BE WITH YOU
> [EMAIL PROTECTED] LINUX
> 

I ran into a similar problem with Templates.pm doing this upgrade
earlier this week.  I found a suggestion in the list archive that
got me past it - upgrade debconf to the Woody/testing version first
(0.9.81).  Then try your apt-get dist-upgrade again.

HTH,

-- 
Larry Holish
<[EMAIL PROTECTED]>



Re: Sys Admin guide specific to Debian?

2001-08-28 Thread Larry Holish
On Tue, Aug 28, 2001 at 10:34:49AM -0400, Steve Dondley wrote:
> I'm a Linux beginner with Debian installed.  I'm looking for a beginner's
> guide to System Administration and I'm wondering if there might not be one
> particular to Debian.  If not, can someone point me in the direction of a
> good generic SysAdmin guide?
> 
> Thanks.
> 

There is a Debian specific one (though not completed) at:

http://www.debian.org/doc/manuals/system-administrator/

-- 
Larry Holish
<[EMAIL PROTECTED]>



Re: passwd segfaulting

2002-02-03 Thread Larry Holish
On Sun, Feb 03, 2002 at 06:53:17AM -0600, [EMAIL PROTECTED] wrote:
> Hello,
> 
> I am running up to date woody on a small firewall box.  I have had this 
> problem 
> for some time where passwd ALWAYS segfaults when it is called.  I have 
> searched 
> archives, looked at the /etc/passwd to see if it may be corrupt.  I have 
> password shadowing turned on and cannot find any problems in the shadow files.
> 
> Please help me.  I need some ideas on were to look next for this problem.

Have you tried the /usr/sbin/pwck command?  This command verifies the
integrity of the /etc/passwd and /etc/shadow files.  See the manpage for
more info.

-- 
Larry Holish
<[EMAIL PROTECTED]>



Re: apt logs

2002-03-01 Thread Larry Holish
On Wed, Feb 27, 2002 at 01:03:59PM -0500, Scott Henson wrote:
> Is there anyway to keep a log of what exactly has been upgraded and
> installed, and when it was upgraded or installed.  I am just wondering
> this because it might be useful if I ever do an upgrade and it screws
> everything up.  I am asking now as kind of preventive medicine in case I
> do ever screw anything up.  I would like to maybe record the exact
> command issued and what was installed because of that command.  Is there
> any program or script already able to do this, or am I going to have to
> write it myself.  Thankyou for anyhelp.

Here is a simple shell script I run after each apt or dselect run that
may be helpful.  It basically keeps a text file of what package's are
currently installed (dpkg -L), which I find faster to grep through when
I'm looking for something anyway (than using dpkg -S).

The next time the script is run, it uses diff to find the differences
between the current and last runs, and appends it to a 'history' file.
So for each date/time apt is run, you can see what packages were added,
removed or upgraded (along with their versions/descriptions).


#!/bin/sh

# Script that writes current list of packages installed
# from /var/lib/dpkg/available to pkgs_woody.current.
# Keeps a history of changes between package versions
# in woody_history.txt.

LISTDIR=/home/ljh/debian

cd $LISTDIR
if [ -f 'woody_history.txt.gz' ]; then
gunzip woody_history.txt.gz
fi
if [ -f 'pkgs_woody.current' ]; then
mv pkgs_woody.current pkgs_woody.last
COLUMNS=120 dpkg -l | grep "^i" | cut -b 5- > pkgs_woody.current
diff -C 0 pkgs_woody.last pkgs_woody.current >> woody_history.txt
fi
gzip woody_history.txt
rm -f pkgs_woody.last

# EOF

-- 
Larry Holish
<[EMAIL PROTECTED]>



Re: ALSA and debian testing with kernel 2.4.6

2001-09-21 Thread Larry Holish
On Wed, Sep 19, 2001 at 02:29:44PM +0200, Gael PEGLIASCO wrote:
> Hello,
> 
> I've tried to compile ALSA source package on a debian testing and 2.4.6
> kernel. It's seems that's the modules are not installed under
> /lib/modules/2.4.6/kernel/drivers/sound, but under
> /lib/modules/2.4.6/misc, as if it was for a 2.2 kernel. Is it normal ?
 
I'm running testing with kernel 2.4.6.  I'm using an SB Live! with
alsa 0.5 compiled from source.  My snd-* modules are installed in
/lib/modules/2.4.6/misc as well, and everything is working.

> I'have also compiled my kernel modules with the option "add kernel
> version on module information", or something like that, and 'modprobe'
> does not want to install the module sound-card-esn1371 because it does
> not contains such informations. Then, when loading these modules with
> modprobe -q and depmod -q, I still have a lot of error messages that I
> do not understand about functions not found.
> 
> Is there someone who know how to install alsa modules for a sound
> blaster 128 PCI card and 2.4.x kernel ?

I followed the instructions in the INSTALL file for the alsa-driver
source package and things seemed to work OK.  One problem I stumbled
on was to make sure that these aliases were present in /etc/modutils,

alias char-major-116 snd
alias char-major-14 soundcore

Use modprobe -c to check.
HTH,

-- 
Larry Holish
<[EMAIL PROTECTED]>



psql tab-completion

2001-06-15 Thread Larry Holish
Debs,

I recently upgraded from PostgreSQL 7.03 to 7.1 using apt and Oliver
Elphick's packages for Potato. Everything went pretty well, except the
client application, psql, no longer does tab completion.  Has anybody
else ran into this problem?  Did I miss a dependency somewhere?

I'm using:

postgresql  7.1release-3.potato.1
postgresql-client   7.1release-3.potato.1
libreadline44.1-1

Please cc: me off list, as I'm not currently subscribed.  Thanks.

-- 
Larry Holish
<[EMAIL PROTECTED]>



USB and hotplug troubleshooting

2004-08-26 Thread Larry Holish
Hello,

I'm trying to get USB and hotplug working to use my digital camera
(Canon S10). I believe I have the kernel configured correctly.

Here's where my USB problem might be (from syslog):

Aug 26 11:23:35 localhost kernel: ehci_hcd 00:10.4: remove state 3
Aug 26 11:23:35 localhost kernel: usb.c: USB disconnect on device 00:10.4-0 address 1
Aug 26 11:23:35 localhost kernel: usb.c: USB bus 1 deregistered
Aug 26 11:23:35 localhost kernel: PCI: Found IRQ 10 for device 00:10.4
Aug 26 11:23:35 localhost kernel: ehci_hcd 00:10.4: VIA Technologies, Inc. USB 2.0
Aug 26 11:23:35 localhost kernel: ehci_hcd 00:10.4: irq 10, pci mem e092e000
Aug 26 11:23:35 localhost kernel: usb.c: new USB bus registered, assigned bus number 1
Aug 26 11:23:35 localhost kernel: ehci_hcd 00:10.4: USB 2.0 enabled, EHCI 1.00, driver 
2003-Dec-29/2.4
Aug 26 11:23:35 localhost kernel: hub.c: USB hub found
Aug 26 11:23:35 localhost kernel: hub.c: 8 ports detected
Aug 26 11:23:35 localhost pci.agent[3478]:  ehci-hcd: loaded successfully
Aug 26 11:23:35 localhost pci.agent[3478]:  usb-uhci: blacklisted
Aug 26 11:23:35 localhost pci.agent[3478]:  8139too: already loaded
Aug 26 11:23:35 localhost pci.agent[3478]:  snd-emu10k1: loaded successfully
Aug 26 11:23:36 localhost usb.agent[3574]: Bad USB agent invocation
Aug 26 11:23:38 localhost usb.agent[3505]:  usbcore: blacklisted

It looks like modules are being "blacklisted", whatever that means. Can
any one nudge me in the right direction so I can get this fixed?

Thanks in advance,

-- 
Larry Holish
<[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: python: local site-packages

2006-09-22 Thread Larry Holish
On Thu, Sep 21, 2006 at 05:43:33PM +0800, Jerome BENOIT wrote:
> Hello List,
> 
> I have to use Python, which is new for me.
> 
> In particular I have to install some Python packages
> which are not debianised on my Etch box:
> I tired to do so, but I realized that the package
> was installed in the /usr directory,
> namely not in the /usr/local directory as I expected:
> 1] this seems not in accordance with the Debian policy
> (and I do not like it);
> 2] is there some kind of `config.site' for Python ?

I think what you're looking for is the prefix switch:

python setup.py install --prefix=/usr/local

See section 3.2 of "Installing Python Modules" in the Python docs.
 
HTH,

-- 
Larry Holish
<[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: git

2010-03-17 Thread Larry Holish
On Wed, Mar 17, 2010 at 09:23:18AM +0100, Klaus Jantzen wrote:
 
> due to a discussion of git  I would like to know which of the
> numerous  git-packages I have to
> install on lenny when I want to use git  in my local environment.
 
This package was a nice intro to git for me:

Package: easygit
Priority: optional
Section: vcs
Installed-Size: 340
Maintainer: Ryan Niebur 
Architecture: all
Version: 0.99-1
Depends: perl, git-core, less
Filename: pool/main/e/easygit/easygit_0.99-1_all.deb
Size: 78144
MD5sum: 5090cb96ca6b122dd9ad198d23363169
SHA1: 8c05730b6d2efa69bca1cf9431dddfc4a9b9c98f
SHA256: 831ecbab3026849e502c153f6417580ee62cd16b1d189d8c4cd02ceaff7308de
Description: git for mere mortals
 In short, Easy GIT is a single-file wrapper script for git, designed
 to make git easy to learn and use.
 .
 Features:
 * eg focuses on documentation and examples
 * eg removes many principle-of-least-surprise violations that
   catch git newbies unaware
 * eg provides subcommands that are a natural extension of
   capabilities users know from cvs/svn (eg also takes care to
   make sure the modifications to its subcommands are easily
   discoverable and error-avoiding for existing git users as
   well!)
Homepage: http://www.gnome.org/~newren/eg/
Tag: devel::rcs, implemented-in::perl

-- 
Larry Holish 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100318023206.gf29...@localhost



Re: Synthesizer software in Squeeze

2011-04-01 Thread Larry Holish
On Tue, Mar 29, 2011 at 05:16:59PM -0700, Mark wrote:
> I am looking into the available packages in Squeeze to use for composing a
> musical score for a short film and after searching the list of packages here (
> http://packages.debian.org/squeeze/sound/), "bristol" and "zynaddsubfx" seem 
> to
> be the best candidates.  Does anyone have experience using these, or have a
> suggestion for a better software package?

Have a look at yoshimi, a software synthesizer based on ZynAddSubFX.
It's generally more stable and actively developed.

Others that I use that might suit your purpose:

qsynth/fluidsynth
aeolus
lmms
hydrogen

-- 
Larry Holish



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110401153153.GC3408@localhost



Re: mutt send folder from field not to field

2002-03-26 Thread Larry Holish
On Tue, Mar 26, 2002 at 07:49:25PM -0500, Jason M. Harvey wrote:
> hello,
> 
> i've just noticed something weird, i use mutt, and fcc to sent. when i
> view the sent folder, it lists every message as "Jason M. Harvey" (the
> From: field) and not the To" field. i've read the man pages, and i'm not
> quite sure what option would change the index in that folder, or which
> format i would need to specify... but also, i haven't changed my .muttrc
> in a long time, and i know it wasn't always like this...
> 
> any ideas?

Here is the relevant part of my .muttrc.  It will show To: instead of
From: in this mailbox only, which I call outbox instead of sent.

set record=+outbox  # default location to save outgoing mail
folder-hook =outbox 'set index_format="%4C %Z %{%m/%d} %-20.20t (%4c) %s"'

HTH,
-- 
Larry Holish
<[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Easy creation of input forms & reports for PostgreSql?

2002-04-28 Thread Larry Holish
On Sun, Apr 28, 2002 at 09:47:52AM -0400, stan wrote:
> I want to create a few databases to manage household inventory, music
> collection etc. I plan on using Postgres for this.
> 
> I was wondering if there were any easy tools to generate the user front
> ends (like forms in Oracle), and reports for this? If so, are the available
> as Debian packages?
 
Recently, I setup a very simple PostgreSQL database for my music
collection.  I didn't find any tools to do this on the web, but it was
easy enough to put something together.  I've included the SQL I used to
setup my music db below, which might give you some ideas and/or a
headstart.

I also wrote a quick/dirty python script (based on an example in Ben
Gertzfield's python-cddb Debian package) that will read a music CD,
query the FreeDB website for data, prompt the user for extra info, and
drop it all into my PostgreSQL database.  I'm willing to make the script
available if you're interested.

### included SQL defs

BEGIN;

/* Creates two tables for a personal music collection, related by
generated key rec_id. Larry Holish <[EMAIL PROTECTED]> 3/28/02
*/

CREATE TABLE recordings (
rec_id serial PRIMARY KEY,
artist text NOT NULL,
title text NOT NULL,
label text,
year text,
format text CHECK (format IN ('CD','TAPE','LP')) DEFAULT 'CD',
genre text,
disc_ext text,
total_length text,
comments text,
UNIQUE(artist,title,format)
);
COMMENT ON TABLE recordings IS 'Personal Music collection';
COMMENT ON column recordings.rec_id IS 'Primary key';
COMMENT ON column recordings.title IS 'Recording title';
COMMENT ON column recordings.artist IS 'Recording artist';
COMMENT ON column recordings.label IS 'Recording label';
COMMENT ON column recordings.year IS 'Recording release date';
COMMENT ON column recordings.format IS 'Recording format';
COMMENT ON column recordings.genre IS 'FreeDB database genre';
COMMENT ON column recordings.disc_ext IS 'FreeDB extended disc information';
COMMENT ON column recordings.total_length IS 'Total length of recording';
COMMENT ON column recordings.comments IS 'Comments';

CREATE TABLE tracks (
rec_id int2 REFERENCES recordings ON DELETE CASCADE,
track_title text,
track_num int2,
track_length text,
track_ext text
);
COMMENT ON TABLE tracks IS 'Track information for each recording';
COMMENT ON column tracks.rec_id IS 'Foreign key that references rec_id';
COMMENT ON column tracks.track_title IS 'Track title';
COMMENT ON column tracks.track_num IS 'Track number';
COMMENT ON column tracks.track_length IS 'Track length in minutes:seconds';
COMMENT ON column tracks.track_ext IS 'FreeDB extended track information';

COMMIT;

-- 
Larry Holish
<[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Apache?? problem

2002-05-07 Thread Larry Holish
On Tue, May 07, 2002 at 03:21:54PM -0700, David Smead wrote:
> 
> I'm converting an intranet server from RH to Debian and have run into a
> problem with Apache.
> 
> On our intranet is a web page that let's users print various documents,
> via a simple Python CGI.  The CGI uses the os.system() function with the
> appropriate command line in the call.
> 
> Curiously, the documents get printed, but then Apache announces an
> internal server error. If I could find a log of the error I'd have some
> clues, but I can't find were it logs to any of the expected places.

Running woody here, and Apache writes errors to
/var/log/apache/error.log.  Have you tried running the python CGI
script from the command line, to see if you get any errors there?

-- 
Larry Holish
<[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Apache?? problem

2002-05-08 Thread Larry Holish
On Tue, May 07, 2002 at 09:40:57PM -0700, David Smead wrote:
> Larry,
> 
> Yes, the script works from the command line.  As mentioned, it also works
> as a CGI, but after executing the print command it comes back with an
> Internal Server Error, code 500.
> 
> I've since discovered that any or the os. functions
> also bomb, after they are executed.  Even the simple os.system( 'echo
> something'); produces the server error.
> 
> Unfortunately there are three things different than the system that has
> been working for a year now:  Debian with 2.4.18 kernel instead of RH7.1
> and 2.4.2-2; Apache 1.3.24 instead of 1.3.19 and Python 2.1.3 using GCC
> 2.95 instead of 2.1 using GCC 2.96.

I still suspect this is a problem with your script.  In my experience
the 500 error is always from invalid HTTP headers.  A common problem I
have seen is that only one set of headers can be returned for a
response, and after the headers have been ended with a blank line, you
can't write more.

One other troubleshooter I use in python cgi is the function
cgi.test().  This prints headers, and displays environment and form
variables from your script.

The people over at comp.lang.python may be able to help you out more.

HTH,
Larry
-- 
Larry Holish
<[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]