Mailinglist Archive: opensuse (2831 mails)

< Previous Next >
Re: [SLE] Usb flashdisk mounted ok but read-only
  • From: Fajar Priyanto <fajarpri@xxxxxxxxxx>
  • Date: Mon, 17 Jul 2006 22:47:02 +0700
  • Message-id: <200607172247.03181.fajarpri@xxxxxxxxxx>
Very strange,
On my 128MB generic flashdisk (made in China), it's working perfectly. I can
save files into it.

Here's what shows in the log:
Jul 17 22:42:52 fajar101 kernel: usb 1-2: new full speed USB device using
uhci_hcd and address 2
Jul 17 22:42:53 fajar101 kernel: usb 1-2: new device found, idVendor=0ed1,
idProduct=6680
Jul 17 22:42:53 fajar101 kernel: usb 1-2: new device strings: Mfr=1,
Product=2, SerialNumber=0
Jul 17 22:42:53 fajar101 kernel: usb 1-2: Product: Mass Storage Device
Jul 17 22:42:53 fajar101 kernel: usb 1-2: Manufacturer: Generic
Jul 17 22:42:53 fajar101 kernel: usb 1-2: configuration #1 chosen from 1
choice
Jul 17 22:42:54 fajar101 kernel: SCSI subsystem initialized
Jul 17 22:42:54 fajar101 kernel: Initializing USB Mass Storage driver...
Jul 17 22:42:54 fajar101 kernel: scsi0 : SCSI emulation for USB Mass Storage
devices
Jul 17 22:42:54 fajar101 kernel: usb-storage: device found at 2
Jul 17 22:42:54 fajar101 kernel: usb-storage: waiting for device to settle
before scanning
Jul 17 22:42:54 fajar101 kernel: usbcore: registered new driver usb-storage
Jul 17 22:42:54 fajar101 kernel: USB Mass Storage support registered.
Jul 17 22:42:59 fajar101 kernel: Vendor: UFD Model:
Rev: 7.77
Jul 17 22:42:59 fajar101 kernel: Type: Direct-Access
ANSI SCSI revision: 02
Jul 17 22:42:59 fajar101 kernel: usb-storage: device scan complete
Jul 17 22:42:59 fajar101 kernel: Driver 'sd' needs updating - please use
bus_type methods
Jul 17 22:42:59 fajar101 kernel: SCSI device sda: 256000 512-byte hdwr sectors
(131 MB)
Jul 17 22:42:59 fajar101 kernel: sda: Write Protect is off
Jul 17 22:42:59 fajar101 kernel: sda: Mode Sense: 03 00 00 00
Jul 17 22:42:59 fajar101 kernel: sda: assuming drive cache: write through
Jul 17 22:42:59 fajar101 kernel: SCSI device sda: 256000 512-byte hdwr sectors
(131 MB)
Jul 17 22:42:59 fajar101 kernel: sda: Write Protect is off
Jul 17 22:42:59 fajar101 kernel: sda: Mode Sense: 03 00 00 00
Jul 17 22:42:59 fajar101 kernel: sda: assuming drive cache: write through
Jul 17 22:42:59 fajar101 kernel: sda: sda1
Jul 17 22:42:59 fajar101 kernel: sd 0:0:0:0: Attached scsi removable disk sda
Jul 17 22:42:59 fajar101 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0



On Monday 17 July 2006 17:00, Fajar Priyanto wrote:
> Hi all,
> If I plug in my 512MB flashdisk, it's detected and mounted ok. But then
> it's read-only. Only root can write into it. Why's that?
>
> This is what shows in the log:
> Jul 17 16:28:52 fajar101 kernel: usb 4-2: new high speed USB device using
> ehci_hcd and address 5
> Jul 17 16:28:53 fajar101 kernel: usb 4-2: new device found, idVendor=0781,
> idProduct=5150
> Jul 17 16:28:53 fajar101 kernel: usb 4-2: new device strings: Mfr=1,
> Product=2, SerialNumber=3
> Jul 17 16:28:53 fajar101 kernel: usb 4-2: Product: Cruzer Mini
> Jul 17 16:28:53 fajar101 kernel: usb 4-2: Manufacturer: SanDisk Corporation
> Jul 17 16:28:53 fajar101 kernel: usb 4-2: SerialNumber:
> 200435134307fc122d1f Jul 17 16:28:53 fajar101 kernel: usb 4-2:
> configuration #1 chosen from 1 choice
> Jul 17 16:28:53 fajar101 kernel: SCSI subsystem initialized
> Jul 17 16:28:54 fajar101 kernel: Initializing USB Mass Storage driver...
> Jul 17 16:28:54 fajar101 kernel: scsi0 : SCSI emulation for USB Mass
> Storage devices
> Jul 17 16:28:54 fajar101 kernel: usb-storage: device found at 5
> Jul 17 16:28:54 fajar101 kernel: usb-storage: waiting for device to settle
> before scanning
> Jul 17 16:28:54 fajar101 kernel: usbcore: registered new driver usb-storage
> Jul 17 16:28:54 fajar101 kernel: USB Mass Storage support registered.
> Jul 17 16:28:59 fajar101 kernel: Vendor: SanDisk Model: Cruzer Mini
> Rev: 0.4
> Jul 17 16:28:59 fajar101 kernel: Type: Direct-Access
> ANSI SCSI revision: 02
> Jul 17 16:28:59 fajar101 kernel: usb-storage: device scan complete
> Jul 17 16:28:59 fajar101 kernel: Driver 'sd' needs updating - please use
> bus_type methods
> Jul 17 16:28:59 fajar101 kernel: SCSI device sda: 1000944 512-byte hdwr
> sectors (512 MB)
> Jul 17 16:28:59 fajar101 kernel: sda: Write Protect is off
> Jul 17 16:28:59 fajar101 kernel: sda: Mode Sense: 03 00 00 00
> Jul 17 16:28:59 fajar101 kernel: sda: assuming drive cache: write through
> Jul 17 16:28:59 fajar101 kernel: SCSI device sda: 1000944 512-byte hdwr
> sectors (512 MB)
> Jul 17 16:28:59 fajar101 kernel: sda: Write Protect is off
> Jul 17 16:28:59 fajar101 kernel: sda: Mode Sense: 03 00 00 00
> Jul 17 16:28:59 fajar101 kernel: sda: assuming drive cache: write through
> Jul 17 16:28:59 fajar101 kernel: sda: sda1
> Jul 17 16:28:59 fajar101 kernel: sd 0:0:0:0: Attached scsi removable disk
> sda Jul 17 16:28:59 fajar101 kernel: sd 0:0:0:0: Attached scsi generic sg0
> type 0
>
> Thank you,
> --
> Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial
> http://linux2.arinet.org
> 4:41pm up 9:28, 2.6.16.13-4-default GNU/Linux
> Let's use OpenOffice. http://www.openoffice.org

--
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial
http://linux2.arinet.org
10:44pm up 0:40, 2.6.16.13-4-default GNU/Linux
Let's use OpenOffice. http://www.openoffice.org

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx


< Previous Next >
References