NetBSD Problem Report #54289

From www@netbsd.org  Fri Jun  7 21:50:58 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 1F7037A14F
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  7 Jun 2019 21:50:58 +0000 (UTC)
Message-Id: <20190607215057.482D87A1EF@mollari.NetBSD.org>
Date: Fri,  7 Jun 2019 21:50:57 +0000 (UTC)
From: vezhlys@gmail.com
Reply-To: vezhlys@gmail.com
To: gnats-bugs@NetBSD.org
Subject: wd1 fails to be identified properly
X-Send-Pr-Version: www-1.0

>Number:         54289
>Category:       kern
>Synopsis:       wd1 fails to be identified properly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 07 21:55:00 +0000 2019
>Closed-Date:    Mon Dec 28 22:48:14 +0000 2020
>Last-Modified:  Mon Dec 28 22:48:14 +0000 2020
>Originator:     Andrius V
>Release:        8.99.42
>Organization:
>Environment:
>Description:
The code commit for PR/54217 fixes the crash caused by (apparently) PR/49457 but it still has a second SATA drive detection issue:

wd1 at atabus5 drive 0
autoconfiguration error: ahcisata0 port 5: clearing WDCTL_RST failed for drive 0
wd1: autoconfiguration error: IDENTIFY failed
wd1: fixing 0 sector size
wd1: secperunit and ncylinders are zero
wd1(ahcisata0:5:0): using PIO mode 0

It doesn't happen on every boot but it happens on the most of them. On successful detection dmesg looks like this:

In case of successful detection dmesg messages look like this:
wd1 at atabus5 drive 0
wd1: <SAMSUNG HD161HJ>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 7, NCQ (32 tags)
wd1(ahcisata0:5:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)

wd0 drive is always identified correctly.

NetBSD 8.1 doesn't have this issue.

My hardware is Biostar X370GT5, AMD Ryzen 1600 CPU. 

wd0 is Kingston SSDNow KC400 SKC400S37/512G (has NetBSD installed)
wd1 is Samsung HD161HJ 160GB hard drive (has Windows 10 installed)
>How-To-Repeat:
Boot into NetBSD current one to several times, observe dmesg messages for wd1.
>Fix:

>Release-Note:

