Date: Tue, 18 Feb 2003 07:46:41 +0200 From: ianf@za.uu.net To: freebsd-current@FreeBSD.ORG Subject: panic (fault on nofault) Message-ID: <1719.1045547201@wcom.com>
next in thread | raw e-mail | index | archive | help
Hi I turned softupdates back on recently. This panic is very repeatable: turn off the computer without shutting down. It panics shortly after the background fsck starts. The kernel and world are recent and in sync: [brane-dead] ~ # uname -a FreeBSD brane-dead.digs.iafrica.com 5.0-CURRENT FreeBSD 5.0-CURRENT #8: Mon Feb 17 18:41:46 SAST 2003 ianf@brane-dead.digs.iafrica.com:/usr/src/sys/i386/compile/BRANE-DEAD i386 I couldn't get the kernel debugger to give me a back trace. The next most interesting thing I could get was a proc listing. fsck on CPU1 and idle on CPU0. All the filesystems are UFS1 and the partitions are legacy FreeBSD4.7 partitions. I've included the first 20 lines of a dumpfs of all of the filesystems at the end. The real PITA is the system never comes back after an unclean shutdown. If someone can tell me how or point me to some (working) docs I'll try to get a more detailed report. Ian panic: vm_fault: fault on nofault entry, addr: c8667000 cpuid = 1; lapic.id = 01000000 Debugger("panic") Stopped at Debugger+0x55: xchgl %ebx,in_Debugger.0 db> show all procs pid proc addr uid ppid pgrp flag stat wmesg wchan cmd 507 c3955730 d2f1a000 0 481 34 0004000 norm[CPU 1] fsck_ufs 501 c39f7c94 d2f39000 1000 500 501 0004002 norm[SLPQ ttyin c3a9b640][SLP] bash 500 c3906ac8 d27fb000 1000 498 395 0000100 norm[CVQ select c034a834][SLP] sshd 498 c3a9a564 d2fa5000 0 395 395 0000100 norm[SLPQ sbwait c3ab4364][SLP] sshd 493 c3955564 d2f19000 65534 490 493 0004000 norm[SLPQ piperd c3951420][SLP] unlinkd 490 c3906000 d27f5000 65534 465 465 0004100 norm[CVQ select c034a834][SLP] squid 488 c39061cc d27f6000 80 446 446 0000100 norm[SLPQ lockf c3aa34c0][SLP] httpd 487 c39f9000 d2f3a000 80 446 446 0000100 norm[SLPQ lockf c3a5bc80][SLP] httpd 486 c3908c94 d283a000 80 446 446 0000100 norm[CVQ select c034a834][SLP] httpd 485 c3a9a000 d2fa2000 80 446 446 0000100 norm[SLPQ lockf c395c580][SLP] httpd 484 c3a9a1cc d2fa3000 80 446 446 0000100 norm[SLPQ lockf c3a53c00][SLP] httpd 481 c39551cc d2f17000 0 479 34 0004002 norm[SLPQ wait c39551cc][SLP] fsck 480 c39f7564 d2f35000 0 1 34 0004002 norm[SLPQ piperd c3952160][SLP] logger 479 c39f7730 d2f36000 0 1 34 0000002 norm[SLPQ wait c39f7730][SLP] sh 475 c3a99730 d2f9e000 0 1 475 0000000 norm[SLPQ nanslp c03772f8][SLP] cron 465 c3a99564 d2f9d000 0 1 465 0000000 norm[SLPQ wait c3a99564][SLP] squid 446 c3955398 d2f18000 0 1 446 0000000 norm[CVQ select c034a834][SLP] httpd 444 c39f7000 d2f25000 70 443 34 0000002 norm[CVQ select c034a834][SLP] postgres 443 c39558fc d2f1b000 70 435 34 0000002 norm[CVQ select c034a834][SLP] postgres 435 c3908564 d2836000 70 1 34 0004002 norm[CVQ select c034a834][SLP] postgres 400 c39f78fc d2f37000 26 1 400 0000100 norm[CVQ select c034a834][SLP] exim 395 c39f91cc d2f3b000 0 1 395 0000100 norm[CVQ select c034a834][SLP] sshd 378 c39f9730 d2f3e000 0 1 378 0000000 norm[CVQ select c034a834][SLP] ntpd 365 c3908ac8 d2839000 0 1 365 0000000 norm[CVQ select c034a834][SLP] lpd 256 c39f7398 d2f34000 0 1 256 0000000 norm[CVQ select c034a834][SLP] named 245 c3863c94 d27ce000 0 1 245 0000000 norm[CVQ select c034a834][SLP] syslogd 192 c39f9564 d2f3d000 0 1 192 0000000 norm[CVQ select c034a834][SLP] ppp 33 c3906c94 d27fc000 0 0 0 0000204 norm[SLPQ vlruwt c3906c94][SLP] vnlru 9 c3908000 d2833000 0 0 0 0000204 norm[SLPQ syncer c034842c][SLP] syncer 8 c39081cc d2834000 0 0 0 0000204 norm[SLPQ psleep c039d090][SLP] bufdaemon 7 c37f0564 ce77c000 0 0 0 000020c norm[SLPQ pgzero c039e5d4][SLP] pagezero 6 c37f0730 ce7b3000 0 0 0 0000204 norm[SLPQ psleep c039e5ec][SLP] vmdaemon 5 c37f08fc ce7b4000 0 0 0 0000204 norm[SLPQ psleep c03570e4][SLP] pagedaemon 32 c37f0ac8 ce7b5000 0 0 0 0000204 new [IWAIT] irq8: rtc 31 c37f0c94 ce7b6000 0 0 0 0000204 new [IWAIT] irq0: clk 30 c3863000 d27c7000 0 0 0 0000204 new [IWAIT] irq3: sio1 29 c38631cc d27c8000 0 0 0 0000204 new [IWAIT] irq4: sio0 28 c3863398 d27c9000 0 0 0 0000204 norm[IWAIT] swi0: tty:sio 27 c3863564 d27ca000 0 0 0 0000204 new [IWAIT] irq7: ppc0 26 c3863730 d27cb000 0 0 0 0000204 new [IWAIT] irq6: fdc0 25 c38638fc d27cc000 0 0 0 0000204 norm[IWAIT] irq2: xl0 ahc0 24 c0d1e1cc cd571000 0 0 0 0000204 norm[SLPQ usbtsk c0340f5c][SLP] usbtask 23 c0d1e398 cd572000 0 0 0 0000204 norm[SLPQ usbevt c384e210][SLP] usb0 22 c0d1e564 cd573000 0 0 0 0000204 new [IWAIT] irq11: uhci0 21 c0d1e730 cd574000 0 0 0 0000204 new [IWAIT] irq15: ata1 20 c0d1e8fc cd575000 0 0 0 0000204 norm[LOCK Giant c0347280] irq14: ata0 19 c0d1eac8 cd576000 0 0 0 0000204 norm[IWAIT] swi3: cambio 18 c0d1ec94 cd577000 0 0 0 0000204 new [IWAIT] swi2: camnet 16 c37f01cc ce77a000 0 0 0 0000204 norm[SLPQ sleep c0364480][SLP] random 4 c37f0398 ce77b000 0 0 0 0000204 norm[LOCK Giant c0347280] g_down 3 c0d17000 cd4fc000 0 0 0 0000204 norm[SLPQ g_up c0341d4c][SLP] g_up 2 c0d171cc cd569000 0 0 0 0000204 norm[SLPQ g_events c0341d44][SLP] g_event 15 c0d17398 cd56a000 0 0 0 0000204 new [IWAIT] swi4: vm 14 c0d17564 cd56b000 0 0 0 000020c norm[LOCK Giant c0347280] swi6: tty:sio clock 13 c0d17730 cd56c000 0 0 0 0000204 norm[IWAIT] swi1: net 12 c0d178fc cd56d000 0 0 0 000020c norm[CPU 0] idle: cpu0 11 c0d17ac8 cd56e000 0 0 0 000020c norm[Can run] idle: cpu1 1 c0d17c94 cd56f000 0 0 1 0004200 norm[SLPQ wait c0d17c94][SLP] init 10 c0d1e000 cd570000 0 0 0 0000204 norm[CVQ ktrace c0373e14][SLP] ktrace 0 c0342a60 c0442000 0 0 0 0000200 norm[SLPQ sched c0342a60][SLP] swapper And then later: panic: vm_fault: fault on nofault entry, addr: c847f000 cpuid = 0; lapic.id = 00000000 Debugger("panic") Stopped at Debugger+0x55: xchgl %ebx,in_Debugger.0 db> call boot boot() called on cpu#0 syncing disks, buffers remaining... panic: bremfree: bp 0xc75c0b00 not locked cpuid = 0; lapic.id = 00000000 boot() called on cpu#0 Uptime: 3m6s pfs_vncache_unload(): 1 entries remaining Automatic reboot in 15 seconds - press a key on the console to abort [brane-dead] ~ # dumpfs /dev/ad0s1a |head -20 magic 11954 (UFS1) time Tue Feb 18 06:30:41 2003 id [ 3cefb4a1 43ff6e5f ] ncg 13 size 262144 blocks 246407 bsize 4096 shift 12 mask 0xfffff000 fsize 512 shift 9 mask 0xfffffe00 frag 8 shift 3 fsbtodb 0 minfree 8% optim time symlinklen 60 maxbpg 1024 maxcontig 31 contigsumsize 16 nbfree 8719 ndir 91 nifree 58892 nffree 305 cpg 5 bpg 2560 fpg 20480 ipg 4736 nindir 1024 inopb 32 nspf 1 maxfilesize 4402345721855 sbsize 1536 cgsize 4096 cgoffset 4096 cgmask 0xffffffff csaddr 1240 cssize 512 rotdelay 0ms rps 60 trackskew 0 interleave 1 nsect 4096 npsect 4096 spc 4096 sblkno 32 cblkno 48 iblkno 56 dblkno 1240 cgrotor 11 fmod 0 ronly 0 clean 0 flags none fsmnt / volname swuid 0 [brane-dead] ~ # dumpfs /dev/ad0s1e |head -20 magic 11954 (UFS1) time Tue Feb 18 07:22:42 2003 id [ 3cefb637 7162c7e5 ] ncg 26 size 524288 blocks 492847 bsize 4096 shift 12 mask 0xfffff000 fsize 512 shift 9 mask 0xfffffe00 frag 8 shift 3 fsbtodb 0 minfree 8% optim time symlinklen 60 maxbpg 1024 maxcontig 31 contigsumsize 16 nbfree 52817 ndir 140 nifree 122445 nffree 447 cpg 5 bpg 2560 fpg 20480 ipg 4736 nindir 1024 inopb 32 nspf 1 maxfilesize 4402345721855 sbsize 1536 cgsize 4096 cgoffset 4096 cgmask 0xffffffff csaddr 1240 cssize 512 rotdelay 0ms rps 60 trackskew 0 interleave 1 nsect 4096 npsect 4096 spc 4096 sblkno 32 cblkno 48 iblkno 56 dblkno 1240 cgrotor 20 fmod 0 ronly 0 clean 0 flags soft-updates fsmnt /var volname swuid 0 [brane-dead] ~ # dumpfs /dev/ad0s1f |head -20 magic 11954 (UFS1) time Mon Feb 17 23:31:25 2003 id [ 3cefb63d 36bb1905 ] ncg 205 size 4194520 blocks 3943561 bsize 4096 shift 12 mask 0xfffff000 fsize 512 shift 9 mask 0xfffffe00 frag 8 shift 3 fsbtodb 0 minfree 8% optim time symlinklen 60 maxbpg 1024 maxcontig 31 contigsumsize 16 nbfree 166950 ndir 19663 nifree 835330 nffree 59884 cpg 5 bpg 2560 fpg 20480 ipg 4800 nindir 1024 inopb 32 nspf 1 maxfilesize 4402345721855 sbsize 1536 cgsize 4096 cgoffset 4096 cgmask 0xffffffff csaddr 1256 cssize 3584 rotdelay 0ms rps 60 trackskew 0 interleave 1 nsect 4096 npsect 4096 spc 4096 sblkno 32 cblkno 48 iblkno 56 dblkno 1256 cgrotor 107 fmod 0 ronly 0 clean 0 flags soft-updates fsmnt /usr volname swuid 0 [brane-dead] ~ # dumpfs /dev/ad0s1g |head -20 magic 11954 (UFS1) time Tue Feb 18 07:11:31 2003 id [ 3cefb660 7978123 ] ncg 154 size 3145728 blocks 2957195 bsize 4096 shift 12 mask 0xfffff000 fsize 512 shift 9 mask 0xfffffe00 frag 8 shift 3 fsbtodb 0 minfree 8% optim time symlinklen 60 maxbpg 1024 maxcontig 31 contigsumsize 16 nbfree 297834 ndir 4114 nifree 714759 nffree 57614 cpg 5 bpg 2560 fpg 20480 ipg 4800 nindir 1024 inopb 32 nspf 1 maxfilesize 4402345721855 sbsize 1536 cgsize 4096 cgoffset 4096 cgmask 0xffffffff csaddr 1256 cssize 2560 rotdelay 0ms rps 60 trackskew 0 interleave 1 nsect 4096 npsect 4096 spc 4096 sblkno 32 cblkno 48 iblkno 56 dblkno 1256 cgrotor 62 fmod 0 ronly 0 clean 0 flags soft-updates fsmnt /web-cache volname swuid 0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1719.1045547201>