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



On Monday 15 September 2008 06:24:14 pm Matthias Apitz wrote:
El día Monday, September 15, 2008 a las 04:08:06PM -0400, John Baldwin
escribió:

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'

(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
136 return (fd < 0 || fd >= fdp->fd_nfiles ? NULL :
fdp->fd_ofiles[fd]);
(kgdb) p td
$7 = (struct thread *) 0xc49d5630
(kgdb) p *td->td_proc->p_fd
$8 = {fd_ofiles = 0x0, fd_ofileflags = 0x0, fd_cdir = 0x0,

Well, fd_ofiles being NULL here is really odd. It's also odd that you have no
current directory. Because fd_nfiles is 20, fd_ofiles should be pointing to
the static file descriptor array. Off the top of my head I don't see how
this is happening. It might help if you can narrow down exactly what WPA
operation you are doing that causes the panic.

--
John Baldwin
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • [Fwd: Re: 6-STABLE filesystem related panics/locks (kgdb output)]
    ... On one of our NFS servers, we've seen repeated filesystem issues with two of the filesystems. ... This morning, prior to rebooting the system to get it out of this state, I began unmounting filesystems in case of a panic, and after unmounting two of the filesystems, I tried unmounting the third, and a panic ensued. ... Here's some kgdb output from when the system was wedged on /scr01, but the unmount of /scr02 caused a panic: ... #13 0xc0896c0b in syscall (frame= ...
    (freebsd-current)
  • Repeatable crash with mkdir causing a divide by zero error
    ... I have seen some problems with a new file system that I created yesterday in that I could repeatedly get the system to crash in with a mkdir. ... GNU gdb 6.1.1 ... #11 0xffffffff803f7151 in syscall (frame= ...
    (freebsd-stable)
  • Re: Repeatable crash with mkdir causing a divide by zero error
    ... mkdir /compere/images ... GNU gdb 6.1.1 ... #11 0xffffffff803f7151 in syscall (frame= ...
    (freebsd-stable)
  • Re: SCTP
    ... I am now trying to get kgdb to build.. ... I do have MAC enabled (no policy ... #0 doadump at pcpu.h:166 ... Previous frame inner to this frame ...
    (freebsd-net)
  • watchdogd_flags followed by panic watchdog timeout, after reboot my rc.conf disappear
    ... I restarted watchdogd deamon at once. ... # kgdb kernel.debug /var/crash/vmcore.0 ... GDB is free software, covered by the GNU General Public License, and you are ... Previous frame inner to this frame ...
    (freebsd-stable)