[Bug 235520] New: Magneto-optical drive (MO) loses VFAT files
https://bugzilla.novell.com/show_bug.cgi?id=235520 Summary: Magneto-optical drive (MO) loses VFAT files Product: openSUSE 10.2 Version: Final Platform: i586 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: abrahams@acm.org QAContact: qa@suse.de I have a Fujitsu MCJ3230SS 2.3GB magneto-optical drive. My computer is dual-booting with Windows XP. I formatted the entire drive (/dev/sda) as VFAT, or FAT32 under Windows. Until recently the files on the drive could be viewed either under Windows or Linux; there were no problems. But now the drive shows up under Linux as empty, even though the files are there under Windows. I tried reformatting under Windows and replacing the files, but they still are not visible under Linux. I'm pretty sure that the problem started some time after I installed OpenSuSE 10.2 (as an upgrade), but I'm not sure whether it started right after the installation or after some later update. If I insert a file on the drive under Linux, it stays around and is visible under Windows -- but not, as I explained, vice versa. I also tried reformatting the drive under Linux using mkfs.vfat -I /dev/sda. That rendered the drive unreadable under Linux -- but did not affect how it appeared to Windows. The command df -m shows the drive to be about 2/3 full. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=235520 gregkh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel- |jeffm@novell.com |maintainers@forge.provo.nove| |ll.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=235520 jeffm@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from jeffm@novell.com 2007-01-17 12:20 MST ------- Hi Paul - Can you attach your /var/log/messages after trying to mount the file system? Also, do you have any other removable media, like a USB stick you can try to reproduce with? I'd like to try to narrow down where the problem is. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=235520 ------- Comment #2 from abrahams@acm.org 2007-01-17 17:34 MST ------- After attempting some reformatting under Windows, the drive is not readable at all under Linux -- but it's still readable under Windows. Here is a command trace: suillus:~ # logger Checkpoint One suillus:~ # cat /etc/fstab | grep magopt /dev/sda /magopt vfat user,iocharset=iso8859-1,users,rw,umask=0 0 0 suillus:~ # mount /magopt mount: /dev/sda: can't read superblock suillus:~ # mkfs -t vfat -I /magopt mkfs.vfat 2.11 (12 Mar 2005) mkfs.vfat: unable to open /magopt suillus:~ # mkfs -t vfat -I /dev/sda mkfs.vfat 2.11 (12 Mar 2005) suillus:~ # mount /magopt mount: /dev/sda: can't read superblock suillus:~ # logger Checkpoint Two suillus:~ # # Now mounting and unmounting memory stick suillus:~ # logger Checkpoint Three Here are the corresponding log entries: Jan 17 19:09:59 suillus kernel: FAT: logical sector size too small for device (logical sector size = 512) Jan 17 19:10:40 suillus kernel: FAT: logical sector size too small for device (logical sector size = 512) Jan 17 19:10:57 suillus pwa: Checkpoint Two Jan 17 19:13:32 suillus kernel: usb 1-2: new high speed USB device using ehci_hcd and address 2 Jan 17 19:13:32 suillus kernel: usb 1-2: new device found, idVendor=0781, idProduct=7104 Jan 17 19:13:32 suillus kernel: usb 1-2: new device strings: Mfr=2, Product=3, SerialNumber=4 Jan 17 19:13:32 suillus kernel: usb 1-2: Product: Cruzer Mini Jan 17 19:13:32 suillus kernel: usb 1-2: Manufacturer: SanDisk Corporation Jan 17 19:13:32 suillus kernel: usb 1-2: SerialNumber: 202005171 Jan 17 19:13:32 suillus kernel: usb 1-2: configuration #1 chosen from 1 choice Jan 17 19:13:32 suillus kernel: Initializing USB Mass Storage driver... Jan 17 19:13:32 suillus kernel: scsi1 : SCSI emulation for USB Mass Storage devices Jan 17 19:13:32 suillus kernel: usb-storage: device found at 2 Jan 17 19:13:32 suillus kernel: usb-storage: waiting for device to settle before scanning Jan 17 19:13:32 suillus kernel: usbcore: registered new driver usb-storage Jan 17 19:13:32 suillus kernel: USB Mass Storage support registered. Jan 17 19:13:33 suillus kernel: Vendor: Generic Model: STORAGE DEVICE Rev: 1033 Jan 17 19:13:33 suillus kernel: Type: Direct-Access ANSI SCSI revision: 00 Jan 17 19:13:33 suillus kernel: SCSI device sdb: 512000 512-byte hdwr sectors (262 MB) Jan 17 19:13:33 suillus kernel: sdb: Write Protect is off Jan 17 19:13:33 suillus kernel: sdb: Mode Sense: 02 00 00 00 Jan 17 19:13:33 suillus kernel: sdb: assuming drive cache: write through Jan 17 19:13:33 suillus kernel: SCSI device sdb: 512000 512-byte hdwr sectors (262 MB) Jan 17 19:13:33 suillus kernel: sdb: Write Protect is off Jan 17 19:13:33 suillus kernel: sdb: Mode Sense: 02 00 00 00 Jan 17 19:13:33 suillus kernel: sdb: assuming drive cache: write through Jan 17 19:13:33 suillus kernel: sdb: sdb1 Jan 17 19:13:33 suillus kernel: sd 1:0:0:0: Attached scsi removable disk sdb Jan 17 19:13:33 suillus kernel: sd 1:0:0:0: Attached scsi generic sg1 type 0 Jan 17 19:13:33 suillus kernel: usb-storage: device scan complete Jan 17 19:13:35 suillus hald: mounted /dev/sdb1 on behalf of uid 500 Jan 17 19:14:10 suillus kernel: usb 1-2: USB disconnect, address 2 Jan 17 19:14:10 suillus hald[3634]: forcibly attempting to lazy unmount /dev/sdb1 as enclosing drive was disconnected Jan 17 19:14:10 suillus hald: unmounted /dev/sdb1 from '/media/CRUZER' on behalf of uid 0 Jan 17 19:15:21 suillus pwa: Checkpoint Three Here is the result of listing the drive under Windows XP: C:\Documents and Settings\Paul>dir i: Volume in drive I is MAGOPT Volume Serial Number is 18F5-AB0C Directory of I:\ 01/16/2007 02:43 AM <DIR> quicken 01/16/2007 02:43 AM <DIR> My Drawings 0 File(s) 0 bytes 2 Dir(s) 14,537,203,712 bytes free And here are some relevant sections from hwinfo: 12: udi = '/org/freedesktop/Hal/devices/storage_model_MCJ3230SS' storage.media_check_enabled = true storage.firmware_version = '0020' storage.removable.media_available = true storage.size = 0ull (0x0ull) storage.hotpluggable = false block.storage_device = '/org/freedesktop/Hal/devices/storage_model_MCJ3230SS' linux.sysfs_path_device = '/sys/block/sda' storage.bus = 'scsi' block.major = 8 (0x8) block.is_volume = false storage.drive_type = 'disk' info.capabilities = { 'storage', 'block' } storage.removable.media_size = 2177323008ull (0x81c75000ull) info.udi = '/org/freedesktop/Hal/devices/storage_model_MCJ3230SS' storage.lun = 0 (0x0) storage.no_partitions_hint = false info.vendor = 'FUJITSU' linux.hotplug_type = 3 (0x3) storage.model = 'MCJ3230SS' info.product = 'MCJ3230SS' storage.requires_eject = false linux.sysfs_path = '/sys/block/sda' storage.physical_device = '/org/freedesktop/Hal/devices/pci_1000_f_scsi_device_lun0' info.addons = { 'hald-addon-storage' } info.category = 'storage' storage.automount_enabled_hint = true storage.removable = true info.parent = '/org/freedesktop/Hal/devices/pci_1000_f_scsi_device_lun0' block.device = '/dev/sda' block.minor = 0 (0x0) storage.vendor = 'FUJITSU' storage.partitioning_scheme = 'none' <6>scsi0 : sym-2.2.3 <5> Vendor: FUJITSU Model: MCJ3230SS Rev: 0020 <5> Type: Direct-Access ANSI SCSI revision: 02 <6> target0:0:5: Beginning Domain Validation <6> target0:0:5: asynchronous <6> target0:0:5: FAST-20 SCSI 20.0 MB/s ST (50 ns, offset 15) <6> target0:0:5: Domain Validation skipping write tests <6> target0:0:5: Ending Domain Validation <5>SCSI device sda: 1063146 2048-byte hdwr sectors (2177 MB) <5>sda: Write Protect is off <7>sda: Mode Sense: 3f 03 00 08 <5>SCSI device sda: drive cache: write back <5>SCSI device sda: 1063146 2048-byte hdwr sectors (2177 MB) <5>sda: Write Protect is off <7>sda: Mode Sense: 3f 03 00 08 <5>SCSI device sda: drive cache: write back <6> sda: <5>sd 0:0:5:0: Attached scsi removable disk sda <5>sd 0:0:5:0: Attached scsi generic sg0 type 0 block: name = sda, path = /block/sda dev = 8:0 range = 16 block device: bus = scsi, bus_id = 0:0:5:0 driver = sd path = /devices/pci0000:00/0000:00:09.0/host0/target0:0:5/0:0:5:0 vendor = FUJITSU model = MCJ3230SS rev = 0020 type = 0
block.5: /dev/sda block.5.1: /dev/sda geo dev = /dev/sda, fd = 4 open ok, fd = 4 /dev/sda: ioctl(geo) ok /dev/sda: ioctl(block size) ok /dev/sda: ioctl(disk size) ok block.5.2: /dev/sda serial serial id len: 2
61: SCSI 05.0: 10600 Disk [Created at block.218] UDI: /org/freedesktop/Hal/devices/storage_model_MCJ3230SS Unique ID: _q_W.a8xH+MJXVNE Parent ID: WL76.r5Y2e4ckfyD SysFS ID: /block/sda SysFS BusID: 0:0:5:0 SysFS Device Link: /devices/pci0000:00/0000:00:09.0/host0/target0:0:5/0:0:5:0 Hardware Class: disk Model: "FUJITSU MCJ3230SS" Vendor: "FUJITSU" Device: "MCJ3230SS" Revision: "0020" Serial ID: "+" Driver: "sym53c8xx", "sd" Driver Modules: "sym53c8xx" Device File: /dev/sda (/dev/sg0) Device Files: /dev/sda, /dev/disk/by-path/pci-0000:00:09.0-scsi-0:0:5:0 Device Number: block 8:0-8:15 (char 21:0) Geometry (Logical): CHS 255/67/62 Size: 1063146 sectors a 2048 bytes Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #18 (SCSI storage controller) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=235520 ------- Comment #3 from abrahams@acm.org 2007-01-17 18:40 MST ------- Because of a screwup on my part, the Windows output in my previous comment is incorrect; I was accessing the wrong drive. I also did some more experiments. I have two MO disks: 1. Disk #1 is readable on neither system and cannot be formatted on either system. The attempt to format it under Linux is shown in the previous comment. Windows will format it using a full FAT32 format but then can't read it. 2. Disk #2 is an older disk. It can be read under Windows but not under Linux, where it indicates a bad superblock. The format of that one vfat/FAT32. Now here's where it gets even more interesting. If I do a quick FAT32 format under Windows, the resulting disk can be read on either system. Not true for a full FAT32 format, though. All this may be confusing -- but the one clear indicator of a bug is that mkfs.vfat will exit successfully but the resulting disk has a bad superblock. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=235520 jeffm@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jeffm@novell.com |tonyj@novell.com Status|ASSIGNED |NEW -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=235520 tonyj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=235520 User tonyj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=235520#c4 Tony Jones <tonyj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |abrahams@acm.org --- Comment #4 from Tony Jones <tonyj@novell.com> 2008-04-24 02:13:27 MST --- Can you still reproduce using OpenSuse 10.3 or (beta) 11.0. Also, is there any way to reproduce without requiring Windows (it seems core to the bug). Not a lot of SuSE employees have dual boot Windows setups, -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=235520 User tonyj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=235520#c5 --- Comment #5 from Tony Jones <tonyj@novell.com> 2008-05-23 10:30:53 MDT --- Month in NEEDINFO. Will close on 5/31 if no reply. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=235520 User tonyj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=235520#c6 Tony Jones <tonyj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|abrahams@acm.org | Resolution| |NORESPONSE --- Comment #6 from Tony Jones <tonyj@novell.com> 2008-06-03 12:02:17 MDT --- Closing as per comment #5 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com