All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: hirofumi@mail.parknet.co.jp, linux-kernel@vger.kernel.org
Subject: 2.a.30-rc7: fat filesystem misdetected as amiga
Date: Mon, 25 May 2009 15:57:36 +0300	[thread overview]
Message-ID: <20090525125736.GA5582@redhat.com> (raw)

Hi!
I have a disk on key with 2 partitions:
free hidden partition and after this a fat16
partition.

An attempt to mount it under linux 2.6.30-rc7 results in these messages:

usb 1-3: new high speed USB device using ehci_hcd and address 7
usb 1-3: New USB device found, idVendor=090c, idProduct=6000
usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-3: Product: USB2.0 Card Reader  
usb 1-3: Manufacturer: Generic       ,   . 
usb 1-3: SerialNumber: 0000001       
usb 1-3: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 2:0:0:0: Direct-Access     Generic                   6000 PQ: 0 ANSI: 0 CCS
sd 2:0:0:0: Attached scsi generic sg2 type 0
sd 2:0:0:0: [sdb] 990976 512-byte hardware sectors: (507 MB/483 MiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 4b 00 00 08
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Assuming drive cache: write through
 sdb:<6>sd 2:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 2:0:0:0: [sdb] Sense Key : Illegal Request [current] 
sd 2:0:0:0: [sdb] Add. Sense: Logical block address out of range
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
Dev sdb: unable to read RDB block 0
 unable to read partition table
sd 2:0:0:0: [sdb] Attached SCSI removable disk
usb 1-3: USB disconnect, address 7

parted seems to display both partitions just fine,
and that other OS does not seem to have any trouble
accessing the disk.

The message 'unable to read RDB block' seems to come from
fs/partitions/amiga.c which looks pretty weird.

Any idea what info would be helpful in debugging this?
Just to clarify, this is not a regression - older linux versions
as far back as 2.6.24 seem to behave the same way.


-- 
MST

             reply	other threads:[~2009-05-25 12:58 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-25 12:57 Michael S. Tsirkin [this message]
2009-05-25 14:00 ` 2.a.30-rc7: fat filesystem misdetected as amiga OGAWA Hirofumi
2009-05-25 15:32   ` Alan Stern
2009-05-25 18:48     ` Michael S. Tsirkin
2009-05-25 19:32       ` Kay Sievers
2009-05-25 19:50         ` Michael S. Tsirkin
2009-05-25 20:00           ` Kay Sievers
2009-05-25 20:25             ` Michael S. Tsirkin
2009-05-25 20:37       ` Alan Stern
2009-05-25 20:41         ` Kay Sievers
2009-05-25 20:54           ` Michael S. Tsirkin
2009-05-25 20:53         ` Michael S. Tsirkin
2009-05-25 21:08           ` Alan Stern
2009-05-25 21:23             ` Michael S. Tsirkin
2009-05-26 14:04               ` Alan Stern
2009-05-26 16:03                 ` Michael S. Tsirkin
2009-05-26 16:07                   ` Michael S. Tsirkin
2009-05-26 16:51                   ` Alan Stern
2009-05-26 16:52                     ` Michael S. Tsirkin
2009-05-25 21:47             ` Michael S. Tsirkin
2009-05-25 22:31               ` Andries E. Brouwer
2009-05-25 23:05                 ` Kay Sievers
2009-05-26  2:26                   ` Ming Lei
2009-05-26  6:17                   ` Michael S. Tsirkin
2009-05-26  6:22                 ` Michael S. Tsirkin
2009-05-25 23:17               ` Oliver Neukum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090525125736.GA5582@redhat.com \
    --to=mst@redhat.com \
    --cc=hirofumi@mail.parknet.co.jp \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.