From owner-freebsd-current@FreeBSD.ORG Thu Mar 17 20:11:50 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0D9216A4CE for ; Thu, 17 Mar 2005 20:11:50 +0000 (GMT) Received: from mail.qconline.com (mail.qconline.com [204.176.110.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id E137A43D1D for ; Thu, 17 Mar 2005 20:11:49 +0000 (GMT) (envelope-from harrycoin@qconline.com) Received: from devoffice.qconline.com (unverified [64.4.171.82]) by mail.qconline.com for ; Thu, 17 Mar 2005 14:13:09 -0600 Message-Id: <4.3.2.7.2.20050317141121.01dcc770@mail.qconline.com> X-Sender: harrycoin@mail.qconline.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Thu, 17 Mar 2005 14:11:42 -0600 To: freebsd-current@freebsd.org From: Harry Coin Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: atapicam hangs boot on 5.3 5.4pre1 5.4pre2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2005 20:11:50 -0000 On my P4 system with 'umass0' solid-state disk (photography chips) on the USB port, if 'device atapicam' is included Freebsd 5.3 release, 5.4 pre1 and 5.4 pre 2 will hang just before the SMP startup notice in the dmesg trace. If atapicam is removed then the system boots normally. The message it hangs on in place of the SMP message is an interrupt storm on int 18: em0 and uhci2++. Scrolling still works, no recovery ever happens. I read somewhere back in 4.x a developer thought the problem might be failure to restore an interrupt level in a system fork routine, but I really have no idea what the fix is. I've tried all the obvious boot changes, no joy. if atapicam is included, hangs at the same spot every time. If not, then a normal boot. That's the only variable I can twiddle that made any difference. System is a P4 Asus P4C800-E, no AGP video, digital camera disks on the USB port . The lock occurs right after this line in the dmesg ata4-master SATA150 ad10: 35304MB [71730/16/63] at ata5-master SATA150 The line never seen is SMP: AP CPU #1 Launched! The error message is that an interrupt storm was detected on int18: em0 and uhci2++. I can still use the scroll lock to scan up and down, but the system never moves on from that point -- ever. The system is an ASUS P4C800-E with a P4 2.8Ghz. The only unusual aspects are that there is no AGP video, but 3 dual head PCI cards. Also there are some digital camera reader 'disk' slots on one of the USB ports. What follows is the dmesg of a sucessful boot, then the kernel conf file. To make it crash, put ATAPICAM in. To make it work, take ATAPICAM out. 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-RELEASE-p5 #10: Wed Mar 16 11:22:54 CST 2005 root@development.quietfountain.com:/usr/obj/usr/src/sys/DEVELOPMENT Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2798.67-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 2146631680 (2047 MB) avail memory = 2090983424 (1994 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 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 0xfe800000-0xfebfffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P1 - AE_NOT_FOUND pci1: on pcib1 pcib2: at device 3.0 on pci0 pci2: on pcib2 em0: port 0xcf80-0xcf9f mem 0xf84e0000-0xf84fffff irq 18 at device 1.0 on pci2 em0: Ethernet address: 00:0c:6e:79:79:24 em0: Speed:N/A Duplex:N/A uhci0: port 0xeec0-0xeedf irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] 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 uhci1: port 0xef00-0xef1f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhid0: American Power Conversion Back-UPS RS 1500 FW:8.g4 .D USB FW:g4, rev 1.10/1.06, addr 2, iclass 3/0 uhci2: port 0xef20-0xef3f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 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 umass0: Y-E DATA Silicon Media R/W, rev 1.10/1.03, addr 2 uhci3: port 0xef40-0xef5f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib3: at device 30.0 on pci0 pci3: on pcib3 pci3: at device 9.0 (no driver attached) pci3: