From owner-freebsd-current Mon Mar 11 8:20:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from prg.traveller.cz (prg.traveller.cz [193.85.2.77]) by hub.freebsd.org (Postfix) with ESMTP id 15AC537B404 for ; Mon, 11 Mar 2002 08:19:56 -0800 (PST) Received: from prg.traveller.cz (localhost [127.0.0.1]) by prg.traveller.cz (8.12.1[KQ-CZ](1)/8.12.1/pukvis) with ESMTP id g2BGJsmZ047098 for ; Mon, 11 Mar 2002 17:19:55 +0100 (CET) Received: from localhost (mime@localhost) by prg.traveller.cz (8.12.1[KQ-CZ](1)/pukvis) with ESMTP id g2BGJsif047095 for ; Mon, 11 Mar 2002 17:19:54 +0100 (CET) Date: Mon, 11 Mar 2002 17:19:54 +0100 (CET) From: Michal Mertl To: current@freebsd.org Subject: panics with CardBus Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-2 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I get panics for about 2 weeks (last tested with todays current - it's more unstable than friday's build - it crashed only when boot_verbose was set, now it sometimes crashes several times in a row). The panics occur on 2 places - on detection/insertion in device_get_parent() or bus_deactivate_resource() and on removal in bus_deactivate_resource(). I can provide more info as needed (don't know what to look for and don't want to make the mail even longer). Sorry for inappropriate linewrap and long email. Trimmed dmesg output (without the card in slot): ----- Preloaded elf kernel "/boot/kernel/kernel" at 0xc043f000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc043f0a8. Calibrating clock(s) ... TSC clock: 365868380 Hz, i8254 clock: 1193211 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 Timecounter "TSC" frequency 365861690 Hz CPU: Pentium II/Pentium II Xeon/Celeron (365.86-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x66a Stepping =3D 10 Features=3D0x183f9ff real memory =3D 134152192 (131008K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00466000 - 0x07fe7fff, 129507328 bytes (31618 pages) avail memory =3D 125992960 (123040K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fa000 bios32: Entry =3D 0xf0000 (c00f0000) Rev =3D 0 Len =3D 1 pcibios: PCI BIOS entry at 0xf0000+0x478 pnpbios: Found PnP BIOS data at 0xc00f5a70 pnpbios: Entry =3D f0000:5a9e Rev =3D 1.0 pnpbios: Event flag at f5a96 pnpbios: OEM ID 30b1110e Other BIOS signatures found: null: random: mem: Pentium Pro MTRR support enabled VESA: information block 56 45 53 41 00 02 00 01 00 01 00 00 00 00 22 00 00 01 7f 00 00 01 0b 01 00 01 21 01 00 01 2a 01 00 01 00 01 01 01 10 01 11 01 12 01 03 01 13 01 14 01 15 01 05 01 16 01 17 01 18 01 07 01 19 01 VESA: 40 mode(s) found VESA: v2.0, 8128k memory, flags:0x0, mode table:0xc038a662 (1000022) VESA: ATI MACH64 VESA: ATI Technologies Inc. MACH64RM 01.00 pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c pci_open(1a): mode1res=3D0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=3D060000] [hdr=3D00] is there (id=3D7190808= 6) Using $PIR table, 268435454 entries at 0xc00f0970 npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. ACPI timer looks BAD min =3D 2, max =3D 6, width =3D 5 ACPI timer looks BAD min =3D 2, max =3D 6, width =3D 5 ACPI timer looks BAD min =3D 2, max =3D 6, width =3D 5 ACPI timer looks BAD min =3D 2, max =3D 6, width =3D 5 ACPI timer looks BAD min =3D 2, max =3D 6, width =3D 5 ACPI timer looks BAD min =3D 2, max =3D 6, width =3D 5 ACPI timer looks BAD min =3D 1, max =3D 6, width =3D 6 ACPI timer looks BAD min =3D 2, max =3D 16777187, width =3D 16777186 ACPI timer looks BAD min =3D 2, max =3D 16777197, width =3D 16777196 ACPI timer looks BAD min =3D 1, max =3D 16777214, width =3D 16777214 Timecounter "ACPI-safe" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x5008-0x500b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_acad0: on acpi0 unknown: not probed (disabled) sage repeated 19 times pcib0: at pcibus 0 on motherboard pci0: physical bus=3D0 map[10]: type 3, range 32, base 50000000, size 26, enabled found-> vendor=3D0x8086, dev=3D0x7190, revid=3D0x03 bus=3D0, slot=3D0, func=3D0 class=3D06-00-00, hdrtype=3D0x00, mfdev=3D0 found-> vendor=3D0x8086, dev=3D0x7191, revid=3D0x03 bus=3D0, slot=3D1, func=3D0 class=3D06-04-00, hdrtype=3D0x01, mfdev=3D0 map[10]: type 1, range 32, base 7fffe000, size 12, enabled found-> vendor=3D0x104c, dev=3D0xac1b, revid=3D0x03 bus=3D0, slot=3D4, func=3D0 class=3D06-07-00, hdrtype=3D0x02, mfdev=3D1 intpin=3Da, irq=3D11 powerspec 1 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base 7ffff000, size 12, enabled found-> vendor=3D0x104c, dev=3D0xac1b, revid=3D0x03 bus=3D0, slot=3D4, func=3D1 class=3D06-07-00, hdrtype=3D0x02, mfdev=3D1 intpin=3Da, irq=3D11 powerspec 1 supports D0 D1 D2 D3 current D0 found-> vendor=3D0x8086, dev=3D0x7110, revid=3D0x02 bus=3D0, slot=3D7, func=3D0 class=3D06-80-00, hdrtype=3D0x00, mfdev=3D1 map[20]: type 4, range 32, base 00003820, size 4, enabled found-> vendor=3D0x8086, dev=3D0x7111, revid=3D0x01 bus=3D0, slot=3D7, func=3D1 class=3D01-01-80, hdrtype=3D0x00, mfdev=3D0 map[20]: type 4, range 32, base 00003800, size 5, enabled found-> vendor=3D0x8086, dev=3D0x7112, revid=3D0x01 bus=3D0, slot=3D7, func=3D2 class=3D0c-03-00, hdrtype=3D0x00, mfdev=3D0 intpin=3Dd, irq=3D11 map[90]: type 4, range 32, base 00004000, size 4, enabled found-> vendor=3D0x8086, dev=3D0x7113, revid=3D0x02 bus=3D0, slot=3D7, func=3D3 class=3D06-80-00, hdrtype=3D0x00, mfdev=3D0 map[10]: type 4, range 32, base 00003000, size 8, enabled found-> vendor=3D0x125d, dev=3D0x1978, revid=3D0x10 bus=3D0, slot=3D8, func=3D0 class=3D04-01-00, hdrtype=3D0x00, mfdev=3D0 intpin=3Da, irq=3D11 powerspec 2 supports D0 D1 D2 D3 current D0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pcib1: I/O decode 0x2000-0x2fff pcib1: memory decode 0x40000000-0x410fffff pcib1: prefetched decode 0xfff00000-0xfffff pci1: physical bus=3D1 map[10]: type 1, range 32, base 40000000, size 24, enabled map[14]: type 4, range 32, base 00002000, size 8, enabled map[18]: type 1, range 32, base 41000000, size 12, enabled found-> vendor=3D0x1002, dev=3D0x4c4d, revid=3D0x64 bus=3D1, slot=3D0, func=3D0 class=3D03-00-00, hdrtype=3D0x00, mfdev=3D0 intpin=3Da, irq=3D11 powerspec 1 supports D0 D1 D2 D3 current D0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pccbb0: mem 0x7fffe000-0x7fffefff irq 11 at device 4.0 on pci0 cardbus0: on pccbb0 pccard0: <16-bit PCCard bus> on pccbb0 pccbb1: mem 0x7ffff000-0x7fffffff irq 11 at device 4.1 on pci0 cardbus1: on pccbb1 pccard1: <16-bit PCCard bus> on pccbb1 PCI-ISA bridge with incorrect subclass 0x80 PCI-ISA bridge with incorrect subclass 0x80 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x3820-0x382f at device 7.1 on pci0 ata0: iobase=3D0x01f0 altiobase=3D0x03f6 bmaddr=3D0x3820 ata0: mask=3D03 ostat0=3D50 ostat2=3D00 ata0-slave: ATAPI 14 eb ata0-master: ATAPI 00 00 ata0: mask=3D03 stat0=3D50 stat1=3D00 ata0-master: ATA 01 a5 ata0: devices=3D09 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=3D0x0170 altiobase=3D0x0376 bmaddr=3D0x3828 ata1: at 0x170 irq 15 on atapci0 pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) pcm0: port 0x3000-0x30ff irq 11 at device 8.0 on pci0 setmap (4cb000, 4000), nseg=3D1, error=3D0 pcm0: Maestro DMA base: 0x4cb000 pcm0: ac97 codec id 0x83847609 (SigmaTel STAC9721/9723) pcm0: ac97 codec features 18 bit DAC, 18 bit ADC, 5 bit master volume, SigmaTel 3D Enhancement pcm0: ac97 primary codec extended features AMAP setmap (4e9000, 4000), nseg=3D1, error=3D0 pcm0: pch[0].offset =3D 0x1e000 setmap (4ed000, 4000), nseg=3D1, error=3D0 pcm0: pch[1].offset =3D 0x22000 setmap (4f1000, 4000), nseg=3D1, error=3D0 pcm0: pch[2].offset =3D 0x26000 setmap (508000, 4000), nseg=3D1, error=3D0 pcm0: pch[3].offset =3D 0x3d000 ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it 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 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 orm0: