Date: Sun, 12 Oct 2008 04:24:20 +0200 From: "barbara" <barbara.xxx1975@libero.it> To: "green_tiger" <green_tiger@comcast.net>, "freebsd-stable" <freebsd-stable@FreeBSD.org> Cc: freebsd-stable <freebsd-stable@FreeBSD.org>, green_tiger <green_tiger@comcast.net> Subject: Re: 6.4-PRELEASE sporadically panicking with fatal trap 12 Message-ID: <K8LTCK$F3DFBAADE7508676C1158C547E70F727@libero.it>
next in thread | raw e-mail | index | archive | help
> > barbara wrote: > > > Hello, > > > I'm running 6.4-PRELEASE, last built on 2008-10-05 with /usr/src up= dated on the same day. > > > I had a panic that looks to me very similiar to the one described h= ere (hence the subject): > > > http://lists.freebsd.org/pipermail/freebsd-stable/2008-September/04= 5405.html > > > > > > What caught my curiosity is the message: > > > > > > Unread portion of the kernel message buffer: > > > > > > acd0: WARNING - TEST_UNIT_READY read data overrun 18>0 > > > > > > kernel trap 12 with interrupts disabled > > > > > > I don't have atapicam built in the kernel and it wasn't loaded, and= I'm pretty sure no media was inserted in my dvdrw unit since the last bo= ot. > > > The other report has a similar message too (acd1: WARNING - READ_TO= C read data overrun 18>12) > > > > > > > > > Here's the backtrace: > > > > > Interesting. I ran 6.3 for a bit before I changed over to 7.0. Neit= her > > 6.3 or 7.0 exhibited this problem. > > > > I'm at 7.1 prerelease #4 now, and I'm using Fluxbox instead of Gnome.= > > The system has been up six days with no problems. I'll probably try > > using Gnome again after 7.1 release is out. There's also a patch to = ATA > > that I might try. Or possibly I'll just wait for 7.1. :-) > > > > Obviously I was confused when I wrote about atapicam, in fact the messa= ge is about acd0. > Anyway I'm sure that no media was inserted during the whole uptime. > I'm running both 6 and 7 stable and I've never seen this before too. > > Few minutes ago, while cron was running, the system froze for a couple = of minutes and the these lines was added to /var/log/messages: > > acd0: WARNING - PREVENT_ALLOW taskqueue timeout - completing request d= irectly > acd0: WARNING - PREVENT_ALLOW freeing taskqueue zombie request > > and again, no media was inserted. > The only change I did in the last days was enabling powerd, I have no i= dea if this could be related. > Here's another one, but it looks different. Having no clue, I've restored the not enabled state of powerd for the mom= ent. # kgdb kernel.debug /var/crash/vmcore.3 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 conditi= ons. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for detail= s. This GDB was configured as "i386-marcel-freebsd"... Unread portion of the kernel message buffer: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0xca0a9228 fault code =3D supervisor read, page not present instruction pointer =3D 0x20:0xc055d136 stack pointer =3D 0x28:0xe58f8c68 frame pointer =3D 0x28:0xe58f8ca8 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D resume, IOPL =3D 0 current process =3D 12 (swi4: clock sio) trap number =3D 12 panic: page fault cpuid =3D 0 Uptime: 5h19m51s Physical memory: 2031 MB Dumping 282 MB: 267 (CTRL-C to abort) 251 235 219 203 187 (CTRL-C to abo= rt) 171 155 139 123 107 91 75 59 43 27 11 (CTRL-C to abort) Reading symbols from /boot/kernel/linux.ko...done. Loaded symbols for /boot/kernel/linux.ko Reading symbols from /boot/modules/nvidia.ko...done. Loaded symbols for /boot/modules/nvidia.ko Reading symbols from /boot/kernel/acpi.ko...done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /boot/kernel/linprocfs.ko...done. Loaded symbols for /boot/kernel/linprocfs.ko Reading symbols from /boot/kernel/logo_saver.ko...done. Loaded symbols for /boot/kernel/logo_saver.ko #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td)); (kgdb) bt full #0 doadump () at pcpu.h:165 No locals. #1 0xc054d419 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c= :410 first_buf_printf =3D 1 #2 0xc054d7e6 in panic (fmt=3D0xc0736da9 "%s") at /usr/src/sys/kern/kern= _shutdown.c:566 td =3D (struct thread *) 0xc6bea900 bootopt =3D 260 newpanic =3D 0 ap =3D 0xc6bea900 "`\230=9F=C6\200=DD=9F=C6" buf =3D "page fault", '\0' <repeats 245 times> #3 0xc071822c in trap_fatal (frame=3D0xe58f8c28, eva=3D0) at /usr/src/sy= s/i386/i386/trap.c:838 code =3D 40 ss =3D 40 esp =3D 0 type =3D 12 softseg =3D {ssd_base =3D 0, ssd_limit =3D 1048575, ssd_type =3D 27, ssd= _dpl =3D 0, ssd_p =3D 1, ssd_xx =3D 0, ssd_xx1 =3D 0, ssd_def32 =3D 1, ssd_gran =3D 1} msg =3D 0x0 #4 0xc07178e4 in trap (frame=3D {tf_fs =3D 8, tf_es =3D 40, tf_ds =3D 40, tf_edi =3D -960218240, tf= _esi =3D 4, tf_ebp =3D -443577176, tf_isp =3D -443577260, tf_ebx =3D 0, t= f_edx =3D -624430808, tf_ecx =3D -905276896, tf_eax =3D 19190235, tf_trap= no =3D 12, tf_err =3D 0, tf_eip =3D -1068117706, tf_cs =3D 32, tf_eflags = =3D 65538, tf_esp =3D 2, tf_ss =3D -1068092317}) at /usr/src/sys/i386/i38= 6/trap.c:270 td =3D (struct thread *) 0xc6bea900 p =3D (struct proc *) 0xc6be9860 sticks =3D 3851390008 type =3D 12 i =3D 0 ucode =3D 0 code =3D 0 eva =3D 3389690408 #5 0xc06ffaaa in calltrap () at /usr/src/sys/i386/i386/exception.s:139 No locals. #6 0xc055d136 in softclock (dummy=3D0x0) at /usr/src/sys/kern/kern_timeo= ut.c:203 c =3D (struct callout *) 0xca0a9220 bucket =3D (struct callout_tailq *) 0xdac7f128 curticks =3D 19190235 steps =3D 0 depth =3D 1 mpcalls =3D 0 mtxcalls =3D 0 gcalls =3D 0 #7 0xc052fbcb in ithread_execute_handlers (p=3D0xc6be9860, ie=3D0xc6c43b= 80) at /usr/src/sys/kern/kern_intr.c:682 ih =3D (struct intr_handler *) 0xc6c40dc0 ihn =3D (struct intr_handler *) 0xc6dc6400 #8 0xc052fd27 in ithread_loop (arg=3D0xc6bc68b0) at /usr/src/sys/kern/ke= rn_intr.c:766 intr_event =3D (struct intr_thread *) 0xc6bc68b0 ie =3D (struct intr_event *) 0xc6c43b80 td =3D (struct thread *) 0xc6bea900 p =3D (struct proc *) 0xc6be9860 #9 0xc052e4b0 in fork_exit (callout=3D0xc052fcc0 <ithread_loop>, arg=3D0= x124d1db, frame=3D0x124d1db) at /usr/src/sys/kern/kern_fork.c:788 p =3D (struct proc *) 0xc6be9860 td =3D (struct thread *) 0xdac7f128 #10 0xc06ffb0c in fork_trampoline () at /usr/src/sys/i386/i386/exception.= s:208 No locals. (kgdb) up 6 #6 0xc055d136 in softclock (dummy=3D0x0) at /usr/src/sys/kern/kern_timeo= ut.c:203 203 if (c->c_time !=3D curticks) { (kgdb) (kgdb) list 198 curticks =3D softticks; 199 bucket =3D &callwheel[curticks & callwheelmask]; 200 c =3D TAILQ_FIRST(bucket); 201 while (c) { 202 depth++; 203 if (c->c_time !=3D curticks) { 204 c =3D TAILQ_NEXT(c, c_links.tqe); 205 ++steps; 206 if (steps >=3D MAX_SOFTCLOCK_STEPS) { 207 nextsoftcheck =3D c; (kgdb) (kgdb) thread apply all bt Thread 192 (Thread 100131): #0 sched_switch (td=3D0xc6dd3900, newtd=3D0xc6dd3a80, flags=3D1) at /usr= /src/sys/kern/sched_4bsd.c:959 #1 0xc0555eef in mi_switch (flags=3D1, newtd=3D0x0) at /usr/src/sys/kern= /kern_synch.c:420 #2 0xc0573ff9 in sleepq_switch (wchan=3D0x0) at /usr/src/sys/kern/subr_s= leepqueue.c:464 #3 0xc05741a1 in sleepq_wait_sig (wchan=3D0xc6dc5010) at /usr/src/sys/ke= rn/subr_sleepqueue.c:560 #4 0xc055592e in msleep (ident=3D0xc6dc5010, mtx=3D0x0, priority=3D345, = wmesg=3D0x0, timo=3D0) at /usr/src/sys/kern/kern_synch.c:209 #5 0xc058aeb9 in ttysleep (tp=3D0xc6dc5000, chan=3D0x0, pri=3D0, wmesg=3D= 0x0, timo=3D0) at /usr/src/sys/kern/tty.c:2786 #6 0xc0589348 in ttread (tp=3D0xc6dc5000, uio=3D0xe7444cb0, flag=3D0) at= /usr/src/sys/kern/tty.c:1888 #7 0xc058e55e in ptsread (dev=3D0x0, uio=3D0x0, flag=3D0) at linedisc.h:= 100 #8 0xc05155ef in giant_read (dev=3D0xc7e05600, uio=3D0x0, ioflag=3D0) at= /usr/src/sys/kern/kern_conf.c:346 #9 0xc04ea669 in devfs_read_f (fp=3D0xc73b1048, uio=3D0xe7444cb0, cred=3D= 0xc76d0500, flags=3D0, td=3D0xc6dd3900) at /usr/src/sys/fs/devfs/devfs_vnops.c:872 #10 0xc0578f0c in dofileread (td=3D0xc6dd3900, fd=3D0, fp=3D0xc73b1048, a= uio=3D0xe7444cb0, offset=3DUnhandled dwarf expression opcode 0x93 ) at file.h:241 #11 0xc0578d20 in kern_readv (td=3D0xc6dd3900, fd=3D3, auio=3D0x0) at /us= r/src/sys/kern/sys_generic.c:192 #12 0xc0578bdf in read (td=3D0x0, uap=3D0x0) at /usr/src/sys/kern/sys_gen= eric.c:116 #13 0xc0718633 in syscall (frame=3D {tf_fs =3D 59, tf_es =3D 59, tf_ds =3D 59, tf_edi =3D 134596408, tf= _esi =3D -1077941969, tf_ebp =3D -1077941992, tf_isp =3D -414954140, tf_e= bx =3D 126, tf_edx =3D 0, tf_ecx =3D 0, tf_eax =3D 3, tf_trapno =3D 22, t= f_err =3D 2, tf_eip =3D 672829719, tf_cs =3D 51, tf_eflags =3D 646, tf_es= p =3D -1077942036, tf_ss =3D 59}) at /usr/src/sys/i386/i386/trap.c:984 #14 0xc06ffaff in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception= .s:200 #15 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) 165 __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td)); (kgdb) quit
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?K8LTCK$F3DFBAADE7508676C1158C547E70F727>