>Audit-Trail:
From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Fri, 7 Jun 2019 18:49:55 -0500 (CDT)

 I see this also on an HP Pavilion with AMD CPU and nVidia hardware:

 NetBSD 8.99.42 (GENERIC) #260: Thu Jun  6 21:10:22 CDT 2019
 	sysop@yggdrasil.technoskunk.fur:/r0/build/current/obj/amd64/sys/arch/amd64/compile/GENERIC
 total memory = 8191 MB
 avail memory = 7927 MB
 WARNING: module error: module `nfs' pushed by boot loader already exists
 timecounter: Timecounters tick every 10.000 msec
 Kernelized RAIDframe activated
 running cgd selftest aes-xts-256 aes-xts-512 done
 timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 HP-Pavilion NP218AA-ABA p6142p ( )
 [...]
 ioapic0 at mainbus0 apid 4: pa 0xfec00000, version 0x11, 24 pins
 cpu0 at mainbus0 apid 0
 cpu0: AMD Phenom(tm) 9650 Quad-Core Processor, id 0x100f23
 cpu0: package 0, core 0, smt 0
 cpu1 at mainbus0 apid 1
 cpu1: AMD Phenom(tm) 9650 Quad-Core Processor, id 0x100f23
 cpu1: package 0, core 1, smt 0
 cpu2 at mainbus0 apid 2
 cpu2: AMD Phenom(tm) 9650 Quad-Core Processor, id 0x100f23
 cpu2: package 0, core 2, smt 0
 cpu3 at mainbus0 apid 3
 cpu3: AMD Phenom(tm) 9650 Quad-Core Processor, id 0x100f23
 cpu3: package 0, core 3, smt 0
 [...]
 ahcisata0 at pci0 dev 9 function 0: NVIDIA nForce MCP77 AHCI Controller (rev. 0xa2)
 LSA0: Picked IRQ 21 with weight 1
 ahcisata0: 64-bit DMA
 ahcisata0: ignoring broken port multiplier support
 ahcisata0: AHCI revision 1.20, 4 ports, 32 slots, CAP 0xe3209f03<PMD,ISS=0x2=Gen2,SCLO,SAL,SSNTF,SNCQ,S64A>
 ahcisata0: interrupting at ioapic0 pin 21
 atabus0 at ahcisata0 channel 0
 atabus1 at ahcisata0 channel 1
 atabus2 at ahcisata0 channel 2
 atabus3 at ahcisata0 channel 3
 [...]


 When it succeeds:

 [...]
 ahcisata0 port 1: device present, speed: 3.0Gb/s
 ahcisata0 port 2: device present, speed: 1.5Gb/s
 autoconfiguration error: ahcisata0 port 2: clearing WDCTL_RST failed for drive 0
 autoconfiguration error: ahcisata0 port 1: clearing WDCTL_RST failed for drive 0
 ehci1: handing over low speed device on port 2 to ohci1
 wd0 at atabus1 drive 0
 wd0: <WDC WD6400AAKS-65A7B2>
 wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 wd0: 596 GB, 1240341 cyl, 16 head, 63 sec, 512 bytes/sect x 1250263728 sectors
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), NCQ (32 tags)
 wd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)
 atapibus0 at atabus2: 1 targets
 cd0 at atapibus0 drive 0: <ATAPI   DVD A  DH16A6L-C, 249920422616, ZHCH> cdrom removable
 cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
 cd0(ahcisata0:2:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
 [...]


 When it fails:

 [...]
 ahcisata0 port 1: device present, speed: 3.0Gb/s
 ahcisata0 port 2: device present, speed: 1.5Gb/s
 autoconfiguration error: ahcisata0 port 1: clearing WDCTL_RST failed for drive 0
 ehci1: handing over low speed device on port 2 to ohci1
 atabus2: Unrecognized signature 0x00000001 on port 0. Assuming it's a disk.
 wd0 at atabus1 drive 0
 wd0: <WDC WD6400AAKS-65A7B2>
 wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 wd0: 596 GB, 1240341 cyl, 16 head, 63 sec, 512 bytes/sect x 1250263728 sectors
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), NCQ (32 tags)
 wd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)
 wd1 at atabus2 drive 0
 autoconfiguration error: ahcisata0 port 2: clearing WDCTL_RST failed for drive 0
 IPsec: Initialized Security Association Processing.
 wd1: autoconfiguration error: IDENTIFY failed
 wd1: fixing 0 sector size
 wd1: secperunit and ncylinders are zero
 wd1(ahcisata0:2:0): using PIO mode 0
 [...]

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: mlelstv@serpens.de (Michael van Elst)
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Sat, 8 Jun 2019 08:04:39 -0000 (UTC)

 jdbaker@consolidated.net ("John D. Baker") writes:

 > When it succeeds:
 > atapibus0 at atabus2: 1 targets

 > When it fails:
 > wd1 at atabus2 drive 0


 The CD-ROM signature isn't read correctly. If you boot with 
 verbose option you might see a message like:

 "Unrecognized signature 0x12345678 on port 0. Assuming it's a disk."

 Maybe the returned signature gives a hint about the problem.

 -- 
 -- 
                                 Michael van Elst
 Internet: mlelstv@serpens.de
                                 "A potential Snark may lurk in every tree."

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Sat, 8 Jun 2019 15:32:49 -0500 (CDT)

 On Sat, 8 Jun 2019 08:10:02 +0000 (UTC), mlelstv@serpens.de (Michael
 van Elst) wrote:

 > The CD-ROM signature isn't read correctly. If you boot with 
 > verbose option you might see a message like:
 >  
 > "Unrecognized signature 0x12345678 on port 0. Assuming it's a disk."

 In my original addendum:

 atabus2: Unrecognized signature 0x00000001 on port 0. Assuming it's a disk.

 > Maybe the returned signature gives a hint about the problem.

 Booting with -v did not produce any additional data.  Booting with -x
 added a little.

 Excerpt from successful boot:

 [     1.514092] ahcisata0 port 1: device present, speed: 3.0Gb/s
 [     1.514092] ahcisata0 port 2: device present, speed: 1.5Gb/s
 [     2.044343] ahcisata0 port 2: error 0x8000000 sending FIS
 [     2.044343] autoconfiguration error: ahcisata0 port 2: clearing WDCTL_RST failed for drive 0
 [     2.054347] ahcisata0 port 1: error 0x8000000 sending FIS
 [     2.054347] autoconfiguration error: ahcisata0 port 1: clearing WDCTL_RST failed for drive 0
 [     2.454535] ehci1: handing over low speed device on port 2 to ohci1
 [     2.514563] uhub3: port 2, device disappeared after reset
 [     3.054818] wd0 at atabus1 drive 0
 [     3.054818] wd0: <WDC WD6400AAKS-65A7B2>
 [     3.054818] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 [     3.054818] wd0: 596 GB, 1240341 cyl, 16 head, 63 sec, 512 bytes/sect x 1250263728 sectors
 [     3.124850] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), NCQ (32 tags)
 [     3.124850] wd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)
 [     3.124850] atapibus0 at atabus2: 1 targets
 [     3.134863] cd0 at atapibus0 drive 0: <ATAPI   DVD A  DH16A6L-C, 249920422616, ZHCH> cdrom removable
 [     3.134863] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
 [     3.134863] cd0(ahcisata0:2:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)


 Excerpt from failed boot:

 [     1.703801] ahcisata0 port 1: device present, speed: 3.0Gb/s
 [     1.703801] ahcisata0 port 2: device present, speed: 1.5Gb/s
 [     2.654267] ehci1: handing over low speed device on port 2 to ohci1
 [     2.714297] uhub3: port 2, device disappeared after reset
 [     2.734307] atabus2: Unrecognized signature 0x00000001 on port 0. Assuming it's a disk.
 [     2.744312] atabus1: Unrecognized signature 0x00000001 on port 0. Assuming it's a disk.
 [     3.244548] wd0 at atabus1 drive 0
 [     3.244548] wd0: <WDC WD6400AAKS-65A7B2>
 [     3.244548] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 [     3.244548] wd0: 596 GB, 1240341 cyl, 16 head, 63 sec, 512 bytes/sect x 1250263728 sectors
 [     3.314592] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), NCQ (32 tags)
 [     3.314592] wd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)
 [     3.314592] wd1 at atabus2 drive 0
 [     3.344598] ahcisata0 port 2: error 0x8000000 sending FIS
 [     3.344598] autoconfiguration error: ahcisata0 port 2: clearing WDCTL_RST failed for drive 0
 [     3.634740] DRM debug in drm_framebuffer_reference: 0xffffd08403b080b0: FB ID: 60 (2)
 [     3.634740] DRM debug in drm_framebuffer_unreference: 0xffffd08403b080b0: FB ID: 60 (3)
 [     3.644754] IPsec: Initialized Security Association Processing.
 [     3.844843] wd1: autoconfiguration error: IDENTIFY failed
 [     3.844843] wd1: fixing 0 sector size
 [     3.844843] wd1: secperunit and ncylinders are zero
 [     3.844843] wd1(ahcisata0:2:0): using PIO mode 0

 At least in this most recent attempt, it gets a bogus signature for
 both devices, but in the case of "atabus1" it is really a disk, so the
 assumption is valid.  Not so for "atabus2" which is the CD-ROM.

 At no time was the signature of a sucessful device detection reported--
 only the failures.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "David H. Gutteridge" <david@gutteridge.ca>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Sat, 08 Jun 2019 22:25:45 -0400

 FWIW, I get similar error messages on both 8.x and HEAD on various
 laptops when resuming from suspension. E.g., on a T420:

 ahcisata0 channel 0: clearing WDCTL_RST failed for drive 0

 However, this generally doesn't seem to cause any issues, beyond perhaps
 an initial lag when disk activity resumes. (And I'm not even sure that's
 related.)

 Dave


From: Andrius V <vezhlys@gmail.com>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Wed, 12 Jun 2019 10:03:57 +0300

 Yes, "WDCTL_RST failed" message doesn't seem to be related to the
 issue. boot -vx only adds "ahcisata0 port 5: timeout sending FIS" and
 "autoconfiguration error: ahcisata0 port 5: drive 15 reset failed,
 disabling PMP" messages, but I also see those once for the first port
 as well ("FIS" one twice for the failing one). I will try to
 investigate issue a bit deeper, maybe I will be able to understand at
 least the place or pattern. I may have been incorrect stating that
 NetBSD 8.1 had been not affected: I don't see IDENTIFY errors but I
 noticed that sometimes it just silently doesn't attach any wd drives
 (NetBSD 8.1 I am booting from USB drive). So it can be actually an old
 issue. Also partially I believe that it can related to NetBSD reboot
 issue as well (UEFI BIOS hangs for a long time on A2 error code, which
 if I am right, identifies drive detection issues, and slowly loads
 bootloader of any drive after). Misidentification may happen on the
 first boot already and it just usually keeps failing on every
 subsequent reboot until machine is turned off. Unfortunately, it is
 difficult to investigate this issue.

 On Sun, Jun 9, 2019 at 5:30 AM David H. Gutteridge <david@gutteridge.ca> wrote:
 >
 > The following reply was made to PR kern/54289; it has been noted by GNATS.
 >
 > From: "David H. Gutteridge" <david@gutteridge.ca>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: kern/54289: wd1 fails to be identified properly
 > Date: Sat, 08 Jun 2019 22:25:45 -0400
 >
 >  FWIW, I get similar error messages on both 8.x and HEAD on various
 >  laptops when resuming from suspension. E.g., on a T420:
 >
 >  ahcisata0 channel 0: clearing WDCTL_RST failed for drive 0
 >
 >  However, this generally doesn't seem to cause any issues, beyond perhaps
 >  an initial lag when disk activity resumes. (And I'm not even sure that's
 >  related.)
 >
 >  Dave
 >
 >

From: Andrius V <vezhlys@gmail.com>
To: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, 
	gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Wed, 12 Jun 2019 10:10:52 +0300

 >> Yes, "WDCTL_RST failed" message doesn't seem to be related to the issue.

 Though, on boot, which has successful identification of both drives I
 don't see any of these messages. However, it doesn't seem to affect
 identification a first (boot) drive (wd0) in case the second one fails
 to be identified, even though both has same error messages in boot
 log.

 On Wed, Jun 12, 2019 at 10:05 AM Andrius V <vezhlys@gmail.com> wrote:
 >
 > The following reply was made to PR kern/54289; it has been noted by GNATS.
 >
 > From: Andrius V <vezhlys@gmail.com>
 > To: gnats-bugs@netbsd.org
 > Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
 > Subject: Re: kern/54289: wd1 fails to be identified properly
 > Date: Wed, 12 Jun 2019 10:03:57 +0300
 >
 >  Yes, "WDCTL_RST failed" message doesn't seem to be related to the
 >  issue. boot -vx only adds "ahcisata0 port 5: timeout sending FIS" and
 >  "autoconfiguration error: ahcisata0 port 5: drive 15 reset failed,
 >  disabling PMP" messages, but I also see those once for the first port
 >  as well ("FIS" one twice for the failing one). I will try to
 >  investigate issue a bit deeper, maybe I will be able to understand at
 >  least the place or pattern. I may have been incorrect stating that
 >  NetBSD 8.1 had been not affected: I don't see IDENTIFY errors but I
 >  noticed that sometimes it just silently doesn't attach any wd drives
 >  (NetBSD 8.1 I am booting from USB drive). So it can be actually an old
 >  issue. Also partially I believe that it can related to NetBSD reboot
 >  issue as well (UEFI BIOS hangs for a long time on A2 error code, which
 >  if I am right, identifies drive detection issues, and slowly loads
 >  bootloader of any drive after). Misidentification may happen on the
 >  first boot already and it just usually keeps failing on every
 >  subsequent reboot until machine is turned off. Unfortunately, it is
 >  difficult to investigate this issue.
 >
 >  On Sun, Jun 9, 2019 at 5:30 AM David H. Gutteridge <david@gutteridge.ca> wrote:
 >  >
 >  > The following reply was made to PR kern/54289; it has been noted by GNATS.
 >  >
 >  > From: "David H. Gutteridge" <david@gutteridge.ca>
 >  > To: gnats-bugs@netbsd.org
 >  > Cc:
 >  > Subject: Re: kern/54289: wd1 fails to be identified properly
 >  > Date: Sat, 08 Jun 2019 22:25:45 -0400
 >  >
 >  >  FWIW, I get similar error messages on both 8.x and HEAD on various
 >  >  laptops when resuming from suspension. E.g., on a T420:
 >  >
 >  >  ahcisata0 channel 0: clearing WDCTL_RST failed for drive 0
 >  >
 >  >  However, this generally doesn't seem to cause any issues, beyond perhaps
 >  >  an initial lag when disk activity resumes. (And I'm not even sure that's
 >  >  related.)
 >  >
 >  >  Dave
 >  >
 >  >
 >

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: Andrius V <vezhlys@gmail.com>
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,
        gnats-bugs@netbsd.org
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Sun, 23 Jun 2019 21:11:45 +0200

 --y0ulUmNC+osPPQO6
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline

 Hello,
 could you try the attached patch ?
 Re-reading the AHCI specs, I noticed we didn't clear the Fis Receive bits
 on channel stop, as specified for a reset.

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

 --y0ulUmNC+osPPQO6
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=diff

 Index: ahcisata_core.c
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/ic/ahcisata_core.c,v
 retrieving revision 1.57
 diff -u -p -u -r1.57 ahcisata_core.c
 --- ahcisata_core.c	3 Jun 2016 10:34:03 -0000	1.57
 +++ ahcisata_core.c	23 Jun 2019 19:07:44 -0000
 @@ -664,8 +664,8 @@ ahci_exec_fis(struct ata_channel *chp, i
  				 */
  				return ERROR;
  			}
 -			aprint_debug("%s channel %d: error 0x%x sending FIS\n",
 -			    AHCINAME(sc), chp->ch_channel, is);
 +			aprint_debug("%s channel %d: error 0x%x sending FIS, t %d\n",
 +			    AHCINAME(sc), chp->ch_channel, is, timeout);
  			return ERR_DF;
  		}
  		if (flags & AT_WAIT)
 @@ -1385,9 +1385,27 @@ ahci_channel_stop(struct ahci_softc *sc,
  		/* XXX controller reset ? */
  		return;
  	}
 -
  	if (sc->sc_channel_stop)
  		sc->sc_channel_stop(sc, chp);
 +	if ((AHCI_READ(sc, AHCI_P_CMD(chp->ch_channel)) & AHCI_P_CMD_FRE) == 0)
 +		return;
 +
 +	AHCI_WRITE(sc, AHCI_P_CMD(chp->ch_channel),
 +	    AHCI_READ(sc, AHCI_P_CMD(chp->ch_channel)) & ~AHCI_P_CMD_FRE);
 +	/* wait 1s for FIS receive to stop */
 +	for (i = 0; i <100; i++) {
 +		if ((AHCI_READ(sc, AHCI_P_CMD(chp->ch_channel)) & AHCI_P_CMD_FR)
 +		    == 0)
 +			break;
 +		if (flags & AT_WAIT)
 +			tsleep(&sc, PRIBIO, "ahcistop", mstohz(10));
 +		else
 +			delay(10000);
 +	}
 +	if (AHCI_READ(sc, AHCI_P_CMD(chp->ch_channel)) & AHCI_P_CMD_FR) {
 +		printf("%s: channel FIS receive wouldn't stop\n", AHCINAME(sc));
 +		/* XXX controller reset ? */
 +	}
  }

  static void

 --y0ulUmNC+osPPQO6--

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Sun, 23 Jun 2019 19:49:02 -0500 (CDT)

 Manuel's patch appears to be against netbsd-8.  The first hunk fails to
 apply in -current as the message text is changed.  The second hunk applies
 with a large offset.

 See below the corresponding patch for -current:

 +Index: sys/dev/ic/ahcisata_core.c
 +===================================================================
 +RCS file: /cvsroot/src/sys/dev/ic/ahcisata_core.c,v
 +retrieving revision 1.75
 +diff -u -p -r1.75 ahcisata_core.c
 +--- sys/dev/ic/ahcisata_core.c	7 Apr 2019 17:46:49 -0000	1.75
 ++++ sys/dev/ic/ahcisata_core.c	24 Jun 2019 00:41:26 -0000
 +@@ -786,8 +786,8 @@ ahci_exec_fis(struct ata_channel *chp, i
 + 				 */
 + 				return ERROR;
 + 			}
 +-			aprint_debug("%s port %d: error 0x%x sending FIS\n",
 +-			    AHCINAME(sc), chp->ch_channel, is);
 ++			aprint_debug("%s port %d: error 0x%x sending FIS, t %d\n",
 ++			    AHCINAME(sc), chp->ch_channel, is, timeout);
 + 			return ERR_DF;
 + 		}
 + 		ata_delay(chp, 10, "ahcifis", flags);
 +@@ -1582,9 +1582,27 @@ ahci_channel_stop(struct ahci_softc *sc,
 + 		/* XXX controller reset ? */
 + 		return;
 + 	}
 +-
 + 	if (sc->sc_channel_stop)
 + 		sc->sc_channel_stop(sc, chp);
 ++	if ((AHCI_READ(sc, AHCI_P_CMD(chp->ch_channel)) & AHCI_P_CMD_FRE) == 0)
 ++		return;
 ++
 ++	AHCI_WRITE(sc, AHCI_P_CMD(chp->ch_channel),
 ++	    AHCI_READ(sc, AHCI_P_CMD(chp->ch_channel)) & ~AHCI_P_CMD_FRE);
 ++	/* wait 1s for FIS receive to stop */
 ++	for (i = 0; i <100; i++) {
 ++		if ((AHCI_READ(sc, AHCI_P_CMD(chp->ch_channel)) & AHCI_P_CMD_FR)
 ++		    == 0)
 ++			break;
 ++		if (flags & AT_WAIT)
 ++			tsleep(&sc, PRIBIO, "ahcistop", mstohz(10));
 ++		else
 ++			delay(10000);
 ++	}
 ++	if (AHCI_READ(sc, AHCI_P_CMD(chp->ch_channel)) & AHCI_P_CMD_FR) {
 ++		printf("%s: channel FIS receive wouldn't stop\n", AHCINAME(sc));
 ++		/* XXX controller reset ? */
 ++	}
 + }
 + 
 + static void

 I have not compiled this yet, let alone run it.  Hope to do so soon.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Sun, 23 Jun 2019 23:43:12 -0500 (CDT)

 On Sun, 23 Jun 2019, John D. Baker wrote:

 > See below the corresponding patch for -current:

 [snip]

 > I have not compiled this yet, let alone run it.  Hope to do so soon.

 I have now compiled and run it.  It does not appear to help.  On cold
 boot (powerup), it happened to work properly (wd0 and cd0).  On subsequent
 reboots ('shutdown -r now'), it would alternately fail, then work, then
 fail again.

 [...]
 ahcisata0 port 1: device present, speed: 3.0Gb/s
 ahcisata0 port 2: device present, speed: 1.5Gb/s
 ahcisata0 port 1: error 0x8000000 sending FIS, t 31
 autoconfiguration error: ahcisata0 port 1: clearing WDCTL_RST failed for drive 0
 [...]
 atabus2: Unrecognized signature 0x00000001 on port 0. Assuming it's a disk.
 wd0 at atabus1 drive 0
 wd0: <WDC WD6400AAKS-65A7B2>
 wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 wd0: 596 GB, 1240341 cyl, 16 head, 63 sec, 512 bytes/sect x 1250263728 sectors
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), NCQ (3
 2 tags)
 wd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (
 using DMA), NCQ (31 tags)
 wd1 at atabus2 drive 0
 ahcisata0 port 2: error 0x8000000 sending FIS, t 31
 autoconfiguration error: ahcisata0 port 2: clearing WDCTL_RST failed for drive 0
 [...]
 wd1: autoconfiguration error: IDENTIFY failed
 wd1: fixing 0 sector size
 wd1: secperunit and ncylinders are zero
 wd1(ahcisata0:2:0): using PIO mode 0

 Again, on my system the spurious 'wd1' should be atapibus0 and cd0.
 Perhaps the new "timeout" message addition will provide a clue?

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: Andrius V <vezhlys@gmail.com>
To: gnats-bugs@netbsd.org, bouyer@antioche.eu.org, 
	"John D. Baker" <jdbaker@consolidated.net>
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Mon, 1 Jul 2019 00:33:02 +0300

 --000000000000456aec058c9142d9
 Content-Type: text/plain; charset="UTF-8"

 Hi,

 Tested the patch as well. Unfortunately, I haven't noticed any changes to
 the system behavior.

 Regards,
 Andrius V

 On Mon, Jun 24, 2019, 07:45 John D. Baker <jdbaker@consolidated.net> wrote:

 > The following reply was made to PR kern/54289; it has been noted by GNATS.
 >
 > From: "John D. Baker" <jdbaker@consolidated.net>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: kern/54289: wd1 fails to be identified properly
 > Date: Sun, 23 Jun 2019 23:43:12 -0500 (CDT)
 >
 >  On Sun, 23 Jun 2019, John D. Baker wrote:
 >
 >  > See below the corresponding patch for -current:
 >
 >  [snip]
 >
 >  > I have not compiled this yet, let alone run it.  Hope to do so soon.
 >
 >  I have now compiled and run it.  It does not appear to help.  On cold
 >  boot (powerup), it happened to work properly (wd0 and cd0).  On subsequent
 >  reboots ('shutdown -r now'), it would alternately fail, then work, then
 >  fail again.
 >
 >  [...]
 >  ahcisata0 port 1: device present, speed: 3.0Gb/s
 >  ahcisata0 port 2: device present, speed: 1.5Gb/s
 >  ahcisata0 port 1: error 0x8000000 sending FIS, t 31
 >  autoconfiguration error: ahcisata0 port 1: clearing WDCTL_RST failed for
 > drive 0
 >  [...]
 >  atabus2: Unrecognized signature 0x00000001 on port 0. Assuming it's a
 > disk.
 >  wd0 at atabus1 drive 0
 >  wd0: <WDC WD6400AAKS-65A7B2>
 >  wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 >  wd0: 596 GB, 1240341 cyl, 16 head, 63 sec, 512 bytes/sect x 1250263728
 > sectors
 >  wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133),
 > NCQ (3
 >  2 tags)
 >  wd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6
 > (Ultra/133) (
 >  using DMA), NCQ (31 tags)
 >  wd1 at atabus2 drive 0
 >  ahcisata0 port 2: error 0x8000000 sending FIS, t 31
 >  autoconfiguration error: ahcisata0 port 2: clearing WDCTL_RST failed for
 > drive 0
 >  [...]
 >  wd1: autoconfiguration error: IDENTIFY failed
 >  wd1: fixing 0 sector size
 >  wd1: secperunit and ncylinders are zero
 >  wd1(ahcisata0:2:0): using PIO mode 0
 >
 >  Again, on my system the spurious 'wd1' should be atapibus0 and cd0.
 >  Perhaps the new "timeout" message addition will provide a clue?
 >
 >  --
 >  |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 >  |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 >  | X  No HTML/proprietary data in email.   BSD just sits there and works!
 >  |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 >
 >

 --000000000000456aec058c9142d9
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"auto">Hi,<div dir=3D"auto"><br></div><div dir=3D"auto">Tested t=
 he patch as well. Unfortunately, I haven&#39;t noticed any changes to the s=
 ystem behavior.</div><div dir=3D"auto"><br></div><div dir=3D"auto">Regards,=
 </div><div dir=3D"auto">Andrius V</div></div><br><div class=3D"gmail_quote"=
 ><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Jun 24, 2019, 07:45 John D. =
 Baker &lt;<a href=3D"mailto:jdbaker@consolidated.net" rel=3D"noreferrer nor=
 eferrer" target=3D"_blank">jdbaker@consolidated.net</a>&gt; wrote:<br></div=
 ><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
 px #ccc solid;padding-left:1ex">The following reply was made to PR kern/542=
 89; it has been noted by GNATS.<br>
 <br>
 From: &quot;John D. Baker&quot; &lt;<a rel=3D"noreferrer noreferrer norefer=
 rer">jdbaker@consolidated.net</a>&gt;<br>
 To: gnats-bugs@NetBSD.org<br>
 Cc: <br>
 Subject: Re: kern/54289: wd1 fails to be identified properly<br>
 Date: Sun, 23 Jun 2019 23:43:12 -0500 (CDT)<br>
 <br>
 =C2=A0On Sun, 23 Jun 2019, John D. Baker wrote:<br>
 <br>
 =C2=A0&gt; See below the corresponding patch for -current:<br>
 <br>
 =C2=A0[snip]<br>
 <br>
 =C2=A0&gt; I have not compiled this yet, let alone run it.=C2=A0 Hope to do=
  so soon.<br>
 <br>
 =C2=A0I have now compiled and run it.=C2=A0 It does not appear to help.=C2=
 =A0 On cold<br>
 =C2=A0boot (powerup), it happened to work properly (wd0 and cd0).=C2=A0 On =
 subsequent<br>
 =C2=A0reboots (&#39;shutdown -r now&#39;), it would alternately fail, then =
 work, then<br>
 =C2=A0fail again.<br>
 <br>
 =C2=A0[...]<br>
 =C2=A0ahcisata0 port 1: device present, speed: 3.0Gb/s<br>
 =C2=A0ahcisata0 port 2: device present, speed: 1.5Gb/s<br>
 =C2=A0ahcisata0 port 1: error 0x8000000 sending FIS, t 31<br>
 =C2=A0autoconfiguration error: ahcisata0 port 1: clearing WDCTL_RST failed =
 for drive 0<br>
 =C2=A0[...]<br>
 =C2=A0atabus2: Unrecognized signature 0x00000001 on port 0. Assuming it&#39=
 ;s a disk.<br>
 =C2=A0wd0 at atabus1 drive 0<br>
 =C2=A0wd0: &lt;WDC WD6400AAKS-65A7B2&gt;<br>
 =C2=A0wd0: drive supports 16-sector PIO transfers, LBA48 addressing<br>
 =C2=A0wd0: 596 GB, 1240341 cyl, 16 head, 63 sec, 512 bytes/sect x 125026372=
 8 sectors<br>
 =C2=A0wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/1=
 33), NCQ (3<br>
 =C2=A02 tags)<br>
 =C2=A0wd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (U=
 ltra/133) (<br>
 =C2=A0using DMA), NCQ (31 tags)<br>
 =C2=A0wd1 at atabus2 drive 0<br>
 =C2=A0ahcisata0 port 2: error 0x8000000 sending FIS, t 31<br>
 =C2=A0autoconfiguration error: ahcisata0 port 2: clearing WDCTL_RST failed =
 for drive 0<br>
 =C2=A0[...]<br>
 =C2=A0wd1: autoconfiguration error: IDENTIFY failed<br>
 =C2=A0wd1: fixing 0 sector size<br>
 =C2=A0wd1: secperunit and ncylinders are zero<br>
 =C2=A0wd1(ahcisata0:2:0): using PIO mode 0<br>
 <br>
 =C2=A0Again, on my system the spurious &#39;wd1&#39; should be atapibus0 an=
 d cd0.<br>
 =C2=A0Perhaps the new &quot;timeout&quot; message addition will provide a c=
 lue?<br>
 <br>
 =C2=A0-- <br>
 =C2=A0|/&quot;\ John D. Baker, KN5UKS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
 =A0 =C2=A0 =C2=A0NetBSD=C2=A0 =C2=A0 =C2=A0Darwin/MacOS X<br>
 =C2=A0|\ / jdbaker[snail]consolidated[flyspeck]net=C2=A0 OpenBSD=C2=A0 =C2=
 =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 FreeBSD<br>
 =C2=A0| X=C2=A0 No HTML/proprietary data in email.=C2=A0 =C2=A0BSD just sit=
 s there and works!<br>
 =C2=A0|/ \ GPGkeyID:=C2=A0 D703 4A7E 479F 63F8 D3F4=C2=A0 BD99 9572 8F23 E4=
 AD 1645<br>
 <br>
 </blockquote></div>

 --000000000000456aec058c9142d9--

From: jdbaker@consolidated.net
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Wed, 14 Aug 2019 23:44:54 -0500

 I've discovered another device which appears to be affected by
 this problem:

 [...]
 [   1.0201435] pci5: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0201435] siisata0 at pci5 dev 4 function 0: CMD Technology SiI3124 
 SATALink (rev. 0x02)
 [   1.0201435] siisata0: interrupting at msi1 vec 0
 [   1.0201435] siisata0: SiI3124, 3.0Gb/s
 [   1.0201435] siisata0: 32-bit 66MHz PCI
 [   1.0201435] atabus0 at siisata0 channel 0
 [   1.0201435] atabus1 at siisata0 channel 1
 [   1.0201435] atabus2 at siisata0 channel 2
 [   1.0201435] atabus3 at siisata0 channel 3
 [...]
 [   1.7933982] siisata0 port 0: device present, speed: 3.0Gb/s
 [   1.7933982] siisata0 port 1: device present, speed: 3.0Gb/s
 [   1.7933982] siisata0 port 2: device present, speed: 3.0Gb/s
 [   1.7933982] siisata0 port 3: device present, speed: 3.0Gb/s
 [...]
 [   1.8034036] wd0 at atabus0 drive 0
 [   1.8034036] wd0: <Hitachi HDS721010CLA332>
 [   1.8034036] wd0: drive supports 16-sector PIO transfers, LBA48 
 addressing
 [   1.8034036] wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect 
 x 1953525168 sectors
 [...]
 [   7.8264245] wd0: autoconfiguration error: IDENTIFY failed
 [   7.8264245] autoconfiguration error: wd0: unable to open device, 
 error = 5
 [  10.8338789] wd0(siisata0:0:0): using PIO mode 0
 [  10.8338789] wd1 at atabus1 drive 0
 [  16.8588129] wd1: autoconfiguration error: IDENTIFY failed
 [  16.8588129] wd1: fixing 0 sector size
 [  16.8588129] wd1: secperunit and ncylinders are zero
 [  19.8662676] wd1(siisata0:1:0): using PIO mode 0
 [  19.8662676] wd2 at atabus2 drive 0
 [  25.8912017] wd2: autoconfiguration error: IDENTIFY failed
 [  25.8912017] wd2: fixing 0 sector size
 [  25.8912017] wd2: secperunit and ncylinders are zero
 [  28.8986561] wd2(siisata0:2:0): using PIO mode 0
 [  28.8986561] wd3 at atabus3 drive 0
 [  34.9235903] wd3: autoconfiguration error: IDENTIFY failed
 [  34.9235903] wd3: fixing 0 sector size
 [  34.9235903] wd3: secperunit and ncylinders are zero
 [  37.9310448] wd3(siisata0:3:0): using PIO mode 0
 [...]

 Unfortunately, these devices form half of my file server's RAID
 and they all got marked as FAILED.  Even if I reboot netbsd-8 where
 the disks are properly identified, they are considered FAILED and the
 RAID won't initialize.

 [  44.3777787] wd0: autoconfiguration error: IDENTIFY failed
 [  44.3777787] opendisk: can't open dev wd0 (5)
 [  50.4529393] wd0: autoconfiguration error: IDENTIFY failed
 [  50.4529393] opendisk: can't open dev wd0 (5)
 [  56.5682603] wd0: autoconfiguration error: IDENTIFY failed
 [  56.5682603] raid0: RAID Level 5 rotated sparing
 [  56.5682603] raid0: Components: component0[**FAILED**] 
 component1[**FAILED**] component2[**FAILED**] component3[**FAILED**] 
 /dev/wd5a /dev/wd6a /dev/wd7a /dev/wd8a
 [  56.5682603] raid0: Total Sectors: 11721149952 (5723217 MB)
 [  56.5682603] raid0: failed to create a dag. Too many component 
 failures.
 [  56.5682603] raid0d: error reading fsbn 0 (raid0 bn 0; cn 0 tn 0 sn 0)
 [  56.5682603] raid0: dos partition I/O error
 [  56.5682603] raid0: failed to create a dag. Too many component 
 failures.
 [  56.5682603] raid0d: error reading fsbn 0 of 0-31 (raid0 bn 0; cn 0 tn 
 0 sn 0)
 [  56.5682603] raid0: failed to create a dag. Too many component 
 failures.
 [  56.5682603] raid0d: error reading fsbn 1 (raid0 bn 1; cn 0 tn 0 sn 1)
 [  56.5682603] WARNING: 9 errors while detecting hardware; check system 
 log.
 [  56.5682603] boot device: wd4
 [  56.5682603] root on wd4a dumps on wd4b
 [  56.6688152] root file system type: ffs
 [  56.6789022] kern.module.path=/stand/amd64/9.0/modules
 [  73.7538756] wsdisplay0: screen 1 added (80x25, vt100 emulation)
 [  73.7538756] wsdisplay0: screen 2 added (80x25, vt100 emulation)
 [  73.7538756] wsdisplay0: screen 3 added (80x25, vt100 emulation)
 [  73.7639110] wsdisplay0: screen 4 added (80x25, vt100 emulation)
 [ 120.9231258] raid0: failed to create a dag. Too many component 
 failures.
 [ 120.9231258] raid0d: error reading fsbn 0 (raid0 bn 0; cn 0 tn 0 sn 0)
 [ 120.9231258] raid0: dos partition I/O error

 Sorry for the poor (or lack of) formatting.  I'm having to use my ISP's
 web-mail until I can get things straightened out here.

 John D. Baker

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Thu, 15 Aug 2019 09:35:56 +0200

 On Thu, Aug 15, 2019 at 06:40:02AM +0000, jdbaker@consolidated.net wrote:
 > The following reply was made to PR kern/54289; it has been noted by GNATS.
 > 
 > From: jdbaker@consolidated.net
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: kern/54289: wd1 fails to be identified properly
 > Date: Wed, 14 Aug 2019 23:44:54 -0500
 > 
 >  I've discovered another device which appears to be affected by
 >  this problem:
 >  
 >  [...]
 >  [   1.0201435] pci5: i/o space, memory space enabled, rd/line, wr/inv ok
 >  [   1.0201435] siisata0 at pci5 dev 4 function 0: CMD Technology SiI3124 
 >  SATALink (rev. 0x02)
 >  [   1.0201435] siisata0: interrupting at msi1 vec 0
 >  [   1.0201435] siisata0: SiI3124, 3.0Gb/s
 >  [   1.0201435] siisata0: 32-bit 66MHz PCI

 There must be more to it. This is from the machine I'm typing this on:

 siisata0 at pci1 dev 2 function 0: CMD Technology SiI3124 SATALink (rev. 0x02)
 siisata0: interrupting at ivec 744
 siisata0: SiI3124, 3.0Gb/s
 siisata0: 32-bit 66MHz PCI
 atabus0 at siisata0 channel 0
 atabus1 at siisata0 channel 1
 atabus2 at siisata0 channel 2
 atabus3 at siisata0 channel 3
 [..]
 siisata0 port 1: device present, speed: 3.0Gb/s
 wd2 at atabus1 drive 0
 wd2: <Samsung SSD 850 PRO 256GB>
 wd2: drive supports 1-sector PIO transfers, LBA48 addressing
 wd2: 238 GB, 496149 cyl, 16 head, 63 sec, 512 bytes/sect x 500118192 sectors
 wd2: GPT GUID: 7787bb2e-19c7-46df-a243-f98c2feb8eab
 dk0 at wd2: "sb2k5swap", 93008640 blocks at 36, type: swap
 dk1 at wd2: "sb2k5root", 407109480 blocks at 93008676, type: ffs
 wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
 wd2(siisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (30 tags)

 Martin

From: jdbaker@consolidated.net
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Thu, 15 Aug 2019 05:07:47 -0500

 In case it helps figure the issue out, below is the full 'dmesg' output:

 [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 
 2003, 2004, 2005,
 [   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 
 2015, 2016, 2017,
 [   1.0000000]     2018, 2019 The NetBSD Foundation, Inc.  All rights 
 reserved.
 [   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [   1.0000000]     The Regents of the University of California.  All 
 rights reserved.

 [   1.0000000] NetBSD 9.0_BETA (YGGDRASIL) #6: Wed Aug 14 01:16:13 CDT 
 2019
 [   1.0000000] 
 	sysop@yggdrasil.technoskunk.fur:/r0/build/netbsd-9/obj/amd64/sys/arch/amd64/compile/YGGDRASIL
 [   1.0000000] total memory = 3573 MB
 [   1.0000000] avail memory = 3457 MB
 [   1.0000000] rnd: seeded with 128 bits
 [   1.0000000] timecounter: Timecounters tick every 10.000 msec
 [   1.0000000] WARNING: module error: built-in module spkr can't find 
 builtin dependency `audio'
 [   1.0000000] WARNING: module error: built-in module spkr prerequisite 
 audio failed, error 2
 [   1.0000000] Kernelized RAIDframe activated
 [   1.0000000] running cgd selftest aes-xts-256 aes-xts-512 done
 [   1.0000000] timecounter: Timecounter "i8254" frequency 1193182 Hz 
 quality 100
 [   1.0000030] EMACHINES W3609 (400)
 [   1.0000030] mainbus0 (root)
 [   1.0000030] ACPI: RSDP 0x00000000000FE020 000014 (v00 GATEWA)
 [   1.0000030] ACPI: RSDT 0x00000000DF6FE038 000040 (v01 GATEWA SYSTEM   
 0000001C      01000013)
 [   1.0000030] ACPI: FACP 0x00000000DF6FD000 000074 (v01 GATEWA SYSTEM   
 0000001C MSFT 01000013)
 [   1.0000030] ACPI: DSDT 0x00000000DF6F8000 0040B2 (v01 GATEWA SYSTEM   
 0000001C MSFT 01000013)
 [   1.0000030] ACPI: FACS 0x00000000DF6AA000 000040
 [   1.0000030] ACPI: APIC 0x00000000DF6F7000 000078 (v01 GATEWA SYSTEM   
 0000001C MSFT 01000013)
 [   1.0000030] ACPI: WDDT 0x00000000DF6F6000 000040 (v01 GATEWA SYSTEM   
 0000001C MSFT 01000013)
 [   1.0000030] ACPI: MCFG 0x00000000DF6F5000 00003C (v01 GATEWA SYSTEM   
 0000001C MSFT 01000013)
 [   1.0000030] ACPI: ASF! 0x00000000DF6F4000 0000A6 (v32 GATEWA SYSTEM   
 0000001C MSFT 01000013)
 [   1.0000030] ACPI: HPET 0x00000000DF6F3000 000038 (v01 GATEWA SYSTEM   
 0000001C MSFT 01000013)
 [   1.0000030] ACPI: SLIC 0x00000000DF6F2000 000176 (v01 GATEWA SYSTEM   
 0000001C MSFT 01000013)
 [   1.0000030] ACPI: 1 ACPI AML tables successfully acquired and loaded
 [   1.0000030] ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 
 24 pins
 [   1.0000030] cpu0 at mainbus0 apid 0
 [   1.0000030] cpu0: Intel(R) Celeron(R) D CPU        430  @ 1.80GHz, id 
 0x10661
 [   1.0000030] cpu0: package 0, core 0, smt 0
 [   1.0000030] acpi0 at mainbus0: Intel ACPICA 20190405
 [   1.0000030] acpi0: X/RSDT: OemId <GATEWA,SYSTEM  ,0000001c>, AslId <  
    ,01000013>
 [   1.0000030] acpi0: MCFG: segment 0, bus 0-63, address 
 0x00000000f0000000
 [   1.0000030] acpi0: SCI interrupting at int 9
 [   1.0000030] acpi0: fixed power button present
 [   1.0000030] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz 
 quality 1000
 [   1.0199924] hpet0 at acpi0: high precision event timer (mem 
 0xfed00000-0xfed00400)
 [   1.0199924] timecounter: Timecounter "hpet0" frequency 14318180 Hz 
 quality 2000
 [   1.0201435] acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
 [   1.0201435] IOCM (PNP0C02) [Motherboard Register Resources] at acpi0 
 not configured
 [   1.0201435] attimer0 at acpi0 (TMR, PNP0100): io 0x40-0x43,0x50-0x53 
 irq 0
 [   1.0201435] pcppi0 at acpi0 (SPKR, PNP0800): io 0x61
 [   1.0201435] spkr0 at pcppi0: PC Speaker
 [   1.0201435] wsbell at spkr0 not configured
 [   1.0201435] sysbeep0 at pcppi0
 [   1.0201435] XTRA (PNP0C02) [Motherboard Register Resources] at acpi0 
 not configured
 [   1.0201435] lpt0 at acpi0 (LPT, PNP0400): io 0x378-0x37f irq 7
 [   1.0201435] pckbc0 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 
 irq 1
 [   1.0201435] com0 at acpi0 (UAR1, PNP0501-1): io 0x3f8-0x3ff irq 4
 [   1.0201435] com0: ns16550a, working fifo
 [   1.0201435] APIC (PNP0003) [APIC] at acpi0 not configured
 [   1.0201435] ACPI: Enabled 2 GPEs in block 00 to 1F
 [   1.0201435] acpi0: [MADT] LAPIC          : CPU ID 1, LAPIC ID 0, 
 FLAGS 0x01
 [   1.0201435] acpi0: [MADT] LAPIC          : CPU ID 2, LAPIC ID 129, 
 FLAGS 0x00
 [   1.0201435] acpi0: [MADT] LAPIC          : CPU ID 3, LAPIC ID 130, 
 FLAGS 0x00
 [   1.0201435] acpi0: [MADT] LAPIC          : CPU ID 4, LAPIC ID 131, 
 FLAGS 0x00
 [   1.0201435] acpi0: [MADT] I/O APIC       : ID 2, GSI 0, ADDR 
 0xFEC00000
 [   1.0201435] acpi0: [MADT] INTR OVERRIDE  : BUS 0, IRQ 0, GSI 2, FLAGS 
 0x00
 [   1.0201435] acpi0: [MADT] INTR OVERRIDE  : BUS 0, IRQ 9, GSI 9, FLAGS 
 0x0D
 [   1.0201435] acpi0: [MADT] LAPIC NMI      : CPU ID 1, LINT 1, FLAGS 
 0x00
 [   1.0201435] acpi0: [MADT] LAPIC NMI      : CPU ID 2, LINT 1, FLAGS 
 0x00
 [   1.0201435] acpi0: [FADT] FACS           : 0x00000000DF6AA000
 [   1.0201435] acpi0: [FADT] DSDT           : 0x00000000DF6F8000
 [   1.0201435] acpi0: [FADT] INT_MODEL      : 0x0000000000000001
 [   1.0201435] acpi0: [FADT] PM_PROFILE     : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] SCI_INT        : 0x0000000000000009
 [   1.0201435] acpi0: [FADT] SMI_CMD        : 0x00000000000000B2
 [   1.0201435] acpi0: [FADT] ACPI_ENABLE    : 0x00000000000000A0
 [   1.0201435] acpi0: [FADT] ACPI_DISABLE   : 0x00000000000000A1
 [   1.0201435] acpi0: [FADT] S4BIOS_REQ     : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] PSTATE_CNT     : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] PM1a_EVT_BLK   : 0x0000000000000400
 [   1.0201435] acpi0: [FADT] PM1b_EVT_BLK   : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] PM1a_CNT_BLK   : 0x0000000000000404
 [   1.0201435] acpi0: [FADT] PM1b_CNT_BLK   : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] PM2_CNT_BLK    : 0x0000000000000420
 [   1.0201435] acpi0: [FADT] PM_TMR_BLK     : 0x0000000000000408
 [   1.0201435] acpi0: [FADT] GPE0_BLK       : 0x0000000000000428
 [   1.0201435] acpi0: [FADT] GPE1_BLK       : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] PM1_EVT_LEN    : 0x0000000000000004
 [   1.0201435] acpi0: [FADT] PM1_CNT_LEN    : 0x0000000000000002
 [   1.0201435] acpi0: [FADT] PM2_CNT_LEN    : 0x0000000000000001
 [   1.0201435] acpi0: [FADT] PM_TMR_LEN     : 0x0000000000000004
 [   1.0201435] acpi0: [FADT] GPE0_BLK_LEN   : 0x0000000000000008
 [   1.0201435] acpi0: [FADT] GPE1_BLK_LEN   : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] GPE1_BASE      : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] CST_CNT        : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] P_LVL2_LAT     : 0x0000000000000065
 [   1.0201435] acpi0: [FADT] P_LVL3_LAT     : 0x00000000000003E9
 [   1.0201435] acpi0: [FADT] FLUSH_SIZE     : 0x0000000000000400
 [   1.0201435] acpi0: [FADT] FLUSH_STRIDE   : 0x0000000000000010
 [   1.0201435] acpi0: [FADT] DUTY_OFFSET    : 0x0000000000000001
 [   1.0201435] acpi0: [FADT] DUTY_WIDTH     : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] DAY_ALRM       : 0x000000000000000D
 [   1.0201435] acpi0: [FADT] MON_ALRM       : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] CENTURY        : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] IAPC_BOOT_ARCH : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] RESET_VALUE    : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] ARM_BOOT_ARCH  : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] X_FACS         : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] X_DSDT         : 0x00000000DF6F8000
 [   1.0201435] acpi0: [FADT] RESET_REG      : 0x0000000000000000, SPACE 
 ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0201435] acpi0: [FADT] X_PM1a_EVT_BLK : 0x0000000000000400, SPACE 
 ID 1, BIT WIDTH 32, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0201435] acpi0: [FADT] X_PM1b_EVT_BLK : 0x0000000000000000, SPACE 
 ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0201435] acpi0: [FADT] X_PM1a_CNT_BLK : 0x0000000000000404, SPACE 
 ID 1, BIT WIDTH 16, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0201435] acpi0: [FADT] X_PM1b_CNT_BLK : 0x0000000000000000, SPACE 
 ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0201435] acpi0: [FADT] X_PM2_CNT_BLK  : 0x0000000000000420, SPACE 
 ID 1, BIT WIDTH 8, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0201435] acpi0: [FADT] X_PM_TMR_BLK   : 0x0000000000000408, SPACE 
 ID 1, BIT WIDTH 32, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0201435] acpi0: [FADT] X_GPE0_BLK     : 0x0000000000000428, SPACE 
 ID 1, BIT WIDTH 64, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0201435] acpi0: [FADT] X_GPE1_BLK     : 0x0000000000000000, SPACE 
 ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0201435] acpi0: [FADT] SLEEP_CTRL_REG : 0x0000000000000000, SPACE 
 ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0201435] acpi0: [FADT] SLEEP_STAT_REG : 0x0000000000000000, SPACE 
 ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0201435] acpi0: [FADT] WBINVD         : 0x0000000000000001
 [   1.0201435] acpi0: [FADT] WBINVD_FLUSH   : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] PROC_C1        : 0x0000000000000004
 [   1.0201435] acpi0: [FADT] P_LVL2_UP      : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] PWR_BUTTON     : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] SLP_BUTTON     : 0x0000000000000020
 [   1.0201435] acpi0: [FADT] FIX_RTC        : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] RTC_S4         : 0x0000000000000080
 [   1.0201435] acpi0: [FADT] TMR_VAL_EXT    : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] DCK_CAP        : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] RESET_REG_SUP  : 0x0000000000000400
 [   1.0201435] acpi0: [FADT] SEALED_CASE    : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] HEADLESS       : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] CPU_SW_SLP     : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] PCI_EXP_WAK    : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] PLATFORM_CLK   : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] S4_RTC_STS     : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] REMOTE_POWER   : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] APIC_CLUSTER   : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] APIC_PHYSICAL  : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] HW_REDUCED     : 0x0000000000000000
 [   1.0201435] acpi0: [FADT] LOW_POWER_S0   : 0x0000000000000000
 [   1.0201435] acpi0: [\   ] HID -          UID -    ADR -
 [   1.0201435] acpi0: [CPU0] HID -          UID -    ADR -
 [   1.0201435] acpi0: [CPU1] HID -          UID -    ADR -
 [   1.0201435] acpi0: [CPU2] HID -          UID -    ADR -
 [   1.0201435] acpi0: [CPU3] HID -          UID -    ADR -
 [   1.0201435] acpi0: [_SB ] HID -          UID -    ADR -
 [   1.0201435] acpi0: [SLPB] HID PNP0C0E    UID -    ADR -
 [   1.0201435] acpi0: [PCI0] HID PNP0A03    UID -    ADR 
 0x0000000000000000
 [   1.0201435] acpi0: [IOCM] HID PNP0C02    UID 3    ADR -
 [   1.0201435] acpi0: [P32 ] HID -          UID -    ADR 
 0x00000000001E0000
 [   1.0201435] acpi0: [LPC ] HID -          UID -    ADR 
 0x00000000001F0000
 [   1.0201435] acpi0: [LNKA] HID PNP0C0F    UID 1    ADR -
 [   1.0201435] acpi0: [LNKB] HID PNP0C0F    UID 2    ADR -
 [   1.0201435] acpi0: [LNKC] HID PNP0C0F    UID 3    ADR -
 [   1.0201435] acpi0: [LNKD] HID PNP0C0F    UID 4    ADR -
 [   1.0201435] acpi0: [LNKE] HID PNP0C0F    UID 5    ADR -
 [   1.0201435] acpi0: [LNKF] HID PNP0C0F    UID 6    ADR -
 [   1.0201435] acpi0: [LNKG] HID PNP0C0F    UID 7    ADR -
 [   1.0201435] acpi0: [LNKH] HID PNP0C0F    UID 8    ADR -
 [   1.0201435] acpi0: [DMAC] HID PNP0200    UID -    ADR -
 [   1.0201435] acpi0: [RTC ] HID PNP0B00    UID -    ADR -
 [   1.0201435] acpi0: [PIC ] HID PNP0000    UID -    ADR -
 [   1.0201435] acpi0: [FPU ] HID PNP0C04    UID -    ADR -
 [   1.0201435] acpi0: [TMR ] HID PNP0100    UID -    ADR -
 [   1.0201435] acpi0: [SPKR] HID PNP0800    UID -    ADR -
 [   1.0201435] acpi0: [XTRA] HID PNP0C02    UID 1    ADR -
 [   1.0201435] acpi0: [TPM ] HID PNP0C31    UID 1    ADR -
 [   1.0201435] acpi0: [XTR2] HID PNP0C02    UID 2    ADR -
 [   1.0201435] acpi0: [FDC0] HID PNP0700    UID -    ADR -
 [   1.0201435] acpi0: [LPT ] HID PNP0400    UID -    ADR -
 [   1.0201435] acpi0: [ECP ] HID PNP0401    UID -    ADR -
 [   1.0201435] acpi0: [PS2M] HID PNP0F03    UID -    ADR -
 [   1.0201435] acpi0: [PS2K] HID PNP0303    UID -    ADR -
 [   1.0201435] acpi0: [UAR1] HID PNP0501    UID 1    ADR -
 [   1.0201435] acpi0: [IELK] HID AWY0001    UID -    ADR -
 [   1.0201435] acpi0: [PEX0] HID -          UID -    ADR 
 0x00000000001C0000
 [   1.0201435] acpi0: [PEX1] HID -          UID -    ADR 
 0x00000000001C0001
 [   1.0201435] acpi0: [PEX2] HID -          UID -    ADR 
 0x00000000001C0002
 [   1.0201435] acpi0: [PEX3] HID -          UID -    ADR 
 0x00000000001C0003
 [   1.0201435] acpi0: [PEX4] HID -          UID -    ADR 
 0x00000000001C0004
 [   1.0201435] acpi0: [PEX5] HID -          UID -    ADR 
 0x00000000001C0005
 [   1.0201435] acpi0: [APIC] HID PNP0003    UID -    ADR -
 [   1.0201435] acpi0: [HPET] HID PNP0103    UID -    ADR -
 [   1.0201435] acpi0: [UHC1] HID -          UID -    ADR 
 0x00000000001D0000
 [   1.0201435] acpi0: [UHC2] HID -          UID -    ADR 
 0x00000000001D0001
 [   1.0201435] acpi0: [UHC3] HID -          UID -    ADR 
 0x00000000001D0002
 [   1.0201435] acpi0: [UHC4] HID -          UID -    ADR 
 0x00000000001D0003
 [   1.0201435] acpi0: [EHCI] HID -          UID -    ADR 
 0x00000000001D0007
 [   1.0201435] acpi0: [AC9M] HID -          UID -    ADR 
 0x00000000001E0003
 [   1.0201435] acpi0: [AZAL] HID -          UID -    ADR 
 0x00000000001B0000
 [   1.0201435] acpi0: [IDEC] HID -          UID -    ADR 
 0x00000000001F0001
 [   1.0201435] acpi0: [PRID] HID -          UID -    ADR 
 0x0000000000000000
 [   1.0201435] acpi0: [P_D0] HID -          UID -    ADR 
 0x0000000000000000
 [   1.0201435] acpi0: [P_D1] HID -          UID -    ADR 
 0x0000000000000001
 [   1.0201435] acpi0: [IDES] HID -          UID -    ADR 
 0x00000000001F0002
 [   1.0201435] acpi0: [PRID] HID -          UID -    ADR 
 0x0000000000000000
 [   1.0201435] acpi0: [P_D0] HID -          UID -    ADR 
 0x0000000000000000
 [   1.0201435] acpi0: [P_D1] HID -          UID -    ADR 
 0x0000000000000001
 [   1.0201435] acpi0: [SECD] HID -          UID -    ADR 
 0x0000000000000001
 [   1.0201435] acpi0: [S_D0] HID -          UID -    ADR 
 0x0000000000000000
 [   1.0201435] acpi0: [S_D1] HID -          UID -    ADR 
 0x0000000000000001
 [   1.0201435] acpi0: [_TZ ] HID -          UID -    ADR -

 [   1.0201435] \     [06] []
 [   1.0201435]     CPU0  [12] []
 [   1.0201435]     CPU1  [12] []
 [   1.0201435]     CPU2  [12] []
 [   1.0201435]     CPU3  [12] []
 [   1.0201435]     _SB   [06] []
 [   1.0201435]         SLPB  [06] [] <acpibut0>
 [   1.0201435]         PCI0  [06] [] (PCI) @ 0x00:0x00:0x00:0x00 [R] [B] 
 -> 0x00:0x00
 [   1.0201435]             IOCM  [06] []
 [   1.0201435]             P32   [06] [] (PCI) @ 0x00:0x00:0x1E:0x00 [B] 
 -> 0x00:0x08
 [   1.0201435]             LPC   [06] [] (PCI) @ 0x00:0x00:0x1F:0x00
 [   1.0201435]                 LNKA  [06] []
 [   1.0201435]                 LNKB  [06] []
 [   1.0201435]                 LNKC  [06] []
 [   1.0201435]                 LNKD  [06] []
 [   1.0201435]                 LNKE  [06] []
 [   1.0201435]                 LNKF  [06] []
 [   1.0201435]                 LNKG  [06] []
 [   1.0201435]                 LNKH  [06] []
 [   1.0201435]                 DMAC  [06] []
 [   1.0201435]                 RTC   [06] []
 [   1.0201435]                 PIC   [06] []
 [   1.0201435]                 FPU   [06] []
 [   1.0201435]                 TMR   [06] [] <attimer0>
 [   1.0201435]                 SPKR  [06] [] <pcppi0>
 [   1.0201435]                 XTRA  [06] []
 [   1.0201435]                 TPM   [06] []
 [   1.0201435]                 XTR2  [06] []
 [   1.0201435]                 FDC0  [06] []
 [   1.0201435]                 LPT   [06] [] <lpt0>
 [   1.0201435]                 ECP   [06] []
 [   1.0201435]                 PS2M  [06] []
 [   1.0201435]                 PS2K  [06] [] <pckbc0>
 [   1.0201435]                 UAR1  [06] [] <com0>
 [   1.0201435]                 IELK  [06] []
 [   1.0201435]             PEX0  [06] [] (PCI) @ 0x00:0x00:0x1C:0x00 [B] 
 -> 0x00:0x02
 [   1.0201435]             PEX1  [06] [] (PCI) @ 0x00:0x00:0x1C:0x01
 [   1.0201435]             PEX2  [06] [] (PCI) @ 0x00:0x00:0x1C:0x02 [B] 
 -> 0x00:0x03
 [   1.0201435]             PEX3  [06] [] (PCI) @ 0x00:0x00:0x1C:0x03 [B] 
 -> 0x00:0x04
 [   1.0201435]             PEX4  [06] [] (PCI) @ 0x00:0x00:0x1C:0x04 [B] 
 -> 0x00:0x06
 [   1.0201435]             PEX5  [06] [] (PCI) @ 0x00:0x00:0x1C:0x05 [B] 
 -> 0x00:0x07
 [   1.0201435]             APIC  [06] []
 [   1.0201435]             HPET  [06] []
 [   1.0201435]             UHC1  [06] [] (PCI) @ 0x00:0x00:0x1D:0x00
 [   1.0201435]             UHC2  [06] [] (PCI) @ 0x00:0x00:0x1D:0x01
 [   1.0201435]             UHC3  [06] [] (PCI) @ 0x00:0x00:0x1D:0x02
 [   1.0201435]             UHC4  [06] [] (PCI) @ 0x00:0x00:0x1D:0x03
 [   1.0201435]             EHCI  [06] [] (PCI) @ 0x00:0x00:0x1D:0x07
 [   1.0201435]             AC9M  [06] [] (PCI) @ 0x00:0x00:0x1E:0x03
 [   1.0201435]             AZAL  [06] [] (PCI) @ 0x00:0x00:0x1B:0x00
 [   1.0201435]             IDEC  [06] [] (PCI) @ 0x00:0x00:0x1F:0x01
 [   1.0201435]                 PRID  [06] []
 [   1.0201435]                     P_D0  [06] []
 [   1.0201435]                     P_D1  [06] []
 [   1.0201435]             IDES  [06] [] (PCI) @ 0x00:0x00:0x1F:0x02
 [   1.0201435]                 PRID  [06] []
 [   1.0201435]                     P_D0  [06] []
 [   1.0201435]                     P_D1  [06] []
 [   1.0201435]                 SECD  [06] []
 [   1.0201435]                     S_D0  [06] []
 [   1.0201435]                     S_D1  [06] []
 [   1.0201435]     _TZ   [06] []
 [   1.0201435] attimer0: attached to pcppi0
 [   1.0201435] pckbd0 at pckbc0 (kbd slot)
 [   1.0201435] pckbc0: using irq 1 for kbd slot
 [   1.0201435] wskbd0 at pckbd0: console keyboard
 [   1.0201435] pci0 at mainbus0 bus 0: configuration mode 1
 [   1.0201435] pci0: i/o space, memory space enabled, rd/line, rd/mult, 
 wr/inv ok
 [   1.0201435] pchb0 at pci0 dev 0 function 0: Intel 82945G/P Memory 
 Controller Hub (rev. 0x02)
 [   1.0201435] agp0 at pchb0: i915-family chipset
 [   1.0201435] agp0: detected 7932k stolen memory
 [   1.0201435] agp0: autoconfiguration error: BAR size 20000 mismatches 
 detected GTT size 40000; trusting BAR
 [   1.0201435] agp0: aperture at 0xe0000000, size 0x8000000
 [   1.0201435] ppb0 at pci0 dev 1 function 0: Intel 82945G/P PCI Express 
 Bridge (rev. 0x02)
 [   1.0201435] ppb0: PCI Express capability version 1 <Root Port of 
 PCI-E Root Complex> x16 @ 2.5GT/s
 [   1.0201435] pci1 at ppb0 bus 1
 [   1.0201435] pci1: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0201435] wm0 at pci1 dev 0 function 0: Intel i82574L (rev. 0x00)
 [   1.0201435] wm0: interrupting at msi0 vec 0
 [   1.0201435] wm0: PCI-Express bus
 [   1.0201435] wm0: 2048 words FLASH, version 1.8.0, Image Unique ID 
 0000ffff
 [   1.0201435] wm0: ASPM L0s and L1 are disabled to workaround the 
 errata.
 [   1.0201435] wm0: Ethernet address 00:1b:21:b0:77:10
 [   1.0201435] wm0: 0x224480<FLASH,IOH_VALID,PCIE,ASF_FIRM,WOL>
 [   1.0201435] makphy0 at wm0 phy 1: Marvell 88E1149 Gigabit PHY, rev. 1
 [   1.0201435] makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 
 1000baseT, 1000baseT-FDX, auto
 [   1.0201435] vga0 at pci0 dev 2 function 0: Intel 82945G/P Integrated 
 Graphics Device (rev. 0x02)
 [   1.0201435] wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 
 emulation), using wskbd0
 [   1.0201435] wsmux1: connecting to wsdisplay0
 [   1.0201435] drm at vga0 not configured
 [   1.0201435] ppb1 at pci0 dev 28 function 0: Intel 82801GB/GR PCI 
 Express Port #1 (rev. 0x01)
 [   1.0201435] ppb1: PCI Express capability version 1 <Root Port of 
 PCI-E Root Complex> x1 @ 2.5GT/s
 [   1.0201435] pci2 at ppb1 bus 2
 [   1.0201435] pci2: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0201435] ppb2 at pci0 dev 28 function 2: Intel 82801GB/GR PCI 
 Express Port #3 (rev. 0x01)
 [   1.0201435] ppb2: PCI Express capability version 1 <Root Port of 
 PCI-E Root Complex> x1 @ 2.5GT/s
 [   1.0201435] pci3 at ppb2 bus 3
 [   1.0201435] pci3: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0201435] ppb3 at pci0 dev 28 function 3: Intel 82801GB/GR PCI 
 Express Port #4 (rev. 0x01)
 [   1.0201435] ppb3: PCI Express capability version 1 <Root Port of 
 PCI-E Root Complex> x1 @ 2.5GT/s
 [   1.0201435] pci4 at ppb3 bus 4
 [   1.0201435] pci4: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0201435] ppb4 at pci4 dev 0 function 0: Pericom Semiconductors 
 PI7C9X111SL PCIe to PCI Reverse Bridge (rev. 0x02)
 [   1.0201435] ppb4: PCI Express capability version 1 <PCI-E to 
 PCI/PCI-X Bridge>
 [   1.0201435] pci5 at ppb4 bus 5
 [   1.0201435] pci5: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0201435] siisata0 at pci5 dev 4 function 0: CMD Technology SiI3124 
 SATALink (rev. 0x02)
 [   1.0201435] siisata0: interrupting at msi1 vec 0
 [   1.0201435] siisata0: SiI3124, 3.0Gb/s
 [   1.0201435] siisata0: 32-bit 66MHz PCI
 [   1.0201435] atabus0 at siisata0 channel 0
 [   1.0201435] atabus1 at siisata0 channel 1
 [   1.0201435] atabus2 at siisata0 channel 2
 [   1.0201435] atabus3 at siisata0 channel 3
 [   1.0201435] ppb5 at pci0 dev 28 function 4: Intel 82801GB/GR PCI 
 Express Port #5 (rev. 0x01)
 [   1.0201435] ppb5: PCI Express capability version 1 <Root Port of 
 PCI-E Root Complex> x1 @ 2.5GT/s
 [   1.0201435] pci6 at ppb5 bus 6
 [   1.0201435] pci6: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0201435] ppb6 at pci0 dev 28 function 5: Intel 82801GB/GR PCI 
 Express Port #6 (rev. 0x01)
 [   1.0201435] ppb6: PCI Express capability version 1 <Root Port of 
 PCI-E Root Complex> x1 @ 2.5GT/s
 [   1.0201435] pci7 at ppb6 bus 7
 [   1.0201435] pci7: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0201435] uhci0 at pci0 dev 29 function 0: Intel 82801GB/GR USB 
 UHCI Controller (rev. 0x01)
 [   1.0201435] uhci0: interrupting at ioapic0 pin 23
 [   1.0201435] usb0 at uhci0: USB revision 1.0
 [   1.0201435] uhci1 at pci0 dev 29 function 1: Intel 82801GB/GR USB 
 UHCI Controller (rev. 0x01)
 [   1.0201435] uhci1: interrupting at ioapic0 pin 19
 [   1.0201435] usb1 at uhci1: USB revision 1.0
 [   1.0201435] uhci2 at pci0 dev 29 function 2: Intel 82801GB/GR USB 
 UHCI Controller (rev. 0x01)
 [   1.0201435] uhci2: interrupting at ioapic0 pin 18
 [   1.0201435] usb2 at uhci2: USB revision 1.0
 [   1.0201435] uhci3 at pci0 dev 29 function 3: Intel 82801GB/GR USB 
 UHCI Controller (rev. 0x01)
 [   1.0201435] uhci3: interrupting at ioapic0 pin 16
 [   1.0201435] usb3 at uhci3: USB revision 1.0
 [   1.0201435] ehci0 at pci0 dev 29 function 7: Intel 82801GB/GR USB 
 EHCI Controller (rev. 0x01)
 [   1.0201435] ehci0: interrupting at ioapic0 pin 23
 [   1.0201435] ehci0: EHCI version 1.0
 [   1.0201435] ehci0: 4 companion controllers, 2 ports each: uhci0 uhci1 
 uhci2 uhci3
 [   1.0201435] usb4 at ehci0: USB revision 2.0
 [   1.0201435] ppb7 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI 
 Bridge (rev. 0xe1)
 [   1.0201435] pci8 at ppb7 bus 8
 [   1.0201435] pci8: i/o space, memory space enabled
 [   1.0201435] ichlpcib0 at pci0 dev 31 function 0: Intel 82801GH LPC 
 Interface Bridge (rev. 0x01)
 [   1.0201435] timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz 
 quality 1000
 [   1.0201435] ichlpcib0: 24-bit timer
 [   1.0201435] tco0 at ichlpcib0: TCO (watchdog) timer configured.
 [   1.0201435] tco0: Min/Max interval 1/367 seconds
 [   1.0201435] piixide0 at pci0 dev 31 function 1: Intel 82801GB/GR IDE 
 Controller (ICH7) (rev. 0x01)
 [   1.0201435] piixide0: bus-master DMA support present
 [   1.0201435] piixide0: primary channel configured to compatibility 
 mode
 [   1.0201435] piixide0: primary channel interrupting at ioapic0 pin 14
 [   1.0201435] atabus4 at piixide0 channel 0
 [   1.0201435] piixide0: secondary channel configured to compatibility 
 mode
 [   1.0201435] piixide0: secondary channel ignored (disabled)
 [   1.0201435] ahcisata0 at pci0 dev 31 function 2: Intel 82801GB/GR 
 AHCI SATA Controller (rev. 0x01)
 [   1.0201435] ahcisata0: 64-bit DMA
 [   1.0201435] ahcisata0: AHCI revision 1.10, 4 ports, 32 slots, CAP 
 0xc320ff03<PSC,SSC,PMD,ISS=0x2=Gen2,SCLO,SAL,SNCQ,S64A>
 [   1.0201435] ahcisata0: interrupting at msi2 vec 0
 [   1.0201435] atabus5 at ahcisata0 channel 0
 [   1.0201435] atabus6 at ahcisata0 channel 1
 [   1.0201435] atabus7 at ahcisata0 channel 2
 [   1.0201435] atabus8 at ahcisata0 channel 3
 [   1.0201435] ichsmb0 at pci0 dev 31 function 3: Intel 82801GB/GR SMBus 
 Controller (rev. 0x01)
 [   1.0201435] ichsmb0: interrupting at ioapic0 pin 19
 [   1.0201435] iic0 at ichsmb0: I2C bus
 [   1.0201435] spdmem0 at iic0 addr 0x50
 [   1.0201435] spdmem0: DDR2 SDRAM, no parity or ECC, 2GB, 667MHz 
 (PC2-5300)
 [   1.0201435] spdmem0: 14 rows, 10 cols, 2 ranks, 8 banks/chip, 3.00ns 
 cycle time
 [   1.0201435] spdmem0: tAA-tRCD-tRP-tRAS: 5-5-5-15
 [   1.0201435] spdmem0: voltage SSTL 1.8V, refresh time 7.8us 
 (self-refreshing)
 [   1.0201435] spdmem1 at iic0 addr 0x52
 [   1.0201435] spdmem1: DDR2 SDRAM, no parity or ECC, 2GB, 667MHz 
 (PC2-5300)
 [   1.0201435] spdmem1: 14 rows, 10 cols, 2 ranks, 8 banks/chip, 3.00ns 
 cycle time
 [   1.0201435] spdmem1: tAA-tRCD-tRP-tRAS: 5-5-5-15
 [   1.0201435] spdmem1: voltage SSTL 1.8V, refresh time 7.8us 
 (self-refreshing)
 [   1.0201435] isa0 at ichlpcib0
 [   1.0201435] acpicpu0 at cpu0: ACPI CPU
 [   1.0201435] acpicpu0: C1: HLT, lat   0 us, pow     0 mW
 [   1.0201435] coretemp0 at cpu0: thermal sensor, 1 C resolution, 
 Tjmax=100
 [   1.0201435] timecounter: Timecounter "clockinterrupt" frequency 100 
 Hz quality 0
 [   1.7033614] IPsec: Initialized Security Association Processing.
 [   1.7033614] WARNING: module error: built-in module spkr can't find 
 builtin dependency `audio'
 [   1.7033614] WARNING: module error: built-in module spkr prerequisite 
 audio failed, error 2
 [   1.7133650] uhub0 at usb0: NetBSD (0000) UHCI root hub (0000), class 
 9/0, rev 1.00/1.00, addr 1
 [   1.7133650] uhub0: 2 ports with 2 removable, self powered
 [   1.7133650] uhub1 at usb1: NetBSD (0000) UHCI root hub (0000), class 
 9/0, rev 1.00/1.00, addr 1
 [   1.7133650] uhub1: 2 ports with 2 removable, self powered
 [   1.7133650] uhub2 at usb2: NetBSD (0000) UHCI root hub (0000), class 
 9/0, rev 1.00/1.00, addr 1
 [   1.7133650] uhub2: 2 ports with 2 removable, self powered
 [   1.7133650] uhub3 at usb3: NetBSD (0000) UHCI root hub (0000), class 
 9/0, rev 1.00/1.00, addr 1
 [   1.7133650] uhub3: 2 ports with 2 removable, self powered
 [   1.7133650] uhub4 at usb4: NetBSD (0000) EHCI root hub (0000), class 
 9/0, rev 2.00/1.00, addr 1
 [   1.7133650] uhub4: 8 ports with 8 removable, self powered
 [   1.7933982] siisata0 port 0: device present, speed: 3.0Gb/s
 [   1.7933982] siisata0 port 1: device present, speed: 3.0Gb/s
 [   1.7933982] siisata0 port 2: device present, speed: 3.0Gb/s
 [   1.7933982] siisata0 port 3: device present, speed: 3.0Gb/s
 [   1.7933982] ahcisata0 port 0: device present, speed: 3.0Gb/s
 [   1.7933982] ahcisata0 port 1: device present, speed: 3.0Gb/s
 [   1.7933982] ahcisata0 port 2: device present, speed: 3.0Gb/s
 [   1.7933982] ahcisata0 port 3: device present, speed: 3.0Gb/s
 [   1.8034036] wd0 at atabus0 drive 0
 [   1.8034036] wd0: <Hitachi HDS721010CLA332>
 [   1.8034036] wd0: drive supports 16-sector PIO transfers, LBA48 
 addressing
 [   1.8034036] wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect 
 x 1953525168 sectors
 [   3.0241948] ehci0: handing over full speed device on port 3 to uhci1
 [   4.9892905] ugen0 at uhub1 port 1
 [   4.9892905] ugen0: American Power Conversion (0x51d) Back-UPS XS 
 1500G FW:866.L8 .D USB FW:L8 (0x02), rev 2.00/0.90, addr 2
 [   7.8264245] wd0: autoconfiguration error: IDENTIFY failed
 [   7.8264245] autoconfiguration error: wd0: unable to open device, 
 error = 5
 [  10.8338789] wd0(siisata0:0:0): using PIO mode 0
 [  10.8338789] wd1 at atabus1 drive 0
 [  16.8588129] wd1: autoconfiguration error: IDENTIFY failed
 [  16.8588129] wd1: fixing 0 sector size
 [  16.8588129] wd1: secperunit and ncylinders are zero
 [  19.8662676] wd1(siisata0:1:0): using PIO mode 0
 [  19.8662676] wd2 at atabus2 drive 0
 [  25.8912017] wd2: autoconfiguration error: IDENTIFY failed
 [  25.8912017] wd2: fixing 0 sector size
 [  25.8912017] wd2: secperunit and ncylinders are zero
 [  28.8986561] wd2(siisata0:2:0): using PIO mode 0
 [  28.8986561] wd3 at atabus3 drive 0
 [  34.9235903] wd3: autoconfiguration error: IDENTIFY failed
 [  34.9235903] wd3: fixing 0 sector size
 [  34.9235903] wd3: secperunit and ncylinders are zero
 [  37.9310448] wd3(siisata0:3:0): using PIO mode 0
 [  37.9310448] wd4 at atabus4 drive 0
 [  37.9310448] wd4: <Maxtor 31536H2>
 [  37.9310448] wd4: drive supports 16-sector PIO transfers, LBA 
 addressing
 [  37.9310448] wd4: 14655 MB, 29777 cyl, 16 head, 63 sec, 512 bytes/sect 
 x 30015216 sectors
 [  38.0013108] wd4: 32-bit data port
 [  38.0013108] wd4: drive supports PIO mode 4, DMA mode 2, Ultra-DMA 
 mode 5 (Ultra/100)
 [  38.0013108] wd4(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 
 (Ultra/100) (using DMA)
 [  38.0013108] wd5 at atabus5 drive 0
 [  38.0013108] wd5: <Hitachi HDS721010CLA332>
 [  38.0013108] wd5: drive supports 16-sector PIO transfers, LBA48 
 addressing
 [  38.0013108] wd5: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect 
 x 1953525168 sectors
 [  38.0314975] wd5: drive supports PIO mode 4, DMA mode 2, Ultra-DMA 
 mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [  38.0314975] wd5(ahcisata0:0:0): using PIO mode 4, DMA mode 2, 
 Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [  38.0314975] wd6 at atabus6 drive 0
 [  38.0314975] wd6: <Hitachi HDS721010CLA332>
 [  38.0314975] wd6: drive supports 16-sector PIO transfers, LBA48 
 addressing
 [  38.0314975] wd6: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect 
 x 1953525168 sectors
 [  38.0716990] wd6: drive supports PIO mode 4, DMA mode 2, Ultra-DMA 
 mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [  38.0716990] wd6(ahcisata0:1:0): using PIO mode 4, DMA mode 2, 
 Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [  38.0716990] wd7 at atabus7 drive 0
 [  38.0716990] wd7: <Hitachi HDS721010CLA332>
 [  38.0716990] wd7: drive supports 16-sector PIO transfers, LBA48 
 addressing
 [  38.0716990] wd7: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect 
 x 1953525168 sectors
 [  38.1119007] wd7: drive supports PIO mode 4, DMA mode 2, Ultra-DMA 
 mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [  38.1119007] wd7(ahcisata0:2:0): using PIO mode 4, DMA mode 2, 
 Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [  38.1119007] wd8 at atabus8 drive 0
 [  38.1119007] wd8: <Hitachi HDS721010CLA332>
 [  38.1119007] wd8: drive supports 16-sector PIO transfers, LBA48 
 addressing
 [  38.1119007] wd8: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect 
 x 1953525168 sectors
 [  38.1420774] wd8: drive supports PIO mode 4, DMA mode 2, Ultra-DMA 
 mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [  38.1420774] wd8(ahcisata0:3:0): using PIO mode 4, DMA mode 2, 
 Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [  44.3777787] wd0: autoconfiguration error: IDENTIFY failed
 [  44.3777787] opendisk: can't open dev wd0 (5)
 [  50.4529393] wd0: autoconfiguration error: IDENTIFY failed
 [  50.4529393] opendisk: can't open dev wd0 (5)
 [  56.5682603] wd0: autoconfiguration error: IDENTIFY failed
 [  56.5682603] raid0: RAID Level 5 rotated sparing
 [  56.5682603] raid0: Components: component0[**FAILED**] 
 component1[**FAILED**] component2[**FAILED**] component3[**FAILED**] 
 /dev/wd5a /dev/wd6a /dev/wd7a /dev/wd8a
 [  56.5682603] raid0: Total Sectors: 11721149952 (5723217 MB)
 [  56.5682603] raid0: failed to create a dag. Too many component 
 failures.
 [  56.5682603] raid0d: error reading fsbn 0 (raid0 bn 0; cn 0 tn 0 sn 0)
 [  56.5682603] raid0: dos partition I/O error
 [  56.5682603] raid0: failed to create a dag. Too many component 
 failures.
 [  56.5682603] raid0d: error reading fsbn 0 of 0-31 (raid0 bn 0; cn 0 tn 
 0 sn 0)
 [  56.5682603] raid0: failed to create a dag. Too many component 
 failures.
 [  56.5682603] raid0d: error reading fsbn 1 (raid0 bn 1; cn 0 tn 0 sn 1)
 [  56.5682603] WARNING: 9 errors while detecting hardware; check system 
 log.
 [  56.5682603] boot device: wd4
 [  56.5682603] root on wd4a dumps on wd4b
 [  56.6688152] root file system type: ffs
 [  56.6789022] kern.module.path=/stand/amd64/9.0/modules
 [  73.7538756] wsdisplay0: screen 1 added (80x25, vt100 emulation)
 [  73.7538756] wsdisplay0: screen 2 added (80x25, vt100 emulation)
 [  73.7538756] wsdisplay0: screen 3 added (80x25, vt100 emulation)
 [  73.7639110] wsdisplay0: screen 4 added (80x25, vt100 emulation)
 [ 120.9231258] raid0: failed to create a dag. Too many component 
 failures.
 [ 120.9231258] raid0d: error reading fsbn 0 (raid0 bn 0; cn 0 tn 0 sn 0)
 [ 120.9231258] raid0: dos partition I/O error

From: Andrius V <vezhlys@gmail.com>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, 
	"John D. Baker" <jdbaker@consolidated.net>, "Jonathan A. Kollasch" <jakllsch@kollasch.net>, bouyer@antioche.eu.org
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Tue, 8 Oct 2019 21:59:38 +0300

 Hi,

 This commit fixes the bug:
 http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/ahcisata_core.c.diff?r1=1.75&r2=1.76&only_with_tag=MAIN&f=h
 , thus current branch already always recognize second hard drive
 properly and there's no slow down on hard drive detection on POST BIOS
 during reboot as well. For testing purposes I added the line to
 netbsd-9 code, it also fixed the issue. Would be great, if the change
 would be pulled up to netbsd-9 branch.

 Regards,
 Andrius V

 On Thu, Aug 15, 2019 at 1:10 PM <jdbaker@consolidated.net> wrote:
 >
 > The following reply was made to PR kern/54289; it has been noted by GNATS.
 >
 > From: jdbaker@consolidated.net
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: kern/54289: wd1 fails to be identified properly
 > Date: Thu, 15 Aug 2019 05:07:47 -0500
 >
 >  In case it helps figure the issue out, below is the full 'dmesg' output:
 >
 >  [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 >  2003, 2004, 2005,
 >  [   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
 >  2015, 2016, 2017,
 >  [   1.0000000]     2018, 2019 The NetBSD Foundation, Inc.  All rights
 >  reserved.
 >  [   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 >  [   1.0000000]     The Regents of the University of California.  All
 >  rights reserved.
 >
 >  [   1.0000000] NetBSD 9.0_BETA (YGGDRASIL) #6: Wed Aug 14 01:16:13 CDT
 >  2019
 >  [   1.0000000]
 >         sysop@yggdrasil.technoskunk.fur:/r0/build/netbsd-9/obj/amd64/sys/arch/amd64/compile/YGGDRASIL
 >  [   1.0000000] total memory = 3573 MB
 >  [   1.0000000] avail memory = 3457 MB
 >  [   1.0000000] rnd: seeded with 128 bits
 >  [   1.0000000] timecounter: Timecounters tick every 10.000 msec
 >  [   1.0000000] WARNING: module error: built-in module spkr can't find
 >  builtin dependency `audio'
 >  [   1.0000000] WARNING: module error: built-in module spkr prerequisite
 >  audio failed, error 2
 >  [   1.0000000] Kernelized RAIDframe activated
 >  [   1.0000000] running cgd selftest aes-xts-256 aes-xts-512 done
 >  [   1.0000000] timecounter: Timecounter "i8254" frequency 1193182 Hz
 >  quality 100
 >  [   1.0000030] EMACHINES W3609 (400)
 >  [   1.0000030] mainbus0 (root)
 >  [   1.0000030] ACPI: RSDP 0x00000000000FE020 000014 (v00 GATEWA)
 >  [   1.0000030] ACPI: RSDT 0x00000000DF6FE038 000040 (v01 GATEWA SYSTEM
 >  0000001C      01000013)
 >  [   1.0000030] ACPI: FACP 0x00000000DF6FD000 000074 (v01 GATEWA SYSTEM
 >  0000001C MSFT 01000013)
 >  [   1.0000030] ACPI: DSDT 0x00000000DF6F8000 0040B2 (v01 GATEWA SYSTEM
 >  0000001C MSFT 01000013)
 >  [   1.0000030] ACPI: FACS 0x00000000DF6AA000 000040
 >  [   1.0000030] ACPI: APIC 0x00000000DF6F7000 000078 (v01 GATEWA SYSTEM
 >  0000001C MSFT 01000013)
 >  [   1.0000030] ACPI: WDDT 0x00000000DF6F6000 000040 (v01 GATEWA SYSTEM
 >  0000001C MSFT 01000013)
 >  [   1.0000030] ACPI: MCFG 0x00000000DF6F5000 00003C (v01 GATEWA SYSTEM
 >  0000001C MSFT 01000013)
 >  [   1.0000030] ACPI: ASF! 0x00000000DF6F4000 0000A6 (v32 GATEWA SYSTEM
 >  0000001C MSFT 01000013)
 >  [   1.0000030] ACPI: HPET 0x00000000DF6F3000 000038 (v01 GATEWA SYSTEM
 >  0000001C MSFT 01000013)
 >  [   1.0000030] ACPI: SLIC 0x00000000DF6F2000 000176 (v01 GATEWA SYSTEM
 >  0000001C MSFT 01000013)
 >  [   1.0000030] ACPI: 1 ACPI AML tables successfully acquired and loaded
 >  [   1.0000030] ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20,
 >  24 pins
 >  [   1.0000030] cpu0 at mainbus0 apid 0
 >  [   1.0000030] cpu0: Intel(R) Celeron(R) D CPU        430  @ 1.80GHz, id
 >  0x10661
 >  [   1.0000030] cpu0: package 0, core 0, smt 0
 >  [   1.0000030] acpi0 at mainbus0: Intel ACPICA 20190405
 >  [   1.0000030] acpi0: X/RSDT: OemId <GATEWA,SYSTEM  ,0000001c>, AslId <
 >     ,01000013>
 >  [   1.0000030] acpi0: MCFG: segment 0, bus 0-63, address
 >  0x00000000f0000000
 >  [   1.0000030] acpi0: SCI interrupting at int 9
 >  [   1.0000030] acpi0: fixed power button present
 >  [   1.0000030] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz
 >  quality 1000
 >  [   1.0199924] hpet0 at acpi0: high precision event timer (mem
 >  0xfed00000-0xfed00400)
 >  [   1.0199924] timecounter: Timecounter "hpet0" frequency 14318180 Hz
 >  quality 2000
 >  [   1.0201435] acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
 >  [   1.0201435] IOCM (PNP0C02) [Motherboard Register Resources] at acpi0
 >  not configured
 >  [   1.0201435] attimer0 at acpi0 (TMR, PNP0100): io 0x40-0x43,0x50-0x53
 >  irq 0
 >  [   1.0201435] pcppi0 at acpi0 (SPKR, PNP0800): io 0x61
 >  [   1.0201435] spkr0 at pcppi0: PC Speaker
 >  [   1.0201435] wsbell at spkr0 not configured
 >  [   1.0201435] sysbeep0 at pcppi0
 >  [   1.0201435] XTRA (PNP0C02) [Motherboard Register Resources] at acpi0
 >  not configured
 >  [   1.0201435] lpt0 at acpi0 (LPT, PNP0400): io 0x378-0x37f irq 7
 >  [   1.0201435] pckbc0 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64
 >  irq 1
 >  [   1.0201435] com0 at acpi0 (UAR1, PNP0501-1): io 0x3f8-0x3ff irq 4
 >  [   1.0201435] com0: ns16550a, working fifo
 >  [   1.0201435] APIC (PNP0003) [APIC] at acpi0 not configured
 >  [   1.0201435] ACPI: Enabled 2 GPEs in block 00 to 1F
 >  [   1.0201435] acpi0: [MADT] LAPIC          : CPU ID 1, LAPIC ID 0,
 >  FLAGS 0x01
 >  [   1.0201435] acpi0: [MADT] LAPIC          : CPU ID 2, LAPIC ID 129,
 >  FLAGS 0x00
 >  [   1.0201435] acpi0: [MADT] LAPIC          : CPU ID 3, LAPIC ID 130,
 >  FLAGS 0x00
 >  [   1.0201435] acpi0: [MADT] LAPIC          : CPU ID 4, LAPIC ID 131,
 >  FLAGS 0x00
 >  [   1.0201435] acpi0: [MADT] I/O APIC       : ID 2, GSI 0, ADDR
 >  0xFEC00000
 >  [   1.0201435] acpi0: [MADT] INTR OVERRIDE  : BUS 0, IRQ 0, GSI 2, FLAGS
 >  0x00
 >  [   1.0201435] acpi0: [MADT] INTR OVERRIDE  : BUS 0, IRQ 9, GSI 9, FLAGS
 >  0x0D
 >  [   1.0201435] acpi0: [MADT] LAPIC NMI      : CPU ID 1, LINT 1, FLAGS
 >  0x00
 >  [   1.0201435] acpi0: [MADT] LAPIC NMI      : CPU ID 2, LINT 1, FLAGS
 >  0x00
 >  [   1.0201435] acpi0: [FADT] FACS           : 0x00000000DF6AA000
 >  [   1.0201435] acpi0: [FADT] DSDT           : 0x00000000DF6F8000
 >  [   1.0201435] acpi0: [FADT] INT_MODEL      : 0x0000000000000001
 >  [   1.0201435] acpi0: [FADT] PM_PROFILE     : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] SCI_INT        : 0x0000000000000009
 >  [   1.0201435] acpi0: [FADT] SMI_CMD        : 0x00000000000000B2
 >  [   1.0201435] acpi0: [FADT] ACPI_ENABLE    : 0x00000000000000A0
 >  [   1.0201435] acpi0: [FADT] ACPI_DISABLE   : 0x00000000000000A1
 >  [   1.0201435] acpi0: [FADT] S4BIOS_REQ     : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] PSTATE_CNT     : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] PM1a_EVT_BLK   : 0x0000000000000400
 >  [   1.0201435] acpi0: [FADT] PM1b_EVT_BLK   : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] PM1a_CNT_BLK   : 0x0000000000000404
 >  [   1.0201435] acpi0: [FADT] PM1b_CNT_BLK   : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] PM2_CNT_BLK    : 0x0000000000000420
 >  [   1.0201435] acpi0: [FADT] PM_TMR_BLK     : 0x0000000000000408
 >  [   1.0201435] acpi0: [FADT] GPE0_BLK       : 0x0000000000000428
 >  [   1.0201435] acpi0: [FADT] GPE1_BLK       : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] PM1_EVT_LEN    : 0x0000000000000004
 >  [   1.0201435] acpi0: [FADT] PM1_CNT_LEN    : 0x0000000000000002
 >  [   1.0201435] acpi0: [FADT] PM2_CNT_LEN    : 0x0000000000000001
 >  [   1.0201435] acpi0: [FADT] PM_TMR_LEN     : 0x0000000000000004
 >  [   1.0201435] acpi0: [FADT] GPE0_BLK_LEN   : 0x0000000000000008
 >  [   1.0201435] acpi0: [FADT] GPE1_BLK_LEN   : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] GPE1_BASE      : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] CST_CNT        : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] P_LVL2_LAT     : 0x0000000000000065
 >  [   1.0201435] acpi0: [FADT] P_LVL3_LAT     : 0x00000000000003E9
 >  [   1.0201435] acpi0: [FADT] FLUSH_SIZE     : 0x0000000000000400
 >  [   1.0201435] acpi0: [FADT] FLUSH_STRIDE   : 0x0000000000000010
 >  [   1.0201435] acpi0: [FADT] DUTY_OFFSET    : 0x0000000000000001
 >  [   1.0201435] acpi0: [FADT] DUTY_WIDTH     : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] DAY_ALRM       : 0x000000000000000D
 >  [   1.0201435] acpi0: [FADT] MON_ALRM       : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] CENTURY        : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] IAPC_BOOT_ARCH : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] RESET_VALUE    : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] ARM_BOOT_ARCH  : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] X_FACS         : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] X_DSDT         : 0x00000000DF6F8000
 >  [   1.0201435] acpi0: [FADT] RESET_REG      : 0x0000000000000000, SPACE
 >  ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 >  [   1.0201435] acpi0: [FADT] X_PM1a_EVT_BLK : 0x0000000000000400, SPACE
 >  ID 1, BIT WIDTH 32, BIT OFFSET 0, ACCESS WIDTH 0
 >  [   1.0201435] acpi0: [FADT] X_PM1b_EVT_BLK : 0x0000000000000000, SPACE
 >  ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 >  [   1.0201435] acpi0: [FADT] X_PM1a_CNT_BLK : 0x0000000000000404, SPACE
 >  ID 1, BIT WIDTH 16, BIT OFFSET 0, ACCESS WIDTH 0
 >  [   1.0201435] acpi0: [FADT] X_PM1b_CNT_BLK : 0x0000000000000000, SPACE
 >  ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 >  [   1.0201435] acpi0: [FADT] X_PM2_CNT_BLK  : 0x0000000000000420, SPACE
 >  ID 1, BIT WIDTH 8, BIT OFFSET 0, ACCESS WIDTH 0
 >  [   1.0201435] acpi0: [FADT] X_PM_TMR_BLK   : 0x0000000000000408, SPACE
 >  ID 1, BIT WIDTH 32, BIT OFFSET 0, ACCESS WIDTH 0
 >  [   1.0201435] acpi0: [FADT] X_GPE0_BLK     : 0x0000000000000428, SPACE
 >  ID 1, BIT WIDTH 64, BIT OFFSET 0, ACCESS WIDTH 0
 >  [   1.0201435] acpi0: [FADT] X_GPE1_BLK     : 0x0000000000000000, SPACE
 >  ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 >  [   1.0201435] acpi0: [FADT] SLEEP_CTRL_REG : 0x0000000000000000, SPACE
 >  ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 >  [   1.0201435] acpi0: [FADT] SLEEP_STAT_REG : 0x0000000000000000, SPACE
 >  ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 >  [   1.0201435] acpi0: [FADT] WBINVD         : 0x0000000000000001
 >  [   1.0201435] acpi0: [FADT] WBINVD_FLUSH   : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] PROC_C1        : 0x0000000000000004
 >  [   1.0201435] acpi0: [FADT] P_LVL2_UP      : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] PWR_BUTTON     : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] SLP_BUTTON     : 0x0000000000000020
 >  [   1.0201435] acpi0: [FADT] FIX_RTC        : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] RTC_S4         : 0x0000000000000080
 >  [   1.0201435] acpi0: [FADT] TMR_VAL_EXT    : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] DCK_CAP        : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] RESET_REG_SUP  : 0x0000000000000400
 >  [   1.0201435] acpi0: [FADT] SEALED_CASE    : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] HEADLESS       : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] CPU_SW_SLP     : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] PCI_EXP_WAK    : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] PLATFORM_CLK   : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] S4_RTC_STS     : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] REMOTE_POWER   : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] APIC_CLUSTER   : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] APIC_PHYSICAL  : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] HW_REDUCED     : 0x0000000000000000
 >  [   1.0201435] acpi0: [FADT] LOW_POWER_S0   : 0x0000000000000000
 >  [   1.0201435] acpi0: [\   ] HID -          UID -    ADR -
 >  [   1.0201435] acpi0: [CPU0] HID -          UID -    ADR -
 >  [   1.0201435] acpi0: [CPU1] HID -          UID -    ADR -
 >  [   1.0201435] acpi0: [CPU2] HID -          UID -    ADR -
 >  [   1.0201435] acpi0: [CPU3] HID -          UID -    ADR -
 >  [   1.0201435] acpi0: [_SB ] HID -          UID -    ADR -
 >  [   1.0201435] acpi0: [SLPB] HID PNP0C0E    UID -    ADR -
 >  [   1.0201435] acpi0: [PCI0] HID PNP0A03    UID -    ADR
 >  0x0000000000000000
 >  [   1.0201435] acpi0: [IOCM] HID PNP0C02    UID 3    ADR -
 >  [   1.0201435] acpi0: [P32 ] HID -          UID -    ADR
 >  0x00000000001E0000
 >  [   1.0201435] acpi0: [LPC ] HID -          UID -    ADR
 >  0x00000000001F0000
 >  [   1.0201435] acpi0: [LNKA] HID PNP0C0F    UID 1    ADR -
 >  [   1.0201435] acpi0: [LNKB] HID PNP0C0F    UID 2    ADR -
 >  [   1.0201435] acpi0: [LNKC] HID PNP0C0F    UID 3    ADR -
 >  [   1.0201435] acpi0: [LNKD] HID PNP0C0F    UID 4    ADR -
 >  [   1.0201435] acpi0: [LNKE] HID PNP0C0F    UID 5    ADR -
 >  [   1.0201435] acpi0: [LNKF] HID PNP0C0F    UID 6    ADR -
 >  [   1.0201435] acpi0: [LNKG] HID PNP0C0F    UID 7    ADR -
 >  [   1.0201435] acpi0: [LNKH] HID PNP0C0F    UID 8    ADR -
 >  [   1.0201435] acpi0: [DMAC] HID PNP0200    UID -    ADR -
 >  [   1.0201435] acpi0: [RTC ] HID PNP0B00    UID -    ADR -
 >  [   1.0201435] acpi0: [PIC ] HID PNP0000    UID -    ADR -
 >  [   1.0201435] acpi0: [FPU ] HID PNP0C04    UID -    ADR -
 >  [   1.0201435] acpi0: [TMR ] HID PNP0100    UID -    ADR -
 >  [   1.0201435] acpi0: [SPKR] HID PNP0800    UID -    ADR -
 >  [   1.0201435] acpi0: [XTRA] HID PNP0C02    UID 1    ADR -
 >  [   1.0201435] acpi0: [TPM ] HID PNP0C31    UID 1    ADR -
 >  [   1.0201435] acpi0: [XTR2] HID PNP0C02    UID 2    ADR -
 >  [   1.0201435] acpi0: [FDC0] HID PNP0700    UID -    ADR -
 >  [   1.0201435] acpi0: [LPT ] HID PNP0400    UID -    ADR -
 >  [   1.0201435] acpi0: [ECP ] HID PNP0401    UID -    ADR -
 >  [   1.0201435] acpi0: [PS2M] HID PNP0F03    UID -    ADR -
 >  [   1.0201435] acpi0: [PS2K] HID PNP0303    UID -    ADR -
 >  [   1.0201435] acpi0: [UAR1] HID PNP0501    UID 1    ADR -
 >  [   1.0201435] acpi0: [IELK] HID AWY0001    UID -    ADR -
 >  [   1.0201435] acpi0: [PEX0] HID -          UID -    ADR
 >  0x00000000001C0000
 >  [   1.0201435] acpi0: [PEX1] HID -          UID -    ADR
 >  0x00000000001C0001
 >  [   1.0201435] acpi0: [PEX2] HID -          UID -    ADR
 >  0x00000000001C0002
 >  [   1.0201435] acpi0: [PEX3] HID -          UID -    ADR
 >  0x00000000001C0003
 >  [   1.0201435] acpi0: [PEX4] HID -          UID -    ADR
 >  0x00000000001C0004
 >  [   1.0201435] acpi0: [PEX5] HID -          UID -    ADR
 >  0x00000000001C0005
 >  [   1.0201435] acpi0: [APIC] HID PNP0003    UID -    ADR -
 >  [   1.0201435] acpi0: [HPET] HID PNP0103    UID -    ADR -
 >  [   1.0201435] acpi0: [UHC1] HID -          UID -    ADR
 >  0x00000000001D0000
 >  [   1.0201435] acpi0: [UHC2] HID -          UID -    ADR
 >  0x00000000001D0001
 >  [   1.0201435] acpi0: [UHC3] HID -          UID -    ADR
 >  0x00000000001D0002
 >  [   1.0201435] acpi0: [UHC4] HID -          UID -    ADR
 >  0x00000000001D0003
 >  [   1.0201435] acpi0: [EHCI] HID -          UID -    ADR
 >  0x00000000001D0007
 >  [   1.0201435] acpi0: [AC9M] HID -          UID -    ADR
 >  0x00000000001E0003
 >  [   1.0201435] acpi0: [AZAL] HID -          UID -    ADR
 >  0x00000000001B0000
 >  [   1.0201435] acpi0: [IDEC] HID -          UID -    ADR
 >  0x00000000001F0001
 >  [   1.0201435] acpi0: [PRID] HID -          UID -    ADR
 >  0x0000000000000000
 >  [   1.0201435] acpi0: [P_D0] HID -          UID -    ADR
 >  0x0000000000000000
 >  [   1.0201435] acpi0: [P_D1] HID -          UID -    ADR
 >  0x0000000000000001
 >  [   1.0201435] acpi0: [IDES] HID -          UID -    ADR
 >  0x00000000001F0002
 >  [   1.0201435] acpi0: [PRID] HID -          UID -    ADR
 >  0x0000000000000000
 >  [   1.0201435] acpi0: [P_D0] HID -          UID -    ADR
 >  0x0000000000000000
 >  [   1.0201435] acpi0: [P_D1] HID -          UID -    ADR
 >  0x0000000000000001
 >  [   1.0201435] acpi0: [SECD] HID -          UID -    ADR
 >  0x0000000000000001
 >  [   1.0201435] acpi0: [S_D0] HID -          UID -    ADR
 >  0x0000000000000000
 >  [   1.0201435] acpi0: [S_D1] HID -          UID -    ADR
 >  0x0000000000000001
 >  [   1.0201435] acpi0: [_TZ ] HID -          UID -    ADR -
 >
 >  [   1.0201435] \     [06] []
 >  [   1.0201435]     CPU0  [12] []
 >  [   1.0201435]     CPU1  [12] []
 >  [   1.0201435]     CPU2  [12] []
 >  [   1.0201435]     CPU3  [12] []
 >  [   1.0201435]     _SB   [06] []
 >  [   1.0201435]         SLPB  [06] [] <acpibut0>
 >  [   1.0201435]         PCI0  [06] [] (PCI) @ 0x00:0x00:0x00:0x00 [R] [B]
 >  -> 0x00:0x00
 >  [   1.0201435]             IOCM  [06] []
 >  [   1.0201435]             P32   [06] [] (PCI) @ 0x00:0x00:0x1E:0x00 [B]
 >  -> 0x00:0x08
 >  [   1.0201435]             LPC   [06] [] (PCI) @ 0x00:0x00:0x1F:0x00
 >  [   1.0201435]                 LNKA  [06] []
 >  [   1.0201435]                 LNKB  [06] []
 >  [   1.0201435]                 LNKC  [06] []
 >  [   1.0201435]                 LNKD  [06] []
 >  [   1.0201435]                 LNKE  [06] []
 >  [   1.0201435]                 LNKF  [06] []
 >  [   1.0201435]                 LNKG  [06] []
 >  [   1.0201435]                 LNKH  [06] []
 >  [   1.0201435]                 DMAC  [06] []
 >  [   1.0201435]                 RTC   [06] []
 >  [   1.0201435]                 PIC   [06] []
 >  [   1.0201435]                 FPU   [06] []
 >  [   1.0201435]                 TMR   [06] [] <attimer0>
 >  [   1.0201435]                 SPKR  [06] [] <pcppi0>
 >  [   1.0201435]                 XTRA  [06] []
 >  [   1.0201435]                 TPM   [06] []
 >  [   1.0201435]                 XTR2  [06] []
 >  [   1.0201435]                 FDC0  [06] []
 >  [   1.0201435]                 LPT   [06] [] <lpt0>
 >  [   1.0201435]                 ECP   [06] []
 >  [   1.0201435]                 PS2M  [06] []
 >  [   1.0201435]                 PS2K  [06] [] <pckbc0>
 >  [   1.0201435]                 UAR1  [06] [] <com0>
 >  [   1.0201435]                 IELK  [06] []
 >  [   1.0201435]             PEX0  [06] [] (PCI) @ 0x00:0x00:0x1C:0x00 [B]
 >  -> 0x00:0x02
 >  [   1.0201435]             PEX1  [06] [] (PCI) @ 0x00:0x00:0x1C:0x01
 >  [   1.0201435]             PEX2  [06] [] (PCI) @ 0x00:0x00:0x1C:0x02 [B]
 >  -> 0x00:0x03
 >  [   1.0201435]             PEX3  [06] [] (PCI) @ 0x00:0x00:0x1C:0x03 [B]
 >  -> 0x00:0x04
 >  [   1.0201435]             PEX4  [06] [] (PCI) @ 0x00:0x00:0x1C:0x04 [B]
 >  -> 0x00:0x06
 >  [   1.0201435]             PEX5  [06] [] (PCI) @ 0x00:0x00:0x1C:0x05 [B]
 >  -> 0x00:0x07
 >  [   1.0201435]             APIC  [06] []
 >  [   1.0201435]             HPET  [06] []
 >  [   1.0201435]             UHC1  [06] [] (PCI) @ 0x00:0x00:0x1D:0x00
 >  [   1.0201435]             UHC2  [06] [] (PCI) @ 0x00:0x00:0x1D:0x01
 >  [   1.0201435]             UHC3  [06] [] (PCI) @ 0x00:0x00:0x1D:0x02
 >  [   1.0201435]             UHC4  [06] [] (PCI) @ 0x00:0x00:0x1D:0x03
 >  [   1.0201435]             EHCI  [06] [] (PCI) @ 0x00:0x00:0x1D:0x07
 >  [   1.0201435]             AC9M  [06] [] (PCI) @ 0x00:0x00:0x1E:0x03
 >  [   1.0201435]             AZAL  [06] [] (PCI) @ 0x00:0x00:0x1B:0x00
 >  [   1.0201435]             IDEC  [06] [] (PCI) @ 0x00:0x00:0x1F:0x01
 >  [   1.0201435]                 PRID  [06] []
 >  [   1.0201435]                     P_D0  [06] []
 >  [   1.0201435]                     P_D1  [06] []
 >  [   1.0201435]             IDES  [06] [] (PCI) @ 0x00:0x00:0x1F:0x02
 >  [   1.0201435]                 PRID  [06] []
 >  [   1.0201435]                     P_D0  [06] []
 >  [   1.0201435]                     P_D1  [06] []
 >  [   1.0201435]                 SECD  [06] []
 >  [   1.0201435]                     S_D0  [06] []
 >  [   1.0201435]                     S_D1  [06] []
 >  [   1.0201435]     _TZ   [06] []
 >  [   1.0201435] attimer0: attached to pcppi0
 >  [   1.0201435] pckbd0 at pckbc0 (kbd slot)
 >  [   1.0201435] pckbc0: using irq 1 for kbd slot
 >  [   1.0201435] wskbd0 at pckbd0: console keyboard
 >  [   1.0201435] pci0 at mainbus0 bus 0: configuration mode 1
 >  [   1.0201435] pci0: i/o space, memory space enabled, rd/line, rd/mult,
 >  wr/inv ok
 >  [   1.0201435] pchb0 at pci0 dev 0 function 0: Intel 82945G/P Memory
 >  Controller Hub (rev. 0x02)
 >  [   1.0201435] agp0 at pchb0: i915-family chipset
 >  [   1.0201435] agp0: detected 7932k stolen memory
 >  [   1.0201435] agp0: autoconfiguration error: BAR size 20000 mismatches
 >  detected GTT size 40000; trusting BAR
 >  [   1.0201435] agp0: aperture at 0xe0000000, size 0x8000000
 >  [   1.0201435] ppb0 at pci0 dev 1 function 0: Intel 82945G/P PCI Express
 >  Bridge (rev. 0x02)
 >  [   1.0201435] ppb0: PCI Express capability version 1 <Root Port of
 >  PCI-E Root Complex> x16 @ 2.5GT/s
 >  [   1.0201435] pci1 at ppb0 bus 1
 >  [   1.0201435] pci1: i/o space, memory space enabled, rd/line, wr/inv ok
 >  [   1.0201435] wm0 at pci1 dev 0 function 0: Intel i82574L (rev. 0x00)
 >  [   1.0201435] wm0: interrupting at msi0 vec 0
 >  [   1.0201435] wm0: PCI-Express bus
 >  [   1.0201435] wm0: 2048 words FLASH, version 1.8.0, Image Unique ID
 >  0000ffff
 >  [   1.0201435] wm0: ASPM L0s and L1 are disabled to workaround the
 >  errata.
 >  [   1.0201435] wm0: Ethernet address 00:1b:21:b0:77:10
 >  [   1.0201435] wm0: 0x224480<FLASH,IOH_VALID,PCIE,ASF_FIRM,WOL>
 >  [   1.0201435] makphy0 at wm0 phy 1: Marvell 88E1149 Gigabit PHY, rev. 1
 >  [   1.0201435] makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
 >  1000baseT, 1000baseT-FDX, auto
 >  [   1.0201435] vga0 at pci0 dev 2 function 0: Intel 82945G/P Integrated
 >  Graphics Device (rev. 0x02)
 >  [   1.0201435] wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100
 >  emulation), using wskbd0
 >  [   1.0201435] wsmux1: connecting to wsdisplay0
 >  [   1.0201435] drm at vga0 not configured
 >  [   1.0201435] ppb1 at pci0 dev 28 function 0: Intel 82801GB/GR PCI
 >  Express Port #1 (rev. 0x01)
 >  [   1.0201435] ppb1: PCI Express capability version 1 <Root Port of
 >  PCI-E Root Complex> x1 @ 2.5GT/s
 >  [   1.0201435] pci2 at ppb1 bus 2
 >  [   1.0201435] pci2: i/o space, memory space enabled, rd/line, wr/inv ok
 >  [   1.0201435] ppb2 at pci0 dev 28 function 2: Intel 82801GB/GR PCI
 >  Express Port #3 (rev. 0x01)
 >  [   1.0201435] ppb2: PCI Express capability version 1 <Root Port of
 >  PCI-E Root Complex> x1 @ 2.5GT/s
 >  [   1.0201435] pci3 at ppb2 bus 3
 >  [   1.0201435] pci3: i/o space, memory space enabled, rd/line, wr/inv ok
 >  [   1.0201435] ppb3 at pci0 dev 28 function 3: Intel 82801GB/GR PCI
 >  Express Port #4 (rev. 0x01)
 >  [   1.0201435] ppb3: PCI Express capability version 1 <Root Port of
 >  PCI-E Root Complex> x1 @ 2.5GT/s
 >  [   1.0201435] pci4 at ppb3 bus 4
 >  [   1.0201435] pci4: i/o space, memory space enabled, rd/line, wr/inv ok
 >  [   1.0201435] ppb4 at pci4 dev 0 function 0: Pericom Semiconductors
 >  PI7C9X111SL PCIe to PCI Reverse Bridge (rev. 0x02)
 >  [   1.0201435] ppb4: PCI Express capability version 1 <PCI-E to
 >  PCI/PCI-X Bridge>
 >  [   1.0201435] pci5 at ppb4 bus 5
 >  [   1.0201435] pci5: i/o space, memory space enabled, rd/line, wr/inv ok
 >  [   1.0201435] siisata0 at pci5 dev 4 function 0: CMD Technology SiI3124
 >  SATALink (rev. 0x02)
 >  [   1.0201435] siisata0: interrupting at msi1 vec 0
 >  [   1.0201435] siisata0: SiI3124, 3.0Gb/s
 >  [   1.0201435] siisata0: 32-bit 66MHz PCI
 >  [   1.0201435] atabus0 at siisata0 channel 0
 >  [   1.0201435] atabus1 at siisata0 channel 1
 >  [   1.0201435] atabus2 at siisata0 channel 2
 >  [   1.0201435] atabus3 at siisata0 channel 3
 >  [   1.0201435] ppb5 at pci0 dev 28 function 4: Intel 82801GB/GR PCI
 >  Express Port #5 (rev. 0x01)
 >  [   1.0201435] ppb5: PCI Express capability version 1 <Root Port of
 >  PCI-E Root Complex> x1 @ 2.5GT/s
 >  [   1.0201435] pci6 at ppb5 bus 6
 >  [   1.0201435] pci6: i/o space, memory space enabled, rd/line, wr/inv ok
 >  [   1.0201435] ppb6 at pci0 dev 28 function 5: Intel 82801GB/GR PCI
 >  Express Port #6 (rev. 0x01)
 >  [   1.0201435] ppb6: PCI Express capability version 1 <Root Port of
 >  PCI-E Root Complex> x1 @ 2.5GT/s
 >  [   1.0201435] pci7 at ppb6 bus 7
 >  [   1.0201435] pci7: i/o space, memory space enabled, rd/line, wr/inv ok
 >  [   1.0201435] uhci0 at pci0 dev 29 function 0: Intel 82801GB/GR USB
 >  UHCI Controller (rev. 0x01)
 >  [   1.0201435] uhci0: interrupting at ioapic0 pin 23
 >  [   1.0201435] usb0 at uhci0: USB revision 1.0
 >  [   1.0201435] uhci1 at pci0 dev 29 function 1: Intel 82801GB/GR USB
 >  UHCI Controller (rev. 0x01)
 >  [   1.0201435] uhci1: interrupting at ioapic0 pin 19
 >  [   1.0201435] usb1 at uhci1: USB revision 1.0
 >  [   1.0201435] uhci2 at pci0 dev 29 function 2: Intel 82801GB/GR USB
 >  UHCI Controller (rev. 0x01)
 >  [   1.0201435] uhci2: interrupting at ioapic0 pin 18
 >  [   1.0201435] usb2 at uhci2: USB revision 1.0
 >  [   1.0201435] uhci3 at pci0 dev 29 function 3: Intel 82801GB/GR USB
 >  UHCI Controller (rev. 0x01)
 >  [   1.0201435] uhci3: interrupting at ioapic0 pin 16
 >  [   1.0201435] usb3 at uhci3: USB revision 1.0
 >  [   1.0201435] ehci0 at pci0 dev 29 function 7: Intel 82801GB/GR USB
 >  EHCI Controller (rev. 0x01)
 >  [   1.0201435] ehci0: interrupting at ioapic0 pin 23
 >  [   1.0201435] ehci0: EHCI version 1.0
 >  [   1.0201435] ehci0: 4 companion controllers, 2 ports each: uhci0 uhci1
 >  uhci2 uhci3
 >  [   1.0201435] usb4 at ehci0: USB revision 2.0
 >  [   1.0201435] ppb7 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI
 >  Bridge (rev. 0xe1)
 >  [   1.0201435] pci8 at ppb7 bus 8
 >  [   1.0201435] pci8: i/o space, memory space enabled
 >  [   1.0201435] ichlpcib0 at pci0 dev 31 function 0: Intel 82801GH LPC
 >  Interface Bridge (rev. 0x01)
 >  [   1.0201435] timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz
 >  quality 1000
 >  [   1.0201435] ichlpcib0: 24-bit timer
 >  [   1.0201435] tco0 at ichlpcib0: TCO (watchdog) timer configured.
 >  [   1.0201435] tco0: Min/Max interval 1/367 seconds
 >  [   1.0201435] piixide0 at pci0 dev 31 function 1: Intel 82801GB/GR IDE
 >  Controller (ICH7) (rev. 0x01)
 >  [   1.0201435] piixide0: bus-master DMA support present
 >  [   1.0201435] piixide0: primary channel configured to compatibility
 >  mode
 >  [   1.0201435] piixide0: primary channel interrupting at ioapic0 pin 14
 >  [   1.0201435] atabus4 at piixide0 channel 0
 >  [   1.0201435] piixide0: secondary channel configured to compatibility
 >  mode
 >  [   1.0201435] piixide0: secondary channel ignored (disabled)
 >  [   1.0201435] ahcisata0 at pci0 dev 31 function 2: Intel 82801GB/GR
 >  AHCI SATA Controller (rev. 0x01)
 >  [   1.0201435] ahcisata0: 64-bit DMA
 >  [   1.0201435] ahcisata0: AHCI revision 1.10, 4 ports, 32 slots, CAP
 >  0xc320ff03<PSC,SSC,PMD,ISS=0x2=Gen2,SCLO,SAL,SNCQ,S64A>
 >  [   1.0201435] ahcisata0: interrupting at msi2 vec 0
 >  [   1.0201435] atabus5 at ahcisata0 channel 0
 >  [   1.0201435] atabus6 at ahcisata0 channel 1
 >  [   1.0201435] atabus7 at ahcisata0 channel 2
 >  [   1.0201435] atabus8 at ahcisata0 channel 3
 >  [   1.0201435] ichsmb0 at pci0 dev 31 function 3: Intel 82801GB/GR SMBus
 >  Controller (rev. 0x01)
 >  [   1.0201435] ichsmb0: interrupting at ioapic0 pin 19
 >  [   1.0201435] iic0 at ichsmb0: I2C bus
 >  [   1.0201435] spdmem0 at iic0 addr 0x50
 >  [   1.0201435] spdmem0: DDR2 SDRAM, no parity or ECC, 2GB, 667MHz
 >  (PC2-5300)
 >  [   1.0201435] spdmem0: 14 rows, 10 cols, 2 ranks, 8 banks/chip, 3.00ns
 >  cycle time
 >  [   1.0201435] spdmem0: tAA-tRCD-tRP-tRAS: 5-5-5-15
 >  [   1.0201435] spdmem0: voltage SSTL 1.8V, refresh time 7.8us
 >  (self-refreshing)
 >  [   1.0201435] spdmem1 at iic0 addr 0x52
 >  [   1.0201435] spdmem1: DDR2 SDRAM, no parity or ECC, 2GB, 667MHz
 >  (PC2-5300)
 >  [   1.0201435] spdmem1: 14 rows, 10 cols, 2 ranks, 8 banks/chip, 3.00ns
 >  cycle time
 >  [   1.0201435] spdmem1: tAA-tRCD-tRP-tRAS: 5-5-5-15
 >  [   1.0201435] spdmem1: voltage SSTL 1.8V, refresh time 7.8us
 >  (self-refreshing)
 >  [   1.0201435] isa0 at ichlpcib0
 >  [   1.0201435] acpicpu0 at cpu0: ACPI CPU
 >  [   1.0201435] acpicpu0: C1: HLT, lat   0 us, pow     0 mW
 >  [   1.0201435] coretemp0 at cpu0: thermal sensor, 1 C resolution,
 >  Tjmax=100
 >  [   1.0201435] timecounter: Timecounter "clockinterrupt" frequency 100
 >  Hz quality 0
 >  [   1.7033614] IPsec: Initialized Security Association Processing.
 >  [   1.7033614] WARNING: module error: built-in module spkr can't find
 >  builtin dependency `audio'
 >  [   1.7033614] WARNING: module error: built-in module spkr prerequisite
 >  audio failed, error 2
 >  [   1.7133650] uhub0 at usb0: NetBSD (0000) UHCI root hub (0000), class
 >  9/0, rev 1.00/1.00, addr 1
 >  [   1.7133650] uhub0: 2 ports with 2 removable, self powered
 >  [   1.7133650] uhub1 at usb1: NetBSD (0000) UHCI root hub (0000), class
 >  9/0, rev 1.00/1.00, addr 1
 >  [   1.7133650] uhub1: 2 ports with 2 removable, self powered
 >  [   1.7133650] uhub2 at usb2: NetBSD (0000) UHCI root hub (0000), class
 >  9/0, rev 1.00/1.00, addr 1
 >  [   1.7133650] uhub2: 2 ports with 2 removable, self powered
 >  [   1.7133650] uhub3 at usb3: NetBSD (0000) UHCI root hub (0000), class
 >  9/0, rev 1.00/1.00, addr 1
 >  [   1.7133650] uhub3: 2 ports with 2 removable, self powered
 >  [   1.7133650] uhub4 at usb4: NetBSD (0000) EHCI root hub (0000), class
 >  9/0, rev 2.00/1.00, addr 1
 >  [   1.7133650] uhub4: 8 ports with 8 removable, self powered
 >  [   1.7933982] siisata0 port 0: device present, speed: 3.0Gb/s
 >  [   1.7933982] siisata0 port 1: device present, speed: 3.0Gb/s
 >  [   1.7933982] siisata0 port 2: device present, speed: 3.0Gb/s
 >  [   1.7933982] siisata0 port 3: device present, speed: 3.0Gb/s
 >  [   1.7933982] ahcisata0 port 0: device present, speed: 3.0Gb/s
 >  [   1.7933982] ahcisata0 port 1: device present, speed: 3.0Gb/s
 >  [   1.7933982] ahcisata0 port 2: device present, speed: 3.0Gb/s
 >  [   1.7933982] ahcisata0 port 3: device present, speed: 3.0Gb/s
 >  [   1.8034036] wd0 at atabus0 drive 0
 >  [   1.8034036] wd0: <Hitachi HDS721010CLA332>
 >  [   1.8034036] wd0: drive supports 16-sector PIO transfers, LBA48
 >  addressing
 >  [   1.8034036] wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect
 >  x 1953525168 sectors
 >  [   3.0241948] ehci0: handing over full speed device on port 3 to uhci1
 >  [   4.9892905] ugen0 at uhub1 port 1
 >  [   4.9892905] ugen0: American Power Conversion (0x51d) Back-UPS XS
 >  1500G FW:866.L8 .D USB FW:L8 (0x02), rev 2.00/0.90, addr 2
 >  [   7.8264245] wd0: autoconfiguration error: IDENTIFY failed
 >  [   7.8264245] autoconfiguration error: wd0: unable to open device,
 >  error = 5
 >  [  10.8338789] wd0(siisata0:0:0): using PIO mode 0
 >  [  10.8338789] wd1 at atabus1 drive 0
 >  [  16.8588129] wd1: autoconfiguration error: IDENTIFY failed
 >  [  16.8588129] wd1: fixing 0 sector size
 >  [  16.8588129] wd1: secperunit and ncylinders are zero
 >  [  19.8662676] wd1(siisata0:1:0): using PIO mode 0
 >  [  19.8662676] wd2 at atabus2 drive 0
 >  [  25.8912017] wd2: autoconfiguration error: IDENTIFY failed
 >  [  25.8912017] wd2: fixing 0 sector size
 >  [  25.8912017] wd2: secperunit and ncylinders are zero
 >  [  28.8986561] wd2(siisata0:2:0): using PIO mode 0
 >  [  28.8986561] wd3 at atabus3 drive 0
 >  [  34.9235903] wd3: autoconfiguration error: IDENTIFY failed
 >  [  34.9235903] wd3: fixing 0 sector size
 >  [  34.9235903] wd3: secperunit and ncylinders are zero
 >  [  37.9310448] wd3(siisata0:3:0): using PIO mode 0
 >  [  37.9310448] wd4 at atabus4 drive 0
 >  [  37.9310448] wd4: <Maxtor 31536H2>
 >  [  37.9310448] wd4: drive supports 16-sector PIO transfers, LBA
 >  addressing
 >  [  37.9310448] wd4: 14655 MB, 29777 cyl, 16 head, 63 sec, 512 bytes/sect
 >  x 30015216 sectors
 >  [  38.0013108] wd4: 32-bit data port
 >  [  38.0013108] wd4: drive supports PIO mode 4, DMA mode 2, Ultra-DMA
 >  mode 5 (Ultra/100)
 >  [  38.0013108] wd4(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5
 >  (Ultra/100) (using DMA)
 >  [  38.0013108] wd5 at atabus5 drive 0
 >  [  38.0013108] wd5: <Hitachi HDS721010CLA332>
 >  [  38.0013108] wd5: drive supports 16-sector PIO transfers, LBA48
 >  addressing
 >  [  38.0013108] wd5: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect
 >  x 1953525168 sectors
 >  [  38.0314975] wd5: drive supports PIO mode 4, DMA mode 2, Ultra-DMA
 >  mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 >  [  38.0314975] wd5(ahcisata0:0:0): using PIO mode 4, DMA mode 2,
 >  Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 >  [  38.0314975] wd6 at atabus6 drive 0
 >  [  38.0314975] wd6: <Hitachi HDS721010CLA332>
 >  [  38.0314975] wd6: drive supports 16-sector PIO transfers, LBA48
 >  addressing
 >  [  38.0314975] wd6: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect
 >  x 1953525168 sectors
 >  [  38.0716990] wd6: drive supports PIO mode 4, DMA mode 2, Ultra-DMA
 >  mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 >  [  38.0716990] wd6(ahcisata0:1:0): using PIO mode 4, DMA mode 2,
 >  Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 >  [  38.0716990] wd7 at atabus7 drive 0
 >  [  38.0716990] wd7: <Hitachi HDS721010CLA332>
 >  [  38.0716990] wd7: drive supports 16-sector PIO transfers, LBA48
 >  addressing
 >  [  38.0716990] wd7: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect
 >  x 1953525168 sectors
 >  [  38.1119007] wd7: drive supports PIO mode 4, DMA mode 2, Ultra-DMA
 >  mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 >  [  38.1119007] wd7(ahcisata0:2:0): using PIO mode 4, DMA mode 2,
 >  Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 >  [  38.1119007] wd8 at atabus8 drive 0
 >  [  38.1119007] wd8: <Hitachi HDS721010CLA332>
 >  [  38.1119007] wd8: drive supports 16-sector PIO transfers, LBA48
 >  addressing
 >  [  38.1119007] wd8: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect
 >  x 1953525168 sectors
 >  [  38.1420774] wd8: drive supports PIO mode 4, DMA mode 2, Ultra-DMA
 >  mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 >  [  38.1420774] wd8(ahcisata0:3:0): using PIO mode 4, DMA mode 2,
 >  Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 >  [  44.3777787] wd0: autoconfiguration error: IDENTIFY failed
 >  [  44.3777787] opendisk: can't open dev wd0 (5)
 >  [  50.4529393] wd0: autoconfiguration error: IDENTIFY failed
 >  [  50.4529393] opendisk: can't open dev wd0 (5)
 >  [  56.5682603] wd0: autoconfiguration error: IDENTIFY failed
 >  [  56.5682603] raid0: RAID Level 5 rotated sparing
 >  [  56.5682603] raid0: Components: component0[**FAILED**]
 >  component1[**FAILED**] component2[**FAILED**] component3[**FAILED**]
 >  /dev/wd5a /dev/wd6a /dev/wd7a /dev/wd8a
 >  [  56.5682603] raid0: Total Sectors: 11721149952 (5723217 MB)
 >  [  56.5682603] raid0: failed to create a dag. Too many component
 >  failures.
 >  [  56.5682603] raid0d: error reading fsbn 0 (raid0 bn 0; cn 0 tn 0 sn 0)
 >  [  56.5682603] raid0: dos partition I/O error
 >  [  56.5682603] raid0: failed to create a dag. Too many component
 >  failures.
 >  [  56.5682603] raid0d: error reading fsbn 0 of 0-31 (raid0 bn 0; cn 0 tn
 >  0 sn 0)
 >  [  56.5682603] raid0: failed to create a dag. Too many component
 >  failures.
 >  [  56.5682603] raid0d: error reading fsbn 1 (raid0 bn 1; cn 0 tn 0 sn 1)
 >  [  56.5682603] WARNING: 9 errors while detecting hardware; check system
 >  log.
 >  [  56.5682603] boot device: wd4
 >  [  56.5682603] root on wd4a dumps on wd4b
 >  [  56.6688152] root file system type: ffs
 >  [  56.6789022] kern.module.path=/stand/amd64/9.0/modules
 >  [  73.7538756] wsdisplay0: screen 1 added (80x25, vt100 emulation)
 >  [  73.7538756] wsdisplay0: screen 2 added (80x25, vt100 emulation)
 >  [  73.7538756] wsdisplay0: screen 3 added (80x25, vt100 emulation)
 >  [  73.7639110] wsdisplay0: screen 4 added (80x25, vt100 emulation)
 >  [ 120.9231258] raid0: failed to create a dag. Too many component
 >  failures.
 >  [ 120.9231258] raid0d: error reading fsbn 0 (raid0 bn 0; cn 0 tn 0 sn 0)
 >  [ 120.9231258] raid0: dos partition I/O error
 >

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Tue, 8 Oct 2019 21:51:21 -0500 (CDT)

 On Tue, 8 Oct 2019, Andrius V wrote:

 > This commit fixes the bug:
 > http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/ahcisata_core.c.diff?r1=1.75&r2=1.76&only_with_tag=MAIN&f=h
 > , thus current branch already always recognize second hard drive
 > properly and there's no slow down on hard drive detection on POST BIOS

 I have just built and updated to the latest -current (9.99.15) and the
 problem is NOT fixed for my nVidia-based HP Pavilion test system.
 It exhibits the same problem as before.

 Additionally, the 'nfe' driver appears to have gone missing so it reports
 "not configured" for the ethernet device and subsequently can't identify
 the boot device nor find its root device (which should be "nfe0").

 I dare not test the other system that exhibits the problem as I don't
 want to risk it not working there either and lose my fileserver's RAID
 again.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Tue, 8 Oct 2019 22:19:30 -0500 (CDT)

 On Tue, 8 Oct 2019, John D. Baker wrote:

 > On Tue, 8 Oct 2019, Andrius V wrote:
 > 
 > > This commit fixes the bug:
 > > http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/ahcisata_core.c.diff?r1=1.75&r2=1.76&only_with_tag=MAIN&f=h
 > > , thus current branch already always recognize second hard drive
 > > properly and there's no slow down on hard drive detection on POST BIOS
 > 
 > I have just built and updated to the latest -current (9.99.15) and the
 > problem is NOT fixed for my nVidia-based HP Pavilion test system.
 > It exhibits the same problem as before.
 > 
 > Additionally, the 'nfe' driver appears to have gone missing so it reports
 > "not configured" for the ethernet device and subsequently can't identify
 > the boot device nor find its root device (which should be "nfe0").

 Mystery solved.  I was booting the wrong kernel (a custom kernel for
 a different machine instead of GENERIC).  "nfe" is there, no problem.

 But the ahcisata issue remains unsolved.  It managed to see wd0 correctly,
 but mis-identifies "cd0" as "wd1" with the errors logged previously.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

State-Changed-From-To: open->feedback
State-Changed-By: jdolecek@NetBSD.org
State-Changed-When: Wed, 09 Oct 2019 12:09:25 +0000
State-Changed-Why:
Can you try with more recent -current? Particularly with this file:
sys/dev/ic/ahcisata_core.c rev. 1.78 (or later)


From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Wed, 9 Oct 2019 08:58:28 -0500 (CDT)

 On Wed, 9 Oct 2019 12:09:26 +0000 (UTC), jdolecek@NetBSD.org wrote:

 > State-Changed-Why:
 > Can you try with more recent -current? Particularly with this file:
 > sys/dev/ic/ahcisata_core.c rev. 1.78 (or later)

 My build of -current was from sources around 201910061620Z.  These include
 the above-referenced version of the file.  The results are as previously
 stated.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

State-Changed-From-To: feedback->open
State-Changed-By: jdolecek@NetBSD.org
State-Changed-When: Thu, 10 Oct 2019 14:57:23 +0000
State-Changed-Why:
The problem is not fixed. The issue here is not the reset not working, but
that for some reason the cd0 is identified as wd1, and obviously then
the further ATA commands fail.


From: Andrius V <vezhlys@gmail.com>
To: gnats-bugs@netbsd.org, "John D. Baker" <jdbaker@consolidated.net>
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, 
	jdolecek@netbsd.org
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Fri, 18 Oct 2019 22:04:10 +0300

 Hi,

 In this case our issues are unrelated after all, despite our initial
 assumption. Just recently I attached DVD-ROM device for testing
 purposes, but it also was recognized properly with the latest
 ahcisata_core.c revision. Probably I should try to use second hard
 drive more heavily to see if it behaves OK, but at least it is always
 recognized properly now and I don't have any reboot issues anymore.

 Btw, is there any plan to pull up these changes to netbsd-9 branch,
 since I need to patch it manually every time I rebuild the netbsd-9
 based kernel?

 Regards,
 Andrius V


 On Wed, Oct 9, 2019 at 5:00 PM John D. Baker <jdbaker@consolidated.net> wrote:
 >
 > The following reply was made to PR kern/54289; it has been noted by GNATS.
 >
 > From: "John D. Baker" <jdbaker@consolidated.net>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: kern/54289: wd1 fails to be identified properly
 > Date: Wed, 9 Oct 2019 08:58:28 -0500 (CDT)
 >
 >  On Wed, 9 Oct 2019 12:09:26 +0000 (UTC), jdolecek@NetBSD.org wrote:
 >
 >  > State-Changed-Why:
 >  > Can you try with more recent -current? Particularly with this file:
 >  > sys/dev/ic/ahcisata_core.c rev. 1.78 (or later)
 >
 >  My build of -current was from sources around 201910061620Z.  These include
 >  the above-referenced version of the file.  The results are as previously
 >  stated.
 >
 >  --
 >  |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 >  |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 >  | X  No HTML/proprietary data in email.   BSD just sits there and works!
 >  |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 >

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Fri, 18 Oct 2019 14:49:02 -0500 (CDT)

 On Fri, 18 Oct 2019, Andrius V wrote:

 > In this case our issues are unrelated after all, despite our initial
 > assumption. Just recently I attached DVD-ROM device for testing
 > purposes, but it also was recognized properly with the latest
 > ahcisata_core.c revision. Probably I should try to use second hard
 > drive more heavily to see if it behaves OK, but at least it is always
 > recognized properly now and I don't have any reboot issues anymore.

 The symptoms are the same, but the latest revision didn't help me.  So
 far, I have only encountered two machines which exhibit the problem and
 I don't dare test on the second one any further as I nearly lost my
 fileserver's RAID from booting a netbsd-9 kernel on it.

 I had a locally-applied patch for additional debugging, but in case
 it was interfering, I've moved it aside.  As soon as I can rebuild
 -current again I'll test again.

 > Btw, is there any plan to pull up these changes to netbsd-9 branch,
 > since I need to patch it manually every time I rebuild the netbsd-9
 > based kernel?

 I recently booted netbsd-9 from a live-usb stick on the one affected
 machine on which I can test.  It seems to alternately work, then fail,
 then work, then fail, etc. on each successive reboot.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Fri, 18 Oct 2019 17:03:26 -0500 (CDT)

 On Fri, 18 Oct 2019, John D. Baker wrote:

 > I had a locally-applied patch for additional debugging, but in case
 > it was interfering, I've moved it aside.  As soon as I can rebuild
 > -current again I'll test again.

 Nope.  Still fails every boot (pxeboot/NFS root).  Updating my -current
 live-USB stick now to see if it makes a difference booting from that.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: =?UTF-8?B?SmFyb23DrXIgRG9sZcSNZWs=?= <jaromir.dolecek@gmail.com>
To: Andrius V <vezhlys@gmail.com>, "gnats-bugs@NetBSD.org" <gnats-bugs@netbsd.org>
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Sat, 19 Oct 2019 10:30:03 +0200

 I've just requested pullup of rev. 1.76 to netbsd-9.

 Le ven. 18 oct. 2019 =C3=A0 21:04, Andrius V <vezhlys@gmail.com> a =C3=A9cr=
 it :
 >
 > Hi,
 >
 > In this case our issues are unrelated after all, despite our initial
 > assumption. Just recently I attached DVD-ROM device for testing
 > purposes, but it also was recognized properly with the latest
 > ahcisata_core.c revision. Probably I should try to use second hard
 > drive more heavily to see if it behaves OK, but at least it is always
 > recognized properly now and I don't have any reboot issues anymore.
 >
 > Btw, is there any plan to pull up these changes to netbsd-9 branch,
 > since I need to patch it manually every time I rebuild the netbsd-9
 > based kernel?
 >
 > Regards,
 > Andrius V
 >
 >
 > On Wed, Oct 9, 2019 at 5:00 PM John D. Baker <jdbaker@consolidated.net> w=
 rote:
 > >
 > > The following reply was made to PR kern/54289; it has been noted by GNA=
 TS.
 > >
 > > From: "John D. Baker" <jdbaker@consolidated.net>
 > > To: gnats-bugs@netbsd.org
 > > Cc:
 > > Subject: Re: kern/54289: wd1 fails to be identified properly
 > > Date: Wed, 9 Oct 2019 08:58:28 -0500 (CDT)
 > >
 > >  On Wed, 9 Oct 2019 12:09:26 +0000 (UTC), jdolecek@NetBSD.org wrote:
 > >
 > >  > State-Changed-Why:
 > >  > Can you try with more recent -current? Particularly with this file:
 > >  > sys/dev/ic/ahcisata_core.c rev. 1.78 (or later)
 > >
 > >  My build of -current was from sources around 201910061620Z.  These inc=
 lude
 > >  the above-referenced version of the file.  The results are as previous=
 ly
 > >  stated.
 > >
 > >  --
 > >  |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 > >  |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeB=
 SD
 > >  | X  No HTML/proprietary data in email.   BSD just sits there and work=
 s!
 > >  |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 > >

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Sat, 19 Oct 2019 05:54:26 -0500 (CDT)

 On Fri, 18 Oct 2019, John D. Baker wrote:

 > On Fri, 18 Oct 2019, John D. Baker wrote:
 > 
 > > I had a locally-applied patch for additional debugging, but in case
 > > it was interfering, I've moved it aside.  As soon as I can rebuild
 > > -current again I'll test again.
 > 
 > Nope.  Still fails every boot (pxeboot/NFS root).  Updating my -current
 > live-USB stick now to see if it makes a difference booting from that.

 Booting the -current live-USB behaves the same as netboot.  Fails every
 time.  Also tried my i386-current live-USB stick with the same result.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Fri, 25 Oct 2019 15:37:17 -0500 (CDT)

 I devised a procedure to test -current on the fileserver without risking
 the RAID if disks fail to be detected--reboot in single-user mode,
 disable autoconfiguration and boot the test kernel in single-user mode.

 Booting a 9.99.17 kernel (the first I've built since the switch to GCC-8)
 seems to detect wd0 (the first in the RAID set), but still complains
 about IDENTIFY FAILED and can't find identify wd1-wd3 (more RAID disks)
 at all.  These are all on the siisata card.  The system disk is wd4 on
 the onboard piixide parallel bus and wd5-wd8 (the rest of the RAID) are
 on the onboard Intel ahcisata ports.

 I captured the dmesg before rebooting with its normal system (8.1_STABLE).

 The relevant bits:

 [   1.0254336] ppb4 at pci4 dev 0 function 0: Pericom Semiconductors PI7C9X111SL PCIe to PCI Reverse Bridge (rev. 0x02)
 [   1.0254336] ppb4: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
 [   1.0254336] pci5 at ppb4 bus 5
 [   1.0254336] pci5: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0254336] siisata0 at pci5 dev 4 function 0: CMD Technology SiI3124 SATALink (rev. 0x02)
 [   1.0254336] siisata0: interrupting at msi1 vec 0
 [   1.0254336] siisata0: SiI3124, 3.0Gb/s
 [   1.0254336] siisata0: 32-bit 66MHz PCI
 [   1.0254336] atabus0 at siisata0 channel 0
 [   1.0254336] atabus1 at siisata0 channel 1
 [   1.0254336] atabus2 at siisata0 channel 2
 [   1.0254336] atabus3 at siisata0 channel 3

 [   1.0254336] piixide0 at pci0 dev 31 function 1: Intel 82801GB/GR IDE Controller (ICH7) (rev. 0x01)
 [   1.0254336] piixide0: bus-master DMA support present
 [   1.0254336] piixide0: primary channel configured to compatibility mode
 [   1.0254336] piixide0: primary channel interrupting at ioapic0 pin 14
 [   1.0254336] atabus4 at piixide0 channel 0
 [   1.0254336] piixide0: secondary channel configured to compatibility mode
 [   1.0254336] piixide0: secondary channel ignored (disabled)
 [   1.0254336] ahcisata0 at pci0 dev 31 function 2: Intel 82801GB/GR AHCI SATA Controller (rev. 0x01)
 [   1.0254336] ahcisata0: 64-bit DMA
 [   1.0254336] ahcisata0: AHCI revision 1.10, 4 ports, 32 slots, CAP 0xc320ff03<PSC,SSC,PMD,ISS=0x2=Gen2,SCLO,SAL,SNCQ,S64A>
 [   1.0254336] ahcisata0: interrupting at msi2 vec 0
 [   1.0254336] atabus5 at ahcisata0 channel 0
 [   1.0254336] atabus6 at ahcisata0 channel 1
 [   1.0254336] atabus7 at ahcisata0 channel 2
 [   1.0254336] atabus8 at ahcisata0 channel 3

 [   1.7984930] siisata0 port 0: device present, speed: 3.0Gb/s
 [   1.7984930] siisata0 port 1: device present, speed: 3.0Gb/s
 [   1.7984930] siisata0 port 2: device present, speed: 3.0Gb/s
 [   1.7984930] siisata0 port 3: device present, speed: 3.0Gb/s
 [   1.7984930] ahcisata0 port 0: device present, speed: 3.0Gb/s
 [   1.7984930] ahcisata0 port 1: device present, speed: 3.0Gb/s
 [   1.7984930] ahcisata0 port 2: device present, speed: 3.0Gb/s
 [   1.7984930] ahcisata0 port 3: device present, speed: 3.0Gb/s
 [   1.8084982] wd0 at atabus0 drive 0
 [   1.8084982] wd0: <Hitachi HDS721010CLA332>
 [   1.8084982] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 [   1.8084982] wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors

 [   7.8311162] wd0: autoconfiguration error: IDENTIFY failed
 [   7.8311162] autoconfiguration error: wd0: unable to open device, error = 5
 [  10.8383800] wd0(siisata0:0:0): using PIO mode 0
 [  10.8383800] wd1 at atabus1 drive 0
 [  16.8629319] wd1: autoconfiguration error: IDENTIFY failed
 [  16.8629319] wd1: fixing 0 sector size
 [  16.8629319] wd1: secperunit and ncylinders are zero
 [  19.8701959] wd1(siisata0:1:0): using PIO mode 0
 [  19.8701959] wd2 at atabus2 drive 0
 [  25.8947475] wd2: autoconfiguration error: IDENTIFY failed
 [  25.8947475] wd2: fixing 0 sector size
 [  25.8947475] wd2: secperunit and ncylinders are zero
 [  28.9020114] wd2(siisata0:2:0): using PIO mode 0
 [  28.9020114] wd3 at atabus3 drive 0
 [  34.9265633] wd3: autoconfiguration error: IDENTIFY failed
 [  34.9265633] wd3: fixing 0 sector size
 [  34.9265633] wd3: secperunit and ncylinders are zero
 [  37.9338271] wd3(siisata0:3:0): using PIO mode 0
 [  37.9338271] wd4 at atabus4 drive 0
 [  37.9338271] wd4: <Maxtor 31536H2>
 [  37.9338271] wd4: drive supports 16-sector PIO transfers, LBA addressing
 [  37.9338271] wd4: 14655 MB, 29777 cyl, 16 head, 63 sec, 512 bytes/sect x 30015216 sectors
 [  37.9940749] wd4: 32-bit data port
 [  37.9940749] wd4: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
 [  37.9940749] wd4(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
 [  37.9940749] wd5 at atabus5 drive 0
 [  37.9940749] wd5: <Hitachi HDS721010CLA332>
 [  37.9940749] wd5: drive supports 16-sector PIO transfers, LBA48 addressing
 [  37.9940749] wd5: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
 [  38.0242696] wd5: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [  38.0242696] wd5(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [  38.0242696] wd6 at atabus6 drive 0
 [  38.0242696] wd6: <Hitachi HDS721010CLA332>
 [  38.0242696] wd6: drive supports 16-sector PIO transfers, LBA48 addressing
 [  38.0242696] wd6: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
 [  38.0644482] wd6: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [  38.0644482] wd6(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [  38.0644482] wd7 at atabus7 drive 0
 [  38.0644482] wd7: <Hitachi HDS721010CLA332>
 [  38.0644482] wd7: drive supports 16-sector PIO transfers, LBA48 addressing
 [  38.0644482] wd7: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
 [  38.0946233] wd7: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [  38.0946233] wd7(ahcisata0:2:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [  38.0946233] wd8 at atabus8 drive 0
 [  38.1046895] wd8: <Hitachi HDS721010CLA332>
 [  38.1046895] wd8: drive supports 16-sector PIO transfers, LBA48 addressing
 [  38.1046895] wd8: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
 [  38.1348227] wd8: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [  38.1348227] wd8(ahcisata0:3:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [  44.3801110] wd0: autoconfiguration error: IDENTIFY failed
 [  44.3801110] opendisk: can't open dev wd0 (5)
 [  50.4448822] wd0: autoconfiguration error: IDENTIFY failed
 [  50.4448822] opendisk: can't open dev wd0 (5)
 [  56.5498116] wd0: autoconfiguration error: IDENTIFY failed
 [  56.5498116] WARNING: 9 errors while detecting hardware; check system log.
 [  56.5498116] boot device: wd4
 [  56.5498116] root on wd4a dumps on wd4b
 [  56.6401114] root file system type: ffs
 [  56.6501979] kern.module.path=/stand/amd64/9.99.17/modules

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Thu, 5 Dec 2019 11:16:37 -0600 (CST)

 On Fri, 25 Oct 2019, John D. Baker wrote:

 > Booting a 9.99.17 kernel (the first I've built since the switch to GCC-8)
 > seems to detect wd0 (the first in the RAID set), but still complains
 > about IDENTIFY FAILED and can't find identify wd1-wd3 (more RAID disks)
 > at all.  These are all on the siisata card.  The system disk is wd4 on
 > 
 > [   1.0254336] siisata0 at pci5 dev 4 function 0: CMD Technology SiI3124 SATALink (rev. 0x02)
 > [   1.0254336] siisata0: interrupting at msi1 vec 0
 > [   1.0254336] siisata0: SiI3124, 3.0Gb/s
 > [   1.0254336] siisata0: 32-bit 66MHz PCI
 > [   1.0254336] atabus0 at siisata0 channel 0
 > [   1.0254336] atabus1 at siisata0 channel 1
 > [   1.0254336] atabus2 at siisata0 channel 2
 > [   1.0254336] atabus3 at siisata0 channel 3
 > 
 > [   1.7984930] siisata0 port 0: device present, speed: 3.0Gb/s
 > [   1.7984930] siisata0 port 1: device present, speed: 3.0Gb/s
 > [   1.7984930] siisata0 port 2: device present, speed: 3.0Gb/s
 > [   1.7984930] siisata0 port 3: device present, speed: 3.0Gb/s
 > 
 > [   1.8084982] wd0 at atabus0 drive 0
 > [   1.8084982] wd0: <Hitachi HDS721010CLA332>
 > [   1.8084982] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 > [   1.8084982] wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
 > 
 > [   7.8311162] wd0: autoconfiguration error: IDENTIFY failed
 > [   7.8311162] autoconfiguration error: wd0: unable to open device, error = 5
 > [  10.8383800] wd0(siisata0:0:0): using PIO mode 0
 > [  10.8383800] wd1 at atabus1 drive 0
 > [  16.8629319] wd1: autoconfiguration error: IDENTIFY failed
 > [  16.8629319] wd1: fixing 0 sector size
 > [  16.8629319] wd1: secperunit and ncylinders are zero
 > [  19.8701959] wd1(siisata0:1:0): using PIO mode 0
 > [  19.8701959] wd2 at atabus2 drive 0
 > [  25.8947475] wd2: autoconfiguration error: IDENTIFY failed
 > [  25.8947475] wd2: fixing 0 sector size
 > [  25.8947475] wd2: secperunit and ncylinders are zero
 > [  28.9020114] wd2(siisata0:2:0): using PIO mode 0
 > [  28.9020114] wd3 at atabus3 drive 0
 > [  34.9265633] wd3: autoconfiguration error: IDENTIFY failed
 > [  34.9265633] wd3: fixing 0 sector size
 > [  34.9265633] wd3: secperunit and ncylinders are zero
 > [  37.9338271] wd3(siisata0:3:0): using PIO mode 0
 > 
 > [  44.3801110] wd0: autoconfiguration error: IDENTIFY failed
 > [  44.3801110] opendisk: can't open dev wd0 (5)
 > [  50.4448822] wd0: autoconfiguration error: IDENTIFY failed
 > [  50.4448822] opendisk: can't open dev wd0 (5)
 > [  56.5498116] wd0: autoconfiguration error: IDENTIFY failed
 > [  56.5498116] WARNING: 9 errors while detecting hardware; check system log.

 All previous work on this PR has been directed at ahcisata(4).  On this
 machine, there is no issue with ahcisata(4).  Rather, the problem
 manifests only on with siisata(4) and the disks attached to it.

 I don't know if or how much siisata(4) shares with ahcisata(4), but it
 would seem that siisata(4) needs to be investigated to advance the state
 of this PR.

 Although there has been posted one example where an siisata(4) card is
 working properly, it does not do so in my case.  Alas, it is the only
 one I have and is mission-critical, so I cannot test it in other host
 systems.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Tue, 24 Mar 2020 00:32:52 -0500 (CDT)

 I've begun bisecting -current between the release of netbsd-8 and netbsd-9.
 So far, 8.99.21 (2 Jul 2018) appears to work--the disks attached to the
 siisata(4) device are all detected.

 8.99.30 (16 Jan 2019) fails in the manner previously described in this
 PR.

 I have a suspicion that changes to siisata(4) dating from 22-25 Oct 2018
 may be the culprit (enabling MSI and related cleanup).  If bisection
 leads me back to there, the changes look to be too involved to merely
 roll back in netbsd-9 or -current.

 Pondering forking a new PR as this particular problem is on siisata(4)
 while another machine has a similar problem with atasata(4)

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Tue, 24 Mar 2020 16:13:21 -0500 (CDT)

 The story so far:

   8.99.21 (2 Jul 2018) works

   8.99.30 (16 Jan 2019) fails

 The half-way point between these is 8.99.25 (9 Oct 2018), but the build
 failed building i915drmkms modules.  I don't recall -current's buildability
 during that time, so I don't know if inching forward a bit will fix
 things.  The problem files have not changed in the last 18 months.

 I've rolled back to 27 Aug 2018 04:30UTC (8.99.24) as that's just before
 the merge of newer Linux drm stuff and am trying again.

 I think the crucial point will be 22 Oct 2018, 20:13:47 UTC as that's
 when the jdolecek-ncqfixes branch was merged.  I don't know if i915drmkms
 will still be a problem at that point.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Fri, 27 Mar 2020 00:51:21 -0500 (CDT)

 On Tue, 24 Mar 2020, John D. Baker wrote:

 > I think the crucial point will be 22 Oct 2018, 20:13:47 UTC as that's
 > when the jdolecek-ncqfixes branch was merged.  I don't know if i915drmkms
 > will still be a problem at that point.

 Building 8.99.25 (22-Oct-2018 20:00 UTC) to empty tools/obj/DEST
 directories completed successfully.

 The resulting kernel detects all the disks on the siisata(4) card
 without any problems.

 Next:  rolling forward to Oct 25 21:04 2018 UTC, just after the merge
 of jdolecek-ncqfixes branch and a few additional commits.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Fri, 27 Mar 2020 09:39:20 -0500 (CDT)

 On Fri, 27 Mar 2020, John D. Baker wrote:

 > On Tue, 24 Mar 2020, John D. Baker wrote:
 > 
 > > I think the crucial point will be 22 Oct 2018, 20:13:47 UTC as that's
 > > when the jdolecek-ncqfixes branch was merged.  I don't know if i915drmkms
 > > will still be a problem at that point.
 > 
 > Building 8.99.25 (22-Oct-2018 20:00 UTC) to empty tools/obj/DEST
 > directories completed successfully.
 > 
 > The resulting kernel detects all the disks on the siisata(4) card
 > without any problems.
 > 
 > Next:  rolling forward to Oct 25 21:04 2018 UTC, just after the merge
 > of jdolecek-ncqfixes branch and a few additional commits.

 Confirmed.  A kernel built from sources of this date/time fails to
 detect the disks on the siisata(4) device.  The changes just after the
 merge of jdolecek-ncqfixes don't appear to affect actual operation of
 the siisata(4) device or the disks attached to it, so I think there's
 something to the merged branch that upsets siisata(4) on this machine.

 Earlier in this PR, it is mentioned that siisata(4) works fine for at
 least one user following this merge.  Alas, it is very broken on my
 machine preventing update to netbsd-9.

 Complete dmesg of failing kernel:

 [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 [   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
 [   1.0000000]     2018 The NetBSD Foundation, Inc.  All rights reserved.
 [   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [   1.0000000]     The Regents of the University of California.  All rights reserved.

 [   1.0000000] NetBSD 8.99.25 (GENERIC_R5RS) #1: Fri Mar 27 08:07:24 CDT 2020
 [   1.0000000] 	sysop@yggdrasil.technoskunk.fur:/r0/build/nbsd-tst/obj/amd64/sys/arch/amd64/compile/GENERIC_R5RS
 [   1.0000000] total memory = 3573 MB
 [   1.0000000] avail memory = 3444 MB
 [   1.0000000] timecounter: Timecounters tick every 10.000 msec
 [   1.0000000] Kernelized RAIDframe activated
 [   1.0000000] running cgd selftest aes-xts-256 aes-xts-512 done
 [   1.0000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 [   1.0000030] EMACHINES W3609 (400)
 [   1.0000030] mainbus0 (root)
 [   1.0000030] ACPI: RSDP 0x00000000000FE020 000014 (v00 GATEWA)
 [   1.0000030] ACPI: RSDT 0x00000000DF6FE038 000040 (v01 GATEWA SYSTEM   0000001C      01000013)
 [   1.0000030] ACPI: FACP 0x00000000DF6FD000 000074 (v01 GATEWA SYSTEM   0000001C MSFT 01000013)
 [   1.0000030] ACPI: DSDT 0x00000000DF6F8000 0040B2 (v01 GATEWA SYSTEM   0000001C MSFT 01000013)
 [   1.0000030] ACPI: FACS 0x00000000DF6AA000 000040
 [   1.0000030] ACPI: APIC 0x00000000DF6F7000 000078 (v01 GATEWA SYSTEM   0000001C MSFT 01000013)
 [   1.0000030] ACPI: WDDT 0x00000000DF6F6000 000040 (v01 GATEWA SYSTEM   0000001C MSFT 01000013)
 [   1.0000030] ACPI: MCFG 0x00000000DF6F5000 00003C (v01 GATEWA SYSTEM   0000001C MSFT 01000013)
 [   1.0000030] ACPI: ASF! 0x00000000DF6F4000 0000A6 (v32 GATEWA SYSTEM   0000001C MSFT 01000013)
 [   1.0000030] ACPI: HPET 0x00000000DF6F3000 000038 (v01 GATEWA SYSTEM   0000001C MSFT 01000013)
 [   1.0000030] ACPI: SLIC 0x00000000DF6F2000 000176 (v01 GATEWA SYSTEM   0000001C MSFT 01000013)
 [   1.0000030] ACPI: 1 ACPI AML tables successfully acquired and loaded
 [   1.0000030] ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 24 pins
 [   1.0000030] cpu0 at mainbus0 apid 0
 [   1.0000030] cpu0: Intel(R) Celeron(R) D CPU        430  @ 1.80GHz, id 0x10661
 [   1.0000030] cpu0: package 0, core 0, smt 0
 [   1.0000030] acpi0 at mainbus0: Intel ACPICA 20180810
 [   1.0000030] acpi0: X/RSDT: OemId <GATEWA,SYSTEM  ,0000001c>, AslId <    ,01000013>
 [   1.0000030] acpi0: MCFG: segment 0, bus 0-63, address 0x00000000f0000000
 [   1.0000030] acpi0: SCI interrupting at int 9
 [   1.0000030] acpi0: fixed power button present
 [   1.0000030] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
 [   1.0292802] hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
 [   1.0292802] timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
 [   1.0294640] acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
 [   1.0294640] IOCM (PNP0C02) [Motherboard Register Resources] at acpi0 not configured
 [   1.0294640] attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
 [   1.0294640] pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
 [   1.0294640] spkr0 at pcppi1: PC Speaker
 [   1.0294640] wsbell at spkr0 not configured
 [   1.0294640] midi0 at pcppi1: PC speaker
 [   1.0294640] sysbeep0 at pcppi1
 [   1.0294640] XTRA (PNP0C02) [Motherboard Register Resources] at acpi0 not configured
 [   1.0294640] LPT (PNP0400) [Standard LPT printer port] at acpi0 not configured
 [   1.0294640] pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
 [   1.0294640] UAR1 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
 [   1.0294640] APIC (PNP0003) [APIC] at acpi0 not configured
 [   1.0294640] ACPI: Enabled 2 GPEs in block 00 to 1F
 [   1.0294640] acpi0: [MADT] LAPIC          : CPU ID 1, LAPIC ID 0, FLAGS 0x01
 [   1.0294640] acpi0: [MADT] LAPIC          : CPU ID 2, LAPIC ID 129, FLAGS 0x00
 [   1.0294640] acpi0: [MADT] LAPIC          : CPU ID 3, LAPIC ID 130, FLAGS 0x00
 [   1.0294640] acpi0: [MADT] LAPIC          : CPU ID 4, LAPIC ID 131, FLAGS 0x00
 [   1.0294640] acpi0: [MADT] I/O APIC       : ID 2, GSI 0, ADDR 0xFEC00000
 [   1.0294640] acpi0: [MADT] INTR OVERRIDE  : BUS 0, IRQ 0, GSI 2, FLAGS 0x00
 [   1.0294640] acpi0: [MADT] INTR OVERRIDE  : BUS 0, IRQ 9, GSI 9, FLAGS 0x0D
 [   1.0294640] acpi0: [MADT] LAPIC NMI      : CPU ID 1, LINT 1, FLAGS 0x00
 [   1.0294640] acpi0: [MADT] LAPIC NMI      : CPU ID 2, LINT 1, FLAGS 0x00
 [   1.0294640] acpi0: [FADT] FACS           : 0x00000000DF6AA000
 [   1.0294640] acpi0: [FADT] DSDT           : 0x00000000DF6F8000
 [   1.0294640] acpi0: [FADT] INT_MODEL      : 0x0000000000000001
 [   1.0294640] acpi0: [FADT] PM_PROFILE     : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] SCI_INT        : 0x0000000000000009
 [   1.0294640] acpi0: [FADT] SMI_CMD        : 0x00000000000000B2
 [   1.0294640] acpi0: [FADT] ACPI_ENABLE    : 0x00000000000000A0
 [   1.0294640] acpi0: [FADT] ACPI_DISABLE   : 0x00000000000000A1
 [   1.0294640] acpi0: [FADT] S4BIOS_REQ     : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] PSTATE_CNT     : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] PM1a_EVT_BLK   : 0x0000000000000400
 [   1.0294640] acpi0: [FADT] PM1b_EVT_BLK   : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] PM1a_CNT_BLK   : 0x0000000000000404
 [   1.0294640] acpi0: [FADT] PM1b_CNT_BLK   : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] PM2_CNT_BLK    : 0x0000000000000420
 [   1.0294640] acpi0: [FADT] PM_TMR_BLK     : 0x0000000000000408
 [   1.0294640] acpi0: [FADT] GPE0_BLK       : 0x0000000000000428
 [   1.0294640] acpi0: [FADT] GPE1_BLK       : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] PM1_EVT_LEN    : 0x0000000000000004
 [   1.0294640] acpi0: [FADT] PM1_CNT_LEN    : 0x0000000000000002
 [   1.0294640] acpi0: [FADT] PM2_CNT_LEN    : 0x0000000000000001
 [   1.0294640] acpi0: [FADT] PM_TMR_LEN     : 0x0000000000000004
 [   1.0294640] acpi0: [FADT] GPE0_BLK_LEN   : 0x0000000000000008
 [   1.0294640] acpi0: [FADT] GPE1_BLK_LEN   : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] GPE1_BASE      : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] CST_CNT        : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] P_LVL2_LAT     : 0x0000000000000065
 [   1.0294640] acpi0: [FADT] P_LVL3_LAT     : 0x00000000000003E9
 [   1.0294640] acpi0: [FADT] FLUSH_SIZE     : 0x0000000000000400
 [   1.0294640] acpi0: [FADT] FLUSH_STRIDE   : 0x0000000000000010
 [   1.0294640] acpi0: [FADT] DUTY_OFFSET    : 0x0000000000000001
 [   1.0294640] acpi0: [FADT] DUTY_WIDTH     : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] DAY_ALRM       : 0x000000000000000D
 [   1.0294640] acpi0: [FADT] MON_ALRM       : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] CENTURY        : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] IAPC_BOOT_ARCH : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] RESET_VALUE    : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] ARM_BOOT_ARCH  : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] X_FACS         : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] X_DSDT         : 0x00000000DF6F8000
 [   1.0294640] acpi0: [FADT] RESET_REG      : 0x0000000000000000, SPACE ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0294640] acpi0: [FADT] X_PM1a_EVT_BLK : 0x0000000000000400, SPACE ID 1, BIT WIDTH 32, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0294640] acpi0: [FADT] X_PM1b_EVT_BLK : 0x0000000000000000, SPACE ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0294640] acpi0: [FADT] X_PM1a_CNT_BLK : 0x0000000000000404, SPACE ID 1, BIT WIDTH 16, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0294640] acpi0: [FADT] X_PM1b_CNT_BLK : 0x0000000000000000, SPACE ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0294640] acpi0: [FADT] X_PM2_CNT_BLK  : 0x0000000000000420, SPACE ID 1, BIT WIDTH 8, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0294640] acpi0: [FADT] X_PM_TMR_BLK   : 0x0000000000000408, SPACE ID 1, BIT WIDTH 32, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0294640] acpi0: [FADT] X_GPE0_BLK     : 0x0000000000000428, SPACE ID 1, BIT WIDTH 64, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0294640] acpi0: [FADT] X_GPE1_BLK     : 0x0000000000000000, SPACE ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0294640] acpi0: [FADT] SLEEP_CTRL_REG : 0x0000000000000000, SPACE ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0294640] acpi0: [FADT] SLEEP_STAT_REG : 0x0000000000000000, SPACE ID 0, BIT WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
 [   1.0294640] acpi0: [FADT] WBINVD         : 0x0000000000000001
 [   1.0294640] acpi0: [FADT] WBINVD_FLUSH   : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] PROC_C1        : 0x0000000000000004
 [   1.0294640] acpi0: [FADT] P_LVL2_UP      : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] PWR_BUTTON     : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] SLP_BUTTON     : 0x0000000000000020
 [   1.0294640] acpi0: [FADT] FIX_RTC        : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] RTC_S4         : 0x0000000000000080
 [   1.0294640] acpi0: [FADT] TMR_VAL_EXT    : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] DCK_CAP        : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] RESET_REG_SUP  : 0x0000000000000400
 [   1.0294640] acpi0: [FADT] SEALED_CASE    : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] HEADLESS       : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] CPU_SW_SLP     : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] PCI_EXP_WAK    : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] PLATFORM_CLK   : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] S4_RTC_STS     : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] REMOTE_POWER   : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] APIC_CLUSTER   : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] APIC_PHYSICAL  : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] HW_REDUCED     : 0x0000000000000000
 [   1.0294640] acpi0: [FADT] LOW_POWER_S0   : 0x0000000000000000
 [   1.0294640] acpi0: [\   ] HID -          UID -    ADR -
 [   1.0294640] acpi0: [CPU0] HID -          UID -    ADR -
 [   1.0294640] acpi0: [CPU1] HID -          UID -    ADR -
 [   1.0294640] acpi0: [CPU2] HID -          UID -    ADR -
 [   1.0294640] acpi0: [CPU3] HID -          UID -    ADR -
 [   1.0294640] acpi0: [_SB ] HID -          UID -    ADR -
 [   1.0294640] acpi0: [SLPB] HID PNP0C0E    UID -    ADR -
 [   1.0294640] acpi0: [PCI0] HID PNP0A03    UID -    ADR 0x0000000000000000
 [   1.0294640] acpi0: [IOCM] HID PNP0C02    UID 3    ADR -
 [   1.0294640] acpi0: [P32 ] HID -          UID -    ADR 0x00000000001E0000
 [   1.0294640] acpi0: [LPC ] HID -          UID -    ADR 0x00000000001F0000
 [   1.0294640] acpi0: [LNKA] HID PNP0C0F    UID 1    ADR -
 [   1.0294640] acpi0: [LNKB] HID PNP0C0F    UID 2    ADR -
 [   1.0294640] acpi0: [LNKC] HID PNP0C0F    UID 3    ADR -
 [   1.0294640] acpi0: [LNKD] HID PNP0C0F    UID 4    ADR -
 [   1.0294640] acpi0: [LNKE] HID PNP0C0F    UID 5    ADR -
 [   1.0294640] acpi0: [LNKF] HID PNP0C0F    UID 6    ADR -
 [   1.0294640] acpi0: [LNKG] HID PNP0C0F    UID 7    ADR -
 [   1.0294640] acpi0: [LNKH] HID PNP0C0F    UID 8    ADR -
 [   1.0294640] acpi0: [DMAC] HID PNP0200    UID -    ADR -
 [   1.0294640] acpi0: [RTC ] HID PNP0B00    UID -    ADR -
 [   1.0294640] acpi0: [PIC ] HID PNP0000    UID -    ADR -
 [   1.0294640] acpi0: [FPU ] HID PNP0C04    UID -    ADR -
 [   1.0294640] acpi0: [TMR ] HID PNP0100    UID -    ADR -
 [   1.0294640] acpi0: [SPKR] HID PNP0800    UID -    ADR -
 [   1.0294640] acpi0: [XTRA] HID PNP0C02    UID 1    ADR -
 [   1.0294640] acpi0: [TPM ] HID PNP0C31    UID 1    ADR -
 [   1.0294640] acpi0: [XTR2] HID PNP0C02    UID 2    ADR -
 [   1.0294640] acpi0: [FDC0] HID PNP0700    UID -    ADR -
 [   1.0294640] acpi0: [LPT ] HID PNP0400    UID -    ADR -
 [   1.0294640] acpi0: [ECP ] HID PNP0401    UID -    ADR -
 [   1.0294640] acpi0: [PS2M] HID PNP0F03    UID -    ADR -
 [   1.0294640] acpi0: [PS2K] HID PNP0303    UID -    ADR -
 [   1.0294640] acpi0: [UAR1] HID PNP0501    UID 1    ADR -
 [   1.0294640] acpi0: [IELK] HID AWY0001    UID -    ADR -
 [   1.0294640] acpi0: [PEX0] HID -          UID -    ADR 0x00000000001C0000
 [   1.0294640] acpi0: [PEX1] HID -          UID -    ADR 0x00000000001C0001
 [   1.0294640] acpi0: [PEX2] HID -          UID -    ADR 0x00000000001C0002
 [   1.0294640] acpi0: [PEX3] HID -          UID -    ADR 0x00000000001C0003
 [   1.0294640] acpi0: [PEX4] HID -          UID -    ADR 0x00000000001C0004
 [   1.0294640] acpi0: [PEX5] HID -          UID -    ADR 0x00000000001C0005
 [   1.0294640] acpi0: [APIC] HID PNP0003    UID -    ADR -
 [   1.0294640] acpi0: [HPET] HID PNP0103    UID -    ADR -
 [   1.0294640] acpi0: [UHC1] HID -          UID -    ADR 0x00000000001D0000
 [   1.0294640] acpi0: [UHC2] HID -          UID -    ADR 0x00000000001D0001
 [   1.0294640] acpi0: [UHC3] HID -          UID -    ADR 0x00000000001D0002
 [   1.0294640] acpi0: [UHC4] HID -          UID -    ADR 0x00000000001D0003
 [   1.0294640] acpi0: [EHCI] HID -          UID -    ADR 0x00000000001D0007
 [   1.0294640] acpi0: [AC9M] HID -          UID -    ADR 0x00000000001E0003
 [   1.0294640] acpi0: [AZAL] HID -          UID -    ADR 0x00000000001B0000
 [   1.0294640] acpi0: [IDEC] HID -          UID -    ADR 0x00000000001F0001
 [   1.0294640] acpi0: [PRID] HID -          UID -    ADR 0x0000000000000000
 [   1.0294640] acpi0: [P_D0] HID -          UID -    ADR 0x0000000000000000
 [   1.0294640] acpi0: [P_D1] HID -          UID -    ADR 0x0000000000000001
 [   1.0294640] acpi0: [IDES] HID -          UID -    ADR 0x00000000001F0002
 [   1.0294640] acpi0: [PRID] HID -          UID -    ADR 0x0000000000000000
 [   1.0294640] acpi0: [P_D0] HID -          UID -    ADR 0x0000000000000000
 [   1.0294640] acpi0: [P_D1] HID -          UID -    ADR 0x0000000000000001
 [   1.0294640] acpi0: [SECD] HID -          UID -    ADR 0x0000000000000001
 [   1.0294640] acpi0: [S_D0] HID -          UID -    ADR 0x0000000000000000
 [   1.0294640] acpi0: [S_D1] HID -          UID -    ADR 0x0000000000000001
 [   1.0294640] acpi0: [_TZ ] HID -          UID -    ADR -

 [   1.0294640] \     [06] []
 [   1.0294640]     CPU0  [12] []
 [   1.0294640]     CPU1  [12] []
 [   1.0294640]     CPU2  [12] []
 [   1.0294640]     CPU3  [12] []
 [   1.0294640]     _SB   [06] []
 [   1.0294640]         SLPB  [06] [] <acpibut0>
 [   1.0294640]         PCI0  [06] [] (PCI) @ 0x00:0x00:0x00:0x00 [R] [B] -> 0x00:0x00
 [   1.0294640]             IOCM  [06] []
 [   1.0294640]             P32   [06] [] (PCI) @ 0x00:0x00:0x1E:0x00 [B] -> 0x00:0x08
 [   1.0294640]             LPC   [06] [] (PCI) @ 0x00:0x00:0x1F:0x00
 [   1.0294640]                 LNKA  [06] []
 [   1.0294640]                 LNKB  [06] []
 [   1.0294640]                 LNKC  [06] []
 [   1.0294640]                 LNKD  [06] []
 [   1.0294640]                 LNKE  [06] []
 [   1.0294640]                 LNKF  [06] []
 [   1.0294640]                 LNKG  [06] []
 [   1.0294640]                 LNKH  [06] []
 [   1.0294640]                 DMAC  [06] []
 [   1.0294640]                 RTC   [06] []
 [   1.0294640]                 PIC   [06] []
 [   1.0294640]                 FPU   [06] []
 [   1.0294640]                 TMR   [06] [] <attimer1>
 [   1.0294640]                 SPKR  [06] [] <pcppi1>
 [   1.0294640]                 XTRA  [06] []
 [   1.0294640]                 TPM   [06] []
 [   1.0294640]                 XTR2  [06] []
 [   1.0294640]                 FDC0  [06] []
 [   1.0294640]                 LPT   [06] []
 [   1.0294640]                 ECP   [06] []
 [   1.0294640]                 PS2M  [06] []
 [   1.0294640]                 PS2K  [06] [] <pckbc1>
 [   1.0294640]                 UAR1  [06] []
 [   1.0294640]                 IELK  [06] []
 [   1.0294640]             PEX0  [06] [] (PCI) @ 0x00:0x00:0x1C:0x00 [B] -> 0x00:0x02
 [   1.0294640]             PEX1  [06] [] (PCI) @ 0x00:0x00:0x1C:0x01
 [   1.0294640]             PEX2  [06] [] (PCI) @ 0x00:0x00:0x1C:0x02 [B] -> 0x00:0x03
 [   1.0294640]             PEX3  [06] [] (PCI) @ 0x00:0x00:0x1C:0x03 [B] -> 0x00:0x04
 [   1.0294640]             PEX4  [06] [] (PCI) @ 0x00:0x00:0x1C:0x04 [B] -> 0x00:0x06
 [   1.0294640]             PEX5  [06] [] (PCI) @ 0x00:0x00:0x1C:0x05 [B] -> 0x00:0x07
 [   1.0294640]             APIC  [06] []
 [   1.0294640]             HPET  [06] []
 [   1.0294640]             UHC1  [06] [] (PCI) @ 0x00:0x00:0x1D:0x00
 [   1.0294640]             UHC2  [06] [] (PCI) @ 0x00:0x00:0x1D:0x01
 [   1.0294640]             UHC3  [06] [] (PCI) @ 0x00:0x00:0x1D:0x02
 [   1.0294640]             UHC4  [06] [] (PCI) @ 0x00:0x00:0x1D:0x03
 [   1.0294640]             EHCI  [06] [] (PCI) @ 0x00:0x00:0x1D:0x07
 [   1.0294640]             AC9M  [06] [] (PCI) @ 0x00:0x00:0x1E:0x03
 [   1.0294640]             AZAL  [06] [] (PCI) @ 0x00:0x00:0x1B:0x00
 [   1.0294640]             IDEC  [06] [] (PCI) @ 0x00:0x00:0x1F:0x01
 [   1.0294640]                 PRID  [06] []
 [   1.0294640]                     P_D0  [06] []
 [   1.0294640]                     P_D1  [06] []
 [   1.0294640]             IDES  [06] [] (PCI) @ 0x00:0x00:0x1F:0x02
 [   1.0294640]                 PRID  [06] []
 [   1.0294640]                     P_D0  [06] []
 [   1.0294640]                     P_D1  [06] []
 [   1.0294640]                 SECD  [06] []
 [   1.0294640]                     S_D0  [06] []
 [   1.0294640]                     S_D1  [06] []
 [   1.0294640]     _TZ   [06] []
 [   1.0294640] attimer1: attached to pcppi1
 [   1.0294640] pckbd0 at pckbc1 (kbd slot)
 [   1.0294640] pckbc1: using irq 1 for kbd slot
 [   1.0294640] wskbd0 at pckbd0: console keyboard
 [   1.0294640] pci0 at mainbus0 bus 0: configuration mode 1
 [   1.0294640] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 [   1.0294640] pchb0 at pci0 dev 0 function 0: Intel 82945G/P Memory Controller Hub (rev. 0x02)
 [   1.0294640] agp0 at pchb0: i915-family chipset
 [   1.0294640] agp0: detected 7932k stolen memory
 [   1.0294640] agp0: autoconfiguration error: BAR size 20000 mismatches detected GTT size 40000; trusting BAR
 [   1.0294640] agp0: aperture at 0xe0000000, size 0x8000000
 [   1.0294640] ppb0 at pci0 dev 1 function 0: Intel 82945G/P PCI Express Bridge (rev. 0x02)
 [   1.0294640] ppb0: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x16 @ 2.5GT/s
 [   1.0294640] pci1 at ppb0 bus 1
 [   1.0294640] pci1: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0294640] wm0 at pci1 dev 0 function 0: Intel i82574L (rev. 0x00)
 [   1.0294640] wm0: interrupting at msi0 vec 0
 [   1.0294640] wm0: PCI-Express bus
 [   1.0294640] wm0: ASPM L0s and L1 are disabled to workaround the errata.
 [   1.0294640] wm0: 2048 words FLASH, version 1.8.0, Image Unique ID 0000ffff
 [   1.0294640] wm0: Ethernet address 00:1b:21:b0:77:10
 [   1.0294640] wm0: 0x224480<FLASH,IOH_VALID,PCIE,ASF_FIRM,WOL>
 [   1.0294640] makphy0 at wm0 phy 1: Marvell 88E1149 Gigabit PHY, rev. 1
 [   1.0294640] makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 [   1.0294640] i915drmkms0 at pci0 dev 2 function 0: Intel 82945G/P Integrated Graphics Device (rev. 0x02)
 [   1.0294640] ppb1 at pci0 dev 28 function 0: Intel 82801GB/GR PCI Express Port #1 (rev. 0x01)
 [   1.0294640] ppb1: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
 [   1.0294640] pci2 at ppb1 bus 2
 [   1.0294640] pci2: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0294640] ppb2 at pci0 dev 28 function 2: Intel 82801GB/GR PCI Express Port #3 (rev. 0x01)
 [   1.0294640] ppb2: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
 [   1.0294640] pci3 at ppb2 bus 3
 [   1.0294640] pci3: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0294640] ppb3 at pci0 dev 28 function 3: Intel 82801GB/GR PCI Express Port #4 (rev. 0x01)
 [   1.0294640] ppb3: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
 [   1.0294640] pci4 at ppb3 bus 4
 [   1.0294640] pci4: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0294640] ppb4 at pci4 dev 0 function 0: Pericom Semiconductors PI7C9X111SL PCIe to PCI Reverse Bridge (rev. 0x02)
 [   1.0294640] ppb4: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
 [   1.0294640] pci5 at ppb4 bus 5
 [   1.0294640] pci5: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0294640] siisata0 at pci5 dev 4 function 0: CMD Technology SiI3124 SATALink (rev. 0x02)
 [   1.0294640] siisata0: interrupting at msi1 vec 0
 [   1.0294640] siisata0: SiI3124, 3.0Gb/s
 [   1.0294640] siisata0: 32-bit 66MHz PCI
 [   1.0294640] atabus0 at siisata0 channel 0
 [   1.0294640] atabus1 at siisata0 channel 1
 [   1.0294640] atabus2 at siisata0 channel 2
 [   1.0294640] atabus3 at siisata0 channel 3
 [   1.0294640] ppb5 at pci0 dev 28 function 4: Intel 82801GB/GR PCI Express Port #5 (rev. 0x01)
 [   1.0294640] ppb5: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
 [   1.0294640] pci6 at ppb5 bus 6
 [   1.0294640] pci6: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0294640] ppb6 at pci0 dev 28 function 5: Intel 82801GB/GR PCI Express Port #6 (rev. 0x01)
 [   1.0294640] ppb6: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
 [   1.0294640] pci7 at ppb6 bus 7
 [   1.0294640] pci7: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0294640] uhci0 at pci0 dev 29 function 0: Intel 82801GB/GR USB UHCI Controller (rev. 0x01)
 [   1.0294640] uhci0: interrupting at ioapic0 pin 23
 [   1.0294640] usb0 at uhci0: USB revision 1.0
 [   1.0294640] uhci1 at pci0 dev 29 function 1: Intel 82801GB/GR USB UHCI Controller (rev. 0x01)
 [   1.0294640] uhci1: interrupting at ioapic0 pin 19
 [   1.0294640] usb1 at uhci1: USB revision 1.0
 [   1.0294640] uhci2 at pci0 dev 29 function 2: Intel 82801GB/GR USB UHCI Controller (rev. 0x01)
 [   1.0294640] uhci2: interrupting at ioapic0 pin 18
 [   1.0294640] usb2 at uhci2: USB revision 1.0
 [   1.0294640] uhci3 at pci0 dev 29 function 3: Intel 82801GB/GR USB UHCI Controller (rev. 0x01)
 [   1.0294640] uhci3: interrupting at ioapic0 pin 16
 [   1.0294640] usb3 at uhci3: USB revision 1.0
 [   1.0294640] ehci0 at pci0 dev 29 function 7: Intel 82801GB/GR USB EHCI Controller (rev. 0x01)
 [   1.0294640] ehci0: interrupting at ioapic0 pin 23
 [   1.0294640] ehci0: EHCI version 1.0
 [   1.0294640] ehci0: 4 companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
 [   1.0294640] usb4 at ehci0: USB revision 2.0
 [   1.0294640] ppb7 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0xe1)
 [   1.0294640] pci8 at ppb7 bus 8
 [   1.0294640] pci8: i/o space, memory space enabled
 [   1.0294640] ichlpcib0 at pci0 dev 31 function 0: Intel 82801GH LPC Interface Bridge (rev. 0x01)
 [   1.0294640] timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
 [   1.0294640] ichlpcib0: 24-bit timer
 [   1.0294640] tco0 at ichlpcib0: TCO (watchdog) timer configured.
 [   1.0294640] tco0: Min/Max interval 1/367 seconds
 [   1.0294640] piixide0 at pci0 dev 31 function 1: Intel 82801GB/GR IDE Controller (ICH7) (rev. 0x01)
 [   1.0294640] piixide0: bus-master DMA support present
 [   1.0294640] piixide0: primary channel configured to compatibility mode
 [   1.0294640] piixide0: primary channel interrupting at ioapic0 pin 14
 [   1.0294640] atabus4 at piixide0 channel 0
 [   1.0294640] piixide0: secondary channel configured to compatibility mode
 [   1.0294640] piixide0: secondary channel ignored (disabled)
 [   1.0294640] ahcisata0 at pci0 dev 31 function 2: Intel 82801GB/GR AHCI SATA Controller (rev. 0x01)
 [   1.0294640] ahcisata0: interrupting at msi2 vec 0
 [   1.0294640] ahcisata0: 64-bit DMA
 [   1.0294640] ahcisata0: AHCI revision 1.10, 4 ports, 32 slots, CAP 0xc320ff03<PSC,SSC,PMD,ISS=0x2=Gen2,SCLO,SAL,SNCQ,S64A>
 [   1.0294640] atabus5 at ahcisata0 channel 0
 [   1.0294640] atabus6 at ahcisata0 channel 1
 [   1.0294640] atabus7 at ahcisata0 channel 2
 [   1.0294640] atabus8 at ahcisata0 channel 3
 [   1.0294640] ichsmb0 at pci0 dev 31 function 3: Intel 82801GB/GR SMBus Controller (rev. 0x01)
 [   1.0294640] ichsmb0: interrupting at ioapic0 pin 19
 [   1.0294640] iic0 at ichsmb0: I2C bus
 [   1.0294640] spdmem0 at iic0 addr 0x50
 [   1.0294640] spdmem0: DDR2 SDRAM, no parity or ECC, 2GB, 667MHz (PC2-5300)
 [   1.0294640] spdmem0: 14 rows, 10 cols, 2 ranks, 8 banks/chip, 3.00ns cycle time
 [   1.0294640] spdmem0: tAA-tRCD-tRP-tRAS: 5-5-5-15
 [   1.0294640] spdmem0: voltage SSTL 1.8V, refresh time 7.8us (self-refreshing)
 [   1.0294640] spdmem1 at iic0 addr 0x52
 [   1.0294640] spdmem1: DDR2 SDRAM, no parity or ECC, 2GB, 667MHz (PC2-5300)
 [   1.0294640] spdmem1: 14 rows, 10 cols, 2 ranks, 8 banks/chip, 3.00ns cycle time
 [   1.0294640] spdmem1: tAA-tRCD-tRP-tRAS: 5-5-5-15
 [   1.0294640] spdmem1: voltage SSTL 1.8V, refresh time 7.8us (self-refreshing)
 [   1.0294640] isa0 at ichlpcib0
 [   1.0294640] lpt0 at isa0 port 0x378-0x37b irq 7
 [   1.0294640] com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 [   1.0294640] acpicpu0 at cpu0: ACPI CPU
 [   1.0294640] acpicpu0: C1: HLT, lat   0 us, pow     0 mW
 [   1.0294640] coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=100
 [   1.0294640] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 [   1.5074342] IPsec: Initialized Security Association Processing.
 [   1.5174386] uhub0 at usb0: NetBSD (0000) UHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
 [   1.5174386] uhub0: 2 ports with 2 removable, self powered
 [   1.5174386] uhub1 at usb1: NetBSD (0000) UHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
 [   1.5174386] uhub1: 2 ports with 2 removable, self powered
 [   1.5174386] uhub2 at usb2: NetBSD (0000) UHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
 [   1.5174386] uhub2: 2 ports with 2 removable, self powered
 [   1.5174386] uhub3 at usb3: NetBSD (0000) UHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
 [   1.5174386] uhub3: 2 ports with 2 removable, self powered
 [   1.5174386] uhub4 at usb4: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
 [   1.5174386] uhub4: 8 ports with 8 removable, self powered
 [   1.5974756] siisata0 port 0: device present, speed: 3.0Gb/s
 [   1.5974756] siisata0 port 1: device present, speed: 3.0Gb/s
 [   1.5974756] siisata0 port 2: device present, speed: 3.0Gb/s
 [   1.5974756] siisata0 port 3: device present, speed: 3.0Gb/s
 [   1.5974756] ahcisata0 port 0: device present, speed: 3.0Gb/s
 [   1.5974756] ahcisata0 port 1: device present, speed: 3.0Gb/s
 [   1.5974756] ahcisata0 port 2: device present, speed: 3.0Gb/s
 [   1.5974756] ahcisata0 port 3: device present, speed: 3.0Gb/s
 [   1.6074817] wd0 at atabus0 drive 0
 [   1.6074817] wd0: <Hitachi HDS721010CLA332>
 [   1.6074817] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 [   1.6074817] wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
 [   2.8283291] delaying ask root by 5 seconds due to USB owner change.ehci0: handing over full speed device on port 3 to uhci1
 [   4.6128474] wd0: autoconfiguration error: IDENTIFY failed
 [   4.6128474] autoconfiguration error: wd0: unable to open device, error = 5
 [   4.7935052] ugen0 at uhub1 port 1
 [   4.7935052] ugen0: American Power Conversion (0x51d) Back-UPS XS 1500G FW:866.L8 .D USB FW:L8 (0x02), rev 2.00/0.90, addr 2
 [   7.6207002] wd0(siisata0:0:0): using PIO mode 0
 [   7.6207002] wd1 at atabus1 drive 0
 [  10.6282462] wd1: autoconfiguration error: IDENTIFY failed
 [  10.6282462] wd1: fixing 0 sector size
 [  10.6282462] wd1: secperunit and ncylinders are zero
 [  13.6357924] wd1(siisata0:1:0): using PIO mode 0
 [  13.6357924] wd2 at atabus2 drive 0
 [  16.6433385] wd2: autoconfiguration error: IDENTIFY failed
 [  16.6433385] wd2: fixing 0 sector size
 [  16.6433385] wd2: secperunit and ncylinders are zero
 [  19.6508847] wd2(siisata0:2:0): using PIO mode 0
 [  19.6508847] wd3 at atabus3 drive 0
 [  22.6584307] wd3: autoconfiguration error: IDENTIFY failed
 [  22.6584307] wd3: fixing 0 sector size
 [  22.6584307] wd3: secperunit and ncylinders are zero
 [  25.6659767] wd3(siisata0:3:0): using PIO mode 0
 [  25.6659767] wd4 at atabus4 drive 0
 [  25.6659767] wd4: <Maxtor 31536H2>
 [  25.6659767] wd4: drive supports 16-sector PIO transfers, LBA addressing
 [  25.6659767] wd4: 14655 MB, 29777 cyl, 16 head, 63 sec, 512 bytes/sect x 30015216 sectors
 [  25.7262193] wd4: 32-bit data port
 [  25.7262193] wd4: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
 [  25.7262193] wd4(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
 [  25.7262193] wd5 at atabus5 drive 0
 [  25.7262193] wd5: <Hitachi HDS721010CLA332>
 [  25.7262193] wd5: drive supports 16-sector PIO transfers, LBA48 addressing
 [  25.7262193] wd5: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
 [  25.7664744] wd5: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [  25.7664744] wd5(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [  25.7664744] wd6 at atabus6 drive 0
 [  25.7664744] wd6: <Hitachi HDS721010CLA332>
 [  25.7664744] wd6: drive supports 16-sector PIO transfers, LBA48 addressing
 [  25.7664744] wd6: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
 [  25.7966305] wd6: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [  25.7966305] wd6(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [  25.7966305] wd7 at atabus7 drive 0
 [  25.7966305] wd7: <Hitachi HDS721010CLA332>
 [  25.7966305] wd7: drive supports 16-sector PIO transfers, LBA48 addressing
 [  25.7966305] wd7: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
 [  25.8268081] wd7: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [  25.8268081] wd7(ahcisata0:2:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [  25.8268081] wd8 at atabus8 drive 0
 [  25.8368758] wd8: <Hitachi HDS721010CLA332>
 [  25.8368758] wd8: drive supports 16-sector PIO transfers, LBA48 addressing
 [  25.8368758] wd8: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
 [  25.8670113] wd8: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [  25.8670113] wd8(ahcisata0:3:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [  29.0853103] wd0: autoconfiguration error: IDENTIFY failed
 [  29.0853103] opendisk: can't open dev wd0 (5)
 [  32.1632367] wd0: autoconfiguration error: IDENTIFY failed
 [  32.1632367] opendisk: can't open dev wd0 (5)
 [  35.3013553] wd0: autoconfiguration error: IDENTIFY failed
 [  35.3013553] WARNING: 9 errors while detecting hardware; check system log.
 [  35.3013553] boot device: wd4
 [  35.3013553] root on wd4a dumps on wd4b
 [  35.4017300] root file system type: ffs
 [  35.4117759] kern.module.path=/stand/amd64/8.99.25/modules
 [  35.4117759] kern info: [drm] Memory usable by graphics device = 128M
 [  35.4117759] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
 [  35.4117759] kern info: [drm] Driver supports precise vblank timestamp query.
 [  35.4117759] i915drmkms0: interrupting at ioapic0 pin 16 (i915drmkms0)
 [  35.4218323] kern info: [drm] initialized overlay support
 [  35.5922482] intelfb0 at i915drmkms0
 [  35.5922482] intelfb0: framebuffer at 0xffffd3005f40a000, size 1024x768, depth 32, stride 4096
 [  35.6824644] wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
 [  35.6824644] wsmux1: connecting to wsdisplay0


 Output of 'pcictl pci0 dump -b 5 -d 4' for the siisata(4) card:

 PCI configuration registers:
   Common header:
     0x00: 0x31241095 0x02b8009f 0x01040002 0x00004010

     Vendor Name: CMD Technology (0x1095)
     Device Name: SiI3124 SATALink (0x3124)
     Command register: 0x009f
       I/O space accesses: on
       Memory space accesses: on
       Bus mastering: on
       Special cycles: on
       MWI transactions: on
       Palette snooping: off
       Parity error checking: off
       Address/data stepping: on
       System error (SERR): off
       Fast back-to-back transactions: off
       Interrupt disable: off
     Status register: 0x02b8
       Immediate Readiness: off
       Interrupt status: active
       Capability List support: on
       66 MHz capable: on
       User Definable Features (UDF) support: off
       Fast back-to-back capable: on
       Data parity error detected: off
       DEVSEL timing: medium (0x1)
       Slave signaled Target Abort: off
       Master received Target Abort: off
       Master received Master Abort: off
       Asserted System Error (SERR): off
       Parity error detected: off
     Class Name: mass storage (0x01)
     Subclass Name: RAID (0x04)
     Interface: 0x00
     Revision ID: 0x02
     BIST: 0x00
     Header Type: 0x00 (0x00)
     Latency Timer: 0x40
     Cache Line Size: 64bytes (0x10)

   Type 0 ("normal" device) header:
     0x10: 0xe8008004 0x00000000 0xe8000004 0x00000000
     0x20: 0x00001001 0x00000000 0x00000000 0x71241095
     0x30: 0xfff80000 0x00000064 0x00000000 0x00000109

     Base address register at 0x10
       type: 64-bit nonprefetchable memory
       base: 0x00000000e8008000
     Base address register at 0x18
       type: 64-bit nonprefetchable memory
       base: 0x00000000e8000000
     Base address register at 0x20
       type: I/O
       base: 0x00001000
     Base address register at 0x24
       not implemented
     Cardbus CIS Pointer: 0x00000000
     Subsystem vendor ID: 0x1095
     Subsystem ID: 0x7124
     Expansion ROM Base Address Register: 0xfff80000
       base: 0xfff80000
       Expansion ROM Enable: off
       Validation Status: Validation not supported
       Validation Details: 0x0
     Capability list pointer: 0x64
     Reserved @ 0x38: 0x00000000
     Maximum Latency: 0x00
     Minimum Grant: 0x00
     Interrupt pin: 0x01 (pin A)
     Interrupt line: 0x09

   Capability register at 0x64
     type: 0x01 (Power Management)
   Capability register at 0x40
     type: 0x07 (PCI-X)
   Capability register at 0x54
     type: 0x05 (MSI)

   PCI Power Management Capabilities Register
     Capabilities register: 0x0622
       Version: 1.1
       PME# clock: off
       Device specific initialization: on
       3.3V auxiliary current: self-powered
       D1 power management state support: on
       D2 power management state support: on
       PME# support D0: off
       PME# support D1: off
       PME# support D2: off
       PME# support D3 hot: off
       PME# support D3 cold: off
     Control/status register: 0x00002000
       Power state: D0
       PCI Express reserved: off
       No soft reset: off
       PME# assertion: disabled
       Data Select: 0
       Data Scale: 1
       PME# status: off
     Bridge Support Extensions register: 0x00
       B2/B3 support: off
       Bus Power/Clock Control Enable: off
     Data register: 0x00

   PCI Message Signaled Interrupt
     Message Control register: 0x0081
       MSI Enabled: on
       Multiple Message Capable: no (1 vector)
       Multiple Message Enabled: off (1 vector)
       64 Bit Address Capable: on
       Per-Vector Masking Capable: off
       Extended Message Data Capable: off
       Extended Message Data Enable: off
     Message Address (lower) register: 0xfee00000
     Message Address (upper) register: 0x00000000
     Message Data register: 0x0063

   PCI-X Non-bridge Capabilities Register
     Command register: 0x0052
       Data Parity Error Recovery: off
       Enable Relaxed Ordering: on
       Maximum Burst Read Count: 512
       Maximum Split Transactions: 12
     Status register: 0x12c3fff8
       Function: 0
       Device: 31
       Bus: 255
       64bit device: on
       133MHz capable: on
       Split completion discarded: off
       Unexpected split completion: off
       Device Complexity: simple device
       Designed max memory read byte count: 2048
       Designed max outstanding split transaction: 12
       MAX cumulative Read Size: 128
       Received split completion error: off
       266MHz capable: off
       533MHz capable: off

   Device-dependent header:
     0x40: 0x00525407 0x12c3fff8 0x00000000 0x00000000
     0x50: 0x00000000 0x00810005 0xfee00000 0x00000000
     0x60: 0x00000063 0x06224001 0x19002000 0x00000000
     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf0: 0x00000000 0x00000000 0x00000000 0x00000000

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Fri, 27 Mar 2020 14:49:11 -0500 (CDT)

 On Fri, 27 Mar 2020, John D. Baker wrote:

 > [22-Oct-2018 20:00 UTC works]
 > [25-Oct-2018 21:04 UTC fails]

 > Confirmed.  A kernel built from sources of this date/time fails to
 > detect the disks on the siisata(4) device.  The changes just after the
 > merge of jdolecek-ncqfixes don't appear to affect actual operation of
 > the siisata(4) device or the disks attached to it, so I think there's
 > something to the merged branch that upsets siisata(4) on this machine.

 Shows how much I know...

 I've rolled back to 22-Oct-2018 20:55 UTC, after the jdolecek-ncqfixes
 merge, but before any other changes to ic/siisata.c or pci/siisata_pci.c.
 The resulting kernel correctly detects the disks attached to the siisata(4)
 card.

 Now rolling forward to 22-Oct-2018 21:00 UTC, at which the next change
 to pci/siisata_pci.c is to enable MSI.  This is the next likely culprit.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Fri, 27 Mar 2020 16:46:03 -0500 (CDT)

 22-Oct-2018 20:55 UTC works (jdolecek-ncqfixes merged to HEAD)
 22-Oct-2018 21:00 UTC fails (MSI enabled in siisata_pci.c)

 Bingo.  Enabling MSI on siisata(4) (at least in the host system in which
 I have it) causes the failure to properly detect the disks attached to it.

 So,

   src/sys/dev/pci/siisata_pci.c r1.16 works
   src/sys/dev/pci/siisata_pci.c r1.17 (and later) fails

 For my next test, I'll try building netbsd-9/amd64 with just siisata_pci.c
 rolled back to r1.16.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Fri, 27 Mar 2020 20:25:38 -0500 (CDT)

 On Fri, 27 Mar 2020, John D. Baker wrote:

 >   src/sys/dev/pci/siisata_pci.c r1.16 works
 >   src/sys/dev/pci/siisata_pci.c r1.17 (and later) fails
 > 
 > For my next test, I'll try building netbsd-9/amd64 with just siisata_pci.c
 > rolled back to r1.16.

 This works and has at last allowed me to update my file server to
 netbsd-9.

 Likely a very different problem from the origins of this PR, so I'll
 see about opening a new one to track this.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

State-Changed-From-To: open->feedback
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Mon, 28 Dec 2020 14:12:17 +0000
State-Changed-Why:
I've made some more fixes in this area recently. Can you try a -current kernel?


From: Andrius V <vezhlys@gmail.com>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, netbsd-bugs@netbsd.org, gnats-admin@netbsd.org, 
	jmcneill@netbsd.org
Subject: Re: kern/54289 (wd1 fails to be identified properly)
Date: Tue, 29 Dec 2020 00:31:19 +0200

 --000000000000eb04c505b78dd556
 Content-Type: text/plain; charset="UTF-8"

 I believe this pr can be closed, since siisata issue was moved to
 kern/55115 and my hardware was fixed long ago. The latest kernel works
 without issues as well. Thank you.

 On Mon, Dec 28, 2020 at 4:12 PM <jmcneill@netbsd.org> wrote:

 > Synopsis: wd1 fails to be identified properly
 >
 > State-Changed-From-To: open->feedback
 > State-Changed-By: jmcneill@NetBSD.org
 > State-Changed-When: Mon, 28 Dec 2020 14:12:17 +0000
 > State-Changed-Why:
 > I've made some more fixes in this area recently. Can you try a -current
 > kernel?
 >
 >
 >
 >

 --000000000000eb04c505b78dd556
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"auto"><div dir=3D"ltr">I believe this pr can be closed, since s=
 iisata issue was moved to kern/55115 and my hardware was fixed long ago. Th=
 e latest kernel works without issues as well. Thank you.</div></div><br><di=
 v class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Dec 2=
 8, 2020 at 4:12 PM &lt;<a href=3D"mailto:jmcneill@netbsd.org" target=3D"_bl=
 ank" rel=3D"noreferrer">jmcneill@netbsd.org</a>&gt; wrote:<br></div><blockq=
 uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
 x solid rgb(204,204,204);padding-left:1ex">Synopsis: wd1 fails to be identi=
 fied properly<br>
 <br>
 State-Changed-From-To: open-&gt;feedback<br>
 State-Changed-By: jmcneill@NetBSD.org<br>
 State-Changed-When: Mon, 28 Dec 2020 14:12:17 +0000<br>
 State-Changed-Why:<br>
 I&#39;ve made some more fixes in this area recently. Can you try a -current=
  kernel?<br>
 <br>
 <br>
 <br>
 </blockquote></div>

 --000000000000eb04c505b78dd556--

State-Changed-From-To: feedback->closed
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Mon, 28 Dec 2020 22:48:14 +0000
State-Changed-Why:
Closed at submitter's request.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.