Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2011 13:56:41 -0400
From:      Arnaud Lacombe <lacombar@gmail.com>
To:        eculp <eculp@encontacto.net>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Totally confused with the /usrsrc/UPDATING for 20110424 CAM-based ATA stack
Message-ID:  <BANLkTin7ff_5kbj5hD8=J4Ygna0VwPfFmw@mail.gmail.com>
In-Reply-To: <20110502192852.18002gkkic9fy44k@econet.encontacto.net>
References:  <20110502192852.18002gkkic9fy44k@econet.encontacto.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Mon, May 2, 2011 at 8:28 PM, eculp <eculp@encontacto.net> wrote:
> With this confusion I need someone to give me an idea on renumbering.
>
> I have two disks on this old machine that I have keep current sin FreeBSD=
 6
> IIRC as preparation for all the new goodies but this really bit me in the
> morning with a generic kernel and had a heck of a time getting it up.
>
> I have a new kernel with the new options.
> =A0 =A0 =A0 =A0 =A0 =A0options =A0 =A0 =A0 =A0ATA_CAM
> =A0 =A0 =A0 =A0 =A0 =A0device =A0 =A0 =A0 =A0 ahci
> =A0 =A0 =A0 =A0 =A0 =A0device =A0 =A0 =A0 =A0 mvs
> =A0 =A0 =A0 =A0 =A0 =A0device =A0 =A0 =A0 =A0 siis
>
I've got the following in my stripped down GENERIC:

# ATA controllers
device          ahci            # AHCI-compatible SATA controllers
device          ata             # Legacy ATA/SATA controllers
options         ATA_CAM         # Handle legacy controllers with CAM

# ATA/SCSI peripherals
device          scbus           # SCSI bus (required for ATA/SCSI)
device          da              # Direct Access (disks)
device          pass            # Passthrough device (direct ATA/SCSI acces=
s)

I'm able to boot from CF on a couple of different machine. It would
seem that without:

device          ata             # Legacy ATA/SATA controllers

the disk is not detected. With, the disk shows up as:

ada0 at ata3 bus 0 scbus1 target 0 lun 0
ada0: < 20070709> ATA-0 device
ada0: 16.700MB/s transfers (WDMA2, PIO 512bytes)
ada0: 967MB (1981728 512 byte sectors: 16H 63S/T 1966C)
ada0: Previously was known as ad0

and I did not need any /etc/fstab modification.

my .2 credits,
 - Arnaud

> This =A0morning was such a shock that I am tempted to go back to the old
> kernel config that I understand still works but gonna try to bite the
> bullit.
>
> My fstab that I assume is still necessary is:
>
> =A0/dev/ad4s1b =A0 =A0 =A0 =A0 =A0 =A0none =A0 =A0 =A0 =A0 =A0 =A0swap =
=A0 =A0sw =A0 =A0 =A0 =A0 =A0 =A0 =A00 =A0 =A0 =A0 0
> =A0/dev/ad4s1a =A0 =A0 =A0 =A0 =A0 =A0/ =A0 =A0 =A0 =A0 =A0 =A0 =A0 ufs =
=A0 =A0 rw =A0 =A0 =A0 =A0 =A0 =A0 =A01 =A0 =A0 =A0 1
> =A0/dev/ad4s2g =A0 =A0 =A0 =A0 =A0 =A0/backup =A0 =A0 =A0 =A0 ufs =A0 =A0=
 rw =A0 =A0 =A0 =A0 =A0 =A0 =A02 =A0 =A0 =A0 2
> =A0/dev/ad4s1g =A0 =A0 =A0 =A0 =A0 =A0/home =A0 =A0 =A0 =A0 =A0 ufs =A0 =
=A0 rw =A0 =A0 =A0 =A0 =A0 =A0 =A02 =A0 =A0 =A0 2
> =A0/dev/ad4s2f =A0 =A0 =A0 =A0 =A0 =A0/release =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0ufs =A0 =A0 rw =A0 =A0 =A0 =A0 =A0 =A0 =A02
> =A0 =A0 2
> =A0/dev/ad4s2d =A0 =A0 =A0 =A0 =A0 =A0/tmp =A0 =A0 =A0 =A0 =A0 =A0ufs =A0=
 =A0 rw =A0 =A0 =A0 =A0 =A0 =A0 =A02 =A0 =A0 =A0 2
> =A0/dev/ad4s1e =A0 =A0 =A0 =A0 =A0 =A0/usr =A0 =A0 =A0 =A0 =A0 =A0ufs =A0=
 =A0 rw =A0 =A0 =A0 =A0 =A0 =A0 =A02 =A0 =A0 =A0 2
> =A0/dev/ad4s1h =A0 =A0 =A0 =A0 =A0 =A0/usr/local =A0 =A0 =A0 =A0 =A0 =A0 =
=A0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=A0 =A0 =A0 =A0 =A0 =A0 =A02 =A0 =A0 =A0 2
> /dev/ad0s1e =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/new/usr =A0 =A0 =A0 =A0ufs =
=A0 =A0 rw =A0 =A0 =A0 =A0 =A0 =A0 =A02 =A0 =A0 =A0 2
> /dev/ada01h =A0 =A0 =A0 =A0 =A0/new/usr/local =A0ufs =A0 =A0 rw =A0 =A0 =
=A0 =A0 =A0 =A0 =A02 =A0 =A0 =A0 2
> /dev/ada01f =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/new/var =A0 =A0 =A0 =A0ufs =
=A0 =A0 rw =A0 =A0 =A0 =A0 =A0 =A0 =A02 =A0 =A0 =A0 2
>
> I am totally confused on how these should now be.
>
> Any help appreciated.
>
> ed
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"
>



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