>Date: Sun, 8 Nov 2015 23:10:14 -0500 (EST)
>Message-Id: <12236891800431900475.enqu...@river.oat.com>
>To: bugs@openbsd.org
>Subject: 5.8 snap fails early in boot
>From: gwes
>Cc: gwes
>Reply-To: gwes

>Synopsis:      5.8 kernel 1305 fails to boot. Generic 5.8 works
>Category:      i386
>Environment:
        System      : OpenBSD 5.8
Details : OpenBSD 5.8 (GENERIC) #1066: Sun Aug 16 02:33:00 MDT 2015
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

        Architecture: OpenBSD.i386
        Machine     : i386
>Description:
        uvm fault early in booting process. The traceback looks like
        the fault is in ddb? but that is probably an artifact.
        The release 5.8 kernel boots & runs.
>How-To-Repeat:
        boot snapshots kernel 1305 on a VIA chip i386
>Fix:
        not known
        config(8) changed since release so attempts to build a debugging
        kernel have failed - the new config depends on the new kernel :-(

        If there is a repository of snapshots I can search through them
        looking for the first one that fails

        If it's likely that building config(8) from old sources without
        pledge(2) pointed at new .h files would work I can try that.

console output:
booting hd0a:bsd.1: 7698276+2034536+189444+0+1069056 [72+414928+409752]=0xb4674c
entry point at 0x2000d4

[ using 825164 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2015 OpenBSD. All rights reserved. http://www.OpenBSD.org

OpenBSD 5.8-current (GENERIC) #1305: Fri Nov  6 05:20:32 MST 2015
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: VIA Esther processor 1500MHz ("CentaurHauls" 686-class) 1.51 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,APIC,SEP,MTRR,PGE,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE,NXE,SSE3,EST,TM2
real mem  = 1005010944 (958MB)
avail mem = 973246464 (928MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 05/16/06, BIOS32 rev. 0 @ 0xfb570, SMBIOS rev. 2.3 @ 0xf0000 (34 entries)
bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 05/16/2006
acpi at bios0 function 0x0 not configured
apm0 at bios0uvm_fault(0xd0b9b640, 0xd0dad000, 0, 4) -> d
kernel: page fault trap, code=0
Stopped at      __ALIGN_SIZE+0x706c:uvm_fault(0xd0bbd0a0, 0x8000, 0, 1) -> e
    kernel: page fault trap, code=0
Stopped at      db_read_bytes+0x17:     movzbl 0(%esi,%ecx,1),%eax
ddb> where
No such command
ddb> trace
db_read_bytes(806c,1,d0d489e0,806c,d0d489f0) at db_read_bytes+0x17
db_get_value(806c,1,0,0,d09fee1a) at db_get_value+0x38
db_disasm(806c,0,d03cc820,d03cc845,d09d3878,d0d48ab0,0,0,d0d48ab0) at db_disasm
+0x31
db_print_loc_and_inst(806c,d0d48ac8,d0d48ad4,d03cc845,d09fee0b) at db_print_loc
_and_inst+0x3e
db_trap(6,0,58,0,d0d48b10) at db_trap+0x8d
kdb_trap(6,0,d0d48b80,4,d) at kdb_trap+0xcc
trap() at trap+0x2a5
--- trap (number 21262) ---
0x11:
ddb> show reg]
Bad character
ds                  0x10
es                  0x10
fs                  0x20
gs                     0
edi           0xd0d489e0        __kernel_bss_end+0xcb9e0
esi 0x806c __ALIGN_SIZE+0x706cebp 0xd0d489c4 __kernel_bss_end+0xcb9c4
ebx                  0x1
edx           0xd0d489e0        __kernel_bss_end+0xcb9e0
ecx                    0
eax               0x806c        __ALIGN_SIZE+0x706c
eip           0xd0558b17        db_read_bytes+0x17
cs                   0x8
eflags           0x10046        __ALIGN_SIZE+0xf046
esp           0xd0d489ac        __kernel_bss_end+0xcb9ac
ss                  0x10
dmesg:
OpenBSD 5.8 (GENERIC) #1066: Sun Aug 16 02:33:00 MDT 2015
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: VIA Esther processor 1500MHz ("CentaurHauls" 686-class) 1.51 GHzFXSR,SSE,SSE2,TM,PBE,NXE,SSE3,EST,TM2
real mem  = 1005010944 (958MB)
avail mem = 972529664 (927MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 05/16/06, BIOS32 rev. 0 @ 0xfb570, SMBIOS rev. 2.3 @ 0xf0000 (34 entries)
bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 05/16/2006
acpi at bios0 function 0x0 not configured
apm0 at bios0: Power Management spec V1.2 (slowidle)
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: RNG AES AES-CTR SHA1 SHA256 RSA
cpu0: apic clock running at 100MHz
mpbios0: bus 0 is type PCI
mpbios0: bus 1 is type PCI
mpbios0: bus 2 is type ISA
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 3, 24 pins
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdc84
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdbb0/208 (11 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 11 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 5 9 10 11
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8237 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xfe00 0xd0000/0x5000!
cpu0: unknown Enhanced SpeedStep CPU, msr 0x08100f1308000f13
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1501 MHz: speeds: 1500, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "VIA CN700 Host" rev 0x00
viaagp0 at pchb0: v3
agp0 at viaagp0: aperture at 0xe8000000, size 0x10000000
pchb1 at pci0 dev 0 function 1 "VIA CN700 Host" rev 0x00
pchb2 at pci0 dev 0 function 2 "VIA CN700 Host" rev 0x00
pchb3 at pci0 dev 0 function 3 "VIA PT890 Host" rev 0x00
pchb4 at pci0 dev 0 function 4 "VIA CN700 Host" rev 0x00
pchb5 at pci0 dev 0 function 7 "VIA CN700 Host" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00
pci_intr_map: bus 0 dev 1 func 0 pin 1; line 10
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 1 func 0 pin 2; line 11
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 1 func 0 pin 3; line 9
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 1 func 0 pin 4; line 5
pci_intr_map: no MP mapping foundvga1 at pci1 dev 0 function 0 "VIA S3 Unichrome PRO IGP" rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
re0 at pci0 dev 9 function 0 "Realtek 8169SC" rev 0x10: RTL8169/8110SCd (0x1800), apic 2 int 18, address 00:30:18:ab:ee:47
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 2
"VIA VT6306 FireWire" rev 0x80 at pci0 dev 10 function 0 not configured
re1 at pci0 dev 11 function 0 "Realtek 8169SC" rev 0x10: RTL8169/8110SCd (0x1800), apic 2 int 19, address 00:30:18:ab:ee:48
rgephy1 at re1 phy 7: RTL8169S/8110S/8211 PHY, rev. 2
re2 at pci0 dev 12 function 0 "Realtek 8169SC" rev 0x10: RTL8169/8110SCd (0x1800), apic 2 int 16, address 00:30:18:ab:ee:49
rgephy2 at re2 phy 7: RTL8169S/8110S/8211 PHY, rev. 2
pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA
pciide0: using apic 2 int 20 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <STT_SX16B6XSL>
wd0: 1-sector PIO, LBA48, 15272MB, 31277232 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility
pciide1: channel 0 disabled (no drives)
pciide1: channel 1 disabled (no drives)
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: apic 2 int 21
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: apic 2 int 21
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: apic 2 int 21
uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: apic 2 int 21
viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00: SMI
iic0 at viapm0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-6400CL5
viapm0: 24-bit timer at 3579545Hz
auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x60: apic 2 int 22
ac97: codec id 0x56494170 (VIA Technologies VT1617)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
audio0 at auvia0
vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x78: apic 2 int 23, address 00:30:18:a2:dd:0f ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 10: OUI 0x004063, model 0x0032
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb1 at uhci1: USB revision 1.0
uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci2: USB revision 1.0
uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci3: USB revision 1.0uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: probed fifo depth: 15 bytes
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
com1: probed fifo depth: 15 bytes
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
fins0 at isa0 port 0x4e/2
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
umass0 at uhub1 port 1 configuration 1 interface 0 "USB 3.0 USB Flash Drive" rev 2.10/a.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <USB 3.0, USB Flash Drive, 1.00> SCSI4 0/direct removable serial.125f0001170000000119
sd0: 7392MB, 512 bytes/sector, 15138816 sectors
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on wd0a (38e3a62a5a2ec33d.a) swap on wd0b dump on wd0b

usbdevs:
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x1106), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb1:
pci1 at ppb0 bus 1
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,APIC,SEP,MTRR,PGE,CMOV,PAT,CFLUSH,ACPI,MMXaddr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x1106), rev 1.00 port 1 addr 2: full speed, power 64 mA, config 1, USB Flash Drive(0x0001), USB 3.0(0x125f), rev a.00, iSerialNumber 1108170000000119
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x1106), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x1106), rev 1.00
 port 1 powered
 port 2 powered

Reply via email to