panic inserting CF card.

From: masta <masta_at_wifibsd.org>
Date: Thu, 27 Nov 2003 21:17:47 -0600 (CST)
I'm able to reproduce a panic on demand. I simply insert my IBM Microdrive
CF card into the PCM/CIA slot of the laptop, which is a Dell CPi, and
panic! I build a kernel.debug in the hope somebody can help me analyze the
back-trace.

Oh by the way, the sources from this backtrace are from 11/27/2003, and
inserting the CF card used to be functional in early November. I have no
begun the process of targeting various dates/time to find when
functionality was lost.


# uname -a
FreeBSD buda 5.2-BETA FreeBSD 5.2-BETA #0: Thu Nov 27 05:10:53 CST 2003   
 root_at_buda:/usr/src/sys/i386/compile/TUNED  i386

# gdb -k /sys/i386/compile/ESC[KTUNED/kernel.debug vmcore.0

GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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-undermydesk-freebsd"...
panic: from debugger
panic messages:
---
Fatal trap 18: integer divide fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer	= 0x8:0xc06be43b
stack pointer	        = 0x10:0xc8f51a8c
frame pointer	        = 0x10:0xc8f51b0c
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		= 7 (cbb1)
panic: from debugger
cpuid = 0;


Fatal trap 3: breakpoint instruction fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer	= 0x8:0xc0697e95
stack pointer	        = 0x10:0xc8f51840
frame pointer	        = 0x10:0xc8f5184c
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= IOPL = 0
current process		= 7 (cbb1)


Fatal trap 18: integer divide fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer	= 0x8:0xc06be43b
stack pointer	        = 0x10:0xc8f51a8c
frame pointer	        = 0x10:0xc8f51b0c
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		= 7 (cbb1)


Fatal trap 18: integer divide fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer	= 0x8:0xc06be43b
stack pointer	        = 0x10:0xc8f51a8c
frame pointer	        = 0x10:0xc8f51b0c
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		= 7 (cbb1)


Fatal trap 18: integer divide fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer	= 0x8:0xc06be43b
stack pointer	        = 0x10:0xc8f51a8c
frame pointer	        = 0x10:0xc8f51b0c
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		= 7 (cbb1)


Fatal trap 18: integer divide fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer	= 0x8:0xc06be43b
stack pointer	        = 0x10:0xc8f51a8c
frame pointer	        = 0x10:0xc8f51b0c
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		= 7 (cbb1)


Fatal trap 18: integer divide fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer	= 0x8:0xc06be43b
stack pointer	        = 0x10:0xc8f51a8c
frame pointer	        = 0x10:0xc8f51b0c
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		= 7 (cbb1)


Fatal trap 18: integer divide fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer	= 0x8:0xc06be43b
stack pointer	        = 0x10:0xc8f51a8c
frame pointer	        = 0x10:0xc8f51b0c
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		= 7 (cbb1)


Fatal trap 18: integer divide fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer	= 0x8:0xc06be43b
stack pointer	        = 0x10:0xc8f51a8c
frame pointer	        = 0x10:0xc8f51b0c
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		= 7 (cbb1)
panic: from debugger
cpuid = 0;
Uptime: 8m56s
Dumping 127 MB
 16 32 48 64 80 96 112
