Date: Mon, 12 May 2008 13:38:51 -0700 From: "Steve Franks" <stevefranks@ieee.org> To: "Roland Smith" <rsmith@xs4all.nl>, freebsd-stable@freebsd.org Subject: Re: umass causes panic on 7 amd64 Message-ID: <539c60b90805121338n439c1a62sab5be6f6ea9485ff@mail.gmail.com> In-Reply-To: <20080429214640.GA85715@slackbox.xs4all.nl> References: <539c60b90804111420kcb73e6do8a20dce574d13864@mail.gmail.com> <20080412213225.GB24224@slackbox.xs4all.nl> <539c60b90804141549u6a138ad9u9c77bbfcbbad0ff3@mail.gmail.com> <20080415175347.GA29045@slackbox.xs4all.nl> <539c60b90804291032v4a7e80d0w205354d4bf1be842@mail.gmail.com> <20080429214640.GA85715@slackbox.xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
I have added options USB DEBUG to my kernconf file ("DYSTANT"). Here is the backtrace: Steve [steve@dystant /usr/obj/usr/src/sys/DYSTANT]$ sudo kgdb kernel.debug /var/crash/vmcore.6 [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 "amd64-marcel-freebsd". Unread portion of the kernel message buffer: umass0: <OLYMPUS C-700 Ultra Zoom, class 0/0, rev 1.10/1.00, addr 3> on uhub2 umass0: SCSI over (unknown 0x00); quirks = 0x0100 panic: /usr/src/sys/dev/usb/umass.c:1453: Unknown proto 0x100 cpuid = 0 Uptime: 3m1s Physical memory: 1002 MB Dumping 97 MB: 82 66 50 34 18 2 #0 doadump () at pcpu.h:194 194 __asm __volatile("movq %%gs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:194 #1 0x0000000000000004 in ?? () #2 0xffffffff8049d169 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #3 0xffffffff8049d56d in panic (fmt=0x104 <Address 0x104 out of bounds>) at /usr/src/sys/kern/kern_shutdown.c:563 #4 0xffffffff80412ee7 in umass_attach (self=0xffffff00014ae300) at /usr/src/sys/dev/usb/umass.c:1452 #5 0xffffffff804bf9c4 in device_attach (dev=0xffffff00014ae300) at device_if.h:178 #6 0xffffffff8041b8e1 in usbd_new_device (parent=0xffffff0001246000, bus=0xffffffff80e49000, depth=Variable "depth" is not available. ) at /usr/src/sys/dev/usb/usb_subr.c:932 #7 0xffffffff8040ebb2 in uhub_explore (dev=0xffffff0001245c00) at /usr/src/sys/dev/usb/uhub.c:523 #8 0xffffffff804177da in usb_discover (v=0xffffff000126e680) at /usr/src/sys/dev/usb/usb.c:724 #9 0xffffffff80418990 in usb_event_thread (arg=Variable "arg" is not available. ) at /usr/src/sys/dev/usb/usb.c:440 #10 0xffffffff8047e883 in fork_exit (callout=0xffffffff80418880 <usb_event_thread>, arg=0xffffff000126e680, frame=0xffffffffa035ac80) at /usr/src/sys/kern/kern_fork.c:781 #11 0xffffffff8073b4ae in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:415 #12 0x0000000000000000 in ?? () #13 0x0000000000000000 in ?? () #14 0x0000000000000001 in ?? () #15 0x0000000000000000 in ?? () #16 0x0000000000000000 in ?? () #17 0x0000000000000000 in ?? () #18 0x0000000000000000 in ?? () #19 0x0000000000000000 in ?? () #20 0x0000000000000000 in ?? () #21 0x0000000000000000 in ?? () #22 0x0000000000000000 in ?? () #23 0x0000000000000000 in ?? () #24 0x0000000000000000 in ?? () #25 0x0000000000000000 in ?? () #26 0x0000000000000000 in ?? () #27 0x0000000000000000 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000000000 in ?? () #32 0x0000000000000000 in ?? () #33 0x0000000000000000 in ?? () #34 0x0000000000000000 in ?? () #35 0x0000000000000000 in ?? () #36 0x0000000000dd8000 in ?? () #37 0x0000000000000000 in ?? () #38 0x0000000000000004 in ?? () #39 0xffffff00012788d0 in ?? () #40 0xffffff0001087340 in ?? () #41 0xffffff0001258680 in ?? () #42 0xffffffffa0359c48 in ?? () #43 0xffffff0001258680 in ?? () #44 0xffffffff804bae29 in sched_switch (td=0xffffff000126e680, newtd=0xffffffff80418880, flags=0) at /usr/src/sys/kern/sched_4bsd.c:905 #45 0x0000000000000000 in ?? () #46 0x0000000000000000 in ?? () #47 0x0000000000000000 in ?? () #48 0x0000000000000000 in ?? () #49 0x0000000000000000 in ?? () #50 0x0000000000000000 in ?? () #51 0x0000000000000000 in ?? () #52 0x0000000000000000 in ?? () #53 0x0000000000000000 in ?? () #54 0x0000000000000000 in ?? () #55 0x0000000000000000 in ?? () #56 0x0000000000000000 in ?? () #57 0x0000000000000000 in ?? () #58 0x0000000000000000 in ?? () #59 0x0000000000000000 in ?? () #60 0x0000000000000000 in ?? () #61 0x0000000000000000 in ?? () #62 0x0000000000000000 in ?? () #63 0x0000000000000000 in ?? () #64 0x0000000000000000 in ?? () #65 0x0000000000000000 in ?? () #66 0x0000000000000000 in ?? () #67 0x0000000000000000 in ?? () #68 0x0000000000000000 in ?? () #69 0x0000000000000000 in ?? () #70 0x0000000000000000 in ?? () #71 0x0000000000000000 in ?? () ---Type <return> to continue, or q <return> to quit--- #72 0x0000000000000000 in ?? () #73 0x0000000000000000 in ?? () #74 0x0000000000000000 in ?? () #75 0x0000000000000000 in ?? () #76 0x0000000000000000 in ?? () #77 0x0000000000000000 in ?? () #78 0x0000000000000000 in ?? () #79 0x0000000000000000 in ?? () #80 0x0000000000000000 in ?? () #81 0x0000000000000000 in ?? () #82 0x0000000000000000 in ?? () #83 0x0000000000000000 in ?? () #84 0x0000000000000000 in ?? () #85 0x0000000000000000 in ?? () #86 0x0000000000000000 in ?? () #87 0x0000000000000000 in ?? () #88 0x0000000000000000 in ?? () #89 0x0000000000000000 in ?? () #90 0x0000000000000000 in ?? () #91 0x0000000000000000 in ?? () #92 0x0000000000000000 in ?? () #93 0x0000000000000000 in ?? () #94 0x0000000000000000 in ?? () #95 0x0000000000000000 in ?? () #96 0x0000000000000000 in ?? () #97 0x0000000000000000 in ?? () #98 0x0000000000000000 in ?? () #99 0x0000000000000000 in ?? () #100 0x0000000000000000 in ?? () #101 0x0000000000000000 in ?? () #102 0x0000000000000000 in ?? () #103 0x0000000000000000 in ?? () #104 0x0000000000000000 in ?? () #105 0x0000000000000000 in ?? () #106 0x0000000000000000 in ?? () #107 0x0000000000000000 in ?? () #108 0x0000000000000000 in ?? () #109 0x0000000000000000 in ?? () #110 0x0000000000000000 in ?? () #111 0x0000000000000000 in ?? () #112 0x0000000000000000 in ?? () #113 0x0000000000000000 in ?? () #114 0x0000000000000000 in ?? () #115 0x0000000000000000 in ?? () #116 0x0000000000000000 in ?? () #117 0x01263f4001263f80 in ?? () #118 0x01263ec001263f00 in ?? () #119 0x01263e4001263e80 in ?? () #120 0x01263dc001263e00 in ?? () #121 0x01263d4001263d80 in ?? () #122 0x01263cc001263d00 in ?? () #123 0x01263c4001263c80 in ?? () #124 0x01263bc001263c00 in ?? () #125 0x01263b4001263b80 in ?? () #126 0x01263ac001263b00 in ?? () #127 0x01263a4001263a80 in ?? () #128 0x012639c001263a00 in ?? () #129 0x0126394001263980 in ?? () #130 0x012638c001263900 in ?? () #131 0x0126384001263880 in ?? () #132 0x012637c001263800 in ?? () #133 0x0126374001263780 in ?? () #134 0x012636c001263700 in ?? () #135 0x0126364001263680 in ?? () #136 0x012635c001263600 in ?? () #137 0x0126354001263580 in ?? () #138 0x012634c001263500 in ?? () #139 0x0126344001263480 in ?? () #140 0x012633c001263400 in ?? () #141 0x0126334001263380 in ?? () #142 0x012632c001263300 in ?? () #143 0x0126324001263280 in ?? () #144 0x012631c001263200 in ?? () #145 0x0126314001263180 in ?? () #146 0x012630c001263100 in ?? () ---Type <return> to continue, or q <return> to quit--- #147 0x0126304001263080 in ?? () #148 0x01265fc001263000 in ?? () #149 0x01265f4001265f80 in ?? () #150 0x01265ec001265f00 in ?? () #151 0x01265e4001265e80 in ?? () #152 0x01265dc001265e00 in ?? () #153 0x01265d4001265d80 in ?? () #154 0x01265cc001265d00 in ?? () #155 0x01265c4001265c80 in ?? () #156 0x01265bc001265c00 in ?? () #157 0x01265b4001265b80 in ?? () #158 0x01265ac001265b00 in ?? () #159 0x01265a4001265a80 in ?? () #160 0x012659c001265a00 in ?? () #161 0x0126594001265980 in ?? () #162 0x012658c001265900 in ?? () #163 0x0126584001265880 in ?? () #164 0x012657c001265800 in ?? () #165 0x0126574001265780 in ?? () #166 0x012656c001265700 in ?? () #167 0x0126564001265680 in ?? () #168 0x012655c001265600 in ?? () #169 0x0126554001265580 in ?? () #170 0x012654c001265500 in ?? () #171 0x0126544001265480 in ?? () #172 0x012653c001265400 in ?? () #173 0x0126534001265380 in ?? () #174 0x012652c001265300 in ?? () #175 0x0126524001265280 in ?? () #176 0x012651c001265200 in ?? () #177 0x0126514001265180 in ?? () #178 0x012650c001265100 in ?? () #179 0x0126504001265080 in ?? () #180 0x01267fc001265000 in ?? () #181 0x01263f4001263f80 in ?? () #182 0x01263ec001263f00 in ?? () #183 0x01263e4001263e80 in ?? () #184 0x01263dc001263e00 in ?? () #185 0x01263d4001263d80 in ?? () #186 0x01263cc001263d00 in ?? () #187 0x01263c4001263c80 in ?? () #188 0x01263bc001263c00 in ?? () #189 0x01263b4001263b80 in ?? () #190 0x01263ac001263b00 in ?? () #191 0x01263a4001263a80 in ?? () #192 0x012639c001263a00 in ?? () #193 0x0126394001263980 in ?? () #194 0x012638c001263900 in ?? () #195 0x0126384001263880 in ?? () #196 0x012637c001263800 in ?? () #197 0x0126374001263780 in ?? () #198 0x012636c001263700 in ?? () #199 0x0126364001263680 in ?? () #200 0x012635c001263600 in ?? () #201 0x0126354001263580 in ?? () #202 0x012634c001263500 in ?? () #203 0x0126344001263480 in ?? () #204 0x012633c001263400 in ?? () #205 0x0126334001263380 in ?? () #206 0x012632c001263300 in ?? () #207 0x0126324001263280 in ?? () #208 0x012631c001263200 in ?? () #209 0x0126314001263180 in ?? () #210 0x012630c001263100 in ?? () #211 0x0126304001263080 in ?? () #212 0x01265fc001263000 in ?? () #213 0x01265f4001265f80 in ?? () #214 0x01265ec001265f00 in ?? () #215 0x01265e4001265e80 in ?? () #216 0x01265dc001265e00 in ?? ()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539c60b90805121338n439c1a62sab5be6f6ea9485ff>