From owner-freebsd-current@FreeBSD.ORG Sun Jul 11 15:14:19 2004 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 2643416A4CE for ; Sun, 11 Jul 2004 15:14:19 +0000 (GMT) Received: from av5-2-sn1.fre.skanova.net (av5-2-sn1.fre.skanova.net [81.228.11.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 355BE43D2F for ; Sun, 11 Jul 2004 15:14:18 +0000 (GMT) (envelope-from daniel_k_eriksson@telia.com) Received: by av5-2-sn1.fre.skanova.net (Postfix, from userid 502) id 8AB6A37E5B; Sun, 11 Jul 2004 17:14:17 +0200 (CEST) Received: from smtp3-2-sn1.fre.skanova.net (smtp3-2-sn1.fre.skanova.net [81.228.11.164]) by av5-2-sn1.fre.skanova.net (Postfix) with ESMTP id 7B30137E51 for ; Sun, 11 Jul 2004 17:14:17 +0200 (CEST) Received: from gadget (h130n1fls11o822.telia.com [213.64.66.130]) by smtp3-2-sn1.fre.skanova.net (Postfix) with ESMTP id 55F8837E4C for ; Sun, 11 Jul 2004 17:14:17 +0200 (CEST) From: "Daniel Eriksson" To: Date: Sun, 11 Jul 2004 17:14:31 +0200 Organization: Home Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0018_01C4676A.8ABF1770" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 In-Reply-To: <49011D34-D2BB-11D8-81E2-000393BB9222@queasyweasel.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal Subject: RE: ahc driver now borked in -current? 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: Sun, 11 Jul 2004 15:14:19 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0018_01C4676A.8ABF1770 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Jordan K. Hubbard wrote: > OK, this is going to be a little hard to give all the right=20 > information=20 > for given that the symptoms I'm reporting don't even allow the box in=20 > question to get up far enough to generate useful debugging info, but=20 > I'll give it my best shot anyway. Here's a me-too report with a slight twist: Hardware: --------- ASUS P2B-DS motherboard with 2 x 700MHz P3 and 1GB ECC memory 2 x 3COM 3c905C-TX NICs (xl driver) 1 x Intel 82559 Pro/100 NIC (fxp driver) 1 x HighPoint 1540 SATA card (HPT374 chipset, default ata driver) - no SCSI devices connected to the onboard Adaptec aic7890/91 Ultra2 = SCSI controller - 9GB ATA disc hooked up to the onboard Intel PIIX4 UDMA33 controller = (boot disc) - 4 x 120GB Maxtor SATA discs hooked up to the HighPoint card (vinum = RAID-5 array) Software, semi-working configuration: ------------------------------------- FreeBSD 5-CURRENT, 2004.06.29.09.00.00 SHED_4BSD, SMP+apic, CPUTYPE?=3Dp3 (but no custom CFLAGS/COPTFLAGS) ACPI enabled This combination seems pretty stable. I have never been able to boot = with the SATA discs connected (machine hangs hard just before the discs = should be listed/probed), but booting with no SATA discs and then plugging them in after boot and running "atacontrol reinit X" works fine. Software, non-working configuration: ------------------------------------ FreeBSD 5-CURRENT, 2004.07.09.00.00.00 SHED_4BSD, SMP+apic, CPUTYPE?=3Dp3 (but no custom CFLAGS/COPTFLAGS) - With ACPI enabled the machine reboots as soon as it starts to probe = for devices/cards (very early in the boot message). I don't have a serial console so I don't know exactly what scrolls by, but it looks like a = panic message during interrupt routing followed immediately by a reboot. - With ACPI disabled the machine boots (provided no SATA discs are connected, see above), but hangs with some message about "IPI stuck" = during heavy load (sorry, I wasn't around to take down the exact message). Attached is the dmesg from the semi-working configuration. /Daniel Eriksson ------=_NextPart_000_0018_01C4676A.8ABF1770 Content-Type: text/plain; name="dmesg.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dmesg.txt" 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.2-CURRENT #0: Tue Jun 29 19:11:13 CEST 2004 root@sentinel.lokalen.zapto.org:/usr/obj/usr/src/sys/SENTINEL Preloaded elf kernel "/boot/kernel/kernel" at 0xc08b6000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc08b6244. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (701.59-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x681 Stepping =3D 1 = Features=3D0x383fbff real memory =3D 1073729536 (1023 MB) avail memory =3D 1041281024 (993 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0 irqs 0-23 on motherboard random: Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20 acpi0: [GIANT-LOCKED] pcibios: BIOS version 2.10 acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem = 0xe6000000-0xe7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib1: slot 0 INTA is routed to irq 16 pci1: at device 0.0 (no driver attached) isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port = 0xb800-0xb80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xb400-0xb41f at = device 4.2 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 pci0: at device 4.3 (no driver attached) ahc0: port 0xb000-0xb0ff mem = 0xe3000000-0xe3000fff irq 19 at device 6.0 on pci0 ahc0: [GIANT-LOCKED] aic7890/91: Ultra2 Wide Channel A, SCSI Id=3D15, 32/253 SCBs atapci1: port = 0x9400-0x94ff,0x9800-0x9803,0xa000-0xa007,0xa400-0xa403,0xa800-0xa807 = irq 19 at=20 device 9.0 on pci0 ata2: at 0xa800 on atapci1 ata3: at 0xa000 on atapci1 atapci2: port = 0x7800-0x78ff,0x8000-0x8003,0x8400-0x8407,0x8800-0x8803,0x9000-0x9007 = irq 19 at=20 device 9.1 on pci0 ata4: at 0x9000 on atapci2 ata5: at 0x8400 on atapci2 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x7400-0x747f mem = 0xe2800000-0xe280007f irq 18 at device 10.0 on pci0 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:01:02:73:f4:f5 xl0: [GIANT-LOCKED] xl1: <3Com 3c905C-TX Fast Etherlink XL> port 0x7000-0x707f mem = 0xe2000000-0xe200007f irq 17 at device 11.0 on pci0 miibus1: on xl1 xlphy1: <3c905C 10/100 internal PHY> on miibus1 xlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl1: Ethernet address: 00:50:da:8d:d2:af xl1: [GIANT-LOCKED] fxp0: port 0x6800-0x683f mem = 0xe1000000-0xe10fffff,0xe1800000-0xe1800fff irq 16 at device 12.0 on = pci0 miibus2: on fxp0 inphy0: on miibus2 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:03:47:09:6f:51 fxp0: [GIANT-LOCKED] fdc0: port = 0x3f7,0x3f2-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: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 orm0: