https://bugzilla.novell.com/show_bug.cgi?id=244485#c27 --- Comment #27 from Martin Pley <pley@alc.de> 2007-10-25 09:14:23 MST --- Another interesting fact: It makes a big difference if I use a floppy formatted with mformat (1), mkdosfs (2) or with Windows XP (3). ############################# case 1: behaviour: no question whether I want to mount the disk. martin:~ # fdisk -l /dev/sdb Disk /dev/sdb: 1 MB, 1474560 bytes 2 heads, 18 sectors/track, 80 cylinders Units = cylinders of 36 * 512 = 18432 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 * 1 80 1440 1 FAT12 content of varlogmessages: Oct 25 16:49:23 martin kernel: sd 4:0:0:0: [sdb] 2880 512-byte hardware sectors (1 MB) Oct 25 16:49:23 martin kernel: sd 4:0:0:0: [sdb] Write Protect is off Oct 25 16:49:23 martin kernel: sd 4:0:0:0: [sdb] Mode Sense: 00 46 94 00 Oct 25 16:49:23 martin kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through Oct 25 16:49:23 martin kernel: sd 4:0:0:0: [sdb] 2880 512-byte hardware sectors (1 MB) Oct 25 16:49:23 martin kernel: sd 4:0:0:0: [sdb] Write Protect is off Oct 25 16:49:23 martin kernel: sd 4:0:0:0: [sdb] Mode Sense: 00 46 94 00 Oct 25 16:49:23 martin kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through Oct 25 16:49:24 martin kernel: sdb: sdb1 Oct 25 16:49:24 martin udevd[1282]: udev_event_run: seq 2094 forked, pid [30129], 'add' 'block', 0 seconds old Oct 25 16:49:24 martin udevd-event[30129]: match_rule: set ENV 'DEVTYPE=partition' Oct 25 16:49:24 martin udevd-event[30129]: udev_rules_get_name: add symlink 'disk/by-id/usb-NEC_NEC_USB_UF000x-part1' Oct 25 16:49:24 martin udevd-event[30129]: udev_rules_get_name: add symlink 'disk/by-path/pci-0000:00:1d.1-usb-0:1:1.0-scsi-0:0:0:0-part1' Oct 25 16:49:24 martin udevd-event[30129]: run_program: 'vol_id --export /dev/.tmp-8-17' [.....] ################################### case 2: behaviour: everything works as expected. Desktop users can mount and unmount disks disks without using the shell. martin:~ # fdisk -l /dev/sdb Disk /dev/sdb: 1 MB, 1474560 bytes 1 heads, 3 sectors/track, 960 cylinders Units = cylinders of 3 * 512 = 1536 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System martin:~ # content of varlogmessages: Oct 25 16:52:42 martin kernel: sd 4:0:0:0: [sdb] 2880 512-byte hardware sectors (1 MB) Oct 25 16:52:42 martin kernel: sd 4:0:0:0: [sdb] Write Protect is off Oct 25 16:52:42 martin kernel: sd 4:0:0:0: [sdb] Mode Sense: 00 46 94 00 Oct 25 16:52:42 martin kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through Oct 25 16:52:42 martin kernel: sd 4:0:0:0: [sdb] 2880 512-byte hardware sectors (1 MB) Oct 25 16:52:42 martin kernel: sd 4:0:0:0: [sdb] Write Protect is off Oct 25 16:52:42 martin kernel: sd 4:0:0:0: [sdb] Mode Sense: 00 46 94 00 Oct 25 16:52:42 martin kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through Oct 25 16:52:42 martin kernel: sdb: Oct 25 16:52:46 martin kernel: sd 4:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK Oct 25 16:52:46 martin kernel: sd 4:0:0:0: [sdb] Sense Key : Medium Error [current] Oct 25 16:52:46 martin kernel: Info fld=0xa47 Oct 25 16:52:46 martin kernel: sd 4:0:0:0: [sdb] Add. Sense: Unrecovered read error Oct 25 16:52:46 martin kernel: end_request: I/O error, dev sdb, sector 2631 Oct 25 16:52:46 martin kernel: Buffer I/O error on device sdb, logical block 328 Oct 25 16:52:47 martin kernel: sd 4:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK Oct 25 16:52:47 martin kernel: sd 4:0:0:0: [sdb] Sense Key : Medium Error [current] Oct 25 16:52:47 martin kernel: Info fld=0xa47 Oct 25 16:52:47 martin kernel: sd 4:0:0:0: [sdb] Add. Sense: Unrecovered read error Oct 25 16:52:47 martin kernel: end_request: I/O error, dev sdb, sector 2631 Oct 25 16:52:47 martin kernel: Buffer I/O error on device sdb, logical block 328 Oct 25 16:52:50 martin syslog-ng[2859]: STATS: dropped 0 Oct 25 16:52:51 martin kernel: sd 4:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK Oct 25 16:52:51 martin kernel: sd 4:0:0:0: [sdb] Sense Key : Medium Error [current] Oct 25 16:52:51 martin kernel: Info fld=0xa46 Oct 25 16:52:51 martin kernel: sd 4:0:0:0: [sdb] Add. Sense: Unrecovered read error Oct 25 16:52:51 martin kernel: end_request: I/O error, dev sdb, sector 2630 Oct 25 16:52:51 martin kernel: Buffer I/O error on device sdb, logical block 328 Oct 25 16:52:52 martin kernel: sd 4:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK Oct 25 16:52:52 martin kernel: sd 4:0:0:0: [sdb] Sense Key : Medium Error [current] Oct 25 16:52:52 martin kernel: Info fld=0xa47 Oct 25 16:52:52 martin kernel: sd 4:0:0:0: [sdb] Add. Sense: Unrecovered read error Oct 25 16:52:52 martin kernel: end_request: I/O error, dev sdb, sector 2631 Oct 25 16:52:52 martin kernel: Buffer I/O error on device sdb, logical block 328 Oct 25 16:53:00 martin hald: mounted /dev/sdb on behalf of uid 1000 ########################### case 3: behaviour: no question whether I want to mount the disk. martin:~ # fdisk -l /dev/sdb martin:~ # content of varlogmessages: Oct 25 16:42:18 martin kernel: sd 4:0:0:0: [sdb] READ CAPACITY failed Oct 25 16:42:18 martin kernel: sd 4:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK Oct 25 16:42:18 martin kernel: sd 4:0:0:0: [sdb] Sense Key : Medium Error [current] Oct 25 16:42:18 martin kernel: sd 4:0:0:0: [sdb] Add. Sense: Cannot read medium - unknown format Oct 25 16:42:18 martin kernel: sd 4:0:0:0: [sdb] Write Protect is off Oct 25 16:42:18 martin kernel: sd 4:0:0:0: [sdb] Mode Sense: 00 46 94 00 Oct 25 16:42:18 martin kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through Oct 25 16:42:19 martin kernel: sd 4:0:0:0: [sdb] READ CAPACITY failed Oct 25 16:42:19 martin kernel: sd 4:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK Oct 25 16:42:19 martin kernel: sd 4:0:0:0: [sdb] Sense Key : Medium Error [current] Oct 25 16:42:19 martin kernel: sd 4:0:0:0: [sdb] Add. Sense: Cannot read medium - unknown format Oct 25 16:42:19 martin kernel: sd 4:0:0:0: [sdb] Write Protect is off Oct 25 16:42:19 martin kernel: sd 4:0:0:0: [sdb] Mode Sense: 00 46 94 00 Oct 25 16:42:19 martin kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through -- 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.