From owner-freebsd-stable Fri Sep 27 6:13:37 2002 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 9CDDD37B401 for ; Fri, 27 Sep 2002 06:13:35 -0700 (PDT) Received: from helios.earthmagic.org (helios.earthmagic.org [198.78.66.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 300C643E4A for ; Fri, 27 Sep 2002 06:13:35 -0700 (PDT) (envelope-from lonewolf@earthmagic.org) Received: (qmail 66943 invoked from network); 27 Sep 2002 13:13:29 -0000 Received: from ppp481.vic.padsl.internode.on.net (HELO Lara.earthmagic.org) (eo-lonewolf@150.101.209.224) by helios.earthmagic.org with DES-CBC3-SHA encrypted SMTP; 27 Sep 2002 13:13:29 -0000 Message-Id: <5.1.0.14.2.20020927225232.02942340@helios.earthmagic.org> X-Sender: eo-lonewolf@helios.earthmagic.org X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 27 Sep 2002 23:12:45 +1000 To: Russell Rice From: "J.'LoneWolf' Mattsson" Subject: Re: setrootbyname error upon install/upgrade Cc: FreeBSD-stable@FreeBSD.org In-Reply-To: <20020927124307.GA553@gopher.molecomputers.net> References: <5.1.0.14.2.20020927203357.02939900@helios.earthmagic.org> <20020927101811.GA270@gopher.molecomputers.net> <5.1.0.14.2.20020927203357.02939900@helios.earthmagic.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 08:43 27/09/2002 -0400, Russell Rice wrote: >In trying to find 'ad?' in the boot log, I can't. But 'ata?' is found in >two locations: > >Firstly: >atapci0: >port 0x3f4-0x3f7, 0x1f0-0xif7 at device 1.0 on pci0 >atapci0: Busmastering DMA not supported >atapci0: Busmastering DMA disabled >ata2: at 0x1f0 on atapci0 >ata2: unable to allocate interrupt >device_probe_and_attach: ata2 attach returned 6 > >and secondly: >ata1: at port 0x170-0x177,0x376 irq 15 on isa0 It looks like it doesn't find the first ide channel for some reason. (And it doesn't seem to think too highly of your controller either!) Actually, looking at the I/O range, it seems like it confuses the primary channel with the first channel on a secondary controller?? Comparing to a typical (i.e. my) output, you should see: atapci0: port 0xff00-0xff0f at device 2.5 on pci0 ata0: at 0x1f0 irq 14 on atapci0 <======= ata1: at 0x170 irq 15 on atapci0 ad0: 16124MB [32760/16/63] at ata0-master UDMA33 acd0: CDROM at ata1-master BIOSPIO I really don't know any good tricks to get you up and running (other than the non-helpful "get a better controller"). Maybe Soren could shed some light on this? Looking at the source it appears as though ATA_MASTER(dev) in ata_pci_add_child() isn't returning true as would be expected, and it therefore attempts to prod ata2 instead. Wild shot, have you tried coldbooting it? Perhaps it gets stuck in some funny state when doing a warm boot? I can't think of any good reason why it would work from the boot disk but not afterward... unless perhaps there is a timing issue involved, i.e. the drive doesn't become available in time or something equally silly. Maybe some knobs in your BIOS you can tweak to check that? Sorry for not being of more help on this one, but I can't say I've come across anything like this before! /Johny #-----------------------------------# . Johny Mattsson / \__/\ lonewolf@earthmagic.org /' , : http://www.earthmagic.org ; ( o o irc.sorcery.net:9000 as LoneWolf / , ~. \ Software Developer / Support Engineer / ( `- ..__" #-----------------------------------# ' /' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message