Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2005 09:58:58 -0800
From:      Richard Lee <ricky@CSUA.Berkeley.EDU>
To:        freebsd-stable@freebsd.org
Subject:   Second SATA drive not detected on 6.0-Release and 6.0-Stable.
Message-ID:  <20051113175858.GA20545@soda.csua.berkeley.edu>

next in thread | raw e-mail | index | archive | help
I have two SATA drives (ad4 and ad6 with static id), but the second one is
simply not detected in 6.0.

==========================================================================

Before, I was running RELENG_5.4 and was getting:

Nov  5 13:57:51 minawa kernel: atapci0: <SiS 964 UDMA133 controller> port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.5 on pci0
Nov  5 13:57:51 minawa kernel: ata0: channel #0 on atapci0
Nov  5 13:57:51 minawa kernel: ata1: channel #1 on atapci0
Nov  5 13:57:51 minawa kernel: atapci1: <SiS 964 SATA150 controller> port 0xb800-0xb80f,0xb400-0xb403,0xb000-0xb007,0xac00-0xac03,0xa800-0xa807 irq 17 at device 5.0 on pci0
Nov  5 13:57:51 minawa kernel: ata2: channel #0 on atapci1
Nov  5 13:57:51 minawa kernel: ata3: channel #1 on atapci1
Nov  5 13:57:51 minawa kernel: acd0: DVDR <NEC DVD RW ND-3540A/1.6W> at ata0-master UDMA33
Nov  5 13:57:51 minawa kernel: ad4: 76318MB <ST380817AS/3.42> [155058/16/63] at ata2-master SATA150
Nov  5 13:57:51 minawa kernel: ad6: 152627MB <ST3160827AS/3.42> [310101/16/63] at ata3-master SATA150
Nov  5 13:57:51 minawa kernel: cd0 at ata0 bus 0 target 0 lun 0

After the upgrade, I get:

Nov 13 05:17:14 minawa kernel: atapci0: <SiS 964 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 2.5 on pci0
Nov 13 05:17:14 minawa kernel: ata0: <ATA channel 0> on atapci0
Nov 13 05:17:14 minawa kernel: ata1: <ATA channel 1> on atapci0
Nov 13 05:17:14 minawa kernel: atapci1: <SiS 180 SATA150 controller> port 0xa800-0xa807,0xac00-0xac03,0xb000-0xb007,0xb400-0xb403,0xb800-0xb80f,0xbc00-0xbc7f irq 17 at device 5.0 on pci0
Nov 13 05:17:14 minawa kernel: ata2: <ATA channel 0> on atapci1
Nov 13 05:17:14 minawa kernel: ata3: <ATA channel 1> on atapci1
Nov 13 05:17:14 minawa kernel: acd0: DVDR <NEC DVD RW ND-3540A/1.6W> at ata0-master UDMA33
Nov 13 05:17:14 minawa kernel: ad4: 76318MB <Seagate ST380817AS 3.42> at ata2-master SATA150
Nov 13 05:17:14 minawa kernel: cd0 at ata0 bus 0 target 0 lun 0

# atacontrol info ata2
Master:  ad4 <ST380817AS/3.42> Serial ATA v1.0
Slave:       no device present

# atacontrol info ata3
Master:      no device present             <========= SHOULD BE HERE!
Slave:       no device present

==========================================================================

When I swapped the drive connections, it still only detected whatever is
connected to ata2, but not to ata3.  Windows sees both just fine, so does
the 5.4-Release CD-ROM.  I'm sure there's nothing wrong with the hardware.

I even downloaded 6.0R ISO image and booted, and there too, the second disk is
not detected.  I tried disabling ATA_STATIC_ID, which causes ad4 to become
ad0, but no other effect.  I have no IDE hard drives, only two SATA drives.  I
don't consider this set up to be anything unusual: Giga-Byte GA-K8S760M
(SIS760/964) with 2GB memory, Sempron64 1.8GHz 256kL2.  No RAID (BIOS setting
for RAID/Non-RAID didn't make any difference, either).

I also tried 6.0-Stable (2005-11-12) and it's the same problem.

--rich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051113175858.GA20545>