Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2002 00:40:06 -0700 (PDT)
From:      Soeren Schmidt <sos@freebsd.dk>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/42228: BIOS drive 0x80 (on atapci0) is misnumbered ata2
Message-ID:  <200208310740.g7V7e6Lq047239@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/42228; it has been noted by GNATS.

From: Soeren Schmidt <sos@freebsd.dk>
To: Adrian Colley <aecolley@spamcop.net>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/42228: BIOS drive 0x80 (on atapci0) is misnumbered ata2
Date: Sat, 31 Aug 2002 09:34:41 +0200 (CEST)

 It seems Adrian Colley wrote:
 > 
 > >Number:         42228
 > >Category:       kern
 > >Synopsis:       BIOS drive 0x80 (on atapci0) is misnumbered ata2
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       low
 > >Responsible:    sos-bugs
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          change-request
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Fri Aug 30 14:40:03 PDT 2002
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Adrian Colley <aecolley@spamcop.net>
 > >Release:        FreeBSD 4.6.2-RELEASE i386
 > >Organization:
 > YKYBHTLW, Inc.
 > >Environment:
 > System: FreeBSD cornerstone.colley.ie 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Fri Aug 23 14:09:07 IST 2002 root@:/usr/obj/usr/src/sys/CORNERSTONE i386
 > 	The PCI class/subclass/progif of the RZ-1000 is "01-01-00"
 > 	(meaning IDE storage).  ata_pci_add_child
 > 	(/sys/dev/ata/ata-pci.c:342) reserves unit numbers 0 and 1
 > 	(i.e. ata0 & ata1) for "masterdev" devices.  Although I do
 > 	not completely understand the significance of "masterdev",
 > 	it appears to depend on certain bits in the progif byte of
 > 	the device's PCI configuration.  As the RZ-1000 reports 00
 > 	for progif, it fails the ATA_MASTERDEV test and is given
 > 	ata2.  Some attempt is made to allocate an interrupt for
 > 	ata2, but it fails (though this doesn't seem immediately
 > 	relevant).
 
 Could you somehow get the output from a verbose boot with a stock
 kernel please ?
 The solution is to use it as ata2+3, and just use ad4 as the
 main disk (I do this on several older machines, however none
 with the RZ1000 controllers). you could also remove the statuc
 device numbering which will make the disks start from ad0...
 
 -Søren

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




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