From owner-freebsd-mobile Mon Nov 11 19:46:37 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34A9237B401 for ; Mon, 11 Nov 2002 19:46:29 -0800 (PST) Received: from zinebar.hermans.ca (h24-65-98-95.ed.shawcable.net [24.65.98.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E7BA43E88 for ; Mon, 11 Nov 2002 19:46:27 -0800 (PST) (envelope-from freebsd@hermans.ca) Received: from otidan (otidan.inside [192.168.30.100]) by zinebar.hermans.ca (Postfix) with SMTP id 77C6556A0; Mon, 11 Nov 2002 20:46:20 -0700 (MST) Message-ID: <003401c289fe$1aa7fab0$641ea8c0@otidan> From: "Jamie Hermans" To: "M. Warner Losh" Cc: References: <00ed01c28769$46a7c0b0$3d07000a@jhermansxp> <20021109.220005.44519003.imp@bsdimp.com> Subject: Re: AcerNote 370P (373) Date: Mon, 11 Nov 2002 20:46:37 -0700 Organization: hermans.ca MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 > : I have an AcerNote 370P (373 version) that does not want to play > : nice with PCMCIA cards. It locks up the screen and keyboard about > : 3 seconds after inserting a card (right after the beep). Once I > : eject the card, everything plays catch-up on screen. > > OK. Sounds like we're getting stuck asserting an interrupt during > the card's configuration. Sounds like it is pretty generic. What > version? Xircom CE-10/A USR Sportster 28.8/FAX 3COM EtherLink III 3C589D-TP Doesn't seem to matter what I put in the slot - or which of the two slots I put the card in. > : I've tried leaving only a single IRQ in pccard.conf, reboot, lockup > : again, try the next IRQ ... rinse, repeat. No luck. > : > : Anything to try next? > > Are you trying PCI interrupts or ISA interrupts? hw.pcic.intr_path=1 > is for pci interrupts, =2 for ISA interrupts. You might try both of > these. # sysctl hw.pcic.intr_path hw.pcic.intr_path: 2 Changed it to 1 in /boot/loader.conf, no difference. > What kind of PCIC bridge do you have in your machine? pcic0: at port 0x3e0 iomem 0xd0000 on isa0 pcic0: Polling mode pccard0: on pcic0 pccard1: on pcic0 123456789012345678901234567890123456789012345678901234567890123456789 Here's my verbose `dmesg` (I was determined and hooked up a serial cable to capture this) ... at the end, you'll see the messages during insert/remove of the (any) pccard. -- Jamie Hit [Enter] to boot immediately, or any other key for command prompt. Type '?' for a list of commands, 'help' for more detailed help. ok boot -v SMAP type=01 base=00000000 00000000 len=00000000 0009fc00 SMAP type=02 base=00000000 0009fc00 len=00000000 00000400 SMAP type=02 base=00000000 000e0000 len=00000000 00020000 SMAP type=01 base=00000000 00100000 len=00000000 03f00000 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 4.6.2-RELEASE #0: Wed Aug 14 21:23:26 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC Calibrating clock(s) ... TSC clock: 132633341 Hz, i8254 clock: 1193198 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium/P54C (132.63-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf real memory = 67108864 (65536K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x004f7000 - 0x03ff7fff, 61870080 bytes (15105 pages) avail memory = 60440576 (59024K bytes) bios32: Found BIOS32 Service Directory header at 0xc00f0280 bios32: Entry = 0xf0210 (c00f0210) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x0 pnpbios: Found PnP BIOS data at 0xc00f5460 pnpbios: Entry = f2400:0 Rev = 1.0 Other BIOS signatures found: ACPI: 00000000 Preloaded elf kernel "kernel" at 0xc04d0000. Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk Creating DISK md0 Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=152110b9) pcibios: No call entry point npx0: on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 125928724 bytes/sec bzero() bandwidth = 190730497 bytes/sec pcib0: on motherboard found-> vendor=0x10b9, dev=0x1521, revid=0x1c class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x10b9, dev=0x1523, revid=0x07 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x10b9, dev=0x5219, revid=0x20 class=01-01-fa, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=0 map[20]: type 1, range 32, base 0000f000, size 4 found-> vendor=0x102c, dev=0x00e0, revid=0x45 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base ff000000, size 24 pci0: on pcib0 isab0: at device 2.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f irq 0 at device 2.1 on pci0 atapci0: Busmastering DMA not supported ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x0000 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI 00 00 ata0-slave: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=00 ata0-master: ATA 01 a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000 ata1: mask=01 ostat0=51 ostat2=ff ata1-master: ATAPI 14 eb ata1: mask=01 stat0=00 stat1=00 ata1: devices=04 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x102c, dev=0x00e0) at 6.0 ex_isa_identify() ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: