Date: Mon, 21 Jul 2003 20:38:50 -0700 From: Raymond Jimenez <raymond@naru.wsyntax.com> To: freebsd-mobile@freebsd.org Subject: Toshiba Laptop Page Fault in pccard_scan_cis Message-ID: <3F1CB1CA.2020802@naru.wsyntax.com>
next in thread | raw e-mail | index | archive | help
I have an old Toshiba laptop (225 CDS) that's been working fine with PCMCIA cards until I upgraded to -CURRENT. In 4.8-RELEASE, FreeBSD recognized the slots fine, and detected the cards as well. However, in -CURRENT, it doesn't detect the cards or the slots. In 4.8, the cards were in the mode "PCIC-Compatible" in the BIOS. This mode didn't work with -CURRENT, and so I turned it to "CardBus/16-Bit". -CURRENT recognizes the slots, but whenever a card is present on bootup or when one is inserted (after loading the modules) I get the following page fault: shirayuki# kldload cardbus shirayuki# kldload pccard shirayuki# kldload cbb 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 Fatal trap 12: page fault while in kernel mode fault virtual address = 0xc64cb000 fault code = supervisor read, page not present instruction pointer = 0x8:0xc15f36b5 stack pointer = 0x10:0xc61d694c frame pointer = 0x10:0xc61d6b64 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 = 502 (cbb0) kernel: type 12 trap, code=0 Stopped at pccard_scan_cis+0x175: movzbl 0(%eax,%edx,1),%eax db> output of dmesg: 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-CURRENT #0: Sun Jul 20 20:45:11 PDT 2003 raymond@shirayuki.wsyntax.com:/usr/obj/usr/src/sys/SHIRAYUKI Preloaded elf kernel "/boot/kernel/kernel" at 0xc05c2000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc05c21cc. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 132632637 Hz CPU: Pentium/P54C (132.63-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 67239936 (64 MB) avail memory = 59207680 (56 MB) Intel Pentium detected, installing workaround for F00F bug VESA: v2.0, 2048k memory, flags:0x0, mode table:0xc051d660 (1000040) VESA: CHIPS 6x554 Super VGA npx0: <math processor> on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 3 entries at 0xc00f97e0 pcib0: <Host to PCI bridge> at pcibus 0 on motherboard pci0: <PCI bus> on pcib0 pci_cfgintr: 0:2 INTA BIOS irq 11 pci_cfgintr: 0:2 INTB BIOS irq 11 pci_cfgintr: 0:11 INTA BIOS irq 11 pci0: <bridge, PCI-CardBus> at device 2.0 (no driver attached) pci0: <bridge, PCI-CardBus> at device 2.1 (no driver attached) pci0: <display, VGA> at device 4.0 (no driver attached) ohci0: <NEC uPD 9210 USB controller> mem 0xfdfff000-0xfdffffff irq 11 at device 11.0 on pci0 usb0: OHCI version 1.0 usb0: <NEC uPD 9210 USB controller> on ohci0 usb0: USB revision 1.0 uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered isa0: <ISA bus> on motherboard 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 kbd0 at atkbd0 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 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console 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 pca0: <AT-style speaker sound> 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: <PNP0600> can't assign resources (port) unknown: <PNP0501> can't assign resources (port) unknown: <PNP0401> can't assign resources (port) pcm0: <Yamaha OPL-SAx> at port 0x370-0x371,0x330-0x331,0x388-0x38b,0x530-0x537,0x220-0x22f irq 5 drq 0,1 on isa0 Timecounters tick every 10.000 msec IPsec: Initialized Security Association Processing. IP Filter: v3.4.31 initialized. Default = block all, Logging = enabled ad0: 7815MB <IBM-DYLA-28100> [15880/16/63] at ata0-master PIO4 acd0: CDROM <TOSHIBA CD-ROM XM-1602B> at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a output of uname -a: FreeBSD shirayuki.wsyntax.com 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sun Jul 20 20:45:11 PDT 2003 raymond@shirayuki.wsyntax.com:/usr/obj/usr/src/sys/SHIRAYUKI i386 I've looked on Google and found a few threads detailing this discussion, but the thread ended with "Oh, with some card/bridge combinations, we don't map the CIS address space correctly." The man pages don't say anything about this. Any help would be greatly appreciated. -Raymond -- Raymond Jimenez ("Cyanoacry") <raymond@naru.wsyntax.com> http://chikage.wsyntax.com <> cyanoacry@rakka.irc.wsyntax.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F1CB1CA.2020802>