Bug 56856
Summary: | (USB STORAGE)usb compact flash reader (sandisk SDDR-31) works only after unloading and reloading usb-storage module | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Seth Vidal <skvidal> | ||||
Component: | kernel | Assignee: | Pete Zaitcev <zaitcev> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Brock Organ <borgan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.2 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-06-08 04:43:53 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Seth Vidal
2001-11-28 22:51:56 UTC
Please make sure you are not doing it from GNOME (where magicdev confuses the issue). I am not sure "ps auxww| grep magic" is sufficient to make sure the magicdev is not running. Can you reproduce it on the console, init level 3? magicdev is not installed. I remove it from systems I use b/c I hate it :) any ideas on this bug - its been a minor/daily pain in my ass. Still looking for the HW. Matt Dharm may have fixed something in the main trunk, I have to check. Sorry for the delay. Hello, I have a similar problem with my Sony DSC-S85 digital camera when connected through the USB. I get the following error in /var/log/messages when mounting it as a vfat drive when using a 128M memory stick: Feb 6 20:17:47 bytor kernel: FAT: bogus logical sector size 65535 Feb 6 20:17:47 bytor kernel: VFS: Can't find a valid FAT filesystem on dev 08:01. I tried the modprobe -r usb-storage ; modprobe -a usb-storage proposed by skvidal, and that is a work-around for the problem. The strange thing (to me, anyway) is that a 16M memory stick works fine right out of the box with no modprobing. This seemed relevant to your problem, so I hope it helps. Good luck, jcmain Interesting discovery. The failure to mount on the second try only occurs if it is marked as auto in /etc/fstab. If I mark it specifically as ext2 it will mount correctly. so it appears it can't figure out what the fs via the auto option We bought SDDR-31, getting a card now. Bug root cause: SDDR-31 fakes START STOP UNIT command without regard to a pending UNIT ATTENTION status. Such behavious confuses Linux SCSI stack. Bug scenario: Reseat the flash card to trigger UNIT ATTENTION status. This is recorded in the device until host retrieves sense. When device is open, sd_open calls check_disk_change. check_disk_change calls check_scsidisk_media_change, and it that indicates a change, calls revalidate_scsidisk. check_scsidisk_media_change issues START STOP UNIT to gather possible unit attention, but since SDDR-31 fakes that, it proceeds and returns no change indication. Later, different access paths fails when attention is returned with READ or MODE SENSE, or other command. Created attachment 69464 [details]
Possible fix.
Modified HEAD 2.4.18-7.94+ hampton 2.4.18-10+ |