Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2013 20:36:16 -0700 (PDT)
From:      Casey Scott <casey@scottmail.org>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ATA drive ID differences between kernels
Message-ID:  <640848482.387.1382153776544.JavaMail.root@phantombsd.org>
In-Reply-To: <20131018072328.6267d3a8.freebsd@edvax.de>
References:  <1712475983.350.1382053431300.JavaMail.root@phantombsd.org> <251840039.356.1382053725512.JavaMail.root@phantombsd.org> <20131018072328.6267d3a8.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Labels solved my problem. Thanks!  I also tried removing ata & atadisk, but the drives weren't detected. 

For posterity's sake, following these 2 links provided the info I needed for labeling:
http://www5.us.freebsd.org/doc/handbook/geom-glabel.html
http://www.wonkity.com/~wblock/docs/html/disksetup.html

Thanks again.

-Casey

----- Original Message -----
> On Thu, 17 Oct 2013 16:48:45 -0700 (PDT), Casey Scott wrote:
> > I recently installed 9.2 on a server that was running 8.3.
> > The problem I'm facing is that the GENERIC and my custom
> > kernel ID drives differently:
> > 
> > e.g.       GENERIC   CUSTOM
> > drive 1    ada1      ada6
> > drive 2    ada2      ada7
> > drive 3    ada3      ada8
> > 
> > 
> > The result of which is a error code 19 at mountroot.
> 
> This is a _perfect_ situation to start using labels. :-)
> 
> http://www.wonkity.com/~wblock/docs/html/disksetup.html
> 
> 
> 
> > I've been through UPDATING, NOTES, Google, forums, etc. and
> > can't determine what's missing from my custom kernel.  Custom
> > kernel config below:
> 
> Just a guess: The kernel enumerates the devices as they come
> up (presented by "the hardware"). There are "reserved number
> ranges" according to what the storage controller _can_ offer,
> even if it's not the case.
> 
> Example from my home system:
> 
> ad0 = ATA, primary master
> ad1 = ATA, primary slave
> ad2 = ATA, secondary master
> ad3 = ATA, secondary slave
> ad4 = SATA 1st port
> ad6 = SATA 2nd port
> 
> If I'd remove the support for the (ordinary) ata devices,
> it would maybe be possible that the numbering scheme changes.
> I'm not sure in how far AHCI (because of SATA) fits in here.
> The SATA drives could then be ada0 and ada1, or ada4 and ada6
> respectively.
> 
> I could imagine you're experiencing something similar...
> 
> 
> 
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
> 



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