Hello to all,
David Campbell advised me to ask my question here at linux-scsi:
I have one (hardware) parallel port, redhat 5.2, kernel 2.2.9, ppa0205,
one parallel port zip drive, one ditto max external and one printer,
that is 3 devices on one parallel port. Of course, proper module
"management" is obligatory. Problems seem to have only sd_mod + ppa
(so of course I first asked at the parport mailing list)
I want to have ppa being loaded by kmod absolutely automatically, so that
the following works without having to type in "modprobe ..." or "insmod...":
mount /dev/sda4
umount /dev/sda4
ftmt -f /dev/qft0 status
mount ...
There should be two alternatives, but only one works:
- sd_mod as a module + ppa: Works fine!
- sd_mod statically linked with the kernel + ppa: Doesn't work
This is /etc/conf.modules as it looks like when I use the first and only
working alternative (= sd_mod compiled as module):
############## zip drive ####################
alias block-major-8 sd_mod
pre-install sd_mod modprobe -r lp ; modprobe -r bpck-fdc ; modprobe -r zfta
pe ; modprobe -r ftape ; modprobe parport ; modprobe parport_pc
post-install sd_mod modprobe ppa
############# generic parport support ###########
alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=7
############# lp f�r Drucker #####################
pre-install lp modprobe -r bpck-fdc zftape ftape ppa sd_mod
options lp parport=0
######### ftape f�r Ditto max ##########################
alias char-major-27 zftape.o
options ftape.o ft_fdc_driver=bpck-fdc,none,none,none ft_tracings=4,4,4,4,4
options bpck-fdc ft_fdc_irq=7 ft_fdc_base=0x378
pre-install zftape modprobe -r lp.o ppa sd_mod parport_pc parport_probe parport
If I compile sd_mod statically into the kernel it is not able to
request ppa and make kmod load ppa, whatever I write into
/etc/conf.modules. Of course I am forced to change some lines,
alias scsi_hostadapter ppa.o
alias block-major-8 ppa.o
and so on.
(the same tried without .o, but doesn't matter, obviously)
Instead I get on the console
mount: /dev/sda4 is not a valid block device
But I must make one concession: Right after having rebooted,
sd_mod does request and load ppa and what else is necessary in
a proper way (caused by me typing in "mount /dev/sda4"). But
after that I do "ftmt -f /dev/qft0 (anything)" and NOW "mount /dev/sda4"
is not possible any more.
Only a manual modprobe ppa helps.
So what's wrong here? Should I change anything in conf.modules,
or what else should I do? Ok - sd_mod as a module works - but
in case you have an scsi disk you would like it to be inside
vmlinuz, wouldn't you.
Any hints?
Thank you,
Juergen.
--
*****************************************************************
* Juergen Leising, E-Mail: [EMAIL PROTECTED] *
* http://www.stud.uni-bayreuth.de/~a0037/ *
*****************************************************************
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]