On Wednesday 13 December 2006 21:29, Alan Stern wrote: > In fact the stick has 2 LUNs, but your usbmon log shows that Linux is > looking at only the first one. Probably you don't have > CONFIG_SCSI_MULTI_LUN set in your kernel. My guess is that the first LUN Indeed I didn't. I've turned it on and got somewhat different results. /var/log/messages on stick insert: Dec 14 18:57:57 quanxi kernel: usb 1-1: USB disconnect, address 2 Dec 14 18:57:59 quanxi kernel: usb 1-1: new high speed USB device using ehci_hcd and address 3 Dec 14 18:58:00 quanxi kernel: usb 1-1: Product: Nu Drive Dec 14 18:58:00 quanxi kernel: usb 1-1: Manufacturer: Dec 14 18:58:00 quanxi kernel: usb 1-1: SerialNumber: 075A141402A5 Dec 14 18:58:00 quanxi kernel: usb 1-1: configuration #1 chosen from 1 choice Dec 14 18:58:00 quanxi kernel: scsi1 : SCSI emulation for USB Mass Storage devices Dec 14 18:58:05 quanxi kernel: Vendor: Model: Nu Drive Rev: PMAP Dec 14 18:58:05 quanxi kernel: Type: Direct-Access ANSI SCSI revision: 00 Dec 14 18:58:05 quanxi kernel: SCSI device sda: 982016 512-byte hdwr sectors (503 MB) Dec 14 18:58:05 quanxi kernel: sda: Write Protect is off Dec 14 18:58:05 quanxi kernel: SCSI device sda: 982016 512-byte hdwr sectors (503 MB) Dec 14 18:58:05 quanxi kernel: sda: Write Protect is off Dec 14 18:58:05 quanxi kernel: sda:<7>usb-storage: queuecommand called Dec 14 18:58:05 quanxi kernel: sd 1:0:0:0: SCSI error: return code = 0x08000002 Dec 14 18:58:05 quanxi kernel: sda: Current: sense key=0x3 Dec 14 18:58:05 quanxi kernel: ASC=0x11 ASCQ=0x0 Dec 14 18:58:05 quanxi kernel: end_request: I/O error, dev sda, sector 0 Dec 14 18:58:05 quanxi kernel: sd 1:0:0:0: SCSI error: return code = 0x08000002 Dec 14 18:58:05 quanxi kernel: sda: Current: sense key=0x3 Dec 14 18:58:05 quanxi kernel: ASC=0x11 ASCQ=0x0 Dec 14 18:58:05 quanxi kernel: end_request: I/O error, dev sda, sector 0 Dec 14 18:58:05 quanxi kernel: sd 1:0:0:0: SCSI error: return code = 0x08000002 Dec 14 18:58:05 quanxi kernel: sda: Current: sense key=0x3 Dec 14 18:58:05 quanxi kernel: ASC=0x11 ASCQ=0x0 Dec 14 18:58:05 quanxi kernel: end_request: I/O error, dev sda, sector 0 Dec 14 18:58:05 quanxi kernel: unable to read partition table Dec 14 18:58:05 quanxi kernel: sd 1:0:0:0: Attached scsi removable disk sda Dec 14 18:58:05 quanxi kernel: Vendor: Model: Nu Drive Rev: PMAP Dec 14 18:58:05 quanxi kernel: Type: Direct-Access ANSI SCSI revision: 00 Dec 14 18:58:05 quanxi kernel: SCSI device sdb: 3072 512-byte hdwr sectors (2 MB) Dec 14 18:58:05 quanxi kernel: sdb: Write Protect is on Dec 14 18:58:05 quanxi kernel: SCSI device sdb: 3072 512-byte hdwr sectors (2 MB) Dec 14 18:58:05 quanxi kernel: sdb: Write Protect is on Dec 14 18:58:05 quanxi kernel: sdb:<7>usb-storage: queuecommand called Dec 14 18:58:05 quanxi kernel: sdb1 Dec 14 18:58:05 quanxi kernel: sd 1:0:0:1: Attached scsi removable disk sdb
``mount -t vfat /dev/sdb1 /mnt/stick'' succeeds (while sda, sda1 and sdb all fail) but with mount: block device /dev/sdb1 is write-protected, mounting read-only I've read somewhere that it's by design and that ``mount -o rw,remount /mnt/stick'' should allow write access, but here it fails with mount: block device /dev/sda1 is write-protected, mounting read-only - the LUNs are getting confused... > is meant for some special purpose and the second is what you want to use. > It should show up as /dev/sdb. Under Windows, the stick does show as 2 drives (a big, 479 MB, originally empty one and a small 1,44 MB drive with some PDF documentation and an executable I still didn't have the occasion to run), but both drives are normally readable and writeable. Under Linux, ``mount -t vfat /dev/sdb1 /mnt/stick'' mounts the small storage. Bye Vasek ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users