Mailinglist Archive: opensuse (4633 mails)

< Previous Next >
Re: [opensuse] how to install usb external disk
  • From: Hans Witvliet <hwit@xxxxxxxxxxx>
  • Date: Sun, 24 Dec 2006 15:34:07 +0100
  • Message-id: <1166970847.6467.21.camel@xxxxxxxxxx>
On Sat, 2006-12-23 at 22:41 +0100, Primm wrote:
> On Saturday 23 December 2006 22:32, Leendert Meyer wrote:
> > On Saturday 23 December 2006 21:02, Primm wrote:
> > > On Saturday 23 December 2006 20:40, Leendert Meyer wrote:
> > > > On Saturday 23 December 2006 20:23, Primm wrote:
> > > > > When I plug it in nothing happens. Trying to mount /dev/sda
> > > > > gives:
> > > > >
> > > > > mount /dev/sda /mnt
> > > > > mount: No medium found
> > > >
> > > > This is like mounting a CDROM with no CD in it.
> > > >
> > > > Instead of sda, you should use dm-0 or dm-1.
> > >
> > > I get:
> > >
> > > mount /dev/dm-0 /mnt
> > > mount: /dev/dm-0: can't read superblock
> >
> > So the device exists.
> >
> > > and:
> > >
> > > mount /dev/dm-1 /mnt
> > > mount: special device /dev/dm-1 does not exist
> >
> > _Not_?
> >
> > *** How about /var/log/messages? What appears there _right_after_
> > plugging in the device?
>
> It gives this:
>
>
> Dec 23 22:36:17 highheels2 kernel: usb 1-8: new high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:17 highheels2 kernel: usb 1-8: new device found, idVendor=067b,
> idProduct=2507
> Dec 23 22:36:17 highheels2 kernel: usb 1-8: new device strings: Mfr=1,
> Product=2, SerialNumber=3
> Dec 23 22:36:17 highheels2 kernel: usb 1-8: Product: Mass Storage Device
> Dec 23 22:36:17 highheels2 kernel: usb 1-8: Manufacturer: Prolific Technology
> Inc.
> Dec 23 22:36:17 highheels2 kernel: usb 1-8: SerialNumber: 0
> Dec 23 22:36:17 highheels2 kernel: usb 1-8: configuration #1 chosen from 1
> choice
> Dec 23 22:36:17 highheels2 kernel: scsi6 : SCSI emulation for USB Mass Storage
> devices
> Dec 23 22:36:17 highheels2 kernel: usb-storage: device found at 12
> Dec 23 22:36:17 highheels2 kernel: usb-storage: waiting for device to settle
> before scanning
> Dec 23 22:36:18 highheels2 kernel: Vendor: A´`& ]¨ Model: Ǿʥ ã…y(±)÷5­ ñ
> Rev: y 
> Dec 23 22:36:18 highheels2 kernel: Type: Direct-Access
> ANSI SCSI revision: 00
> Dec 23 22:36:18 highheels2 kernel: sde : very big device. try to use READ
> CAPACITY(16).
> Dec 23 22:36:18 highheels2 kernel: sde : READ CAPACITY(16) failed.
> Dec 23 22:36:18 highheels2 kernel: sde : status=0, message=00, host=5,
> driver=00
> Dec 23 22:36:18 highheels2 kernel: sde : use 0xffffffff as device size
> Dec 23 22:36:18 highheels2 kernel: SCSI device sde: 4294967296 512-byte hdwr
> sectors (2199023 MB)
> Dec 23 22:36:18 highheels2 kernel: sde: Write Protect is off
> Dec 23 22:36:18 highheels2 kernel: sde: Mode Sense: 03 00 00 00
> Dec 23 22:36:18 highheels2 kernel: sde: assuming drive cache: write through
> Dec 23 22:36:18 highheels2 kernel: sde : very big device. try to use READ
> CAPACITY(16).
> Dec 23 22:36:18 highheels2 kernel: sde : READ CAPACITY(16) failed.
> Dec 23 22:36:18 highheels2 kernel: sde : status=0, message=00, host=5,
> driver=00
> Dec 23 22:36:18 highheels2 kernel: sde : use 0xffffffff as device size
> Dec 23 22:36:18 highheels2 kernel: SCSI device sde: 4294967296 512-byte hdwr
> sectors (2199023 MB)
> Dec 23 22:36:18 highheels2 kernel: sde: Write Protect is off
> Dec 23 22:36:18 highheels2 kernel: sde: Mode Sense: 03 00 00 00
> Dec 23 22:36:18 highheels2 kernel: sde: assuming drive cache: write through
> Dec 23 22:36:18 highheels2 kernel: sde:<6>usb 1-8: reset high speed USB
> device using ehci_hcd and address 12
> Dec 23 22:36:18 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:19 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:19 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:19 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:19 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:19 highheels2 kernel: sd 6:0:0:0: SCSI error: return code =
> 0x00070000
> Dec 23 22:36:19 highheels2 kernel: end_request: I/O error, dev sde, sector 0
> Dec 23 22:36:19 highheels2 kernel: Buffer I/O error on device sde, logical
> block 0
> Dec 23 22:36:20 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:20 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:20 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:20 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:21 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:21 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:21 highheels2 kernel: sd 6:0:0:0: SCSI error: return code =
> 0x00070000
> Dec 23 22:36:21 highheels2 kernel: end_request: I/O error, dev sde, sector 0
> Dec 23 22:36:21 highheels2 kernel: Buffer I/O error on device sde, logical
> block 0
> Dec 23 22:36:21 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:21 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:21 highheels2 udevd-event[1993]: wait_for_sysfs: waiting
> for '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8:1.0/host6/target6:0:0/6:0:0:0/ioerr_cnt'
> failed
> Dec 23 22:36:22 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:22 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:22 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:22 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:22 highheels2 kernel: sd 6:0:0:0: SCSI error: return code =
> 0x00070000
> Dec 23 22:36:22 highheels2 kernel: end_request: I/O error, dev sde, sector 0
> Dec 23 22:36:22 highheels2 kernel: Buffer I/O error on device sde, logical
> block 0
> Dec 23 22:36:22 highheels2 kernel: unable to read partition table
> Dec 23 22:36:22 highheels2 kernel: sd 6:0:0:0: Attached scsi disk sde
> Dec 23 22:36:22 highheels2 kernel: sd 6:0:0:0: Attached scsi generic sg4 type
> 0
> Dec 23 22:36:22 highheels2 kernel: usb-storage: device scan complete
> Dec 23 22:36:23 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:23 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:23 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:23 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:24 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:24 highheels2 kernel: usb 1-8: reset high speed USB device using
> ehci_hcd and address 12
> Dec 23 22:36:24 highheels2 kernel: sd 6:0:0:0: SCSI error: return code =
> 0x00070000
> Dec 23 22:36:24 highheels2 kernel: end_request: I/O error, dev sde, sector
> 4294967168
> Dec 23 22:36:24 highheels2 kernel: Buffer I/O error on device sde, logical
> block 536870896
>
> > (earlier email) fdisk tells you you've got
> >
> > /dev/dm-0: 3150 MB
> >
> > and
> >
> > /dev/dm-1: 48.3 GB
> >
> > This totals to about 52.4 GB. That's 1/5 of what you say the size is:
> > 250 GB. That is *strange*. It should add up to about 250 GB.
> >
> > *** Better take your time and sort things out! ;-)
> >
> > BTW, is it this drive:
> >
> > http://www.zaapa.co.uk/Public/ficha_producto.asp?CPRO=629
>
> No, it doesn't look like that. But maybe the case has changed. . .
> >
> > Cheers,
> >
> > Leen
>
> Could it be the hardware that's at fault?
>
> Cheers and thanks for trying.
> Steve.


Just skimming through the thread....
Firstly what does the tool lsusb tells you?

For my usbstick it says:
ursa:/var/log # lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 1606:0010 Umax [hex] Astra 1220U
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 0951:1600 Kingston Technology
Bus 001 Device 001: ID 0000:0000

And in verbose mode:

ursa:/var/log # lsusb -v -s 1:3

Bus 001 Device 003: ID 0951:1600 Kingston Technology
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0951 Kingston Technology
idProduct 0x1600
bcdDevice 1.00
iManufacturer 1 Kingston
iProduct 2 DataTraveler II
iSerial 3 5B580D0039A5
<snip>

Secondly, as /var/log/messages is talking about: sde, what does:
fdisk /dev/sde tells you?
(presuming the kernel keeps on detecting the drive as "/dev/sde" each
time you remove/insert (or power-off/power-on) the drive....


Hans

--
pgp-id: 926EBB12
pgp-fingerprint: BE97 1CBF FAC4 236C 4A73 F76E EDFC D032 926E BB12
Registered linux user: 75761 (http://counter.li.org)
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups