NetBSD Problem Report #38752

From martin@duskware.de  Mon May 26 07:56:36 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id EC80763B880
	for <gnats-bugs@gnats.netbsd.org>; Mon, 26 May 2008 07:56:35 +0000 (UTC)
Message-Id: <20080526000705.D71EC63B9EE@narn.NetBSD.org>
Date: Mon, 26 May 2008 00:07:05 +0000 (UTC)
From: roy@marples.name
Reply-To: roy@marples.name
To: netbsd-bugs-owner@NetBSD.org
Subject: 4.99.63 corrupts superblock
X-Send-Pr-Version: www-1.0

>Number:         38752
>Category:       install
>Synopsis:       4.99.63 corrupts superblock
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    install-manager
>State:          dead
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 26 08:00:01 +0000 2008
>Closed-Date:    Mon Sep 02 00:45:45 +0000 2019
>Last-Modified:  Mon Sep 02 00:45:45 +0000 2019
>Originator:     Roy Marples
>Release:        4.99.63
>Organization:
>Environment:
>Description:
When I shutdown the 4.99.63 amd64 GENERIC kernel on my Core2 Quad it hangs in init when unmounting disks. I assume it's init as it's green console text. I think this part is related to pr #38501. On doing a power cycle (I have no choice at this point) and then booting the 4.0 amd64 RELEASE kernel I get a new hang at "Checking for botched superblock upgrades:". One reboot didn't even get as far as that.

Here is the dmesg from 4.0

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.0 (GENERIC.MP) #0: Sat Dec 15 22:34:19 PST 2007
        builds@wb28:/home/builds/ab/netbsd-4-0-RELEASE/amd64/200712160005Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/amd64/compile/GENERIC.MP
