Re: add kernel modules

2003-11-09 Thread Joel HATSCH
On Wed, 05 Nov 2003 17:00:52 -0500
donnie <[EMAIL PROTECTED]> wrote:

> Also, not sure which install you are using, but I found this, just in
> case you run into some trouble with the "Installing Foreign Modules."
> 
> Link:
> http://lists.debian.org/debian-boot/2002/debian-boot-200212/msg00826.html
> 
> Hello,
> I tried to install the network module e1000.o with the function
> "Install foreign Modules". This procedure works well with kernel
> 2.2.20 but does not work with 2.4.18-bf2.4.
> The installation program wants to copy the module e1000.o from the
> floppy directory /lib/modules/net to the directory
> /target/lib/modules/2.4.18-bf2.4/net. This target directory does not
> exist, because the network drivers of the kernel 2.4.18-bf2.4 are
> located in
> /target/lib/modules/2.4.18-bf2.4/kernel/drivers/net (in difference to
> kernel 2.2.20). So the installation program creates a ***file*** named
> "net" in /target/lib/modules/2.4.28-bf2.4/. If I created the
> /target/lib/modules/2.4.18-bf2.4/net directory
> before applying the "Install foreign Modules" function, the e1000.o
> module was copied into this directory correctly, but the following
> modconf function couldn't find it for configuration of cause.
> So I had to copy the module into the /target/.../kernel/drivers/net
> directory manually. 
> After this the modconf program can find the new driver module.

