From owner-freebsd-current@FreeBSD.ORG Tue Dec 9 09:05:51 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF2DA16A4CE for ; Tue, 9 Dec 2003 09:05:51 -0800 (PST) Received: from ns1.san.rr.com (66-27-66-186.san.rr.com [66.27.66.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE73643D1F for ; Tue, 9 Dec 2003 09:05:47 -0800 (PST) (envelope-from amrx@ns1.san.rr.com) Received: from ns1.san.rr.com (localhost [127.0.0.1]) by ns1.san.rr.com (8.12.9/8.12.9) with ESMTP id hB9H6BJe007333 for ; Tue, 9 Dec 2003 09:06:11 -0800 (PST) (envelope-from amrx@ns1.san.rr.com) Received: (from amrx@localhost) by ns1.san.rr.com (8.12.9/8.12.9/Submit) id hB9H6BLu007332 for current@freebsd.org; Tue, 9 Dec 2003 09:06:11 -0800 (PST) Date: Tue, 9 Dec 2003 09:06:11 -0800 (PST) Message-Id: <200312091706.hB9H6BLu007332@ns1.san.rr.com> To: current@freebsd.org From: Andrew Marks Subject: NEC uPD 9210 USB controller not working, Could not map memory X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2003 17:05:52 -0000 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: at device 9.0 on pci0 ohci1: Could not map memory device_probe_and_attach: ohci1 attach returned 6 ohci1: at device 9.1 on pci0 ohci1: Could not map memory device_probe_and_attach: ohci1 attach returned 6 and of pciconf -vl: ------------------------------------------------- none3@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@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@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@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: 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: port 0x530-0x537 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: 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: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) ohci0: mem 0xe8014000-0xe8014fff irq 11 at device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: 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: port 0x1000-0x10ff mem 0xe8015000-0xe8015fff irq 9 at device 4.0 on pci0 pcm0: alpm0: 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: at device 7.0 on pci0 isa0: on isab0 ohci1: at device 9.0 on pci0 ohci1: Could not map memory device_probe_and_attach: ohci1 attach returned 6 ohci1: at device 9.1 on pci0 ohci1: Could not map memory device_probe_and_attach: ohci1 attach returned 6 pci0: at device 9.2 (no driver attached) cbb0: irq 9 at device 12.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [MPSAFE] atapci0: 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: port 0x8000-0x80ff mem 0xe8016800-0xe80168ff irq 9 at device 16.0 on pci0 rl0: Ethernet address: 00:0b:5d:0d:19:db miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto wi0: 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: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:00:0e:f0:5a:ca sbp0: 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: 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: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_lid0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 acpi_ec0: port 0x66,0x62 on acpi0 npx0: [FAST] npx0: on motherboard npx0: INT 16 interface orm0: