Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2002 12:06:02 +0100
From:      "Jose M. Alcaide" <jose@we.lc.ehu.es>
To:        mobile@FreeBSD.org
Subject:   panic upon insertion of modem pccard (NEWCARD)
Message-ID:  <20020301120602.A229@v-ger.we.lc.ehu.es>

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

[-- Attachment #1 --]
Whenever I insert a modem PCMCIA cards (Xircom Realport Modem V3), I get
an instant panic. There are no problems with ethernet pccards.

I send attached the log of a kernel debugging session and dmesg(8) output.

  Cheers,
  JMA
-- 
****** Jose M. Alcaide  //  jose@we.lc.ehu.es  //  jmas@FreeBSD.org ******
** "Beware of Programmers who carry screwdrivers" --  Leonard Brandwein **

[-- Attachment #2 --]
IdlePTD at phsyical address 0x003a1000
initial pcb at physical address 0x002af7e0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xd1be4000
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0138450
stack pointer           = 0x10:0xd006da18
frame pointer           = 0x10:0xd006dc0c
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         = 2 (pccbb0)
trap number             = 12
panic: page fault

syncing disks... 
done
Uptime: 29s
pfs_vncache_unload(): 1 entries remaining

dumping to dev ad0s1b, offset 655656
dump ata0: resetting devices .. done
319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 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/src/sys/kern/kern_shutdown.c:504
504             if (!dodump)
(kgdb) where
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:504
#1  0xc0173120 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:336
#2  0xc01735a9 in panic (fmt=0xc0275fbe "%s")
    at /usr/src/sys/kern/kern_shutdown.c:646
#3  0xc0240786 in trap_fatal (frame=0xd006d9d8, eva=3518906368)
    at /usr/src/sys/i386/i386/trap.c:848
#4  0xc02404d1 in trap_pfault (frame=0xd006d9d8, usermode=0, eva=3518906368)
    at /usr/src/sys/i386/i386/trap.c:762
#5  0xc023ff9b in trap (frame={tf_fs = -1060962280, tf_es = -804913136, 
      tf_ds = -1072496624, tf_edi = 0, tf_esi = -1031972096, 
      tf_ebp = -804856820, tf_isp = -804857340, tf_ebx = -1031023104, 
      tf_edx = -776065024, tf_ecx = -817575936, tf_eax = 4096, tf_trapno = 12, 
      tf_err = 0, tf_eip = -1072462768, tf_cs = 8, tf_eflags = 66050, 
      tf_esp = -1032101336, tf_ss = -1031972096})
    at /usr/src/sys/i386/i386/trap.c:430
#6  0xc0138450 in pccard_scan_cis (dev=0xc27d5280, 
    fct=0xc0139294 <pccard_parse_cis_tuple>, arg=0xd006dc20)
    at machine/bus_at386.h:202
#7  0xc01382da in pccard_read_cis (sc=0xc0c32600)
    at /usr/src/sys/dev/pccard/pccard_cis.c:98
#8  0xc013678d in pccard_attach_card (dev=0xc27d5280)
    at /usr/src/sys/dev/pccard/pccard.c:146
#9  0xc013d22a in pccbb_insert (sc=0xc0c32800) at card_if.h:67
#10 0xc013d085 in pccbb_event_thread (arg=0xc0c32800)
    at /usr/src/sys/dev/pccbb/pccbb.c:867
#11 0xc01634fe in fork_exit (callout=0xc013cfd0 <pccbb_event_thread>, 
    arg=0xc0c32800, frame=0xd006dd48) at /usr/src/sys/kern/kern_fork.c:799
(kgdb) up 5
#5  0xc023ff9b in trap (frame={tf_fs = -1060962280, tf_es = -804913136, 
      tf_ds = -1072496624, tf_edi = 0, tf_esi = -1031972096, 
      tf_ebp = -804856820, tf_isp = -804857340, tf_ebx = -1031023104, 
      tf_edx = -776065024, tf_ecx = -817575936, tf_eax = 4096, tf_trapno = 12, 
      tf_err = 0, tf_eip = -1072462768, tf_cs = 8, tf_eflags = 66050, 
      tf_esp = -1032101336, tf_ss = -1031972096})
    at /usr/src/sys/i386/i386/trap.c:430
