From owner-freebsd-stable@FreeBSD.ORG Mon May 30 12:57:10 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3A7316A41C for ; Mon, 30 May 2005 12:57:10 +0000 (GMT) (envelope-from ski@mediamatters.org) Received: from mail.mediamatters.org (mail.mediamatters.org [63.240.197.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A0D943D48 for ; Mon, 30 May 2005 12:57:10 +0000 (GMT) (envelope-from ski@mediamatters.org) Received: by mail.mediamatters.org (Postfix, from userid 33) id CA4C596C046; Mon, 30 May 2005 08:57:09 -0400 (EDT) Received: from 68.106.120.181 (SquirrelMail authenticated user ski); by mail.mediamatters.org with HTTP; Mon, 30 May 2005 08:57:09 -0400 (EDT) Message-ID: <4109.68.106.120.181.1117457829.squirrel@68.106.120.181> Date: Mon, 30 May 2005 08:57:09 -0400 (EDT) From: "Brian Szymanski" To: freebsd-stable@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: boot0/BIOS problem... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2005 12:57:10 -0000 Hi. I'm having a problem with boot0. All of my hard drives have the freebsd boot manager (aka boot0) installed so I can select which disk to boot off of (I have 4 hard disks, 2 of which have bootable slices). When I boot up, I can only boot to my /altroot partition. boot0 only lets me toggle through 3 drives - 2 nonbootables and my /altroot. For clarity, here's the layout: MoboATA (atapci2) -------ch1-(ata0)--> PATA HD 1 (ad0: non-bootable) \-ch2-(ata1)--> PATA HD 2 (ad2: non-bootable) PCIATA card (atapci0) ---ch1-(ata2)--> PATA DVD drive (acd0, would be ad4) \-ch2-(ata3)--> (empty) MoboSATA (atapci1) ------ch1-(ata4)--> SATA HD 1 (ad8: this should be /) \-ch2-(ata5)--> SATA HD 2 (ad10: /altroot ) Or the equivalent in dmesg-ese: atapci0: port 0xa800-0xa80f,0xb000-0xb003,0xb400-0xb407,0xb800-0xb803,0xd000-0xd007 mem 0xec000000-0xec0000ff irq 17 at device 14.0 on pci0 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 atapci1: port 0x8800-0x88ff,0x9000-0x900f,0x9400-0x9403,0x9800-0x9807,0xa000-0xa003,0xa400-0xa407 irq 20 at device 15.0 on pci0 ata4: channel #0 on atapci1 ata5: channel #1 on atapci1 atapci2: port 0x8400-0x840f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 ata0: channel #0 on atapci2 ata1: channel #1 on atapci2 ad0: 239372MB [486344/16/63] at ata0-master UDMA133 ad2: 239372MB [486344/16/63] at ata1-master UDMA133 acd0: DVDR at ata2-master UDMA33 ad8: 238475MB [484521/16/63] at ata4-master SATA150 ad10: 238418MB [484406/16/63] at ata5-master SATA150 If I reboot, and cycle through the available drives by repeatedly pressing F5, I can access all the Hard Drives except the one I want, namely the first SATA HD (ad8, which is master on ata4). This exact same setup used to work when I had a different PCIATA card attached to my DVD drive (namely, an iTE board which I had to patch the kernel to get it to recognize it - I now have an adaptec SiI 0680 UDMA133 controller). The iTE board was also detected as atapci0 and gave ata2 and ata3. Of course this is all irrelevant because we don't even get to the kernel. So I'm a bit stumped as to what the problem is here. Is it possible that boot0 is making some weird call to the bios to figure out what the list of bootable devices are, and that my bios is the one who's really confused about the new card? I'm running 5.3-p15 (can't go to 5.4, because I need vinum R5 to at least partially work! sigh...) Thanks in advance, Brian Szymanski Software and Systems Developer Media Matters for America ski@mediamatters.org