Date: Wed, 14 Aug 2002 19:47:18 +0300 From: Vitaly Markitantov <vm@dics.com.ua> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-mobile@freebsd.org Subject: Re: TI1250 don't route IRQ Message-ID: <20020814164718.GA43995@iron.del.local> In-Reply-To: <20020814.093719.46870361.imp@bsdimp.com> References: <20020814064435.GA26023@iron.del.local> <20020814.093719.46870361.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 14, 2002 at 09:37:19AM -0600, M. Warner Losh wrote: > In message: <20020814064435.GA26023@iron.del.local> > Vitaly Markitantov <vm@dics.com.ua> writes: > : I'm trying OLDCARD and NEWCARD on my laptop under -CURRENT (cvsup at 12 Aug 2002) > : Have used two differend PC-cards (one - PCMCIA under OLDCARD - starts like > : ed0 with pccardd, and two - CARDBUS under NEWCARD - starts like rl0) > : > : Cards starts, i can configure them by ifconfig, but they don't works > : one says ed0: device timeout and second watch some dog rl0: watchdog timeout > : > : Someone said that TI1250 is incorrectly routes IRQs. Can i do something > : to get it to work? Or i must drop FreeBSD from laptop? > > It likely isn't the 1250 that incorrectly routes IRQs, but rather it > is the BIOS on your PC. Can you send me the dmesg output of the > problem? Preferably boot -v? > Yes, i can. There is one verbose dmesg from kernel with OLDCARD. 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 5.0-CURRENT #0: Tue Aug 13 18:03:08 EEST 2002 root@neo.del.local:/usr/obj/usr/src/sys/NEO Preloaded elf kernel "/boot/kernel/kernel" at 0xc037f000. Preloaded elf module "/boot/kernel/snd_mss.ko" at 0xc037f0a8. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc037f154. Calibrating clock(s) ... TSC clock: 334126855 Hz, i8254 clock: 1193311 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 TSC initialization skipped: APM enabled. CPU: AMD-K6(tm) 3D processor (334.09-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x580 Stepping = 0 Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> AMD Features=0xffffffff80000800<SYSCALL,3DNow!> Data TLB: 128 entries, 2-way associative Instruction TLB: 64 entries, 1-way associative L1 data cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative L1 instruction cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative Write Allocate Enable Limit: 32M bytes Write Allocate 15-16M bytes: Disable Hardware Write Allocate Control: Disable real memory = 33554432 (32768K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x003a6000 - 0x01ff7fff, 29696000 bytes (7250 pages) avail memory = 28868608 (28192K bytes) bios32: Found BIOS32 Service Directory header at 0xc00f7340 bios32: Entry = 0xfd810 (c00fd810) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd810+0x203 pnpbios: Found PnP BIOS data at 0xc00f7370 pnpbios: Entry = f0000:a644 Rev = 1.0 Other BIOS signatures found: random: <entropy source> mem: <memory & I/O> VESA: information block 56 45 53 41 00 02 56 77 00 c0 00 00 00 00 22 00 00 01 40 00 00 01 d9 6f 00 c0 ea 6f 00 c0 f2 6f 00 c0 2e 01 31 01 41 01 0d 01 32 01 51 01 42 01 52 01 02 01 00 01 01 01 04 01 03 01 10 02 10 01 VESA: 30 mode(s) found VESA: v2.0, 4096k memory, flags:0x0, mode table:0xc02f6bc2 (1000022) VESA: S3 Incorporated. M5 BIOS VESA: S3 Incorporated. VBE 2.0 Rev 1.1 null: <null device, zero device> pci_open(1): mode 1 addr port (0x0cf8) is 0x80000058 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71008086) Using $PIR table, 3 entries at 0xc00fdf90 apm0: <APM BIOS> on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> at pcibus 0 on motherboard pci0: physical bus=0 found-> vendor=0x8086, dev=0x7100, revid=0x01 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 found-> vendor=0x8086, dev=0x7110, revid=0x01 bus=0, slot=1, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 map[20]: type 4, range 32, base 0000fcd0, size 4, enabled found-> vendor=0x8086, dev=0x7111, revid=0x01 bus=0, slot=1, func=1 class=01-01-80, hdrtype=0x00, mfdev=0 map[20]: type 4, range 32, base 0000fce0, size 5, enabled found-> vendor=0x8086, dev=0x7112, revid=0x01 bus=0, slot=1, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 intpin=d, irq=11 map[90]: type 4, range 32, base 00002180, size 4, enabled found-> vendor=0x8086, dev=0x7113, revid=0x01 bus=0, slot=1, func=3 class=06-80-00, hdrtype=0x00, mfdev=0 map[10]: type 1, range 32, base f8000000, size 26, enabled found-> vendor=0x5333, dev=0x8c03, revid=0x03 bus=0, slot=2, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=255 powerspec 1 supports D0 D1 D3 current D0 found-> vendor=0x104c, dev=0xac16, revid=0x02 bus=0, slot=3, func=0 class=06-07-00, hdrtype=0x02, mfdev=1 intpin=a, irq=255 powerspec 1 supports D0 D1 D2 D3 current D3 found-> vendor=0x104c, dev=0xac16, revid=0x02 bus=0, slot=3, func=1 class=06-07-00, hdrtype=0x02, mfdev=1 intpin=b, irq=255 powerspec 1 supports D0 D1 D2 D3 current D3 pci0: <PCI bus> on pcib0 isab0: <PCI-ISA bridge> at device 1.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 ATA33 controller> port 0xfcd0-0xfcdf at device 1.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xfcd0 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=0xfcd8 ata1: mask=03 ostat0=10 ostat2=90 ata1-master: ATAPI 14 eb ata1: mask=01 stat0=10 stat1=eb ata1: devices=04 ata1: at 0x170 irq 15 on atapci0 pci0: <serial bus, USB> at device 1.2 (no driver attached) pci0: <bridge, PCI-unknown> at device 1.3 (no driver attached) pci0: <display, VGA> at device 2.0 (no driver attached) pcic0: chip is in D3 power mode -- setting to D0 pci_cfgintr_linked: linked (60) to hard-routed irq 11 pci_cfgintr: 0:3 INTA routed to irq 11 pcic0: <TI PCI-1250 PCI-CardBus Bridge> irq 11 at device 3.0 on pci0 pcic0: PCI Memory allocated: 0x88000000 pcic0: TI12XX PCI Config Reg: [speaker enable][pwr save][FUNC pci int + CSC serial isa irq] pcic0: PCI Configuration space: 0x00: 0xac16104c 0x02100003 0x06070002 0x00820000 0x10: 0x88000000 0x020000a0 0x00000000 0x00000000 0x20: 0x00000000 0x00000000 0x00000000 0x00000000 0x30: 0x00000000 0x00000000 0x00000000 0x0760010b 0x40: 0x00000000 0x00000001 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x08449160 0x00000000 0x49890808 0xcba92754 0x90: 0x616622c0 0x00000000 0x00000000 0x00000000 0xa0: 0x7e210001 0x00800000 0x00000000 0x00000000 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 pccard0: <PC Card 16-bit bus (classic)> on pcic0 pcic1: chip is in D3 power mode -- setting to D0 pci_cfgintr_unique: hard-routed to irq 11 pci_cfgintr: 0:3 INTB routed to irq 11 pcic1: <TI PCI-1250 PCI-CardBus Bridge> irq 11 at device 3.1 on pci0 pcic1: PCI Memory allocated: 0x88001000 pcic1: TI12XX PCI Config Reg: [speaker enable][pwr save][FUNC pci int + CSC serial isa irq] pcic1: PCI Configuration space: 0x00: 0xac16104c 0x02100003 0x06070002 0x00820000 0x10: 0x88001000 0x020000a0 0x00000000 0x00000000 0x20: 0x00000000 0x00000000 0x00000000 0x00000000 0x30: 0x00000000 0x00000000 0x00000000 0x0760020b 0x40: 0x00000000 0x00000001 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x08449160 0x00000000 0x48890808 0xcba92754 0x90: 0x616622c0 0x00000000 0x00000000 0x00000000 0xa0: 0x7e210001 0x00800000 0x00000000 0x00000000 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 pccard1: <PC Card 16-bit bus (classic)> on pcic1 pcic: pcic0 already exists; skipping it pcic: pcic1 already exists; skipping it Trying Read_Port at 203 YMH0021: start dependent (0) YMH0021: adding io range 0x220-0x22f, size=0x10, align=0x10 YMH0021: adding io range 0x530-0x537, size=0x8, align=0x8 YMH0021: adding io range 0x388-0x38f, size=0x8, align=0x8 YMH0021: adding io range 0x330-0x331, size=0x2, align=0x2 YMH0021: adding io range 0x370-0x371, size=0x2, align=0x2 YMH0021: adding irq mask 0x20 YMH0021: adding dma mask 0x1 YMH0021: adding dma mask 0x2 YMH0021: start dependent (1) YMH0021: adding io range 0x240-0x24f, size=0x10, align=0x10 YMH0021: adding io range 0xe80-0xe87, size=0x8, align=0x8 YMH0021: adding io range 0x388-0x38f, size=0x8, align=0x8 YMH0021: adding io range 0x300-0x301, size=0x2, align=0x2 YMH0021: adding io range 0x100-0xfff, size=0x2, align=0x2 YMH0021: adding irq mask 0xea0 YMH0021: adding dma mask 0xb YMH0021: adding dma mask 0xb YMH0021: start dependent (2) YMH0021: adding io range 0x220-0x28f, size=0x10, align=0x10 YMH0021: adding io range 0x530-0xf4f, size=0x8, align=0x8 YMH0021: adding io range 0x388-0x3ff, size=0x8, align=0x8 YMH0021: adding io range 0x300-0x335, size=0x2, align=0x2 YMH0021: adding io range 0x100-0xfff, size=0x2, align=0x2 YMH0021: adding irq mask 0xea8 YMH0021: adding dma mask 0xb YMH0021: adding dma mask 0xb YMH0021: end dependent pnpbios: 15 devices, largest 126 bytes PNP0c02: adding io range 0x80-0x80, size=0x1, align=0x1 PNP0c02: adding io range 0x398-0x399, size=0x2, align=0x1 PNP0c02: adding fixed memory32 range 0xfff88000-0xfffbffff, size=0x38000 PNP0c02: adding fixed memory32 range 0xfffc8000-0xfffeffff, size=0x28000 PNP0c02: adding fixed memory32 range 0xffff0000-0xffffffff, size=0x10000 pnpbios: handle 0 device ID PNP0c02 (020cd041) PNP0c01: adding fixed memory32 range 0-0x9ffff, size=0xa0000 PNP0c01: adding fixed memory32 range 0xdc000-0xfffff, size=0x24000 PNP0c01: adding fixed memory32 range 0x100000-0x1ffffff, size=0x1f00000 pnpbios: handle 1 device ID PNP0c01 (010cd041) PNP0200: adding io range 0-0xf, size=0x10, align=0x1 PNP0200: adding io range 0x81-0x8f, size=0xf, align=0x1 PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0x1 PNP0200: adding dma mask 0x10 pnpbios: handle 2 device ID PNP0200 (0002d041) PNP0000: adding io range 0x20-0x21, size=0x2, align=0x1 PNP0000: adding io range 0xa0-0xa1, size=0x2, align=0x1 PNP0000: adding irq mask 0x4 pnpbios: handle 3 device ID PNP0000 (0000d041) PNP0100: adding io range 0x40-0x43, size=0x4, align=0x1 PNP0100: adding irq mask 0x1 pnpbios: handle 4 device ID PNP0100 (0001d041) PNP0b00: adding io range 0x70-0x71, size=0x2, align=0x1 PNP0b00: adding irq mask 0x100 pnpbios: handle 5 device ID PNP0b00 (000bd041) PNP0303: adding io range 0x60-0x60, size=0x1, align=0x1 PNP0303: adding io range 0x64-0x64, size=0x1, align=0x1 PNP0303: adding irq mask 0x2 pnpbios: handle 6 device ID PNP0303 (0303d041) PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0x1 PNP0c04: adding irq mask 0x2000 pnpbios: handle 7 device ID PNP0c04 (040cd041) PNP0800: adding io range 0x61-0x61, size=0x1, align=0x1 pnpbios: handle 8 device ID PNP0800 (0008d041) PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0x1 pnpbios: handle 9 device ID PNP0a03 (030ad041) PNP0c02: adding io range 0x4d0-0x4d1, size=0x2, align=0x1 PNP0c02: adding io range 0x8000-0x803f, size=0x40, align=0x1 PNP0c02: adding io range 0x2180-0x218f, size=0x10, align=0x1 pnpbios: handle 10 device ID PNP0c02 (020cd041) PNP0f13: adding irq mask 0x1000 pnpbios: handle 13 device ID PNP0f13 (130fd041) PNP0501: adding io range 0x3f8-0x3ff, size=0x8, align=0x1 PNP0501: adding irq mask 0x10 pnpbios: handle 15 device ID PNP0501 (0105d041) PNP0700: adding io range 0x3f0-0x3f5, size=0x6, align=0x1 PNP0700: adding io range 0x3f7-0x3f7, size=0x1, align=0x1 PNP0700: adding irq mask 0x40 PNP0700: adding dma mask 0x4 pnpbios: handle 21 device ID PNP0700 (0007d041) pnpbios: handle 22 device ID PNP0e03 (030ed041) sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000 psm0: current command byte:0047 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 fdc0: <enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) sio0: irq maps: 0x21 0x31 0x21 0x21 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: not probed (disabled) sio2: not probed (disabled) sio3: not probed (disabled) vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x700ff fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff isa_probe_children: probing PnP devices pcm0: <Yamaha OPL-SAx> at port 0x370-0x371,0x330-0x331,0x388-0x38f,0x530-0x537,0x220-0x22f irq 5 drq 1,0 on isa0 Yamaha: ver 0x21 DMA config 0x8c pcm0: sndbuf_setmap 418000, 1000; 0xc3eec000 -> 418000 pcm0: sndbuf_setmap 436000, 1000; 0xc3eed000 -> 436000 unknown: <PNP0303> can't assign resources (port) unknown: <PNP0303> at port 0x60 on isa0 unknown: <PNP0800> failed to probe at port 0x61 on isa0 unknown: <PNP0f13> can't assign resources (irq) unknown: <PNP0f13> at irq 12 on isa0 unknown: <PNP0501> can't assign resources (port) unknown: <PNP0501> at port 0x3f8-0x3ff on isa0 unknown: <PNP0700> can't assign resources (port) unknown: <PNP0700> at port 0x3f0-0x3f5 on isa0 unknown: <PNP0e03> failed to probe at port 0x3e0-0x3e1 on isa0 BIOS Geometries: 0:022def3f 0..557=558 cylinders, 0..239=240 heads, 1..63=63 sectors 0 accounted for Device configuration finished. procfs registered Timecounters tick every 1.000 msec bpf: lo0 attached ad0: success setting UDMA2 on Intel chip Creating DISK ad0 ar: FreeBSD check1 failed ad0: <TOSHIBA MK4309MAT/G5.01 B> ATA-4 disk at ata0-master ad0: 4126MB (8452080 sectors), 8944 C, 15 H, 63 S, 512 B ad0: 16 secs/int, 1 depth queue, UDMA33 ad0: piomode=4 dmamode=2 udmamode=2 cblid=0 ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1 ata1-master: success setting PIO4 on generic chip acd0: <TOSHIBA CD-ROM XM-1702B/1150> CDROM drive at ata1 as master acd0: read 4134KB/s (34515KB/s), 128KB buffer, PIO4 acd0: Reads: CD-R, CD-RW, CD-DA stream acd0: Writes: acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: no/blank disc Mounting root from ufs:/dev/ad0s2a ad0s1: type 0xb, start 63, end = 5125679, size 5125617 : OK ad0s2: type 0xa5, start 5125680, end = 8452079, size 3326400 : OK pcic0: Autodetected 5.0V card pccard: card inserted, slot 0 pcic0: reset 1 int is 10 stat is 5f pcic1: Autodetected 5.0V card pccard: card inserted, slot 1 pcic1: reset 1 int is 10 stat is 5f pcic0: reset 2 int is 70 stat is 5f start_init: trying /sbin/init pcic1: reset 2 int is 70 stat is 5f pcic0: reset 3 int is 70 stat is 7f pcic1: reset 3 int is 70 stat is 5f splash: image decoder found: logo_saver Linux ELF exec handler installed pccard0: Assigning ed0: io 0x240-0x25f irq 11 mem 0x0-0xffffffff pcic: I/O win 0 flags 15 240-25f ed0: Forcing IRQ to 11 pcic: I/O win 0 flags 5 240-25f ed0 at port 0x240-0x25f irq 11 slot 0 on pccard0 pcic: I/O win 0 flags 15 240-25f ed0: Forcing IRQ to 11 bpf: ed0 attached ed0: address 00:80:c8:85:6b:78, type NE2000 (16 bit) pccard1: Assigning sio4: io 0x2f8-0x2ff irq 11 mem 0x0-0xffffffff pcic: I/O win 0 flags 11 2f8-2ff pcic: I/O win 0 flags 1 2f8-2ff sio4 at port 0x2f8-0x2ff irq 11 slot 1 on pccard1 pcic: I/O win 0 flags 11 2f8-2ff sio4: type 16550A sio4: Forcing IRQ to 11 sio4: unable to activate interrupt in fast mode - using normal mode -- Vitaly Markitantov mailto: vm@dics.com.ua icq: 117438950 phone: (062)332-23-90 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020814164718.GA43995>