Hi Alan,

I tried doing the rmod/modprobe fix for the ehci-hcd problem but had no 
luck. 

Anything else I can do to figure out the story?

I also changed all the usb-related drivers to be modules rather than 
compiled-in as they were originally. 

I re-confirmed that the drive works fine once linux has finished 
booting.   I also re-confirmed that the
same on-disk configuration ( kernel, initrd, ... ) boots fine on the 
Lexar but not on the Sandisk.

The Sandisk boots properly on my Thinkpad T30.  So the problem seems to 
only occur at boot-up ( or only when the Sandisk is the first drive to 
be used with ehci-hcd ) on the VIA EPIA MII10000 motherboard.

Here's how I modified the /init inside the initrd to do what you suggested:

log_begin_msg "Loading modules"
load_modules
log_end_msg

log_begin_msg "Unload and reloading ehci-hcd"
rmmod ehci-hcd
rmmod ehci-hcd
sleep 20
modprobe ehci-hcd
sleep 10
log_end_msg

Cheers,

-Dan

Alan Stern wrote:
> On Mon, 15 May 2006, Dan Sandberg wrote:
>
>   
>> When I tried it the first time, I booted of the working USB drive and
>> then inserted the second USB drive.  The problem was it was hard to read
>> the log because there were two usb storage devices.
>>
>> I've attached a log that resulted from booting off an IDE device instead.
>>
>> Let me know if there's anything else I can do to help.
>>     
>
> Hmmm...  This log agrees with the earlier one, right up until the first 
> READ command occurs.  Then the earlier log has a timeout (no data 
> transferred) whereas this one continues perfectly.
>
> As far as I can guess, there's some weird problem with the ehci-hcd driver 
> -- it doesn't like something about the initial boot-up environment.  (But 
> then how come the Lexar device boots okay?)
>
> The following is sheer speculation.  Several other people have noted
> problems with ehci-hcd that sometimes go away if they unload the driver
> and reload it.  Can you do the same sort of thing?  That is, include
>
>       rmmod ehci-hcd
>       modprobe ehci-hcd
>
> somewhere in the initial boot-up sequence (such as an initrd linuxrc 
> script)?
>
> Alan Stern
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Linux-usb-users@lists.sourceforge.net
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-users
>
>   



_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to