Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2002 02:04:06 -0500
From:      Alan Eldridge <alane@geeksrus.net>
To:        Mike Meyer <mwm-dated-1013323566.f9e499@mired.org>
Cc:        questions@freebsd.org
Subject:   Re: ATA_STATIC_IDS
Message-ID:  <20020205070406.GA93914@wwweasel.geeksrus.net>
In-Reply-To: <15455.32686.88737.631037@guru.mired.org>
References:  <91010086@toto.iv> <15455.32686.88737.631037@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 05, 2002 at 12:46:06AM -0600, Mike Meyer wrote:
>Alan Eldridge <alane@geeksrus.net> types:
>> Can anybody explain what the practical impact of not enabling ATA_STATIC_IDS
>> in the kernel is?
>> 
>> E.g., with static ids I have my / on ad4s1a. If I don't enable ATA_STATIC_IDS,
>> when I go to reboot the system, do I get an unbootable system, or one that just
>> can't fsck or mount anything once it boots? (I'd guess the answer is "yes"...)
>
>The answer is "it depends". If ATA_STATIC_IDS is enabled, the drives
>are numbered so that 0 is the primary master, 1 is the primary slave,
>2 is the secondary master, 3 is the secondary slave, and so
>on. Hmmm. Just how many IDE controllers do you have, anyway?

[alane ~]$ grep atapci /var/run/dmesg.boot
atapci0: <VIA 82C596 ATA66 controller> port 0xa000-0xa00f at device 7.1 on pci0
atapci1: <Promise ATA100 controller> port 0xc000-0xc03f,0xbc00-0xbc03,0xb800-0xb807,0xb400-0xb403,0xb000-0xb007 mem 0xdb000000-0xdb01ffff irq 11 at device 11.0
on pci0
ata2: at 0xb000 on atapci1
ata3: at 0xb800 on atapci1

1 disk (master) on each of ata2 (ad4) and ata3 (ad6). 
The onboard VIA ATA66 controller is disabled (both channels).

Bottom line seems to be that disabling ATA_STATIC_IDS is a Bad Idea most
of the time, from what you said (elided). Swapping on /usr? The horror ...

So let me ask this: why would you want to use dynamic ids? With vinum,
perhaps?

-- 
Alan Eldridge
No wonder people say Unix is confusing. You're supposed to fsck *before*
you mount?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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