Skip to contentSkip to conversation

New: Kernel cannot read partition table automatically.But use partprobe command can.

Bug 100921 [email protected] 1 participant 4 messages Jul 5, 2015 – Jul 9, 2015 SCSI

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=100921

            Bug ID: 100921
           Summary: Kernel cannot read partition table automatically.But
                    use partprobe command can.
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 4.1.0
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: SCSI
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

I use linux kernel 4.1.0 in my Gentoo Linux.
Whenever I insert my USB-HDD into USB-port, kernel cannot read the partition table automatically.
But when I use the partprobe command, it can read my partition table. I want to know whether it is a bug.

As the following, the output of the "dmesg|tail":
dmesg | tail

[ 5384.806237] usb-storage 1-4:1.0: USB Mass Storage device detected 
[ 5384.807159] scsi host8: usb-storage 1-4:1.0 
[ 5386.440476] scsi 8:0:0:0: Direct-Access     hp       v250w            1100
PQ: 0 ANSI: 4 
[ 5386.440660] sd 8:0:0:0: Attached scsi generic sg2 type 0 
[5386.440899] sd 8:0:0:0: [sdb] 31506432 512-byte logical blocks: (16.1 GB/15.0
GiB) 
[ 5386.441314] sd 8:0:0:0: [sdb] Write Protect is off 
[ 5386.441319] sd 8:0:0:0: [sdb] Mode Sense: 43 00 00 00 
[ 5386.441758] sd 8:0:0:0: [sdb] No Caching mode page found 
[ 5386.441762] sd 8:0:0:0: [sdb] Assuming drive cache: write through 
[ 5386.445789] sd 8:0:0:0: [sdb] Attached SCSI removable disk

ls /dev/sd*
/dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 /dev/sda5 /dev/sda6 /dev/sda7 /dev/sda8 /dev/sdb
As above, there is not /dev/sdbX(X=1,2,3...)
Then, I use "sudo partprobe"
ls /dev/sd*
/dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 /dev/sda5 /dev/sda6 /dev/sda7 /dev/sda8 /dev/sdb /dev/sdb1
As above, the /dev/sdb1 occurred.

I want to know whether it is a bug.I didn't want to insert "partprobe" command whenever I use my USB devices.

Yours sincerely
Thanks.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw

[Bug 100921] Kernel cannot read partition table automatically.But use partprobe command can.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=100921

Wallance <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|SCSI                        |USB
            Product|IO/Storage                  |Drivers
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.