- I've tested 2 different USB disks&enclosures to make sure it's not faulty. They both work fine on my other machines
- When I boot into 2.4.17 kernel, everything is rock solid (albeit a bit slowish at 5MB/s)
- When I boot into 2.6.22 and THEN attach the USB drive, things are working fine mostly, even though it crashed on me once
- When I boot into 2.6.22 with the USB drive attached, it goes down the hill.
The LS1 simply stops responding until the watchdog performs a reset. There is absolutely nothing in any of the logs. It simply stops logging anything (like if all disk I/O stopped) and then the next entry is the boot.
the same behaviour I see an Terastation PPC. USB is stable on 2.4.20 and crashes on all version 2.6.21 and above up to 2.6.23. I could boot the station from a USB stick but reading a large file crashes the box. Writing seems ok. For me a
crashes/freezes the box in two out of three times while reading the 20MB large file /var/lib/dpkg/available. Sometimes I only get a parsing error of this file. The file itself is ok. Running the command twice crashes the box always. I bought three different 2 GB memory sticks for that purpose and with all of them I have the same problem.
I would make some additional tests to find out the root cause and want to ask here if somebody made some analyzes before:
* Is there a USB patch in the 2.6 kernels from Sylver and andre?
* Did somebody analyze the 2.4 sources from Buffalo if there are modifications to the USB drivers? I had a short look but it seems that they use the USB sources from another kernel revision in a subdirectory drivers/new_usb. So it is not so easy to see what they eventually have changed.
* In Buffalos 2.4.20 kernel there is a file arch/ppc/8xx_io/usb.c. Is this related to the USB subsystem on my Terastation which has an external NEC USB chip onboard?
The things which I would suggest to anaylze:
* Boot with large enough swapping file on a IDE device. I currently have no swapping at all.
* Boot with extended USB logging enabled and log files on a IDE device.
Maybe robod, you, made some of these tests before?
Is there anybody out there who was able to rebuild Buffalos 2.4.20 kernel? Which (cross) toolchain to use?