From owner-freebsd-bugs@FreeBSD.ORG Tue Aug 31 15:30:28 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93B7616A4CF for ; Tue, 31 Aug 2004 15:30:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6504E43D5C for ; Tue, 31 Aug 2004 15:30:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i7VFUS9P073237 for ; Tue, 31 Aug 2004 15:30:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7VFUSAb073236; Tue, 31 Aug 2004 15:30:28 GMT (envelope-from gnats) Resent-Date: Tue, 31 Aug 2004 15:30:28 GMT Resent-Message-Id: <200408311530.i7VFUSAb073236@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Drew Derbyshire Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7F2B16A4CF for ; Tue, 31 Aug 2004 15:27:02 +0000 (GMT) Received: from shub-internet.kew.com (h00062574bf3c.ne.client2.attbi.com [66.30.223.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFD2143D58 for ; Tue, 31 Aug 2004 15:27:01 +0000 (GMT) (envelope-from ahd@kew.com) Received: by shub-internet.kew.com (Postfix, from userid 1001) id B9A2312351; Tue, 31 Aug 2004 11:27:00 -0400 (EDT) Message-Id: <20040831152700.B9A2312351@shub-internet.kew.com> Date: Tue, 31 Aug 2004 11:09:31 -0400 (EDT) From: Drew Derbyshire To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/71198: Lack of PUC device in GENERIC kernel causes interupt lockouts X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Drew Derbyshire List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 15:30:28 -0000 >Number: 71198 >Category: kern >Synopsis: Lack of PUC device in GENERIC kernel causes interupt lockouts >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 31 15:30:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Drew Derbyshire >Release: FreeBSD 5.3-BETA2 i386 >Organization: Kendra Electronic Wonderworks >Environment: System: FreeBSD xena.hh.kew.com 5.3-BETA2 FreeBSD 5.3-BETA2 #0: Sun Aug 29 16:55:04 EDT 2004 ahd@xena.hh.kew.com:/scratch/xena/obj/scratch/current/src/sys/GENERIC_PUC i386 SMP Dell GX300 with dual PIII/733, 1G memory, and devices as listed below. Note PCI Modem and Ethernet are sharing an Interrupt. Aug 29 19:24:06 xena syslogd: kernel boot file is /boot/generic_puc/kernel Copyright (c) 1992-2004 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 5.3-BETA2 #0: Sun Aug 29 16:55:04 EDT 2004 ahd@xena.hh.kew.com:/scratch/xena/obj/scratch/current/src/sys/GENERIC_PUC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (728.44-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383fbff real memory = 1073340416 (1023 MB) avail memory = 1040789504 (992 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf0000000-0xf3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 puc0: port 0xecf8-0xecff irq 18 at device 9.0 on pci2 sio4: on puc0 sio4: type 16550A sio4: unable to activate interrupt in fast mode - using normal mode ahc0: port 0xe800-0xe8ff mem 0xf8fff000-0xf8ffffff irq 19 at device 10.0 on pci2 ahc0: [GIANT-LOCKED] aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs pcib3: at device 11.0 on pci2 pci3: on pcib3 ohci0: mem 0xfafff000-0xfaffffff irq 16 at device 8.0 on pci3 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0 usb0: on ohci0 usb0: USB revision 1.0 uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xfaffe000-0xfaffefff irq 17 at device 8.1 on pci3 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0 usb1: on ohci1 usb1: USB revision 1.0 uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci3: at device 8.2 (no driver attached) fwohci0: mem 0xfaff8000-0xfaffbfff,0xfaffd000-0xfaffd7ff irq 16 at device 12.0 on pci3 fwohci0: [GIANT-LOCKED] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:50:42:b5:c0:0c:f7:9d fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:50:42:0c:f7:9d fwe0: Ethernet address: 02:50:42:0c:f7:9d sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xec00-0xec7f mem 0xf8ffec00-0xf8ffec7f irq 18 at device 12.0 on pci2 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:b0:d0:2b:93:1e xl0: [GIANT-LOCKED] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0xff80-0xff9f irq 19 at device 31.2 on pci0 uhci0: [GIANT-LOCKED] usb2: on uhci0 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A orm0: at iomem 0xcf800-0xcffff,0xc9000-0xcf7ff,0xc0000-0xc8fff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec ATAPI_RESET time = 40us acd0: DVDROM at ata0-master UDMA66 Waiting 15 seconds for SCSI devices to settle da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 35003MB (71687370 512 byte sectors: 255H 63S/T 4462C) da1 at ahc0 bus 0 target 2 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 31, 16bit), Tagged Queueing Enabled da1: 17366MB (35566499 512 byte sectors: 255H 63S/T 2213C) SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/da0s2a ipfw2 initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled >Description: If PUC device is not included on a system with a PCI modem or serial port (SIO device), the serial port will commandeer the IRQ, causing any other devices sharing the IRQ to fail to initialize. This can cripple the booting system to the point the only work around is physically ripping the offending device out. Note that a PCI SIO device cannot be disabled by the user kernel configuration screens, so this problem can be prevent a binary install of of the system if the modem and disk controller are sharing an IRQ. This can prevent FreeBSD installation. >How-To-Repeat: Boot a reasonably equipped system with a PCI hardware modem installed using the FreeBSD install CD with the GENERIC kernel. >Fix: Add PUC device to GENERIC kernel so devices are not disabled during and after install by poor IRQ management. >Release-Note: >Audit-Trail: >Unformatted: