NEC uPD 9210 USB controller not working, Could not map memory

From: Andrew Marks <atm_at_amrx.net>
Date: Tue, 9 Dec 2003 09:06:11 -0800 (PST)
The NEC uPD 9210 USB controller does not work on my laptop.  Its a Fujitsu 
P2120 and I cvsup'd with current about a week ago.  The kernel complains at 
boot and cannot "probe and attach" the device.  I tried to include what I 
thought was relevant information.  Please let me know if there is anything 
else I can do/provide to help solve the problem.

-Andrew Marks


Here is the relevant part of dmesg:
-----------------------------------------------
ohci1: <NEC uPD 9210 USB controller> at device 9.0 on pci0
ohci1: Could not map memory
device_probe_and_attach: ohci1 attach returned 6
ohci1: <NEC uPD 9210 USB controller> at device 9.1 on pci0
ohci1: Could not map memory
device_probe_and_attach: ohci1 attach returned 6

and of pciconf -vl:
-------------------------------------------------
none3_at_pci0:9:0:	class=0x0c0310 card=0x11a310cf chip=0x00351033 rev=0x41 hdr=0x00
    vendor   = 'NEC Electronics Hong Kong'
    device   = 'uPD9210/72010xx USB Open Host Controller'
    class    = serial bus
    subclass = USB
none4_at_pci0:9:1:	class=0x0c0310 card=0x11a310cf chip=0x00351033 rev=0x41 hdr=0x00
    vendor   = 'NEC Electronics Hong Kong'
    device   = 'uPD9210/72010xx USB Open Host Controller'
    class    = serial bus
    subclass = USB
none5_at_pci0:9:2:	class=0x0c0320 card=0x11a310cf chip=0x00e01033 rev=0x02 hdr=0x00
    vendor   = 'NEC Electronics Hong Kong'
    device   = 'uPD720100A/101 USB 2.0 Enhanced Host Controller'
    class    = serial bus
    subclass = USB

and here is my kernel config:
-------------------------------------------------

makeoptions	KERNEL=P2120
machine		i386
cpu		I586_CPU
ident		P2120
options 	SCHED_4BSD		#4BSD scheduler
options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories
options 	MD_ROOT			#MD is a potential root device
options 	NFSCLIENT		#Network Filesystem Client
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		#Pseudo-filesystem framework
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		#Compatible with FreeBSD4
options 	SCSI_DELAY=1000		#Delay (in ms) before probing SCSI
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~128k to driver.
options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~215k to driver.
device		acpi
device		isa
device		pci
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		atapifd			# ATAPI floppy drives
options 	ATA_STATIC_ID		#Static device numbering
device		scbus		# SCSI bus (required for SCSI)
device		da		# Direct Access (disks)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse
device		vga		# VGA video card driver
device		splash		# Splash screen and screen saver support
device		sc
device		agp		# support several AGP chipsets
device		npx
device		apm
device		pmtimer
device		cbb			# cardbus (yenta) bridge
device		pccard			# PC Card (16-bit) bus
device		cardbus			# CardBus (32-bit) bus
device		sio		# 8250, 16[45]50 based serial ports
device		miibus		# MII bus support
device		rl		# RealTek 8129/8139
device		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards
device		wlan		# 802.11 support
device		wi		# WaveLAN/Intersil/Symbol 802.11 wireless NICs.
device		random		# Entropy device
device		loop		# Network loopback
device		ether		# Ethernet support
device		sl		# Kernel SLIP
device		ppp		# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
device		bpf		# Berkeley packet filter
device		firewire	# FireWire bus code
device		sbp		# SCSI over FireWire (Requires scbus and da)
device		fwe		# Ethernet over FireWire (non-standard!)
options 	VESA
device		radeondrm
options 	NETSMB			#SMB/CIFS requester
options 	NETSMBCRYPTO		#encrypted passw
options 	LIBMCHAIN
options 	SMBFS			#SMB/CIFS filesystem
device		atapicam	# emulate ATAPI devices as SCSI ditto via CAM
device		pcm
options 	LIBICONV
device 	        smbus       # Bus support, required for smb below.
device          alpm		# this is what the P uses for SMBUS
device          smb
device		ohci
device		usb
device		ugen
device		uhid
device		ukbd
device		umass
device		umct
device		ums
device		ucom
device		uvisor
options 	USB_DEBUG
options 	IPFIREWALL		#firewall
options 	IPFIREWALL_VERBOSE	#enable logging to syslogd(8)
options 	IPFIREWALL_VERBOSE_LIMIT=100	#limit verbosity



full dmesg output
-----------------------------------------------------
Copyright (c) 1992-2003 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.2-BETA #1: Mon Dec  1 07:39:01 PST 2003
    root_at_joshua:/usr/obj/usr/src/sys/P2120
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0912000.
Preloaded elf module "/boot/kernel/splash_bmp.ko" at 0xc0912244.
Preloaded splash_image_data "/boot/modules/splash.bmp" at 0xc09122f4.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Transmeta(tm) Crusoe(tm) Processor TM5800 (814.39-MHz 586-class CPU)
  Origin = "GenuineTMx86"  Id = 0x543
real memory  = 519962624 (495 MB)
avail memory = 495394816 (472 MB)
netsmb_dev: loaded
VESA: v2.0, 8192k memory, flags:0x1, mode table:0xc08118c2 (1000022)
VESA: ATI MOBILITY RADEON
acpi0: <FUJ    PAULING3> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fdf30
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xff08-0xff0b on acpi0
acpi_cpu0: <CPU> port 0x530-0x537 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 2 INTA is routed to irq 11
pcib0: slot 4 INTA is routed to irq 9
pcib0: slot 12 INTA is routed to irq 9
pcib0: slot 16 INTA is routed to irq 9
pcib0: slot 18 INTA is routed to irq 9
pcib0: slot 19 INTA is routed to irq 9
pcib0: slot 20 INTA is routed to irq 9
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xe8014000-0xe8014fff irq 11 at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
pcm0: <Acer Labs M5451> port 0x1000-0x10ff mem 0xe8015000-0xe8015fff irq 9 at device 4.0 on pci0
pcm0: <Unknown AC97 Codec (id = 0x83847666)>
alpm0: <AcerLabs M15x3 Power Management Unit> at device 6.0 on pci0
alpm0: failed to enable port mapping!
alpm0: Could not allocate Bus space
device_probe_and_attach: alpm0 attach returned 6
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
ohci1: <NEC uPD 9210 USB controller> at device 9.0 on pci0
ohci1: Could not map memory
device_probe_and_attach: ohci1 attach returned 6
ohci1: <NEC uPD 9210 USB controller> at device 9.1 on pci0
ohci1: Could not map memory
device_probe_and_attach: ohci1 attach returned 6
pci0: <serial bus, USB> at device 9.2 (no driver attached)
cbb0: <TI1410 PCI-CardBus Bridge> irq 9 at device 12.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [MPSAFE]
atapci0: <AcerLabs Aladdin UDMA66 controller> port 0x1800-0x180f at device 15.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
rl0: <RealTek 8139 10/100BaseTX> port 0x8000-0x80ff mem 0xe8016800-0xe80168ff irq 9 at device 16.0 on pci0
rl0: Ethernet address: 00:0b:5d:0d:19:db
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
wi0: <Intersil Prism2.5> mem 0xe8017000-0xe8017fff irq 9 at device 18.0 on pci0
wi0: 802.11 address: 00:e0:00:d1:96:c5
wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.1)
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
fwohci0: vendor=104c, dev=8026
fwohci0: <1394 Open Host Controller Interface> mem 0xe8010000-0xe8013fff,0xe8016000-0xe80167ff irq 9 at device 19.0 on pci0
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 00:00:0e:10:00:f0:5a:ca
fwohci0: Phy 1394a available S400, 1 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:00:0e:f0:5a:ca
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
drm0: <ATI Radeon LY Mobility M6> port 0x1400-0x14ff mem 0xe8000000-0xe800ffff,0xf0000000-0xf7ffffff irq 9 at device 20.0 on pci0
info: [drm] Initialized radeon 1.10.0 20020828 on minor 0
acpi_button0: <Power Button> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_cmbat1: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
acpi_ec0: <Embedded Controller: GPE 0> port 0x66,0x62 on acpi0
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <Option ROM> at iomem 0xc0000-0xcdfff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 814387882 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
system power profile changed to 'economy'
GEOM: create disk ad0 dp=0xc472da60
ad0: 38154MB <TOSHIBA MK4021GAS> [77520/16/63] at ata0-master UDMA66
Mounting root from ufs:/dev/ad0s1a

full pciconf -vl output
-----------------------------------------------------------------
hostb0_at_pci0:0:0:	class=0x060000 card=0x110e10cf chip=0x03951279 rev=0x03 hdr=0x00
    vendor   = 'Transmeta Corp.'
    device   = 'LongRun Northbridge'
    class    = bridge
    subclass = HOST-PCI
none0_at_pci0:0:1:	class=0x050000 card=0x110e10cf chip=0x03961279 rev=0x00 hdr=0x00
    vendor   = 'Transmeta Corp.'
    device   = 'SDRAM Controller'
    class    = memory
    subclass = RAM
none1_at_pci0:0:2:	class=0x050000 card=0x110e10cf chip=0x03971279 rev=0x00 hdr=0x00
    vendor   = 'Transmeta Corp.'
    device   = 'BIOS scratchpad'
    class    = memory
    subclass = RAM
ohci0_at_pci0:2:0:	class=0x0c0310 card=0x10a210cf chip=0x523710b9 rev=0x03 hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'ALI M5237 OpenHCI USB Controller'
    class    = serial bus
    subclass = USB
pcm0_at_pci0:4:0:	class=0x040100 card=0x117710cf chip=0x545110b9 rev=0x01 hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'ALI M5451 PCI AC-Link Controller Audio Device'
    class    = multimedia
    subclass = audio
none2_at_pci0:6:0:	class=0x068000 card=0x10a310cf chip=0x710110b9 rev=0x00 hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'ALI M7101 Power Management Controller'
    class    = bridge
    subclass = PCI-unknown
isab0_at_pci0:7:0:	class=0x060100 card=0x153310b9 chip=0x153310b9 rev=0x00 hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'ALI M1533 Aladdin IV ISA Bridge'
    class    = bridge
    subclass = PCI-ISA
none3_at_pci0:9:0:	class=0x0c0310 card=0x11a310cf chip=0x00351033 rev=0x41 hdr=0x00
    vendor   = 'NEC Electronics Hong Kong'
    device   = 'uPD9210/72010xx USB Open Host Controller'
    class    = serial bus
    subclass = USB
none4_at_pci0:9:1:	class=0x0c0310 card=0x11a310cf chip=0x00351033 rev=0x41 hdr=0x00
    vendor   = 'NEC Electronics Hong Kong'
    device   = 'uPD9210/72010xx USB Open Host Controller'
    class    = serial bus
    subclass = USB
none5_at_pci0:9:2:	class=0x0c0320 card=0x11a310cf chip=0x00e01033 rev=0x02 hdr=0x00
    vendor   = 'NEC Electronics Hong Kong'
    device   = 'uPD720100A/101 USB 2.0 Enhanced Host Controller'
    class    = serial bus
    subclass = USB
cbb0_at_pci0:12:0:	class=0x060700 card=0x10c610cf chip=0xac50104c rev=0x01 hdr=0x02
    vendor   = 'Texas Instruments (TI)'
    device   = 'PCI1410 PC card cardBus Controller'
    class    = bridge
    subclass = PCI-CardBus
atapci0_at_pci0:15:0:	class=0x0101fa card=0x10a410cf chip=0x522910b9 rev=0xc3 hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'M1543 Southbridge EIDE Controller'
    class    = mass storage
    subclass = ATA
rl0_at_pci0:16:0:	class=0x020000 card=0x111c10cf chip=0x813910ec rev=0x10 hdr=0x00
    vendor   = 'Realtek Semiconductor'
    device   = 'RT8139 (A/B/C/813x/C+) Fast Ethernet Adapter'
    class    = network
    subclass = ethernet
wi0_at_pci0:18:0:	class=0x028000 card=0x116910cf chip=0x38731260 rev=0x01 hdr=0x00
    vendor   = 'Intersil Americas Inc (Was: Harris Semiconductor)'
    device   = 'PRISM 2.5 802.11b 11Mbps Wireless Controller'
    class    = network
fwohci0_at_pci0:19:0:	class=0x0c0010 card=0x116210cf chip=0x8026104c rev=0x00 hdr=0x00
    vendor   = 'Texas Instruments (TI)'
    device   = 'TSB43AB21 1394a-2000 OHCI PHY/link-layer Controller'
    class    = serial bus
    subclass = FireWire
drm0_at_pci0:20:0:	class=0x030000 card=0x11c810cf chip=0x4c591002 rev=0x00 hdr=0x00
    vendor   = 'ATI Technologies'
    device   = 'Mobility 6 Radeon Mobility M6 LY'
    class    = display
    subclass = VGA
Received on Tue Dec 09 2003 - 08:05:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:33 UTC