On Tue, Apr 21, 2015 at 11:36:44AM -0400, Daniel Dickman wrote:
> I am seeing the exact same crash with GENRIC.MP latest snap on i386. booting 
> with the GENRIC kernel works for me though.

Thanks for the report. This was likely introduced in 1.175 of i386 pmap.c.
I just committed a fix, should show up in snaps soon.

-ml


> 
> > On Apr 21, 2015, at 11:19 AM, Mark Patruck <[email protected]> wrote:
> > 
> > I tried source updating my 3 weeks old i386 OpenBSD 5.7-current and
> > after booting the new kernel it crashed after fsck'ing. Just to make
> > sure, i did an update via latest snapshot, but it crashed again.
> > (full dmesg below)
> > 
> > OpenBSD 5.7-current (GENERIC.MP) #824: Mon Apr 20 23:23:30 MDT 2015
> >    [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
> > cpu0: Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz ("GenuineIntel" 686-class) 
> > 3.30 GHz
> > ....
> > setting tty flags
> > pf enabled
> > ddb.console: 0 -> 1
> > starting network
> > uvm_fault(0xd0b89480, 0xcf9df000, 0, 1) -> e
> > kernel: page fault trap, code=0
> > Stopped at      pmap_remove_ptes_86+0x72:       movl    0(%edx),%eax
> > ddb{0}>
> > 
> > 
> > ddb{0}> trace
> > pmap_remove_ptes_86(daa25100,d45c4f30,cf9dfd60,77f58000,77f59000) at 
> > pmap_remov
> > e_ptes_86+0x72
> > pmap_do_remove_86(daa25100,77f58000,77f59000,0,daa2a2bc) at 
> > pmap_do_remove_86+0
> > xfc
> > pmap_remove(daa25100,77f58000,77f59000,d04fc9c9,d0ba7e60) at 
> > pmap_remove+0x28
> > uvm_unmap_kill_entry(daa26120,daa0a580,f54c1f2c,d050bdcd,daa0a580) at 
> > uvm_unmap
> > _kill_entry+0xf8
> > uvm_map_teardown(daa26120,f54c1f14,2e770bc0,daa0b008,d03a23f0) at 
> > uvm_map_teard
> > own+0xbc
> > uvmspace_free(daa26120,1,2e770bc0,f54c1f5c,d02032fa) at uvmspace_free+0x2e
> > uvm_exit(daa1c310,d0b23ac8,4,d09aac8e,0) at uvm_exit+0x15
> > reaper(daa2270c) at reaper+0xd0
> > 
> > 
> > ddb{0}> ps
> >   PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
> > 30843  30854  30854      0  3        0x8b  pause         sh
> > 30854      1  30854      0  3        0x8b  pause         sh
> > 10796      0      0      0  3     0x14200  pgzero        zerothread
> > 20524      0      0      0  3     0x14200  aiodoned      aiodoned
> > 30711      0      0      0  3     0x14200  syncer        update
> >   295      0      0      0  3     0x14200  cleaner       cleaner
> > *18600      0      0      0  7     0x14200                reaper
> >  8467      0      0      0  3     0x14200  pgdaemon      pagedaemon
> > 21165      0      0      0  3     0x14200  bored         crypto
> > 22401      0      0      0  3     0x14200  pftm          pfpurge
> > 21731      0      0      0  3     0x14200  usbtsk        usbtask
> > 13690      0      0      0  3     0x14200  usbatsk       usbatsk
> >  1565      0      0      0  3     0x14200  bored         sensors
> > 11166      0      0      0  3  0x40014200  acpi0         acpi0
> > 32510      0      0      0  7  0x40014200                idle3
> >  7402      0      0      0  7  0x40014200                idle2
> > 14316      0      0      0  7  0x40014200                idle1
> > 28105      0      0      0  3     0x14200  bored         softnet
> > 11715      0      0      0  3     0x14200  bored         systqmp
> >  6918      0      0      0  3     0x14200  bored         systq
> >  4056      0      0      0  3  0x40014200                idle0
> > 24258      0      0      0  3     0x14200  kmalloc       kmthread
> >     1      0      1      0  3        0x82  wait          init
> >     0     -1      0      0  3     0x10200  scheduler     swapper
> > 
> > 
> > ddb{0}> show registers
> > ds                  0x10
> > es                  0x10
> > fs                  0x20
> > gs                     0
> > edi           0x77f58000
> > esi           0x77f58000
> > Ebp           0xf54c1e2c
> > ebx           0x77f59000
> > edx           0xcf9dfd60        PTmap+0x1dfd60
> > ecx           0xdaa25100        end+0x9ddbe18
> > eax           0xd45c4f30        end+0x397bc48
> > eip           0xd0564ab2        pmap_remove_ptes_86+0x72
> > cs                   0x8
> > eflags           0x10202
> > esp           0xf54c1de4
> > ss                  0x10
> > pmap_remove_ptes_86+0x72:       movl    0(%edx),%eax
> > 
> > 
> > OpenBSD 5.7-current (GENERIC.MP) #824: Mon Apr 20 23:23:30 MDT 2015
> >    [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
> > cpu0: Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz ("GenuineIntel" 686-class) 
> > 3.30 GHz
> > cpu0: 
> > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,PAGE1GB,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM
> > real mem  = 3715575808 (3543MB)
> > avail mem = 3642568704 (3473MB)
> > mpath0 at root
> > scsibus0 at mpath0: 256 targets
> > mainbus0 at root
> > bios0 at mainbus0: date 04/13/12, SMBIOS rev. 2.7 @ 0xec090 (36 entries)
> > bios0: vendor American Megatrends Inc. version "1.1a" date 12/03/2013
> > bios0: Supermicro X10SLH-F/X10SLM+-F
> > acpi0 at bios0: rev 2
> > acpi0: sleep states S0 S3 S4 S5
> > acpi0: tables DSDT FACP APIC FPDT LPIT SSDT SSDT SSDT SSDT MCFG PRAD HPET 
> > SSDT SSDT SPMI DMAR EINJ ERST HEST BERT
> > acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) 
> > PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) GLAN(S4) EHC1(S4) EHC2(S4) XHC_(S4) 
> > HDEF(S4) PEG0(S4) [...]
> > acpitimer0 at acpi0: 3579545 Hz, 24 bits
> > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> > cpu0 at mainbus0: apid 0 (boot processor)
> > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> > cpu0: apic clock running at 99MHz
> > cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
> > cpu1 at mainbus0: apid 2 (application processor)
> > cpu1: Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz ("GenuineIntel" 686-class) 
> > 3.30 GHz
> > cpu1: 
> > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,PAGE1GB,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM
> > cpu2 at mainbus0: apid 4 (application processor)
> > cpu2: Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz ("GenuineIntel" 686-class) 
> > 3.30 GHz
> > cpu2: 
> > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,PAGE1GB,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM
> > cpu3 at mainbus0: apid 6 (application processor)
> > cpu3: Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz ("GenuineIntel" 686-class) 
> > 3.30 GHz
> > cpu3: 
> > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,PAGE1GB,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM
> > ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
> > acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> > acpihpet0 at acpi0: 14318179 Hz
> > acpiprt0 at acpi0: bus 0 (PCI0)
> > acpiprt1 at acpi0: bus 1 (RP01)
> > acpiprt2 at acpi0: bus 3 (RP03)
> > acpiprt3 at acpi0: bus 4 (RP04)
> > acpiprt4 at acpi0: bus -1 (PEG0)
> > acpiprt5 at acpi0: bus -1 (PEG1)
> > acpiec0 at acpi0: not present
> > acpicpu0 at acpi0: C1, PSS
> > acpicpu1 at acpi0: C1, PSS
> > acpicpu2 at acpi0: C1, PSS
> > acpicpu3 at acpi0: C1, PSS
> > acpipwrres0 at acpi0: FN00, resource for FAN0
> > acpipwrres1 at acpi0: FN01, resource for FAN1
> > acpipwrres2 at acpi0: FN02, resource for FAN2
> > acpipwrres3 at acpi0: FN03, resource for FAN3
> > acpipwrres4 at acpi0: FN04, resource for FAN4
> > acpitz0 at acpi0: critical temperature is 105 degC
> > acpitz1 at acpi0: critical temperature is 105 degC
> > acpibat0 at acpi0: BAT0 not present
> > acpibat1 at acpi0: BAT1 not present
> > acpibat2 at acpi0: BAT2 not present
> > acpibtn0 at acpi0: PWRB
> > acpibtn1 at acpi0: LID0
> > acpivideo0 at acpi0: GFX0
> > acpivout0 at acpivideo0: DD1F
> > bios0: ROM list: 0xc0000/0x8000
> > ipmi at mainbus0 not configured
> > cpu0: Enhanced SpeedStep 3293 MHz: speeds: 3301, 3300, 3100, 2900, 2800, 
> > 2600, 2400, 2200, 2000, 1900, 1700, 1500, 1300, 1200, 1000, 800 MHz
> > pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> > pchb0 at pci0 dev 0 function 0 "Intel Xeon E3-1200 v3 Host" rev 0x06
> > xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x05: msi
> > usb0 at xhci0: USB revision 3.0
> > uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
> > "Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
> > "Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 1 not configured
> > ehci0 at pci0 dev 26 function 0 "Intel 8 Series USB" rev 0x05: apic 8 int 16
> > usb1 at ehci0: USB revision 2.0
> > uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> > ppb0 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd5: apic 8 int 16
> > pci1 at ppb0 bus 1
> > ppb1 at pci1 dev 0 function 0 "ASPEED Technology AST1150 PCI" rev 0x03
> > pci2 at ppb1 bus 2
> > vga1 at pci2 dev 0 function 0 "ASPEED Technology AST2000" rev 0x30
> > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> > ppb2 at pci0 dev 28 function 2 "Intel 8 Series PCIE" rev 0xd5: apic 8 int 18
> > pci3 at ppb2 bus 3
> > em0 at pci3 dev 0 function 0 "Intel I210" rev 0x03: msi, address 
> > 0c:c4:7a:00:c5:bc
> > ppb3 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xd5: apic 8 int 19
> > pci4 at ppb3 bus 4
> > em1 at pci4 dev 0 function 0 "Intel I210" rev 0x03: msi, address 
> > 0c:c4:7a:00:c5:bd
> > ehci1 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x05: apic 8 int 23
> > usb2 at ehci1: USB revision 2.0
> > uhub2 at usb2 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> > pcib0 at pci0 dev 31 function 0 "Intel C226 LPC" rev 0x05
> > ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x05: msi, AHCI 
> > 1.3
> > ahci0: port 0: 6.0Gb/s
> > ahci0: port 1: 6.0Gb/s
> > ahci0: port 2: 1.5Gb/s
> > scsibus1 at ahci0: 32 targets
> > sd0 at scsibus1 targ 0 lun 0: <ATA, Samsung SSD 840, EXT0> SCSI3 0/direct 
> > fixed naa.50025388a02d827c
> > sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
> > sd1 at scsibus1 targ 1 lun 0: <ATA, Samsung SSD 840, EXT0> SCSI3 0/direct 
> > fixed naa.50025388a02d827d
> > sd1: 114473MB, 512 bytes/sector, 234441648 sectors, thin
> > cd0 at scsibus1 targ 2 lun 0: <HL-DT-ST, DVDRAM GH22NS50, TN03> ATAPI 
> > 5/cdrom removable
> > ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x05: apic 8 
> > int 18
> > iic0 at ichiic0
> > sdtemp0 at iic0 addr 0x19: at30ts00
> > sdtemp1 at iic0 addr 0x1b: at30ts00
> > spdmem0 at iic0 addr 0x51: 8GB DDR3 SDRAM ECC PC3-12800 with thermal sensor
> > spdmem1 at iic0 addr 0x53: 8GB DDR3 SDRAM ECC PC3-12800 with thermal sensor
> > "Intel 8 Series Thermal" rev 0x05 at pci0 dev 31 function 6 not configured
> > isa0 at pcib0
> > isadma0 at isa0
> > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> > com0: console
> > com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> > com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo
> > pckbc0 at isa0 port 0x60/5
> > pcppi0 at isa0 port 0x61
> > spkr0 at pcppi0
> > wbsio0 at isa0 port 0x2e/2: NCT6776F rev 0x33
> > lm1 at wbsio0 port 0xa30/8: NCT6776F
> > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> > uhidev0 at uhub0 port 6 configuration 1 interface 0 "Cherry Mikroschalter 
> > product 0x0023" rev 2.00/0.32 addr 2
> > uhidev0: iclass 3/1
> > ukbd0 at uhidev0: 8 variable keys, 6 key codes
> > wskbd0 at ukbd0: console keyboard, using wsdisplay0
> > uhidev1 at uhub0 port 6 configuration 1 interface 1 "Cherry Mikroschalter 
> > product 0x0023" rev 2.00/0.32 addr 2
> > uhidev1: iclass 3/0, 2 report ids
> > uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
> > uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
> > uhub3 at uhub0 port 7 "vendor 0x0000 product 0x0001" rev 2.00/0.00 addr 3
> > uhub3: device problem, disabling port 1
> > uhub4 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.05 addr 2
> > uhub5 at uhub2 port 1 "Intel Rate Matching Hub" rev 2.00/0.05 addr 2
> > vscsi0 at root
> > scsibus2 at vscsi0: 256 targets
> > softraid0 at root
> > scsibus3 at softraid0: 256 targets
> > root on sd1a (50a432f7580e264a.a) swap on sd1b dump on sd1b
> > 
> > 
> > -- 
> > Mark Patruck ( mark at wrapped.cx )
> > GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51
> > 
> > http://www.wrapped.cx
> > 
> 

Reply via email to