From nobody@FreeBSD.ORG  Sun Nov  5 20:58:23 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id E1D7737B4CF; Sun,  5 Nov 2000 20:58:23 -0800 (PST)
Message-Id: <20001106045823.E1D7737B4CF@hub.freebsd.org>
Date: Sun,  5 Nov 2000 20:58:23 -0800 (PST)
From: mars@cannoncreek.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: 4.2-Beta (11/06) Kernel does not detect Slave HDs
X-Send-Pr-Version: www-1.0

>Number:         22634
>Category:       kern
>Synopsis:       4.2-Beta (11/06) Kernel does not detect Slave HDs
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 05 21:00:01 PST 2000
>Closed-Date:    Wed May 30 02:34:29 PDT 2001
>Last-Modified:  Wed May 30 02:35:20 PDT 2001
>Originator:     Mars G. Miro
>Release:        FreeBSD-4.0R
>Organization:
Cannoncreek Asia
>Environment:
FreeBSD colorado.cannoncreek.com 4.0-RELEASE FreeBSD 4.0-RELEASE #2: Wed Oct 11 13:56:24 PHT 2000     root@colorado.cannoncreek.com:/usr/src/sys/compile/COLORADO  i386

>Description:
The Kernel on 4.2-Beta does not seem to support a filesystem that w/c is set ar a Slave HD. I believe that this is a serious bug because some users maybe using filesystems  using slave HDs and since the kernel does not detect it, it will never bring the system up.
>How-To-Repeat:
These are my Hardware:
    For IDE0 I am using two 10G HDs as Master and Slave
    For IDE1 I am using a CDRom as Master and a 2.5G as Slave.
   this is my /etc/fstab :

#Device	     Mountpoint	FStype	Options		Dump	Pass#
/dev/ad0s2b  none	swap	sw		0	0
/dev/ad0s2a  /		ufs	rw		1	1
/dev/ad1s1e  /home	ufs	rw		2	2
/dev/ad0s2f  /usr	ufs	rw		2	2
/dev/ad0s2e  /var	ufs	rw		2	2
/dev/acd0c   /cdrom	cd9660	ro,noauto	0	0
proc	     /proc	procfs	rw       	0	0

the Old Kernel detects my Primary Slave, from dmesg:
ad0: 9768MB <ST310212A> [19846/16/63] at ata0-master using UDMA66
ad1: 9768MB <ST310212A> [19846/16/63] at ata0-slave using UDMA66
ad3: 2014 <FUJITSU MPA3026AT> [4092/16/63] at ata1-slave WDMA2

When doing an upgrade to the latest Stable version of FreeBSD, which is 4.2-Beta(11/06). These are the steps i took, as i've always used, and also from /usr/src/UPDATING:
 0.) cvsup sources to cvs server (have tried 3 different servers)
 1.) buildworld
 2.) buildkernel, then installkernel
 3.) reboot to 1 user (shutdown now)
 4.) installworld
No Errors whatsoever in the above process, but in booting to the new kernel, it does not detect it:

       Can't open /dev/ad1s1e: Device not configured
       /dev/ad1s1e: Can't Check file system

   and then FSCK of course complains about inconsistencies...
   this is so because the kernel did not detect it, from dmesg:

    ad0: 9768MB <ST310212A> [19846/16/63] at ata0-master UDMA66
    ad3: 2014 <FUJITSU MPA3026AT> [4092/16/63] at ata1-slave WDMA2
    ^^^
    it was not able to detect ad1.

    I have posted this to sos@freebsd.org, and the freebsd-stable mailing list and various other people have experienced it: 

----------------snip--------------------- 
NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
I have seen this problem for one and half month. :-<
I'm still using 4.1-STABLE-20000822000000.

This world on 2000/Aug/22 is woking good. Here's an output of dmesg

ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
ad0: 12419MB <ST313032A> [25232/16/63] at ata0-master using UDMA33
ad1: 19547MB <FUJITSU MPE3204AT> [39714/16/63] at ata0-slave using UDMA66
acd0: CDROM <40X CD-ROM> at ata1-master using PIO4

The kernel on yesterday cannot detect the 'ad1'.
----------- 

  I have a (maybe) same problem, too.  My machine has two
IDE disks connected to Promise Ultra66 card.  One is at
ata2-master and another is at ata2-slave.  And no other
disks in the machine.  That is:

ata0-master: none
        ata0-slave: none
        ata1-master: CD-ROM
        ata1-slave: none
        ata2-master: 20GB HDD
        ata2-slave: 10GB HDD
        ata3-master: none
        ata3-slave: none

(ata0/ata1 is on-board IDE controller, and ata1/ata2 is
Promise Ultra66 IDE controller.)

  4.1.1-STABLE which was cvsuped at Oct. 14th said:

ad4: 19600MB <SAMSUNG SV2046D> [39824/16/63] at ata2-master using UDMA66
ad5: 9768MB <ST310212A> [19846/16/63] at ata2-slave using UDMA66
acd0: CDROM <NEC CD-ROM DRIVE:273> at ata1-master using PIO3

  But 4.2-BETA which was cvsuped at Nov. 3rd only said:

ad4: 19600MB <SAMSUNG SV2046D> [39824/16/63] at ata2-master UDMA66
acd0: CDROM <NEC CD-ROM DRIVE:273> at ata1-master using PIO3

  As above, 4.2-BETA does not detect ata2-slave.  What's
wrong?

--
Yoichi Ogawa <yo1@lares.dti.ne.jp>

--------snip---------------------------------


>Fix:
I don't know, at the moment i just boot to the old kernel, but i'm having problems like segmentation fault, core dumps, naturally because the Base System is not in tune with the kernel.
I hope this problem gets fixed in time for 4.2-Release on the 15th...

thanx . ;-)

>Release-Note:
>Audit-Trail:

From: "Mars G. Miro" <mars@cannoncreek.com>
To: <freebsd-gnats-submit@FreeBSD.org>,
	"Mars G. Miro" <mars@cannoncreek.com>
Cc:  
Subject: Re: kern/22634: 4.2-Beta (11/06) Kernel does not detect Slave HDs
Date: Wed, 8 Nov 2000 11:32:08 +0800

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_0051_01C04977.88785FE0
 Content-Type: text/plain;
 	charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 guys,   =20
 
          Btw, the kernel detects the ATA-Slave but not the ad1s1 device; =
 from the dmesg in both kernels (using original 4.0R and 4.2Beta sources) =
 :
     atapci0: <VIA 82C596 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
     pci0: <VIA 83C572 USB controller> at 4.2 irq 11
 
 way down using the 4.0R sources, kernel detects it:
 ad0: 9768MB <ST310212A> [19846/16/63] at ata0-master using UDMA66
 ad1: 9768MB <ST310212A> [19846/16/63] at ata0-slave using UDMA66
 ad3: 2014 <FUJITSU MPA3026AT> [4092/16/63] at ata1-slave WDMA2
 
 but loses it in mounting the filesystems using the kernel compiled from =
 4.2Beta src:
     ad0: 9768MB <ST310212A> [19846/16/63] at ata0-master UDMA66
     ad3: 2014 <FUJITSU MPA3026AT> [4092/16/63] at ata1-slave WDMA2
 
 
 Cheers,
 Mars
 
 
 
 ------=_NextPart_000_0051_01C04977.88785FE0
 Content-Type: text/html;
 	charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <HTML><HEAD>
 <META content=3D"text/html; charset=3Diso-8859-1" =
 http-equiv=3DContent-Type>
 <META content=3D"MSHTML 5.00.3105.105" name=3DGENERATOR>
 <STYLE></STYLE>
 </HEAD>
 <BODY bgColor=3D#ffffff>
 <DIV><FONT face=3DArial size=3D2>guys,&nbsp;&nbsp;&nbsp; </FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT face=3DArial =
 size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
 Btw, the kernel detects the ATA-Slave but not the ad1s1 device; from the =
 dmesg=20
 in both kernels (using original 4.0R and 4.2Beta sources) :</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; <FONT =
 size=3D2>atapci0: &lt;VIA=20
 82C596 ATA33 controller&gt; port 0xd800-0xd80f at device 4.1 on=20
 pci0</FONT></FONT></DIV>
 <DIV><FONT face=3DArial size=3D2><FONT size=3D2>&nbsp;&nbsp;&nbsp; ata0: =
 at 0x1f0 irq=20
 14 on atapci0</FONT></FONT></DIV>
 <DIV><FONT face=3DArial size=3D2><FONT size=3D2>&nbsp;&nbsp;&nbsp; ata1: =
 at 0x170 irq=20
 15 on atapci0</FONT></FONT></DIV>
 <DIV><FONT face=3DArial size=3D2><FONT =
 size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;pci0: &lt;VIA=20
 83C572 USB controller&gt; at 4.2 irq 11</FONT></FONT></DIV>
 <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
 <DIV><FONT face=3DArial size=3D2>way down using the 4.0R sources, kernel =
 detects=20
 it:</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>ad0: 9768MB &lt;ST310212A&gt; =
 [19846/16/63] at=20
 ata0-master using UDMA66<BR>ad1: 9768MB &lt;ST310212A&gt; [19846/16/63] =
 at=20
 ata0-slave using UDMA66<BR>ad3: 2014 &lt;FUJITSU MPA3026AT&gt; =
 [4092/16/63] at=20
 ata1-slave WDMA2<BR></FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>but loses it in mounting the =
 filesystems using the=20
 kernel compiled from 4.2Beta src:</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; ad0: 9768MB =
 &lt;ST310212A&gt;=20
 [19846/16/63] at ata0-master UDMA66<BR>&nbsp;&nbsp;&nbsp; ad3: 2014 =
 &lt;FUJITSU=20
 MPA3026AT&gt; [4092/16/63] at ata1-slave WDMA2</FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT face=3DArial size=3D2>Cheers,</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>Mars</FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT face=3DArial size=3D2><FONT=20
 size=3D2>&nbsp;</DIV></FONT></FONT></BODY></HTML>
 
 ------=_NextPart_000_0051_01C04977.88785FE0--
 
 

