Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2000 08:45:49 -0700 (PDT)
From:      Frank Mayhar <frank@exit.com>
To:        stable@freebsd.org
Subject:   Problems w/USB on -stable.
Message-ID:  <200008171545.IAA39497@realtime.exit.com>

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

--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: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 14 at device 4.2 on pci0
	usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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 
# <URL:http://www.FreeBSD.ORG/>;
#
# 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
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: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva TNT2 graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
pci0: <Intel PIIX4 ATA controller> at 4.1
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 14 at device 4.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <Intel 82371AB Power management controller> port 0xe800-0xe80f irq 9 at device 4.3 on pci0
intpm0: I/O mapped e800
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped e400 
ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> 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: <Compaq Netelligent 10/100> port 0xb800-0xb80f mem 0xcb000000-0xcb00000f irq 14 at device 9.0 on pci0
tl0: Ethernet address: 00:08:c7:b1:93:c3
miibus0: <MII bus> on tl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlphy0: <ThunderLAN 10baseT media interface> on miibus0
tlphy0:  10base2/BNC, 10base5/AUI
pcm0: <Creative EMU10K1> port 0xb400-0xb41f irq 15 at device 10.0 on pci0
isa0: too many memory ranges
fdc0: <NEC 72065B or clone> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: failed to get data.
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> 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: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
unknown: <PNP0400> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown0: <PNP0c01> at iomem 0-0x9ffff,0x100000-0x1fffffff,0xe8000-0xeffff,0xf0000-0xf3fff,0xf4000-0xf7fff,0xf8000-0xfffff,0xd5800-0xd7fff,0xfec00000-0xfec00fff on isa0
unknown1: <PNP0100> at port 0x40-0x43 irq 0 on isa0
unknown2: <PNP0b00> at port 0x70-0x71 irq 8 on isa0
unknown: <PNP0303> can't assign resources
unknown3: <PNP0c04> at port 0xf0 irq 13 on isa0
unknown4: <PNP0200> at port 0-0xf,0x80-0x90,0x94-0x9f,0xc0-0xde drq 4 on isa0
unknown5: <PNP0800> at port 0x61 on isa0
unknown6: <PNP0a03> at port 0xcf8-0xcff on isa0
unknown: <PNP0c02> 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: <Seagate STT8000N 4.51> 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: <IBM DGHS09U 0350> 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: <QUANTUM ATLAS IV 18 WLS 0909> 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: <COMPAQ HD0093172C 3208> 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: <YAMAHA CRW4416S 1.0g> 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: <TOSHIBA CD-ROM XM-6201TA 1037> 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




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