From owner-freebsd-current Sat Oct 16 10:29:44 1999 Delivered-To: freebsd-current@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id 8E3B214BEB for ; Sat, 16 Oct 1999 10:29:33 -0700 (PDT) (envelope-from sthaug@nethelp.no) Received: (qmail 38977 invoked by uid 1001); 16 Oct 1999 17:29:31 +0000 (GMT) To: freebsd-current@freebsd.org Subject: current unable to attach USB, Power Mgmt, sound From: sthaug@nethelp.no X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Sat, 16 Oct 1999 19:29:31 +0200 Message-ID: <38975.940094971@verdi.nethelp.no> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: 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: on intsmb0 < smb0: 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 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vga-pci0: irq 16 at device 0.0 on pci1 isab0: at device 7.0 on pci0 isa0: on isab0 ide_pci0: at device 7.1 on pci0 uhci0: 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: at device 7.3 on pci0 intpm0: Could not allocate Bus space device_probe_and_attach: intpm0 attach returned 6 pcm0: irq 19 at device 9.0 on pci0 pcm0: unable to map register space device_probe_and_attach: pcm0 attach returned 6 ti0: irq 18 at device 11.0 on pci0 ti0: Ethernet address: 00:a0:cc:73:32:dd ncr0: irq 17 at device 13.0 on pci0 pcm1: irq 16 at device 15.0 on pci0 fxp0: 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: 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): , DMA, 32-bit, multi-block-16 wd0: 9671MB (19807200 sectors), 19650 cyls, 16 heads, 63 S/T, 512 B/S atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: 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: on ppbus 0 lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: 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: 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