Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2002 22:42:03 +0100 (CET)
From:      Anders Nordby <anders@fix.no>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/35010: pcm0 fails to attach with Intel 82801BA (ICH2, Acer TravelMate 613 TXV) / system freeze
Message-ID:  <20020216214203.049E43C93@totem.fix.no>

next in thread | raw e-mail | index | archive | help

>Number:         35010
>Category:       kern
>Synopsis:       pcm0 fails to attach with Intel 82801BA (ICH2, Acer TravelMate 613 TXV) / system freeze
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 16 13:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Anders Nordby
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Fluxpod Information eXchange
>Environment:

FreeBSD lappy 4.5-STABLE FreeBSD 4.5-STABLE #1: Fri Feb 15 22:42:06 CET 2002     root@:/usr/obj/usr/src/sys/LAPPY  i386

kern.osreldate: 450000

(-stable source fetched february 11 2002)

>Description:

The pcm driver fails to map IO port space upon booting:

Feb 12 02:52:36 lappy /kernel: Copyright (c) 1992-2002 The FreeBSD Project.
Feb 12 02:52:36 lappy /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Feb 12 02:52:36 lappy /kernel: The Regents of the University of California. All rights reserved.
Feb 12 02:52:36 lappy /kernel: FreeBSD 4.5-STABLE #0: Tue Feb 12 02:05:56 CET 2002
Feb 12 02:52:36 lappy /kernel: root@lappy:/usr/obj/usr/src/sys/LAPPY
Feb 12 02:52:36 lappy /kernel: Timecounter "i8254"  frequency 1193182 Hz
Feb 12 02:52:36 lappy /kernel: CPU: Pentium III/Pentium III Xeon/Celeron (997.82-MHz 686-class CPU)
Feb 12 02:52:36 lappy /kernel: Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
Feb 12 02:52:36 lappy /kernel: Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
Feb 12 02:52:36 lappy /kernel: real memory  = 535232512 (522688K bytes)
Feb 12 02:52:36 lappy /kernel: avail memory = 515706880 (503620K bytes)
Feb 12 02:52:36 lappy /kernel: Preloaded elf kernel "kernel" at 0xc04f1000.
Feb 12 02:52:36 lappy /kernel: Preloaded elf module "linux.ko" at 0xc04f109c.
Feb 12 02:52:36 lappy /kernel: Preloaded elf module "agp.ko" at 0xc04f113c.
Feb 12 02:52:36 lappy /kernel: Pentium Pro MTRR support enabled
Feb 12 02:52:36 lappy /kernel: md0: Malloc disk
Feb 12 02:52:36 lappy /kernel: Using $PIR table, 7 entries at 0xc00fdf50
Feb 12 02:52:36 lappy /kernel: apm0: <APM BIOS> on motherboard
Feb 12 02:52:36 lappy /kernel: apm: found APM BIOS v1.2, connected at v1.2
Feb 12 02:52:36 lappy /kernel: npx0: <math processor> on motherboard
Feb 12 02:52:36 lappy /kernel: npx0: INT 16 interface
Feb 12 02:52:36 lappy /kernel: pcib0: <Host to PCI bridge> on motherboard
Feb 12 02:52:36 lappy /kernel: pci0: <PCI bus> on pcib0
Feb 12 02:52:36 lappy /kernel: agp0: <Intel 82815 (i815 GMCH) SVGA controller> mem 0xf4000000-0xf407ffff,0xf8000000-0xfbffffff irq 11 at device 2.0 on pci0
Feb 12 02:52:36 lappy /kernel: pcib1: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on pci0
Feb 12 02:52:36 lappy /kernel: pci1: <PCI bus> on pcib1
Feb 12 02:52:36 lappy /kernel: fxp0: <Intel Pro/100 Ethernet> port 0x3000-0x303f mem 0xf4100000-0xf4100fff irq 11 at device 8.0 on pci1
Feb 12 02:52:36 lappy /kernel: fxp0: Ethernet address 00:00:e2:54:b4:bb
Feb 12 02:52:36 lappy /kernel: inphy0: <i82562ET 10/100 media interface> on miibus0
Feb 12 02:52:36 lappy /kernel: inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Feb 12 02:52:36 lappy /kernel: pcic0: <O2micro 6933 PCI-Cardbus Bridge> mem 0x44000000-0x44000fff irq 11 at device 15.0 on pci1
Feb 12 02:52:36 lappy /kernel: pcic0: Warning: O2micro OZ68xx chips may not work
Feb 12 02:52:36 lappy /kernel: pccard0: <PC Card bus (classic)> on pcic0
Feb 12 02:52:36 lappy /kernel: pcic1: <O2micro 6933 PCI-Cardbus Bridge> mem 0x44001000-0x44001fff irq 11 at device 15.1 on pci1
Feb 12 02:52:36 lappy /kernel: pcic1: Warning: O2micro OZ68xx chips may not work
Feb 12 02:52:36 lappy /kernel: pccard1: <PC Card bus (classic)> on pcic1
Feb 12 02:52:36 lappy /kernel: isab0: <PCI to ISA bridge (vendor=8086 device=244c)> at device 31.0 on pci0
Feb 12 02:52:36 lappy /kernel: isa0: <ISA bus> on isab0
Feb 12 02:52:36 lappy /kernel: atapci0: <Intel ICH2 ATA100 controller> port 0x1800-0x180f at device 31.1 on pci0
Feb 12 02:52:36 lappy /kernel: ata0: at 0x1f0 irq 14 on atapci0
Feb 12 02:52:36 lappy /kernel: ata1: at 0x170 irq 15 on atapci0
Feb 12 02:52:36 lappy /kernel: uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0x1820-0x183f irq 10 at device 31.2 on pci0
Feb 12 02:52:36 lappy /kernel: usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
Feb 12 02:52:36 lappy /kernel: usb0: USB revision 1.0
Feb 12 02:52:36 lappy /kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
Feb 12 02:52:36 lappy /kernel: uhub0: 2 ports with 2 removable, self powered
Feb 12 02:52:36 lappy /kernel: ums0: Microsoft Microsoft USB Mouse, rev 1.10/20.06, addr 2, iclass 3/1
Feb 12 02:52:36 lappy /kernel: ums0: 3 buttons and Z dir.
Feb 12 02:52:36 lappy /kernel: uscanner0: AGFA  Snapscan1212u_2, rev 1.00/1.32, addr 3
Feb 12 02:52:36 lappy /kernel: pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 10
Feb 12 02:52:36 lappy /kernel: uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0x1840-0x185f irq 11 at device 31.4 on pci0
Feb 12 02:52:36 lappy /kernel: usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
Feb 12 02:52:36 lappy /kernel: usb1: USB revision 1.0
Feb 12 02:52:36 lappy /kernel: uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
Feb 12 02:52:36 lappy /kernel: uhub1: 2 ports with 2 removable, self powered
Feb 12 02:52:36 lappy /kernel: pcm0: <Intel 82801BA (ICH2)> irq 10 at device 31.5 on pci0
Feb 12 02:52:36 lappy /kernel: pcm0: unable to map IO port space
Feb 12 02:52:36 lappy /kernel: device_probe_and_attach: pcm0 attach returned 6
Feb 12 02:52:36 lappy /kernel: pci0: <unknown card> (vendor=0x8086, dev=0x2446) at 31.6 irq 10
Feb 12 02:52:36 lappy /kernel: eisa0: <EISA bus> on motherboard
Feb 12 02:52:36 lappy /kernel: eisa0: unknown card SBA0000 (0x4c410000) at slot 1
Feb 12 02:52:36 lappy /kernel: orm0: <Option ROMs> at iomem 0xc0000-0xcbfff,0xcc000-0xcffff,0xe0000-0xe0fff on isa0
Feb 12 02:52:36 lappy /kernel: fdc0: direction bit not set
Feb 12 02:52:36 lappy /kernel: fdc0: cmd 3 failed at out byte 1 of 3
Feb 12 02:52:36 lappy /kernel: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
Feb 12 02:52:36 lappy /kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
Feb 12 02:52:36 lappy /kernel: kbd0 at atkbd0
Feb 12 02:52:36 lappy /kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Feb 12 02:52:36 lappy /kernel: psm0: model Generic PS/2 mouse, device ID 0
Feb 12 02:52:36 lappy /kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Feb 12 02:52:36 lappy /kernel: sc0: <System console> at flags 0x100 on isa0
Feb 12 02:52:36 lappy /kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Feb 12 02:52:36 lappy /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
Feb 12 02:52:36 lappy /kernel: sio0: type 16550A
Feb 12 02:52:36 lappy /kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0
Feb 12 02:52:36 lappy /kernel: sio1: type 16550A
Feb 12 02:52:36 lappy /kernel: ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
Feb 12 02:52:36 lappy /kernel: ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
Feb 12 02:52:36 lappy /kernel: plip0: <PLIP network interface> on ppbus0
Feb 12 02:52:36 lappy /kernel: lpt0: <Printer> on ppbus0
Feb 12 02:52:36 lappy /kernel: lpt0: Interrupt-driven port
Feb 12 02:52:36 lappy /kernel: ppi0: <Parallel I/O> on ppbus0
Feb 12 02:52:36 lappy /kernel: IP Filter: v3.4.20 initialized.  Default = block all, Logging = enabled
Feb 12 02:52:36 lappy /kernel: ad0: 19077MB <IC25N020ATDA04-0> [38760/16/63] at ata0-master UDMA100
Feb 12 02:52:36 lappy /kernel: acd0: DVD-ROM <TOSHIBA DVD-ROM SD-C2502> at ata1-master using PIO4
Feb 12 02:52:36 lappy /kernel: Mounting root from ufs:/dev/ad0s3a
Feb 12 02:52:36 lappy /kernel: pccard: card inserted, slot 1