... which brings me to an interesting question :
what if the kernel I use to install is too old and not able to get the
NIC to work ? debian is based on network availability for installation
(unless you have everything on CD *AND* a CD player which recognises
your CDs (maybe mine had just problems with RW's))
in my case I had to use the 2.4.22 kernel & modules to get my NIC to
work. Not sure if the 2.4.22 NIC driver would have loaded under 2.4.18
(although I doubt this as I already had this problem once and the kernel
wants modules compiled for 2.4.18-bf2.4), didn't try it.
is there a "debian way" of doing this ? (creating a dedicated bootdisk
maybe ?)

Joel


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



[no subject]

2003-11-09 Thread jamal khan



i want driver for crystal sound fusion (tm) 
cs-4281
   
thankyou


Re: your mail

2003-11-09 Thread Matt Foster
Quoting jamal khan ([EMAIL PROTECTED]):
> i want driver for crystal sound fusion (tm) cs-4281
>thankyou

I believe that this card is supported by alsa's cirrus logic module.
You should be able to apt-get install alsa, and build it from source.

Assuming, (of course), that it was a linux driver you were after :)


-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: USB disk, SCSI , and /etc/fstab

2003-11-09 Thread Jerome BENOIT
Thanks for your reply.



Mattia Dongili wrote:
On Sat, Nov 08, 2003 at 08:48:09PM +0200, Jerome BENOIT wrote:

Mattia Dongili wrote:

On Sat, Nov 08, 2003 at 08:03:17PM +0200, Jerome BENOIT wrote:


Hello List,

is there a way to configure my laptop
to assign alway the same SCSI dev to my
USB disk whatever the order they are pluged ?


I don't know but I think not.
You could take advantage of the callback script of hotpulg to add and
remove an fstab entry.
hth, bye
Thanks for your reply:
I am not (yet) very familiar with hotplug stuff:
please can give a name to the "callback" script.


I think you could tweak with /etc/hotpulg/usb.agent, it's a bash script.
See the beginning of the file for ... uh!
fellowing the mechanism in the script,
I wrote a `/etc/hotplug/usb/usb-storage' script to solve my issue.
I found a very usefull tool while looking at usb.agent: updfstab 
It's in the kudzu package, install it, read the man page and tweak
usb.agent to call it in the add) case as it's already done in
the remove) case

(backup your fstab file before experimenting :)

hth
Thanks



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


Re:

2003-11-09 Thread Russell Coker
On Sun, 9 Nov 2003 14:10, jamal khan wrote:
> i want driver for crystal sound fusion (tm) cs-4281

Enable the option CONFIG_SOUND_CS4281 and rebuild your kernel.

One problem with that sound module is that it will not work correctly after 
suspend, so on resume you have to unload the module (fuser -k to kill any 
processes that are using it) and then reload it again to get it to work 
correctly.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


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



Re: USB disk, SCSI , and /etc/fstab

2003-11-09 Thread Simon McCartney
On Sat, Nov 08, 2003 at 08:03:17PM +0200, Jerome BENOIT wrote:
> Hello List,
> 
> is there a way to configure my laptop
> to assign alway the same SCSI dev to my
> USB disk whatever the order they are pluged ?
> 
> Thanks in advance,
> Jerome BENOIT
> 

I've used the following to handle the various usb memory sticks I have,
I put it in /etc/hotplug/usb/usb-storage, I then have a couple of
entries in /etc/auto.misc to mount the devices on demand (with a 5
second timeout)  It's crude but it works.

HTH,

Simon.



#!/bin/sh
#
# hotplug script to handle usb-storage
#

if [ "$ACTION" = "add" ]
then
sleep 5

rmmod sd_mod 
rmmod usb-storage 
rmmod scsi_mod

sleep 5

modprobe usb-storage 
modprobe sd_mod 
modprobe scsi_mod

fi

if [ "$ACTION" = "remove" ]
then
rmmod sd_mod 
rmmod usb-storage 
rmmod scsi_mod
fi

-simon (E: [EMAIL PROTECTED] T: +44 2890 725060 M: +44 7710 836 915)


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



Sandisk SDDR55 mounting ro

2003-11-09 Thread Jeff
I have a Sandisk Imagemate that loads as SDDR55.  However, I can't get
it to mount read-write.  

Syslog shows...
Nov  9 13:21:56 jcdeb2 kernel: Attached scsi removable disk sda at
scsi0, channel 0, id 0, lun 0
Nov  9 13:21:56 jcdeb2 kernel: sddr55: map inconsistency at LBA 0002
Nov  9 13:21:56 jcdeb2 kernel: SCSI device sda: 128000 512-byte hdwr
sectors (66 MB)
Nov  9 13:21:56 jcdeb2 kernel: sda: Write Protect is on
Nov  9 13:21:56 jcdeb2 kernel: sda: sda1

My /etc/fstab entry is...

/dev/sda1   /home/jeff/sandisk vfat rw,noauto,user,exec 0
0

Permissions on the device and mount point are...

brw-rw-rw-1 root disk   8,   1 2002-03-14 13:51 /dev/sda1

Prior to mount...
drwxr-xr-x2 jeff jeff 4096 2003-11-09 13:34 sandisk

And, when I mount it...
$ mount sandisk/
mount: block device /dev/sda1 is write-protected, mounting read-only

And the permissions after mounting...
drwxr--r--3 jeff jeff16384 1969-12-31 16:00 sandisk

I can't figure out how to mount it read-write.  Any ideas out there?

jc


-- 
Jeff CoppockSystems Engineer
Diggin' Debian  Admin and User


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



can't configure orinoco gold card on woody

2003-11-09 Thread Tim Folger
Hi,

I'm new to Linux, but somehow managed to install Debian Woody on a 
Fujitsu laptop. I installed the 2.4.18 kernel, configured pcmcia 
support, and installed the orinoco and hermes drivers during the 
"configure device driver module stage of the installation."  After 
installing the base system and rebooting I installed synaptic, KDE, and 
wireless tools. But I haven't been able to get my orinoco gold card to 
work. I've edited the wireless options file in /etc/pcmcia, and my 
wireless card beeps twice during startup, and its green lights flicker, 
but don't stay on. When I run "iwconfig eth1" in a console  it says no 
essid is specified, even though I have set the essid, encryption key, 
and a few other settings in wirelessopts. What am I missing? If I can 
get this to work I'll be free of Windows!

Tim

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


Re: Sandisk SDDR55 mounting ro

2003-11-09 Thread Goldman of Chaos
Have you checked to see if the write protect switch is in the correct
position?  Little thing,
but easily overlooked!

Matt

- Original Message - 
From: "Jeff" <[EMAIL PROTECTED]>
To: "debian laptop list" <[EMAIL PROTECTED]>
Sent: Sunday, November 09, 2003 4:16 PM
Subject: Sandisk SDDR55 mounting ro


> I have a Sandisk Imagemate that loads as SDDR55.  However, I can't get
> it to mount read-write.
>
> Syslog shows...
> Nov  9 13:21:56 jcdeb2 kernel: Attached scsi removable disk sda at
> scsi0, channel 0, id 0, lun 0
> Nov  9 13:21:56 jcdeb2 kernel: sddr55: map inconsistency at LBA 0002
> Nov  9 13:21:56 jcdeb2 kernel: SCSI device sda: 128000 512-byte hdwr
> sectors (66 MB)
> Nov  9 13:21:56 jcdeb2 kernel: sda: Write Protect is on
> Nov  9 13:21:56 jcdeb2 kernel: sda: sda1
>
> My /etc/fstab entry is...
>
> /dev/sda1   /home/jeff/sandisk vfat rw,noauto,user,exec 0
> 0
>
> Permissions on the device and mount point are...
>
> brw-rw-rw-1 root disk   8,   1 2002-03-14 13:51 /dev/sda1
>
> Prior to mount...
> drwxr-xr-x2 jeff jeff 4096 2003-11-09 13:34 sandisk
>
> And, when I mount it...
> $ mount sandisk/
> mount: block device /dev/sda1 is write-protected, mounting read-only
>
> And the permissions after mounting...
> drwxr--r--3 jeff jeff16384 1969-12-31 16:00 sandisk
>
> I can't figure out how to mount it read-write.  Any ideas out there?
>
> jc
>
>
> -- 
> Jeff Coppock Systems Engineer
> Diggin' Debian Admin and User
>
>
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>


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



Another gimp user can't get a pcmcia network card to work

2003-11-09 Thread decompose



Problem: pcmcia NIC doesn't work
stuff I know: pcmcia_cs module is installed and 
pcmcia_core (unless these are the same thing ;)) 8139too module is installed and 
ive edited /etc/modules to run it on startup.
If I do ifconfig eth0 i get an error message "eth0: 
error fetching interface information: Device not found" but if i do "modprobe 
8139too" it spits out all good output about loading the module etc (my NIC is 
Realtek by the way) then if i do ifconfig eth0 i get (normalish output) but no 
ip address, also if i try ifconfig "eth0 192.168.0.233" i get 
"SIOCSIFFLAGS: Device or resource busy" as output, 
however if i do "ifconfig eth0" now i get the correct ip address subnet mask and 
broadcast address (but can't ping anything).
 
I have no idea what is wrong and why its not 
working sorry for my crappy post (english is not my first language). I hope it 
makes since and I can be helped.


Re: virtual terminal not working compaq armada

2003-11-09 Thread juan
Peter Baker wrote:
hi,
i have a compaq armada with debian installed
x runs fine, but i when i switch to a virtual terminal ctrl alt f1, ctrl 
alt f2, etc , i get colored stripes down the screen, its just a mess. is 
this anything to do with my X settings? surely not? is there any setting 
that changes how the virtual terminals are displayed?
if you use framebuffer console, try using plain vga console

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


Re: add kernel modules

2003-11-09 Thread Joel HATSCH
On Wed, 05 Nov 2003 17:00:52 -0500
donnie <[EMAIL PROTECTED]> wrote:

> Also, not sure which install you are using, but I found this, just in
> case you run into some trouble with the "Installing Foreign Modules."
> 
> Link:
> http://lists.debian.org/debian-boot/2002/debian-boot-200212/msg00826.html
> 
> Hello,
> I tried to install the network module e1000.o with the function
> "Install foreign Modules". This procedure works well with kernel
> 2.2.20 but does not work with 2.4.18-bf2.4.
> The installation program wants to copy the module e1000.o from the
> floppy directory /lib/modules/net to the directory
> /target/lib/modules/2.4.18-bf2.4/net. This target directory does not
> exist, because the network drivers of the kernel 2.4.18-bf2.4 are
> located in
> /target/lib/modules/2.4.18-bf2.4/kernel/drivers/net (in difference to
> kernel 2.2.20). So the installation program creates a ***file*** named
> "net" in /target/lib/modules/2.4.28-bf2.4/. If I created the
> /target/lib/modules/2.4.18-bf2.4/net directory
> before applying the "Install foreign Modules" function, the e1000.o
> module was copied into this directory correctly, but the following
> modconf function couldn't find it for configuration of cause.
> So I had to copy the module into the /target/.../kernel/drivers/net
> directory manually. 
> After this the modconf program can find the new driver module.

... which brings me to an interesting question :
what if the kernel I use to install is too old and not able to get the
NIC to work ? debian is based on network availability for installation
(unless you have everything on CD *AND* a CD player which recognises
your CDs (maybe mine had just problems with RW's))
in my case I had to use the 2.4.22 kernel & modules to get my NIC to
work. Not sure if the 2.4.22 NIC driver would have loaded under 2.4.18
(although I doubt this as I already had this problem once and the kernel
wants modules compiled for 2.4.18-bf2.4), didn't try it.
is there a "debian way" of doing this ? (creating a dedicated bootdisk
maybe ?)

Joel



[no subject]

2003-11-09 Thread jamal khan



i want driver for crystal sound fusion (tm) 
cs-4281
   
thankyou


Re: your mail

2003-11-09 Thread Matt Foster
Quoting jamal khan ([EMAIL PROTECTED]):
> i want driver for crystal sound fusion (tm) cs-4281
>thankyou

I believe that this card is supported by alsa's cirrus logic module.
You should be able to apt-get install alsa, and build it from source.

Assuming, (of course), that it was a linux driver you were after :)


-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: USB disk, SCSI , and /etc/fstab

2003-11-09 Thread Jerome BENOIT

Thanks for your reply.



Mattia Dongili wrote:

On Sat, Nov 08, 2003 at 08:48:09PM +0200, Jerome BENOIT wrote:


Mattia Dongili wrote:


On Sat, Nov 08, 2003 at 08:03:17PM +0200, Jerome BENOIT wrote:



Hello List,

is there a way to configure my laptop
to assign alway the same SCSI dev to my
USB disk whatever the order they are pluged ?



I don't know but I think not.
You could take advantage of the callback script of hotpulg to add and
remove an fstab entry.

hth, bye


Thanks for your reply:
I am not (yet) very familiar with hotplug stuff:
please can give a name to the "callback" script.



I think you could tweak with /etc/hotpulg/usb.agent, it's a bash script.
See the beginning of the file for ... uh!


fellowing the mechanism in the script,
I wrote a `/etc/hotplug/usb/usb-storage' script to solve my issue.



I found a very usefull tool while looking at usb.agent: updfstab 
It's in the kudzu package, install it, read the man page and tweak

usb.agent to call it in the add) case as it's already done in
the remove) case