430				(void) trap_pfault(&frame, FALSE, eva);
(kgdb) frame frame->tf_ebp frame->tf_eip
#0  pccard_scan_cis (dev=0xc27d5280, fct=0xc0139294 <pccard_parse_cis_tuple>, 
    arg=0xd006dc20) at machine/bus_at386.h:205
205             return (*(volatile u_int8_t *)(handle + offset));
(kgdb) list
200             if (tag == I386_BUS_SPACE_IO)
201     #endif
202                     return (inb(handle + offset));
203     #endif
204     #if defined (_I386_BUS_MEMIO_H_)
205             return (*(volatile u_int8_t *)(handle + offset));
206     #endif
207     }
208
209     static __inline u_int16_t


[-- Attachment #3 --]
Copyright (c) 1992-2002 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.0-CURRENT #6: Mon Feb 25 16:51:14 CET 2002
    toor@defiant.we.lc.ehu.es:/usr/obj/usr/src/sys/V-GER
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0387000.
Preloaded elf module "/boot/kernel/snd_maestro.ko" at 0xc03870a8.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0387158.
Preloaded elf module "/boot/kernel/if_xe.ko" at 0xc0387204.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc03872b0.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 431382117 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (431.38-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 335392768 (327532K bytes)
avail memory = 322228224 (314676K bytes)
Pentium Pro MTRR support enabled
Using $PIR table, 6 entries at 0xc00fbd20
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL   CPi R  > on motherboard
ACPI timer looks BAD  min = 1, max = 7, width = 7
ACPI timer looks BAD  min = 1, max = 16777215, width = 16777215
ACPI timer looks BAD  min = 2, max = 6, width = 5
ACPI timer looks BAD  min = 2, max = 16777213, width = 16777212
ACPI timer looks BAD  min = 1, max = 16777215, width = 16777215
ACPI timer looks BAD  min = 1, max = 7, width = 7
ACPI timer looks BAD  min = 2, max = 16777213, width = 16777212
ACPI timer looks BAD  min = 1, max = 6, width = 6
ACPI timer looks BAD  min = 1, max = 7, width = 7
ACPI timer looks BAD  min = 2, max = 16777211, width = 16777210
Timecounter "ACPI-safe"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
acpi_acad0: <AC adapter> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_cmbat1: <Control method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_pcib0: <Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <PCI bus> on acpi_pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pccbb0: <TI1225 PCI-CardBus Bridge> at device 3.0 on pci0
cardbus0: <CardBus bus> on pccbb0
pccard0: <16-bit PCCard bus> on pccbb0
acpi_pcib0: device is routed to IRQ 11
pccbb1: <TI1225 PCI-CardBus Bridge> at device 3.1 on pci0
cardbus1: <CardBus bus> on pccbb1
pccard1: <16-bit PCCard bus> on pccbb1
acpi_pcib0: device is routed to IRQ 11
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x860-0x86f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, USB> at device 7.2 (no driver attached)
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pcm0: <ESS Technology Maestro-2E> port 0xd800-0xd8ff irq 5 at device 8.0 on pci0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
fdc0: <enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 on acpi0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x280-0x287,0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
sc: sc0 already exists; skipping it
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
xe0: <Xircom CreditCard 10/100 Ethernet> at port 0x100-0x10f irq 11 function 0 config 1 on pccard0
xe0: Xircom CE3, bonding version 0x45, 100Mbps capable
xe0: DingoID = 0x444b, RevisionID = 0x1, VendorID = 0
xe0: Ethernet address 00:10:a4:e8:6f:b6
ad0: 9590MB <FUJITSU MHN2100AT> [19485/16/63] at ata0-master UDMA33
acd0: CDROM <TOSHIBA CD-ROM XM-1902B> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s3a
WARNING: / was not properly dismounted
xe0: watchdog timeout; resetting card

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