CardBus interrupt delivery

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Sat Mar 25 2000 - 21:33:12 EST


After some hacking around with Tulip it looks like interrupts are not
being delivered at all... Attached are dmesg,
/proc/{interrupts,iomem,ioports}

Two datapoints of interest:
* Under 2.2.x, tulip_cb [working] runs on IRQ 3 (legacy int right?)
* Under 2.3.x, tulip [non-working] shares IRQ 9 with the TI controller

Right now I'm going through the Via 686A datasheet to make sure there
isn't anything magical that needs to be done to assign an interrupt...

I'm also gonna try booting without hotplug/cardbus support to see if the
BIOS will do nice things for me...

-- 
Jeff Garzik              | Tact is the ability to tell a man 
Building 1024            | he has an open mind when he has a
MandrakeSoft, Inc.       | hole in his head.  (-random fortune)

Linux version 2.3.99-pre3 (jgarzik@rum.normnet.org) (gcc version 2.95.2 19991024 (release)) #11 Sat Mar 25 21:17:57 EST 2000 e820: 0009f800 @ 00000000 (usable) e820: 00000800 @ 0009f800 (reserved) e820: 00014000 @ 000ec000 (reserved) e820: 01af0000 @ 00100000 (usable) e820: 0000fc00 @ 01bf0000 (ACPI data) e820: 00000400 @ 01bffc00 (ACPI NVS) e820: 00020000 @ fffe0000 (reserved) On node 0 totalpages: 7152 zone(0): 4096 pages. zone(1): 3056 pages. zone(2): 0 pages. Initializing CPU#0 Detected 398542714 Hz processor. Console: colour dummy device 80x25 Calibrating delay loop... 794.62 BogoMIPS Memory: 25944k/28608k available (1034k kernel code, 2276k reserved, 91k data, 180k init, 0k highmem) Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 8192 (order: 3, 32768 bytes) CPU: L1 I Cache: 32K L1 D Cache: 32K CPU: AMD AMD-K6(tm) 3D processor stepping 0c Checking 386/387 coupling... OK, FPU using exception 16 error reporting. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.36 (20000221) Richard Gooch (rgooch@atnf.csiro.au) PCI: BIOS32 Service Directory structure at 0xc00f7820 PCI: BIOS32 Service Directory entry at 0xfd720 PCI: BIOS probe returned s=00 hw=01 ver=02.10 l=01 PCI: PCI BIOS revision 2.10 entry at 0xfd83e PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: IDE base address fixup for 00:07.1 PCI: Scanning for ghost devices on bus 0 PCI: Scanning for ghost devices on bus 1 PCI: IRQ fixup PCI: Interrupt Routing Table found at 0xc00fdf70 [router type 1106/0596] b=00 d=00 s=00 b=00 d=08 s=00 b=00 d=38 s=00 b=00 d=50 s=00 b=00 d=48 s=00 IRQ for 00:0a.0(0) -> PIRQ 02, mask 0200 -> [VIA] sink PCI: Allocating resources PCI: Resource f8000000-fbffffff (f=1208, d=0, p=0) PCI: Resource 00001820-0000182f (f=101, d=0, p=0) PCI: Resource 00001800-0000181f (f=101, d=0, p=0) PCI: Resource 00001000-000010ff (f=101, d=0, p=0) PCI: Resource 00001834-00001837 (f=105, d=0, p=0) PCI: Resource 00001830-00001833 (f=101, d=0, p=0) PCI: Resource f4000000-f40000ff (f=200, d=0, p=0) PCI: Resource 00001838-0000183f (f=109, d=0, p=0) PCI: Resource 00001400-000014ff (f=101, d=0, p=0) PCI: Resource f5000000-f57fffff (f=200, d=0, p=0) PCI: Resource f4100000-f411ffff (f=200, d=0, p=0) PCI: Resource f4800000-f4ffffff (f=200, d=0, p=0) PCI: Sorting device list... isapnp: Scanning for Pnp cards... isapnp: No Plug & Play device found Linux NET4.0 for Linux 2.3 Based upon Swansea University Computer Society NET3.039 NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 2048 bind 2048) ACPI: "PTLTD" found at 0x000f7850 Starting kswapd v1.6 vesafb: framebuffer at 0xf5000000, mapped to 0xc280a000, size 4096k vesafb: mode is 800x600x32, linelength=3200, pages=0 vesafb: protected mode interface info at c000:6356 vesafb: scrolling: redraw vesafb: directcolor: size=0:8:8:8, shift=0:16:8:0 Console: switching to colour frame buffer device 100x37 fb0: VESA VGA frame buffer device Uniform Multi-Platform E-IDE driver Revision: 6.30 ide: Assuming 40MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller on PCI bus 00 dev 39 VP_IDE: not 100% native mode: will probe irqs later Apollo MVP4 Chipset Core ATA-66 Split FIFO Configuration: 8 Primary buffers, threshold = 1/2 8 Second. buffers, threshold = 1/2 ide0: BM-DMA at 0x1820-0x1827, BIOS settings: hda:DMA, hdb:pio ide0: VIA Bus-Master (U)DMA Timing Config Success ide1: BM-DMA at 0x1828-0x182f, BIOS settings: hdc:DMA, hdd:pio ide1: VIA Bus-Master (U)DMA Timing Config Success hda: TOSHIBA MK4313MAT, ATA DISK drive hdc: TOSHIBA CD-ROM XM-7002B, ATAPI CDROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: TOSHIBA MK4313MAT, 4126MB w/0kB Cache, CHS=8944/15/63, UDMA(33) Partition check: hda: [PTBL] [559/240/63] hda1 < hda5 hda6 hda7 hda8 hda9 > Serial driver version 4.93 (2000-03-20) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A Real Time Clock Driver v1.10b Linux agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 3M agpgart: Detected Via MVP4 chipset agpgart: AGP aperture is 64M @ 0xf8000000 Linux PCMCIA Card Services 3.1.11 options: [pci] [cardbus] [pm] Adding cardbus controller 0: Texas Instruments PCI1211 IRQ for 00:0a.0(0) -> PIRQ 02, mask 0200 -> [VIA] set to 09 PCI: Assigned IRQ 9 to device 00:0a.0 [VIA-NEW] Yenta IRQ list 0008, PCI irq9 Socket status: 30000020 Intel PCIC probe: not found. Databook TCIC-2 PCMCIA probe: not found. VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 180k freed cs: cb_alloc(bus 2): vendor 0x1011, device 0x0019 PCI: Enabling device 02:00.0 (0000 -> 0003) Linux Tulip driver version 0.9.4.2 (Mar 21, 2000) kmem_grow: Called nonatomically from int - size-2048 PCI: Increasing latency timer of device 02:00.0 to 64 eth0: Digital DS21143 Tulip rev 65 at 0x1c00,<6>eth0: 21143 h/w init eth0: CFDD updated to 0000ff00 eth0: 21143 h/w init complete eth0: registers: 0=f8a08000, 3=00000000, 4=00000000, 5=f0000000, 6=b206c280, 7=f3fe0000 eth0: registers: 12=000010c2, 13=ffff0001, 14=ffffedfd, 15=8ff40000 00:10:7A:18:AD:F2, IRQ 9. eth0: EEPROM default media type Autosense. eth0: MII interface PHY 0, setup/reset sequences 0/0 long, capabilities e0 78. eth0: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block. eth0: Advertising 01e1 on PHY 0 (0). eth0: Using media type MII, CSR12 is c2. eth0: MII transceiver #1 config 1000 status 7849 advertising 01e1. Adding Swap: 249440k swap-space (priority -1) tulip_init_ring: ENTER tulip_up: ENTER eth0: tulip_up(), irq==9. eth0: Advertising 01e1 on PHY 0 (1). eth0: Using media type MII, CSR12 is c6. eth0: Using MII transceiver 1, status 7869. eth0: Done tulip_open(), CSR0 f8a08000, CSR5 f0320000 CSR6 b20ee202. set_rx_mode: ENTER set_rx_mode: ENTER set_rx_mode: ENTER set_rx_mode: ENTER t21142_timer: ENTER eth0: 21143 negotiation status 000000c6, MII. eth0: MII status 786d, Link partner report 40a1. cs: IO port probe 0x1000-0x17ff: clean. cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x378-0x37f 0x388-0x38f 0x4d0-0x4d7 cs: IO port probe 0x0a00-0x0aff: clean. Installing knfsd (copyright (C) 1996 okir@monad.swb.de). tulip_start_xmit: ENTER tulip_start_xmit: ENTER tulip_start_xmit: ENTER tulip_start_xmit: ENTER tulip_start_xmit: ENTER tulip_start_xmit: ENTER NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. t21142_timer: ENTER eth0: 21143 negotiation status 000000c6, MII. eth0: MII status 786d, Link partner report 40a1. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. t21142_timer: ENTER eth0: 21143 negotiation status 000000c6, MII. eth0: MII status 786d, Link partner report 40a1. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device. NETDEV WATCHDOG: eth0: transmit timed out tulip_tx_timeout: ENTER eth0: Transmit timeout using MII device.

