NetBSD Problem Report #38868

From gson@gson.org  Thu Jun  5 13:45:31 2008
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 5D20963BA89
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  5 Jun 2008 13:45:31 +0000 (UTC)
Message-Id: <20080605134528.3D4A87616A@guava.gson.org>
Date: Thu,  5 Jun 2008 16:45:28 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@gnats.NetBSD.org
Subject: uhci0: can't map i/o space on Fujitsu-Siemens Lifebook S-4546
X-Send-Pr-Version: 3.95

>Number:         38868
>Category:       kern
>Synopsis:       uhci0: can't map i/o space on Fujitsu-Siemens Lifebook S-4546
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 05 13:50:00 +0000 2008
>Closed-Date:    Thu Jan 02 13:48:18 +0000 2020
>Last-Modified:  Thu Jan 02 13:48:18 +0000 2020
>Originator:     Andreas Gustafsson
>Release:        NetBSD 4.99.64, -current source of 20080602-2224 EET
>Organization:
>Environment:
System: NetBSD gunilla.gson.org 4.99.64
Architecture: i386
Machine: i386
>Description:

Booting a -current live CD kernel based on GENERIC on a
Fujitsu-Siemens Lifebook S-4546 laptop, the USB controller fails to
attach:

  uhci0 at pci0 dev 7 function 2: vendor 0x8086 product 0x719a (rev. 0x00)
  uhci0: can't map i/o space

This is not a new problem; I have also tried the NetBSD 2.1, 3.0, and
4.0 install CDs (all with the standard INSTALL kernel, not a
INSTALL_LAPTOP kernel), and they all behave the same way.

>How-To-Repeat:

Attempt to boot any version of NetBSD on a Fujitsu-Siemens Lifebook S-4546.

>Fix:

>Release-Note:

>Audit-Trail:
From: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/38868: uhci0: can't map i/o space on Fujitsu-Siemens Lifebook S-4546
Date: Thu, 5 Jun 2008 17:14:03 +0300

 Here's the full dmesg:

 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008
     The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

 NetBSD 4.99.64 (MKLIVECD) #0: Wed Jun  4 19:09:08 EEST 2008
 	root@current.araneus.fi:/root/livecd/work/MKLIVECD
 multiboot: Information structure flags: 0x000007e7
 multiboot: Boot loader: GNU GRUB 0.97
 multiboot: Command line: /boot/grub/KERN-LIVECD.gz
 multiboot: 638 KB lower memory, 260992 KB upper memory
 multiboot: Symbol table at 0xc0cf5314, length 564864 bytes
 multiboot: String table at 0xc0d7f194, length 516281 bytes
 total memory = 255 MB
 avail memory = 237 MB
 timecounter: Timecounters tick every 10.000 msec
 timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 FUJITSU SIEMENS LIFEBOOK S Series ( )
 mainbus0 (root)
 cpu0 at mainbus0: Intel 686-class, 597MHz, id 0x686
 acpi0 at mainbus0: Intel ACPICA 20080321
 acpi0: X/RSDT: OemId <FUJ   ,THYME   ,01530000>, AslId <FUJ ,00001000>
 LNKB: ACPI: Found matching pin for 0.0.INTB at func 1: 9
 LNKD: ACPI: Found matching pin for 0.7.INTD at func 2: 15
 LNKC: ACPI: Found matching pin for 0.20.INTA at func 0: 9
 LNKA: ACPI: Found matching pin for 0.19.INTA at func 0: 9
 LNKB: ACPI: Found matching pin for 0.19.INTB at func 1: 9
 LNKC: ACPI: Found matching pin for 0.18.INTA at func 0: 9
 acpi0: SCI interrupting at int 9
 acpi0: fixed-feature power button present
 timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
 ACPI-Fast 24-bit timer
 npx1 at acpi0 (MATH, PNP0C04)
 npx1: io 0xf0-0xfe irq 13
 npx1: reported by CPUID; using exception 16
 attimer1 at acpi0 (TIME, PNP0100): AT Timer
 attimer1: io 0x40-0x43 irq 0
 pcppi1 at acpi0 (SPKR, PNP0800)
 pcppi1: io 0x61
 midi0 at pcppi1: PC speaker (CPU-intensive output)
 sysbeep0 at pcppi1
 pckbc1 at acpi0 (PS2M, PNP0F13): aux port
 pckbc1: irq 12
 pckbc2 at acpi0 (KBC, PNP0303): kbd port
 pckbc2: io 0x60,0x64 irq 1
 acpiec0 at acpi0 (EC, PNP0C09): ACPI Embedded Controller
 acpiec0: io 0x62,0x66
 UAR1 (PNP0501) at acpi0 not configured
 FIR (SMCF010) at acpi0 not configured
 LPT (PNP0400) at acpi0 not configured
 FDC (PNP0700) at acpi0 not configured
 FJEX (FUJ02B1) at acpi0 not configured
 acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
 acpiacad0 at acpi0 (AC, ACPI0003): ACPI AC Adapter
 acpibat0 at acpi0 (CMB1, PNP0C0A-1): ACPI Battery (Control Method)
 acpibat0: battery info: Fujitsu, LION, CP024486-XX 1
 acpibat1 at acpi0 (CMB2, PNP0C0A-2): ACPI Battery (Control Method)
 acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
 apm0 at acpi0: Power Management spec V1.2
 attimer1: attached to pcppi1
 pckbd0 at pckbc2 (kbd slot)
 pckbc2: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard
 pms0 at pckbc2 (aux slot)
 pckbc2: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 pci0 at mainbus0 bus 0: configuration mode 1
 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 pchb0 at pci0 dev 0 function 0
 pchb0: vendor 0x8086 product 0x7194 (rev. 0x01)
 auich0 at pci0 dev 0 function 1: i82440MX AC-97 Audio
 auich0: interrupting at irq 9
 auich0: DMA bug workaround enabled
 auich0: ac97: Yamaha YMF743-S codec; 18 bit DAC, no 3D stereo
 auich0: ac97: ext id 200<AMAP>
 vendor 0x8086 product 0x7196 (modem communications) at pci0 dev 0 function 2 not configured
 vendor 0x8086 product 0x7198 (miscellaneous bridge, revision 0x01) at pci0 dev 7 function 0 not configured
 piixide0 at pci0 dev 7 function 1
 piixide0: Intel 82440MX IDE controller (rev. 0x00)
 piixide0: bus-master DMA support present
 piixide0: primary channel wired to compatibility mode
 piixide0: primary channel interrupting at irq 14
 atabus0 at piixide0 channel 0
 piixide0: secondary channel wired to compatibility mode
 piixide0: secondary channel ignored (disabled)
 uhci0 at pci0 dev 7 function 2: vendor 0x8086 product 0x719a (rev. 0x00)
 uhci0: can't map i/o space
 piixpm0 at pci0 dev 7 function 3
 piixpm0: vendor 0x8086 product 0x719b (rev. 0x00)
 piixpm0: interrupting at SMI
 iic0 at piixpm0: I2C bus
 fxp0 at pci0 dev 18 function 0: i82559S Ethernet, rev 9
 fxp0: interrupting at irq 9
 fxp0: Ethernet address 00:00:0e:21:a6:e3
 inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 cbb0 at pci0 dev 19 function 0: vendor 0x1217 product 0x6933 (rev. 0x02)
 cbb1 at pci0 dev 19 function 1: vendor 0x1217 product 0x6933 (rev. 0x02)
 vga1 at pci0 dev 20 function 0: vendor 0x1002 product 0x4c52 (rev. 0x64)
 wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
 wsmux1: connecting to wsdisplay0
 drm at vga1 not configured
 cbb0: cacheline 0x0 lattimer 0x10
 cbb0: bhlc 0x821000
 cbb0: interrupting at irq 9
 cardslot0 at cbb0 slot 0 flags 0
 cardbus0 at cardslot0: bus 1
 pcmcia0 at cardslot0
 cbb1: cacheline 0x0 lattimer 0x10
 cbb1: bhlc 0x821000
 cbb1: interrupting at irq 9
 cardslot1 at cbb1 slot 1 flags 0
 cardbus1 at cardslot1: bus 2
 pcmcia1 at cardslot1
 isa0 at mainbus0
 lpt0 at isa0 port 0x378-0x37b irq 7
 com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 acpiacad0: AC adapter online.
 audio0 at auich0: full duplex, independent
 fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
 atapibus0 at atabus0: 2 targets
 cd0 at atapibus0 drive 1: <CD-224E, , 1.7A> cdrom removable
 cd0: 32-bit data port
 cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
 wd0 at atabus0 drive 0: <TOSHIBA MK2016GAP>
 wd0: drive supports 16-sector PIO transfers, LBA addressing
 wd0: 19077 MB, 38760 cyl, 16 head, 63 sec, 512 bytes/sect x 39070080 sectors
 wd0: 32-bit data port
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
 wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
 cd0(piixide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
 Kernelized RAIDframe activated
 Too many symbols for tree, skipping 2520 symbols
 pad0: outputs: 44100Hz, 16-bit, stereo
 audio1 at pad0: half duplex
 boot device: wd0
 root on cd0a
 wsdisplay0: screen 1 added (80x25, vt100 emulation)
 wsdisplay0: screen 2 added (80x25, vt100 emulation)
 wsdisplay0: screen 3 added (80x25, vt100 emulation)
 wsdisplay0: screen 4 added (80x25, vt100 emulation)
 wi0 at pcmcia0 function 0: <Lucent Technologies, WaveLAN/IEEE, Version 01.01, >
 wi0: 802.11 address 00:60:1d:f2:27:87
 wi0: using Lucent Technologies, WaveLAN/IEEE
 wi0: Lucent Firmware: Station (4.52.1)
 wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps

 And the output from "pcictl /dev/pci0 dump -b 0 -d 7 -f 2":

 PCI configuration registers:
   Common header:
     0x00: 0x719a8086 0x02800001 0x0c030000 0x00004000

     Vendor Name: Intel (0x8086)
     Device Name: 82443MX USB Host Controller (0x719a)
     Command register: 0x0001
       I/O space accesses: on
       Memory space accesses: off
       Bus mastering: off
       Special cycles: off
       MWI transactions: off
       Palette snooping: off
       Parity error checking: off
       Address/data stepping: off
       System error (SERR): off
       Fast back-to-back transactions: off
       Interrupt disable: off
     Status register: 0x0280
       Capability List support: off
       66 MHz capable: off
       User Definable Features (UDF) support: off
       Fast back-to-back capable: on
       Data parity error detected: off
       DEVSEL timing: medium (0x1)
       Slave signaled Target Abort: off
       Master received Target Abort: off
       Master received Master Abort: off
       Asserted System Error (SERR): off
       Parity error detected: off
     Class Name: serial bus (0x0c)
     Subclass Name: USB (0x03)
     Interface: 0x00
     Revision ID: 0x00
     BIST: 0x00
     Header Type: 0x00 (0x00)
     Latency Timer: 0x40
     Cache Line Size: 0x00

   Type 0 ("normal" device) header:
     0x10: 0x00000000 0x00000000 0x00000000 0x00000000
     0x20: 0x000014a1 0x00000000 0x00000000 0x00000000
     0x30: 0x00000000 0x00000000 0x00000000 0x0000040f

     Base address register at 0x10
       not implemented(?)
     Base address register at 0x14
       not implemented(?)
     Base address register at 0x18
       not implemented(?)
     Base address register at 0x1c
       not implemented(?)
     Base address register at 0x20
       type: i/o
       base: 0x000014a0, not sized
     Base address register at 0x24
       not implemented(?)
     Cardbus CIS Pointer: 0x00000000
     Subsystem vendor ID: 0x0000
     Subsystem ID: 0x0000
     Expansion ROM Base Address: 0x00000000
     Reserved @ 0x34: 0x00000000
     Reserved @ 0x38: 0x00000000
     Maximum Latency: 0x00
     Minimum Grant: 0x00
     Interrupt pin: 0x04 (pin D)
     Interrupt line: 0x0f

   Device-dependent header:
     0x40: 0x00000000 0x00000000 0x00000000 0x00000000
     0x50: 0x00000000 0x00000000 0x00000000 0x00000000
     0x60: 0x00000010 0x00000000 0x00000000 0x00000000
     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc0: 0x00002000 0x00000000 0x00000000 0x00000000
     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf0: 0x00000000 0x00000000 0x00000f3a 0x00000000

 -- 
 Andreas Gustafsson, gson@gson.org

From: "Jared D. McNeill" <jmcneill@invisible.ca>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, 
 netbsd-bugs@netbsd.org
Subject: Re: kern/38868: uhci0: can't map i/o space on Fujitsu-Siemens Lifebook
 S-4546
Date: Thu, 05 Jun 2008 16:04:06 -0400

 Andreas Gustafsson wrote:

 > Booting a -current live CD kernel based on GENERIC on a
 > Fujitsu-Siemens Lifebook S-4546 laptop, the USB controller fails to
 > attach:
 > 
 >   uhci0 at pci0 dev 7 function 2: vendor 0x8086 product 0x719a (rev. 0x00)
 >   uhci0: can't map i/o space
 > 
 > This is not a new problem; I have also tried the NetBSD 2.1, 3.0, and
 > 4.0 install CDs (all with the standard INSTALL kernel, not a
 > INSTALL_LAPTOP kernel), and they all behave the same way.

 Can you try a kernel with options PCI_ADDR_FIXUP and PCI_BUS_FIXUP ?

From: gson@gson.org (Andreas Gustafsson)
To: "Jared D. McNeill" <jmcneill@invisible.ca>
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/38868: uhci0: can't map i/o space on Fujitsu-Siemens Lifebook
 S-4546
Date: Sun, 8 Jun 2008 12:36:45 +0300

 Jared D. McNeill wrote:
 >  Can you try a kernel with options PCI_ADDR_FIXUP and PCI_BUS_FIXUP ?

 Sure.  With those options enable, uhci0 attaches successfully.
 -- 
 Andreas Gustafsson, gson@gson.org

From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/38868: uhci0: can't map i/o space on Fujitsu-Siemens Lifebook S-4546
Date: Thu, 2 Jan 2020 15:40:17 +0200

 Looks like this bug has been fixed.  Booting a GENERIC kernel built
 from -current as of Dec 8 2019 on the laptop in case, uhci0 attaches
 successfully without having to add any PCI_ADDR_FIXUP or
 PCI_BUS_FIXUP options:

   [     1.000000] NetBSD 9.99.21 (GENERIC) #0: Sun Dec  8 15:09:33 UTC 2019
   [     1.000000]         mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/i386/compile/GENERIC
   [...]
   [     1.002035] uhci0 at pci0 dev 7 function 2: Intel 82443MX USB Host Controller (rev. 0x00)
   [     1.002035] uhci0: interrupting at irq 15

 -- 
 Andreas Gustafsson, gson@gson.org

State-Changed-From-To: open->closed
State-Changed-By: gson@NetBSD.org
State-Changed-When: Thu, 02 Jan 2020 13:48:18 +0000
State-Changed-Why:
Apparently fixed, don't know when or by whom.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.45 2018/12/21 14:23:33 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.