Date: Mon, 9 Apr 2007 01:20:01 +0900 From: Norikatsu Shigemura <nork@FreeBSD.org> To: current@FreeBSD.org Subject: linux sg panic on 7-current Message-ID: <20070409012001.adeb61b8.nork@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
I have a new issue of linux sg, new cam feature. So I kgdb-ed, but I have no idea to fix this issue. Please see also following result. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xc fault code = supervisor write, page not present instruction pointer = 0x20:0xc09589bb stack pointer = 0x28:0xfc795b60 frame pointer = 0x28:0xfc795b98 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1333 (hald-probe-storage) [thread pid 1333 tid 100163 ] Stopped at sgread+0xab: movl $0x1,0xc(%ebx) db> bt Tracing pid 1333 tid 100163 td 0xc5b27cb0 sgread(c53a2f00,fc795c60,0,c6b85048,fc795c60,...) at sgread+0xab giant_read(c53a2f00,fc795c60,0,c00,c53a2f00,...) at giant_read+0x6a devfs_read_f(c6b85048,fc795c60,c4d37080,0,c5b27cb0,...) at devfs_read_f+0x7c dofileread(c5b27cb0,4,c6b85048,fc795c60,ffffffff,...) at dofileread+0xa7 kern_readv(c5b27cb0,4,fc795c60,4112a00c,bf4,...) at kern_readv+0x60 read(c5b27cb0,fc795d00,c,6,c,...) at read+0x4f syscall(fc795d38) at syscall+0x363 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (3, FreeBSD ELF32, read), eip = 0x404922d7, esp = 0xbfbfe64c, ebp = 0xbfbfe6b8 --- db> call doadump Physical memory: 2039 MB Dumping 96 MB: 81 65 49 33 17 1 Dump complete = 0xf db> reset - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # cd /usr/obj/usr/src/sys/NADESICO # kgdb -n 2 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] 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 conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". Ready to go. Enter 'tr' to connect to the remote target with /dev/cuad0, 'tr /dev/cuad1' to connect to a different port or 'trf portno' to connect to the remote target with the firewire interface. portno defaults to 5556. Type 'getsyms' after connection to load kld symbols. If you're debugging a local system, you can use 'kldsyms' instead to load the kld symbols. That's a less obnoxious interface. During symbol reading, debug info gives macro definition outside of any file: __STDC_VERSION__ 199901L. During symbol reading, no terminating 0-type entry for macros in `.debug_macinfo' section. During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xc fault code = supervisor write, page not present instruction pointer = 0x20:0xc09589bb stack pointer = 0x28:0xfc795b60 frame pointer = 0x28:0xfc795b98 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1333 (hald-probe-storage) Physical memory: 2039 MB Dumping 96 MB: 81 65 49 33 17 1 #0 doadump () at pcpu.h:172 172 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) getsyms During symbol reading, Incomplete CFI data; unspecified registers at 0xc04a66a3. Id Refs Address Size Name 1 52 0xc0400000 3c1e5c kernel 2 1 0xc07c2000 44ec nullfs.ko 3 1 0xc07c7000 61fc geom_label.ko 4 1 0xc07ce000 6f44 geom_md.ko 5 2 0xc07d5000 27440 linux.ko 6 3 0xc07fd000 4914 sysvmsg.ko 7 3 0xc0802000 6384 sysvsem.ko 8 2 0xc0809000 4b84 sysvshm.ko 9 1 0xc080e000 5844 if_tap.ko 10 1 0xc0814000 b504 snd_maestro3.ko 11 2 0xc0820000 42274 sound.ko 12 2 0xc0863000 245d0 usb.ko 13 1 0xc0888000 400c ums.ko 14 1 0xc088d000 1799c agp.ko 15 1 0xc08a5000 c2e4 random.ko 16 6 0xc08b2000 e90c ata.ko 17 1 0xc08c1000 22960 atapci.ko 18 1 0xc08e4000 3bb0 atadisk.ko 19 1 0xc08e8000 7ef4 atapicd.ko 20 1 0xc08f0000 3b94 atapifd.ko 21 1 0xc08f4000 4cc8 atapist.ko 22 1 0xc08f9000 1d30 io.ko 23 1 0xc08fb000 4d60 mem.ko 24 1 0xc0900000 4584 if_fwe.ko 25 4 0xc0905000 15b6c firewire.ko 26 1 0xc091b000 11674 sym.ko 27 3 0xc092d000 4150c cam.ko 28 1 0xc096f000 a678 sbp.ko 29 1 0xc097a000 2df0 dcons_crom.ko 30 1 0xc097d000 a9c4 hifn.ko 31 1 0xc0988000 68640 acpi.ko 32 2 0xc573c000 6000 procfs.ko 33 2 0xc5747000 6000 pseudofs.ko 34 1 0xc57a2000 7000 linprocfs.ko 35 1 0xc57b2000 a5000 zfs.ko 36 1 0xc6876000 36000 nfsclient.ko 37 1 0xc69ee000 1f000 nfsserver.ko 38 1 0xc6b33000 8000 aio.ko 39 1 0xc6b46000 1d000 kqemu.ko Select the list above with the mouse, paste into the screen and then press ^D. Yes, this is annoying. 1 52 0xc0400000 3c1e5c kernel 2 1 0xc07c2000 44ec nullfs.ko 3 1 0xc07c7000 61fc geom_label.ko 4 1 0xc07ce000 6f44 geom_md.ko 5 2 0xc07d5000 27440 linux.ko 6 3 0xc07fd000 4914 sysvmsg.ko 7 3 0xc0802000 6384 sysvsem.ko 8 2 0xc0809000 4b84 sysvshm.ko 9 1 0xc080e000 5844 if_tap.ko 10 1 0xc0814000 b504 snd_maestro3.ko 11 2 0xc0820000 42274 sound.ko 12 2 0xc0863000 245d0 usb.ko 13 1 0xc0888000 400c ums.ko 14 1 0xc088d000 1799c agp.ko 15 1 0xc08a5000 c2e4 random.ko 16 6 0xc08b2000 e90c ata.ko 17 1 0xc08c1000 22960 atapci.ko 18 1 0xc08e4000 3bb0 atadisk.ko 19 1 0xc08e8000 7ef4 atapicd.ko 20 1 0xc08f0000 3b94 atapifd.ko 21 1 0xc08f4000 4cc8 atapist.ko 22 1 0xc08f9000 1d30 io.ko 23 1 0xc08fb000 4d60 mem.ko 24 1 0xc0900000 4584 if_fwe.ko 25 4 0xc0905000 15b6c firewire.ko 26 1 0xc091b000 11674 sym.ko 27 3 0xc092d000 4150c cam.ko 28 1 0xc096f000 a678 sbp.ko 29 1 0xc097a000 2df0 dcons_crom.ko 30 1 0xc097d000 a9c4 hifn.ko 31 1 0xc0988000 68640 acpi.ko 32 2 0xc573c000 6000 procfs.ko 33 2 0xc5747000 6000 pseudofs.ko 34 1 0xc57a2000 7000 linprocfs.ko 35 1 0xc57b2000 a5000 zfs.ko 36 1 0xc6876000 36000 nfsclient.ko 37 1 0xc69ee000 1f000 nfsserver.ko 38 1 0xc6b33000 8000 aio.ko 39 1 0xc6b46000 1d000 kqemu.ko add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/acpi/acpi/acpi.ko.debug" at .text_addr = 0xc0999800 .data_addr = 0xc09da220 .bss_addr = 0xc09dca00 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/agp/agp.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc0892840 .data_addr = 0xc08a0260 .bss_addr = 0xc08a0f78 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/aio/aio.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc6b359d0 .data_addr = 0xc6b3a000 .bss_addr = 0xc6b3aa40 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/ata/ata/ata.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc08b6160 .data_addr = 0xc08beb60 .bss_addr = 0xc08beed8 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/ata/atapci/atapci.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc08c8ea0 .data_addr = 0xc08df000 .bss_addr = 0xc08e09b4 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/ata/atadisk/atadisk.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc08e4f90 .data_addr = 0xc08e6da0 .bss_addr = 0xc08e6f58 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/ata/atapicd/atapicd.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc08e9cb0 .data_addr = 0xc08eede0 .bss_addr = 0xc08eefe8 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/ata/atapifd/atapifd.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc08f0f10 .data_addr = 0xc08f2da0 .bss_addr = 0xc08f2f58 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/ata/atapist/atapist.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc08f5330 .data_addr = 0xc08f7cc0 .bss_addr = 0xc08f7ee8 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/cam/cam.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc0939d00 .data_addr = 0xc0964120 .bss_addr = 0xc0967440 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/dcons_crom/dcons_crom.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc097ab80 .data_addr = 0xc097c100 .bss_addr = 0xc097c278 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/firewire/firewire/firewire.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc0908a00 .data_addr = 0xc0917000 .bss_addr = 0xc0917d10 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/firewire/fwe/if_fwe.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc0901130 .data_addr = 0xc09030c0 .bss_addr = 0xc0903408 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/firewire/sbp/sbp.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc09717b0 .data_addr = 0xc0977000 .bss_addr = 0xc09775bc add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/geom/geom_label/geom_label.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc07c8b10 .data_addr = 0xc07cc340 .bss_addr = 0xc07cc510 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/hifn/hifn.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc097f560 .data_addr = 0xc09862a0 .bss_addr = 0xc0986560 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/if_tap/if_tap.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc080fc10 .data_addr = 0xc0812000 .bss_addr = 0xc0812428 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/io/io.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc08f95f0 .data_addr = 0xc08fa740 .bss_addr = 0xc08fa868 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/linprocfs/linprocfs.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc57a4610 .data_addr = 0xc57a8ca0 .bss_addr = 0xc57a8f44 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/linux/linux.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc07dddb0 .data_addr = 0xc07f3000 .bss_addr = 0xc07f577c add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/md/geom_md.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc07cfdc0 .data_addr = 0xc07d3940 .bss_addr = 0xc07d3be8 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/mem/mem.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc08fbff0 .data_addr = 0xc08feaa0 .bss_addr = 0xc08fed50 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/nfsclient/nfsclient.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc68806d0 .data_addr = 0xc68a9760 .bss_addr = 0xc68aadc0 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/nfsserver/nfsserver.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc69f2be0 .data_addr = 0xc6a07140 .bss_addr = 0xc6a07740 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/nullfs/nullfs.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc07c3420 .data_addr = 0xc07c5000 .bss_addr = 0xc07c5390 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/procfs/procfs.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc573dcb0 .data_addr = 0xc5741500 .bss_addr = 0xc574185c add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/pseudofs/pseudofs.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc5748be0 .data_addr = 0xc574c740 .bss_addr = 0xc574cb18 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/random/random.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc08a6ee0 .data_addr = 0xc08af000 .bss_addr = 0xc08af280 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/sound/sound/sound.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc082f000 .data_addr = 0xc08501a0 .bss_addr = 0xc0856640 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/sound/driver/maestro3/snd_maestro3.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc0815d80 .data_addr = 0xc081d0a0 .bss_addr = 0xc081df7c add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/sym/sym.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc091cde0 .data_addr = 0xc0929000 .bss_addr = 0xc092af24 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/sysvipc/sysvmsg/sysvmsg.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc07fe440 .data_addr = 0xc0800000 .bss_addr = 0xc0800588 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/sysvipc/sysvsem/sysvsem.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc08037b0 .data_addr = 0xc0806900 .bss_addr = 0xc0806f24 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/sysvipc/sysvshm/sysvshm.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc080a4a0 .data_addr = 0xc080c000 .bss_addr = 0xc080c5cc add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/ums/ums.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc0888f80 .data_addr = 0xc088b360 .bss_addr = 0xc088b508 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/usb/usb.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc0868670 .data_addr = 0xc0880000 .bss_addr = 0xc0880da0 add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/zfs/zfs.ko.debug" at During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. .text_addr = 0xc57c57b0 .data_addr = 0xc5849200 .bss_addr = 0xc584b920 (kgdb) bt #0 doadump () at pcpu.h:172 During symbol reading, Incomplete CFI data; unspecified registers at 0xc04a66a3. During symbol reading, debug info gives macro definition outside of any file: __STDC_VERSION__ 199901L. During symbol reading, no terminating 0-type entry for macros in `.debug_macinfo' section. #1 0xc0435f3a in db_fncall (dummy1=0x0, dummy2=0x0, dummy3=0x7cf, dummy4=0xfc795904 "") at /usr/src/sys/ddb/db_command.c:486 #2 0xc0435ce0 in db_command (last_cmdp=0xc0707b04, cmd_table=0x0) at /usr/src/sys/ddb/db_command.c:401 #3 0xc0435dc5 in db_command_loop () at /usr/src/sys/ddb/db_command.c:453 #4 0xc0438055 in db_trap (type=0xc, code=0x0) at /usr/src/sys/ddb/db_main.c:222 #5 0xc04d045f in kdb_trap (type=0x0, code=0x0, tf=0xfc795b20) at /usr/src/sys/kern/subr_kdb.c:502 #6 0xc069462c in trap_fatal (frame=0xfc795b20, eva=0xc) at /usr/src/sys/i386/i386/trap.c:867 #7 0xc06942d5 in trap_pfault (frame=0xfc795b20, usermode=0x0, eva=0xc) at /usr/src/sys/i386/i386/trap.c:785 #8 0xc0693e4c in trap (frame=0xfc795b20) at /usr/src/sys/i386/i386/trap.c:462 #9 0xc067b54b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #10 0xc09589bb in sgread (dev=0xc55c3c00, uio=0xfc795c60, ioflag=0x0) at /usr/src/sys/modules/cam/../../cam/scsi/scsi_sg.c:807 #11 0xc047171a in giant_read (dev=0xc53a2f00, uio=0xc55c3c00, ioflag=0xc55c3c00) at /usr/src/sys/kern/kern_conf.c:318 #12 0xc0457d3c in devfs_read_f (fp=0xc6b85048, uio=0xfc795c60, cred=0xc4d37080, flags=0x0, td=0xc5b27cb0) at /usr/src/sys/fs/devfs/devfs_vnops.c:873 #13 0xc04dd637 in dofileread (td=0xc5b27cb0, fd=0xc55c3c00, fp=0xc6b85048, auio=0xfc795c60, offset=Unhandled dwarf expression opcode 0x93 ) at file.h:242 #14 0xc04dd430 in kern_readv (td=0xc5b27cb0, fd=0x4, auio=0xc55c3c00) at /usr/src/sys/kern/sys_generic.c:180 #15 0xc04dd2ef in read (td=0xc55c3c00, uap=0x0) at /usr/src/sys/kern/sys_generic.c:110 #16 0xc0694a73 in syscall (frame=0xfc795d38) at /usr/src/sys/i386/i386/trap.c:1016 #17 0xc067b5b0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196 #18 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) list *sgread+0xab During symbol reading, symtab found for `pcpu.h', but that file is not covered in the compilation unit's macro information. 0xc09589bb is in sgread (/usr/src/sys/modules/cam/../../cam/scsi/scsi_sg.c:812). 807 TAILQ_FOREACH(rdwr, &sc->rdwr_done, rdwr_link) { 808 if (rdwr->tag == pack_id) 809 break; 810 } 811 if ((rdwr == NULL) || (rdwr->state != SG_RDWR_DONE)) { 812 rdwr->state = SG_RDWR_WAITING; 813 if (tsleep(rdwr, PCATCH, "sgread", 0) == ERESTART) 814 return (EAGAIN); 815 goto search; 816 } (kgdb) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070409012001.adeb61b8.nork>