1
Linux Issues / Linux Kernel 2.6.14 Breaks Usbnet Xfer From Zaurus
« on: November 29, 2005, 11:40:11 am »
Howdy,
I recently discovered that Linux Kernel 2.6.14 breaks usbnet transfers from the Zaurus.
Specifically, I was using 2.6.14-1 from the Fedora Core 4 update server with a C860.
The first problem I noticed was that my connection hung when trying to enter a certain directory using samba (while browsing from my PC). Some directories worked fine and some hung.
I next noticed that certain file transfers would hang, regardless of the protocol (I tried scp, ftp, and samba). Some files transferred just fine, others hung.
I eventually determined that any file with a size >= 1458 bytes would hang. Any file with a size smaller than this transferred just fine.
Additionally, I'm assuming that the directory browsing issue is related to the number of entries in the directory and, therefore, the size of the directory contents transfer.
When I rebooted into kernel 2.6.12, everything worked fine again.
I later determined that kernel 2.6.13 is also fine.
I tried google'ing some kernel activity to try and find the cause and found some interesting stuff but nothing conclusive. I noticed that the kernel guys are still mucking around with usbnet: they've been engaged in a massive refactoring of that module since at least 2.6.11 (which I earlier discovered completely broke connectivity with the C860). I noticed one comment regarding the implementation of some sort of "hard mtu" feature which sounded somewhat suspicious to me. I haven't researched this any further though so it may be a red herring.
The latest stable kernel release is 2.6.14-3 (Fedora's latest is 2.6.14-1) so it's possible it's been fixed in -2 or -3 but I haven't been able to try them and I haven't seen any patch that addresses this issue (but I haven't looked really well yet either). The ChangeLogs for -2 and -3 don't mention anything that sounds related.
So, if you're a Linux & Zaurus user, I would recommend that you avoid 2.6.14 and try later versions with caution.
~ray
I recently discovered that Linux Kernel 2.6.14 breaks usbnet transfers from the Zaurus.
Specifically, I was using 2.6.14-1 from the Fedora Core 4 update server with a C860.
The first problem I noticed was that my connection hung when trying to enter a certain directory using samba (while browsing from my PC). Some directories worked fine and some hung.
I next noticed that certain file transfers would hang, regardless of the protocol (I tried scp, ftp, and samba). Some files transferred just fine, others hung.
I eventually determined that any file with a size >= 1458 bytes would hang. Any file with a size smaller than this transferred just fine.
Additionally, I'm assuming that the directory browsing issue is related to the number of entries in the directory and, therefore, the size of the directory contents transfer.
When I rebooted into kernel 2.6.12, everything worked fine again.
I later determined that kernel 2.6.13 is also fine.
I tried google'ing some kernel activity to try and find the cause and found some interesting stuff but nothing conclusive. I noticed that the kernel guys are still mucking around with usbnet: they've been engaged in a massive refactoring of that module since at least 2.6.11 (which I earlier discovered completely broke connectivity with the C860). I noticed one comment regarding the implementation of some sort of "hard mtu" feature which sounded somewhat suspicious to me. I haven't researched this any further though so it may be a red herring.
The latest stable kernel release is 2.6.14-3 (Fedora's latest is 2.6.14-1) so it's possible it's been fixed in -2 or -3 but I haven't been able to try them and I haven't seen any patch that addresses this issue (but I haven't looked really well yet either). The ChangeLogs for -2 and -3 don't mention anything that sounds related.
So, if you're a Linux & Zaurus user, I would recommend that you avoid 2.6.14 and try later versions with caution.
~ray