From owner-freebsd-stable Thu Aug 17 8:46: 6 2000 Delivered-To: freebsd-stable@freebsd.org Received: from tinker.exit.com (exit-gw.power.net [207.151.46.196]) by hub.freebsd.org (Postfix) with ESMTP id CE1A137B6B8 for ; Thu, 17 Aug 2000 08:45:53 -0700 (PDT) Received: from realtime.exit.com (realtime.exit.com [206.223.0.5]) by tinker.exit.com (8.9.3/8.9.3) with ESMTP id IAA13524 for ; Thu, 17 Aug 2000 08:45:50 -0700 (PDT) (envelope-from frank@exit.com) Received: (from frank@localhost) by realtime.exit.com (8.9.3/8.9.3) id IAA39497 for stable@freebsd.org; Thu, 17 Aug 2000 08:45:49 -0700 (PDT) (envelope-from frank) From: Frank Mayhar Message-Id: <200008171545.IAA39497@realtime.exit.com> Subject: Problems w/USB on -stable. To: stable@freebsd.org Date: Thu, 17 Aug 2000 08:45:49 -0700 (PDT) Reply-To: frank@exit.com Organization: Exit Consulting X-Copyright0: Copyright 2000 Frank Mayhar. All Rights Reserved. X-Copyright1: Permission granted for electronic reproduction as Usenet News or email only. X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM966527149-34951-0_ Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --ELM966527149-34951-0_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit I'm trying to configure my USB ports (for the first time) on an ASUS P2B-DS motherboard running 4-stable (as of yesterday). I'm running into the following problem: uhci0: port 0xd400-0xd41f irq 14 at device 4.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 uhub0: port 1 power on failed, IOERROR uhub0: port 2 power on failed, IOERROR uhub0: device problem, disabling port 1 ...and I can never get either port to work. I've checked and the irq _is_ shared, between uhci0, ahc0 (on-board SCSI) and tl0. I can probably change the last but I'm not certain whether I can change ahc0 (just check the manual, looks like I can't). Any ideas? I've attached the complete dmesg.boot and config files for reference. -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://store.exit.com/ --ELM966527149-34951-0_ Content-Type: text/plain; charset=US-ASCII Content-Disposition: attachment; filename=REALTIME Content-Description: REALTIME Content-Transfer-Encoding: 7bit # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # For more information read the handbook part System Administration -> # Configuring the FreeBSD Kernel -> The Configuration File. # The handbook is available in /usr/share/doc/handbook or online as # latest version from the FreeBSD World Wide Web server # # # An exhaustive list of options and more detailed explanations of the # device lines is present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $Id: GENERIC,v 1.140 1998/12/27 13:55:47 sos Exp $ machine "i386" cpu "I686_CPU" ident REALTIME maxusers 256 #options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options NFS #Network Filesystem options MFS #Memory Filesystem options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options SOFTUPDATES options USER_LDT #allow user-level control of i386 ldt options "P1003_1B" options "_KPOSIX_PRIORITY_SCHEDULING" options _KPOSIX_VERSION=199309L config kernel options DDB #kernel debugger options DDB_UNATTENDED #Recover from panics. # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O # Optionally these may need tweaked, (defaults shown): #options NCPU=2 # number of CPUs options NBUS=3 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs device isa0 device pci0 device fdc0 at isa? port "IO_FD1" irq 6 drq 2 device fd0 at fdc0 drive 0 device fd1 at fdc0 drive 1 #options "CMD640" # work around CMD640 chip deficiency #device wdc0 at isa? port "IO_WD1" irq 14 #device wd0 at wdc0 drive 0 #device wd1 at wdc0 drive 1 #device wdc1 at isa? port "IO_WD2" irq 15 #device wd2 at wdc1 drive 0 #device wd3 at wdc1 drive 1 #options ATAPI #Enable ATAPI support for IDE bus #options ATAPI_STATIC #Don't do it as an LKM #device acd0 #IDE CD-ROM #device wfd0 #IDE Floppy (e.g. LS-120) # A single entry for any of these controllers (ncr, ahb, ahc) is # sufficient for any number of installed devices. #device ncr0 #device ahb0 device ahc0 #device isp0 # This controller offers a number of configuration options, too many to # document here - see the LINT file in this directory and look up the # dpt0 entry there for much fuller documentation on this. #device dpt0 device scbus0 at ahc0 device da0 at scbus0 target 0 device da3 at scbus0 target 14 device sa0 device cd0 #Only need one of these, the code dynamically grows device pass0 options SCSI_DELAY=10000 #Be pessimistic about Joe SCSI device options PNPBIOS device pcm0 device sbc0 #device pcm0 at isa? port ? tty irq ? drq ? flags 0x0 vector pcmintr # atkbdc0 controlls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 device vga0 at isa? port ? # splash screen/screen saver pseudo-device splash # The syscons console driver (sco color console compatible). device sc0 at isa? options MAXCONS=4 device npx0 at nexus? port IO_NPX flags 0x0 irq 13 # # Laptop support (see LINT for more options) # device apm0 at nexus? flags 0x0020 # Advanced Power Management device sio0 at isa? port "IO_COM1" flags 0x10 irq 4 device sio1 at isa? port "IO_COM2" irq 3 device ppbus0 device lpt0 at ppbus? device ppc0 at isa? port? irq 7 device smbus0 # intpm Intel PIIX4 Power Management Unit device intpm0 device smb0 at smbus? device iicbus0 device iicbb0 device ic0 at iicbus? device iic0 at iicbus? device iicsmb0 at iicbus? device miibus0 # MII bus support # The Compaq Netelligent 10/100 NIC (ThunderLan-based). device tl0 pseudo-device loop pseudo-device ether #pseudo-device sl 1 #pseudo-device ppp 1 pseudo-device tun pseudo-device pty pseudo-device gzip # Exec gzipped a.out's pseudo-device vn pseudo-device streams # KTRACE enables the system-call tracing facility ktrace(2). # This adds 4 KB bloat to your kernel, and slightly increases # the costs of each syscall. options KTRACE #kernel tracing # This provides support for System V shared memory. # options SYSVSHM options SYSVSEM options SYSVMSG pseudo-device bpf #Berkeley packet filter # USB support device uhci device ohci device usb # # for the moment we have to specify the priorities of the device # drivers explicitly by the ordering in the list below. This will # be changed in the future. # # Generic USB device driver device ugen # Human Interface Device (anything with buttons and dials) device uhid # USB keyboard device ukbd # USB printer device ulpt # USB Iomega Zip 100 Drive device umass # USB mouse device ums # Rio 500 #device urio #options USB_DEBUG --ELM966527149-34951-0_ Content-Type: text/plain; charset=US-ASCII Content-Disposition: attachment; filename=dmesg.boot Content-Description: dmesg.boot Content-Transfer-Encoding: 7bit Copyright (c) 1992-2000 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 4.1-STABLE #5: Tue Aug 15 15:44:50 PDT 2000 frank@realtime.exit.com:/usr/src/sys/compile/REALTIME Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183fbff real memory = 536858624 (524276K bytes) avail memory = 518881280 (506720K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 IOAPIC #0 intpin 16 -> irq 11 IOAPIC #0 intpin 18 -> irq 15 IOAPIC #0 intpin 19 -> irq 14 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc036e000. Pentium Pro MTRR support enabled apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 isab0: at device 4.0 on pci0 isa0: on isab0 pci0: at 4.1 uhci0: port 0xd400-0xd41f irq 14 at device 4.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 uhub0: port 1 power on failed, IOERROR uhub0: port 2 power on failed, IOERROR uhub0: device problem, disabling port 1 intpm0: port 0xe800-0xe80f irq 9 at device 4.3 on pci0 intpm0: I/O mapped e800 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped e400 ahc0: port 0xd000-0xd0ff mem 0xcb800000-0xcb800fff irq 14 at device 6.0 on pci0 ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs tl0: port 0xb800-0xb80f mem 0xcb000000-0xcb00000f irq 14 at device 9.0 on pci0 tl0: Ethernet address: 00:08:c7:b1:93:c3 miibus0: on tl0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto tlphy0: on miibus0 tlphy0: 10base2/BNC, 10base5/AUI pcm0: port 0xb400-0xb41f irq 15 at device 10.0 on pci0 isa0: too many memory ranges fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 psm0: failed to get data. psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <4 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode lpt0: on ppbus0 lpt0: Interrupt-driven port unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown0: at iomem 0-0x9ffff,0x100000-0x1fffffff,0xe8000-0xeffff,0xf0000-0xf3fff,0xf4000-0xf7fff,0xf8000-0xfffff,0xd5800-0xd7fff,0xfec00000-0xfec00fff on isa0 unknown1: at port 0x40-0x43 irq 0 on isa0 unknown2: at port 0x70-0x71 irq 8 on isa0 unknown: can't assign resources unknown3: at port 0xf0 irq 13 on isa0 unknown4: at port 0-0xf,0x80-0x90,0x94-0x9f,0xc0-0xde drq 4 on isa0 unknown5: at port 0x61 on isa0 unknown6: at port 0xcf8-0xcff on isa0 unknown: can't assign resources Waiting 10 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! (da0:ahc0:0:0:0): Duplicate Wired Device entry! (da0:ahc0:0:0:0): Second device will not be wired sa0 at ahc0 bus 0 target 6 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 10.000MB/s transfers (10.000MHz, offset 15) da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C) da1 at ahc0 bus 0 target 9 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled da1: 17522MB (35885168 512 byte sectors: 255H 63S/T 2233C) da3 at ahc0 bus 0 target 14 lun 0 da3: Fixed Direct Access SCSI-2 device da3: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da3: 8678MB (17773500 512 byte sectors: 255H 63S/T 1106C) Mounting root from ufs:/dev/da0s2a cd0 at ahc0 bus 0 target 3 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 8.333MB/s transfers (8.333MHz, offset 31) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed cd1 at ahc0 bus 0 target 4 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: 10.000MB/s transfers (10.000MHz, offset 16) cd1: Attempt to query device size failed: NOT READY, Medium not present --ELM966527149-34951-0_-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message