From: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org, sos@freebsd.org
Cc: mars@cannoncreek.com
Subject: Re: kern/22634: 4.2-Beta (11/06) Kernel does not detect Slave HDs
Date: 11 Nov 2000 01:26:00 +0900

 Hi,
 
 I tried today's kernel. It only detect ata0-master. :(
 The problem is getting more serious/critical. Ata1 also disappeared.
 
 The source tree (kernel and the world) is cvsupped since Fri Nov 10
 21:38 JST. Then 'make buildworld' and 'make buildkernel' are executed.
 
 I have 2 HDD and 1 CD which are connected to ata0-master, ata0-slave
 and ata1-slave respectively. 
 
 Old workable kernel which is built from the source of 'tag=RELENG_4
 date=2000.08.22.00.00.' detects them as:
 
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
 ad0: 12419MB <ST313032A> [25232/16/63] at ata0-master using UDMA33
 ad1: 19547MB <FUJITSU MPE3204AT> [39714/16/63] at ata0-slave using UDMA66
 acd0: CDROM <40X CD-ROM> at ata1-master using PIO4
 
 But today's kernel cannot detect ata1, ad1 and acd0, like this:
 
 ata0: at 0x1f0 irq 14 on atapci0
 ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
 ad0: 12419MB <ST313032A> [25232/16/63] at ata0-master UDMA33
 
 Kernel configuration is same which is at
 http://www.heimat.gr.jp/~nakaji/FreeBSD/NAKAJI4
 
 My motherboard is ECS P6BAT-A+. I'm using on-board IDE, I have no
 Ultra100 or RAID cards.
 
 Thanks.
 -- 
 NAKAJI Hiroyuki
 

From: Soren Schmidt <sos@freebsd.dk>
To: nakaji@tutrp.tut.ac.jp (NAKAJI Hiroyuki)
Cc: FreeBSD-gnats-submit@freebsd.org, sos@freebsd.org,
	mars@cannoncreek.com
Subject: Re: kern/22634: 4.2-Beta (11/06) Kernel does not detect Slave HDs
Date: Fri, 10 Nov 2000 19:08:56 +0100 (CET)

 It seems NAKAJI Hiroyuki wrote:
 > Hi,
 > 
 > I tried today's kernel. It only detect ata0-master. :(
 > The problem is getting more serious/critical. Ata1 also disappeared.
  
 Could you please try the patch I've announced on the lists and
 get back to me with the result ?
 
 ftp://freebsd.dk/pub/ATA/
 
 diff-42 for 4.2-BETA
 diff-50 for 5.0-current
 
 
 -Sren
 

From: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
To: Soren Schmidt <sos@freebsd.dk>,
	Freebsd-Gnats-Submit <FreeBSD-gnats-submit@freebsd.org>
Cc:  
Subject: Re: kern/22634: 4.2-Beta (11/06) Kernel does not detect Slave HDs
Date: 11 Nov 2000 10:09:42 +0900

 Soren, thank you for your work.
 
 >>>>> In <200011101810.KAA83061@freefall.freebsd.org> 
 >>>>>	sos@freebsd.dk (Soren Schmidt) wrote:
 
 nakaji> I tried today's kernel. It only detect ata0-master. :(
 nakaji> The problem is getting more serious/critical. Ata1 also disappeared.
   
 sos>  Could you please try the patch I've announced on the lists and
 sos>  get back to me with the result ?
 
 With same source tree (ata-all.c is 1.50.2.11), I executed the
 following commands.
 
 # cd /sys/dev/ata
 # patch < 4.2-diff
 # cd /usr/src
 # make buildkernel KERNEL=NAKAJI4
 # make installkernel KERNEL=NAKAJI4
 # reboot (in sigle user mode)
 
 After this, 'dmesg | grep ata' reports:
 
 atapci0: <VIA 82C596 ATA66 controller> port 0xd000-0xd00f at device 7.1 on pci0
 ata0: mask=03 status0=50 status1=50
 ata0: mask=03 status0=50 status1=00
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: mask=03 status0=50 status1=51
 ata1: mask=03 status0=10 status1=00
 ata1: at 0x170 irq 15 on atapci0
 ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
 ad0: 12419MB <ST313032A> [25232/16/63] at ata0-master UDMA33
 acd0: CDROM <40X CD-ROM> at ata1-master using PIO4
 
 Ata1 and acd0 are back again, thanks, but ad1 still not come back!
 
 Bios and /boot/loader both detect two hard disk drives on primary
 master and slave, i.e. disk C: and D:.
 -- 
 NAKAJI Hiroyuki
 

From: Soren Schmidt <sos@freebsd.dk>
To: nakaji@tutrp.tut.ac.jp (NAKAJI Hiroyuki)
Cc: FreeBSD-gnats-submit@freebsd.org (Freebsd-Gnats-Submit)
Subject: Re: kern/22634: 4.2-Beta (11/06) Kernel does not detect Slave HDs
Date: Sat, 11 Nov 2000 08:13:01 +0100 (CET)

 It seems NAKAJI Hiroyuki wrote:
 > After this, 'dmesg | grep ata' reports:
 
 I need the _full_ dmesg to tell what going on, please mail that to me..
 
 
 -Sren
 

