From owner-freebsd-mobile Sat Apr 20 21:36: 3 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mobius.knot.org (pool-151-200-19-88.res.east.verizon.net [151.200.19.88]) by hub.freebsd.org (Postfix) with ESMTP id 4314E37B417 for ; Sat, 20 Apr 2002 21:35:52 -0700 (PDT) Received: from mobius.knot.org (localhost [127.0.0.1]) by mobius.knot.org (8.11.6/8.11.6) with ESMTP id g3L4enr19178 for ; Sun, 21 Apr 2002 00:40:49 -0400 (EDT) (envelope-from sandro@mobius.knot.org) Message-Id: <200204210440.g3L4enr19178@mobius.knot.org> To: freebsd-mobile@FreeBSD.ORG Subject: pcic/pccardd causing display hang-ups. (help!) Date: Sun, 21 Apr 2002 00:40:49 -0400 From: "Sandro Fouche'" 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 Ok. let's try this again. I've got a Toshiba 7020ct, and I've tried everything to get this problem resolved. I'd like any input/ideas that people might have regarding this. When I boot the system with any PC card installed it hangs the laptop display (text console or X-server), until I remove the PC card. After I pull and reinsert the PC card, it the system operates as expected. If I wait until booting is complete and then insert the PC cards things then work beautifully. I've tried switching to ISA routing and polling, and got no improvement. I've even built a kernel with minimal other devices (only ata, etc.), same story. Now that Werner has switched to a auto-magic IRQ configuration with PCI-Cardbus bridges, I'm at a loss to how to proceed. I don't mind tracking down the bugs and fixing them myself, but I'd like to get some input before I go trying to get my head around the pcic driver code. Here's the pccard initialization info from the system logs. I have the remaining output from a verbose boot if anyone (Werner) would like to see it... -Sandro ================ Broken Initialization (and re-insert) ================ outland /kernel: pccard0: Assigning wi0: io 0x240-0x27f irq 11 mem 0x0-0xffffffff outland /kernel: pcic: I/O win 0 flags 15 240-27f outland /kernel: wi0: Forcing IRQ to 11 outland /kernel: pcic: I/O win 0 flags 5 240-27f outland /kernel: wi0: at port 0x240-0x27f irq 11 slot 0 on pccard0 outland /kernel: wi0: found Lucent chip outland /kernel: pcic: I/O win 0 flags 15 240-27f outland /kernel: wi0: Forcing IRQ to 11 outland /kernel: wi0: Ethernet address: 00:60:1d:1e:8e:93 outland /kernel: wi0: wi_generic_attach:wi_has_wep = 1 outland /kernel: bpf: wi0 attached outland pccardd[49]: wi0: Lucent Technologies (WaveLAN/IEEE) inserted. outland /kernel: pcic0: Event mask 0xe >>>>>>>>>>>>>>>>>Display hangs here<<<<<<<<<<<<<<<<<<< outland /kernel: pcic0: Event mask 0xe outland /kernel: pcic: I/O win 0 flags 5 240-27f outland /kernel: wi0: detached outland /kernel: pccard: card removed, slot 0 outland pccardd[49]: pccardd started outland pccardd[49]: wi0: Lucent Technologies (WaveLAN/IEEE) removed. outland /kernel: pcic0: Event mask 0x6 outland /kernel: pccard: card inserted, slot 0 outland /kernel: pcic0: reset 1 int is 10 stat is ff outland /kernel: pcic0: reset 2 int is 70 stat is cf outland /kernel: pcic0: reset 3 int is 70 stat is ef outland pccardd[49]: Card "Lucent Technologies"("WaveLAN/IEEE") [Version 01.01] [] matched "Lucent Technologies" ("WaveLAN/IEEE") [(null)] [(null)] outland /kernel: pccard0: Assigning wi0: io 0x240-0x27f irq 11 mem 0x0-0xffffffff outland /kernel: pcic: I/O win 0 flags 15 240-27f outland /kernel: wi0: Forcing IRQ to 11 outland /kernel: pcic: I/O win 0 flags 5 240-27f outland /kernel: wi0: at port 0x240-0x27f irq 11 slot 0 on pccard0 outland /kernel: wi0: found Lucent chip outland /kernel: pcic: I/O win 0 flags 15 240-27f outland /kernel: wi0: Forcing IRQ to 11 outland /kernel: wi0: Ethernet address: 00:60:1d:1e:8e:93 outland /kernel: wi0: wi_generic_attach:wi_has_wep = 1 outland /kernel: bpf: wi0 attached outland pccardd[49]: wi0: Lucent Technologies (WaveLAN/IEEE) inserted. outland /kernel: pcic0: Event mask 0x8 outland dhclient: New IP Address(wi0): 10.0.1.3 outland dhclient: New Subnet Mask (wi0): 255.255.255.0 outland dhclient: New Broadcast Address(wi0): 10.0.1.255 outland dhclient: New Routers: 10.0.1.1 ======== Working Initialization (PC cards inserted later ======== outland /kernel: pcic0: Event mask 0xe outland /kernel: pccard: card inserted, slot 0 outland /kernel: pcic0: reset 1 int is 10 stat is ff outland /kernel: pcic0: reset 2 int is 70 stat is cf outland /kernel: pcic0: reset 3 int is 70 stat is ef outland pccardd[49]: Card "Lucent Technologies"("WaveLAN/IEEE") [Version 01.01] [] matched "Lucent Technologies" ("WaveLAN/IEEE") [(null)] [(null)] outland /kernel: pccard0: Assigning wi0: io 0x240-0x27f irq 11 mem 0x0-0xffffffff outland /kernel: pcic: I/O win 0 flags 15 240-27f outland /kernel: wi0: Forcing IRQ to 11 outland /kernel: pcic: I/O win 0 flags 5 240-27f outland /kernel: wi0: at port 0x240-0x27f irq 11 slot 0 on pccard0 outland /kernel: wi0: found Lucent chip outland /kernel: pcic: I/O win 0 flags 15 240-27f outland /kernel: wi0: Forcing IRQ to 11 outland /kernel: wi0: Ethernet address: 00:60:1d:1e:8e:93 outland /kernel: wi0: wi_generic_attach:wi_has_wep = 1 outland /kernel: bpf: wi0 attached outland pccardd[49]: wi0: Lucent Technologies (WaveLAN/IEEE) inserted. outland /kernel: pcic0: Event mask 0x8 outland dhclient: New IP Address(wi0): 10.0.1.3 outland dhclient: New Subnet Mask (wi0): 255.255.255.0 outland dhclient: New Broadcast Address(wi0): 10.0.1.255 outland dhclient: New Routers: 10.0.1.1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message