On 05/12/14 14:01, Philip Guenther wrote:
>
> On Sun, 11 May 2014, RD Thrush wrote:
>> login: atascsi_passthru_done, timeout
>> stopping package daemons: apcupsd dbus_daemon.
>> uvm_fault(0xd0b8b8e0, 0xefffe000, 0, 1) -> d
>
> Weird: that's an EACCES error. Writing to a non-existent page (no
> mapping) gives you EFAULT, so that's writing to a read-only page in the
> kernel map? Huh.
>
>
>> nel: page fault trap, code=0
>> Stopped at unp_disconnect+0x76: movl 0x18(%edx),%eax
>
> That's the unp2->unp_nextref dereference at line 593:
> if (unp2->unp_nextref == unp)
>
> So the links between UNIX datagram sockets are corrupt.
>
>
> Actually, I suspect further data corruption: the trace shows this:
>
>> fdfree(da2d5178,9,f639fe2c,d03b0010,97560010) at fdfree+0x52
>> exit1(da2d5178,f,1,0,282,f639fe30,a,400) at exit1+0x8d
>> sigexit(da2d5178,f,40,0,0) at sigexit+0x77
>
> which means the involved process is far enough into exit1 that PS_EXITING
> should be set on it, but the ps output doesn't include any procs with that
> flag set *and* with state SONPROC==7.
>
> This box using or doing anything unusual? (tmpfs?)
I use this box mostly w/amd64 -current. I boot in i386 appx. weekly to do a
partial dpb bulk build. I don't use tmpfs (or mfs) in i386 mode. I do the dpb
builds (both i386 and amd64) w/ chroot. This is the first time I've
encountered this problem. Let me know if I can help further.
FWIW, here's some further info:
x2:build/packages 4885>cat ~/Hardware/Z87a/OpenBSD/i386/DiskInfo/df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd3a 204542 89382 104934 46% /
/dev/sd3d 1032542 28318 952598 3% /var
/dev/sd3e 2060382 585478 1371886 30% /usr
/dev/sd3f 60930810 7812738 50071532 13% /dpb
/dev/sd3h 4124062 86 3917774 0% /dpb/tmp
/dev/sd3l 8251438 603378 7235490 8% /usr/local
/dev/sd3p 109493750 878924 103140140 1% /pub
/dev/sd2a 401438 158434 222934 42% /amd64
/dev/sd2p 72191658 23093308 45488768 34% /dpb/pub
/dev/sd0h 66040762 10193872 52544852 16% /oamd64/home
a8v:/pub 160665938 112648792 39983850 74% /dpb/a8v/pub
nas2:/work 4830398392 4816969764 13428628 100% /dpb/nas2/work
nas2:/public 4830398392 4816969764 13428628 100% /dpb/nas2/public
nas3:/work 11645104480 11465370176 129734304 99% /dpb/nas3/work
x2:build/packages 4886>cat ~/Hardware/Z87a/OpenBSD/i386/DiskInfo/ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
priority: 0
groups: lo
inet 127.0.0.1 netmask 0xff000000
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr ac:22:0b:74:9f:de
priority: 0
media: Ethernet autoselect (none)
status: no carrier
supported media:
media 10baseT
media 10baseT mediaopt full-duplex
media 100baseTX
media 100baseTX mediaopt full-duplex
media 1000baseT mediaopt full-duplex
media autoselect
sk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:04:e2:ec:ba:57
priority: 0
groups: egress int
media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
status: active
supported media:
media none
media 10baseT
media 10baseT mediaopt full-duplex
media 100baseTX
media 100baseTX mediaopt full-duplex
media 1000baseT
media 1000baseT mediaopt full-duplex
media autoselect
inet 10.1.2.30 netmask 0xffffff00 broadcast 10.1.2.255
enc0: flags=0<>
priority: 0
groups: enc
status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33192
priority: 0
groups: pflog
And the result of boot "machine memory" and "machine diskinfo" (from the serial
console):
>> OpenBSD/i386 BOOT 3.26
Region 0: type 1 at 0x0 for 630KB
Region 1: type 2 at 0x9d800 for 10KB
Region 2: type 2 at 0xe0000 for 128KB
Region 3: type 1 at 0x100000 for 2990776KB
Region 4: type 4 at 0xb69ae000 for 28KB
Region 5: type 1 at 0xb69b5000 for 4416KB
Region 6: type 2 at 0xb6e05000 for 4472KB
Region 7: type 1 at 0xb7263000 for 283412KB
Region 8: type 2 at 0xc8728000 for 2084KB
Region 9: type 3 at 0xc8931000 for 100KB
Region 10: type 4 at 0xc894a000 for 5380KB
Region 11: type 2 at 0xc8e8b000 for 17872KB
Region 12: type 1 at 0xc9fff000 for 4KB
Region 13: type 1 at 0x100000000 for 13367296KB
Region 14: type 2 at 0xcb000000 for 67584KB
Region 15: type 2 at 0xf0000000 for 131072KB
Region 16: type 2 at 0xfec00000 for 4KB
Region 17: type 2 at 0xfed00000 for 16KB
Region 18: type 2 at 0xfed1c000 for 16KB
Region 19: type 2 at 0xfee00000 for 4KB
Region 20: type 2 at 0xff000000 for 16384KB
Low ram: 630KB High ram: 16645900KB
Total free memory: 16646534KB
Disk BIOS# Type Cyls Heads Secs Flags Checksum
hd0 0x80 label 1023 255 63 0x2 0xbca3a8f4
hd1 0x81 label 1023 255 63 0x2 0x1465bdd3
hd2 0x82 label 1023 255 63 0x0 0xf3cfd0f3
hd3 0x83 label 1023 255 63 0x2 0x63ee9875
boot>