From owner-freebsd-mobile Fri Mar 1 3: 5:58 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id 0F1CD37B400 for ; Fri, 1 Mar 2002 03:05:47 -0800 (PST) Received: from v-ger.we.lc.ehu.es (v-ger [158.227.6.51]) by polaris.we.lc.ehu.es (8.11.6/8.11.6) with ESMTP id g21B5hj13872 for ; Fri, 1 Mar 2002 12:05:43 +0100 (MET) Received: (from jose@localhost) by v-ger.we.lc.ehu.es (8.11.6/8.11.6) id g21B62s01257 for mobile@FreeBSD.org; Fri, 1 Mar 2002 12:06:02 +0100 (CET) (envelope-from jose) Date: Fri, 1 Mar 2002 12:06:02 +0100 From: "Jose M. Alcaide" To: mobile@FreeBSD.org Subject: panic upon insertion of modem pccard (NEWCARD) Message-ID: <20020301120602.A229@v-ger.we.lc.ehu.es> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Operating-System: FreeBSD 4.5-RELEASE Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 ** --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="traza.txt" Content-Transfer-Encoding: quoted-printable 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 =3D 0xd1be4000 fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc0138450 stack pointer =3D 0x10:0xd006da18 frame pointer =3D 0x10:0xd006dc0c code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 2 (pccbb0) trap number =3D 12 panic: page fault syncing disks...=20 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 28= 2 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264 2= 63 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 20= 7 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 1= 88 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 13= 2 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 1= 13 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=20 --- #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=3D256) at /usr/src/sys/kern/kern_shutdown.c:3= 36 #2 0xc01735a9 in panic (fmt=3D0xc0275fbe "%s") at /usr/src/sys/kern/kern_shutdown.c:646 #3 0xc0240786 in trap_fatal (frame=3D0xd006d9d8, eva=3D3518906368) at /usr/src/sys/i386/i386/trap.c:848 #4 0xc02404d1 in trap_pfault (frame=3D0xd006d9d8, usermode=3D0, eva=3D3518= 906368) at /usr/src/sys/i386/i386/trap.c:762 #5 0xc023ff9b in trap (frame=3D{tf_fs =3D -1060962280, tf_es =3D -80491313= 6,=20 tf_ds =3D -1072496624, tf_edi =3D 0, tf_esi =3D -1031972096,=20 tf_ebp =3D -804856820, tf_isp =3D -804857340, tf_ebx =3D -1031023104,= =20 tf_edx =3D -776065024, tf_ecx =3D -817575936, tf_eax =3D 4096, tf_tra= pno =3D 12,=20 tf_err =3D 0, tf_eip =3D -1072462768, tf_cs =3D 8, tf_eflags =3D 6605= 0,=20 tf_esp =3D -1032101336, tf_ss =3D -1031972096}) at /usr/src/sys/i386/i386/trap.c:430 #6 0xc0138450 in pccard_scan_cis (dev=3D0xc27d5280,=20 fct=3D0xc0139294 , arg=3D0xd006dc20) at machine/bus_at386.h:202 #7 0xc01382da in pccard_read_cis (sc=3D0xc0c32600) at /usr/src/sys/dev/pccard/pccard_cis.c:98 #8 0xc013678d in pccard_attach_card (dev=3D0xc27d5280) at /usr/src/sys/dev/pccard/pccard.c:146 #9 0xc013d22a in pccbb_insert (sc=3D0xc0c32800) at card_if.h:67 #10 0xc013d085 in pccbb_event_thread (arg=3D0xc0c32800) at /usr/src/sys/dev/pccbb/pccbb.c:867 #11 0xc01634fe in fork_exit (callout=3D0xc013cfd0 ,=20 arg=3D0xc0c32800, frame=3D0xd006dd48) at /usr/src/sys/kern/kern_fork.c:= 799 (kgdb) up 5 #5 0xc023ff9b in trap (frame=3D{tf_fs =3D -1060962280, tf_es =3D -80491313= 6,=20 tf_ds =3D -1072496624, tf_edi =3D 0, tf_esi =3D -1031972096,=20 tf_ebp =3D -804856820, tf_isp =3D -804857340, tf_ebx =3D -1031023104,= =20 tf_edx =3D -776065024, tf_ecx =3D -817575936, tf_eax =3D 4096, tf_tra= pno =3D 12,=20 tf_err =3D 0, tf_eip =3D -1072462768, tf_cs =3D 8, tf_eflags =3D 6605= 0,=20 tf_esp =3D -1032101336, tf_ss =3D -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=3D0xc27d5280, fct=3D0xc0139294 ,=20 arg=3D0xd006dc20) at machine/bus_at386.h:205 205 return (*(volatile u_int8_t *)(handle + offset)); (kgdb) list 200 if (tag =3D=3D 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 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="boot.out" 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 real memory = 335392768 (327532K bytes) avail memory = 322228224 (314676K bytes) Pentium Pro MTRR support enabled Using $PIR table, 6 entries at 0xc00fbd20 npx0: on motherboard npx0: INT 16 interface acpi0: 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: on acpi0 acpi_tz0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_pcib0: port 0xcf8-0xcff on acpi0 pci0: on acpi_pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pccbb0: at device 3.0 on pci0 cardbus0: on pccbb0 pccard0: <16-bit PCCard bus> on pccbb0 acpi_pcib0: device is routed to IRQ 11 pccbb1: at device 3.1 on pci0 cardbus1: on pccbb1 pccard1: <16-bit PCCard bus> on pccbb1 acpi_pcib0: device is routed to IRQ 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x860-0x86f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) pcm0: port 0xd800-0xd8ff irq 5 at device 8.0 on pci0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 fdc0: 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: