From owner-freebsd-bugs Mon Dec 2 2:40:15 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0AC037B401 for ; Mon, 2 Dec 2002 02:40:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D3AB43EB2 for ; Mon, 2 Dec 2002 02:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB2Ae1x3023240 for ; Mon, 2 Dec 2002 02:40:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB2Ae10x023239; Mon, 2 Dec 2002 02:40:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D47137B401; Mon, 2 Dec 2002 02:34:31 -0800 (PST) Received: from vbook.express.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF05543E88; Mon, 2 Dec 2002 02:34:29 -0800 (PST) (envelope-from vova@sw.ru) Received: from vova by vbook.express.ru with local (Exim 4.10) id 18InuG-0000Wq-00; Mon, 02 Dec 2002 13:34:28 +0300 Message-Id: Date: Mon, 02 Dec 2002 13:34:28 +0300 From: "Vladimir B.Grebenschikov" Reply-To: "Vladimir B.Grebenschikov" To: FreeBSD-gnats-submit@FreeBSD.org Cc: current@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/45913: WaveLan driver problems with latest -CURRENT Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45913 >Category: kern >Synopsis: WaveLan driver problems with latest -CURRENT >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 02 02:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Vladimir B. Grebenschikov >Release: FreeBSD 5.0-CURRENT i386 >Organization: SWsoft >Environment: System: FreeBSD vbook.express.ru 5.0-CURRENT FreeBSD 5.0-CURRENT #12: Wed Nov 27 16:18:57 MSK 2002 root@vbook.express.ru:/usr/obj/usr/local/src/sys/VBOOK i386 >Description: Hi After upgrade from CURRENT dated September 8 to fresh -CURRENT my Orinoco Silver WaveLan card stop working: System boots, detects card: cbb0: at device 10.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib0: matched entry for 0.10.INTA (source \\_SB_.LNKB) pcib0: slot 10 INTA is routed to irq 9 ... pccard0: CIS version PC Card Standard 5.0 pccard0: CIS info: Lucent Technologies, WaveLAN/IEEE, Version 01.01, pccard0: Manufacturer code 0x156, product 0x2 pccard0: function 0: network adapter, ccr addr 3e0 mask 1 pccard0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 6, iospace 0-3f; io16 irqpulse irqlevel wi0: at port 0x100-0x13f irq 9 function 0 config 1 on pccard0 wi0: 802.11 address: 00:02:2d:09:56:e6 wi0: using Lucent Technologies, WaveLAN/IEEE wi0: Lucent Firmware: Station 6.06.01 wi0: wi_has_wep = 1 wi0: bpf attached But simple 'ifconfig wi0' causes following output on console: wi0: timeout in wi_cmd 0x0021; event status 0x0000 wi0: timeout in wi_cmd 0x0021; event status 0x0000 wi0: timeout in wi_cmd 0x0021; event status 0x0000 wi0: timeout in wi_cmd 0x0021; event status 0x0000 wi0: timeout in wi_cmd 0x0021; event status 0x0000 wi0: timeout in wi_cmd 0x0021; event status 0x0000 just on first try it shows: wi0: timeout in stray irq 7 got 5 stray irq 7's: not logging anymore wi_cmd 0x0021; event status 0x0000 and ifconfig output: wi0: flags=8802 mtu 1500 ether 00:02:2d:09:56:e6 media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier (no wi-related parameters: channel, wep, etc ...) Each timeout freeze system for about 1 sec. Any Ideas, what happens ? I am a bit confused that irq 9 assigned to wi, but stray irq 7 (stray irq 7 may be due to not loaded driver for ppc, but no parallel devices was plugged) May be it is ACPI (PnP) problem ? dmesg.boot (-v) in attachment part of 'sysctl hw': hw.cardbus.debug: 0 hw.cardbus.cis_debug: 0 hw.pccard.debug: 0 hw.pccard.cis_debug: 0 hw.cbb.start_memory: 2281701376 hw.cbb.start_16_io: 256 hw.cbb.start_32_io: 4096 hw.cbb.debug: 0 hw.pci.enable_io_modes: 1 hw.pci.allow_unsupported_io_range: 0 My notebook is VAIO PCG-z505S Any suggestions is very appreciated. dmesg.boot: =============================== 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 #8: Sat Nov 23 01:03:18 MSK 2002 root@vbook.express.ru:/usr/obj/usr/local/src/sys/VBOOK Preloaded elf kernel "/boot/kernel/kernel" at 0xc049b000. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc049b0b4. Preloaded elf module "/boot/kernel/snd_neomagic.ko" at 0xc049b160. Preloaded elf module "/boot/kernel/ukbd.ko" at 0xc049b214. Preloaded elf module "/boot/kernel/usb.ko" at 0xc049b2c0. Preloaded elf module "/boot/kernel/ums.ko" at 0xc049b368. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc049b410. Calibrating clock(s) ... TSC clock: 331561241 Hz, i8254 clock: 1193119 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 331581025 Hz CPU: Pentium II/Pentium II Xeon/Celeron (331.58-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping = 10 Features=0x183f9ff real memory = 201261056 (191 MB) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x004c2000 - 0x0bfe7fff, 196239360 bytes (47910 pages) avail memory = 190623744 (181 MB) bios32: Found BIOS32 Service Directory header at 0xc00f6c40 bios32: Entry = 0xfd7c0 (c00fd7c0) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd7c0+0x214 pnpbios: Found PnP BIOS data at 0xc00f6c70 pnpbios: Entry = f0000:b5cb Rev = 1.0 Other BIOS signatures found: Initializing GEOMetry subsystem null: mem: Pentium Pro MTRR support enabled random: npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pci_open(1): mode 1 addr port (0x0cf8) is 0x80003b54 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71928086) Using $PIR table, 7 entries at 0xc00fdf50 PCI-Only Interrupts: none Location Bus Device Pin Link IRQs embedded 0 1 A 0x60 9 embedded 0 1 B 0x61 9 embedded 0 1 C 0x62 9 embedded 0 1 D 0x63 9 embedded 0 7 D 0x63 9 embedded 0 8 A 0x60 9 embedded 0 8 B 0x61 9 embedded 0 9 A 0x62 9 embedded 0 10 A 0x61 9 embedded 0 11 A 0x60 9 embedded 0 6 A 0x60 9 acpi0: power button is handled as a fixed feature programming model. ACPI timer looks BAD min = 1, max = 16777215, width = 16777215 ACPI timer looks BAD min = 2, max = 8, width = 7 ACPI timer looks BAD min = 2, max = 8, width = 7 ACPI timer looks BAD min = 2, max = 16777213, width = 16777212 ACPI timer looks BAD min = 2, max = 12, width = 11 ACPI timer looks BAD min = 1, max = 7, width = 7 ACPI timer looks BAD min = 1, max = 8, width = 8 ACPI timer looks BAD min = 1, max = 16777215, width = 16777215 ACPI timer looks BAD min = 1, max = 8, width = 8 ACPI timer looks BAD min = 2, max = 8, width = 7 Timecounter "ACPI-safe" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 ---- initial configuration ------------------------ \\_SB_.LNKD irq 9: [ 9] low,level,sharable 0.7.3 \\_SB_.LNKA irq 9: [ 9] low,level,sharable 0.8.0 \\_SB_.LNKC irq 9: [ 9] low,level,sharable 0.9.0 \\_SB_.LNKB irq 9: [ 9] low,level,sharable 0.10.0 \\_SB_.LNKA irq 9: [ 9] low,level,sharable 0.11.0 \\_SB_.LNKB irq 9: [ 9] low,level,sharable 0.8.1 \\_SB_.LNKA irq 9: [ 9] low,level,sharable 0.6.0 ---- before setting priority for links ------------ ---- before fixup boot-disabled links ------------- ---- after fixup boot-disabled links -------------- ---- arbitrated configuration --------------------- \\_SB_.LNKD irq 9: [ 9] low,level,sharable 0.7.3 \\_SB_.LNKA irq 9: [ 9] low,level,sharable 0.8.0 \\_SB_.LNKC irq 9: [ 9] low,level,sharable 0.9.0 \\_SB_.LNKB irq 9: [ 9] low,level,sharable 0.10.0 \\_SB_.LNKA irq 9: [ 9] low,level,sharable 0.11.0 \\_SB_.LNKB irq 9: [ 9] low,level,sharable 0.8.1 \\_SB_.LNKA irq 9: [ 9] low,level,sharable 0.6.0 pci0: on pcib0 pci0: physical bus=0 map[10]: type 3, range 32, base 00000000, size 26, enabled found-> vendor=0x8086, dev=0x7192, revid=0x03 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0106, statreg=0xa200, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type 1, range 32, base fedef000, size 12, enabled map[14]: type 4, range 32, base 0000fcc0, size 6, enabled map[18]: type 1, range 32, base fec00000, size 20, enabled found-> vendor=0x8086, dev=0x1229, revid=0x08 bus=0, slot=6, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0013, statreg=0x0290, cachelnsz=8 (dwords) lattimer=0x42 (1980 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns) intpin=a, irq=9 powerspec 2 supports D0 D1 D2 D3 current D0 found-> vendor=0x8086, dev=0x7110, revid=0x02 bus=0, slot=7, func=0 class=06-80-00, hdrtype=0x00, mfdev=1 cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type 4, range 32, base 0000fc90, size 4, enabled found-> vendor=0x8086, dev=0x7111, revid=0x01 bus=0, slot=7, func=1 class=01-01-80, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type 4, range 32, base 0000fca0, size 5, enabled found-> vendor=0x8086, dev=0x7112, revid=0x01 bus=0, slot=7, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=d, irq=9 map[90]: type 4, range 32, base 00002180, size 4, enabled found-> vendor=0x8086, dev=0x7113, revid=0x02 bus=0, slot=7, func=3 class=06-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type 3, range 32, base fd000000, size 24, enabled map[14]: type 1, range 32, base fe400000, size 22, enabled map[18]: type 1, range 32, base feb00000, size 20, enabled found-> vendor=0x10c8, dev=0x0005, revid=0x20 bus=0, slot=8, func=0 class=03-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0003, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x80 (3840 ns), mingnt=0x10 (4000 ns), maxlat=0xff (63750 ns) intpin=a, irq=9 powerspec 1 supports D0 D1 D2 D3 current D0 map[10]: type 3, range 32, base fe000000, size 22, enabled map[14]: type 1, range 32, base fea00000, size 20, enabled found-> vendor=0x10c8, dev=0x8005, revid=0x20 bus=0, slot=8, func=1 class=04-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x0002, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=9 powerspec 1 supports D0 D3 current D0 map[10]: type 1, range 32, base fedeec00, size 9, enabled found-> vendor=0x104d, dev=0x8009, revid=0x01 bus=0, slot=9, func=0 class=0c-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0002, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=9 powerspec 1 supports D0 D3 current D0 found-> vendor=0x1180, dev=0x0475, revid=0x00 bus=0, slot=10, func=0 class=06-07-00, hdrtype=0x02, mfdev=0 cmdreg=0x0000, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 powerspec 1 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base fedf0000, size 16, enabled map[14]: type 4, range 32, base 0000fc88, size 3, enabled found-> vendor=0x127a, dev=0x2005, revid=0x01 bus=0, slot=11, func=0 class=07-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0003, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=9 powerspec 2 supports D0 D3 current D3 pci0: at device 6.0 (no driver attached) 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 0xfc90-0xfc9f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xfc90 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=0xfc98 ata1: mask=03 ostat0=50 ostat2=50 ata1-master: ATAPI 00 00 ata1-slave: ATAPI 00 00 ata1: mask=03 stat0=50 stat1=50 ata1-master: ATA 01 a5 ata1-slave: ATA 01 a5 ata1: devices=03 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xfca0-0xfcbf irq 9 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: Texas Instruments UT-USB41 hub, class 9/0, rev 1.10/1.10, addr 2 uhub1: 4 ports with 4 removable, self powered ums0: Microsoft Microsoft IntelliMouse\M-. Explorer, rev 1.10/1.14, addr 3, iclass 3/1 ums0: 5 buttons and Z dir. ukbd0: Behavior Tech. Computer Keyboard with mouse port, rev 1.00/1.00, addr 4, iclass 3/1 kbd: new array size 4 kbd1 at ukbd0 kbd1: ukbd0, generic (0), config:0x0, flags:0x1d0000 ums1: Behavior Tech. Computer Keyboard with mouse port, rev 1.00/1.00, addr 4, iclass 3/1 ums1: 3 buttons intpm0: port 0x2180-0x218f irq 9 at device 7.3 on pci0 intpm0: I/O mapped 2180 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 8000 pci0: at device 8.0 (no driver attached) pcm0: mem 0xfea00000-0xfeafffff,0xfe000000-0xfe3fffff irq 9 at device 8.1 on pci0 pcm0: buftop is 0x0027ec00 pcm0: buftop is changed to 0x0027ec00 pcm0: ac97 codec id 0x414b4d01 (Asahi Kasei AK4542) pcm0: ac97 codec features headphone, 5 bit master volume, AKM 3D Audio pcm0: rec buf 0xcb4c5c00 pcm0: play buf 0xcb4c1c00 pci0: at device 9.0 (no driver attached) cbb0: at device 10.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib0: matched entry for 0.10.INTA (source \\_SB_.LNKB) pcib0: slot 10 INTA is routed to irq 9 pci0: at device 11.0 (no driver attached) speaker0 port 0x61 on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: 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:0x1d0000 psm0: unable to allocate IRQ psmcpnp0 irq 12 on acpi0 psm0: current command byte:0047 psm0: irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 sio0: irq maps: 0x1 0x11 0x1 0x1 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A, console sio1: irq maps: 0x1 0x401 0x1 0x1 sio1 port 0x140-0x147,0x3e8-0x3ef irq 10 drq 0 on acpi0 sio1: type 16550A unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) acpi_cmbat0: on acpi0 acpi_acad0: on acpi0 unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it sio: sio0 already exists; skipping it sio: sio1 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: