mount_msdos panic

Sascha Wildner saw at online.de
Wed May 12 10:50:58 PDT 2004


Hi folks,

I was fumbling around with my digital camera attached to DFly via USB 
when at one point I typed:

$ mount_msdos /dev/da0c /mnt

This resulted in a panic (see attached file). Please tell me what 
information you need. The dump looks not very helpful.

I should add, I get all sorts of error messages on the console when I 
attach the device:

May 12 19:29:13 unack /kernel: uhub0: device problem, disabling port 1
May 12 19:29:14 unack /kernel: umass0: ZORAN COACH DSC, rev 1.00/1.00, 
addr 2
May 12 19:29:14 unack /kernel: umass0: Get Max Lun not supported (STALLED)
May 12 19:29:14 unack /kernel: umass0:0:0:-1: Attached to scbus0
May 12 19:29:14 unack /kernel: usb_block_allocmem: in interrupt context, 
size=4096
May 12 19:29:14 unack /kernel: usb_block_allocmem: in interrupt context, 
failed
May 12 19:29:14 unack /kernel: usb_block_allocmem: in interrupt context, 
size=4096
May 12 19:29:14 unack /kernel: usb_block_allocmem: in interrupt context, 
failed
May 12 19:29:19 unack /kernel: umass0: BBB reset failed, TIMEOUT
May 12 19:29:24 unack /kernel: umass0: BBB bulk-in clear stall failed, 
TIMEOUT
May 12 19:29:29 unack /kernel: umass0: BBB bulk-out clear stall failed, 
TIMEOUT
May 12 19:29:29 unack /kernel: usb_block_allocmem: in interrupt context, 
size=4096
May 12 19:29:29 unack /kernel: usb_block_allocmem: in interrupt context, 
failed
May 12 19:29:34 unack /kernel: umass0: BBB reset failed, TIMEOUT
May 12 19:29:39 unack /kernel: umass0: BBB bulk-in clear stall failed, 
TIMEOUT
May 12 19:29:44 unack /kernel: umass0: BBB bulk-out clear stall failed, 
TIMEOUT
May 12 19:29:44 unack /kernel: usb_block_allocmem: in interrupt context, 
size=4096
May 12 19:29:44 unack /kernel: usb_block_allocmem: in interrupt context, 
failed

Regards,
Sascha
--
http://yoyodyne.ath.cx
GNU gdb 4.18 (FreeBSD)
Copyright 1998 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-unknown-dragonfly"...
1 cpu [ff800000,32768]
IdlePTD at phsyical address 0x004ca000
PCB @0038f500 EIP=c019f64e ESP=caa983bc EBP=caa983c8
initial pcb at physical address 0x0038f500
panicstr: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0x0
stack pointer	        = 0x10:0xcaa985d0
frame pointer	        = 0x10:0xcaa985e0
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		= 656 (mount_msdos)
current thread          = pri 6 
interrupt mask		= none
sc0: sc_switch_scr() 1 switch done


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc02caa00
stack pointer	        = 0x10:0xcaa98434
frame pointer	        = 0x10:0xcaa98438
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		= 656 (mount_msdos)
current thread          = pri 6 
interrupt mask		= none
panic: from debugger


Fatal trap 3: breakpoint instruction fault while in kernel mode
instruction pointer	= 0x8:0xc02cac44
stack pointer	        = 0x10:0xcaa983e4
frame pointer	        = 0x10:0xcaa983ec
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= IOPL = 0
current process		= 656 (mount_msdos)
current thread          = pri 6 
interrupt mask		= none


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc02caa00
stack pointer	        = 0x10:0xcaa98434
frame pointer	        = 0x10:0xcaa98438
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= resume, IOPL = 0
current process		= 656 (mount_msdos)
current thread          = pri 6 
interrupt mask		= none
panic: from debugger
sc0: sc_switch_scr() 1 switch done (new == old)
Uptime: 5m33s

dumping to dev #ad/0x20001, offset 262272
dump ata0: resetting devices .. ata0: mask=03 ostat0=50 ostat2=50
acd0: ATAPI 14 eb
ad0: ATAPI 00 00
ata0: mask=03 stat0=50 stat1=00
ad0: ATA 01 a5
ata0: devices=09
ad0: success setting PIO4 on generic chip
acd0: success setting PIO4 on generic chip
done
127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 
---
#0  dumpsys () at /usr/s/src/sys/kern/kern_shutdown.c:500
500		if (dumping++) {
(kgdb) bt
#0  dumpsys () at /usr/s/src/sys/kern/kern_shutdown.c:500
#1  0xc019f443 in boot (howto=260) at /usr/s/src/sys/kern/kern_shutdown.c:333
#2  0xc019f874 in poweroff_wait (junk=0xc02faa8a, howto=-894860100) at /usr/s/src/sys/kern/kern_shutdown.c:612
#3  0xc0150f51 in db_panic (addr=0, have_addr=0, count=1, modif=0xcaa98444 "") at /usr/s/src/sys/ddb/db_command.c:450
#4  0xc0150eef in db_command (last_cmdp=0xc0343ec4, cmd_table=0xc0343ce4, aux_cmd_tablep=0xc033d1e4, 
    aux_cmd_tablep_end=0xc033d1e8) at /usr/s/src/sys/ddb/db_command.c:346
#5  0xc0150fbb in db_command_loop () at /usr/s/src/sys/ddb/db_command.c:472
#6  0xc0153579 in db_trap (type=12, code=0) at /usr/s/src/sys/ddb/db_trap.c:72
#7  0xc02ca90e in kdb_trap (type=12, code=0, regs=0xcaa98590) at /usr/s/src/sys/i386/i386/db_interface.c:161
#8  0xc02d9672 in trap_fatal (frame=0xcaa98590, eva=0) at /usr/s/src/sys/i386/i386/trap.c:1087
#9  0xc02d92a1 in trap_pfault (frame=0xcaa98590, usermode=0, eva=0) at /usr/s/src/sys/i386/i386/trap.c:981
#10 0xc02d8f98 in trap (frame={tf_fs = 1414463512, tf_es = -894894064, tf_ds = -905379824, tf_edi = -894859568, 
      tf_esi = -974047488, tf_ebp = -894859808, tf_isp = -894859844, tf_ebx = -894859784, tf_edx = -980266512, 
      tf_ecx = -980266344, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = 0, tf_cs = 8, tf_eflags = 66050, 
      tf_esp = -1072021774, tf_ss = -973858920}) at /usr/s/src/sys/i386/i386/trap.c:561
#11 0x0 in ?? ()
(kgdb) q




More information about the Bugs mailing list