From jin@eubie.lbl.gov  Mon Jun 17 17:28:23 2002
Return-Path: <jin@eubie.lbl.gov>
Received: from eubie.lbl.gov (eubie.lbl.gov [131.243.2.36])
	by hub.freebsd.org (Postfix) with ESMTP id 3A39937B428
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Jun 2002 17:28:22 -0700 (PDT)
Received: from eubie.lbl.gov (localhost [127.0.0.1])
	by eubie.lbl.gov (8.12.3/8.12.3) with ESMTP id g5I0SLY2000796
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Jun 2002 17:28:21 -0700 (PDT)
	(envelope-from jin@eubie.lbl.gov)
Received: (from jin@localhost)
	by eubie.lbl.gov (8.12.3/8.12.3/Submit) id g5I0SLYm000795;
	Mon, 17 Jun 2002 17:28:21 -0700 (PDT)
Message-Id: <200206180028.g5I0SLYm000795@eubie.lbl.gov>
Date: Mon, 17 Jun 2002 17:28:21 -0700 (PDT)
From: Jin Guojun (DSD staff) <jin@eubie.lbl.gov>
Reply-To: j_guojun@lbl.gov
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: wierd ata status
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         39449
>Category:       kern
>Synopsis:       wierd ata status
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 17 17:30:01 PDT 2002
>Closed-Date:    Mon Aug 19 12:20:08 PDT 2002
>Last-Modified:  Mon Aug 19 13:00:06 PDT 2002
>Originator:     Jin Guojun (DSD staff)
>Release:        FreeBSD 4.6-RELEASE i386
>Organization:
>Environment:


	FreeBSD 4.6-RELEASE only

>Description:

cat /sys/i386/config/USER_CONFIG
...
# ATA and ATAPI devices
device          ata0    at isa? port IO_WD1 irq 14
#device         ata1    at isa? port IO_WD2 irq 15
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
device          atapifd                 # ATAPI floppy drives
device          atapist                 # ATAPI tape drives
options         ATA_STATIC_ID           #Static device numbering
...


IDE controller 1 has been disabled at both BIOS and kernel configuration,
and kernel config says:
	config> di ata1
	No such device: ata1

but ata1 still shows up during the boot.
What is the real story -- is ata1 really configured or not?

config> di ata1
No such device: ata1
Invalid command or syntax.  Type `?' for help.
config> q
avail memory = 125730816 (122784K bytes)
Preloaded elf kernel "kernel" at 0xc04c5000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc04c509c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 5 entries at 0xc00f0d10
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0

>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:

From: "Crist J. Clark" <crist.clark@attbi.com>
To: j_guojun@lbl.gov
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/39449: wierd ata status
Date: Mon, 17 Jun 2002 21:46:53 -0700

 On Mon, Jun 17, 2002 at 05:28:21PM -0700, Jin Guojun wrote:
 [snip]
 
 > cat /sys/i386/config/USER_CONFIG
 > ...
 > # ATA and ATAPI devices
 > device          ata0    at isa? port IO_WD1 irq 14
 > #device         ata1    at isa? port IO_WD2 irq 15
                              ^^^
 This is for an ISA device.
 
 > device          ata
 
 This enables the PCI probe for ata(4) devices.
 
 > device          atadisk                 # ATA disk drives
 > device          atapicd                 # ATAPI CDROM drives
 > device          atapifd                 # ATAPI floppy drives
 > device          atapist                 # ATAPI tape drives
 > options         ATA_STATIC_ID           #Static device numbering
 > ...
 > 
 > 
 > IDE controller 1 has been disabled at both BIOS and kernel configuration,
 > and kernel config says:
 > 	config> di ata1
 > 	No such device: ata1
 
 Again, this only will enable and disable ISA devices.
 
 > but ata1 still shows up during the boot.
 > What is the real story -- is ata1 really configured or not?
 > 
 > config> di ata1
 > No such device: ata1
 > Invalid command or syntax.  Type `?' for help.
 > config> q
 > avail memory = 125730816 (122784K bytes)
 > Preloaded elf kernel "kernel" at 0xc04c5000.
 > Preloaded userconfig_script "/boot/kernel.conf" at 0xc04c509c.
 > Pentium Pro MTRR support enabled
 > md0: Malloc disk
 > Using $PIR table, 5 entries at 0xc00f0d10
 > npx0: <math processor> on motherboard
 > npx0: INT 16 interface
 > pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
 > pci0: <PCI bus> on pcib0
 > pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 > pci1: <PCI bus> on pcib1
 > isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
 > isa0: <ISA bus> on isab0
 > atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
 
 And your ata1 is a PCI device.
 
 > ata0: at 0x1f0 irq 14 on atapci0
 > ata1: at 0x170 irq 15 on atapci0
 
 Is there a reason you want do disable it? You might want to drop the,
 
   device 	ata
 
 Line. But I'm not at all 100% on that.
 -- 
 Crist J. Clark                     |     cjclark@alum.mit.edu
                                    |     cjclark@jhu.edu
 http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

From: Soeren Schmidt <sos@freebsd.dk>
To: j_guojun@lbl.gov
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/39449: wierd ata status
Date: Tue, 18 Jun 2002 08:37:06 +0200 (CEST)

 It seems Jin Guojun wrote:
 > 
 > IDE controller 1 has been disabled at both BIOS and kernel configuration,
 > and kernel config says:
 > 	config> di ata1
 > 	No such device: ata1
 
 You cant disable PCI devices here, only ISA devices..
 
 > but ata1 still shows up during the boot.
 > What is the real story -- is ata1 really configured or not?
 
 It is configured if the HW is present, which it almost always will
 be on most modern systems. This is needed for the hotswap functionality,
 as you need access to the controller to be able to attach a new device.
 
 -Sren

