[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Firewire disk all data shifted by 8 byte



Hi, I have an external HD which can be connected to USB and firewire and worked well until some time ago.

Now it suddenly stopped working on the firewire.
It's still recognised by the kernel and fdisk shows the disk geometry. However fdisk says "doesn't contain a valid partition table" and _all data read from /dev/sda and /dev/sda1 seems to be shifted by 8 byte_! Well, fdisk clearly fails then. And the total byte count differs a little bit (see below).

Seems pretty weird to me? Thanks for any ideas!

I tried debian pre-compiled kernel 2.6.15-1-686-smp and 2.6.21-2-686.
Distro is an up-to-date lennie.

Here's some debugging data:

USB connected:
stefaniello:~# tail /var/log/messages
Sep 20 19:30:47 stefaniello kernel: usb 1-1: new full speed USB device using uhci_hcd and address 2 Sep 20 19:30:47 stefaniello kernel: scsi0 : SCSI emulation for USB Mass Storage devices Sep 20 19:30:52 stefaniello kernel: Vendor: WDC WD20 Model: 00JB-00GVA0 Rev: 08.0 Sep 20 19:30:52 stefaniello kernel: Type: Direct-Access ANSI SCSI revision: 00 Sep 20 19:30:52 stefaniello kernel: SCSI device sda: 390721969 512-byte hdwr sectors (200050 MB) Sep 20 19:30:52 stefaniello kernel: SCSI device sda: 390721969 512-byte hdwr sectors (200050 MB)
Sep 20 19:30:52 stefaniello kernel:  sda: sda1
Sep 20 19:30:52 stefaniello kernel: sd 0:0:0:0: Attached scsi disk sda
Sep 20 19:30:53 stefaniello kernel: sda: Current: sense key: No Sense
Sep 20 19:30:53 stefaniello kernel: Additional sense: No additional sense information

stefaniello:~# fdisk -l /dev/sda
Disk /dev/sda: 200.0 GB, 200049648128 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       24321   195358401    b  W95 FAT32

ieee1394 connected:

stefaniello:~# tail -f /var/log/messages
Sep 20 19:42:04 stefaniello kernel: scsi1 : SCSI emulation for IEEE-1394 SBP-2 Devices Sep 20 19:42:05 stefaniello kernel: ieee1394: sbp2: Logged into SBP-2 device Sep 20 19:42:05 stefaniello kernel: Vendor: WDC WD20 Model: 00JB-00GVA0 Rev: Sep 20 19:42:05 stefaniello kernel: Type: Direct-Access-RBC ANSI SCSI revision: 04 Sep 20 19:42:05 stefaniello kernel: SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB) Sep 20 19:42:05 stefaniello kernel: SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
Sep 20 19:42:05 stefaniello kernel:  sda: sda1
Sep 20 19:42:05 stefaniello kernel: sd 1:0:0:0: Attached scsi disk sda

stefaniello:~# fdisk -l /dev/sda
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sda doesn't contain a valid partition table



Reply to: