video drivers are locked up; panic during shutdown
deeptech71 at gmail.com
deeptech71 at gmail.com
Sat May 19 17:02:24 UTC 2012
So while the unstable, reverse-engineered ATI drivers were locked up (which is usual, it happens ~5 times a day on average), I pressed the ATX power button to initiate a clean shutdown (statistically, this usually succeeds). During the shutdown procedure, a panic occurred. (As a result, the filesystem wasn't cleanly unmounted.)
I was doing a ``git pull --rebase'' (which turned out to have succeeded) when the driver lockup occurred.
The crashinfo output is attached. Note: the kernel used during the panic has no debugging symbols; a version compiled with debugging symbols was used for crashinfo.
-------------- next part --------------
dumped core - see /var/crash/vmcore.0
Sat May 19 18:36:13 CEST 2012
FreeBSD 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r235500M: Sat May 19 17:53:32 CEST 2012 root@:/usr/obj/usr/src/sys/HQ i386
panic: page fault
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Cannot access memory at address 0x0
(kgdb) #0 0x00000000 in ?? ()
(kgdb)
------------------------------------------------------------------------
ps -axl
UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND
------------------------------------------------------------------------
vmstat -s
0 cpu context switches
3230491304 device interrupts
0 software interrupts
3230491296 traps
0 system calls
3230491472 kernel threads created
0 fork() calls
3230491464 vfork() calls
0 rfork() calls
0 swap pager pageins
0 swap pager pages paged in
3230491336 swap pager pageouts
3230491344 swap pager pages paged out
0 vnode pager pageins
0 vnode pager pages paged in
3230491352 vnode pager pageouts
3230491360 vnode pager pages paged out
0 page daemon wakeups
3230491376 pages examined by the page daemon
3230491368 pages reactivated
0 copy-on-write faults
3230491320 copy-on-write optimized faults
0 zero fill pages zeroed
3230491328 zero fill pages prezeroed
0 intransit blocking page faults
3230491312 total VM faults taken
3230491488 pages affected by kernel thread creation
0 pages affected by fork()
3230491480 pages affected by vfork()
0 pages affected by rfork()
0 pages cached
3230491392 pages freed
3230491384 pages freed by daemon
0 pages freed by exiting processes
3230491424 pages active
3230491432 pages inactive
0 pages in VM cache
0 pages wired down
3230491416 pages free
0 bytes per page
-2108415131 total name lookups
cache hits (0% pos + 0% neg) system 0% per-directory
deletions 0%, falsehits 50%, toolong -1%
------------------------------------------------------------------------
vmstat -m
vmstat: memstat_kvm_malloc: invalid address (0x7cd6d6c6)
Type InUse MemUse HighUse Requests Size(s)
------------------------------------------------------------------------
vmstat -z
ITEM SIZE LIMIT USED FREE REQ FAIL SLEEP
------------------------------------------------------------------------
vmstat -i
vmstat: malloc(): Cannot allocate memory
------------------------------------------------------------------------
pstat -T
19/ 0 files
0M/0M swap space
------------------------------------------------------------------------
pstat -s
Device 1K-blocks Used Avail Capacity
------------------------------------------------------------------------
iostat
iostat: devstat_checkversion: userland devstat version 6 is not the same as the kernel
devstat_checkversion: devstat version -1065155924
devstat_checkversion: libdevstat newer than kernel
------------------------------------------------------------------------
ipcs -a
ipcs: shmsegs: invalid address (0x0)
Message Queues:
T ID KEY MODE OWNER GROUP CREATOR CGROUP CBYTES QNUM QBYTES LSPID LRPID STIME RTIME CTIME
------------------------------------------------------------------------
ipcs -T
msginfo:
msgmax: 0 (max characters in a message)
msgmni: 0 (# of message queues)
msgmnb: 1312130 (max characters in a message queue)
msgtql: -65536 (max # of messages in system)
msgssz: 60 (size of a message segment)
msgseg: 0 (# of message segments in system)
shminfo:
shmmax: 25165824 (max shared memory segment size)
shmmin: 268435455 (min shared memory segment size)
shmmni: 3227543568 (max number of shared memory identifiers)
shmseg: 3230161136 (max shared memory segments per process)
shmall: 1 (max amount of shared memory in pages)
seminfo:
semmni: 0 (# of semaphore identifiers)
semmns: 0 (# of semaphores in system)
semmnu: 0 (# of undo structures in system)
semmsl: 0 (max # of semaphores per id)
semopm: 0 (max # of operations per semop call)
semume: 0 (max # of undo entries per process)
semusz: 0 (size in bytes of undo structure)
semvmx: 0 (semaphore maximum value)
semaem: 0 (adjust on exit max value)
------------------------------------------------------------------------
nfsstat
nfsstat: new client/server not loaded
------------------------------------------------------------------------
netstat -s
netstat: igmp_stats: version mismatch (0 != 3)
netstat: igmp_stats: size mismatch (-1067316968 != 168)
tcp:
4 packets sent
0 data packets (0 bytes)
0 data packets (0 bytes) retransmitted
0 data packets unnecessarily retransmitted
21168128 resends initiated by MTU discovery
0 ack-only packets (0 delayed)
3229870621 URG only packets
3230488056 window probe packets
21168128 window update packets
0 control packets
0 packets received
0 acks (for 3230488152 bytes)
0 duplicate acks
0 acks for unsent data
4 packets (0 bytes) received in-sequence
0 completely duplicate packets (3230488104 bytes)
21168128 old duplicate packets
3229870621 packets with some dup. data (21168128 bytes duped)
0 out-of-order packets (0 bytes)
4 packets (0 bytes) of data after window
0 window probes
3229870621 window update packets
0 packets received after close
0 discarded for bad checksums
0 discarded for bad header offset fields
0 discarded because packet too short
0 discarded due to memory problems
3229870621 connection requests
21168128 connection accepts
3229870621 bad connection attempts
0 listen queue overflows
0 ignored RSTs in the windows
0 connections established (including accepts)
0 connections closed (including 0 drops)
0 connections updated cached RTT on close
0 connections updated cached RTT variance on close
0 connections updated cached ssthresh on close
4 embryonic connections dropped
0 segments updated rtt (of 0 attempts)
3230488008 retransmit timeouts
0 connections dropped by rexmit timeout
3229870621 persist timeouts
3230488200 connections dropped by persist timeout
0 Connections (fin_wait_2) dropped because of timeout
21168128 keepalive timeouts
0 keepalive probes sent
0 connections dropped by keepalive
0 correct ACK header predictions
0 correct data packet header predictions
4 syncache entries added
0 retransmitted
0 dupsyn
0 dropped
0 completed
0 bucket overflow
0 cache overflow
3230488248 reset
3229870621 stale
21168128 aborted
0 badack
0 unreach
4 zone failures
0 cookies sent
0 cookies received
0 hostcache entries added
0 bucket overflow
0 SACK recovery episodes
3230488296 segment rexmits in SACK recovery episodes
3229870621 byte rexmits in SACK recovery episodes
21168128 SACK options (SACK blocks) received
0 SACK options (SACK blocks) sent
0 SACK scoreboard overflow
4 packets with ECN CE bit set
0 packets with ECN ECT(0) bit set
0 packets with ECN ECT(1) bit set
0 successful ECN handshakes
0 times ECN reduced the congestion window
udp:
4 datagrams received
0 with incomplete header
0 with bad data length field
0 with bad checksum
0 with no checksum
0 dropped due to no socket
0 broadcast/multicast datagrams undelivered
3230488920 dropped due to full socket buffers
3229870628 not for hashed pcb
1064478380 delivered
196608 datagrams output
4 times multicast source filter matched
ip:
4 total packets received
0 bad header checksums
0 with size smaller than minimum
0 with data size < data length
0 with ip length > max ip packet size
0 with header length < data size
0 with data length < header length
21168128 with bad options
0 with incorrect version number
0 fragments received
3230486328 fragments dropped (dup or out of space)
3229870621 fragments dropped after timeout
0 packets reassembled ok
0 packets for this host
0 packets for unknown/unsupported protocol
21168128 packets forwarded (0 packets fast forwarded)
0 packets not forwardable
0 packets received for unknown multicast group
4 redirects sent
0 packets sent from this host
4 packets sent with fabricated ip header
0 output packets dropped due to no bufs, etc.
0 output packets discarded due to no route
0 output datagrams fragmented
3230486376 fragments created
3229870621 datagrams that can't be fragmented
0 tunneling packets that can't find gif
0 datagrams with bad address in header
icmp:
4 calls to icmp_error
0 errors not generated in response to an icmp message
Output histogram:
source quench: 3230485848
routing redirect: 3229870621
#6: 21168128
router advertisement: 4
information request reply: 3230485896
address mask request: 3229870621
address mask reply: 21168128
#21: 4
#28: 3230485944
#29: 3229870621
icmp traceroute: 21168128
IPv6 where-are-you: 4
icmp photuris: 3230485992
3229870621 messages with bad code fields
21168128 messages less than the minimum length
0 messages with bad checksum
0 messages with bad length
0 multicast echo requests ignored
3230486184 multicast timestamp requests ignored
Input histogram:
#6: 3230486040
#7: 3229870621
echo: 21168128
time exceeded: 4
address mask reply: 3230486088
#19: 3229870621
#20: 21168128
#23: 4
icmp traceroute: 3230486136
datagram conversion error: 3229870621
mobile host redirect: 21168128
mobile registration req: 4
4 message responses generated
3229870621 invalid return addresses
21168128 no return routes
igmp:
0 messages received
0 messages received with too few bytes
4294967297 messages received with wrong TTL
13862652601683673088 messages received with bad checksum
43021 V1/V2 membership queries received
0 V3 membership queries received
4294967297 membership queries received with invalid field(s)
13862652601683673088 general queries received
43021 group queries received
0 group-source queries received
4294967296 group-source queries dropped
13862652601683673088 membership reports received
0 membership reports received with invalid field(s)
0 membership reports received for groups to which we belong
4294967297 V3 reports received without Router Alert
13862652601683673088 membership reports sent
arp:
0 ARP requests sent
0 ARP replies sent
0 ARP requests received
3230485320 ARP replies received
3229870621 ARP packets received
0 total packets dropped due to no ARP entry
0 ARP entrys timed out
0 Duplicate IPs seen
------------------------------------------------------------------------
netstat -m
netstat: memstat_kvm_all: invalid address (0x7cd6d6c6)
------------------------------------------------------------------------
netstat -id
netstat: invalid address (0x0)
------------------------------------------------------------------------
netstat -anr
netstat: invalid address (0x0)
netstat: invalid address (0x4)
netstat: invalid address (0x8)
netstat: invalid address (0xc)
netstat: invalid address (0x10)
netstat: invalid address (0x14)
netstat: invalid address (0x18)
netstat: invalid address (0x1c)
netstat: invalid address (0x20)
netstat: invalid address (0x24)
netstat: invalid address (0x28)
netstat: invalid address (0x2c)
netstat: invalid address (0x30)
netstat: invalid address (0x34)
netstat: invalid address (0x38)
netstat: invalid address (0x3c)
netstat: invalid address (0x40)
netstat: invalid address (0x44)
netstat: invalid address (0x48)
netstat: invalid address (0x4c)
netstat: invalid address (0x50)
netstat: invalid address (0x54)
netstat: invalid address (0x58)
netstat: invalid address (0x5c)
netstat: invalid address (0x60)
netstat: invalid address (0x64)
netstat: invalid address (0x68)
netstat: invalid address (0x6c)
netstat: invalid address (0x70)
netstat: invalid address (0x74)
netstat: invalid address (0x78)
netstat: invalid address (0x7c)
netstat: invalid address (0x80)
netstat: invalid address (0x84)
netstat: invalid address (0x88)
netstat: invalid address (0x8c)
netstat: invalid address (0x90)
netstat: invalid address (0x94)
netstat: invalid address (0x98)
Routing tables
------------------------------------------------------------------------
netstat -anA
netstat: invalid address (0x0)
netstat: invalid address (0x1430000)
netstat: invalid address (0x1430000)
netstat: invalid address (0x1430000)
netstat: invalid address (0x1430000)
netstat: invalid address (0x1430000)
netstat: invalid address (0x1430000)
netstat: invalid address (0x1430000)
netstat: invalid address (0x78746d75)
netstat: invalid address (0x1430000)
------------------------------------------------------------------------
netstat -aL
netstat: invalid address (0x0)
netstat: invalid address (0x1430000)
netstat: invalid address (0x1430000)
netstat: invalid address (0x1430000)
netstat: invalid address (0x1430000)
netstat: invalid address (0x1430000)
netstat: invalid address (0x1430000)
netstat: invalid address (0x1430000)
netstat: invalid address (0x78746d75)
netstat: invalid address (0x1430000)
------------------------------------------------------------------------
fstat
fstat: procstat_getprocs()
------------------------------------------------------------------------
dmesg
dmesg: _kvm_vatop: virtual address 0x0 not minidumped
dmesg: kvm_read: invalid address (0x0)
------------------------------------------------------------------------
kernel config
options CONFIG_AUTOGENERATED
ident HQ
machine i386
cpu I686_CPU
makeoptions DEBUG=-g
options ATA_STATIC_ID
options ATA_CAM
options SMP
options INCLUDE_CONFIG_FILE
options KBD_INSTALL_CDEV
options PRINTF_BUFR_SIZE=128
options _KPOSIX_PRIORITY_SCHEDULING
options SYSVSEM
options SYSVMSG
options SYSVSHM
options SCSI_DELAY=1000
options COMPAT_FREEBSD7
options COMPAT_FREEBSD6
options COMPAT_FREEBSD5
options COMPAT_FREEBSD4
options GEOM_LABEL
options GEOM_PART_GPT
options CD9660
options MSDOSFS
options MD_ROOT
options UFS_DIRHASH
options SOFTUPDATES
options FFS
options INET
options PREEMPTION
options SCHED_ULE
options NEW_PCIB
options NATIVE
options GEOM_PART_MBR
options GEOM_PART_EBR_COMPAT
options GEOM_PART_EBR
options GEOM_PART_BSD
options ISAPNP
device isa
device npx
device mem
device io
device uart_ns8250
device atpic
device apic
device acpi
device pci
device ahci
device ata
device scbus
device ch
device da
device cd
device pass
device ses
device atkbdc
device atkbd
device psm
device vga
device sc
device agp
device pmtimer
device miibus
device sk
device loop
device random
device ether
device md
device firmware
device uhci
device ohci
device ehci
device usb
device uhid
device ukbd
device umass
device ums
device sound
device snd_es137x
device drm
device radeondrm
------------------------------------------------------------------------
ddb capture buffer
ddb: ddb_capture: kvm_nlist
More information about the freebsd-current
mailing list