Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2008 04:40:03 GMT
From:      Matthias Apitz <matthias.apitz@oclc.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/122331: [wpa] [panic] 7.0-RELEASE &amp; &amp; panic in Wifi area with WPA mode (not in WEP mode)
Message-ID:  <200809160440.m8G4e3HP016005@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/122331; it has been noted by GNATS.

From: Matthias Apitz <matthias.apitz@oclc.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/122331: [wpa] [panic] 7.0-RELEASE &amp;&amp; panic in Wifi area with WPA mode (not in WEP mode)
Date: Tue, 16 Sep 2008 06:33:47 +0200

 > 
 > 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,
   fd_rdir = 0xc42f3a00, fd_jdir = 0x0, fd_nfiles = 20, fd_map =
 0xc49db8b4,
   fd_lastfile = 9, fd_freefile = 10, fd_cmask = 18, fd_refcnt = 1,
   fd_holdcnt = 1, fd_sx = {lock_object = {
       lo_name = 0xc0ad3cbe "filedesc structure",
       lo_type = 0xc0ad3cbe "filedesc structure", lo_flags = 37421056,
       lo_witness_data = {lod_list = {stqe_next = 0x0}, lod_witness =
 0x0}},
     sx_lock = 17, sx_recurse = 0}, fd_kqlist = {slh_first = 0x0},
   fd_holdleaderscount = 0, fd_holdleaderswakeup = 0}
 (kgdb)
 
         matthias
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809160440.m8G4e3HP016005>