Re: PCMCIA configuration in sarge

2006-03-20 Thread Michelle Konzack
Am 2006-03-14 23:09:07, schrieb Doofus:

> orinoco_cs
> orinoco
> hermes

> and then after boot is finished, ds.o is loaded but not my driver
> modules. I'm guessing this is because the init scripts are trying to
> load the contents of /etc/modules before ds.o is loaded, which won't
> work? Please correct me if I'm wrong.

You need to add those modules to your pcmcia-config.
There is a section where you can telle the script what to load.

Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


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



Re: PCMCIA configuration in sarge

2006-03-15 Thread Willie Wonka
Not sure of any of this, but;
Have you loaded yenta_socket ?

On a vanilla kernel Sarge 3.1r1 (kernel 2.6.8-2-i386), it's lisyed in
'lsmod'. Also note my (Debian's) default runlevel is 2, so perhaps
review ;
$ cat /etc/rc2.d/S20pcmcia

I have this is lsmod;
ds 17796  0
yenta_socket   19200  0
pcmcia_core63028  2 ds,yenta_socket

See;
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=123713
follow the older bug if necessary (123457 ?)

AFAIK, as mentioned, 2.6 kernel (at some point in version) uses .ko ,
not .o

Do a 
$ locate yenta
/lib/modules/2.6.8-2-386/kernel/drivers/pcmcia/yenta_socket.ko

perhaps also do;
$ locate pcmcia
to find related documentation (locally)




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Re: PCMCIA configuration in sarge

2006-03-15 Thread Bob McGowan

Doofus wrote:

Andrei Popescu wrote:



On Tue, 14 Mar 2006 23:09:07 +
Doofus <[EMAIL PROTECTED]> wrote:





After my laptop is booted, I can get driver modules:

  orinoco_cs
  orinoco
  hermes

loaded just by typing `modprobe orinoco_cs`


Now I'm trying, unsuccessfully, to get them loaded automatically at boot
time. If I put any or all of the modules in /etc/modules, I get an error
message in the boot process very close to:

  ds: no socket driver!


and then after boot is finished, ds.o is loaded but not my driver
modules. I'm guessing this is because the init scripts are trying to
load the contents of /etc/modules before ds.o is loaded, which won't
work? Please correct me if I'm wrong.


Can someone explain what's happening here, and what the solution is get
everything loaded in the right order? I haven't found an answer in
/usr/share/doc/pcmcia_cs.

kernel 2.4.27
dell inspiron 8200


Many thanks for any assistance.
  



Just a wild thought ... did you try adding ds to /etc/modules? (before the 
others of course). That is if ds.o is also a module (AFAIK modules now have the 
extension .ko)

Andrei





I should have thought of trying that in view of my description above.
It still doesn't work though. The exact error message is:

   ds: No socket drivers loaded!


but as I said the ds module does get loaded a bit later - probably by
the pcmcia scripts. I'm using the kernel pcmcia support and the yenta
socket driver, and Dave Hinds pcmcia_cs package.

There's obviously something not in place that's preventing the ds.o
module from being loaded early in the boot - don't know what it is
though. I guess I could just compile some of this stuff into the kernel
but I don't really want to do that.




The problem, I believe, is not with ds, but with something that ds 
depends on (one of the socket networking drivers).  Most (all?) of the 
networking stuff on Debian systems seems to be started in the /etc/rcS.d 
directory by the S40networking script.  You might want to consider 
adding your own rc script, linked to a file name in /etc/rcS.d that 
would make it run after the S40networking script, that does the modprobe 
of orinoco_cs.  If I understand the rc setup, this should provide the 
sockets needed by ds, which would then load, followed by your orinoco 
related drivers.


Bob


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




Re: PCMCIA configuration in sarge

2006-03-14 Thread Doofus
Andrei Popescu wrote:

>On Tue, 14 Mar 2006 23:09:07 +
>Doofus <[EMAIL PROTECTED]> wrote:
>
>  
>
>>After my laptop is booted, I can get driver modules:
>>
>>orinoco_cs
>>orinoco
>>hermes
>>
>>loaded just by typing `modprobe orinoco_cs`
>>
>>
>>Now I'm trying, unsuccessfully, to get them loaded automatically at boot
>>time. If I put any or all of the modules in /etc/modules, I get an error
>>message in the boot process very close to:
>>
>>ds: no socket driver!
>>
>>
>>and then after boot is finished, ds.o is loaded but not my driver
>>modules. I'm guessing this is because the init scripts are trying to
>>load the contents of /etc/modules before ds.o is loaded, which won't
>>work? Please correct me if I'm wrong.
>>
>>
>>Can someone explain what's happening here, and what the solution is get
>>everything loaded in the right order? I haven't found an answer in
>>/usr/share/doc/pcmcia_cs.
>>
>>kernel 2.4.27
>>dell inspiron 8200
>>
>>
>>Many thanks for any assistance.
>>
>>
>
>Just a wild thought ... did you try adding ds to /etc/modules? (before the 
>others of course). That is if ds.o is also a module (AFAIK modules now have 
>the extension .ko)
>
>Andrei
>  
>

I should have thought of trying that in view of my description above.
It still doesn't work though. The exact error message is:

   ds: No socket drivers loaded!


but as I said the ds module does get loaded a bit later - probably by
the pcmcia scripts. I'm using the kernel pcmcia support and the yenta
socket driver, and Dave Hinds pcmcia_cs package.

There's obviously something not in place that's preventing the ds.o
module from being loaded early in the boot - don't know what it is
though. I guess I could just compile some of this stuff into the kernel
but I don't really want to do that.


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



Re: PCMCIA configuration in sarge

2006-03-14 Thread Andrei Popescu
On Tue, 14 Mar 2006 23:09:07 +
Doofus <[EMAIL PROTECTED]> wrote:

> 
> After my laptop is booted, I can get driver modules:
> 
> orinoco_cs
> orinoco
> hermes
> 
> loaded just by typing `modprobe orinoco_cs`
> 
> 
> Now I'm trying, unsuccessfully, to get them loaded automatically at boot
> time. If I put any or all of the modules in /etc/modules, I get an error
> message in the boot process very close to:
> 
> ds: no socket driver!
> 
> 
> and then after boot is finished, ds.o is loaded but not my driver
> modules. I'm guessing this is because the init scripts are trying to
> load the contents of /etc/modules before ds.o is loaded, which won't
> work? Please correct me if I'm wrong.
> 
> 
> Can someone explain what's happening here, and what the solution is get
> everything loaded in the right order? I haven't found an answer in
> /usr/share/doc/pcmcia_cs.
> 
> kernel 2.4.27
> dell inspiron 8200
> 
> 
> Many thanks for any assistance.

Just a wild thought ... did you try adding ds to /etc/modules? (before the 
others of course). That is if ds.o is also a module (AFAIK modules now have the 
extension .ko)

Andrei
-- 
If you can't explain it simply, you don't understand it well enough. (Albert 
Einstein)


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



PCMCIA configuration in sarge

2006-03-14 Thread Doofus

After my laptop is booted, I can get driver modules:

orinoco_cs
orinoco
hermes

loaded just by typing `modprobe orinoco_cs`


Now I'm trying, unsuccessfully, to get them loaded automatically at boot
time. If I put any or all of the modules in /etc/modules, I get an error
message in the boot process very close to:

ds: no socket driver!


and then after boot is finished, ds.o is loaded but not my driver
modules. I'm guessing this is because the init scripts are trying to
load the contents of /etc/modules before ds.o is loaded, which won't
work? Please correct me if I'm wrong.


Can someone explain what's happening here, and what the solution is get
everything loaded in the right order? I haven't found an answer in
/usr/share/doc/pcmcia_cs.

kernel 2.4.27
dell inspiron 8200


Many thanks for any assistance.


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