---
Reading symbols from
/usr/src/sys/i386/compile/TUNED/modules/usr/src/sys/modules/vesa/vesa.ko.debug...done.
Loaded symbols for
/usr/src/sys/i386/compile/TUNED/modules/usr/src/sys/modules/vesa/vesa.ko.debug
Reading symbols from
/usr/src/sys/i386/compile/TUNED/modules/usr/src/sys/modules/usb/usb.ko.debug...done.
Loaded symbols for
/usr/src/sys/i386/compile/TUNED/modules/usr/src/sys/modules/usb/usb.ko.debug
Reading symbols from /boot/kernel/dragon_saver.ko...done.
Loaded symbols for /boot/kernel/dragon_saver.ko
Reading symbols from
/usr/src/sys/i386/compile/TUNED/modules/usr/src/sys/modules/linux/linux.ko.debug...done.
Loaded symbols for
/usr/src/sys/i386/compile/TUNED/modules/usr/src/sys/modules/linux/linux.ko.debug
#0  doadump () at ../../../kern/kern_shutdown.c:240
240		dumping++;
(kgdb) where
#0  doadump () at ../../../kern/kern_shutdown.c:240
#1  0xc051773b in boot (howto=260) at ../../../kern/kern_shutdown.c:372
#2  0xc0517b3d in panic () at ../../../kern/kern_shutdown.c:550
#3  0xc0432482 in db_panic () at ../../../ddb/db_command.c:450
#4  0xc04323e2 in db_command (last_cmdp=0xc074bb40, cmd_table=0x0,
aux_cmd_tablep=0xc07027c8, aux_cmd_tablep_end=0xc07027cc)
    at ../../../ddb/db_command.c:346
#5  0xc0432525 in db_command_loop () at ../../../ddb/db_command.c:472
#6  0xc0435525 in db_trap (type=18, code=0) at ../../../ddb/db_trap.c:73
#7  0xc0697b8c in kdb_trap (type=18, code=0, regs=0xc8f51a4c) at
../../../i386/i386/db_interface.c:171
#8  0xc06adeb6 in trap_fatal (frame=0xc8f51a4c, eva=0) at
../../../i386/i386/trap.c:816
#9  0xc06ad8f2 in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 1, tf_esi = 0, tf_ebp
= -923460852, tf_isp = -923461000, tf_ebx = 32, tf_edx = 0, tf_ecx =
0, tf_eax = 1, tf_trapno = 18, tf_err = 0, tf_eip = -1066671045,
tf_cs = 8, tf_eflags = 66118, tf_esp = -1066055744, tf_ss = 1}) at
../../../i386/i386/trap.c:618
#10 0xc06995d8 in calltrap () at {standard input}:94
#11 0xc06be8de in __udivdi3 (a=0, b=0) at ../../../libkern/udivdi3.c:51
#12 0xc044ac53 in ad_print (adp=0x0) at ../../../dev/ata/ata-disk.c:384
#13 0xc044a3fb in ad_attach (atadev=0xc243d4a4) at
../../../dev/ata/ata-disk.c:162
#14 0xc0435e99 in ata_attach (dev=0x0) at ../../../dev/ata/ata-all.c:165
#15 0xc04752f5 in pccard_compat_do_attach (bus=0xc13a6b00, dev=0xc243d400)
at card_if.h:120
#16 0xc043c927 in pccard_compat_attach (dev=0xc243d400) at card_if.h:138
#17 0xc052fdf9 in device_probe_and_attach (dev=0xc243d400) at device_if.h:39
#18 0xc0473fa8 in pccard_attach_card (dev=0xc13a6b00) at
../../../dev/pccard/pccard.c:262
#19 0xc04628c8 in exca_insert (exca=0xc138d204) at card_if.h:66
#20 0xc047c4f3 in cbb_insert (sc=0xc138d204) at
../../../dev/pccbb/pccbb.c:1078
#21 0xc047c30b in cbb_event_thread (arg=0xc138d200) at
../../../dev/pccbb/pccbb.c:1028
#22 0xc0502b84 in fork_exit (callout=0xc047c1d0 <cbb_event_thread>,
arg=0x0, frame=0x0) at ../../../kern/kern_fork.c:793
(kgdb) q


Please advise, thanks.



 __  __           _
|  \/  | __ _ ___| |_ __ _
| |\/| |/ _` / __| __/ _` |
| |  | | (_| \__ \ || (_| |
|_|  |_|\__,_|___/\__\__,_|

unzip ; strip ; touch ; finger ; mount ; fsck ; more ; yes ; umount ; sleep


masta_at_wifibsd.org
http://wifibsd.org
Received on Thu Nov 27 2003 - 18:18:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:31 UTC