Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jul 2005 14:29:24 +0200
From:      Christian Brueffer <chris@unixpages.org>
To:        freebsd-usb@freebsd.org
Subject:   Panic with external hard drive
Message-ID:  <20050723122923.GE882@unixpages.org>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi,

when I plug my external disk in via USB 2.0 and power it up afterwards
I get the following panic.  When I power it up first and plug it in
afterwards, everything works.

The machine runs a 7.0-CURRENT from today.

Dump and debug kernel are available for further debugging.

(kgdb) bt
#0  doadump () at pcpu.h:165
#1  0xc048e096 in db_fncall (dummy1=0, dummy2=0, dummy3=1999,
dummy4=0xd5684598 "À\035\205À\022")
    at /usr/src/sys/ddb/db_command.c:489
#2  0xc048de12 in db_command (last_cmdp=0xc08514c4, cmd_table=0x0,
aux_cmd_tablep=0xc080fa90, 
    aux_cmd_tablep_end=0xc080fa94) at /usr/src/sys/ddb/db_command.c:349
#3  0xc048df25 in db_command_loop () at
/usr/src/sys/ddb/db_command.c:455
#4  0xc0490095 in db_trap (type=18, code=0) at
/usr/src/sys/ddb/db_main.c:221
#5  0xc05bfb77 in kdb_trap (type=0, code=0, tf=0xd5684728) at
/usr/src/sys/kern/subr_kdb.c:473
#6  0xc0797f9b in trap_fatal (frame=0xd5684728, eva=0) at
/usr/src/sys/i386/i386/trap.c:832
#7  0xc0797a32 in trap (frame=
      {tf_fs = -714604536, tf_es = -1068367832, tf_ds = -1045823448,
tf_edi = 1, tf_esi = -557797922, tf_ebp = -714586132, tf_isp =
-714586284, tf_ebx = -557797921, tf_edx = 0, tf_ecx = 0, tf_eax = 1,
B
tf_trapno = 18, tf_err = 0, tf_eip = -1065714213, tf_cs = 32, tf_eflags
= 66118, tf_esp = -1068343691, tf_ss = -1045773312}) at
/usr/src/sys/i386/i386/trap.c:639
#8  0xc078865a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#9  0xd5680008 in ?? ()
#10 0xc0520028 in sndstat_prepare (s=0x1) at
/usr/src/sys/dev/sound/pcm/sndstat.c:324
#11 0xc07a826e in __udivdi3 (a=Unhandled dwarf expression opcode 0x93
) at /usr/src/sys/libkern/udivdi3.c:47
#12 0xc0444455 in cam_calc_geometry (ccg=0xd56848b8, extended=1) at
/usr/src/sys/cam/cam.c:376
#13 0xc0538792 in umass_cam_action (sim=0xc1fc0d40, ccb=0xd56848b8)
    at /usr/src/sys/dev/usb/umass.c:2582
#14 0xc044950e in xpt_action (start_ccb=0xd56848b8) at
/usr/src/sys/cam/cam_xpt.c:3094
#15 0xc0457030 in dasetgeom (periph=0x0, block_len=0,
maxsector=16051020244679962078)
    at /usr/src/sys/cam/scsi/scsi_da.c:1777
#16 0xc0456708 in dadone (periph=0xc1fcc480, done_ccb=0xc1be8400)
    at /usr/src/sys/cam/scsi/scsi_da.c:1431
#17 0xc044db8f in camisr (V_queue=0xc1be8400) at
/usr/src/sys/cam/cam_xpt.c:7108
#18 0xc0587642 in ithread_loop (arg=0xc1987b80) at
/usr/src/sys/kern/kern_intr.c:545
#19 0xc0586681 in fork_exit (callout=0xc05874e0 <ithread_loop>, arg=0x0,
frame=0x0)
    at /usr/src/sys/kern/kern_fork.c:789
#20 0xc07886bc in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:208

- Christian

-- 
Christian Brueffer	chris@unixpages.org	brueffer@FreeBSD.org
GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFC4jgjbHYXjKDtmC0RAsMVAJ9okBOE8lUAPuQfT+BFAsVnFJBXWACfRz7+
8N8QHhOxIGFHUwzjgF0R4po=
=j/c1
-----END PGP SIGNATURE-----

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