From: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
To: Soren Schmidt <sos@freebsd.dk>
Cc: FreeBSD-gnats-submit@freebsd.org (Freebsd-Gnats-Submit)
Subject: Re: kern/22634: 4.2-Beta (11/06) Kernel does not detect Slave HDs
Date: 12 Nov 2000 21:04:09 +0900

 --Multipart_Sun_Nov_12_21:04:09_2000-1
 Content-Type: text/plain; charset=US-ASCII
 
 >>>>> In <200011110713.IAA16857@freebsd.dk> 
 >>>>>	Soren Schmidt <sos@freebsd.dk> wrote:
 
 Soren> I need the _full_ dmesg to tell what going on, please mail that to me..
 
 Sorry. Here are attachments.
 
 1. dmesg from kernel of 2000.08.22.
 2. dmesg from kernel of 2000.11.11.
 -- 
 NAKAJI Hiroyuki
 
 --Multipart_Sun_Nov_12_21:04:09_2000-1
 Content-Type: application/octet-stream
 Content-Disposition: attachment; filename="dmesg.20000822"
 Content-Transfer-Encoding: 7bit
 
 Copyright (c) 1992-2000 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.1-STABLE #0: Fri Nov 10 20:11:25 JST 2000
     root@pcat.heimat.gr.jp:/usr/obj/usr/src/sys/NAKAJI4
 Timecounter "i8254"  frequency 1193182 Hz
 CPU: Pentium II/Pentium II Xeon/Celeron (434.32-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
 real memory  = 268369920 (262080K bytes)
 config> port ed0 0x300
 config> irq ed0 10
 config> enable apm
 avail memory = 257216512 (251188K bytes)
 Preloaded elf kernel "kernel" at 0xc0406000.
 Preloaded userconfig_script "/boot/kernel.conf" at 0xc040609c.
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 apm0: <APM BIOS> on motherboard
 apm: found APM BIOS v1.2, connected at v1.2
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcib0: <Host to PCI bridge> on motherboard
 pci0: <PCI bus> on pcib0
 pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 pci1: <PCI bus> on pcib2
 pci1: <S3 Trio3D/2X graphics accelerator> at 0.0
 isab0: <VIA 82C596B PCI-ISA bridge> at device 7.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <VIA 82C596B ATA66 controller> port 0xd000-0xd00f at device 7.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 11 at device 7.2 on pci0
 usb0: <VIA 83C572 USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhub0: port 1 power on failed, IOERROR
 uhub0: port 2 power on failed, IOERROR
 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd800-0xd87f mem 0xdd000000-0xdd00007f irq 11 at device 9.0 on pci0
 xl0: Ethernet address: 00:01:02:c2:15:ad
 miibus0: <MII bus> on xl0
 xlphy0: <3Com internal media interface> on miibus0
 xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 pci0: <unknown card> (vendor=0x13f6, dev=0x0111) at 13.0 irq 11
 pci0: <unknown card> (vendor=0x13f6, dev=0x0211) at 13.1 irq 11
 pcib1: <Host to PCI bridge> on motherboard
 pci2: <PCI bus> on pcib1
 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
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: model Generic PS/2 mouse, device ID 0
 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/16 bytes threshold
 ppbus0: IEEE1284 device found /NIBBLE
 Probing for PnP devices on ppbus0:
 ppbus0: <Canon BJC-420J> PRINTER BJ,PR,BJL,BJRaster,BSCC
 plip0: <PLIP network interface> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
 ad0: 12419MB <ST313032A> [25232/16/63] at ata0-master using UDMA33
 ad1: 19547MB <FUJITSU MPE3204AT> [39714/16/63] at ata0-slave using UDMA66
 acd0: CDROM <40X CD-ROM> at ata1-master using PIO4
 Mounting root from ufs:/dev/ad0s1a
 
 --Multipart_Sun_Nov_12_21:04:09_2000-1
 Content-Type: text/plain; charset=US-ASCII
 
 
 --Multipart_Sun_Nov_12_21:04:09_2000-1
 Content-Type: application/octet-stream
 Content-Disposition: attachment; filename="dmesg.20001112"
 
 Copyright (c) 1992-2000 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.2-BETA #0: Sat Nov 11 09:12:44 JST 2000
     nakaji@pcat.heimat.gr.jp:/usr/obj/usr/src/sys/NAKAJI4
 Timecounter "i8254"  frequency 1193182 Hz
 CPU: Pentium II/Pentium II Xeon/Celeron (434.32-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
 real memory  = 268369920 (262080K bytes)
 config> port ed0 0x300
 config> irq ed0 10
 config> enable apm
 avail memory = 257142784 (251116K bytes)
 Preloaded elf kernel "kernel" at 0xc0418000.
 Preloaded userconfig_script "/boot/kernel.conf" at 0xc04180a8.
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 apm0: <APM BIOS> on motherboard
 apm: found APM BIOS v1.2, connected at v1.2
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcib0: <Host to PCI bridge> on motherboard
 pci0: <PCI bus> on pcib0
 pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 pci1: <PCI bus> on pcib2
 pci1: <S3 Trio3D/2X graphics accelerator> at 0.0
 isab0: <VIA 82C596B PCI-ISA bridge> at device 7.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <VIA 82C596 ATA66 controller> port 0xd000-0xd00f at device 7.1 on pci0
 ata0: mask=03 status0=50 status1=50
 probe ATAPI slave a=00 b=00
 probe ATAPI master a=00 b=00
 ata0: mask=03 status0=50 status1=00
 probe ATA master a=01 b=a5
 devices=01
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: mask=03 status0=50 status1=51
 probe ATAPI master a=14 b=eb
 probe ATAPI slave a=7f b=7f
 ata1: mask=03 status0=10 status1=00
 devices=04
 ata1: at 0x170 irq 15 on atapci0
 uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 11 at device 7.2 on pci0
 usb0: <VIA 83C572 USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd800-0xd87f mem 0xdd000000-0xdd00007f irq 11 at device 9.0 on pci0
 xl0: Ethernet address: 00:01:02:c2:15:ad
 miibus0: <MII bus> on xl0
 xlphy0: <3Com internal media interface> on miibus0
 xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 pci0: <unknown card> (vendor=0x13f6, dev=0x0111) at 13.0 irq 11
 pci0: <unknown card> (vendor=0x13f6, dev=0x0211) at 13.1 irq 11
 pcib1: <Host to PCI bridge> on motherboard
 pci2: <PCI bus> on pcib1
 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
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: model Generic PS/2 mouse, device ID 0
 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/16 bytes threshold
 ppbus0: IEEE1284 device found /NIBBLE
 Probing for PnP devices on ppbus0:
 ppbus0: <Canon BJC-420J> PRINTER BJ,PR,BJL,BJRaster,BSCC
 plip0: <PLIP network interface> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
 ad0: 12419MB <ST313032A> [25232/16/63] at ata0-master UDMA33
 acd0: CDROM <40X CD-ROM> at ata1-master using PIO4
 Mounting root from ufs:/dev/ad0s1a
 
 --Multipart_Sun_Nov_12_21:04:09_2000-1
 Content-Type: text/plain; charset=US-ASCII
 
 
 --Multipart_Sun_Nov_12_21:04:09_2000-1--
 

From: Soren Schmidt <sos@freebsd.dk>
To: nakaji@tutrp.tut.ac.jp (NAKAJI Hiroyuki)
Cc: FreeBSD-gnats-submit@freebsd.org (Freebsd-Gnats-Submit)
Subject: Re: kern/22634: 4.2-Beta (11/06) Kernel does not detect Slave HDs
Date: Sun, 12 Nov 2000 15:37:27 +0100 (CET)

 It seems NAKAJI Hiroyuki wrote:
 > >>>>> In <200011110713.IAA16857@freebsd.dk> 
 > >>>>>	Soren Schmidt <sos@freebsd.dk> wrote:
 > 
 > Soren> I need the _full_ dmesg to tell what going on, please mail that to me..
 > 
 > Sorry. Here are attachments.
 
 OK, the old one is not of much use since its not verbose and doesn't
 contain the info I'm looking for, but, the new one is with the first
 patch I announced, please try the new one diff-4.2-1 as that should
 fix the problem...
 
 -Sren
 

From: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
To: Soren Schmidt <sos@freebsd.dk>
Cc: FreeBSD-gnats-submit@freebsd.org (Freebsd-Gnats-Submit)
Subject: Re: kern/22634: 4.2-Beta (11/06) Kernel does not detect Slave HDs
Date: 13 Nov 2000 00:46:25 +0900

 --Multipart_Mon_Nov_13_00:46:25_2000-1
 Content-Type: text/plain; charset=US-ASCII
 
 >>>>> In <200011121437.PAA47290@freebsd.dk> 
 >>>>>	Soren Schmidt <sos@freebsd.dk> wrote:
 
 Soren> OK, the old one is not of much use since its not verbose and doesn't
 Soren> contain the info I'm looking for, but, the new one is with the first
 Soren> patch I announced, please try the new one diff-4.2-1 as that should
 Soren> fix the problem...
 
 I see. I got dmesg again with '-v' option. But new diff-4.2-1 did not
 fix the problem, acd0 disappeared again...
 
 Here are dmesges. First is kernel of 2000.08.22 and the other is
 kernel of 2000.11.11 patched with diff-4.2-1.
 
 Thanks.
 -- 
 NAKAJI Hiroyuki
 
 --Multipart_Mon_Nov_13_00:46:25_2000-1
 Content-Type: application/octet-stream
 Content-Disposition: attachment; filename="dmesg-v.20000822"
 Content-Transfer-Encoding: 7bit
 
 Copyright (c) 1992-2000 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.1-STABLE #0: Fri Nov 10 20:11:25 JST 2000
     root@pcat.heimat.gr.jp:/usr/obj/usr/src/sys/NAKAJI4
 Calibrating clock(s) ... TSC clock: 434327869 Hz, i8254 clock: 1193209 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 (434.32-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
 real memory  = 268369920 (262080K bytes)
 Physical memory chunk(s):
 0x00001000 - 0x0009efff, 647168 bytes (158 pages)
 0x0041f000 - 0x0ffe7fff, 264015872 bytes (64457 pages)
 config> port ed0 0x300
 config> irq ed0 10
 config> enable apm
 avail memory = 257216512 (251188K bytes)
 bios32: Found BIOS32 Service Directory header at 0xc00fad40
 bios32: Entry = 0xfb240 (c00fb240)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0xb270
 pnpbios: Found PnP BIOS data at 0xc00fbf80
 pnpbios: Entry = f0000:bfa8  Rev = 1.0
 Other BIOS signatures found:
 ACPI: 000f72b0
 Preloaded elf kernel "kernel" at 0xc0406000.
 Preloaded userconfig_script "/boot/kernel.conf" at 0xc04060a8.
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 Creating DISK md0
 Math emulator present
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x80003840
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=06911106)
 pcib-: pcib0 exists, using next available unit number
 apm0: <APM BIOS> on motherboard
 apm: found APM BIOS v1.2, connected at v1.2
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000060
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=06911106)
 pcib0: <Host to PCI bridge> on motherboard
 found->	vendor=0x1106, dev=0x0691, revid=0x44
 	class=06-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	map[10]: type 1, range 32, base d8000000, size 26
 found->	vendor=0x1106, dev=0x8598, revid=0x00
 	class=06-04-00, hdrtype=0x01, mfdev=0
 	subordinatebus=1 	secondarybus=1
 found->	vendor=0x1106, dev=0x0596, revid=0x23
 	class=06-01-00, hdrtype=0x00, mfdev=1
 	subordinatebus=0 	secondarybus=0
 found->	vendor=0x1106, dev=0x0571, revid=0x10
 	class=01-01-8a, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	map[20]: type 1, range 32, base 0000d000, size  4
 found->	vendor=0x1106, dev=0x3038, revid=0x11
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=d, irq=11
 	map[20]: type 1, range 32, base 0000d400, size  5
 found->	vendor=0x1106, dev=0x3050, revid=0x30
 	class=06-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 found->	vendor=0x10b7, dev=0x9055, revid=0x30
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=11
 	map[10]: type 1, range 32, base 0000d800, size  7
 	map[14]: type 1, range 32, base dd000000, size  7
 found->	vendor=0x13f6, dev=0x0111, revid=0x10
 	class=04-01-00, hdrtype=0x00, mfdev=1
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=11
 	map[10]: type 1, range 32, base 0000dc00, size  8
 found->	vendor=0x13f6, dev=0x0211, revid=0x10
 	class=07-80-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=b, irq=11
 	map[10]: type 1, range 32, base 0000e000, size  6
 pci0: <PCI bus> on pcib0
 pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 found->	vendor=0x5333, dev=0x8a13, revid=0x02
 	class=03-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	map[10]: type 1, range 32, base d0000000, size 26
 pci1: <PCI bus> on pcib2
 pci1: <S3 Trio3D/2X graphics accelerator> (vendor=0x5333, dev=0x8a13) at 0.0
 isab0: <VIA 82C596B PCI-ISA bridge> at device 7.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <VIA 82C596B ATA66 controller> port 0xd000-0xd00f at device 7.1 on pci0
 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xd000
 ata0: mask=03 status0=50 status1=50
 ata0: mask=03 status0=50 status1=50
 ata0: devices = 0x3
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd008
 ata1: mask=03 status0=50 status1=51
 ata1: mask=03 status0=10 status1=00
 ata1: devices = 0x4
 ata1: at 0x170 irq 15 on atapci0
 uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 11 at device 7.2 on pci0
 usb0: <VIA 83C572 USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhub0: port 1 power on failed, IOERROR
 uhub0: port 2 power on failed, IOERROR
 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd800-0xd87f mem 0xdd000000-0xdd00007f irq 11 at device 9.0 on pci0
 	using shared irq11.
 xl0: Ethernet address: 00:01:02:c2:15:ad
 xl0: media options word: a
 xl0: found MII/AUTO
 miibus0: <MII bus> on xl0
 xlphy0: <3Com internal media interface> on miibus0
 xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 bpf: xl0 attached
 pci0: <unknown card> (vendor=0x13f6, dev=0x0111) at 13.0 irq 11
 pci0: <unknown card> (vendor=0x13f6, dev=0x0211) at 13.1 irq 11
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=06911106)
 pci-: pci1 exists, using next available unit number
 pcib1: <Host to PCI bridge> on motherboard
 pci2: <PCI bus> on pcib1
 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
 fe0: EEPROM(SSI):  0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):1a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):1b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):1c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):1d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):1e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):1f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 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
 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
 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
 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 0047
 atkbd: keyboard ID 0x41ab (2)
 kbdc: RESET_KBD return code:00fa
 kbdc: RESET_KBD status:00aa
 kbd0 at atkbd0
 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
 psm0: current command byte:0047
 kbdc: TEST_AUX_PORT status:0000
 kbdc: RESET_AUX return code:00fa
 kbdc: RESET_AUX status:00aa
 kbdc: RESET_AUX ID:0000
 psm: status 00 02 64
 psm: status 00 00 64
 psm: status 00 03 64
 psm: status 00 03 64
 psm: data 08 00 00
 psm: status 10 00 64
 psm: status 00 02 64
 psm: data 08 00 00
 psm: status 00 02 64
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
 psm0: config:00000000, flags:00000000, packet size:3
 psm0: syncmask:c0, syncbits:00
 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
 VGA parameters upon power-up
 50 18 10 00 00 00 03 00 02 67 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 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 
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
 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/16 bytes threshold
 ppbus0: IEEE1284 device found /NIBBLE/NIBBLE_ID/Extensibility Link
 Probing for PnP devices on ppbus0:
 ppbus0: <Canon BJC-420J> PRINTER BJ,PR,BJL,BJRaster,BSCC
 plip0: <PLIP network interface> on ppbus0
 bpf: lp0 attached
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 isa_probe_children: probing PnP devices
 BIOS Geometries:
  0:03ff0f3f 0..1023=1024 cylinders, 0..15=16 heads, 1..63=63 sectors
  1:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
  0 accounted for
 Device configuration finished.
 bpf: gif0 attached
 bpf: gif1 attached
 bpf: gif2 attached
 bpf: gif3 attached
 bpf: lo0 attached
 bpf: ppp0 attached
 new masks: bio 68c840, tty 63109a, net 67189a
 bpf: sl0 attached
 bpf: faith0 attached
 ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
 ata0-master: success setting up UDMA2 mode on VIA chip
 ad0: <ST313032A/3.09> ATA-4 disk at ata0 as master
 ad0: 12419MB (25434228 sectors), 25232 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
 Creating DISK ad0
 Creating DISK wd0
 ata0-slave: success setting up UDMA4 mode on VIA chip
 ad1: <FUJITSU MPE3204AT/ED-03-08> ATA-4 disk at ata0 as slave
 ad1: 19547MB (40032696 sectors), 39714 cyls, 16 heads, 63 S/T, 512 B/S
 ad1: 16 secs/int, 1 depth queue, UDMA66
 ad1: piomode=4 dmamode=2 udmamode=4 cblid=1
 Creating DISK ad1
 Creating DISK wd1
 ata1-master: piomode=4 dmamode=2 udmamode=2 dmaflag=1
 ata1-master: success setting up PIO4 mode on generic chip
 acd0: <40X CD-ROM/VER 2.2A> CDROM drive at ata1 as master
 acd0: read 171KB/s (6875KB/s), 128KB buffer, PIO4
 acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
 acd0: Audio: play, 255 volume levels
 acd0: Mechanism: ejectable tray
 acd0: Medium: no/blank disc inside, unlocked
 Mounting root from ufs:/dev/ad0s1a
 ad0s1: type 0xa5, start 63, end = 25433855, size 25433793 : OK
 start_init: trying /sbin/init
 ad1s1: type 0xa5, start 63, end = 40017914, size 40017852 : OK
 
 --Multipart_Mon_Nov_13_00:46:25_2000-1
 Content-Type: application/octet-stream
 Content-Disposition: attachment; filename="dmesg-v.20001112"
 Content-Transfer-Encoding: 7bit
 
 Copyright (c) 1992-2000 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.2-BETA #0: Sun Nov 12 22:19:11 JST 2000
     root@pcat.heimat.gr.jp:/usr/obj/usr/src/sys/NAKAJI4
 Calibrating clock(s) ... TSC clock: 434328050 Hz, i8254 clock: 1193209 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 (434.32-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
 real memory  = 268369920 (262080K bytes)
 Physical memory chunk(s):
 0x00001000 - 0x0009efff, 647168 bytes (158 pages)
 0x00431000 - 0x0ffe7fff, 263942144 bytes (64439 pages)
 config> port ed0 0x300
 config> irq ed0 10
 config> enable apm
 avail memory = 257142784 (251116K bytes)
 bios32: Found BIOS32 Service Directory header at 0xc00fad40
 bios32: Entry = 0xfb240 (c00fb240)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0xb270
 pnpbios: Found PnP BIOS data at 0xc00fbf80
 pnpbios: Entry = f0000:bfa8  Rev = 1.0
 Other BIOS signatures found:
 ACPI: 000f72b0
 Preloaded elf kernel "kernel" at 0xc0418000.
 Preloaded userconfig_script "/boot/kernel.conf" at 0xc04180a8.
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 Creating DISK md0
 Math emulator present
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x80003840
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=06911106)
 pcib-: pcib0 exists, using next available unit number
 apm0: <APM BIOS> on motherboard
 apm: found APM BIOS v1.2, connected at v1.2
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000060
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=06911106)
 pcib0: <Host to PCI bridge> on motherboard
 found->	vendor=0x1106, dev=0x0691, revid=0x44
 	class=06-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	map[10]: type 1, range 32, base d8000000, size 26
 found->	vendor=0x1106, dev=0x8598, revid=0x00
 	class=06-04-00, hdrtype=0x01, mfdev=0
 	subordinatebus=1 	secondarybus=1
 found->	vendor=0x1106, dev=0x0596, revid=0x23
 	class=06-01-00, hdrtype=0x00, mfdev=1
 	subordinatebus=0 	secondarybus=0
 found->	vendor=0x1106, dev=0x0571, revid=0x10
 	class=01-01-8a, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	map[20]: type 1, range 32, base 0000d000, size  4
 found->	vendor=0x1106, dev=0x3038, revid=0x11
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=d, irq=11
 	map[20]: type 1, range 32, base 0000d400, size  5
 found->	vendor=0x1106, dev=0x3050, revid=0x30
 	class=06-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 found->	vendor=0x10b7, dev=0x9055, revid=0x30
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=11
 	map[10]: type 1, range 32, base 0000d800, size  7
 	map[14]: type 1, range 32, base dd000000, size  7
 found->	vendor=0x13f6, dev=0x0111, revid=0x10
 	class=04-01-00, hdrtype=0x00, mfdev=1
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=11
 	map[10]: type 1, range 32, base 0000dc00, size  8
 found->	vendor=0x13f6, dev=0x0211, revid=0x10
 	class=07-80-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=b, irq=11
 	map[10]: type 1, range 32, base 0000e000, size  6
 pci0: <PCI bus> on pcib0
 pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 found->	vendor=0x5333, dev=0x8a13, revid=0x02
 	class=03-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	map[10]: type 1, range 32, base d0000000, size 26
 pci1: <PCI bus> on pcib2
 pci1: <S3 Trio3D/2X graphics accelerator> (vendor=0x5333, dev=0x8a13) at 0.0
 isab0: <VIA 82C596B PCI-ISA bridge> at device 7.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <VIA 82C596 ATA66 controller> port 0xd000-0xd00f at device 7.1 on pci0
 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xd000
 ata0: mask=03 status0=50 status1=50
 ata0: mask=03 status0=50 status1=00
 ata0: devices = 0x1
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd008
 ata1: mask=00 status0=50 status1=51
 ata1: probe allocation failed
 uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 11 at device 7.2 on pci0
 usb0: <VIA 83C572 USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd800-0xd87f mem 0xdd000000-0xdd00007f irq 11 at device 9.0 on pci0
 	using shared irq11.
 xl0: Ethernet address: 00:01:02:c2:15:ad
 xl0: media options word: a
 xl0: found MII/AUTO
 miibus0: <MII bus> on xl0
 xlphy0: <3Com internal media interface> on miibus0
 xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 bpf: xl0 attached
 pci0: <unknown card> (vendor=0x13f6, dev=0x0111) at 13.0 irq 11
 pci0: <unknown card> (vendor=0x13f6, dev=0x0211) at 13.1 irq 11
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=06911106)
 pci-: pci1 exists, using next available unit number
 pcib1: <Host to PCI bridge> on motherboard
 pci2: <PCI bus> on pcib1
 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
 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=50 status1=51
 ata3: probe allocation failed
 ata3 failed to probe at port 0x170-0x177,0x376 irq 15 on isa0
 adv0 failed to probe at port 0x330 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 0047
 atkbd: keyboard ID 0x41ab (2)
 kbdc: RESET_KBD return code:00fa
 kbdc: RESET_KBD status:00aa
 kbd0 at atkbd0
 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
 psm0: current command byte:0047
 kbdc: TEST_AUX_PORT status:0000
 kbdc: RESET_AUX return code:00fa
 kbdc: RESET_AUX status:00aa
 kbdc: RESET_AUX ID:0000
 psm: status 00 02 64
 psm: status 00 00 64
 psm: status 00 03 64
 psm: status 00 03 64
 psm: data 08 00 00
 psm: status 10 00 64
 psm: status 00 02 64
 psm: data 08 00 00
 psm: status 00 02 64
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
 psm0: config:00000000, flags:00000000, packet size:3
 psm0: syncmask:c0, syncbits:00
 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
 VGA parameters upon power-up
 50 18 10 00 00 00 03 00 02 67 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 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 
 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: 0x8041 0x8051 0x8041 0x8041
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1: irq maps: 0x8041 0x8049 0x8041 0x8041
 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/16 bytes threshold
 ppbus0: IEEE1284 device found /NIBBLE/NIBBLE_ID/Extensibility Link
 Probing for PnP devices on ppbus0:
 ppbus0: <Canon BJC-420J> PRINTER BJ,PR,BJL,BJRaster,BSCC
 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 0x300-0x31f iomem 0xd8000 irq 10 drq 0 on isa0
 fe0: EEPROM(SSI):  0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI): f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):1a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):1b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):1c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):1d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):1e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 fe0: EEPROM(SSI):1f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 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 on isa0
 sn0 failed to probe at port 0x300 irq 10 on isa0
 isa_probe_children: probing PnP devices
 BIOS Geometries:
  0:03ff0f3f 0..1023=1024 cylinders, 0..15=16 heads, 1..63=63 sectors
  1:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
  0 accounted for
 Device configuration finished.
 bpf: faith0 attached
 bpf: gif0 attached
 bpf: gif1 attached
 bpf: gif2 attached
 bpf: gif3 attached
 bpf: lo0 attached
 bpf: ppp0 attached
 new masks: bio 684840, tty 63109a, net 67189a
 bpf: sl0 attached
 ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
 ata0-master: success setting UDMA2 on VIA chip
 Creating DISK ad0
 Creating DISK wd0
 ad0: <ST313032A/3.09> ATA-4 disk at ata0-master
 ad0: 12419MB (25434228 sectors), 25232 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: 12419MB <ST313032A> [25232/16/63] at ata0-master UDMA33
 Mounting root from ufs:/dev/ad0s1a
 ad0s1: type 0xa5, start 63, end = 25433855, size 25433793 : OK
 start_init: trying /sbin/init
 
 --Multipart_Mon_Nov_13_00:46:25_2000-1--
 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Wed May 30 02:34:29 PDT 2001 
State-Changed-Why:  
This is belived to be fixed in 4.3 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22634 
>Unformatted:
