modprobe ztdummy: usb-uhci.o.gz: No such file or directory

chris (2006-10-10 15:42:02)
2409 views
0 replies
loading the ztdummy module is problematic when there are other uhci kernel modules kicking around in memory - the problem occurs when the system attempts to load the usb-uhci module. It if some other uhci module is alreading loaded, then the command fails. It looks like this:
root@baikal:/lib/modules/2.4.33.3/kernel/drivers/usb/host# modprobe ztdummy
insmod: /lib/modules/2.4.33.3/kernel/drivers/usb/host/usb-uhci.o.gz: No such file or directory
insmod: insmod /lib/modules/2.4.33.3/kernel/drivers/usb/host/usb-uhci.o.gz failed
insmod: insmod ztdummy failed
root@baikal:/lib/modules/2.4.33.3/kernel/drivers/usb/host# cp /lib/modules/2.4.33.3/kernel/drivers/usb/host/usb-uhci.o.gz.bak  /lib/modules/2.4.33.3/kernel/drivers/usb/host/usb-uhci.o.gz

the lsmod on this system looks like:
Module                  Size  Used by    Not tainted
snd-seq-oss            23104   0  (unused)
snd-seq-midi-event      3208   0  [snd-seq-oss]
snd-seq                33552   2  [snd-seq-oss snd-seq-midi-event]
snd-seq-device          3716   0  [snd-seq-oss snd-seq]
snd-pcm-oss            28928   0  (unused)
snd-mixer-oss          11928   0  [snd-pcm-oss]
uhci                   23804   0  (unused)
ehci-hcd               17644   0  (unused)
usbcore                56812   1  [uhci ehci-hcd]
i810_rng                2496   0  (unused)
snd-intel8x0           19188   0  (unused)
snd-ac97-codec         68160   0  [snd-intel8x0]
snd-pcm                52804   0  [snd-pcm-oss snd-intel8x0 snd-ac97-codec]
snd-timer              13168   0  [snd-seq snd-pcm]
snd                    34304   0  [snd-seq-oss snd-seq-midi-event snd-seq snd-seq-device snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer]
soundcore               3300   6  [snd]
snd-page-alloc          4980   0  [snd-seq-oss snd-seq snd-seq-device snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd]
tg3                    58348   1
pcmcia_core            39492   0
ide-scsi                9392   0
agpgart                45092   0  (unused)

Simple fix in this case is to unload the uhci module and then retry the modprobe..
root@baikal:# modprobe -r uhci
root@baikal:# modprobe usb-uhci
root@baikal:#

and it's done

christo
comment