CPU0 0: 17295 XT-PIC timer 1: 473 XT-PIC keyboard 2: 0 XT-PIC cascade 8: 1 XT-PIC rtc 9: 0 XT-PIC Texas Instruments PCI1211, eth0 10: 0 XT-PIC acpi 13: 1 XT-PIC fpu 14: 2116 XT-PIC ide0 15: 2 XT-PIC ide1 NMI: 0 ERR: 0

00000000-0009f7ff : System RAM 0009f800-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000f0000-000fffff : System ROM 00100000-01beffff : System RAM 00100000-00202bbf : Kernel code 00202bc0-00219b13 : Kernel data 01bf0000-01bffbff : ACPI Tables 01bffc00-01bfffff : ACPI Non-volatile Storage 10000000-10000fff : Texas Instruments PCI1211 10400000-107fffff : PCI CardBus #02 10400000-1043ffff : PCI device 1011:0019 10800000-10bfffff : PCI CardBus #02 10800000-108003ff : PCI device 1011:0019 10800000-108003ff : eth0 f4000000-f40000ff : Lucent Microelectronics 56k WinModem f4100000-f57fffff : PCI Bus #01 f4100000-f411ffff : Trident Microsystems CyberBlade/i7d f4120000-f412ffff : Trident Microsystems CyberBlade/i7d f4800000-f4ffffff : Trident Microsystems CyberBlade/i7d f5000000-f57fffff : Trident Microsystems CyberBlade/i7d f5000000-f53fffff : vesafb f8000000-fbffffff : VIA Technologies, Inc. VT8501 fffe0000-ffffffff : reserved

0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0376-0376 : ide1 03c0-03df : vesafb 03f6-03f6 : ide0 03f8-03ff : serial(auto) 1000-10ff : VIA Technologies, Inc. VT82C686 [Apollo Super AC97/Audio] 1400-14ff : Lucent Microelectronics 56k WinModem 1800-181f : VIA Technologies, Inc. VT82C586B USB 1820-182f : VIA Technologies, Inc. VT82C586 IDE [Apollo] 1820-1827 : ide0 1828-182f : ide1 1830-1833 : VIA Technologies, Inc. VT82C686 [Apollo Super AC97/Audio] 1834-1837 : VIA Technologies, Inc. VT82C686 [Apollo Super AC97/Audio] 1838-183f : Lucent Microelectronics 56k WinModem 1c00-1cff : PCI CardBus #02 1c00-1c7f : PCI device 1011:0019 1c00-1c7f : eth0 8000-8003 : acpi 8008-800b : acpi 8020-8023 : acpi 9050-9051 : acpi

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:16 EST