total memory = 4094 MB
avail memory = 3938 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz, 3204.11 MHz
cpu0: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,B20,DS,ACPI,MMX>
cpu0: features: bffbfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: features2: e3bd<SSE3,MONITOR,DS-CPL,VMX,EST,TM2,xTPR>
cpu0: features3: bffbfbff<SYSCALL/SYSRET,XD,EM64T>
cpu0: L2 cache 4 MB 64B/line 16-way
cpu0: calibrating local timer
cpu0: apic clock running at 355 MHz
cpu0: 64 page colors
cpu1 at mainbus0: apid 3 (application processor)
cpu1: starting
cpu1: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz, 3204.01 MHz
cpu1: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,B20,DS,ACPI,MMX>
cpu1: features: bffbfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu1: features2: e3bd<SSE3,MONITOR,DS-CPL,VMX,EST,TM2,xTPR>
cpu1: features3: bffbfbff<SYSCALL/SYSRET,XD,EM64T>
cpu1: L2 cache 4 MB 64B/line 16-way
cpu2 at mainbus0: apid 2 (application processor)
cpu2: starting
cpu2: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz, 3204.00 MHz
cpu2: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu2: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,B20,DS,ACPI,MMX>
cpu2: features: bffbfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu2: features2: e3bd<SSE3,MONITOR,DS-CPL,VMX,EST,TM2,xTPR>
cpu2: features3: bffbfbff<SYSCALL/SYSRET,XD,EM64T>
cpu2: L2 cache 4 MB 64B/line 16-way
cpu3 at mainbus0: apid 1 (application processor)
cpu3: starting
cpu3: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz, 3204.00 MHz
cpu3: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu3: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,B20,DS,ACPI,MMX>
cpu3: features: bffbfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu3: features2: e3bd<SSE3,MONITOR,DS-CPL,VMX,EST,TM2,xTPR>
cpu3: features3: bffbfbff<SYSCALL/SYSRET,XD,EM64T>
cpu3: L2 cache 4 MB 64B/line 16-way
ioapic0 at mainbus0 apid 4 (I/O APIC)
ioapic0: pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0
ioapic0: remapped to apic 4
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <IntelR,AWRDACPI,42302e31>, AslId <AWRD,00000000>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
PNP0A08 [PCI Express/PCI-X Mode-2 Host Bridge] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
attimer1 at acpi0 (PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
pcppi1 at acpi0 (PNP0800)
pcppi1: io 0x61
pcppi1: children must have an explicit unit
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
PNP0C04 [Math Coprocessor] at acpi0 not configured
pckbc1 at acpi0 (PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
INT0800 [Intel FWH Random Number Generator] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
ug0 at acpi0 (ABT2005)
ug0: io 0xe0-0xef irq 3
ug0: Abit uGuru 2005 system monitor
ug0: Invalid board ID(0,1A). Using default
ug0: mainboard generic (0016)
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
acpitz0: passive cooling mode only
ACPI Error (dswstate-0329): No result objects! State=0xffff8000094d7000 [20060217]
ACPI Exception (dsutils-0767): AE_AML_NO_RETURN_VALUE, Missing or null operand [20060217]
ACPI Exception (dsutils-0867): AE_AML_NO_RETURN_VALUE, While creating Arg 1 [20060217]
ACPI Error (psparse-0626): Method parse/execution failed [\_TZ_.THRM._TMP] (Node 0xffff8000094eb7c0), AE_AML_NO_RETURN_VALUE
acpitz0: critical 85.0C passive -273.-3C
ACPI Error (dswstate-0329): No result objects! State=0xffff800009520800 [20060217]
ACPI Exception (dsutils-0767): AE_AML_NO_RETURN_VALUE, Missing or null operand [20060217]
ACPI Exception (dsutils-0867): AE_AML_NO_RETURN_VALUE, While creating Arg 1 [20060217]
ACPI Error (psparse-0626): Method parse/execution failed [\_TZ_.THRM._TMP] (Node 0xffff8000094eb7c0), AE_AML_NO_RETURN_VALUE
acpitz0: failed to evaluate _TMP
pcppi1: attached to attimer1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel product 0x29c0 (rev. 0x02)
ppb0 at pci0 dev 1 function 0: Intel product 0x29c1 (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
ppb1 at pci1 dev 0 function 0: NVIDIA product 0x05be (rev. 0xa2)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ppb2 at pci2 dev 0 function 0: NVIDIA product 0x05be (rev. 0xa2)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
NVIDIA product 0x0604 (3D display, revision 0xa2) at pci3 dev 0 function 0 not configured
ppb3 at pci2 dev 2 function 0: NVIDIA product 0x05be (rev. 0xa2)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci4 dev 0 function 0: NVIDIA product 0x0604 (rev. 0xa2)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
uhci0 at pci0 dev 26 function 0: Intel product 0x2937 (rev. 0x02)
uhci0: interrupting at ioapic0 pin 16 (irq 10)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 26 function 1: Intel product 0x2938 (rev. 0x02)
uhci1: interrupting at ioapic0 pin 21 (irq 11)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 26 function 2: Intel product 0x2939 (rev. 0x02)
uhci2: interrupting at ioapic0 pin 19 (irq 4)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 26 function 7: Intel product 0x293c (rev. 0x02)
ehci0: interrupting at ioapic0 pin 18 (irq 11)
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 22 (irq 7)
azalia0: host: 0x8086/0x293e (rev. 2)
azalia0: host: High Definition Audio rev. 1.0
ppb4 at pci0 dev 28 function 0: Intel product 0x2940 (rev. 0x02)
pci5 at ppb4 bus 5
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
ppb5 at pci0 dev 28 function 4: Intel product 0x2948 (rev. 0x02)
pci6 at ppb5 bus 6
pci6: i/o space, memory space enabled, rd/line, wr/inv ok
jmide0 at pci6 dev 0 function 0: JMicron Technology JMB363 SATA/PATA controller
jmide0: 1 PATA port, 2 SATA ports
jmide0: interrupting at ioapic0 pin 16 (irq 10)
ahcisata0 at jmide0
ahcisata0: AHCI revision 1.0, 2 ports, 32 command slots, features 0xc722e000
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
jmide0: PCI IDE interface used
jmide0: bus-master DMA support present
jmide0: primary channel wired to native-PCI mode
jmide0: primary channel is unused
jmide0: secondary channel wired to native-PCI mode
jmide0: secondary channel is PATA
atabus2 at jmide0 channel 1
uhci3 at pci0 dev 29 function 0: Intel product 0x2934 (rev. 0x02)
uhci3: interrupting at ioapic0 pin 23 (irq 5)
usb4 at uhci3: USB revision 1.0
uhub4 at usb4
uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhci4 at pci0 dev 29 function 1: Intel product 0x2935 (rev. 0x02)
uhci4: interrupting at ioapic0 pin 19 (irq 11)
usb5 at uhci4: USB revision 1.0
uhub5 at usb5
uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub5: 2 ports with 2 removable, self powered
uhci5 at pci0 dev 29 function 2: Intel product 0x2936 (rev. 0x02)
uhci5: interrupting at ioapic0 pin 18 (irq 4)
usb6 at uhci5: USB revision 1.0
uhub6 at usb6
uhub6: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub6: 2 ports with 2 removable, self powered
ehci1 at pci0 dev 29 function 7: Intel product 0x293a (rev. 0x02)
ehci1: interrupting at ioapic0 pin 23 (irq 5)
ehci1: BIOS has given up ownership
ehci1: EHCI version 1.0
ehci1: companion controllers, 2 ports each: uhci3 uhci4 uhci5
usb7 at ehci1: USB revision 2.0
uhub7 at usb7
uhub7: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub7: 6 ports with 6 removable, self powered
ppb6 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0x92)
pci7 at ppb6 bus 7
pci7: i/o space, memory space enabled
re0 at pci7 dev 0 function 0: RealTek 8169SC/8110SC Single-chip Gigabit Ethernet (rev. 0x10)
re0: interrupting at ioapic0 pin 23 (irq 5)
re0: Ethernet address 00:50:8d:bb:da:f8
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8169S/8110S 1000BASE-T media interface, rev. 2
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re1 at pci7 dev 1 function 0: RealTek 8169SC/8110SC Single-chip Gigabit Ethernet (rev. 0x10)
re1: interrupting at ioapic0 pin 22 (irq 7)
re1: Ethernet address 00:50:8d:bb:da:f9
re1: using 256 tx descriptors
rgephy1 at re1 phy 7: RTL8169S/8110S 1000BASE-T media interface, rev. 2
rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
fwohci0 at pci7 dev 2 function 0: Texas Instruments TSB43AA22/A IEEE 1394 Host Controller (rev. 0x00)
fwohci0: interrupting at ioapic0 pin 21 (irq 11)
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:50:8d:00:00:b1:ff:5f
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
ral0 at pci7 dev 4 function 0: Ralink Technologies RT2560 802.11b/g (rev. 0x01)
ral0: interrupting at ioapic0 pin 23 (irq 5)
ral0: 802.11 address 00:0e:2e:66:36:ec
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
ral0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ral0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
pcib0 at pci0 dev 31 function 0
pcib0: Intel product 0x2916 (rev. 0x02)
ahcisata1 at pci0 dev 31 function 2: Intel product 0x2922
ahcisata1: interrupting at ioapic0 pin 19 (irq 11)
ahcisata1: AHCI revision 0x10200, 6 ports, 32 command slots, features 0xe320e0c0
atabus3 at ahcisata1 channel 0
atabus4 at ahcisata1 channel 1
atabus5 at ahcisata1 channel 2
atabus6 at ahcisata1 channel 3
atabus7 at ahcisata1 channel 4
atabus8 at ahcisata1 channel 5
Intel product 0x2930 (SMBus serial bus, revision 0x02) at pci0 dev 31 function 3 not configured
isa0 at pcib0
ioapic0: enabling
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
azalia0: codec[0]: Realtek ALC888 (rev. 0.1)
azalia0: codec[0]: High Definition Audio rev. 1.0
azalia0: playback: max channels=8, encodings=1<PCM>
azalia0: playback: PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0: recording: max channels=4, encodings=1<PCM>
azalia0: recording: PCM formats=60160<20bit,16bit,96kHz,48kHz,44.1kHz>
audio0 at azalia0: full duplex, independent
Kernelized RAIDframe activated
ahcisata1 port 5: device present, speed: 3.0Gb/s
atapibus0 at atabus2: 2 targets
cd0 at atapibus0 drive 0: <PIONEER DVD-RW  DVR-115D, GKDP337038WL, 1.13> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
cd0(jmide0:1:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA)
wd0 at atabus8 drive 0: <WDC WD5000AAKS-22YGA0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ahcisata1:5:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
cpu3: CPU 1 running
cpu2: CPU 2 running
cpu1: CPU 3 running
uhub8 at uhub0 port 2
uhub8: Logitech G11 Keyboard, class 9/0, rev 1.10/1.71, addr 2
uhub8: 4 ports with 2 removable, bus powered
uhidev0 at uhub2 port 2 configuration 1 interface 0
uhidev0: Logitech USB Receiver, rev 2.00/2.00, addr 2, iclass 3/1
ums0 at uhidev0: 16 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhidev1 at uhub2 port 2 configuration 1 interface 1
uhidev1: Logitech USB Receiver, rev 2.00/2.00, addr 2, iclass 3/0
uhidev1: 17 report ids
uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev1 reportid 16: input=6, output=6, feature=0
uhid2 at uhidev1 reportid 17: input=19, output=19, feature=0
uhidev2 at uhub8 port 1 configuration 1 interface 0
uhidev2: Logitech Gaming Keyboard, rev 2.00/1.90, addr 3, iclass 3/1
ukbd0 at uhidev2
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev3 at uhub8 port 1 configuration 1 interface 1
uhidev3: Logitech Gaming Keyboard, rev 2.00/1.90, addr 3, iclass 3/0
uhidev3: 3 report ids
uhid3 at uhidev3 reportid 1: input=1, output=0, feature=0
uhid4 at uhidev3 reportid 2: input=7, output=0, feature=0
uhid5 at uhidev3 reportid 3: input=1, output=20, feature=1
uhidev4 at uhub8 port 4 configuration 1 interface 0
uhidev4: Logitech G11 Keyboard, rev 2.00/1.71, addr 4, iclass 3/0
uhidev4: 2 report ids
uhid6 at uhidev4 reportid 1: input=8, output=0, feature=0
uhid7 at uhidev4 reportid 2: input=8, output=18, feature=3
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
ACPI Error (dswstate-0329): No result objects! State=0xffff800009a49000 [20060217]
ACPI Exception (dsutils-0767): AE_AML_NO_RETURN_VALUE, Missing or null operand [20060217]
ACPI Exception (dsutils-0867): AE_AML_NO_RETURN_VALUE, While creating Arg 1 [20060217]
ACPI Error (psparse-0626): Method parse/execution failed [\_TZ_.THRM._TMP] (Node 0xffff8000094eb7c0), AE_AML_NO_RETURN_VALUE
acpitz0: failed to evaluate _TMP

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: Roy Marples <roy@marples.name>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/38752: 4.99.63 corrupts superblock
Date: Tue, 27 May 2008 22:10:48 +0100

 More info on this - this disk itself is fine.
 The issue is with SMP. By chance I installed the non SMP 4.0 kernel and 
 everything worked. So I obtained a -current kernel, /boot and /boot.cfg and 
 booted with the -1 option to disable SMP and that works fine also.

 This means that my Intel Core2 Quad fails to SMP on my Abit IP35 Pro 
 motherboard with both NetBSD 4.0 SMP and 4.99.63. The BIOS is current as of 
 today, compiled on 20080318. For reference, Gentoo Linux amd64 has no trouble 
 running on this platform, all CPUs are active and appear to be working fine.

 The symptom with -current in SMP is now a hang after detecting the disk on 
 wd0. init is not reached.

 Thanks

 Roy

From: Andrew Doran <ad@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: install-manager@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, roy@marples.name
Subject: Re: install/38752: 4.99.63 corrupts superblock
Date: Thu, 29 May 2008 12:28:39 +0100

 On Tue, May 27, 2008 at 09:15:04PM +0000, Roy Marples wrote:
 > The following reply was made to PR install/38752; it has been noted by GNATS.
 > 
 > From: Roy Marples <roy@marples.name>
 > To: gnats-bugs@netbsd.org
 > Cc: 
 > Subject: Re: install/38752: 4.99.63 corrupts superblock
 > Date: Tue, 27 May 2008 22:10:48 +0100
 > 
 >  More info on this - this disk itself is fine.
 >  The issue is with SMP. By chance I installed the non SMP 4.0 kernel and 
 >  everything worked. So I obtained a -current kernel, /boot and /boot.cfg and 
 >  booted with the -1 option to disable SMP and that works fine also.
 >  
 >  This means that my Intel Core2 Quad fails to SMP on my Abit IP35 Pro 
 >  motherboard with both NetBSD 4.0 SMP and 4.99.63. The BIOS is current as of 
 >  today, compiled on 20080318. For reference, Gentoo Linux amd64 has no trouble 
 >  running on this platform, all CPUs are active and appear to be working fine.
 >  
 >  The symptom with -current in SMP is now a hang after detecting the disk on 
 >  wd0. init is not reached.

 What is the very last thing that the kernel prints?

 Andrew

From: Roy Marples <roy@marples.name>
To: gnats-bugs@netbsd.org
Cc: install-manager@netbsd.org,
 gnats-admin@netbsd.org,
 netbsd-bugs@netbsd.org
Subject: Re: install/38752: 4.99.63 corrupts superblock
Date: Thu, 29 May 2008 19:47:23 +0100

 >  >  More info on this - this disk itself is fine.
 >  >  The issue is with SMP. By chance I installed the non SMP 4.0 kernel and
 >  >  everything worked. So I obtained a -current kernel, /boot and /boot.cfg
 >  > and booted with the -1 option to disable SMP and that works fine also.
 >  >
 >  >  This means that my Intel Core2 Quad fails to SMP on my Abit IP35 Pro
 >  >  motherboard with both NetBSD 4.0 SMP and 4.99.63. The BIOS is current
 >  > as of today, compiled on 20080318. For reference, Gentoo Linux amd64 has
 >  > no trouble running on this platform, all CPUs are active and appear to
 >  > be working fine.
 >  >
 >  >  The symptom with -current in SMP is now a hang after detecting the disk
 >  > on wd0. init is not reached.
 >
 >  What is the very last thing that the kernel prints?

 fwohci: BUS reset
 fwohci: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
 ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
 ieee1394if0: bus manager 0 (me)

 Thanks

 Roy

From: Roy Marples <roy@marples.name>
To: gnats-bugs@netbsd.org
Cc: install-manager@netbsd.org,
 gnats-admin@netbsd.org,
 netbsd-bugs@netbsd.org
Subject: Re: install/38752: 4.99.63 corrupts superblock
Date: Thu, 29 May 2008 19:59:18 +0100

 >  >  What is the very last thing that the kernel prints?
 >
 >  fwohci: BUS reset
 >  fwohci: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
 >  ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
 >  ieee1394if0: bus manager 0 (me)

 That's the 4.9.63 kernel sorry.
 Booting in non SMP mode it next goes like so, from dmesg

 ieee1394if0: bus manager 0 (me)
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 timecounter: Timecounter "TSC" frequency 3204123120 Hz quality 3000

 You want the restt of the dmesg?

 Thanks

 Roy

From: Roy Marples <roy@marples.name>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/38752: 4.99.63 corrupts superblock
Date: Thu, 3 Jul 2008 23:29:13 +0100

 On Tuesday 27 May 2008 22:15:04 Roy Marples wrote:
 >  More info on this - this disk itself is fine.
 >  The issue is with SMP. By chance I installed the non SMP 4.0 kernel and
 >  everything worked. So I obtained a -current kernel, /boot and /boot.cfg
 > and booted with the -1 option to disable SMP and that works fine also.
 >
 >  This means that my Intel Core2 Quad fails to SMP on my Abit IP35 Pro
 >  motherboard with both NetBSD 4.0 SMP and 4.99.63. The BIOS is current as
 > of today, compiled on 20080318. For reference, Gentoo Linux amd64 has no
 > trouble running on this platform, all CPUs are active and appear to be
 > working fine.
 >
 >  The symptom with -current in SMP is now a hang after detecting the disk on
 >  wd0. init is not reached.

 More info again :)
 I've updated to -current dated 20080807, (4.99.69 IIRC)
 By chance I noticed a new BIOS for my motherboard.
 Flashing it didn't make any difference, but whilst setting some options I 
 broke my USB keyboard in the BIOS. So I plugged my trusty ps/2 keyboard in 
 and voila - SMP started working.

 After around 10 reboots and unplugging, replugging the PS/2 keyboard each time 
 I had 5 fails and 5 successes for SMP. The USB keyboard was still plugged in, 
 and fully working if the system booted.

 During this testing, I enabled MPDEBUG and the debugger dropped in after each 
 CPU failed to become ready. Just before the hang, it dropped again - but this 
 time it said cpu1 failed to start and entered the debugger. At this point usb 
 keyboard is frozen (worked to continue past the 3 cpu failed to become ready 
 messages) and needed to cold boot.

 I have no idea if that's enough for you guys to fix this or not.
 FWIW, FreeBSD-7.0 and OpenBSD-4.3 will not boot on this box either. Although 
 I'll be re-testing with a ps/2 keyboard plugged in and submitting pr's for 
 them if it then works.

 Gentoo Linux works just fine, so I'm sure that this is fixable :)

 Thanks

 Roy

From: Roy Marples <roy@marples.name>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/38752: 4.99.63 corrupts superblock
Date: Wed, 23 Jul 2008 21:41:24 +0100

 The system now boots fine with SMP fully working if I remove these options 
 from the GENERIC kernel config.

 #pckbd*         at pckbc?               # PC keyboard
 #wskbd*         at pckbd? console ?

 Is the pckbd driver SMP safe if no keyboard present?
 Hope this helps in solving the problem.

 Thanks

 Roy

State-Changed-From-To: open->feedback
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Sat, 05 Jun 2010 06:48:25 +0000
State-Changed-Why:
roy, did you figure this problem out a little more than removing both
pckbd and wskbd?


From: Roy Marples <roy@marples.name>
To: gnats-bugs@NetBSD.org
Cc: install-manager@netbsd.org, netbsd-bugs@netbsd.org, gnats-admin@netbsd.org,  mrg@NetBSD.org
Subject: Re: install/38752 (4.99.63 corrupts superblock)
Date: Sat, 05 Jun 2010 09:17:34 +0100

 --=-Fum2peIHgRw5GY9nA/Jn
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 On Sat, 2010-06-05 at 06:48 +0000, mrg@NetBSD.org wrote:
 > roy, did you figure this problem out a little more than removing both
 > pckbd and wskbd?

 No, the problem still exists on -current.
 Also, that depth of kernel debugging is beyond my skills.

 Thanks

 Roy

 --=-Fum2peIHgRw5GY9nA/Jn
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: This is a digitally signed message part

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.15 (GNU/Linux)

 iQEcBAABAgAGBQJMCggeAAoJEFl/l+qa1FVJxwUH/AqU6O4uJfts95E+nT2I0SAr
 CcR+myXZB3ZrYBo8GSNT4ZxAKWMVY81hbCmDOTkiFZuVT/5UTr2kgzJ+FU6oXxfL
 +SA+CiGLqXprXiW0PRw8Qj9lAvskvstRNA/TXV0Uw0SRa9H9PbvG7eciHzZqzN+t
 gHteQbzx4sq8ZdJJHctvmpGdBNPaeEJMtvatcBdBT0wQNHhbMf8xuCvqqhkgJShc
 cvg4RM90W0Oen5ZkBkorWh6AlMJPHCwJzVlC+OgA1IGBwioWVlWKqbnGfTvd6zuz
 HIQR+osKYRIoLpnVYLUb1zOvRI2GXgUvvMiIOBTCb/x9WZeuNaSV3tW/QN9IlNg=
 =GkkC
 -----END PGP SIGNATURE-----

 --=-Fum2peIHgRw5GY9nA/Jn--

State-Changed-From-To: feedback->open
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Sun, 06 Jun 2010 01:44:30 +0000
State-Changed-Why:
problem still exists.


State-Changed-From-To: open->dead
State-Changed-By: roy@NetBSD.org
State-Changed-When: Mon, 02 Sep 2019 00:45:45 +0000
State-Changed-Why:
I no longer have the hardware to replicate this issue.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.