Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 May 2011 09:03:05 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        krad <kraduk@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: I am very confused and would appreciate some help on device renameing or on renumbering on current fstab.
Message-ID:  <BANLkTi=Gb8fA6_ABE5GMTCKEvvXQkEd6KQ@mail.gmail.com>
In-Reply-To: <BANLkTimp3gfShVbB7bHMiFVeyxQVP4tfng@mail.gmail.com>
References:  <BANLkTi=C9BZLn2J7=t1_dq1cwgcRa0JWNA@mail.gmail.com> <201105030759.09518.jhb@freebsd.org> <BANLkTinMWO5uhoiYOHYJ_1C8dnXFDbqL%2BQ@mail.gmail.com> <201105031002.36612.jhb@freebsd.org> <BANLkTin5UHkuEyQt7bFRNbrVwfebXvA7Cg@mail.gmail.com> <20110504031312.GA78390@DataIX.net> <BANLkTimp3gfShVbB7bHMiFVeyxQVP4tfng@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 4, 2011 at 8:16 AM, krad <kraduk@gmail.com> wrote:
> On 4 May 2011 04:13, Jason Hellenthal <jhell@dataix.net> wrote:
>> Edwin,
>>
>> >>> >> =C2=A0/dev/acd0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/=
cdrom =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0cd9660 =C2=A0ro,noauto =C2=A0 =C2=
=A0 =C2=A0 0
>> =C2=A0 =C2=A0 0
>> >>> >> =C2=A0/dev/acd1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/=
cdrom1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cd9660 =C2=A0ro,noauto =C2=A0 =C2=A0 =C2=
=A0 0
>> =C2=A0 =C2=A0 0
>>
>> As a side note. These are also now useless & can be sent to /dev/null fo=
r
>> extra padding ;)
>>
>> Shouldn't cause no harm being there but just for reference.
>>
> Just a sanity check here people, but if the machine was built with freebs=
d
> 6.x i would guess it machine is a few years old. If so i doubt the hardwa=
re
> would support ahci, and therefore wouldn't have the ada type devices, it
> would have the old ad style ata ones and therefore noe fstab twiddling
> should be necessary.
>
> Forgive me if im missing something here.

If you enable "options ATA_CAM" in the kernel, which uses the old
ata(4) driver via some cam(4) shims, then you also get the adaX device
nodes.

There's currently 4 ways to access PATA/SATA disks:
  - old-style ata(4) using adX device nodes
  - old-style ata(4) using ataahci(4) for ACHI-like access to
PATA/SATA disks, I believe using adX
  - old-style ata(4) via ATA_CAM using adaX device nodes
  - new-style ahci(4)/siis(4)/another(4) using adaX device nodes

I forget the name of the other AHCI-style driver.

The first two options uses atacontrol to manage the disks.  The last
two options use camcontrol to manage the disks.

I believe the plan in 9.0 is to have everything accessed via
ATA_CAM/ahci(4) so all PATA/SATA drives show up the same, as adaX,
with everything being managed via camcontrol, finally unifying all
PATA/SATA/SCSI/SAS disk access via cam(4).

--=20
Freddie Cash
fjwcash@gmail.com



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