After a cold boot, the system freezes completely right after
reporting the "pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3
irq 10" message. This happens if I have pcm in the kernel or use
snd_ich_load="YES" in /boot/loader.conf. If I try removing pcm from the
kernel and load snd_ich with kldload manually after the system is up, I
get this behavior (but no freeze):

Feb 16 12:42:05 lappy /kernel: pcm0: <Intel 82801BA (ICH2)> irq 10 at device 31.5 on pci0
Feb 16 12:42:05 lappy /kernel: pcm0: unable to map IO port space
Feb 16 12:42:05 lappy /kernel: device_probe_and_attach: pcm0 attach returned 6
Feb 16 12:55:57 lappy su: anders to root on /dev/ttyp3

pciconf -l -v shows:

# pciconf -l -v
chip0@pci0:0:0:	class=0x060000 card=0x10161025 chip=0x11308086 rev=0x11 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82815/EM/EP/P 815/EM/EP/P (Solano) Host to I/O Hub Bridge'
    class    = bridge
    subclass = HOST-PCI
agp0@pci0:2:0:	class=0x030000 card=0x10161025 chip=0x11328086 rev=0x11 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82815/EM/EP/P 815/EM/EP/P (Solano) Interal GUI Accelerator'
    class    = display
    subclass = VGA
