From owner-freebsd-bugs Fri Jul 19 3:50:33 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 E0CD037B400 for ; Fri, 19 Jul 2002 03:50:07 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C77243E42 for ; Fri, 19 Jul 2002 03:50:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6JAo6JU017751 for ; Fri, 19 Jul 2002 03:50:06 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6JAo67R017750; Fri, 19 Jul 2002 03:50:06 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 566CA37B400; Fri, 19 Jul 2002 03:44:47 -0700 (PDT) Received: from vbook.express.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id B28BC43E64; Fri, 19 Jul 2002 03:44:45 -0700 (PDT) (envelope-from vova@express.ru) Received: from vova by vbook.express.ru with local (Exim 3.36 #1) id 17VVFb-0000Ez-00; Fri, 19 Jul 2002 14:44:43 +0400 Message-Id: Date: Fri, 19 Jul 2002 14:44:43 +0400 From: "Vladimir B.Grebenschikov" Reply-To: "Vladimir B.Grebenschikov" To: FreeBSD-gnats-submit@FreeBSD.org Cc: imp@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/40766: NEWCARD freeses system while card insertion 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: 40766 >Category: kern >Synopsis: NEWCARD freeses system while card insertion >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 19 03:50:06 PDT 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 #4: Fri Jul 19 13:02:10 MSD 2002 root@vbook.express.ru:/usr/local/src/sys/i386/compile/VBOOK i386 Fresh -CURRENT, this night cvsup. Notebook SONY VAIO z505s ACPI enabled pccard part of dmesg output: pccbb0: at device 10.0 on pci0 cardbus0: on pccbb0 pccard0: <16-bit PCCard bus> on pccbb0 (see full dmesg -v at below) Cards tried: Lucent WaveLan Some ATA flash >Description: When I insert card into my notebook FreeBSD freeses, only DDB available stacktrace shows: Debugger(c031f9ef,4,1,0,1) at Debugger+0x58 scgetc(c38d8000,2,da879459,7ad12c1d,c38a37c0) at scgetc+0x454 sckbdevent(c0373ca0,0,c38d8000,c3831ab0,55) at sckbdevent+0x57 atkbd_intr(c0373ca0,0,cd4ffd04,c01c54ce,c0373ca0) at atkbd_intr+0xc1 atkbd_isa_intr(c0373ca0,0,0,0,c0d6a180) at atkbd_isa_intr+0x21 ithread_loop(c38c1000,cd4ffd48,0,0,0) at ithread_loop+0xbe fork_exit(c01c5410,c38c1000,cd4ffd48) at fork_exit+0x70 fork_trampoline() at fork_trampoline+0x1a and some stacktarces like this, all contains: ====================== ithread_loop fork_exit fork_trampoline ====================== If I boot with card inserted - I have working driver: pccbb0: at device 10.0 on pci0 cardbus0: on pccbb0 pccard0: <16-bit PCCard bus> on pccbb0 ... 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; rdybsy_active wp_active bvd_active io16 irqpulse irqlevel wi0: at port 0x100-0x13f irq 9 function 0 config 1 on pccard0 wi0: 802.11 address: 00:02:2d:09:53:f6 wi0: using Lucent Technologies, WaveLAN/IEEE wi0: Lucent Firmware: Station 6.06.01 wi0: wi_has_wep = 1 Removing card - lead to exactly same situation as inserting - no any response Note: with OLDCARD I have seen similar behaviour (can get card working only if card preinserted). Any suggestions ? >How-To-Repeat: Insert any pccard into SONY VAIO z505s with CURRENT dated 19/07/2002 >Fix: do not know Full dmesg output (card was not inserted while 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 #4: Fri Jul 19 13:02:10 MSD 2002 root@vbook.express.ru:/usr/local/src/sys/i386/compile/VBOOK Preloaded elf kernel "/boot/kernel/kernel" at 0xc0493000. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc04930b4. Preloaded elf module "/boot/kernel/snd_neomagic.ko" at 0xc0493160. Preloaded elf module "/boot/kernel/ukbd.ko" at 0xc0493214. Preloaded elf module "/boot/kernel/usb.ko" at 0xc04932c0. Preloaded elf module "/boot/kernel/ums.ko" at 0xc0493368. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0493410. Calibrating clock(s) ... TSC clock: 331562419 Hz, i8254 clock: 1193123 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 331580673 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 (196544K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x004ba000 - 0x0bfe7fff, 196272128 bytes (47918 pages) avail memory = 189980672 (185528K bytes) 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: random: mem: Pentium Pro MTRR support enabled null: pci_open(1): mode 1 addr port (0x0cf8) is 0x80003ac0 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 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 = 2, max = 7, width = 6 ACPI timer looks BAD min = 2, max = 8, width = 7 ACPI timer looks BAD min = 2, max = 9, width = 8 ACPI timer looks BAD min = 2, max = 9, width = 8 ACPI timer looks BAD min = 2, max = 8, width = 7 ACPI timer looks BAD min = 2, max = 11, width = 10 ACPI timer looks BAD min = 2, max = 9, width = 8 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 = 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 acpi_pcib0: port 0xcf8-0xcff on acpi0 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 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 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 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 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 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 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 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 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 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 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 intpin=a, irq=9 powerspec 2 supports D0 D3 current D3 pci0: on acpi_pcib0 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 dev ice 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 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 0xce9ffc00 pcm0: play buf 0xce9fbc00 pci0: at device 9.0 (no driver attached) pccbb0: at device 10.0 on pci0 cardbus0: on pccbb0 pccard0: <16-bit PCCard bus> on pccbb0 acpi_pcib0: matched entry for 0.10.INTA (source \\_SB_.LNKB) acpi_pcib0: device is routed to IRQ 9 pci0: at device 11.0 (no driver attached) atspeaker0 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) ppc0: using extended I/O port range ppc0: ECP SPP ECP+EPP SPP ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: on ppbus0 bpf: lp0 attached lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 vpo0: can't connect to the drive imm0: (disconnect) s1=0x38 s2=0x38, s3=0x38 imm0: (connect) s1=0x38 s2=0x38, s3=0x38 imm0: (connect) s1=0x38 s2=0x38, s3=0x38 imm0: (connect) s1=0x38 s2=0x38, s3=0x38 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 ppc: ppc0 already exists; skipping it sc: sc0 already exists; skipping it sio: sio0 already exists; skipping it sio: sio1 already exists; skipping it vga: vga0 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 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: