Hello all,
I just installed Toutou Linux 4.3.1 on an old HP Omnibook XE3 (anno 2001)
Kernel 2.6.30.5
Works fine with 300 Mo RAM, essentially for PPT viewing.
The problem :
when I insert an USB flash drive BEFORE computer start, it is immediately detected, and its icon is on the desktop ; it can yet be mounted via right clic.
But when I insert an USB flash drive AFTER computer start, either it is not detected, either it is but after several minutes.
tail -f /var/log/messages returns :
(none) user.err kernel: hub 1-0:1.0: unable to enumerate USB device on port 1
(several times)
then this line appears :
(none) user.info kernel: usb 1-1: new full speed USB device using uhci_hcd and address 46
and a few seconds later, flash disk is detected.
My USB drive version is 2.0 and I think my USB port version is 1.0
I googled a lot, and it appears that this kernel has ehci_hcd feature built-in, and uhci_hcd module is automatically loaded on start.
Do I have to disable uhci_hcd , or somewhat ?
Thanks in advance
Toutou Linux slow to detect USB flash drive
No idea .
Puppy 431 already loads usb drivers in /etc/rc.d/rc.sysinit .
The Puppy code when usb_storage is compiled as module wanted to split internal drives and external drives . That's why usb modules are filtered at the main loading kernel modules part .
If usb_storage is not loaded at bootup, the udevd must load it when inserting any USB drives .
Probably fire up bootmanager and make it load usb-storage at bootup .
NOTE : bootmanager filters out already loaded modules .
The rc.sysinit code is also not perfect in 4 up to 5.3 series . If you have a hard poweroff, files in /tmp remain . /sbin/pup_event_backend_modprobe - the script called by udevd - would try to grep in /tmp files if modules are already loaded . If files in /tmp say so, it would not load them .
Puppy 431 already loads usb drivers in /etc/rc.d/rc.sysinit .
The Puppy code when usb_storage is compiled as module wanted to split internal drives and external drives . That's why usb modules are filtered at the main loading kernel modules part .
If usb_storage is not loaded at bootup, the udevd must load it when inserting any USB drives .
Probably fire up bootmanager and make it load usb-storage at bootup .
NOTE : bootmanager filters out already loaded modules .
Code: Select all
modprobe -vr usb-storage
bootmanager
The rc.sysinit code is also not perfect in 4 up to 5.3 series . If you have a hard poweroff, files in /tmp remain . /sbin/pup_event_backend_modprobe - the script called by udevd - would try to grep in /tmp files if modules are already loaded . If files in /tmp say so, it would not load them .
As said Flash, this computer probably have only USB 1.1
Effectively, usb-storage was not loaded ; so I tried :
Code:
modprobe -vr usb-storage
bootmanager
then adding usb-storage loading at startup, but even so, problem persists.
It seems that kernel tries (and tries, and tries,...) to détect USB drive using "hub" driver, and this driver fails.
After some minutes (too long), kernel falls back to "usb" driver, and yet USB drive is detected
I've joined a file containing an extract of my /var/log/messages when I insert USB drive after startup and dmesg output when computer starts with USB drive plugged in
Effectively, usb-storage was not loaded ; so I tried :
Code:
modprobe -vr usb-storage
bootmanager
then adding usb-storage loading at startup, but even so, problem persists.
It seems that kernel tries (and tries, and tries,...) to détect USB drive using "hub" driver, and this driver fails.
After some minutes (too long), kernel falls back to "usb" driver, and yet USB drive is detected
I've joined a file containing an extract of my /var/log/messages when I insert USB drive after startup and dmesg output when computer starts with USB drive plugged in
- Attachments
-
- dmesg.zip
- (5.04 KiB) Downloaded 86 times
The ehci_hcd , uhci_hcd and ohci_hcd drivers are modules in Puppy up to kernel 2.6.39/3.XI googled a lot, and it appears that this kernel has ehci_hcd feature built-in,
For the dmesg output I have no idea what the driver is trying to do .
May help to load ehci_hcd also in bootmanager maybe . But better put it into rc.sysinit before the elspci -l part starts .
Don't ask me where to find rc.sysinit and the elspci -l part -> rox & geany .