Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 1999 19:29:31 +0200
From:      sthaug@nethelp.no
To:        freebsd-current@freebsd.org
Subject:   current unable to attach USB, Power Mgmt, sound
Message-ID:  <38975.940094971@verdi.nethelp.no>

next in thread | raw e-mail | index | archive | help
Current as of 8. october attached USB, Power Mgmt, sound just fine.
Current as of today no longer does. Here are the relevant bits of a
dmesg diff:

< usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
< uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
< uhub0: 2 ports with 2 removable, self powered
---
> uhci0: could not map ports
> device_probe_and_attach: uhci0 attach returned 6

< intpm0: I/O mapped 5000
< 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 4000 
---
> intpm0: Could not allocate Bus space
> device_probe_and_attach: intpm0 attach returned 6

> pcm0: unable to map register space
> device_probe_and_attach: pcm0 attach returned 6

This is an Abit BP6 board with two Celeron 366, 256 MByte memory, one
Soundblaster PCI 128 (pcm0) and one Hoontech (pcm1) sound card. Below is
the complete dmesg from today's current, and the kernel config.

(The "pci0: unknown card" is the HPT ATA-66 controller on the BP6 board.)

It may be relevant that fxp0, pcm0 and uhci0 all use IRQ 19. However, fxp0
works just fine - I can login the machine across the net.

Any ideas?

Steinar Haug, Nethelp consulting, sthaug@nethelp.no
----------------------------------------------------------------------
Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #0: Sat Oct 16 13:57:17 CEST 1999
    sthaug@bp6.nethelp.no:/local/freebsd-current/src/sys/compile/BP6_MP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Celeron (367.50-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 268435456 (262144K bytes)
avail memory = 257048576 (251024K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Pentium Pro MTRR support enabled
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
vga-pci0: <ATI model 4742 graphics accelerator> irq 16 at device 0.0 on pci1
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> at device 7.1 on pci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> irq 19 at device 7.2 on pci0
uhci0: could not map ports
device_probe_and_attach: uhci0 attach returned 6
Timecounter "PIIX"  frequency 3579545 Hz
intpm0: <Intel 82371AB Power management controller> at device 7.3 on pci0
intpm0: Could not allocate Bus space
device_probe_and_attach: intpm0 attach returned 6
pcm0: <AudioPCI ES1370> irq 19 at device 9.0 on pci0
pcm0: unable to map register space
device_probe_and_attach: pcm0 attach returned 6
ti0: <Netgear GA620 Gigabit Ethernet> irq 18 at device 11.0 on pci0
ti0: Ethernet address: 00:a0:cc:73:32:dd
ncr0: <ncr 53c875 fast20 wide scsi> irq 17 at device 13.0 on pci0
pcm1: <Trident 4DWave NX> irq 16 at device 15.0 on pci0
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> irq 19 at device 17.0 on pci0
fxp0: Ethernet address 00:a0:c9:b6:df:4b
pci0: unknown card (vendor=0x1103, dev=0x0004) at 19.0 irq 18
pci0: unknown card (vendor=0x1103, dev=0x0004) at 19.1 irq 18
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
wdc0 at port 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa0
wdc0: unit 0 (wd0): <IBM-DTTA-351010>, DMA, 32-bit, multi-block-16
wd0: 9671MB (19807200 sectors), 19650 cyls, 16 heads, 63 S/T, 512 B/S
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 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 flags 0x40 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus 0
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
Waiting 3 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
Creating DISK cd0
changing root device to wd0s1d
cd0 at ncr0 bus 0 target 3 lun 0
cd0: <PLEXTOR CD-ROM PX-32TS 1.03> Removable CD-ROM SCSI-2 device 
cd0: 20.000MB/s transfers (20.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
----------------------------------------------------------------------
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.195 1999/10/16 05:24:12 wpaul Exp $

machine		i386
cpu		I686_CPU
ident		BP6_MP
maxusers	32

makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	NFS			#Network Filesystem
options 	NFS_ROOT		#NFS usable as root device, "NFS" req'ed
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	CD9660_ROOT		#CD-ROM usable as root. "CD9660" req'ed
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=3000		#Be pessimistic about Joe SCSI device
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) syscall trace support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options		SOFTUPDATES
options		MSGBUF_SIZE=32768
options		INCLUDE_CONFIG_FILE	# Include this file in kernel
options		DDB

options 	SMP			# Symmetric MultiProcessor Kernel
options 	APIC_IO			# Symmetric (APIC) I/O

controller	isa0
controller	pnp0			# PnP support for ISA
controller	pci0

controller	fdc0	at isa? port IO_FD1 irq 6 drq 2
disk		fd0	at fdc0 drive 0

controller	wdc0	at isa? port IO_WD1 irq 14 flags 0xa0ffa0ff
disk		wd0	at wdc0 drive 0
controller	wdc1	at isa? port IO_WD2 irq 15 flags 0xa0ffa0ff
disk		wd2	at wdc1 drive 0
#device		wcd0		#IDE CD-ROM

controller	ncr0		# NCR/Symbios Logic
controller	scbus0		# SCSI bus (required)
device		da0		# Direct Access (disks)
device		sa0		# Sequential Access (tape etc)
device		cd0		# CD
device		pass0		# Passthrough device (direct SCSI access)

controller	atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1
device		psm0	at atkbdc? irq 12
device		vga0	at isa? port ? conflicts
device		sc0	at isa?
device		npx0	at nexus? port IO_NPX irq 13
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3
device		ppc0	at isa? port? flags 0x40 irq 7
controller	ppbus0		# Parallel port bus (required)
device		lpt0		# Printer
device		plip0		# TCP/IP over parallel
device		ppi0		# Parallel port interface device
#controller	vpo0		# Requires scbus and da0

device		pcm0

controller	smbus0
controller	iicbus0
controller	iicbb0
controller	intpm0
device		smb0	at smbus?

device		de0		# DEC/Intel DC21x4x (``Tulip'')
device		fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
device		ti0		# Alteon Tigon based cards (Netgear GA620 etc)

pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	ppp	1	# Kernel PPP
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	bpf		#Berkeley packet filter

controller	uhci0		# UHCI PCI->USB interface
controller	ohci0		# OHCI PCI->USB interface
controller	usb0		# USB Bus (required)
device		ugen0		# Generic
#device		uhid0		# "Human Interface Devices"
#device		ukbd0		# Keyboard
#device		ulpt0		# Printer
#controller	umass0		# Disks/Mass storage - Requires scbus and da0
#device		ums0		# Mouse


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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