panic's on KDE-launches (but only in WPA Wifi area) / kern/122331

John Baldwin jhb at freebsd.org
Mon Sep 15 20:49:49 UTC 2008


On Monday 15 September 2008 03:48:53 pm Matthias Apitz wrote:
> El día Monday, September 15, 2008 a las 02:48:05PM -0400, John Baldwin 
escribió:
> 
> > > #0  doadump () at pcpu.h:195
> > > 195     pcpu.h: No such file or directory.
> > >         in pcpu.h
> > > (kgdb) bt
> > > #0  doadump () at pcpu.h:195
> > > #1  0xc0754457 in boot (howto=260) 
at /usr/src/sys/kern/kern_shutdown.c:409
> > > #2  0xc0754719 in panic (fmt=Variable "fmt" is not available.) 
> > at /usr/src/sys/kern/kern_shutdown.c:563
> > > #3  0xc0a4905c in trap_fatal (frame=0xe6960a8c, eva=12) 
> > at /usr/src/sys/i386/i386/trap.c:899
> > > #4  0xc0a492e0 in trap_pfault (frame=0xe6960a8c, usermode=0, eva=12)
> > >     at /usr/src/sys/i386/i386/trap.c:812
> > > #5  0xc0a49c8c in trap (frame=0xe6960a8c) 
> > at /usr/src/sys/i386/i386/trap.c:490
> > > #6  0xc0a2fc0b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
> > > #7  0xc0788b98 in kern_select (td=0xc49d5630, nd=9, fd_in=0x298ad840, 
> > fd_ou=0x298ad9c4, 
> > >     fd_ex=0x298adb48, tvp=0x0) at filedesc.h:136
> > > #8  0xc07890de in select (td=0xc49d5630, uap=0xe6960cfc) 
> > at /usr/src/sys/kern/sys_generic.c:663
> > > #9  0xc0a49635 in syscall (frame=0xe6960d38) 
> > at /usr/src/sys/i386/i386/trap.c:1035
> > > #10 0xc0a2fc70 in Xint0x80_syscall () 
> > at /usr/src/sys/i386/i386/exception.s:196
> > > #11 0x00000033 in ?? ()
> > > Previous frame inner to this frame (corrupt stack?)
> > > (kgdb) 
> > > 
> 	...
> > Can you go to frame 7 in kgdb and 'p *fdp'?
> 
> (kgdb) frame 7
> #7  0xc0788b98 in kern_select (td=0xc49d5630, nd=9, fd_in=0x298ad840, 
>     fd_ou=0x298ad9c4, fd_ex=0x298adb48, tvp=0x0) at filedesc.h:136
> 		return (fd < 0 || fd >= fdp->fd_nfiles ? NULL : fdp->fd_ofiles[fd]);
> (kgdb) p *fdp
> Variable "fdp" is not available.
> (kgdb) 

If 'td' is available then you can do 'p *td->td_proc->p_fd'

-- 
John Baldwin


More information about the freebsd-net mailing list