Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2007 08:18:39 +0200
From:      Rolf G Nielsen <lazlar@lazlarlyricon.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Installation problem
Message-ID:  <46AED43F.5090800@lazlarlyricon.com>
In-Reply-To: <200707310501.l6V51TFx014271@app.auscert.org.au>
References:  <200707310501.l6V51TFx014271@app.auscert.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------040700060404050205030401
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Joel Hatton wrote:
> On Mon, 30 Jul 2007 21:46:44 -0700, Garrett Cooper wrote:
>> Rakhesh is correct.
>>
>>    SATA / PATA drives show up under ad[m]s[n][l], where m is the disk =

>> number (zero based), n is the slice, aka partition number in the non-B=
SD=20
>> (/Solaris?) world, number (zero based), and l is the respective letter=
=20
>> for the partition (it can vary depending on the purpose, a being root,=
 b=20
>> slice, c all of the disk, [d-j?], other values / relevances.
>>    SCSI / SAS is almost exactly the same. The only difference is 'ad' =

>> is replace with 'da'.
>=20
> There is a difference between SATA and PATA in one respect (and I'm sur=
e
> I'll be corrected by a developer if my experience is unique). PATA driv=
es
> appear to be allocated ad0-3, SATA drives begin above that. So, ad4 can=

> (and may in this case) be the first and only fixed disk in the system.
> This was certainly the case with my last SATA system.
>=20
> cheers,
> joel
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd=
=2Eorg"
>=20
>=20
>=20

If there are PATA channels on the motherboard (which there are on most=20
motherboards, I believe) they're most likely the primary and secondary=20
ATA channels, making the SATA channels the third and above. If you have=20
the ATA_STATIC_ID option in the kernel, the SATA drives will then show=20
up ad ad4 and above, whether or not there are any PATA drives connected. =

With the ATA_STATIC_ID option the primary master is ad0, primary slave=20
is ad1 and so on, whether or not there are any drives connected. If you=20
remove the ATA_STATIC_ID option, the ATA drives (PATA and SATA) will be=20
assigned the lowest number not in use, so with no PATA drives connected, =

the first SATA drive will be ad0, the second one will be ad1 and so on.

This is my experience, but I'm not a developer, so there may be some=20
twists that I've missed, and if so, I'm sure someone will correct me. :)


--=20

V=C3=A4nligen / Sincerly,
Rolf Nielsen

--------------040700060404050205030401--



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