From owner-freebsd-questions Thu May 11 20:33:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (zoom0-084.telepath.com [216.14.0.84]) by hub.freebsd.org (Postfix) with SMTP id E60CD37B795 for ; Thu, 11 May 2000 20:33:40 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 474 invoked by uid 100); 12 May 2000 03:32:59 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="zhwzqgM7T1" Content-Transfer-Encoding: 7bit Message-ID: <14619.31595.27356.197446@guru.mired.org> Date: Thu, 11 May 2000 22:32:59 -0500 (CDT) To: questions@freebsd.org Subject: Not enough IRQs (aka USB printer, take 2) X-Mailer: VM 6.72 under 21.1 (patch 3) "Acadia" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --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, 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 uhci0: port 0xef80-0xef9f irq 9 at device 7.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 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: port 0x440-0x44f at device 7.3 on pci0 ahc0: 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: 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: mem 0xfebfd000-0xfebfdfff irq 5 at device 16.0 on pci0 iicbb0: on bti2c0 iicbus0: on iicbb0 master-only smbus0: on bti2c0 bktr0: Hauppauge Model 61291 D110 Hauppauge WinCast/TV, Philips NTSC tuner, remote control. pci0: (vendor=0x109e, dev=0x0878) at 16.1 irq 5 ahc1: 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: on motherboard pci2: on pcib1 isa0: unexpected tag 14 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-0x6f on isa0 atkbd0: irq 1 on atkbdc0 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 <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 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode lpt0: on ppbus0 lpt0: Interrupt-driven port joy0 at port 0x201 on isa0 sbc0: 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: on sbc0 joy1: at port 0x208-0x20f on isa0 unknown0: 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 [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: 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: 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: 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: 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