From: "Jin Guojun[DSD]" <j_guojun@lbl.gov>
To: "Crist J. Clark" <cjc@FreeBSD.ORG>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/39449: wierd ata status
Date: Tue, 18 Jun 2002 14:24:54 -0700

 "Crist J. Clark" wrote:
 > 
 > On Mon, Jun 17, 2002 at 05:28:21PM -0700, Jin Guojun wrote:
 > [snip]
 > 
 > > cat /sys/i386/config/USER_CONFIG
 > > ...
 > > # ATA and ATAPI devices
 > > device          ata0    at isa? port IO_WD1 irq 14
 > > #device         ata1    at isa? port IO_WD2 irq 15
 >                              ^^^
 > This is for an ISA device.
 > 
 > > device          ata
 > 
 > This enables the PCI probe for ata(4) devices.
 >
 > > device          atadisk                 # ATA disk drives
 > > device          atapicd                 # ATAPI CDROM drives
 > > device          atapifd                 # ATAPI floppy drives
 > > device          atapist                 # ATAPI tape drives
 > > options         ATA_STATIC_ID           #Static device numbering
 > > ...
 
 Above configuration has been used in 4.5, and ata1 can be disabled 
 under 4.5-RELEASE. Do you mean that 4.5-RELEASE was incorrect?
 
 > >
 > > IDE controller 1 has been disabled at both BIOS and kernel configuration,
 > > and kernel config says:
 > >       config> di ata1
 > >       No such device: ata1
 > 
 > Again, this only will enable and disable ISA devices.
 > 
 > > but ata1 still shows up during the boot.
 > > What is the real story -- is ata1 really configured or not?
 > >
 > > config> di ata1
 > > No such device: ata1
 > > Invalid command or syntax.  Type `?' for help.
 > > config> q
 > > avail memory = 125730816 (122784K bytes)
 > > Preloaded elf kernel "kernel" at 0xc04c5000.
 > > Preloaded userconfig_script "/boot/kernel.conf" at 0xc04c509c.
 > > Pentium Pro MTRR support enabled
 > > md0: Malloc disk
 > > Using $PIR table, 5 entries at 0xc00f0d10
 > > npx0: <math processor> on motherboard
 > > npx0: INT 16 interface
 > > pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
 > > pci0: <PCI bus> on pcib0
 > > pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 > > pci1: <PCI bus> on pcib1
 > > isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
 > > isa0: <ISA bus> on isab0
 > > atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
 > 
 > And your ata1 is a PCI device.
 > 
 > > ata0: at 0x1f0 irq 14 on atapci0
 > > ata1: at 0x170 irq 15 on atapci0
 > 
 > Is there a reason you want do disable it? You might want to drop the,
 
 Because of no use. An 80GB IDE disk + an IDE CD drive only need on IDE bus.
 I really need an extra IRQ for something else.
 
 >   device        ata
 > 
 > Line. But I'm not at all 100% on that.
 
 This will disbale all IDE controllers completely. Any other way to just
 disable one IDE controller?
 
 > --
 > Crist J. Clark                     |     cjclark@alum.mit.edu
 >                                    |     cjclark@jhu.edu
 > http://people.freebsd.org/~cjc/    |     cjc@freebsd.org
 
 -- 
 ------------ Jin Guojun ----------- v --- j_guojun@lbl.gov ---
 Distributed Systems Department		http://www.itg.lbl.gov/~jin
 M/S 50B-2239				Ph#:(510) 486-7531 Fax: 486-6363
 Lawrence Berkeley National Laboratory,	Berkeley, CA 94720

From: "Jin Guojun[DSD]" <j_guojun@lbl.gov>
To: sos@freebsd.dk
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/39449: wierd ata status
Date: Tue, 18 Jun 2002 14:52:46 -0700

 Soeren Schmidt wrote:
 > 
 > It seems Jin Guojun wrote:
 > >
 > > IDE controller 1 has been disabled at both BIOS and kernel configuration,
 > > and kernel config says:
 > >       config> di ata1
 > >       No such device: ata1
 > 
 > You cant disable PCI devices here, only ISA devices..
 
 I believe that 4.5-RELEASE or earlier FreeBSD releases do this,
 so we can use the IRQ 15 for another NIC.
 
 > > but ata1 still shows up during the boot.
 > > What is the real story -- is ata1 really configured or not?
 > 
 > It is configured if the HW is present, which it almost always will
 > be on most modern systems. This is needed for the hotswap functionality,
 > as you need access to the controller to be able to attach a new device.
 
 Not clear what you imply to hotswap. It seems to me, the hotswap is
 meaningful to external devices, typically SCSI or RAID, but not an
 internal onboard IDE controller with only two devices can be attached.
 
 > -Sren
 
 -- 
 ------------ Jin Guojun ----------- v --- j_guojun@lbl.gov ---
 Distributed Systems Department		http://www.itg.lbl.gov/~jin
 M/S 50B-2239				Ph#:(510) 486-7531 Fax: 486-6363
 Lawrence Berkeley National Laboratory,	Berkeley, CA 94720

From: "Crist J. Clark" <crist.clark@attbi.com>
To: "Jin Guojun[DSD]" <j_guojun@lbl.gov>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/39449: wierd ata status
Date: Tue, 18 Jun 2002 15:05:01 -0700

 On Tue, Jun 18, 2002 at 02:24:54PM -0700, Jin Guojun[DSD] wrote:
 > "Crist J. Clark" wrote:
 > > 
 > > On Mon, Jun 17, 2002 at 05:28:21PM -0700, Jin Guojun wrote:
 > > [snip]
 > > 
 > > > cat /sys/i386/config/USER_CONFIG
 > > > ...
 > > > # ATA and ATAPI devices
 > > > device          ata0    at isa? port IO_WD1 irq 14
 > > > #device         ata1    at isa? port IO_WD2 irq 15
 > >                              ^^^
 > > This is for an ISA device.
 > > 
 > > > device          ata
 > > 
 > > This enables the PCI probe for ata(4) devices.
 > >
 > > > device          atadisk                 # ATA disk drives
 > > > device          atapicd                 # ATAPI CDROM drives
 > > > device          atapifd                 # ATAPI floppy drives
 > > > device          atapist                 # ATAPI tape drives
 > > > options         ATA_STATIC_ID           #Static device numbering
 > > > ...
 > 
 > Above configuration has been used in 4.5, and ata1 can be disabled 
 > under 4.5-RELEASE. Do you mean that 4.5-RELEASE was incorrect?
 
 I don't want to say that I don't believe you, but I don't believe
 you. I've used a bare,
 
   device	ata
 
 And no 'ata0 at isa? ...' lines on systems with PCI ATA controllers
 for several releases now, and they've been detected fine.
 
 See Soren's response which basically says the same thing.
 -- 
 Crist J. Clark                     |     cjclark@alum.mit.edu
                                    |     cjclark@jhu.edu
 http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

From: "Jin Guojun[DSD]" <j_guojun@lbl.gov>
To: cjclark@alum.mit.edu
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/39449: wierd ata status
Date: Tue, 18 Jun 2002 15:39:15 -0700

 "Crist J. Clark" wrote:
 > 
 > On Tue, Jun 18, 2002 at 02:24:54PM -0700, Jin Guojun[DSD] wrote:
 > > "Crist J. Clark" wrote:
 > > >
 > > > On Mon, Jun 17, 2002 at 05:28:21PM -0700, Jin Guojun wrote:
 > > > [snip]
 > > >
 > > > > cat /sys/i386/config/USER_CONFIG
 > > > > ...
 > > > > # ATA and ATAPI devices
 > > > > device          ata0    at isa? port IO_WD1 irq 14
 > > > > #device         ata1    at isa? port IO_WD2 irq 15
 > > >                              ^^^
 > > > This is for an ISA device.
 > > >
 > > > > device          ata
 > > >
 > > > This enables the PCI probe for ata(4) devices.
 > > >
 > > > > device          atadisk                 # ATA disk drives
 > > > > device          atapicd                 # ATAPI CDROM drives
 > > > > device          atapifd                 # ATAPI floppy drives
 > > > > device          atapist                 # ATAPI tape drives
 > > > > options         ATA_STATIC_ID           #Static device numbering
 > > > > ...
 > >
 > > Above configuration has been used in 4.5, and ata1 can be disabled
 > > under 4.5-RELEASE. Do you mean that 4.5-RELEASE was incorrect?
 > 
 > I don't want to say that I don't believe you, but I don't believe
 > you. I've used a bare,
 > 
 >   device        ata
 > 
 > And no 'ata0 at isa? ...' lines on systems with PCI ATA controllers
 > for several releases now, and they've been detected fine.
 
 What you do not believe -- disbale ata1 on 4.5? Can you make things clear?
 I can create you an account on 4.5 if you want to play. Below is the dmesg
 from 4.5-RELEASE, and there is no ata1 configured.
 
 FreeBSD 4.5-RELEASE #0: Wed Mar  6 17:43:26 PST 2002
     root@freebsd.lbl.gov:/usr/src/sys/compile/MinMax
 Timecounter "i8254"  frequency 1193182 Hz
 CPU: Pentium III/Pentium III Xeon/Celeron (463.55-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x672  Stepping = 2
  
 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 real memory  = 268423168 (262132K bytes)
 avail memory = 256544768 (250532K bytes)
 Preloaded elf kernel "kernel" at 0xc048d000.
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 Using $PIR table, 8 entries at 0xc00f0d10
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
 pci0: <PCI bus> on pcib0
 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 pci1: <PCI bus> on pcib1
 pci1: <VGA-compatible display device> at 0.0 irq 11
 isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 12 at
 device 4.2 on pci0
 usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
 
 
 > See Soren's response which basically says the same thing.
 > --
 > Crist J. Clark                     |     cjclark@alum.mit.edu
 >                                    |     cjclark@jhu.edu
 > http://people.freebsd.org/~cjc/    |     cjc@freebsd.org
 
 -- 
 ------------ Jin Guojun ----------- v --- j_guojun@lbl.gov ---
 Distributed Systems Department		http://www.itg.lbl.gov/~jin
 M/S 50B-2239				Ph#:(510) 486-7531 Fax: 486-6363
 Lawrence Berkeley National Laboratory,	Berkeley, CA 94720

From: "Crist J. Clark" <crist.clark@attbi.com>
To: "Jin Guojun[DSD]" <j_guojun@lbl.gov>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/39449: wierd ata status
Date: Wed, 19 Jun 2002 00:04:49 -0700

 On Tue, Jun 18, 2002 at 03:39:15PM -0700, Jin Guojun[DSD] wrote:
 > "Crist J. Clark" wrote:
 [snip]
 
 > > > Above configuration has been used in 4.5, and ata1 can be disabled
 > > > under 4.5-RELEASE. Do you mean that 4.5-RELEASE was incorrect?
 > > 
 > > I don't want to say that I don't believe you, but I don't believe
 > > you. I've used a bare,
 > > 
 > >   device        ata
 > > 
 > > And no 'ata0 at isa? ...' lines on systems with PCI ATA controllers
 > > for several releases now, and they've been detected fine.
 > 
 > What you do not believe -- disbale ata1 on 4.5?
 
 That you can disable a PCI ATA device with a 'di ata1' in the kernel
 configuration or leaving out an 'device ata1 isa? ...' configuration
 line in the kernel configuration.
 
 > Can you make things clear?
 > I can create you an account on 4.5 if you want to play. Below is the dmesg
 > from 4.5-RELEASE, and there is no ata1 configured.
 > 
 > FreeBSD 4.5-RELEASE #0: Wed Mar  6 17:43:26 PST 2002
 >     root@freebsd.lbl.gov:/usr/src/sys/compile/MinMax
 > Timecounter "i8254"  frequency 1193182 Hz
 > CPU: Pentium III/Pentium III Xeon/Celeron (463.55-MHz 686-class CPU)
 >   Origin = "GenuineIntel"  Id = 0x672  Stepping = 2
 >  
 > Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 > real memory  = 268423168 (262132K bytes)
 > avail memory = 256544768 (250532K bytes)
 > Preloaded elf kernel "kernel" at 0xc048d000.
 > Pentium Pro MTRR support enabled
 
 This is a different machine than the other boot messages you presented.
 
 > md0: Malloc disk
 > Using $PIR table, 8 entries at 0xc00f0d10
 > npx0: <math processor> on motherboard
 > npx0: INT 16 interface
 > pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
 > pci0: <PCI bus> on pcib0
 > pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 > pci1: <PCI bus> on pcib1
 > pci1: <VGA-compatible display device> at 0.0 irq 11
 > isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
 > isa0: <ISA bus> on isab0
 > atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
 > ata0: at 0x1f0 irq 14 on atapci0
 > uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 12 at
 > device 4.2 on pci0
 > usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
 
 Could you show us the _full_ boot messages for each system? It'd be
 great if we could get verbose, 'boot -v', output.
 -- 
 Crist J. Clark                     |     cjclark@alum.mit.edu
                                    |     cjclark@jhu.edu
 http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

From: "Crist J. Clark" <crist.clark@attbi.com>
To: "Jin Guojun[DSD]" <j_guojun@lbl.gov>
Cc: bug-followup@freebsd.org
Subject: Re: kern/39449: wierd ata status
Date: Wed, 19 Jun 2002 14:52:42 -0700

 On Wed, Jun 19, 2002 at 01:45:02PM -0700, Jin Guojun[DSD] wrote:
 > "Crist J. Clark" wrote:
 > > 
 > > On Wed, Jun 19, 2002 at 01:03:17AM -0700, Jin Guojun[DSD] wrote:
 > > [snip]
 > > 
 > > > I am not able to access these machines till Friday.
 > > > Unless you think the regular dmesg will help, I will send you full message
 > > > with "boot -v" on Friday.
 > > 
 > > The regular boot messages may help.
 > 
 > Below is dmesg from 4.6 machine, and a set of -v message from a 4.5
 > machine with the identical hardware we used before.
 > The message of 4.6 and the first message of 4.5 are from customer built
 > kernel, which has ata1 disabled in kernel config file. The 4.5 has no ata1
 > configured, but 4.6 has ata1 configured.
 > 
 > The rest of messages of 4.5 is from GENERIC kernel (original from
 > the installation) with following conditions:
 > 
 > #2, just -v option. We see both ata0 and ata1 configured.
 > 
 > #3, the secondary IDE is disbaled in BIOS, and ata1 is not configured.
 > #4, the disk is removed from the secondary IDE bus, and ata1 is not
 >  configured.
 > 
 > So, in 4.5, we have muliplte ways to disble ata1, but in 4.6 we have none.
 
 OK, I think the dmesg(8) shows what I think is going on. You never
 "disabled" ata1 in 4.5-RELEASE by doing anything to the kernel
 configuration. In 4.5-RELEASE, if there was no hardware attached to
 ata1, the probe turns up nothing,
 
 > #3 ----------- GENERIC kernel with second IDE disabled in BIOS ------
 > Copyright (c) 1992-2002 The FreeBSD Project.
 > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 >         The Regents of the University of California. All rights reserved.
 > FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002
 >     murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC
 [snip]
 > ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd808
 > ata1: mask=00 status0=ff status1=ff
 > ata1: probe allocation failed
 
 But it is still probed. You are not disabling it in the kernel
 configuration, it is disabling itself when no devices are found.
 
 In 4.6-RELEASE, we have support for removable ATA devices. Even if
 ata1 doesn't have anything when probed at boot, we want to attach the
 device in order to have it available for swapping devices.
 
 So, to summarize, you have never had the ability to disable PCI ATA
 devices in the kernel configuration. However, in 4.5-RELEASE, ata(4)
 devices with nothing attached to them were not allocated resources. In
 4.6-RELEASE, ata(4) devices are allocated in order to support
 removable devices (which is totally wicked-cool BTW, see
 atacontrol(8)).
 
 Or at least, that's how I am reading things. Soren would be able to
 verify my educated guesses here and provide the details.
 -- 
 Crist J. Clark                     |     cjclark@alum.mit.edu
                                    |     cjclark@jhu.edu
 http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

From: "Jin Guojun[DSD]" <j_guojun@lbl.gov>
To: cjclark@alum.mit.edu
Cc: bug-followup@freebsd.org
Subject: Re: kern/39449: wierd ata status
Date: Wed, 19 Jun 2002 16:20:36 -0700

 "Crist J. Clark" wrote:
 > 
 > On Wed, Jun 19, 2002 at 01:45:02PM -0700, Jin Guojun[DSD] wrote:
 > > "Crist J. Clark" wrote:
 > > >
 > > > On Wed, Jun 19, 2002 at 01:03:17AM -0700, Jin Guojun[DSD] wrote:
 > > > [snip]
 > > >
 > > > > I am not able to access these machines till Friday.
 > > > > Unless you think the regular dmesg will help, I will send you full message
 > > > > with "boot -v" on Friday.
 > > >
 > > > The regular boot messages may help.
 > >
 > > Below is dmesg from 4.6 machine, and a set of -v message from a 4.5
 > > machine with the identical hardware we used before.
 > > The message of 4.6 and the first message of 4.5 are from customer built
 > > kernel, which has ata1 disabled in kernel config file. The 4.5 has no ata1
 > > configured, but 4.6 has ata1 configured.
 > >
 > > The rest of messages of 4.5 is from GENERIC kernel (original from
 > > the installation) with following conditions:
 > >
 > > #2, just -v option. We see both ata0 and ata1 configured.
 > >
 > > #3, the secondary IDE is disbaled in BIOS, and ata1 is not configured.
 > > #4, the disk is removed from the secondary IDE bus, and ata1 is not
 > >  configured.
 > >
 > > So, in 4.5, we have muliplte ways to disble ata1, but in 4.6 we have none.
 > 
 > OK, I think the dmesg(8) shows what I think is going on. You never
 > "disabled" ata1 in 4.5-RELEASE by doing anything to the kernel
 > configuration. In 4.5-RELEASE, if there was no hardware attached to
 > ata1, the probe turns up nothing,
 >
 > > #3 ----------- GENERIC kernel with second IDE disabled in BIOS ------
 > > Copyright (c) 1992-2002 The FreeBSD Project.
 > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 > >         The Regents of the University of California. All rights reserved.
 > > FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002
 > >     murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC
 > [snip]
 > > ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd808
 > > ata1: mask=00 status0=ff status1=ff
 > > ata1: probe allocation failed
 > 
 > But it is still probed. You are not disabling it in the kernel
 > configuration, it is disabling itself when no devices are found.
 > 
 > In 4.6-RELEASE, we have support for removable ATA devices. Even if
 > ata1 doesn't have anything when probed at boot, we want to attach the
 > device in order to have it available for swapping devices.
 > 
 > So, to summarize, you have never had the ability to disable PCI ATA
 > devices in the kernel configuration. However, in 4.5-RELEASE, ata(4)
 > devices with nothing attached to them were not allocated resources. In
 > 4.6-RELEASE, ata(4) devices are allocated in order to support
 > removable devices (which is totally wicked-cool BTW, see
 > atacontrol(8)).
 
 It is good to support removable devices. But remember that in 4.5 we have
 two ways to disable ata1:
 (1) no device attached
 or 
 (2) disbale the secondary IDE in BIOS.
 
 If 4.6 or later could distinguish these two cases, it will make this
 feature more useful. If users want to use removeable devices, enable
 the IDE in BIOS, but leave devices either attached or unattached; 
 if users do not want to use IDE at all, disable IDE in BIOS.
 
 I do not see why this cannot be implemented as in 4.5.
 
 > Or at least, that's how I am reading things. Soren would be able to
 > verify my educated guesses here and provide the details.
 > --
 > Crist J. Clark                     |     cjclark@alum.mit.edu
 >                                    |     cjclark@jhu.edu
 > http://people.freebsd.org/~cjc/    |     cjc@freebsd.org
 
 -- 
 ------------ Jin Guojun ----------- v --- j_guojun@lbl.gov ---
 Distributed Systems Department		http://www.itg.lbl.gov/~jin
 M/S 50B-2239				Ph#:(510) 486-7531 Fax: 486-6363
 Lawrence Berkeley National Laboratory,	Berkeley, CA 94720

From: "Crist J. Clark" <crist.clark@attbi.com>
To: "Jin Guojun[DSD]" <j_guojun@lbl.gov>
Cc: bug-followup@freebsd.org
Subject: Re: kern/39449: wierd ata status
Date: Wed, 19 Jun 2002 16:33:07 -0700

 On Wed, Jun 19, 2002 at 04:20:36PM -0700, Jin Guojun[DSD] wrote:
 > "Crist J. Clark" wrote:
 > > 
 > > On Wed, Jun 19, 2002 at 01:45:02PM -0700, Jin Guojun[DSD] wrote:
 > > > "Crist J. Clark" wrote:
 > > > >
 > > > > On Wed, Jun 19, 2002 at 01:03:17AM -0700, Jin Guojun[DSD] wrote:
 > > > > [snip]
 > > > >
 > > > > > I am not able to access these machines till Friday.
 > > > > > Unless you think the regular dmesg will help, I will send you full message
 > > > > > with "boot -v" on Friday.
 > > > >
 > > > > The regular boot messages may help.
 > > >
 > > > Below is dmesg from 4.6 machine, and a set of -v message from a 4.5
 > > > machine with the identical hardware we used before.
 > > > The message of 4.6 and the first message of 4.5 are from customer built
 > > > kernel, which has ata1 disabled in kernel config file. The 4.5 has no ata1
 > > > configured, but 4.6 has ata1 configured.
 > > >
 > > > The rest of messages of 4.5 is from GENERIC kernel (original from
 > > > the installation) with following conditions:
 > > >
 > > > #2, just -v option. We see both ata0 and ata1 configured.
 > > >
 > > > #3, the secondary IDE is disbaled in BIOS, and ata1 is not configured.
 > > > #4, the disk is removed from the secondary IDE bus, and ata1 is not
 > > >  configured.
 > > >
 > > > So, in 4.5, we have muliplte ways to disble ata1, but in 4.6 we have none.
 > > 
 > > OK, I think the dmesg(8) shows what I think is going on. You never
 > > "disabled" ata1 in 4.5-RELEASE by doing anything to the kernel
 > > configuration. In 4.5-RELEASE, if there was no hardware attached to
 > > ata1, the probe turns up nothing,
 > >
 > > > #3 ----------- GENERIC kernel with second IDE disabled in BIOS ------
 > > > Copyright (c) 1992-2002 The FreeBSD Project.
 > > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 > > >         The Regents of the University of California. All rights reserved.
 > > > FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002
 > > >     murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC
 > > [snip]
 > > > ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd808
 > > > ata1: mask=00 status0=ff status1=ff
 > > > ata1: probe allocation failed
 > > 
 > > But it is still probed. You are not disabling it in the kernel
 > > configuration, it is disabling itself when no devices are found.
 > > 
 > > In 4.6-RELEASE, we have support for removable ATA devices. Even if
 > > ata1 doesn't have anything when probed at boot, we want to attach the
 > > device in order to have it available for swapping devices.
 > > 
 > > So, to summarize, you have never had the ability to disable PCI ATA
 > > devices in the kernel configuration. However, in 4.5-RELEASE, ata(4)
 > > devices with nothing attached to them were not allocated resources. In
 > > 4.6-RELEASE, ata(4) devices are allocated in order to support
 > > removable devices (which is totally wicked-cool BTW, see
 > > atacontrol(8)).
 > 
 > It is good to support removable devices. But remember that in 4.5 we have
 > two ways to disable ata1:
 > (1) no device attached
 > or 
 > (2) disbale the secondary IDE in BIOS.
 
 No, you couldn't. Only ISA devices.
 
 > If 4.6 or later could distinguish these two cases, it will make this
 > feature more useful. If users want to use removeable devices, enable
 > the IDE in BIOS, but leave devices either attached or unattached; 
 > if users do not want to use IDE at all, disable IDE in BIOS.
 > 
 > I do not see why this cannot be implemented as in 4.5.
 
 It wasn't. If you can show me dmesg(8) output where you have a device
 attached to a PCI ata1 and it is not detected, I would be
 suprised. None of the dmesg(8) outputs that you showed were this case.
 -- 
 Crist J. Clark                     |     cjclark@alum.mit.edu
                                    |     cjclark@jhu.edu
 http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

From: "Jin Guojun[DSD]" <j_guojun@lbl.gov>
To: cjclark@alum.mit.edu
Cc: bug-followup@freebsd.org
Subject: Re: kern/39449: wierd ata status
Date: Wed, 19 Jun 2002 17:40:42 -0700

 This is a multi-part message in MIME format.
 --------------8F41AE8DFFD88B677B4F70F9
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 "Crist J. Clark" wrote:
 > 
 > On Wed, Jun 19, 2002 at 04:20:36PM -0700, Jin Guojun[DSD] wrote:
 > > "Crist J. Clark" wrote:
 > > >
 > > > On Wed, Jun 19, 2002 at 01:45:02PM -0700, Jin Guojun[DSD] wrote:
 > > > > "Crist J. Clark" wrote:
 > > > > >
 > > > > > On Wed, Jun 19, 2002 at 01:03:17AM -0700, Jin Guojun[DSD] wrote:
 > > > > > [snip]
 > > > > >
 > > > > > > I am not able to access these machines till Friday.
 > > > > > > Unless you think the regular dmesg will help, I will send you full message
 > > > > > > with "boot -v" on Friday.
 > > > > >
 > > > > > The regular boot messages may help.
 > > > >
 > > > > Below is dmesg from 4.6 machine, and a set of -v message from a 4.5
 > > > > machine with the identical hardware we used before.
 > > > > The message of 4.6 and the first message of 4.5 are from customer built
 > > > > kernel, which has ata1 disabled in kernel config file. The 4.5 has no ata1
 > > > > configured, but 4.6 has ata1 configured.
 > > > >
 > > > > The rest of messages of 4.5 is from GENERIC kernel (original from
 > > > > the installation) with following conditions:
 > > > >
 > > > > #2, just -v option. We see both ata0 and ata1 configured.
 > > > >
 > > > > #3, the secondary IDE is disbaled in BIOS, and ata1 is not configured.
 > > > > #4, the disk is removed from the secondary IDE bus, and ata1 is not
 > > > >  configured.
 > > > >
 > > > > So, in 4.5, we have muliplte ways to disble ata1, but in 4.6 we have none.
 > > >
 > > > OK, I think the dmesg(8) shows what I think is going on. You never
 > > > "disabled" ata1 in 4.5-RELEASE by doing anything to the kernel
 > > > configuration. In 4.5-RELEASE, if there was no hardware attached to
 > > > ata1, the probe turns up nothing,
 > > >
 > > > > #3 ----------- GENERIC kernel with second IDE disabled in BIOS ------
 > > > > Copyright (c) 1992-2002 The FreeBSD Project.
 > > > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 > > > >         The Regents of the University of California. All rights reserved.
 > > > > FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002
 > > > >     murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC
 > > > [snip]
 > > > > ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd808
 > > > > ata1: mask=00 status0=ff status1=ff
 > > > > ata1: probe allocation failed
 > > >
 > > > But it is still probed. You are not disabling it in the kernel
 > > > configuration, it is disabling itself when no devices are found.
 > > >
 > > > In 4.6-RELEASE, we have support for removable ATA devices. Even if
 > > > ata1 doesn't have anything when probed at boot, we want to attach the
 > > > device in order to have it available for swapping devices.
 > > >
 > > > So, to summarize, you have never had the ability to disable PCI ATA
 > > > devices in the kernel configuration. However, in 4.5-RELEASE, ata(4)
 > > > devices with nothing attached to them were not allocated resources. In
 > > > 4.6-RELEASE, ata(4) devices are allocated in order to support
 > > > removable devices (which is totally wicked-cool BTW, see
 > > > atacontrol(8)).
 > >
 > > It is good to support removable devices. But remember that in 4.5 we have
 > > two ways to disable ata1:
 > > (1) no device attached
 > > or
 > > (2) disbale the secondary IDE in BIOS.
 > 
 > No, you couldn't. Only ISA devices.
 > 
 > > If 4.6 or later could distinguish these two cases, it will make this
 > > feature more useful. If users want to use removeable devices, enable
 > > the IDE in BIOS, but leave devices either attached or unattached;
 > > if users do not want to use IDE at all, disable IDE in BIOS.
 > >
 > > I do not see why this cannot be implemented as in 4.5.
 > 
 > It wasn't. If you can show me dmesg(8) output where you have a device
 > attached to a PCI ata1 and it is not detected, I would be
 > suprised. None of the dmesg(8) outputs that you showed were this case.
 
 Attached again "x". Look at the #3, which had exact things configured as #2
 except the secondary IDE is disabled in BIOS. Yes, it probably looks 
 very similar as the #4, which had disk drive unpluged. Search and read
 the title line start with
 #[2-4] --------- description ---------
 #2 --------- GENERIC (original) kernel ------
 #3 ----------- GENERIC kernel with second IDE disabled in BIOS ------
 #4 ----------- GENERIC kernel without anything on ATA1 ------
 
 Do vi and search at attached file to find descriptions.
 /^#[2-4] ----
 
 I am using FreeBSD for more than 10 years, and disable the second IDE all
 the time to use the IRQ 15.
 I have no interest to make a joke here. To make sure this is not a mistake,
 I retried #3 and attach the dmesg in a sperated file "y" -- three
 IDE device attached on both IDE buses, and only ata0 configured. ata1
 has failed to probe because only primary IDE is enabled in BIOS.
 
 I should not do such test again, but I think I am getting old, and
 may not remember things right. However, I do not think I made a mistake
 in this case. It is the fact that 4.5 and earlier FreeBSD release can
 disable IDE (ata) from BIOS.
 
 > --
 > Crist J. Clark                     |     cjclark@alum.mit.edu
 >                                    |     cjclark@jhu.edu
 > http://people.freebsd.org/~cjc/    |     cjc@freebsd.org
 
 -- 
 ------------ Jin Guojun ----------- v --- j_guojun@lbl.gov ---
 Distributed Systems Department		http://www.itg.lbl.gov/~jin
 M/S 50B-2239				Ph#:(510) 486-7531 Fax: 486-6363
 Lawrence Berkeley National Laboratory,	Berkeley, CA 94720
 --------------8F41AE8DFFD88B677B4F70F9
 Content-Type: text/plain; charset=us-ascii;
  name="x"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="x"
 
 #1 ---------- Customer built kernel with ata1 disabled in config file -----
 Copyright (c) 1992-2002 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
 FreeBSD 4.5-RELEASE #0: Tue Mar  5 17:54:18 PST 2002
     root@dvp76:/usr/src/sys/compile/MinMax
 Timecounter "i8254"  frequency 1193182 Hz
 CPU: Pentium II/Pentium II Xeon/Celeron (499.84-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x660  Stepping = 0
   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
 real memory  = 134205440 (131060K bytes)
 avail memory = 125956096 (123004K bytes)
 Preloaded elf kernel "kernel" at 0xc048d000.
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 Using $PIR table, 7 entries at 0xc00f0d10
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
 pci0: <PCI bus> on pcib0
 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 pci1: <PCI bus> on pcib1
 pci1: <VGA-compatible display device> at 0.0 irq 11
 isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 12 at device 4.2 on pci0
 usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 chip1: <Intel 82371AB Power management controller> port 0xe800-0xe80f at device 4.3 on pci0
 fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd000-0xd03f mem 0xe1000000-0xe10fffff,0xe1800000-0xe1800fff irq 12 at device 9.0 on pci0
 fxp0: Ethernet address 00:90:27:71:f2:13
 inphy0: <i82555 10/100 media interface> on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 ncr0: <ncr 53c810 fast10 scsi> port 0xb800-0xb8ff mem 0xe0800000-0xe08000ff irq 10 at device 11.0 on pci0
 orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcb7ff,0xcc000-0xccfff on isa0
 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 kbd0 at atkbd0
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 plip0: <PLIP network interface> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 pca0 at port 0x40 on isa0
 ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
 ad0: 17206MB <WDC AC418000D> [34960/16/63] at ata0-master UDMA33
 acd0: CDROM <FX240S> at ata0-slave using PIO3
 Waiting 6 seconds for SCSI devices to settle
 Mounting root from ufs:/dev/ad0s2a
 da0 at ncr0 bus 0 target 1 lun 0
 da0: <SEAGATE ST15230N 0498> Fixed Direct Access SCSI-2 device 
 da0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
 da0: 4095MB (8386733 512 byte sectors: 255H 63S/T 522C)
 
 
 
 #2 --------- GENERIC (original) kernel ------
 Copyright (c) 1992-2002 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
 FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002
     murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC
 Calibrating clock(s) ... TSC clock: 499762395 Hz, i8254 clock: 1193010 Hz
 CLK_USE_I8254_CALIBRATION not specified - using default frequency
 Timecounter "i8254"  frequency 1193182 Hz
 CLK_USE_TSC_CALIBRATION not specified - using old calibration method
 CPU: Pentium II/Pentium II Xeon/Celeron (499.84-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x660  Stepping = 0
   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
 real memory  = 134205440 (131060K bytes)
 Physical memory chunk(s):
 0x00001000 - 0x0009efff, 647168 bytes (158 pages)
 0x004bb000 - 0x07ff4fff, 129212416 bytes (31546 pages)
 avail memory = 125927424 (122976K bytes)
 bios32: Found BIOS32 Service Directory header at 0xc00f9da0
 bios32: Entry = 0xf0520 (c00f0520)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0x720
 pnpbios: Found PnP BIOS data at 0xc00fd1f0
 pnpbios: Entry = f0000:d220  Rev = 1.0
 pnpbios: OEM ID cd041
 Other BIOS signatures found:
 ACPI: 000f8020
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 Creating DISK md0
 Math emulator present
 pci_open(1):    mode 1 addr port (0x0cf8) is 0x8000005c
 pci_open(1a):   mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71908086)
 Using $PIR table, 7 entries at 0xc00f0d10
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
 found-> vendor=0x8086, dev=0x7190, revid=0x03
         class=06-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         map[10]: type 1, range 32, base e4000000, size 26
 found-> vendor=0x8086, dev=0x7191, revid=0x03
         class=06-04-00, hdrtype=0x01, mfdev=0
         subordinatebus=1        secondarybus=1
 found-> vendor=0x8086, dev=0x7110, revid=0x02
         class=06-01-00, hdrtype=0x00, mfdev=1
         subordinatebus=0        secondarybus=0
 found-> vendor=0x8086, dev=0x7111, revid=0x01
         class=01-01-80, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         map[20]: type 1, range 32, base 0000d800, size  4
 found-> vendor=0x8086, dev=0x7112, revid=0x01
         class=0c-03-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=d, irq=12
         map[20]: type 1, range 32, base 0000d400, size  5
 found-> vendor=0x8086, dev=0x7113, revid=0x02
         class=06-80-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         map[90]: type 1, range 32, base 0000e800, size  4
 found-> vendor=0x8086, dev=0x1229, revid=0x08
         class=02-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=a, irq=12
         map[10]: type 1, range 32, base e1800000, size 12
         map[14]: type 1, range 32, base 0000d000, size  6
         map[18]: type 1, range 32, base e1000000, size 20
 found-> vendor=0x1000, dev=0x0001, revid=0x02
         class=01-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=a, irq=10
         map[10]: type 1, range 32, base 0000b800, size  8
         map[14]: type 1, range 32, base e0800000, size  8
 pci0: <PCI bus> on pcib0
 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 found-> vendor=0x104c, dev=0x3d07, revid=0x01
         class=03-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=a, irq=11
         map[10]: type 1, range 32, base e3000000, size 17
         map[14]: type 1, range 32, base e2800000, size 23
         map[18]: type 1, range 32, base e2000000, size 23
 pci1: <PCI bus> on pcib1
 pci1: <VGA-compatible display device> (vendor=0x104c, dev=0x3d07) at 0.0 irq 11
 isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xd800
 ata0: mask=03 status0=50 status1=00
 ata0: mask=03 ostat0=50 ostat2=00
 ata0-master: ATAPI probe a=00 b=00
 ata0-slave: ATAPI probe a=14 b=eb
 ata0: mask=03 status0=50 status1=00
 ata0-master: ATA probe a=01 b=a5
 ata0: devices=09
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd808
 ata1: mask=03 status0=50 status1=00
 ata1: mask=03 ostat0=50 ostat2=00
 ata1-master: ATAPI probe a=00 b=00
 ata1-slave: ATAPI probe a=00 b=00
 ata1: mask=03 status0=50 status1=00
 ata1-master: ATA probe a=01 b=a5
 ata1: devices=01
 ata1: at 0x170 irq 15 on atapci0
 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 12 at device 4.2 on pci0
 usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 chip1: <Intel 82371AB Power management controller> port 0xe800-0xe80f at device 4.3 on pci0
 fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd000-0xd03f mem 0xe1000000-0xe10fffff,0xe1800000-0xe1800fff irq 12 at device 9.0 on pci0
 fxp0: using memory space register mapping
         using shared irq12.
 fxp0: Ethernet address 00:90:27:71:f2:13
 fxp0: PCI IDs: 8086 1229 8086 000c 0008
 fxp0: Dynamic Standby mode is disabled
 inphy0: <i82555 10/100 media interface> on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 bpf: fxp0 attached
 ncr0: <ncr 53c810 fast10 scsi> port 0xb800-0xb8ff mem 0xe0800000-0xe08000ff irq 10 at device 11.0 on pci0
 ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
 ncr0: single-ended, open drain IRQ driver
 ex_isa_identify()
 ata-: ata0 exists, using next available unit number
 ata-: ata1 exists, using next available unit number
 Trying Read_Port at 203
 Trying Read_Port at 243
 Trying Read_Port at 283
 Trying Read_Port at 2c3
 Trying Read_Port at 303
 Trying Read_Port at 343
 Trying Read_Port at 383
 Trying Read_Port at 3c3
 isa_probe_children: disabling PnP devices
 isa_probe_children: probing non-PnP devices
 orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcb7ff,0xcc000-0xccfff on isa0
 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 ata2 failed to probe at port 0x1f0 irq 14 on isa0
 ata3 failed to probe at port 0x170 irq 15 on isa0
 adv0 failed to probe on isa0
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x330
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x334
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x230
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x234
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x130
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x134
 bt0 failed to probe at port 0x134-0x137 on isa0
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0 failed to probe at port 0x134-0x137 on isa0
 aic0 failed to probe at port 0x140-0x15f on isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 atkbd: the current kbd controller command byte 0067
 atkbd: keyboard ID 0x41ab (2)
 kbd0 at atkbd0
 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
 psm0: current command byte:0067
 psm0: failed to reset the aux device.
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 fb0: vga0, vga, type:VGA (5), flags:0x7007f
 fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
 fb0: init mode:24, bios mode:3, current mode:24
 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
 vga0: vga: WARNING: video mode switching is not fully supported on this adapter
 VGA parameters upon power-up
 50 18 10 00 00 08 03 00 02 6f 5f 4f 50 82 55 81 
 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
 VGA parameters in BIOS for mode 24
 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
 EGA/VGA parameters to be used for mode 24
 50 18 10 00 00 08 03 00 02 6f 5f 4f 50 82 55 81 
 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
 pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
 pcic1: not probed (disabled)
 sio0: irq maps: 0x41 0x51 0x41 0x41
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1: irq maps: 0x41 0x49 0x41 0x41
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A
 sio2: not probed (disabled)
 sio3: not probed (disabled)
 ppc0: parallel port found at 0x378
 ppc0: using extended I/O port range
 ppc0: ECP SPP ECP+EPP SPP
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 plip0: <PLIP network interface> on ppbus0
 bpf: lp0 attached
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
 fe0 failed to probe at port 0x300-0x31f on isa0
 ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0
 lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0
 cs0 failed to probe at port 0x300-0x31f on isa0
 sn0 failed to probe at port 0x300-0x30f irq 10 on isa0
 isa_probe_children: probing PnP devices
 BIOS Geometries:
  0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
  1:03f8843e 0..1016=1017 cylinders, 0..132=133 heads, 1..62=62 sectors
  0 accounted for
 Device configuration finished.
 bpf: lo0 attached
 bpf: ppp0 attached
 new masks: bio 68d040, tty 63009a, net 67109a
 bpf: sl0 attached
 bpf: faith0 attached
 ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
 ata0-master: success setting UDMA2 on Intel chip
 Creating DISK ad0
 ad0: <WDC AC418000D/J78OA30K> ATA-4 disk at ata0-master
 ad0: 17206MB (35239680 sectors), 34960 cyls, 16 heads, 63 S/T, 512 B/S
 ad0: 16 secs/int, 1 depth queue, UDMA33
 ad0: piomode=4 dmamode=2 udmamode=4 cblid=0
 ad0: 17206MB <WDC AC418000D> [34960/16/63] at ata0-master UDMA33
 ata1-master: success setting WDMA2 on Intel chip
 Creating DISK ad2
 ad2: <WDC AC21200H/05.01E05> ATA-0 disk at ata1-master
 ad2: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S
 ad2: 1 secs/int, 1 depth queue, WDMA2
 ad2: piomode=4 dmamode=2 udmamode=-1 cblid=0
 ad2: 1222MB <WDC AC21200H> [2484/16/63] at ata1-master WDMA2
 ata0-slave: piomode=3 dmamode=2 udmamode=-1 dmaflag=1
 ata0-slave: success setting PIO3 on generic chip
 acd0: <FX240S/j01> CDROM drive at ata0 as slave
 acd0: read 4134KB/s (34515KB/s), 256KB buffer, PIO3
 acd0: Reads: CD-R, CD-RW, CD-DA, packet
 acd0: Audio: play, 255 volume levels
 acd0: Mechanism: ejectable tray
 acd0: Medium: no/blank disc inside, unlocked
 Waiting 15 seconds for SCSI devices to settle
 ncr0: restart (scsi reset).
 Creating DISK da0
 pass0 at ncr0 bus 0 target 1 lun 0
 pass0: <SEAGATE ST15230N 0498> Fixed Direct Access SCSI-2 device 
 pass0: Serial Number 00195566
 pass0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
 Mounting root from ufs:ad0s2a
 da0 at ncr0 bus 0 target 1 lun 0
 da0: <SEAGATE ST15230N 0498> Fixed Direct Access SCSI-2 device 
 da0: Serial Number 00195566
 da0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
 da0: 4095MB (8386733 512 byte sectors: 255H 63S/T 522C)
 ad0s1: type 0x6, start 63, end = 1060289, size 1060227 : OK
 ad0s2: type 0xa5, start 1060290, end = 7341704, size 6281415 : OK
 ad0s3: type 0xa5, start 7341705, end = 35230544, size 27888840 : OK
 start_init: trying /sbin/init
 da0s1: type 0xa5, start 62, end = 8386181, size 8386120 : OK
 
 
 #3 ----------- GENERIC kernel with second IDE disabled in BIOS ------
 Copyright (c) 1992-2002 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
 FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002
     murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC
 Calibrating clock(s) ... TSC clock: 499762515 Hz, i8254 clock: 1193009 Hz
 CLK_USE_I8254_CALIBRATION not specified - using default frequency
 Timecounter "i8254"  frequency 1193182 Hz
 CLK_USE_TSC_CALIBRATION not specified - using old calibration method
 CPU: Pentium II/Pentium II Xeon/Celeron (499.84-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x660  Stepping = 0
   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
 real memory  = 134205440 (131060K bytes)
 Physical memory chunk(s):
 0x00001000 - 0x0009efff, 647168 bytes (158 pages)
 0x004bb000 - 0x07ff4fff, 129212416 bytes (31546 pages)
 avail memory = 125927424 (122976K bytes)
 bios32: Found BIOS32 Service Directory header at 0xc00f9da0
 bios32: Entry = 0xf0520 (c00f0520)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0x720
 pnpbios: Found PnP BIOS data at 0xc00fd1f0
 pnpbios: Entry = f0000:d220  Rev = 1.0
 pnpbios: OEM ID cd041
 Other BIOS signatures found:
 ACPI: 000f8020
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 Creating DISK md0
 Math emulator present
 pci_open(1):    mode 1 addr port (0x0cf8) is 0x8000005c
 pci_open(1a):   mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71908086)
 Using $PIR table, 7 entries at 0xc00f0d10
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
 found-> vendor=0x8086, dev=0x7190, revid=0x03
         class=06-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         map[10]: type 1, range 32, base e4000000, size 26
 found-> vendor=0x8086, dev=0x7191, revid=0x03
         class=06-04-00, hdrtype=0x01, mfdev=0
         subordinatebus=1        secondarybus=1
 found-> vendor=0x8086, dev=0x7110, revid=0x02
         class=06-01-00, hdrtype=0x00, mfdev=1
         subordinatebus=0        secondarybus=0
 found-> vendor=0x8086, dev=0x7111, revid=0x01
         class=01-01-80, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         map[20]: type 1, range 32, base 0000d800, size  4
 found-> vendor=0x8086, dev=0x7112, revid=0x01
         class=0c-03-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=d, irq=12
         map[20]: type 1, range 32, base 0000d400, size  5
 found-> vendor=0x8086, dev=0x7113, revid=0x02
         class=06-80-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         map[90]: type 1, range 32, base 0000e800, size  4
 found-> vendor=0x8086, dev=0x1229, revid=0x08
         class=02-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=a, irq=12
         map[10]: type 1, range 32, base e1800000, size 12
         map[14]: type 1, range 32, base 0000d000, size  6
         map[18]: type 1, range 32, base e1000000, size 20
 found-> vendor=0x1000, dev=0x0001, revid=0x02
         class=01-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=a, irq=10
         map[10]: type 1, range 32, base 0000b800, size  8
         map[14]: type 1, range 32, base e0800000, size  8
 pci0: <PCI bus> on pcib0
 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 found-> vendor=0x104c, dev=0x3d07, revid=0x01
         class=03-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=a, irq=11
         map[10]: type 1, range 32, base e3000000, size 17
         map[14]: type 1, range 32, base e2800000, size 23
         map[18]: type 1, range 32, base e2000000, size 23
 pci1: <PCI bus> on pcib1
 pci1: <VGA-compatible display device> (vendor=0x104c, dev=0x3d07) at 0.0 irq 11
 isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xd800
 ata0: mask=03 status0=50 status1=00
 ata0: mask=03 ostat0=50 ostat2=00
 ata0-master: ATAPI probe a=00 b=00
 ata0-slave: ATAPI probe a=14 b=eb
 ata0: mask=03 status0=50 status1=00
 ata0-master: ATA probe a=01 b=a5
 ata0: devices=09
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd808
 ata1: mask=00 status0=ff status1=ff
 ata1: probe allocation failed
 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 12 at device 4.2 on pci0
 usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 chip1: <Intel 82371AB Power management controller> port 0xe800-0xe80f at device 4.3 on pci0
 fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd000-0xd03f mem 0xe1000000-0xe10fffff,0xe1800000-0xe1800fff irq 12 at device 9.0 on pci0
 fxp0: using memory space register mapping
         using shared irq12.
 fxp0: Ethernet address 00:90:27:71:f2:13
 fxp0: PCI IDs: 8086 1229 8086 000c 0008
 fxp0: Dynamic Standby mode is disabled
 inphy0: <i82555 10/100 media interface> on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 bpf: fxp0 attached
 ncr0: <ncr 53c810 fast10 scsi> port 0xb800-0xb8ff mem 0xe0800000-0xe08000ff irq 10 at device 11.0 on pci0
 ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
 ncr0: single-ended, open drain IRQ driver
 ex_isa_identify()
 ata-: ata0 exists, using next available unit number
 ata-: ata1 exists, using next available unit number
 Trying Read_Port at 203
 Trying Read_Port at 243
 Trying Read_Port at 283
 Trying Read_Port at 2c3
 Trying Read_Port at 303
 Trying Read_Port at 343
 Trying Read_Port at 383
 Trying Read_Port at 3c3
 isa_probe_children: disabling PnP devices
 isa_probe_children: probing non-PnP devices
 orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcb7ff,0xcc000-0xccfff on isa0
 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 ata2 failed to probe at port 0x1f0 irq 14 on isa0
 ata3: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000
 ata3: mask=00 status0=ff status1=ff
 ata3: probe allocation failed
 ata3 failed to probe at port 0x170-0x177,0x376 irq 15 on isa0
 adv0 failed to probe on isa0
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x330
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x334
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x230
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x234
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x130
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x134
 bt0 failed to probe at port 0x134-0x137 on isa0
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0 failed to probe at port 0x134-0x137 on isa0
 aic0 failed to probe at port 0x140-0x15f on isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 atkbd: the current kbd controller command byte 0067
 atkbd: keyboard ID 0x41ab (2)
 kbd0 at atkbd0
 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
 psm0: current command byte:0067
 psm0: failed to reset the aux device.
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 fb0: vga0, vga, type:VGA (5), flags:0x7007f
 fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
 fb0: init mode:24, bios mode:3, current mode:24
 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
 vga0: vga: WARNING: video mode switching is not fully supported on this adapter
 VGA parameters upon power-up
 50 18 10 00 00 08 03 00 02 6f 5f 4f 50 82 55 81 
 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
 VGA parameters in BIOS for mode 24
 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
 EGA/VGA parameters to be used for mode 24
 50 18 10 00 00 08 03 00 02 6f 5f 4f 50 82 55 81 
 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
 pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
 pcic1: not probed (disabled)
 sio0: irq maps: 0x41 0x51 0x41 0x41
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1: irq maps: 0x41 0x49 0x41 0x41
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A
 sio2: not probed (disabled)
 sio3: not probed (disabled)
 ppc0: parallel port found at 0x378
 ppc0: using extended I/O port range
 ppc0: ECP SPP ECP+EPP SPP
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 plip0: <PLIP network interface> on ppbus0
 bpf: lp0 attached
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
 fe0 failed to probe at port 0x300-0x31f on isa0
 ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0
 lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0
 cs0 failed to probe at port 0x300-0x31f on isa0
 sn0 failed to probe at port 0x300-0x30f irq 10 on isa0
 isa_probe_children: probing PnP devices
 BIOS Geometries:
  0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
  1:03f8843e 0..1016=1017 cylinders, 0..132=133 heads, 1..62=62 sectors
  0 accounted for
 Device configuration finished.
 bpf: lo0 attached
 bpf: ppp0 attached
 new masks: bio 685040, tty 63009a, net 67109a
 bpf: sl0 attached
 bpf: faith0 attached
 ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
 ata0-master: success setting UDMA2 on Intel chip
 Creating DISK ad0
 ad0: <WDC AC418000D/J78OA30K> ATA-4 disk at ata0-master
 ad0: 17206MB (35239680 sectors), 34960 cyls, 16 heads, 63 S/T, 512 B/S
 ad0: 16 secs/int, 1 depth queue, UDMA33
 ad0: piomode=4 dmamode=2 udmamode=4 cblid=0
 ad0: 17206MB <WDC AC418000D> [34960/16/63] at ata0-master UDMA33
 ata0-slave: piomode=3 dmamode=2 udmamode=-1 dmaflag=1
 ata0-slave: success setting PIO3 on generic chip
 acd0: <FX240S/j01> CDROM drive at ata0 as slave
 acd0: read 4134KB/s (34515KB/s), 256KB buffer, PIO3
 acd0: Reads: CD-R, CD-RW, CD-DA, packet
 acd0: Audio: play, 255 volume levels
 acd0: Mechanism: ejectable tray
 acd0: Medium: no/blank disc inside, unlocked
 Waiting 15 seconds for SCSI devices to settle
 ncr0: restart (scsi reset).
 Creating DISK da0
 pass0 at ncr0 bus 0 target 1 lun 0
 pass0: <SEAGATE ST15230N 0498> Fixed Direct Access SCSI-2 device 
 pass0: Serial Number 00195566
 pass0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
 Mounting root from ufs:ad0s2a
 da0 at ncr0 bus 0 target 1 lun 0
 da0: <SEAGATE ST15230N 0498> Fixed Direct Access SCSI-2 device 
 da0: Serial Number 00195566
 da0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
 da0: 4095MB (8386733 512 byte sectors: 255H 63S/T 522C)
 ad0s1: type 0x6, start 63, end = 1060289, size 1060227 : OK
 ad0s2: type 0xa5, start 1060290, end = 7341704, size 6281415 : OK
 ad0s3: type 0xa5, start 7341705, end = 35230544, size 27888840 : OK
 start_init: trying /sbin/init
 da0s1: type 0xa5, start 62, end = 8386181, size 8386120 : OK
 
 
 #4 ----------- GENERIC kernel without anything on ATA1 ------
 Copyright (c) 1992-2002 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
 FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002
     murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC
 Calibrating clock(s) ... TSC clock: 499762071 Hz, i8254 clock: 1193009 Hz
 CLK_USE_I8254_CALIBRATION not specified - using default frequency
 Timecounter "i8254"  frequency 1193182 Hz
 CLK_USE_TSC_CALIBRATION not specified - using old calibration method
 CPU: Pentium II/Pentium II Xeon/Celeron (499.84-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x660  Stepping = 0
   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
 real memory  = 134205440 (131060K bytes)
 Physical memory chunk(s):
 0x00001000 - 0x0009efff, 647168 bytes (158 pages)
 0x004bb000 - 0x07ff4fff, 129212416 bytes (31546 pages)
 avail memory = 125927424 (122976K bytes)
 bios32: Found BIOS32 Service Directory header at 0xc00f9da0
 bios32: Entry = 0xf0520 (c00f0520)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0x720
 pnpbios: Found PnP BIOS data at 0xc00fd1f0
 pnpbios: Entry = f0000:d220  Rev = 1.0
 pnpbios: OEM ID cd041
 Other BIOS signatures found:
 ACPI: 000f8020
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 Creating DISK md0
 Math emulator present
 pci_open(1):    mode 1 addr port (0x0cf8) is 0x8000005c
 pci_open(1a):   mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71908086)
 Using $PIR table, 7 entries at 0xc00f0d10
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
 found-> vendor=0x8086, dev=0x7190, revid=0x03
         class=06-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         map[10]: type 1, range 32, base e4000000, size 26
 found-> vendor=0x8086, dev=0x7191, revid=0x03
         class=06-04-00, hdrtype=0x01, mfdev=0
         subordinatebus=1        secondarybus=1
 found-> vendor=0x8086, dev=0x7110, revid=0x02
         class=06-01-00, hdrtype=0x00, mfdev=1
         subordinatebus=0        secondarybus=0
 found-> vendor=0x8086, dev=0x7111, revid=0x01
         class=01-01-80, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         map[20]: type 1, range 32, base 0000d800, size  4
 found-> vendor=0x8086, dev=0x7112, revid=0x01
         class=0c-03-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=d, irq=12
         map[20]: type 1, range 32, base 0000d400, size  5
 found-> vendor=0x8086, dev=0x7113, revid=0x02
         class=06-80-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         map[90]: type 1, range 32, base 0000e800, size  4
 found-> vendor=0x8086, dev=0x1229, revid=0x08
         class=02-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=a, irq=12
         map[10]: type 1, range 32, base e1800000, size 12
         map[14]: type 1, range 32, base 0000d000, size  6
         map[18]: type 1, range 32, base e1000000, size 20
 found-> vendor=0x1000, dev=0x0001, revid=0x02
         class=01-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=a, irq=10
         map[10]: type 1, range 32, base 0000b800, size  8
         map[14]: type 1, range 32, base e0800000, size  8
 pci0: <PCI bus> on pcib0
 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 found-> vendor=0x104c, dev=0x3d07, revid=0x01
         class=03-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=a, irq=11
         map[10]: type 1, range 32, base e3000000, size 17
         map[14]: type 1, range 32, base e2800000, size 23
         map[18]: type 1, range 32, base e2000000, size 23
 pci1: <PCI bus> on pcib1
 pci1: <VGA-compatible display device> (vendor=0x104c, dev=0x3d07) at 0.0 irq 11
 isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xd800
 ata0: mask=03 status0=50 status1=00
 ata0: mask=03 ostat0=50 ostat2=00
 ata0-master: ATAPI probe a=00 b=00
 ata0-slave: ATAPI probe a=14 b=eb
 ata0: mask=03 status0=50 status1=00
 ata0-master: ATA probe a=01 b=a5
 ata0: devices=09
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd808
 ata1: mask=00 status0=a5 status1=a5
 ata1: probe allocation failed
 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 12 at device 4.2 on pci0
 usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 chip1: <Intel 82371AB Power management controller> port 0xe800-0xe80f at device 4.3 on pci0
 fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd000-0xd03f mem 0xe1000000-0xe10fffff,0xe1800000-0xe1800fff irq 12 at device 9.0 on pci0
 fxp0: using memory space register mapping
         using shared irq12.
 fxp0: Ethernet address 00:90:27:71:f2:13
 fxp0: PCI IDs: 8086 1229 8086 000c 0008
 fxp0: Dynamic Standby mode is disabled
 inphy0: <i82555 10/100 media interface> on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 bpf: fxp0 attached
 ncr0: <ncr 53c810 fast10 scsi> port 0xb800-0xb8ff mem 0xe0800000-0xe08000ff irq 10 at device 11.0 on pci0
 ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
 ncr0: single-ended, open drain IRQ driver
 ex_isa_identify()
 ata-: ata0 exists, using next available unit number
 ata-: ata1 exists, using next available unit number
 Trying Read_Port at 203
 Trying Read_Port at 243
 Trying Read_Port at 283
 Trying Read_Port at 2c3
 Trying Read_Port at 303
 Trying Read_Port at 343
 Trying Read_Port at 383
 Trying Read_Port at 3c3
 isa_probe_children: disabling PnP devices
 isa_probe_children: probing non-PnP devices
 orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcb7ff,0xcc000-0xccfff on isa0
 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 ata2 failed to probe at port 0x1f0 irq 14 on isa0
 ata3: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000
 ata3: mask=00 status0=a5 status1=a5
 ata3: probe allocation failed
 ata3 failed to probe at port 0x170-0x177,0x376 irq 15 on isa0
 adv0 failed to probe on isa0
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x330
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x334
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x230
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x234
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x130
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x134
 bt0 failed to probe at port 0x134-0x137 on isa0
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0 failed to probe at port 0x134-0x137 on isa0
 aic0 failed to probe at port 0x140-0x15f on isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 atkbd: the current kbd controller command byte 0067
 atkbd: keyboard ID 0x41ab (2)
 kbd0 at atkbd0
 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
 psm0: current command byte:0067
 psm0: failed to reset the aux device.
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 fb0: vga0, vga, type:VGA (5), flags:0x7007f
 fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
 fb0: init mode:24, bios mode:3, current mode:24
 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
 vga0: vga: WARNING: video mode switching is not fully supported on this adapter
 VGA parameters upon power-up
 50 18 10 00 00 08 03 00 02 6f 5f 4f 50 82 55 81 
 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
 VGA parameters in BIOS for mode 24
 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
 EGA/VGA parameters to be used for mode 24
 50 18 10 00 00 08 03 00 02 6f 5f 4f 50 82 55 81 
 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
 pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
 pcic1: not probed (disabled)
 sio0: irq maps: 0x41 0x51 0x41 0x41
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1: irq maps: 0x41 0x49 0x41 0x41
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A
 sio2: not probed (disabled)
 sio3: not probed (disabled)
 ppc0: parallel port found at 0x378
 ppc0: using extended I/O port range
 ppc0: ECP SPP ECP+EPP SPP
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 plip0: <PLIP network interface> on ppbus0
 bpf: lp0 attached
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
 fe0 failed to probe at port 0x300-0x31f on isa0
 ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0
 lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0
 cs0 failed to probe at port 0x300-0x31f on isa0
 sn0 failed to probe at port 0x300-0x30f irq 10 on isa0
 isa_probe_children: probing PnP devices
 BIOS Geometries:
  0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
  1:03f8843e 0..1016=1017 cylinders, 0..132=133 heads, 1..62=62 sectors
  0 accounted for
 Device configuration finished.
 bpf: lo0 attached
 bpf: ppp0 attached
 new masks: bio 685040, tty 63009a, net 67109a
 bpf: sl0 attached
 bpf: faith0 attached
 ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
 ata0-master: success setting UDMA2 on Intel chip
 Creating DISK ad0
 ad0: <WDC AC418000D/J78OA30K> ATA-4 disk at ata0-master
 ad0: 17206MB (35239680 sectors), 34960 cyls, 16 heads, 63 S/T, 512 B/S
 ad0: 16 secs/int, 1 depth queue, UDMA33
 ad0: piomode=4 dmamode=2 udmamode=4 cblid=0
 ad0: 17206MB <WDC AC418000D> [34960/16/63] at ata0-master UDMA33
 ata0-slave: piomode=3 dmamode=2 udmamode=-1 dmaflag=1
 ata0-slave: success setting PIO3 on generic chip
 acd0: <FX240S/j01> CDROM drive at ata0 as slave
 acd0: read 4134KB/s (34515KB/s), 256KB buffer, PIO3
 acd0: Reads: CD-R, CD-RW, CD-DA, packet
 acd0: Audio: play, 255 volume levels
 acd0: Mechanism: ejectable tray
 acd0: Medium: no/blank disc inside, unlocked
 Waiting 15 seconds for SCSI devices to settle
 ncr0: restart (scsi reset).
 Creating DISK da0
 pass0 at ncr0 bus 0 target 1 lun 0
 pass0: <SEAGATE ST15230N 0498> Fixed Direct Access SCSI-2 device 
 pass0: Serial Number 00195566
 pass0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
 Mounting root from ufs:ad0s2a
 da0 at ncr0 bus 0 target 1 lun 0
 da0: <SEAGATE ST15230N 0498> Fixed Direct Access SCSI-2 device 
 da0: Serial Number 00195566
 da0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
 da0: 4095MB (8386733 512 byte sectors: 255H 63S/T 522C)
 ad0s1: type 0x6, start 63, end = 1060289, size 1060227 : OK
 ad0s2: type 0xa5, start 1060290, end = 7341704, size 6281415 : OK
 ad0s3: type 0xa5, start 7341705, end = 35230544, size 27888840 : OK
 start_init: trying /sbin/init
 da0s1: type 0xa5, start 62, end = 8386181, size 8386120 : OK
 
 
 
 
 --------------8F41AE8DFFD88B677B4F70F9
 Content-Type: text/plain; charset=us-ascii;
  name="y"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="y"
 
 ---- retesting with 3 IDE device on two buses with the secondary IDE
 disabled in BIOS ------
 
 Copyright (c) 1992-2002 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
 FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002
     murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC
 Calibrating clock(s) ... TSC clock: 499762731 Hz, i8254 clock: 1193011 Hz
 CLK_USE_I8254_CALIBRATION not specified - using default frequency
 Timecounter "i8254"  frequency 1193182 Hz
 CLK_USE_TSC_CALIBRATION not specified - using old calibration method
 CPU: Pentium II/Pentium II Xeon/Celeron (499.84-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x660  Stepping = 0
   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
 real memory  = 134205440 (131060K bytes)
 Physical memory chunk(s):
 0x00001000 - 0x0009efff, 647168 bytes (158 pages)
 0x004bb000 - 0x07ff4fff, 129212416 bytes (31546 pages)
 avail memory = 125927424 (122976K bytes)
 bios32: Found BIOS32 Service Directory header at 0xc00f9da0
 bios32: Entry = 0xf0520 (c00f0520)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0x720
 pnpbios: Found PnP BIOS data at 0xc00fd1f0
 pnpbios: Entry = f0000:d220  Rev = 1.0
 pnpbios: OEM ID cd041
 Other BIOS signatures found:
 ACPI: 000f8020
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 Creating DISK md0
 Math emulator present
 pci_open(1):    mode 1 addr port (0x0cf8) is 0x8000005c
 pci_open(1a):   mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71908086)
 Using $PIR table, 7 entries at 0xc00f0d10
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
 found-> vendor=0x8086, dev=0x7190, revid=0x03
         class=06-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         map[10]: type 1, range 32, base e4000000, size 26
 found-> vendor=0x8086, dev=0x7191, revid=0x03
         class=06-04-00, hdrtype=0x01, mfdev=0
         subordinatebus=1        secondarybus=1
 found-> vendor=0x8086, dev=0x7110, revid=0x02
         class=06-01-00, hdrtype=0x00, mfdev=1
         subordinatebus=0        secondarybus=0
 found-> vendor=0x8086, dev=0x7111, revid=0x01
         class=01-01-80, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         map[20]: type 1, range 32, base 0000d800, size  4
 found-> vendor=0x8086, dev=0x7112, revid=0x01
         class=0c-03-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=d, irq=12
         map[20]: type 1, range 32, base 0000d400, size  5
 found-> vendor=0x8086, dev=0x7113, revid=0x02
         class=06-80-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         map[90]: type 1, range 32, base 0000e800, size  4
 found-> vendor=0x8086, dev=0x1229, revid=0x08
         class=02-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=a, irq=12
         map[10]: type 1, range 32, base e1800000, size 12
         map[14]: type 1, range 32, base 0000d000, size  6
         map[18]: type 1, range 32, base e1000000, size 20
 found-> vendor=0x1000, dev=0x0001, revid=0x02
         class=01-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=a, irq=10
         map[10]: type 1, range 32, base 0000b800, size  8
         map[14]: type 1, range 32, base e0800000, size  8
 pci0: <PCI bus> on pcib0
 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 found-> vendor=0x104c, dev=0x3d07, revid=0x01
         class=03-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=a, irq=11
         map[10]: type 1, range 32, base e3000000, size 17
         map[14]: type 1, range 32, base e2800000, size 23
         map[18]: type 1, range 32, base e2000000, size 23
 pci1: <PCI bus> on pcib1
 pci1: <VGA-compatible display device> (vendor=0x104c, dev=0x3d07) at 0.0 irq 11
 isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xd800
 ata0: mask=03 status0=50 status1=00
 ata0: mask=03 ostat0=50 ostat2=00
 ata0-master: ATAPI probe a=00 b=00
 ata0-slave: ATAPI probe a=14 b=eb
 ata0: mask=03 status0=50 status1=00
 ata0-master: ATA probe a=01 b=a5
 ata0: devices=09
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd808
 ata1: mask=00 status0=ff status1=ff
 ata1: probe allocation failed
 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 12 at device 4.2 on pci0
 usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 chip1: <Intel 82371AB Power management controller> port 0xe800-0xe80f at device 4.3 on pci0
 fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd000-0xd03f mem 0xe1000000-0xe10fffff,0xe1800000-0xe1800fff irq 12 at device 9.0 on pci0
 fxp0: using memory space register mapping
         using shared irq12.
 fxp0: Ethernet address 00:90:27:71:f2:13
 fxp0: PCI IDs: 8086 1229 8086 000c 0008
 fxp0: Dynamic Standby mode is disabled
 inphy0: <i82555 10/100 media interface> on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 bpf: fxp0 attached
 ncr0: <ncr 53c810 fast10 scsi> port 0xb800-0xb8ff mem 0xe0800000-0xe08000ff irq 10 at device 11.0 on pci0
 ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
 ncr0: single-ended, open drain IRQ driver
 ex_isa_identify()
 ata-: ata0 exists, using next available unit number
 ata-: ata1 exists, using next available unit number
 Trying Read_Port at 203
 Trying Read_Port at 243
 Trying Read_Port at 283
 Trying Read_Port at 2c3
 Trying Read_Port at 303
 Trying Read_Port at 343
 Trying Read_Port at 383
 Trying Read_Port at 3c3
 isa_probe_children: disabling PnP devices
 isa_probe_children: probing non-PnP devices
 orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcb7ff,0xcc000-0xccfff on isa0
 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 ata2 failed to probe at port 0x1f0 irq 14 on isa0
 ata3: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000
 ata3: mask=00 status0=ff status1=ff
 ata3: probe allocation failed
 ata3 failed to probe at port 0x170-0x177,0x376 irq 15 on isa0
 adv0 failed to probe on isa0
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x330
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x334
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x230
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x234
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x130
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x134
 bt0 failed to probe at port 0x134-0x137 on isa0
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0 failed to probe at port 0x134-0x137 on isa0
 aic0 failed to probe at port 0x140-0x15f on isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 atkbd: the current kbd controller command byte 0067
 atkbd: keyboard ID 0x41ab (2)
 kbd0 at atkbd0
 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
 psm0: current command byte:0067
 psm0: failed to reset the aux device.
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 fb0: vga0, vga, type:VGA (5), flags:0x7007f
 fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
 fb0: init mode:24, bios mode:3, current mode:24
 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
 vga0: vga: WARNING: video mode switching is not fully supported on this adapter
 VGA parameters upon power-up
 50 18 10 00 00 08 03 00 02 6f 5f 4f 50 82 55 81 
 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
 VGA parameters in BIOS for mode 24
 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
 EGA/VGA parameters to be used for mode 24
 50 18 10 00 00 08 03 00 02 6f 5f 4f 50 82 55 81 
 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
 pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
 pcic1: not probed (disabled)
 sio0: irq maps: 0x41 0x51 0x41 0x41
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1: irq maps: 0x41 0x49 0x41 0x41
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A
 sio2: not probed (disabled)
 sio3: not probed (disabled)
 ppc0: parallel port found at 0x378
 ppc0: using extended I/O port range
 ppc0: ECP SPP ECP+EPP SPP
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 plip0: <PLIP network interface> on ppbus0
 bpf: lp0 attached
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
 fe0 failed to probe at port 0x300-0x31f on isa0
 ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0
 lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0
 cs0 failed to probe at port 0x300-0x31f on isa0
 sn0 failed to probe at port 0x300-0x30f irq 10 on isa0
 isa_probe_children: probing PnP devices
 BIOS Geometries:
  0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
  1:03f8843e 0..1016=1017 cylinders, 0..132=133 heads, 1..62=62 sectors
  0 accounted for
 Device configuration finished.
 bpf: lo0 attached
 bpf: ppp0 attached
 new masks: bio 685040, tty 63009a, net 67109a
 bpf: sl0 attached
 bpf: faith0 attached
 ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
 ata0-master: success setting UDMA2 on Intel chip
 Creating DISK ad0
 ad0: <WDC AC418000D/J78OA30K> ATA-4 disk at ata0-master
 ad0: 17206MB (35239680 sectors), 34960 cyls, 16 heads, 63 S/T, 512 B/S
 ad0: 16 secs/int, 1 depth queue, UDMA33
 ad0: piomode=4 dmamode=2 udmamode=4 cblid=0
 ad0: 17206MB <WDC AC418000D> [34960/16/63] at ata0-master UDMA33
 ata0-slave: piomode=3 dmamode=2 udmamode=-1 dmaflag=1
 ata0-slave: success setting PIO3 on generic chip
 acd0: <FX240S/j01> CDROM drive at ata0 as slave
 acd0: read 4134KB/s (34515KB/s), 256KB buffer, PIO3
 acd0: Reads: CD-R, CD-RW, CD-DA, packet
 acd0: Audio: play, 255 volume levels
 acd0: Mechanism: ejectable tray
 acd0: Medium: no/blank disc inside, unlocked
 Waiting 15 seconds for SCSI devices to settle
 ncr0: restart (scsi reset).
 Creating DISK da0
 pass0 at ncr0 bus 0 target 1 lun 0
 pass0: <SEAGATE ST15230N 0498> Fixed Direct Access SCSI-2 device 
 pass0: Serial Number 00195566
 pass0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
 Mounting root from ufs:ad0s2a
 da0 at ncr0 bus 0 target 1 lun 0
 da0: <SEAGATE ST15230N 0498> Fixed Direct Access SCSI-2 device 
 da0: Serial Number 00195566
 da0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
 da0: 4095MB (8386733 512 byte sectors: 255H 63S/T 522C)
 ad0s1: type 0x6, start 63, end = 1060289, size 1060227 : OK
 ad0s2: type 0xa5, start 1060290, end = 7341704, size 6281415 : OK
 ad0s3: type 0xa5, start 7341705, end = 35230544, size 27888840 : OK
 start_init: trying /sbin/init
 da0s1: type 0xa5, start 62, end = 8386181, size 8386120 : OK
 
 
 --------------8F41AE8DFFD88B677B4F70F9--
 

From: "Crist J. Clark" <crist.clark@attbi.com>
To: "Jin Guojun[DSD]" <j_guojun@lbl.gov>
Cc: bug-followup@freebsd.org
Subject: Re: kern/39449: wierd ata status
Date: Thu, 20 Jun 2002 09:15:27 -0700

 On Wed, Jun 19, 2002 at 05:40:42PM -0700, Jin Guojun[DSD] wrote:
 [snip]
 
 > Attached again "x". Look at the #3, which had exact things configured as #2
 > except the secondary IDE is disabled in BIOS. Yes, it probably looks 
 > very similar as the #4, which had disk drive unpluged. Search and read
 > the title line start with
 
 Huh. Well that is really strange. I am not sure at all what is going
 on with that, how you can disable a PCI device in the BIOS. Maybe
 Soren could tell you.
 -- 
 Crist J. Clark                     |     cjclark@alum.mit.edu
                                    |     cjclark@jhu.edu
 http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

From: "Jin Guojun[DSD]" <j_guojun@lbl.gov>
To: cjclark@alum.mit.edu
Cc: bug-followup@freebsd.org
Subject: Re: kern/39449: wierd ata status
Date: Thu, 20 Jun 2002 11:59:59 -0700

 "Crist J. Clark" wrote:
 > 
 > On Wed, Jun 19, 2002 at 05:40:42PM -0700, Jin Guojun[DSD] wrote:
 > [snip]
 > 
 > > Attached again "x". Look at the #3, which had exact things configured as #2
 > > except the secondary IDE is disabled in BIOS. Yes, it probably looks
 > > very similar as the #4, which had disk drive unpluged. Search and read
 > > the title line start with
 > 
 > Huh. Well that is really strange. I am not sure at all what is going
 > on with that, how you can disable a PCI device in the BIOS. Maybe
 > Soren could tell you.
 
 Because you did not look at the status report closely and made some
 assumption based on a sort of guessing.
 IDE can be disabled in BIOS is not new. It is in history.
 
 ata_probe(device_t dev) in /sys/dev/ata/ata-all.c clearly knows how 
 to distinguish these cases:
 
 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd808
 ata1: mask=00 status0=a5 status1=a5
 ata1: probe allocation failed
 
 status 0xa5 shows no device is attached.
 
 
 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd808
 ata1: mask=00 status0=ff status1=ff
 ata1: probe allocation failed
 
 status 0xFF shows the controller is disabled.
 
 I think to add a BIOS status checking is reasonable and valuable.
 (see the diff below)
 I would like to know what is the developer's thought. If this feature
 will be permanently removed, then I will do it on my own.
  
 >> 4.6 removed status checking and changed ata_reset() to ignore the
 further checking:
     if (bootverbose)
         ata_printf(ch, -1, "iobase=0x%04x altiobase=0x%04x bmaddr=0x%04x\n",
                    (int)rman_get_start(ch->r_io),
                    (int)rman_get_start(ch->r_altio),
                    (ch->r_bmio) ? (int)rman_get_start(ch->r_bmio) : 0);
 
     ata_reset(ch);
 
 << this is the same place 4.5 does:
     if (bootverbose)
         ata_printf(scp, -1, "iobase=0x%04x altiobase=0x%04x bmaddr=0x%04x\n",
                    scp->ioaddr, scp->altioaddr, scp->bmaddr);
 
     /* do we have any signs of ATA/ATAPI HW being present ? */
     outb(scp->ioaddr + ATA_DRIVE, ATA_D_IBM | ATA_MASTER);
     DELAY(1);
     status0 = inb(scp->ioaddr + ATA_STATUS);
     outb(scp->ioaddr + ATA_DRIVE, ATA_D_IBM | ATA_SLAVE);
     DELAY(1);
     status1 = inb(scp->ioaddr + ATA_STATUS);
     if ((status0 & 0xf8) != 0xf8 && status0 != 0xa5)
         mask |= 0x01;
     if ((status1 & 0xf8) != 0xf8 && status1 != 0xa5)
         mask |= 0x02;
     if (bootverbose)
         ata_printf(scp, -1, "mask=%02x status0=%02x status1=%02x\n",
                    mask, status0, status1);
     if (!mask)
         goto failure;
 
     ata_reset(scp, &mask);
 
     if (!mask)
         goto failure;
 
 > --
 > Crist J. Clark                     |     cjclark@alum.mit.edu
 >                                    |     cjclark@jhu.edu
 > http://people.freebsd.org/~cjc/    |     cjc@freebsd.org
 
 -- 
 ------------ Jin Guojun ----------- v --- j_guojun@lbl.gov ---
 Distributed Systems Department		http://www.itg.lbl.gov/~jin
 M/S 50B-2239				Ph#:(510) 486-7531 Fax: 486-6363
 Lawrence Berkeley National Laboratory,	Berkeley, CA 94720
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: cjc 
Responsible-Changed-When: Wed Jun 26 23:55:53 PDT 2002 
Responsible-Changed-Why:  
Now that this has been narrowed a bit and patch provided, give it to 
the ATA maintainer for consideration. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39449 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Mon Aug 19 12:13:30 PDT 2002 
State-Changed-Why:  
sigh. 

The way it works is *intended* and is needed for hotswapping of 
devices (for the main controllers that is mostly used in notebooks). 
Now, since its now possible to share irq15 (if your HW supports it) 
I have trouble to see the problem at all. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39449 

From: "Jin Guojun [DSD]" <j_guojun@lbl.gov>
To: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@FreeBSD.org>,
	bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/39449: wierd ata status
Date: Mon, 19 Aug 2002 12:55:18 -0700

 "Sren Schmidt" wrote:
 
 > Synopsis: wierd ata status
 >
 > State-Changed-From-To: open->closed
 > State-Changed-By: sos
 > State-Changed-When: Mon Aug 19 12:13:30 PDT 2002
 > State-Changed-Why:
 > sigh.
 >
 > The way it works is *intended* and is needed for hotswapping of
 > devices (for the main controllers that is mostly used in notebooks).
 > Now, since its now possible to share irq15 (if your HW supports it)
 > I have trouble to see the problem at all.
 >
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=39449
 
 Two things do not make sence:
 
 (1) the human has no choice to select irq, but the driver does. or Can you tell
 me
 how to force a driver to use a certain irq?
 
 (2) why cannot disable a non used device, such as IDE 1, in the system?
 
 We are not talking if the drive does not present (return code 0xA5). We are
 talking
 disable it in BIOS (return code 0xFF). They are completely two different cases.
 The fix is very simple by just checking the return code.
 If people disable IDE in BIOS, they are sure that IDE will not be used, so no
 hotswapping will occur.
 
 Let me know if applying a fix is permanently not acceptable, and I will add
 patch
 in our configuration.
 
 --
 ------------ Jin Guojun ----------- v --- j_guojun@lbl.gov ---
 Distributed Systems Department          http://www.itg.lbl.gov/~jin
 M/S 50B-2239                            Ph#:(510) 486-7531 Fax: 486-6363
 Lawrence Berkeley National Laboratory,  Berkeley, CA 94720
 
 
 
>Unformatted:
