[Fwd: Re: [Rule-list] Fw: still stuck on sbpcd kinda]

Gordon Buzowetsky idesofmarch at sk.sympatico.ca
Tue Apr 2 06:12:03 EEST 2002


> including invalid IO or IRQ parameters
> if [ "$?" -ne "0" ]; then
>    echo "This cdrom is a pain! Module failed to load!"
> else
> echo "Done."
> fi
> + '[' 1 -ne 0 ']'
> + echo 'This cdrom is a pain! Module failed to load!'
> This cdrom is a pain! Module failed to load!
> exit
> + exit
> 
> Which is as expected, since I don't have a soundblaster cdrom.
> 
> - -D

Hi all...........well that last line about sums it all up; don't have one
and you don't want one....

But I did get it to work; finally...loads at boot.

The "$version" part of the script simply wouldn't work....errors with
directory not found.

But here's the good news....I hacked on the script 'loadmods.sh' for long
enough to actually get the mod to load reliably....thanks D....

Here's how...in rc.local

insmod /lib/modules/2.4.7-10/kernel/drivers/cdrom/cdrom.o  &&
sleep 15
insmod /lib/modules/2.4.7-10/kernel/drivers/cdrom/sbpcd.o sbpcd=0x230,1


Seems the little nap does the thing good.....I tried sleep 10...but that
wasn't enough...and the other little interesting thing; was that nano
would keep on wrapping the last part of the sbpcd line...I had to
backspace it back to get it all on the one line...and then it ran
properly!!!  

Now...maybe connectivity and maybe X....

Anyway---Thanx guys....G



_______________________________________________
Rule Project HOME PAGE:  http://www.freesoftware.fsf.org/rule/
Rule Development Site:   http://savannah.gnu.org/projects/rule/ Rule-list at mail.freesoftware.fsf.org
http://mail.freesoftware.fsf.org/mailman/listinfo/rule-list



This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here