Panic attaching iPod mini

Florian C. Smeets flo at kasimir.com
Tue Mar 22 07:57:22 PST 2005


Hi,

until recently i was able to plugin my iPod mini so that it would load 
the battery, it does not create the da* devices but thats another story. 
Now when i attach my iPod mini to the usb port i get this panic:

root at bsdix [~] 8 >kgdb /usr/obj/usr/src/sys/BSDIX/kernel.debug 
/usr/crash/vmcore.68
[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".
#0  doadump () at pcpu.h:164
164     pcpu.h: No such file or directory.
         in pcpu.h
(kgdb) where
#0  doadump () at pcpu.h:164
#1  0xc0474235 in db_fncall (dummy1=0, dummy2=0, dummy3=1999, 
dummy4=0xcbfefa04 "Àÿ\177À")
     at /usr/src/sys/ddb/db_command.c:531
#2  0xc0473fc2 in db_command (last_cmdp=0xc07ff6c4, cmd_table=0x0, 
aux_cmd_tablep=0xc07c426c,
     aux_cmd_tablep_end=0xc07c4270) at /usr/src/sys/ddb/db_command.c:349
#3  0xc04740d5 in db_command_loop () at /usr/src/sys/ddb/db_command.c:455
#4  0xc0476215 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:221
#5  0xc0585e47 in kdb_trap (type=0, code=0, tf=0xcbfefb5c) at 
/usr/src/sys/kern/subr_kdb.c:421
#6  0xc074a4e8 in trap (frame=
       {tf_fs = 24, tf_es = -1065025520, tf_ds = -872546288, tf_edi = 
-1065013748, tf_esi = 0, tf_ebp = -872481884, tf_isp = -872481912, 
tf_ebx = -1, tf_edx = 1, tf_ecx = -1056878592, tf_eax = 25, tf_trapno = 
3, tf_err = 0, tf_eip = -1067951296, tf_cs = 8, tf_eflags = 524950, 
tf_esp = -1065745295, tf_ss = -1065949962}) at 
/usr/src/sys/i386/i386/trap.c:573
#7  0xc07379ca in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#8  0x00000018 in ?? ()
#9  0xc0850010 in w_locklistdata ()
#10 0xcbfe0010 in ?? ()
#11 0xc0852e0c in w_locklistdata ()
#12 0x00000000 in ?? ()
#13 0xcbfefba4 in ?? ()
#14 0xcbfefb88 in ?? ()
#15 0xffffffff in ?? ()
#16 0x00000001 in ?? ()
#17 0xc1015000 in ?? ()
#18 0x00000019 in ?? ()
#19 0x00000003 in ?? ()
#20 0x00000000 in ?? ()
#21 0xc0585b40 in kdb_enter (msg=0x0) at cpufunc.h:60
#22 0xc05928f4 in witness_warn (flags=5, lock=0x0,
     fmt=0xc07b5cad "malloc(M_WAITOK) of \"%s\", forcing M_NOWAIT")
     at /usr/src/sys/kern/subr_witness.c:1225
#23 0xc06df045 in uma_zalloc_arg (zone=0xc1045720, udata=0x0, flags=2)
     at /usr/src/sys/vm/uma_core.c:1810
#24 0xc055b7c6 in malloc (size=608, type=0xc07d5100, flags=2) at uma.h:276
#25 0xc05020be in umass_cam_rescan (addr=0xc17a1e00) at 
/usr/src/sys/dev/usb/umass.c:2239
#26 0xc0575beb in softclock (dummy=0x0) at 
/usr/src/sys/kern/kern_timeout.c:295
#27 0xc054e8e2 in ithread_loop (arg=0xc14fb480) at 
/usr/src/sys/kern/kern_intr.c:546
#28 0xc054d906 in fork_exit (callout=0xc054e770 <ithread_loop>, arg=0x0, 
frame=0x0)
     at /usr/src/sys/kern/kern_fork.c:790
#29 0xc0737a2c in fork_trampoline () at 
/usr/src/sys/i386/i386/exception.s:208
(kgdb)

Kernel is
FreeBSD bsdix.materna-com.de 6.0-CURRENT FreeBSD 6.0-CURRENT #281: Tue 
Mar 22 00:18:05 CET 2005 
root at bsdix.materna-com.de:/usr/obj/usr/src/sys/BSDIX  i386

with sources cvsuped little before.	

The iPod is connected to a uhci controller:

uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xdce0-0xdcff irq 
11 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
uhci0: LegSup = 0x0000
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0

I hope i did not miss any useful information, and the information 
provided is useful at all...

Cheers,
Florian


More information about the freebsd-usb mailing list