(backup your fstab file before experimenting :)

hth

Thanks





Re:

2003-11-09 Thread Russell Coker
On Sun, 9 Nov 2003 14:10, jamal khan wrote:
> i want driver for crystal sound fusion (tm) cs-4281

Enable the option CONFIG_SOUND_CS4281 and rebuild your kernel.

One problem with that sound module is that it will not work correctly after 
suspend, so on resume you have to unload the module (fuser -k to kill any 
processes that are using it) and then reload it again to get it to work 
correctly.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page



Re: USB disk, SCSI , and /etc/fstab

2003-11-09 Thread Simon McCartney
On Sat, Nov 08, 2003 at 08:03:17PM +0200, Jerome BENOIT wrote:
> Hello List,
> 
> is there a way to configure my laptop
> to assign alway the same SCSI dev to my
> USB disk whatever the order they are pluged ?
> 
> Thanks in advance,
> Jerome BENOIT
> 

I've used the following to handle the various usb memory sticks I have,
I put it in /etc/hotplug/usb/usb-storage, I then have a couple of
entries in /etc/auto.misc to mount the devices on demand (with a 5
second timeout)  It's crude but it works.

HTH,

Simon.



#!/bin/sh
#
# hotplug script to handle usb-storage
#

if [ "$ACTION" = "add" ]
then
sleep 5

