NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/48214 ("clearing WDCTL_RST failed" during boot)



The following reply was made to PR kern/48214; it has been noted by GNATS.

From: Andreas Gustafsson <gson%gson.org@localhost>
To: jdolecek%NetBSD.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/48214 ("clearing WDCTL_RST failed" during boot)
Date: Mon, 3 Dec 2018 17:36:05 +0200

 jdolecek%NetBSD.org@localhost wrote:
 > This should be fixed in rev. 1.69 of sys/dev/ic/ahcisata_core.c. Can you
 > please verify?
 
 Alas, it is still not fixed.  It took me some time to verify this,
 because most of my WD2500KS disks have now developed bad sectors and
 been recycled, and I was unable to reproduce the problem using a
 different model of disk.  The only WD2500KS I could still find was in
 use in a different machine.  I have now migrated the data off it and
 reproduced the exact combination of motherboard and disk from the
 original PR, and with that, I'm still seeing the failure using
 a -current kernel from source date 2018.12.03.10.53.29.
 
 Here is the dmesg from a failed boot:
 
 [     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 [     1.000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
 [     1.000000] 2018 The NetBSD Foundation, Inc.  All rights reserved.
 [     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [     1.000000] The Regents of the University of California.  All rights reserved.
 
 [     1.000000] NetBSD 8.99.26 (GENERIC) #0: Mon Dec  3 16:27:40 EET 2018
 [     1.000000] 	root%guido.araneus.fi@localhost:/tmp/bracket/build/2018.12.03.10.53.29-amd64/obj/sys/arch/amd64/compile/GENERIC
 [     1.000000] total memory = 16292 MB
 [     1.000000] avail memory = 15794 MB
 [     1.000000] timecounter: Timecounters tick every 10.000 msec
 [     1.000000] Kernelized RAIDframe activated
 [     1.000000] running cgd selftest aes-xts-256 aes-xts-512 done
 [     1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 [     1.000003] (                                 )
 [     1.000003] mainbus0 (root)
 [     1.000003] ACPI: RSDP 0x00000000000F0450 000024 (v02 INTEL )
 [     1.000003] ACPI: XSDT 0x00000000DA9B6068 00004C (v01 INTEL  DH67CL   01072009 AMI  00010013)
 [     1.000003] ACPI: FACP 0x00000000DA9BD460 0000F4 (v04 INTEL  DH67CL   01072009 AMI  00010013)
 [     1.000003] ACPI: DSDT 0x00000000DA9B6140 007319 (v02 INTEL  DH67CL   00000012 INTL 20051117)
 [     1.000003] ACPI: FACS 0x00000000DABDFF80 000040
 [     1.000003] ACPI: APIC 0x00000000DA9BD558 000072 (v03 INTEL  DH67CL   01072009 AMI  00010013)
 [     1.000003] ACPI: SSDT 0x00000000DA9BD5D0 000102 (v01 INTEL  DH67CL   00000001 MSFT 03000001)
 [     1.000003] ACPI: MCFG 0x00000000DA9BD6D8 00003C (v01 INTEL  DH67CL   01072009 MSFT 00000097)
 [     1.000003] ACPI: HPET 0x00000000DA9BD718 000038 (v01 INTEL  DH67CL   01072009 AMI. 00000004)
 [     1.000003] ACPI: 2 ACPI AML tables successfully acquired and loaded
 [     1.000003] ioapic0 at mainbus0 apid 0: pa 0xfec00000, version 0x20, 24 pins
 [     1.000003] cpu0 at mainbus0 apid 0
 [     1.000003] cpu0: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz, id 0x206a7
 [     1.000003] cpu0: package 0, core 0, smt 0
 [     1.000003] cpu1 at mainbus0 apid 2
 [     1.000003] cpu1: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz, id 0x206a7
 [     1.000003] cpu1: package 0, core 1, smt 0
 [     1.000003] cpu2 at mainbus0 apid 4
 [     1.000003] cpu2: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz, id 0x206a7
 [     1.000003] cpu2: package 0, core 2, smt 0
 [     1.000003] cpu3 at mainbus0 apid 6
 [     1.000003] cpu3: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz, id 0x206a7
 [     1.000003] cpu3: package 0, core 3, smt 0
 [     1.000003] acpi0 at mainbus0: Intel ACPICA 20180810
 [     1.000003] acpi0: X/RSDT: OemId <INTEL ,DH67CL  ,01072009>, AslId <AMI ,00010013>
 [     1.000003] acpi0: MCFG: segment 0, bus 0-63, address 0x00000000f8000000
 [     1.000003] ACPI: Dynamic OEM Table Load:
 [     1.000003] ACPI: SSDT 0xFFFF81E1ADB46C10 0003E0 (v01 AMI    IST      00000001 MSFT 03000001)
 [     1.000003] ACPI: Dynamic OEM Table Load:
 [     1.000003] ACPI: SSDT 0xFFFF81E1ADAF0910 000120 (v01 AMI    CST      00000001 MSFT 03000001)
 [     1.000003] acpi0: SCI interrupting at int 9
 [     1.000003] acpi0: fixed power button present
 [     1.000003] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
 [     1.027798] hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
 [     1.027798] timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
 [     1.027900] MCH (PNP0C01) at acpi0 not configured
 [     1.027900] SIO1 (PNP0C02) at acpi0 not configured
 [     1.027900] attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
 [     1.027900] pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
 [     1.027900] spkr0 at pcppi1: PC Speaker
 [     1.027900] wsbell at spkr0 not configured
 [     1.027900] midi0 at pcppi1: PC speaker
 [     1.027900] sysbeep0 at pcppi1
 [     1.027900] RMSC (PNP0C02) at acpi0 not configured
 [     1.027900] PCH (PNP0C01) at acpi0 not configured
 [     1.027900] CWDT (INT3F0D) at acpi0 not configured
 [     1.027900] acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
 [     1.027900] RMEM (PNP0C01) at acpi0 not configured
 [     1.027900] OMSC (PNP0C02) at acpi0 not configured
 [     1.027900] ACPI: Enabled 3 GPEs in block 00 to 3F
 [     1.027900] attimer1: attached to pcppi1
 [     1.027900] pci0 at mainbus0 bus 0: configuration mode 1
 [     1.027900] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 [     1.027900] pchb0 at pci0 dev 0 function 0: vendor 8086 product 0100 (rev. 0x09)
 [     1.027900] i915drmkms0 at pci0 dev 2 function 0: vendor 8086 product 0102 (rev. 0x09)
 [     1.027900] vendor 8086 product 1c3a (miscellaneous communications, revision 0x04) at pci0 dev 22 function 0 not configured
 [     1.027900] wm0 at pci0 dev 25 function 0: PCH2 LAN (82579V) Controller (rev. 0x05)
 [     1.027900] wm0: interrupting at msi0 vec 0
 [     1.027900] wm0: PCI-Express bus
 [     1.027900] wm0: 2048 words FLASH
 [     1.027900] wm0: Ethernet address 38:60:77:b4:e5:f5
 [     1.027900] wm0: 0xa4480<FLASH,IOH_VALID,PCIE,ASF_FIRM,AMT>
 [     1.027900] ihphy0 at wm0 phy 2: i82579 10/100/1000 media interface, rev. 3
 [     1.027900] ihphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 [     1.027900] ehci0 at pci0 dev 26 function 0: vendor 8086 product 1c2d (rev. 0x05)
 [     1.027900] ehci0: interrupting at ioapic0 pin 16
 [     1.027900] ehci0: EHCI version 1.0
 [     1.027900] usb0 at ehci0: USB revision 2.0
 [     1.027900] hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
 [     1.027900] hdaudio0: interrupting at msi1 vec 0
 [     1.027900] hdafg0 at hdaudio0: vendor 10ec product 0892
 [     1.027900] hdafg0: DAC00 6ch: Speaker [Jack]
 [     1.027900] hdafg0: DAC01 2ch: HP Out [Jack]
 [     1.027900] hdafg0: DIG02 2ch: SPDIF Out [Jack]
 [     1.027900] hdafg0: DIG03 2ch: SPDIF Out [Jack]
 [     1.027900] hdafg0: ADC04 2ch: Line In [Jack], Mic In [Jack]
 [     1.027900] hdafg0: ADC05 2ch: Mic In [Jack]
 [     1.027900] hdafg0: 6ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
 [     1.027900] audio0 at hdafg0: full duplex, playback, capture, mmap, independent
 [     1.027900] hdafg0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
 [     1.027900] hdafg0: Latency: 128 milliseconds
 [     1.027900] spkr1 at audio0: PC Speaker (synthesized)
 [     1.027900] wsbell at spkr1 not configured
 [     1.027900] hdafg1 at hdaudio0: vendor 8086 product 2805
 [     1.027900] hdafg1: DP00 8ch: Digital Out [Jack]
 [     1.027900] hdafg1: 8ch/0ch 48000Hz PCM16*
 [     1.027900] ppb0 at pci0 dev 28 function 0: vendor 8086 product 1c10 (rev. 0xb5)
 [     1.027900] ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 5.0GT/s
 [     1.027900] ppb0: link is x1 @ 2.5GT/s
 [     1.027900] pci1 at ppb0 bus 1
 [     1.027900] pci1: i/o space, memory space enabled, rd/line, wr/inv ok
 [     1.027900] ppb1 at pci1 dev 0 function 0: vendor 1283 product 8892 (rev. 0x30)
 [     1.027900] pci2 at ppb1 bus 2
 [     1.027900] pci2: i/o space, memory space enabled, rd/line, wr/inv ok
 [     1.027900] puc0 at pci2 dev 2 function 0: NetMos NM9865 1 UART (com)
 [     1.027900] com2 at puc0 port 0 (16550-compatible): ioaddr 0xe030, interrupting at ioapic0 pin 18
 [     1.027900] com2: ns16550a, working fifo
 [     1.027900] puc1 at pci2 dev 2 function 1: NetMos NM9865 1 UART (com)
 [     1.027900] com3 at puc1 port 0 (16550-compatible): ioaddr 0xe020, interrupting at ioapic0 pin 19
 [     1.027900] com3: ns16550a, working fifo
 [     1.027900] ehci1 at pci0 dev 29 function 0: vendor 8086 product 1c26 (rev. 0x05)
 [     1.027900] ehci1: interrupting at ioapic0 pin 23
 [     1.027900] ehci1: EHCI version 1.0
 [     1.027900] usb1 at ehci1: USB revision 2.0
 [     1.027900] ichlpcib0 at pci0 dev 31 function 0: vendor 8086 product 1c4a (rev. 0x05)
 [     1.027900] timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
 [     1.027900] ichlpcib0: 24-bit timer
 [     1.027900] tco0 at ichlpcib0: TCO (watchdog) timer configured.
 [     1.027900] tco0: Min/Max interval 1/367 seconds
 [     1.027900] ahcisata0 at pci0 dev 31 function 2: vendor 8086 product 1c02 (rev. 0x05)
 [     1.027900] ahcisata0: interrupting at msi2 vec 0
 [     1.027900] ahcisata0: 64-bit DMA
 [     1.027900] ahcisata0: AHCI revision 1.30, 6 ports, 32 slots, CAP 0xe730ff65<SXS,EMS,PSC,SSC,PMD,ISS=0x3=Gen3,SCLO,SAL,SALP,SSNTF,SNCQ,S64A>
 [     1.027900] atabus0 at ahcisata0 channel 0
 [     1.027900] atabus1 at ahcisata0 channel 1
 [     1.027900] atabus2 at ahcisata0 channel 2
 [     1.027900] atabus3 at ahcisata0 channel 3
 [     1.027900] atabus4 at ahcisata0 channel 4
 [     1.027900] atabus5 at ahcisata0 channel 5
 [     1.027900] ichsmb0 at pci0 dev 31 function 3: vendor 8086 product 1c22 (rev. 0x05)
 [     1.027900] ichsmb0: interrupting at ioapic0 pin 18
 [     1.027900] iic0 at ichsmb0: I2C bus
 [     1.027900] isa0 at ichlpcib0
 [     1.027900] pckbc0 at isa0 port 0x60-0x64
 [     1.027900] acpicpu0 at cpu0: ACPI CPU
 [     1.027900] acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
 [     1.027900] acpicpu0: C2: FFH, lat  80 us, pow   500 mW
 [     1.027900] acpicpu0: C3: FFH, lat 104 us, pow   350 mW, bus master check
 [     1.027900] acpicpu0: P0: FFH, lat  10 us, pow 95000 mW, 3301 MHz, turbo boost
 [     1.027900] acpicpu0: P1: FFH, lat  10 us, pow 95000 mW, 3300 MHz
 [     1.027900] acpicpu0: P2: FFH, lat  10 us, pow 87000 mW, 3100 MHz
 [     1.027900] acpicpu0: P3: FFH, lat  10 us, pow 80000 mW, 2900 MHz
 [     1.027900] acpicpu0: P4: FFH, lat  10 us, pow 72000 mW, 2700 MHz
 [     1.027900] acpicpu0: P5: FFH, lat  10 us, pow 66000 mW, 2500 MHz
 [     1.027900] acpicpu0: P6: FFH, lat  10 us, pow 59000 mW, 2300 MHz
 [     1.027900] acpicpu0: P7: FFH, lat  10 us, pow 53000 mW, 2100 MHz
 [     1.027900] acpicpu0: P8: FFH, lat  10 us, pow 47000 mW, 1900 MHz
 [     1.027900] acpicpu0: P9: FFH, lat  10 us, pow 41000 mW, 1700 MHz
 [     1.027900] acpicpu0: P10: FFH, lat  10 us, pow 38000 mW, 1600 MHz
 [     1.027900] acpicpu0: T0: FFH, lat   1 us, pow  1000 mW, 100 %
 [     1.027900] acpicpu0: T1: FFH, lat   1 us, pow   875 mW,  88 %
 [     1.027900] acpicpu0: T2: FFH, lat   1 us, pow   750 mW,  75 %
 [     1.027900] acpicpu0: T3: FFH, lat   1 us, pow   625 mW,  63 %
 [     1.027900] acpicpu0: T4: FFH, lat   1 us, pow   500 mW,  50 %
 [     1.027900] acpicpu0: T5: FFH, lat   1 us, pow   375 mW,  38 %
 [     1.027900] acpicpu0: T6: FFH, lat   1 us, pow   250 mW,  25 %
 [     1.027900] acpicpu0: T7: FFH, lat   1 us, pow   125 mW,  13 %
 [     1.027900] coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=98
 [     1.027900] acpicpu1 at cpu1: ACPI CPU
 [     1.027900] coretemp1 at cpu1: thermal sensor, 1 C resolution, Tjmax=98
 [     1.027900] acpicpu2 at cpu2: ACPI CPU
 [     1.027900] coretemp2 at cpu2: thermal sensor, 1 C resolution, Tjmax=98
 [     1.027900] acpicpu3 at cpu3: ACPI CPU
 [     1.027900] coretemp3 at cpu3: thermal sensor, 1 C resolution, Tjmax=98
 [     1.027900] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 [     1.247151] timecounter: Timecounter "TSC" frequency 3292686600 Hz quality 3000
 [     1.247557] IPsec: Initialized Security Association Processing.
 [     1.267159] uhub0 at usb0: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
 [     1.267159] uhub0: 2 ports with 2 removable, self powered
 [     1.267159] uhub1 at usb1: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
 [     1.267159] uhub1: 2 ports with 2 removable, self powered
 [     1.357199] ahcisata0 port 0: device present, speed: 3.0Gb/s
 [     2.187570] autoconfiguration error: ahcisata0 port 0: clearing WDCTL_RST failed for drive 0
 [     3.188017] wd0 at atabus0 drive 0
 [     3.508160] uhub2 at uhub0 port 1: vendor 8087 (0x8087) product 0024 (0x24), class 9/0, rev 2.00/0.00, addr 2
 [     3.508160] uhub2: single transaction translator
 [     3.508160] uhub3 at uhub1 port 1: vendor 8087 (0x8087) product 0024 (0x24), class 9/0, rev 2.00/0.00, addr 2
 [     3.508160] uhubith 6 removable, self powered
 [     3.508160] uhub3: 8 ports with 8 removable, self powered
 [     4.828750] uhidev0 at uhub2 port 5 configuration 1 interface 0
 [     4.828750] uhidev0: Belkin Components (0x50d) USB-PS2 Adapter (0x119), rev 1.10/1.20, addr 3, iclass 3/1
 [     4.828750] ukbd0 at uhidev0: 8 Variable keys, 6 Array codes
 [     5.238934] wskbd0 at ukbd0: console keyboard
 [     5.238934] uhidev1 at uhub2 port 5 configuration 1 interface 1
 [     5.238934] uhidev1: Belkin Components (0x50d) USB-PS2 Adapter (0x119), rev 1.10/1.20, addr 3, iclass 3/1
 [     5.238934] ums0 at uhidev1: 5 buttons and Z dir
 [     5.238934] wsmouse0 at ums0 mux 0
 [     6.189358] wd0: autoconfiguration error: IDENTIFY failed
 [     6.189358] wd0: fixing 0 sector size
 [     6.189358] wd0: secperunit and ncylinders are zero
 [     6.189358] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
 [     6.189358] wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
 [     6.189358] WARNING: 2 e boot device: <unknown>
 [     6.189358] root device:
 
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index