From owner-freebsd-mobile Tue Aug 28 11:50:32 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by hub.freebsd.org (Postfix) with ESMTP id 65CE937B401 for ; Tue, 28 Aug 2001 11:50:11 -0700 (PDT) (envelope-from faber@ISI.EDU) Received: from ted.isi.edu (ted.isi.edu [128.9.160.104]) by boreas.isi.edu (8.11.6/8.11.2) with ESMTP id f7SIoBn19612; Tue, 28 Aug 2001 11:50:11 -0700 (PDT) Received: (from faber@localhost) by ted.isi.edu (8.11.4/8.11.4) id f7SIoAa47337; Tue, 28 Aug 2001 11:50:10 -0700 (PDT) (envelope-from faber) Date: Tue, 28 Aug 2001 11:50:10 -0700 From: Ted Faber To: Warner Losh Cc: mobile@FreeBSD.ORG Subject: Re: MFC: ISA routing support Message-ID: <20010828115010.J44677@ted.isi.edu> References: <20010827123100.G35158@ted.isi.edu> <200108260507.f7Q570W08734@harmony.village.org> <20010827123100.G35158@ted.isi.edu> <200108280633.f7S6XCn01079@harmony.village.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=php-sha1; protocol="application/pgp-signature"; boundary="qDymnuGqqhW10CwH" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200108280633.f7S6XCn01079@harmony.village.org>; from imp@harmony.village.org on Tue, Aug 28, 2001 at 12:33:12AM -0600 X-url: http://www.isi.edu/~faber 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 --qDymnuGqqhW10CwH Content-Type: multipart/mixed; boundary="6J7GEvtanOfV9oXA" Content-Disposition: inline --6J7GEvtanOfV9oXA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Aug 28, 2001 at 12:33:12AM -0600, Warner Losh wrote: > In message <20010827123100.G35158@ted.isi.edu> Ted Faber writes: > : Sounds to me like there's some kind of bad interaction with sharing > : irq 9 with the USB stuff. (Non-ISA mode pcic still locks up after > : driver allocation with or without USB, but that is another case of > : sharing irq 9, in this case between the pcic and ed0.) > > I just looked into my notes. I can't find the info you sent me on > this. > > Can you send me the following three things with my latest patches. I > think you sent some of it before, but I've changed the initialization > a little bit and thought I'd see if anything changed. > 1) dmesg with PCI interrupt routing, but no cards inserted > 2) pciconf -r pci0:19:0 0:0xff (PCI and ISA routing) > 3) pccardc rdreg (PCI and ISA routing) > I'll compare this against what the datasheets for anything bad. I > gotta be missing something simple. I didn't see anything before, but > I've looked at a lot of register dumps since then... I'll bet. Here's the stuff. A god hard rap on the power supply seems to have restored it for the moment, but I susupect that a new one's in my near future. I have copies of the stuff you requested for a PCI routing and an ISA routing. I included the sysctl info for both configs so you can make sure I didn't mess that up. One more irq 9 data point. I kldloaded snd on the machine last night in ISA configuration, and it locked up tight. The sound card uses (you guessed it) shared irq 9. Let me know if there's more info I can give you. --6J7GEvtanOfV9oXA Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.pci" Copyright (c) 1992-2001 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.4-RC #49: Mon Aug 27 10:40:53 PDT 2001 root@arvon.lunabase.org:/usr/src/sys/compile/ARVON Calibrating clock(s) ... TSC clock: 398185185 Hz, i8254 clock: 1193149 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 II/Pentium II Xeon/Celeron (398.20-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping = 10 Features=0x183f9ff real memory = 67022848 (65452K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00337000 - 0x03fe2fff, 63619072 bytes (15532 pages) avail memory = 62193664 (60736K bytes) bios32: Found BIOS32 Service Directory header at 0xc00f6900 bios32: Entry = 0xfd7d6 (c00fd7d6) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x240 pnpbios: Found PnP BIOS data at 0xc00f6850 pnpbios: Entry = f0000:b508 Rev = 1.0 Other BIOS signatures found: ACPI: 000f68c0 Preloaded elf kernel "kernel" at 0xc0311000. Pentium Pro MTRR support enabled pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086) Using $PIR table, 6 entries at 0xc00fdf60 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard found-> vendor=0x8086, dev=0x7190, revid=0x03 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base f8000000, size 26 found-> vendor=0x8086, dev=0x7191, revid=0x03 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1 secondarybus=1 found-> vendor=0x8086, dev=0x7110, revid=0x02 class=06-80-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x7111, revid=0x01 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 0000f090, size 4 found-> vendor=0x8086, dev=0x7112, revid=0x01 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=9 map[20]: type 1, range 32, base 0000f0a0, size 5 found-> vendor=0x8086, dev=0x7113, revid=0x02 class=06-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[90]: type 1, range 32, base 0000ff80, size 4 found-> vendor=0x1073, dev=0x0010, revid=0x02 class=04-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 32, base fedf8000, size 15 map[14]: type 1, range 32, base 0000f0c0, size 6 map[18]: type 3, range 32, base 0000f08c, size 2 found-> vendor=0x11c1, dev=0x044a, revid=0x01 class=07-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 32, base fedf7c00, size 8 map[14]: type 1, range 32, base 0000f080, size 3 map[18]: type 1, range 32, base 0000f400, size 8 found-> vendor=0x104c, dev=0xac1c, revid=0x01 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=2 secondarybus=2 intpin=a, irq=9 found-> vendor=0x104c, dev=0xac1c, revid=0x01 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=3 secondarybus=3 intpin=b, irq=9 pci0: on pcib0 pcib1: at device 1.0 on pci0 found-> vendor=0x1002, dev=0x4c4d, revid=0x64 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 32, base fd000000, size 24 map[14]: type 1, range 32, base 0000e800, size 8 map[18]: type 1, range 32, base fecfe000, size 12 pci1: on pcib1 pci1: (vendor=0x1002, dev=0x4c4d) at 0.0 irq 9 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf090-0xf09f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf090 ata0: mask=03 status0=50 status1=00 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI probe a=00 b=00 ata0-slave: ATAPI probe a=00 b=00 ata0: mask=03 status0=50 status1=00 ata0-master: ATA probe a=01 b=a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xf098 ata1: mask=03 status0=50 status1=01 ata1: mask=03 ostat0=50 ostat2=01 ata1-master: ATAPI probe a=14 b=eb ata1-slave: ATAPI probe a=14 b=eb ata1: mask=03 status0=00 status1=01 ata1: devices=0c ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x7112) at 7.2 irq 9 chip1: port 0xff80-0xff8f at device 7.3 on pci0 pci0: (vendor=0x1073, dev=0x0010) at 13.0 irq 9 pci0: (vendor=0x11c1, dev=0x044a) at 16.0 irq 9 pcic0: irq 9 at device 19.0 on pci0 pcic0: PCI Memory allocated: 0x44000000 pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][pci only] pccard0: on pcic0 pcic1: irq 9 at device 19.1 on pci0 pcic1: PCI Memory allocated: 0x44001000 pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][pci only] using shared irq9. pccard1: on pcic1 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: