Bug 6413
Summary: | CompactFlash & Ext2 Mount Problems: Bug Or Feature? | ||
---|---|---|---|
Product: | Drivers | Reporter: | William Ross (newsbeast) |
Component: | USB | Assignee: | Greg Kroah-Hartman (greg) |
Status: | REJECTED INSUFFICIENT_DATA | ||
Severity: | normal | CC: | stern |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.16 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 5089 |
Description
William Ross
2006-04-19 14:43:07 UTC
This probably has more to do with the quality of the cables running to the various ports or the quality of the CF card than with the filesystem type. Have you tried the test of using the same card in the reader and attaching the reader to all the ports? Do it with the card formatted one way and then do it again with the same card formatted the other way. Then try the same thing with a different card. Also, how do you know which ports are 1.1 and which are 2.0? I eliminated the cables from the equation entirely by plugging the card reader directly into the port. Keep in mind the usb 1.1 ports require a cable from the header to the front panel anyway. And I have confidence in the quality of the header cable. And as for determining which ports are usb 2.0 and usb 1.1, the motherboard manual gives me this information. As well, when I plug in stuff I can see whats going on via USB view or something like HAL Device Manager. And there's always dmesg or tail -f messages & co. I have tried the card reader on every port with other devices present, and as the ONLY device plugged in and still the USB 1.1 ports from the pin headers will not mount a CF card, as long as it is formatted with ext2 & co filesystem(s). msdos mounts just fine on ANY of my ports. Why would a bad cable prevent one type of filesystem from mounting, yet allow another to mount just fine? Could it a Microsoft Conspiracy ;) Update: Kernel 2.4.32 works fine. It is understood that udev does not play a role in kernel 2.4.32. I also disabled hal and dbus while running 2.4.32 and the CF card Still mounted fine on ANY usb port here. Switched the CF reader between ports a dozen times within a session too. And again in an isolated and mixed usb peripheral setting. Works. I disabled hal and dbus while running a 2.6.16.9 kernel. No difference. Still will only mount on the 2.0 ports. Of course the CF reader still appears as a usb 1.1 device on a 1.1 UHCI port. Note the CF reader Needs the uhci driver to be present. Otherwise it will NOT mount on Any Port. I still might have missed out on some config variable between kernel versions, but I can't see any so far. The glaring difference between the kernels is the lack of udev in the 2.4.32 series. Might the problem lie therein? I also have the same issues with Ubuntu 5.10 live edition which features a late 2.6x series kernel and obviously not myconfig either. Just my hardware. If anyone running a similar hardware and kernel setup who does not have this problem please chime in. Some of the things you say don't make sense. First of all, the card reader can't switch between being a 1.1 or a 2.0 device depending on the port it's attached to. Either it is 1.1 or else it is 2.0, period. And for our purposes, it doesn't matter anyway. Secondly, it doesn't really mean anything to say that a port is 1.1 or 2.0. It's much better to be explicit and say what you actually mean. What types of USB host controllers is the port connected to? That's what does matter. It's all well and good for you to have USBview or HAL device manager or dmesg, but you haven't provided any of that information in the bug report. You haven't even provided the contents of /proc/bus/usb/devices with the reader plugged into various ports (hint). The best way to diagnose the problem will be for you to turn on USB verbose debugging and USB Mass Storage verbose debugging in the kernel configuration (CONFIG_USB_DEBUG and CONFIG_USB_STORAGE_DEBUG) and rebuild the 2.6 kernel. Then send the dmesg log showing what happens when you plug in the reader with an ext2-formatted card inserted. Do this for both types of port, so we can see what a success looks like as well as a failure. For thoroughness, also do it for a FAT-formatted card in a "1.1" port. Closing due to inactivity. If this is still an issue, please reopen with the requested information. |