Skip to contentSkip to conversation

/dev/sdb not detected anymore?

DISCUSSION Peter Teoh 2 participants 4 messages Oct 2, 2009 – Oct 5, 2009

lore
Share & tools
lore

Peter Teoh

author
#0 lore raw

I just built my 2.6.32-rc2 (from linus-git) yesterday, and repeated today again, starting from "make mrproper", and consistently both version cannot detect my /dev/sdb, which is the second SATA harddisk.
The first SATA is detected as follows in dmesg:

    742 [    4.595949] scsi 2:0:0:0: Direct-Access     ATA
ST3500630AS      3.AA PQ: 0 ANSI: 5
    743 [    4.596116] sd 2:0:0:0: [sda] 976773168 512-byte logical
blocks: (500 GB/465 GiB)
    744 [    4.596213] sd 2:0:0:0: [sda] Write Protect is off
    745 [    4.596216] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
    746 [    4.596258] sd 2:0:0:0: [sda] Write cache: enabled, read
cache: enabled, doesn't support DPO or FUA
    747 [    4.596467]  sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 >
    748 [    4.674607] sd 2:0:0:0: [sda] Attached SCSI disk

And from sg_inq:

standard INQUIRY:
PQual=0 Device_type=0 RMB=0 version=0x05 [SPC-3] [AERC=0] [TrmTsk=0] NormACA=0 HiSUP=0 Resp_data_format=2 SCCS=0 ACC=0 TPGS=0 3PC=0 Protect=0 BQue=0 EncServ=0 MultiP=0 [MChngr=0] [ACKREQQ=0] Addr16=0 [RelAdr=0] WBus16=0 Sync=0 Linked=0 [TranDis=0] CmdQue=0 [SPI: Clocking=0x0 QAS=0 IUS=0]

    length=96 (0x60)   Peripheral device type: disk

Vendor identification: ATA
Product identification: ST3500630AS
Product revision level: 3.AA
Unit serial number: 9QG14T5Z

But the second SATA (identical in type/model) is not detectable. Upon rebooting to my previous 2.6.31 kernel version, it became
detected and usable - absolutely nothing else is touch. So what is
it in the latest kernel which is giving the problem?

Can someone help me out?

THank you very much :-).

Signature · 2 lines
Regards,
Peter Teoh
#1 lore raw
Quoted 31 lines · Peter Teoh

I just built my 2.6.32-rc2 (from linus-git) yesterday, and repeated today again, starting from "make mrproper", and consistently both version cannot detect my /dev/sdb, which is the second SATA harddisk.
The first SATA is detected as follows in dmesg:

     742 [    4.595949] scsi 2:0:0:0: Direct-Access     ATA
ST3500630AS      3.AA PQ: 0 ANSI: 5
     743 [    4.596116] sd 2:0:0:0: [sda] 976773168 512-byte logical
blocks: (500 GB/465 GiB)
     744 [    4.596213] sd 2:0:0:0: [sda] Write Protect is off
     745 [    4.596216] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
     746 [    4.596258] sd 2:0:0:0: [sda] Write cache: enabled, read
cache: enabled, doesn't support DPO or FUA
     747 [    4.596467]  sda: sda1 sda2 sda3 sda4<  sda5 sda6 sda7 sda8 sda9>
     748 [    4.674607] sd 2:0:0:0: [sda] Attached SCSI disk

And from sg_inq:

standard INQUIRY:

   PQual=0  Device_type=0  RMB=0  version=0x05  [SPC-3]
   [AERC=0]  [TrmTsk=0]  NormACA=0  HiSUP=0  Resp_data_format=2
   SCCS=0  ACC=0  TPGS=0  3PC=0  Protect=0  BQue=0
   EncServ=0  MultiP=0  [MChngr=0]  [ACKREQQ=0]  Addr16=0
   [RelAdr=0]  WBus16=0  Sync=0  Linked=0  [TranDis=0]  CmdQue=0
   [SPI: Clocking=0x0  QAS=0  IUS=0]
     length=96 (0x60)   Peripheral device type: disk

Vendor identification: ATA
Product identification: ST3500630AS
Product revision level: 3.AA
Unit serial number: 9QG14T5Z

Quoted 4 lines

But the second SATA (identical in type/model) is not detectable. Upon rebooting to my previous 2.6.31 kernel version, it became
detected and usable - absolutely nothing else is touch. So what is
it in the latest kernel which is giving the problem?

We need more details, can you post the full boot log including the actual libata messages from the working and non-working kernels?

author
#2 lore raw

thank you for the response. the bug report i just raised is this:

http://bugzilla.kernel.org/show_bug.cgi?id=14319

and attachment is:

http://bugzilla.kernel.org/attachment.cgi?id=23255

Thanks.

Quoted 34 lines · Robert Hancock
Quoted 33 lines · Peter Teoh

