I think this is the i386 W^X issue, which Mike Larkin is still
puttering at fixing.

Please be patient.  Each time he gives me a potential diff, I sneak it
into snapshots.

> Hardware is a Netgate Hamakua network appliance (a rebranded Lanner, not
> sure of the model). It runs fine on 5.7.
> 
> I booted the /bsd kernel too (same result) so I could get into ddb, results
> below. This also happened on the 9/7 snapshot.
> 
> Might be related to this thread:
> https://marc.info/?t=144173008400002&r=1&w=2
> 
> Thanks,
> Corey
> 
> boot> boot /5.8/i386/bsd
> cannot open hd0a:/etc/random.seed: No such file or directory
> booting hd0a:/5.8/i386/bsd: 7690836+2030032+189444+0+1069056
> [72+414192+409165]=0xb43224
> entry point at 0x2000d4
> 
> [ using 823844 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) #1197: Fri Oct  2 15:29:04 MDT 2015
>     dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Celeron(R) M processor 1.00GHz ("GenuineIntel" 686-class,
> 0KB L2 cache) 1.01 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,NXE,PERF
> real mem  = 1064845312 (1015MB)
> avail mem = 1031946240 (984MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: date 01/14/09, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.3
> @ 0xfb260 (45 entries)
> bios0: vendor American Megatrends Inc. version "080012" date 01/14/2009
> acpi at bios0 function 0x0 not configured
> 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: apic clock running at 100MHz
> mpbios0: bus 0 is type PCI
> mpbios0: bus 1 is type PCI
> mpbios0: bus 2 is type PCI
> mpbios0: bus 3 is type PCI
> mpbios0: bus 4 is type PCI
> mpbios0: bus 5 is type PCI
> mpbios0: bus 6 is type ISA
> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
> uvm_fault(0xd0b98620, 0xd0da2000, 0, 4) -> d
> kernel: page fault trap, code=0
> Stopped at      __kernel_bss_end+0x128010:      cmpl    $0x49435024,%eax
> ddb> trace
> __kernel_bss_end(49435024,d0c78064,d0c7806a,41acf9e4,7) at
> __kernel_bss_end+0x1
> 28010
> pcibiosprobe(d2200100,d0b4a7c0,d0d45d2c,d087a005,d0bb25a8) at
> pcibiosprobe+0x64
> 
> config_scan(d0b51244,5,0,0,0) at config_scan+0x10e
> config_search(0,d2200100,d0d45d2c,0,0) at config_search+0xf4
> config_found_sm(d2200100,d0d45d2c,d0875f60,0,2d) at config_found_sm+0x2b
> biosattach(d22000c0,d2200100,d0d45e40,d03bf0bb,0) at biosattach+0x7e4
> config_attach(d22000c0,d0b4a720,d0d45e40,d0593b60,8) at config_attach+0x1bc
> mainbus_attach(0,d22000c0,0,d20f09e0,0) at mainbus_attach+0x5e
> config_attach(0,d0b48040,0,0,d0d44000) at config_attach+0x1bc
> config_rootfound(d09fbff6,0,7,0,d03bcce0) at config_rootfound+0x46
> cpu_configure(d09cc2a8,0,1000,cfb3e000,1) at cpu_configure+0x4f
> main(d02004c1,d02004c9,0,0,0) at main+0x3ef
> ddb> ps
>    TID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
> *    0     -1      0      0  7     0x10200                swapper
> ddb> show registers
> ds                  0x10
> es                  0x10
> fs                  0x20
> gs                     0
> edi           0xd0c772c4        bios32_entry
> esi           0xd0b13403        linux_emul_path+0x15b8
> ebp           0xd0d45bc8        __kernel_bss_end+0xcbbc8
> ebx                    0
> edx           0xd0da2010        __kernel_bss_end+0x128010
> ecx                    0
> eax           0x49435024
> eip           0xd0da2010        __kernel_bss_end+0x128010
> cs                   0x8
> eflags           0x10246        __ALIGN_SIZE+0xf246
> esp           0xd0d45b68        __kernel_bss_end+0xcbb68
> ss                  0x10
> __kernel_bss_end+0x128010:      cmpl    $0x49435024,%eax
> ddb>

Reply via email to