Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 533093

Summary: Certain newer WDC SATA drives identified as SEMB
Product: Red Hat Enterprise Linux 5 Reporter: Mike <logan+redhat-bugzilla>
Component: kernelAssignee: David Milburn <dmilburn>
Status: CLOSED ERRATA QA Contact: Gris Ge <fge>
Severity: medium Docs Contact:
Priority: low    
Version: 5.4CC: cward, dmilburn, fge, ohudlick, qcai, tao, wmealing
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/257790
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-13 20:54:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 677384    
Attachments:
Description Flags
dmesg
none
hotswap dmesg from 2.6.18-200.el5PAE none

Description Mike 2009-11-04 23:15:23 UTC
Description of problem:
It seems that certain WDC hard drives produced in 2009 have a different device identifier that the kernel sees as an SEMB device, causing it to be ignored by the system. The kernel sees something on the port, but prints "ata: SEMB device ignored" and the drive never shows up.

I bought two WD2500AAJS drives this year, one in June and the other a few days ago. The one from June has a model number of WD2500AAJS-00L7A0 and the newest drive is WD2500AAJS-62B4A0. The 00L7A0 works fine.

Version-Release number of selected component (if applicable):
kernel-2.6.18-164.el5

How reproducible:
Every time I try to boot.

Steps to Reproduce:
1. Attempt to install or boot with a WD2500AAJS-62B4A0 or similar drive
  
Actual results:
ata: SEMB device ignored

Expected results:
The drive shows up and is available to the system

Additional info:
The drive shows up in the BIOS, but installer only showed one available drive in the system. After a bit of searching, I found a matching bug report on launchpad <https://bugs.launchpad.net/ubuntu/+source/linux/+bug/257790> with additional information and patches that are now in mainline 2.6.30.

Comment 1 David Milburn 2010-03-17 15:15:49 UTC
Would you please boot the kernel-2.6.18-191.el5.bz533093.1 test kernel and
see if your WDC drive is recognized? Thanks.

http://people.redhat.com/dmilburn/.bz533093/

Comment 2 Mike 2010-03-18 17:44:20 UTC
Yep, it works now:

Linux version 2.6.18-191.el5.bz533093.1 (mockbuild.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Tue Mar 16 18:19:17 EDT 2010

ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 6 ports 3 Gbps 0x3f impl SATA mode
ahci 0000:00:1f.2: flags: 64bit ncq pm led pmp slum part

ata2: SATA max UDMA/133 abar m1024@0xdf500400 port 0xdf500580 irq 233

ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-8: WDC WD2500AAJS-62B4A0, 03.03A01, max UDMA/133
ata2.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133

  Vendor: ATA       Model: WDC WD2500AAJS-6  Rev: 03.0
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
 sdb: unknown partition table
sd 1:0:0:0: Attached scsi disk sdb

I did some basic things like partition the disk and run a quick smart self-test without any problems.

Thanks

Comment 3 Mike 2010-03-18 17:45:19 UTC
Created attachment 401092 [details]
dmesg

The whole dmesg output.

Comment 7 Chris Ward 2010-05-17 12:24:05 UTC
@Mike, 

once we have bits available, would you be able to test to verify our updated packages fix the issue?

Comment 8 Mike 2010-05-17 18:31:25 UTC
Yep, I should be able to test.

Comment 9 RHEL Program Management 2010-05-20 12:42:59 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 11 Jarod Wilson 2010-05-25 21:10:32 UTC
in kernel-2.6.18-200.el5
You can download this test kernel from http://people.redhat.com/jwilson/el5

Detailed testing feedback is always welcomed.

Comment 12 Mike 2010-05-25 22:49:29 UTC
Created attachment 416581 [details]
hotswap dmesg from 2.6.18-200.el5PAE

I installed kernel-PAE-2.6.18-200.el5.i686.rpm on CentOS 5.5 and it looks good:

# hotswap with 2.6.18-194.3.1.el5PAE
ata4: exception Emask 0x10 SAct 0x0 SErr 0x4050000 action 0xe frozen
ata4: irq_stat 0x00000040, connection status changed
ata4: SError: { PHYRdyChg CommWake DevExch }
ata4: hard resetting link
ata4: link is slow to respond, please be patient (ready=0)
ata: SEMB device ignored
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4: EH complete

# hotswap with 2.6.18-200.el5PAE
ata4: exception Emask 0x10 SAct 0x0 SErr 0x4050000 action 0xe frozen
ata4: irq_stat 0x00000040, connection status changed
ata4: SError: { PHYRdyChg CommWake DevExch }
ata4: hard resetting link
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.00: ATA-8: WDC WD2500AAJS-62B4A0, 03.03A01, max UDMA/133
ata4.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata4.00: configured for UDMA/133
ata4: EH complete
  Vendor: ATA       Model: WDC WD2500AAJS-6  Rev: 03.0
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sdd: 488397168 512-byte hdwr sectors (250059 MB)
sdd: Write Protect is off
sdd: Mode Sense: 00 3a 00 00
SCSI device sdd: drive cache: write back
SCSI device sdd: 488397168 512-byte hdwr sectors (250059 MB)
sdd: Write Protect is off
sdd: Mode Sense: 00 3a 00 00
SCSI device sdd: drive cache: write back
 sdd: sdd1
sd 3:0:0:0: Attached scsi disk sdd
sd 3:0:0:0: Attached scsi generic sg3 type 0

Comment 17 Wade Mealing 2010-07-28 02:23:55 UTC
Disks detected correctly in 2.6.18-200

Looks good.

Comment 19 Gris Ge 2010-12-08 08:03:03 UTC
Cannot found this kind of WDC disk.

Patch linux-2.6-ata-libata-handle-semb-signature.patch found in kernel-2.6.18-233.el5.

Set as Sanity Only.

Comment 21 errata-xmlrpc 2011-01-13 20:54:39 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0017.html