I just built my 2.6.32-rc2 (from linus-git) yesterday, and repeated today again, starting from "make mrproper", and consistently both version cannot detect my /dev/sdb, which is the second SATA harddisk. The first SATA is detected as follows in dmesg:

    742 [    4.595949] scsi 2:0:0:0: Direct-Access     ATA ST3500630AS      3.AA PQ: 0 ANSI: 5
    743 [    4.596116] sd 2:0:0:0: [sda] 976773168 512-byte logical
blocks: (500 GB/465 GiB)
    744 [    4.596213] sd 2:0:0:0: [sda] Write Protect is off 745 [    4.596216] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00 746 [    4.596258] sd 2:0:0:0: [sda] Write cache: enabled, read
cache: enabled, doesn't support DPO or FUA
    747 [    4.596467]  sda: sda1 sda2 sda3 sda4<  sda5 sda6 sda7 sda8 sda9>
    748 [    4.674607] sd 2:0:0:0: [sda] Attached SCSI disk

And from sg_inq:

standard INQUIRY:
  PQual=0  Device_type=0  RMB=0  version=0x05  [SPC-3] [AERC=0]  [TrmTsk=0]  NormACA=0  HiSUP=0  Resp_data_format=2 SCCS=0  ACC=0  TPGS=0  3PC=0  Protect=0  BQue=0 EncServ=0  MultiP=0  [MChngr=0]  [ACKREQQ=0]  Addr16=0 [RelAdr=0]  WBus16=0  Sync=0  Linked=0  [TranDis=0]  CmdQue=0 [SPI: Clocking=0x0  QAS=0  IUS=0]
    length=96 (0x60)   Peripheral device type: disk Vendor identification: ATA
 Product identification: ST3500630AS
 Product revision level: 3.AA
 Unit serial number:             9QG14T5Z

Quoted 8 lines
Quoted 4 lines

But the second SATA (identical in type/model) is not detectable. Upon rebooting to my previous 2.6.31 kernel version, it became detected and usable - absolutely nothing else is touch.   So what is it in the latest kernel which is giving the problem?

We need more details, can you post the full boot log including the actual libata messages from the working and non-working kernels?

and the full bootlog is here (not in bugzilla submission) (timestamp removed for your easy comparison).

Signature · 2 lines
Regards,
Peter Teoh
author
#3 lore raw

problem resolved: the cause is due to the rootfs being 100% full,
and that (*i think*) result in udev not behaving properly when loading
all the devices. just by toggling between 100% full vs not full for
the rootfs, the /dev/sdb will become not detected vs detected.

Quoted 61 lines · Peter Teoh

thank you for the response.   the bug report i just raised is this:

http://bugzilla.kernel.org/show_bug.cgi?id=14319

and attachment is:

http://bugzilla.kernel.org/attachment.cgi?id=23255

Thanks.

Quoted 34 lines · Robert Hancock
Quoted 33 lines · Peter Teoh

I just built my 2.6.32-rc2 (from linus-git) yesterday, and repeated today again, starting from "make mrproper", and consistently both version cannot detect my /dev/sdb, which is the second SATA harddisk. The first SATA is detected as follows in dmesg:

    742 [    4.595949] scsi 2:0:0:0: Direct-Access     ATA ST3500630AS      3.AA PQ: 0 ANSI: 5
    743 [    4.596116] sd 2:0:0:0: [sda] 976773168 512-byte logical
blocks: (500 GB/465 GiB)
    744 [    4.596213] sd 2:0:0:0: [sda] Write Protect is off 745 [    4.596216] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00 746 [    4.596258] sd 2:0:0:0: [sda] Write cache: enabled, read
cache: enabled, doesn't support DPO or FUA
    747 [    4.596467]  sda: sda1 sda2 sda3 sda4<  sda5 sda6 sda7 sda8 sda9>
    748 [    4.674607] sd 2:0:0:0: [sda] Attached SCSI disk

And from sg_inq:

standard INQUIRY:
  PQual=0  Device_type=0  RMB=0  version=0x05  [SPC-3] [AERC=0]  [TrmTsk=0]  NormACA=0  HiSUP=0  Resp_data_format=2 SCCS=0  ACC=0  TPGS=0  3PC=0  Protect=0  BQue=0 EncServ=0  MultiP=0  [MChngr=0]  [ACKREQQ=0]  Addr16=0 [RelAdr=0]  WBus16=0  Sync=0  Linked=0  [TranDis=0]  CmdQue=0 [SPI: Clocking=0x0  QAS=0  IUS=0]
    length=96 (0x60)   Peripheral device type: disk Vendor identification: ATA
 Product identification: ST3500630AS
 Product revision level: 3.AA
 Unit serial number:             9QG14T5Z

Quoted 8 lines
Quoted 4 lines

But the second SATA (identical in type/model) is not detectable. Upon rebooting to my previous 2.6.31 kernel version, it became detected and usable - absolutely nothing else is touch.   So what is it in the latest kernel which is giving the problem?

We need more details, can you post the full boot log including the actual libata messages from the working and non-working kernels?

and the full bootlog is here (not in bugzilla submission) (timestamp removed for your easy comparison).

--
Regards,
Peter Teoh

Signature · 2 lines
Regards,
Peter Teoh