FWIW I can reproduce this on real i386 hardware

On 28 May 2012, at 17:59, Tom Doherty <[email protected]> wrote:

> Hi
>
> I have a reproducable crash on i386 using the 25-May-2012 snapshot on my ARP
> Networks VPS. This is a vanilla kernel with the exception of disabling mpbios.
>
> To reproduce, build the net/bitcoin port posted by Pascal Stumpf to ports on
> 26-May-2012. Create a ~/.bitcoin and bitcoin.conf with the the basic stubs:
>
> mkdir -p ~/.bitcoin && cat >.bitcoin/bitcoin.conf
> rpcuser=bitcoinrpc
> rpcpassword=BNXfRA79vWDHeon2wXxxe9htAkrcicSdRmLb1QWspXYM
> ^D
>
> Start bitcoind using bitcoind -daemon, give it a few seconds before killing
> it using bitcoind stop. rm -rf ~/.bitcoin/* and repeat from the top a couple 
> of
> times.
>
> This results in the following:
>
> uvm_fault(0xd5b03804, 0x0, 0, 1) -> e
> kernel: page fault trap, code=0
> Stopped at      uvm_map_pageable_pgon+0x2e:     movl    0x54(%ebx),%eax
> ddb> trace
> uvm_map_pageable_pgon(d5b03804,d5953470,d5953e34,79eea000,79eea000) at 
> uvm_map_pageable_pgon+0x2e
> uvm_map_pageable(d5b03804,79eea000,79eea000,1,0) at uvm_map_pageable+0x18a
> sys_munlock(d5a39ba4,f54c7f64,f54c7f84,b0,d08bbcfd) at sys_munlock+0x6a
> syscall() at syscall+0x26a
> --- syscall (number 0) ---
> 0x2:
>
> ddb> ps
>   PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
> 31374      1  22705   1000  3   0x4100080  nanosleep     bitcoind
> *22705      1  22705   1000  7           0                bitcoind
> 11018  16847  11018    509  3        0x80  poll          bitlbee
> 25627  20887  24616   1000  3   0x4100080  poll          irssi
> 18579  23135  23135   1000  3        0x80  poll          mutt
> 27587  20887  27587   1000  3        0x80  ttyin         ksh
>  2256  20887   2256   1000  3        0x80  ttyin         ksh
> 24616  20887  24616   1000  3        0x80  poll          irssi
> 23135  20887  23135   1000  3        0x88  pause         sh
> 20887      1  20887   1000  3        0x80  kqread        tmux
> 22265  28092  28092   1000  3        0x80  kqread        tmux
> 28092   9071  28092   1000  3        0x88  pause         ksh
>  9071   6163   6163   1000  3        0x80  select        sshd
>  6163   3690   6163      0  3        0x80  poll          sshd
> 21500      1  21500      0  3        0x80  ttyin         getty
>  3508      1   3508      0  3        0x80  ttyin         getty
> 32158      1  32158      0  3        0x80  ttyin         getty
> 17637      1  17637      0  3        0x80  ttyin         getty
> 17735      1  17735      0  3        0x80  ttyin         getty
> 30040      1  30040      0  3        0x80  ttyin         getty
> 15901      1  15901      0  3        0x80  select        cron
> 17438      1  17438    548  3        0x80  poll          polipo
>  3164      1  18585    566  3        0x80  kqread        tor
> 31733   7886   7886     67  3        0x80  kqread        nginx
>  7886      1   7886      0  3        0x88  pause         nginx
>   598      1    598     99  3        0x80  poll          sndiod
> 19900      1  19900     62  3        0x80  bpf           spamlogd
>  1823  19748  19748     62  3        0x80  piperd        spamd
> 29464  19748  19748     62  3        0x80  select        spamd
> 19748      1  19748     62  3        0x80  nanosleep     spamd
> 16847      1  16847      0  3        0x80  select        inetd
> 10135  19715  19715     95  3        0x80  kqread        smtpd
> 29413  19715  19715     95  3        0x80  kqread        smtpd
>  5123  19715  19715     95  3        0x80  kqread        smtpd
> 29413  19715  19715     95  3        0x80  kqread        smtpd
>  5123  19715  19715     95  3        0x80  kqread        smtpd
>  7975  19715  19715     95  3        0x80  kqread        smtpd
> 12473  19715  19715     95  3        0x80  kqread        smtpd
> 25626  19715  19715     95  3        0x80  kqread        smtpd
> 20213  19715  19715     95  3        0x80  kqread        smtpd
> 20414  19715  19715     95  3        0x80  kqread        smtpd
> 19715      1  19715      0  3        0x80  kqread        smtpd
>  3690      1   3690      0  3        0x80  select        sshd
> 12327      1  12327      0  3        0x80  poll          ntpd
> 26709  12242  26709     83  3        0x80  poll          ntpd
> 12242      1  12242     83  3        0x80  poll          ntpd
> 15102   1092   1092     74  3        0x80  bpf           pflogd
>  1092      1   1092      0  3        0x80  netio         pflogd
> 10133  23040  23040     73  2        0x80                syslogd
> 23040      1  23040      0  3        0x80  netio         syslogd
>    14      0      0      0  3    0x100200  aiodoned      aiodoned
>    13      0      0      0  3    0x100200  syncer        update
>    12      0      0      0  3    0x100200  cleaner       cleaner
>    11      0      0      0  3    0x100200  reaper        reaper
>    10      0      0      0  3    0x100200  pgdaemon      pagedaemon
>     9      0      0      0  3    0x100200  bored         crypto
>     8      0      0      0  3    0x100200  pftm          pfpurge
>     7      0      0      0  3    0x100200  usbtsk        usbtask
>     6      0      0      0  3    0x100200  usbatsk       usbatsk
>     5      0      0      0  3    0x100200  acpi0         acpi0
>     4      0      0      0  3    0x100200  bored         syswq
>     3      0      0      0  3  0x40100200                idle0
>     2      0      0      0  3    0x100200  kmalloc       kmthread
>     1      0      1      0  3        0x80  wait          init
>     0     -1      0      0  3       0x200  scheduler     swapper
>
>
> Here's the dmesg:
>
> OpenBSD 5.1-current (GENERIC) #220: Fri May 25 19:19:59 MDT 2012
>    [email protected]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: QEMU Virtual CPU version 0.9.1 ("GenuineIntel" 686-class) 2.67 GHz
> cpu0: 
> FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,LONG,SSE3
> real mem  = 536342528 (511MB)
> avail mem = 516747264 (492MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 01/04/10, BIOS32 rev. 0 @ 0xfb4d0, 
> SMBIOS rev. 2.4 @ 0xfbd3f (10 entries)
> bios0: vendor QEMU version "QEMU" date 01/01/2007
> acpi0 at bios0: rev 0
> acpi0: sleep states S3 S4 S5
> acpi0: tables DSDT FACP APIC
> acpi0: wakeup devices
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpicpu0 at acpi0
> mpbios at bios0 function 0x0 not configured
> bios0: ROM list: 0xc0000/0x8c00 0xd0000/0x600!
> vmt0 at mainbus0
> vmware: open failed, eax=564d5868, ecx=0000001e, edx=00005658
> vmt0: failed to open backdoor RPC channel (TCLO protocol)
> cpu0 at mainbus0: (uniprocessor)
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
> pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
> pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 
> wired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 drive 0: <QEMU HARDDISK>
> wd0: 16-sector PIO, LBA48, 20480MB, 41943040 sectors
> atapiscsi0 at pciide0 channel 0 drive 1
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 0.9.> ATAPI 5/cdrom 
> removable
> wd0(pciide0:0:0): using PIO mode 0, DMA mode 2
> cd0(pciide0:0:1): using PIO mode 0
> atapiscsi1 at pciide0 channel 1 drive 0
> scsibus1 at atapiscsi1: 2 targets
> cd1 at scsibus1 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 0.9.> ATAPI 5/cdrom 
> removable
> cd1(pciide0:1:0): using PIO mode 0
> uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: irq 11
> piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: irq 10
> iic0 at piixpm0
> iic0: addr 0x19 3e=00 48=00 4a=00 4e=00 fc=00 fe=00 words 00=0000 01=0000 
> 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
> iic0: addr 0x1b 3e=00 48=00 4a=00 4e=00 fc=00 fe=00 words 00=0000 01=0000 
> 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
> iic0: addr 0x1c 0f=00 3e=00 48=00 4a=00 4e=00 fc=00 fe=00 words 00=0000 
> 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
> iic0: addr 0x1d 0f=00 3e=00 48=00 4a=00 4e=00 fc=00 fe=00 words 00=0000 
> 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
> iic0: addr 0x1e 3e=00 48=00 4a=00 4e=00 fc=00 fe=00 words 00=0000 01=0000 
> 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
> iic0: addr 0x1f 3e=00 48=00 4a=00 4e=00 fc=00 fe=00 words 00=0000 01=0000 
> 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
> iic0: addr 0x29 00=d0 01=d0 02=d0 03=d0 04=d0 05=d0 06=d0 07=d0 08=d0 words 
> 00=0000 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
> iic0: addr 0x2b 00=d0 01=d0 02=d0 03=d0 04=d0 05=d0 06=d0 07=d0 08=d0 words 
> 00=0000 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
> iic0: addr 0x4c 00=d0 01=d0 02=d0 03=d0 04=d0 05=d0 06=d0 07=d0 08=d0 words 
> 00=0000 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
> iic0: addr 0x4e 00=d0 01=d0 02=d0 03=d0 04=d0 05=d0 06=d0 07=d0 08=d0 words 
> 00=0000 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
> vga1 at pci0 dev 2 function 0 "Cirrus Logic CL-GD5446" rev 0x00
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> em0 at pci0 dev 3 function 0 "Intel PRO/1000MT (82540EM)" rev 0x03: irq 11, 
> address 52:54:00:27:22:44
> em1 at pci0 dev 4 function 0 "Intel PRO/1000MT (82540EM)" rev 0x03: irq 11, 
> address 52:54:00:a8:22:44
> "Qumranet Virtio Memory" rev 0x00 at pci0 dev 5 function 0 not configured
> "Qumranet Virtio Console" rev 0x00 at pci0 dev 6 function 0 not configured
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com0: console
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: density unknown
> fd1 at fdc0 drive 1: density unknown
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> mtrr: Pentium Pro MTRR support
> nvram: invalid checksum
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on wd0a (2861ea8752190b33.a) swap on wd0b dump on wd0b
> WARNING: / was not properly unmounted
> clock: unknown CMOS layout
>
> Cheers
> Tom

Reply via email to