linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 100921] New: Kernel cannot read partition table automatically.But use partprobe command can.
@ 2015-07-05  3:59 bugzilla-daemon
  2015-07-05  4:08 ` [Bug 100921] " bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2015-07-05  3:59 UTC (permalink / raw)
  To: linux-scsi

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: linux-scsi@vger.kernel.org
          Reporter: halyx@126.com
        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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-09  1:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-05  3:59 [Bug 100921] New: Kernel cannot read partition table automatically.But use partprobe command can bugzilla-daemon
2015-07-05  4:08 ` [Bug 100921] " bugzilla-daemon
2015-07-05  4:09 ` bugzilla-daemon
2015-07-09  1:28 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).