I recently upgraded from kernel 2.0.35 to 2.2.10 and am having difficulty
getting modules loaded on the fly by kmod. I have easily got sound to work
by creating the following file:

-----telmer:/etc/modutils/sound
alias char-major-14 sb
post-install sb /sbin/modprobe "-k" "adlib_card"
options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
options adlib_card io=0x388
options sound dmabuf=1
-------------------------------

However, I have not had any such luck getting my printer and tape drive to
work (which both ran flawlessly under 2.0.35 using modules and kerneld).
For my printer I have

-----telmer:/etc/modutils/printing
options parport_pc io=0x378 irq=7
options lp parport=0
------------------------------

but lsmod always reports 

[EMAIL PROTECTED]:/etc/modutils# lsmod 
Module                  Size  Used by
parport_probe           2980   0  (autoclean)
parport_pc              5624   1  (autoclean)
lp                      4480   0  (autoclean) (unused)
parport                 6852   1  (autoclean) [parport_probe parport_pc lp]
ide-cd                 22484   1  (autoclean)
cdrom                  13240   0  (autoclean) [ide-cd]
vfat                   11196   1  (autoclean)
fat                    25120   1  (autoclean) [vfat]

and lpq reports 

[EMAIL PROTECTED]:/etc/modutils# lpq
waiting for lp to become ready (offline ?)
Rank   Owner      Job  Files             Total Size
1st    root       4    printing          55 bytes

Can anyone point me to where I am going wrong?

As for my tape drive that runs using tob and afio, running tob loads ftape
but not zftape:

[EMAIL PROTECTED]:/etc/modutils# lsmod
Module                  Size  Used by
ftape                  90688   0  (autoclean) (unused)
parport_probe           2980   0  (autoclean)
parport_pc              5624   1  (autoclean)
lp                      4480   0  (autoclean) (unused)
parport                 6852   1  (autoclean) [parport_probe parport_pc lp]
ide-cd                 22484   1  (autoclean)
cdrom                  13240   0  (autoclean) [ide-cd]
vfat                   11196   1  (autoclean)
fat                    25120   1  (autoclean) [vfat]

Does anyone know how to tell kmod to preload zftape before ftape (if that
is the problem - if not what is?)?

Any help would be gratefully appreciated. Cheers, Colin.


-- 
Colin Telmer, Ottawa, Ontario, Canada
<mailto:[EMAIL PROTECTED]>
<http://www.telmer.com>

Reply via email to