rmmod sd_mod 
rmmod usb-storage 
rmmod scsi_mod

sleep 5

modprobe usb-storage 
modprobe sd_mod 
modprobe scsi_mod

fi

if [ "$ACTION" = "remove" ]
then
rmmod sd_mod 
rmmod usb-storage 
rmmod scsi_mod
fi

-simon (E: [EMAIL PROTECTED] T: +44 2890 725060 M: +44 7710 836 915)



Sandisk SDDR55 mounting ro

2003-11-09 Thread Jeff
I have a Sandisk Imagemate that loads as SDDR55.  However, I can't get
it to mount read-write.  

Syslog shows...
Nov  9 13:21:56 jcdeb2 kernel: Attached scsi removable disk sda at
scsi0, channel 0, id 0, lun 0
Nov  9 13:21:56 jcdeb2 kernel: sddr55: map inconsistency at LBA 0002
Nov  9 13:21:56 jcdeb2 kernel: SCSI device sda: 128000 512-byte hdwr
sectors (66 MB)
Nov  9 13:21:56 jcdeb2 kernel: sda: Write Protect is on
Nov  9 13:21:56 jcdeb2 kernel: sda: sda1

My /etc/fstab entry is...

/dev/sda1   /home/jeff/sandisk vfat rw,noauto,user,exec 0
0

Permissions on the device and mount point are...

brw-rw-rw-1 root disk   8,   1 2002-03-14 13:51 /dev/sda1

Prior to mount...
drwxr-xr-x2 jeff jeff 4096 2003-11-09 13:34 sandisk

And, when I mount it...
$ mount sandisk/
mount: block device /dev/sda1 is write-protected, mounting read-only

