Date: Thu, 11 May 2000 22:32:59 -0500 (CDT) From: Mike Meyer <mwm@mired.org> To: questions@freebsd.org Subject: Not enough IRQs (aka USB printer, take 2) Message-ID: <14619.31595.27356.197446@guru.mired.org>
next in thread | raw e-mail | index | archive | help
--zhwzqgM7T1 Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Well, I solved the problem the USB parallel printer adapter problem. It was an IRQ conflict. If I disable a SCSI controller, it works fine. Which leaves the problem - how do I enable all the devices in my system? And what do I do if I want to add another one? The BIOS allows me to force the IRQ of any of the PCI slots. In the PCI slots I have an AHC2940 (slot 4), an Intel EtherExpress (slot 2), and a BrookTree TV tuner (slot 3). Slots 1 and 5 are empty. I believe (not got the BIOS PCI/PnP stuff in front of me for some reason) I can force PCI slot IRQs to any of 14, 12, 11, 10, 9, 7, 5, 4 or 3. The ones that *aren't* PCI slots on that list are 14 (ata), 12 (psm), 11 (motherboard ahc, shared with etherexpress in slot 2), 10 (soundblaster - moved off of 5 while I was fooling with the system), 9 (usb) 7 (ppc), 3 & 4 (sio ports). Anyone got any advice on how to shuffle the IRQs around amongst the three PCI slots to get a system where everything works? I've attached both dmesg output and the config file. Maybe this should be sent to -hardware (but I'e already asked about the printer here)? Thanx, <mike --zhwzqgM7T1 Content-Type: text/plain Content-Description: dmesg output from last boot Content-Disposition: inline; filename="dmesg" Content-Transfer-Encoding: 7bit Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-RELEASE #25: Thu May 11 22:11:44 CDT 2000 mwm@guru.mired.org:/usr/src/sys/compile/GURU 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 = 268435456 (262144K bytes) avail memory = 257372160 (251340K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 IOAPIC #0 intpin 16 -> irq 11 IOAPIC #0 intpin 17 -> irq 5 IOAPIC #0 intpin 18 -> irq 9 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 Preloaded elf kernel "kernel" at 0xc02f5000. Pentium Pro MTRR support enabled npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82443GX host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib2: <Intel 82443GX (440 GX) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib2 pci1: <ATI Mach64-GB graphics accelerator> at 0.0 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 ATA33 controller> port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xef80-0xef9f irq 9 at device 7.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 ulpt0: Belkin Components (second entry) F5U002 Parallel printer adapter, rev 1.00/1.04, addr 2, iclass 7/1 umodem0: Diamond Multimedia Systems, Inc. SupraExpress 56e USB V.90, rev 1.00/1.00, addr 3, iclass 2/2 umodem0: data interface 1, has CM over data, has break umodem_attach: tty_attach 0xc0cf0400 umodem_attach: make_dev: umodem0 Timecounter "PIIX" frequency 3579545 Hz chip1: <Intel 82371AB Power management controller> port 0x440-0x44f at device 7.3 on pci0 ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> port 0xe800-0xe8ff mem 0xffaff000-0xffafffff irq 11 at device 14.0 on pci0 ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs fxp0: <Intel EtherExpress Pro 10/100B Ethernet> port 0xef40-0xef5f mem 0xff900000-0xff9fffff,0xfebff000-0xfebfffff irq 11 at device 15.0 on pci0 fxp0: Ethernet address 00:90:27:0d:f0:03 bktr0: <BrookTree 878> mem 0xfebfd000-0xfebfdfff irq 5 at device 16.0 on pci0 iicbb0: <I2C generic bit-banging driver> on bti2c0 iicbus0: <Philips I2C bus> on iicbb0 master-only smbus0: <System Management Bus> on bti2c0 bktr0: Hauppauge Model 61291 D110 Hauppauge WinCast/TV, Philips NTSC tuner, remote control. pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 16.1 irq 5 ahc1: <Adaptec 2940 Ultra SCSI adapter> port 0xe400-0xe4ff mem 0xffafe000-0xffafefff irq 9 at device 18.0 on pci0 ahc1: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs pcib1: <Intel 82443GX host to AGP bridge> on motherboard pci2: <PCI bus> on pcib1 isa0: unexpected tag 14 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-0x6f on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 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 <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: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port joy0 at port 0x201 on isa0 sbc0: <Creative SB AWE64> at port 0x220-0x22f,0x300-0x301,0x388-0x38b irq 10 drq 0,5 on isa0 sbc0: setting card to irq 10, drq 0, 5 pcm0: <SB DSP 4.16> on sbc0 joy1: <Generic PnP Joystick> at port 0x208-0x20f on isa0 unknown0: <WaveTable> at port 0x620-0x623 on isa0 APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 SMP: AP CPU #1 Launched! ad0: 9765MB <Maxtor 91024U4> [19841/16/63] at ata0-master using UDMA33 Waiting 15 seconds for SCSI devices to settle Mounting root from ufs:/dev/da0s1a da0 at ahc0 bus 0 target 0 lun 0 da0: <SEAGATE ST39173W 5958> Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C) cd0 at ahc1 bus 0 target 5 lun 0 cd0: <YAMAHA CRW4260 1.0q> Removable CD-ROM SCSI-2 device cd0: 3.300MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed cd1 at ahc1 bus 0 target 6 lun 0 cd1: <PIONEER CD-ROM DR-124X 1.06> Removable CD-ROM SCSI-2 device cd1: 4.629MB/s transfers (4.629MHz, offset 8) cd1: Attempt to query device size failed: NOT READY, Medium not present (da1:ahc1:0:4:0): SCB 0xa - timed out while idle, SEQADDR == 0xa (da1:ahc1:0:4:0): Queuing a BDR SCB (da1:ahc1:0:4:0): Bus Device Reset Message Sent (da1:ahc1:0:4:0): no longer in timeout, status = 34b ahc1: Bus Device Reset on A:4. 1 SCBs aborted da1 at ahc1 bus 0 target 4 lun 0 da1: <iomega jaz 1GB G.72> Removable Direct Access SCSI-2 device da1: 10.000MB/s transfers (10.000MHz, offset 15) da1: 1021MB (2091050 512 byte sectors: 64H 32S/T 1021C) --zhwzqgM7T1 Content-Type: text/plain Content-Description: config file for the dmesg Content-Disposition: inline; filename="GURU" Content-Transfer-Encoding: 7bit # # GURU - makes dual-Xeon workstation. # machine i386 cpu I686_CPU ident GURU maxusers 32 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device options UCONSOLE #Allow users to grab the console options SOFTUPDATES #Fast disk I/O, please. options COMPAT_LINUX #Linux emulation code. # GURU-specific CPU options options PQ_LARGECACHE # Xeon Pentium II here options CPU_FASTER_5X86_FPU # Ah, Yup options NO_F00F_HACK # Not a Pentium # And the ones that make it SMP options SMP options APIC_IO options NCPU=2 device isa device eisa device pci device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device ata device atadisk # SCSI bus devices device scbus device da device pass device cd device ahc options AHC_ALLOW_MEMIO # Enables memory I/O on the AHC. # Hauppage WinTV card support device bktr device iicbus device iicbb device smbus # syscons is the default console driver, resembling an SCO console device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 device vga0 at isa? device sc0 at isa? # serial devices 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 # Parallel port device ppc0 at isa? irq 7 device ppbus device lpt # Ethernet controller, and network devices pseudo-device loop pseudo-device ether pseudo-device pty 64 pseudo-device vn 4 # VNode driver. # Disabled options for the LAN & network device fxp #options IPFIREWALL #firewall #options IPFIREWALL_VERBOSE #print information about # and this is the PPP kernel pseudo-device tun 1 # This provides support for System V shared memory. options SYSVSHM options SYSVSEM options SYSVMSG # sound cards device pcm device sbc device joy0 at isa? port IO_GAME # USB devices device usb device uhci device ulpt device umodem options USB_DEBUG=6 options UMODEM_DEBUG=6 --zhwzqgM7T1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14619.31595.27356.197446>