pcib1@pci0:30:0:	class=0x060400 card=0x00000000 chip=0x24488086 rev=0x03 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801BAM/CAM Hub Interface to PCI Bridge (Camino 2)'
    class    = bridge
    subclass = PCI-PCI
isab0@pci0:31:0:	class=0x060100 card=0x00000000 chip=0x244c8086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801BAM (ICH2) LPC Interface Controller'
    class    = bridge
    subclass = PCI-ISA
atapci0@pci0:31:1:	class=0x010180 card=0x10161025 chip=0x244a8086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801BAM (ICH2) UltraDMA/100 IDE Controller'
    class    = mass storage
    subclass = ATA
uhci0@pci0:31:2:	class=0x0c0300 card=0x10161025 chip=0x24428086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801BA/BAM (ICH2) USB Universal Host Controller'
    class    = serial bus
    subclass = USB
none0@pci0:31:3:	class=0x0c0500 card=0x10161025 chip=0x24438086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801BA/BAM (ICH2) SMBus Controller'
    class    = serial bus
    subclass = SMBus
uhci1@pci0:31:4:	class=0x0c0300 card=0x10161025 chip=0x24448086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801BA/BAM (ICH2) USB Universal Host Controller'
    class    = serial bus
    subclass = USB
none1@pci0:31:5:	class=0x040100 card=0x10161025 chip=0x24458086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801BA/BAM (ICH2) AC'97 Audio Controller'
    class    = multimedia
    subclass = audio
none2@pci0:31:6:	class=0x070300 card=0x10161025 chip=0x24468086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801BA/BAM (ICH2) AC'97 Modem Controller'
    class    = simple comms
fxp0@pci1:8:0:	class=0x020000 card=0x30138086 chip=0x24498086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82701BA (ICH2) LAN Controller'
    class    = network
    subclass = ethernet
pcic0@pci1:15:0:	class=0x060700 card=0x10161025 chip=0x69331217 rev=0x02 hdr=0x02
    vendor   = 'O2 Micro Inc'
    device   = 'OZ6933 CardBus Controller'
    class    = bridge
    subclass = PCI-CardBus
pcic1@pci1:15:1:	class=0x060700 card=0x10161025 chip=0x69331217 rev=0x02 hdr=0x02
    vendor   = 'O2 Micro Inc'
    device   = 'OZ6933 CardBus Controller'
    class    = bridge
    subclass = PCI-CardBus

>How-To-Repeat:

	<Code/input/activities to reproduce the problem (multiple lines)>

>Fix:

N/A
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020216214203.049E43C93>