And the permissions after mounting...
drwxr--r--3 jeff jeff16384 1969-12-31 16:00 sandisk

I can't figure out how to mount it read-write.  Any ideas out there?

jc


-- 
Jeff CoppockSystems Engineer
Diggin' Debian  Admin and User



Re: virtual terminal not working compaq armada

2003-11-09 Thread juan

Peter Baker wrote:

hi,
i have a compaq armada with debian installed
x runs fine, but i when i switch to a virtual terminal ctrl alt f1, ctrl 
alt f2, etc , i get colored stripes down the screen, its just a mess. is 
this anything to do with my X settings? surely not? is there any setting 
that changes how the virtual terminals are displayed?


if you use framebuffer console, try using plain vga console



can't configure orinoco gold card on woody

2003-11-09 Thread Tim Folger

Hi,

I'm new to Linux, but somehow managed to install Debian Woody on a 
Fujitsu laptop. I installed the 2.4.18 kernel, configured pcmcia 
support, and installed the orinoco and hermes drivers during the 
"configure device driver module stage of the installation."  After 
installing the base system and rebooting I installed synaptic, KDE, and 
wireless tools. But I haven't been able to get my orinoco gold card to 
work. I've edited the wireless options file in /etc/pcmcia, and my 
wireless card beeps twice during startup, and its green lights flicker, 
but don't stay on. When I run "iwconfig eth1" in a console  it says no 
essid is specified, even though I have set the essid, encryption key, 
and a few other settings in wirelessopts. What am I missing? If I can 
get this to work I'll be free of Windows!


Tim



Re: Sandisk SDDR55 mounting ro

2003-11-09 Thread Goldman of Chaos
Have you checked to see if the write protect switch is in the correct
position?  Little thing,
but easily overlooked!

Matt

- Original Message - 
From: "Jeff" <[EMAIL PROTECTED]>
To: "debian laptop list" 
Sent: Sunday, November 09, 2003 4:16 PM
Subject: Sandisk SDDR55 mounting ro


> I have a Sandisk Imagemate that loads as SDDR55.  However, I can't get
> it to mount read-write.
>
> Syslog shows...
> Nov  9 13:21:56 jcdeb2 kernel: Attached scsi removable disk sda at
> scsi0, channel 0, id 0, lun 0
> Nov  9 13:21:56 jcdeb2 kernel: sddr55: map inconsistency at LBA 0002
> Nov  9 13:21:56 jcdeb2 kernel: SCSI device sda: 128000 512-byte hdwr
> sectors (66 MB)
> Nov  9 13:21:56 jcdeb2 kernel: sda: Write Protect is on
> Nov  9 13:21:56 jcdeb2 kernel: sda: sda1
>
> My /etc/fstab entry is...
>
> /dev/sda1   /home/jeff/sandisk vfat rw,noauto,user,exec 0
> 0
>
> Permissions on the device and mount point are...
>
> brw-rw-rw-1 root disk   8,   1 2002-03-14 13:51 /dev/sda1
>
> Prior to mount...
> drwxr-xr-x2 jeff jeff 4096 2003-11-09 13:34 sandisk
>
> And, when I mount it...
> $ mount sandisk/
> mount: block device /dev/sda1 is write-protected, mounting read-only
>
> And the permissions after mounting...
> drwxr--r--3 jeff jeff16384 1969-12-31 16:00 sandisk
>
> I can't figure out how to mount it read-write.  Any ideas out there?
>
> jc
>
>
> -- 
> Jeff Coppock Systems Engineer
> Diggin' Debian Admin and User
>
>
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>



Another gimp user can't get a pcmcia network card to work

2003-11-09 Thread decompose



Problem: pcmcia NIC doesn't work
stuff I know: pcmcia_cs module is installed and 
pcmcia_core (unless these are the same thing ;)) 8139too module is installed and 
ive edited /etc/modules to run it on startup.
If I do ifconfig eth0 i get an error message "eth0: 
error fetching interface information: Device not found" but if i do "modprobe 
8139too" it spits out all good output about loading the module etc (my NIC is 
Realtek by the way) then if i do ifconfig eth0 i get (normalish output) but no 
ip address, also if i try ifconfig "eth0 192.168.0.233" i get 
"SIOCSIFFLAGS: Device or resource busy" as output, 
however if i do "ifconfig eth0" now i get the correct ip address subnet mask and 
broadcast address (but can't ping anything).
 
I have no idea what is wrong and why its not 
working sorry for my crappy post (english is not my first language). I hope it 
makes since and I can be helped.