CIS reading problems
MarkusNiemistö
markus.niemisto at mobiili.net
Fri May 30 09:25:34 PDT 2003
Hello
I am having problems similiar to Mr Walsh's. I've tracked errors down to
pccard_scan_cis also. Commenting few lines out makes the panic go away
but then FreeBSD doesn't find any functions from my card.
There is my dmesg and bt et co from one panic included in this mail.
I am currently using OLDCARD but if more information is needed, I can
compile my NEWCARD kernel again.
I've sent error report this to current@ but no-one has replied.
Thanks,
Markus Niemistö
PS. I am not on this list, so please CC me.
Begin forwarded message:
Date: Wed, 14 May 2003 20:26:13 +0300
From: Markus Niemistö <markus.niemisto at mobiili.net>
To: current at freebsd.org
Subject: Cardbus causing panics
Hello
Problem is: my laptop has support for 16-bit cardbus (driver pccard in
FreeBSD) and for pcic. Everything works fine as long as I use pcic and
OLDCARD implementation. But when I compile a kernel using NEWCARD,
kernel crashes immediately after I insert a PCMCIA card.
I have two cards: 3Com Etherlink III 3C589 (if_ep) and MultiTech
MultiMobile 56kBps modem (works with generic sio). Both these cards work
fine with OLDCARD but cause panic when used with NEWCARD.
This panic happened when inserting Etherlink III. My kernel is cvsuped
few hours ago.
Thanks,
Markus Niemistö
------------
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".
(kgdb) e symbol-file kernel.debug
Reading symbols from kernel.debug...done.
(kgdb) exec-g file kernel
(kgdb) core-file /usr/vmcore/vmcore.0
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xc6a12000
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc014b2a5
stack pointer = 0x10:0xc66539e4
frame pointer = 0x10:0xc6653be0
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 = 5 (cbb0)
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.1-BETA #20: Wed May 14 19:30:46 EEST 2003
maku at ogorod.dielocalwarez.com:/usr/src/sys/i386/compile/-=DLW=-
Preloaded elf kernel "/boot/kernel/kernel" at 0xc040f000.
Preloaded elf module "/boot/kernel/if_ep.ko" at 0xc040f1cc.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc040f278.
Preloaded elf module "/boot/kernel/snd_mss.ko" at 0xc040f324.
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 166195800 Hz
CPU: Pentium/P55C (166.20-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x544 Stepping = 4
Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory = 84017152 (80 MB)
avail memory = 77168640 (73 MB)
Intel Pentium detected, installing workaround for F00F bug
VESA: v2.0, 2048k memory, flags:0x0, mode table:0xc0371f80 (1000040)
VESA: CHIPS 65554 Super VGA
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 2 entries at 0xc00fdc30
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
cbb0: <ToPIC95B PCI-CardBus Bridge> irq 11 at device 2.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <ToPIC95B PCI-CardBus Bridge> irq 11 at device 2.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pci0: <display, VGA> at device 4.0 (no driver attached)
isa0: <ISA bus> on motherboard
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
pmtimer0 on isa0
ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0
ata1 at port 0x376,0x170-0x177 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
fdc0: <NEC 765 or clone> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0 speaker0: <PC speaker> at port 0x61 on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <TOS7400> can't assign resources (irq)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0600> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
pcm0: <CS423x> at port 0x220-0x22f,0x388-0x38b,0x534-0x537 irq 5 drq 1,0
on isa0 Timecounters tick every 10.000 msec
ad0: 2937MB <TOSHIBA MK3003MAN> [5968/16/63] at ata0-master PIO4
Mounting root from ufs:/dev/ad0s1a
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xc6d13000
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc014b2a5
stack pointer = 0x10:0xc66539e4
frame pointer = 0x10:0xc6653be0
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 = 5 (cbb0)
Dumping 80 MB
ata0: resetting devices ..
done
16 32 48 64 80
---
Reading symbols from /boot/kernel/if_ep.ko...done.
Loaded symbols for /boot/kernel/if_ep.ko
Reading symbols from /boot/kernel/snd_pcm.ko...done.
Loaded symbols for /boot/kernel/snd_pcm.ko
Reading symbols from /boot/kernel/snd_mss.ko...done.
Loaded symbols for /boot/kernel/snd_mss.ko
#0 doadump () at ../../../kern/kern_shutdown.c:238
238 dumping++;
(kgdb) backtrace
#0 doadump () at ../../../kern/kern_shutdown.c:238
#1 0xc012895e in db_fncall (dummy1=0, dummy2=0, dummy3=-966444976,
dummy4=0xc665381c "¶Û(ÀH8eÆ¡¿(À Ý5À\"\t") at
../../../ddb/db_command.c:546
#2 0xc0128772 in db_command (last_cmdp=0xc02e4f00, cmd_table=0x0,
aux_cmd_tablep=0xc02e0350, aux_cmd_tablep_end=0xc02e0354)
at ../../../ddb/db_command.c:346
#3 0xc012883b in db_command_loop () at ../../../ddb/db_command.c:470
#4 0xc012afab in db_trap (type=12, code=0) at ../../../ddb/db_trap.c:72
#5 0xc0295cbf in kdb_trap (type=12, code=0, regs=0xc66539a4)
at ../../../i386/i386/db_interface.c:170
#6 0xc02a509d in trap_fatal (frame=0xc66539a4, eva=3335598080)
at ../../../i386/i386/trap.c:829
#7 0xc02a4dfb in trap_pfault (frame=0xc66539a4, usermode=0,
#eva=3335598080)
at ../../../i386/i386/trap.c:748
#8 0xc02a4a41 in trap (frame=
{tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1062736620, tf_esi
= -966444044, tf_ebp = -966444064, tf_isp = -966444592, tf_ebx =
-1062737408, tf_edx = -959373312, tf_ecx = 0, tf_eax = 4096, tf_trapno =
12, tf_err = 0, tf_eip = -1072385371, tf_cs = 8, tf_eflags = 66050,
tf_esp = -966444416, tf_ss = 1}) at ../../../i386/i386/trap.c:433
#9 0xc02972b8 in calltrap () at {standard input}:96
#10 0xc014b155 in pccard_read_cis (sc=0xc0a7ea00)
at ../../../dev/pccard/pccard_cis.c:98
#11 0xc0149452 in pccard_attach_card (dev=0xc0a6c400)
at ../../../dev/pccard/pccard.c:185
#12 0xc0150fda in CARD_ATTACH_CARD (dev=0xc0a6c400) at card_if.h:67
#13 0xc014f425 in cbb_insert (sc=0xc0a7ec00) at
#../../../dev/pccbb/pccbb.c:925 14 0xc014f2ce in cbb_event_thread
#(arg=0xc0a7ec00)
at ../../../dev/pccbb/pccbb.c:883
#15 0xc01852f8 in fork_exit (callout=0xc014f260 <cbb_event_thread>,
arg=0xc0a7ec00, frame=0xc6653d48) at ../../../kern/kern_fork.c:768
More information about the freebsd-mobile
mailing list