Date: Sat, 15 Sep 2007 13:47:15 +0200 From: Zahemszky =?ISO-8859-2?Q?G=E1bor?= <Gabor@Zahemszky.HU> To: Weongyo Jeong <weongyo.jeong@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: crash (and the backtrace) in the new if_zyd driver Message-ID: <20070915134715.1abd092d@Picasso.Zahemszky.HU> In-Reply-To: <20070915032507.GA94238@freebsd.weongyo.org> References: <20070908164003.06ffa0dc@Picasso.Zahemszky.HU> <20070915032507.GA94238@freebsd.weongyo.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Sat, 15 Sep 2007 12:25:07 +0900 -n Weongyo Jeong <weongyo.jeong@gmail.com> =C3=ADrta: Hi! Here it is. > I checked your panic in my environment and tried to repeat panic you > encountered, but I failed. Interesting :-( > condition in ehci or zyd. Can you try to build the buildworld and the > buildkernel newly with CURRENT and tell me the result after trying to > up the zyd driver again? The source is csup-ped today morning, after reading your e-mail. (I compiled if_zyd *into* the kernel (and made a module, too). Now, I can 'ifconfig up' the interface without panic. I can ifconfig zyd0 list scan, too, but some seconds later, it panicked. The backtrace is: =3D=3D=3D Picasso# kgdb -q /usr/obj/usr/src/sys/GENERIC/kernel.debug /var/crash/vmcore.1 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 01 fault virtual address =3D 0x34 fault code =3D supervisor read, page not present instruction pointer =3D 0x20:0xc06a0d66 stack pointer =3D 0x28:0xe3d6ea4c frame pointer =3D 0x28:0xe3d6ea74 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 13 (swi4: clock sio) Physical memory: 2009 MB Dumping 75 MB: 60 44 28 12 #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 0xc048cec9 in db_fncall (dummy1=3D-472455052, dummy2=3D0, dummy3=3D582, dummy4=3D0xe3d6e7e0 "p=F1H=C0") at /usr/src/sys/ddb/db_command.c:486 #2 0xc048d435 in db_command_loop () at /usr/src/sys/ddb/db_command.c:401=20 #3 0xc048eba5 in db_trap (type=3D12, code=3D0) at /usr/src/sys/ddb/db_main.c:222=20 #4 0xc0777926 in kdb_trap (type=3D12, code=3D0, tf=3D0xe3d6ea0c) at /usr/src/sys/kern/subr_kdb.c:502=20 #5 0xc0a0431f in trap_fatal (frame=3D0xe3d6ea0c, eva=3D52) at /usr/src/sys/i386/i386/trap.c:863=20 #6 0xc0a04553 in trap_pfault (frame=3D0xe3d6ea0c, usermode=3D0, eva=3D52) at /usr/src/sys/i386/i386/trap.c:785=20 #7 0xc0a04f05 in trap (frame=3D0xe3d6ea0c) at /usr/src/sys/i386/i386/trap.c:463=20 #8 0xc09eaa9b in calltrap () at /usr/src/sys/i386/i386/exception.s:139=20 #9 0xc06a0d66 in ehci_alloc_sqtd (sc=3D0xc519a000) at /usr/src/sys/dev/usb/ehci.c:2281=20 #10 0xc06a33f1 in ehci_device_bulk_start (xfer=3D0xc556dc00) at /usr/src/sys/dev/usb/ehci.c:3032=20 #11 0xc06a35d3 in ehci_device_bulk_transfer (xfer=3D0xc556dc00) at /usr/src/sys/dev/usb/ehci.c:2998=20 #12 0xc06d1fab in usbd_start_transfer (arg=3D0xc556dc00, segs=3D0xc556dc3c, nseg=3D1, error=3D0) at /usr/src/sys/dev/usb/usbdi.c:388=20 #13 0xc06d2545 in usbd_transfer (xfer=3D0xc556dc00) at /usr/src/sys/dev/usb/usbdi.c:320=20 #14 0xc06b88d2 in zyd_start (ifp=3D0xc5630c00) at /usr/src/sys/dev/usb/if_zyd.c:2096=20 #15 0xc07df959 in if_start (ifp=3D0xc5630c00) at /usr/src/sys/net/if.c:2704=20 #16 0xc08104c5 in ieee80211_send_probereq (ni=3D0xc5ac7000, sa=3D0xc5ac5288 "", da=3D0xc0a3aa80 "=FF=FF=FF=FF=FF=FFether_ifattach", bssid=3D0xc0a3aa80 "=FF=FF=FF=FF=FF=FFether_ifattach", ssid=3D0xc0a8ebdb "", ssidlen=3D0, opti= e=3D0x0, optielen=3D0) at /usr/src/sys/net80211/ieee80211_output.c:1540=20 #17 0xc0816e9a in scan_curchan (ic=3D0xc5ac5008, maxdwell=3D200) at /usr/src/sys/net80211/ieee80211_scan.c:664=20 #18 0xc0815ff9 in scan_next (arg=3D0xc55ad000) at /usr/src/sys/net80211/ieee80211_scan.c:753=20 #19 0xc07626e9 in softclock (dummy=3D0x0) at /usr/src/sys/kern/kern_timeout.c:281=20 #20 0xc0735655 in ithread_loop (arg=3D0xc50b24f0) at /usr/src/sys/kern/kern_intr.c:1036=20 #21 0xc0732ad8 in fork_exit (callout=3D0xc07354a0 <ithread_loop>, arg=3D0xc50b24f0, frame=3D0xe3d6ed38) at /usr/src/sys/kern/kern_fork.c:797 #22 0xc09eab10 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205 (kgdb)=20 =3D=3D=3D Bye, Gabor < Gabor at Zahemszky dot HU > --=20 #!/bin/ksh Z=3D'21N16I25C25E30, 40M30E33E25T15U!';IFS=3D' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set -- $Z;for i;{ [[ $i =3D ? ]]&&print $i&&break;[[ $i =3D ??? ]]&&j=3D$i&&i=3D${i%?};typeset -i40 i=3D8#$i;print -n ${i#???};[[ "= $j" =3D ??? ]]&&print -n "${j#??} "&&j=3D;typeset +i i;};IFS=3D' 0123456789 ';s= et -- $Z;for i;{ [[ $i =3D , ]]&&i=3D2;[[ $i =3D ?? ]]||typeset -l i;j=3D"$j $i";typeset +l i;};print "$j"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070915134715.1abd092d>