From owner-freebsd-current@FreeBSD.ORG Sun Mar 7 08:00:14 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7221D16A4D2; Sun, 7 Mar 2004 08:00:13 -0800 (PST) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.10/8.12.9) with ESMTP id i27G0CRt024949; Sun, 7 Mar 2004 11:00:12 -0500 (EST) (envelope-from green@green.homeunix.org) Received: from localhost (green@localhost)i27G0Be9024946; Sun, 7 Mar 2004 11:00:11 -0500 (EST) (envelope-from green@green.homeunix.org) Message-Id: <200403071600.i27G0Be9024946@green.homeunix.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Andre Guibert de Bruet In-Reply-To: Message from Andre Guibert de Bruet <20040307060227.I21071@alpha.siliconlandmark.com> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 07 Mar 2004 11:00:11 -0500 Sender: green@green.homeunix.org cc: freebsd-current@freebsd.org cc: Nick Nelson Subject: Re: 5.2.1 Unbootable on my Hardware 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, 07 Mar 2004 16:00:14 -0000 Andre Guibert de Bruet wrote: > > On Fri, 5 Mar 2004, Doug White wrote: > > > On Fri, 5 Mar 2004, Nick Nelson wrote: > > > > > Hi folks, > > > > > > I've recently tried to install 5.2.1 on a new system of mine, basically > > > it's an AMD 3000XP, Radeon9800 Pro, Corsair XMS RAM, Lanparty Ultra II > > > (http://www.dfi.com.tw/Product/xx_product_spec_details_r_us.jsp?PRODUCT_ID=1524) > > > with a SerialATA (Marvell 88i8030 chip), I have one SerialATA drive and > > > one IDE drive. > > > > The Marvell chip is the SATA bridge, not the ATA controller. Its probably > > the standard built-in nForce 2 ATA controller. > > > > > I've tried booting off both the SATA drive and the IDE drive, each time > > > it gets to: > > > > > > --- > > > > > > Timecounters tick every 10.000 msec > > > lo0: bpf attached > > > > > > --- > > > > > > and stops..I ran it with logging to get that much information. I've > > > unplugged the SerialATA, which I thought would resolve it, but didn't. > > > Any ideas? > > > > Hm ... try booting without ACPI, and if that doesn't work, try safe mode. > > Looks like the controller is locking up or something... > > This hang could be ULE-related. > > I'm saying this because it's the exact same thing that I see when I try a > ULE kernel on my Dual Athlon 2000+ MP running on a Asus A7M266-D using > regular ATA133 disks. Luckily, it's been tracking current since before > the switchover, so I run a custom generic with 4BSD in it and everything > works fine. > > I wish I could offer more debugging information such a verbose boot or a > ddb ps when it hangs but I'm swamped with work from my job and cannot > seem to find the time to debug such problems. Are you seeing it lock up when /sbin/init executes /etc/rc? When that would normally start doing the fsck -p output, I see nothing, and I can Ctrl-Alt-Esc to DDB and see the processes that should be there, but they just don't do anything. If I could someone encode the dumpdev in the kernel (hint, hint) I could panic it there and get something more useful to go by. This only happens when I try to use SCHED_ULE. I've always used SCHED_4BSD (and indeed, am still doing so now). This is my normal boot output: 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 #58: Fri Mar 5 01:30:58 EST 2004 green@green.homeunix.org:/usr/src/sys/i386/compile/GREEN WARNING: WITNESS option enabled, expect reduced performance. Preloaded elf kernel "/boot/kernel/kernel" at 0xc0891000. Preloaded elf module "/boot/kernel/if_dc.ko" at 0xc089126c. Preloaded elf module "/boot/kernel/miibus.ko" at 0xc0891318. Preloaded elf module "/boot/kernel/if_xl.ko" at 0xc08913c4. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0891470. Preloaded elf module "/boot/kernel/snd_cmi.ko" at 0xc089151c. Preloaded elf module "/boot/kernel/usb.ko" at 0xc08915c8. Preloaded elf module "/boot/kernel/uhid.ko" at 0xc0891670. Preloaded elf module "/boot/kernel/ums.ko" at 0xc089171c. Preloaded elf module "/boot/kernel/umass.ko" at 0xc08917c4. Preloaded elf module "/boot/kernel/cam.ko" at 0xc0891870. Preloaded elf module "/boot/kernel/agp.ko" at 0xc0891918. Preloaded elf module "/boot/kernel/random.ko" at 0xc08919c0. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0891a6c. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(TM) MP 1800+ (1533.40-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xc0480000 real memory = 536788992 (511 MB) avail memory = 513220608 (489 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 Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Found $PIR table, 9 entries at 0xc00f24b0 acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: port 0xe800-0xe803 mem 0xfb800000-0xfb800fff,0xfc000000-0xfdffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 5.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xd800-0xd80f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] amdpm0: port 0xe4e0-0xe4ff at device 7.3 on pci0 smbus0: on amdpm0 smb0: on smbus0 ohci0: mem 0xed800000-0xed800fff irq 21 at device 9.0 on pci0 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 0xed000000-0xed000fff irq 22 at device 9.1 on pci0 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 ehci0: mem 0xec800000-0xec8000ff irq 23 at device 9.2 on pci0 ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 usb2: EHCI version 0.95 usb2: companion controllers, 3 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 5 ports with 5 removable, self powered pcib2: at device 16.0 on pci0 pci2: on pcib2 ohci2: mem 0xec000000-0xec000fff irq 19 at device 0.0 on pci2 usb3: OHCI version 1.0, legacy support usb3: on ohci2 usb3: USB revision 1.0 uhub3: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 4 ports with 4 removable, self powered uhub4: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 3 uhub4: 4 ports with 4 removable, bus powered ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.00, addr 4, iclass 3/1 ums0: 3 buttons and Z dir. pcm0: port 0xc800-0xc8ff irq 17 at device 4.0 on pci2 dc0: port 0xc400-0xc4ff mem 0xeb800000-0xeb8003ff irq 18 at device 5.0 on pci2 dc0: Ethernet address: 00:20:78:0f:88:c9 miibus0: on dc0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci1: port 0xb400-0xb4ff,0xb800-0xb803,0xc000-0xc007 irq 17 at device 6.0 on pci2 atapci1: [MPSAFE] ata2: at 0xc000 on atapci1 ata2: [MPSAFE] atapci2: port 0xa400-0xa4ff,0xa800-0xa803,0xb000-0xb007 irq 17 at device 6.1 on pci2 atapci2: [MPSAFE] ata3: at 0xb000 on atapci2 ata3: [MPSAFE] xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xa000-0xa07f mem 0xeb000000-0xeb00007f irq 19 at device 8.0 on pci2 xl0: Ethernet address: 00:e0:18:9b:ad:9e miibus1: on xl0 ukphy1: on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ppc0 port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 ppbus0: IEEE1284 device found /NIBBLE Probing for PnP devices on ppbus0: ppbus0: PRINTER BJL,BJRaster,BSCC,TXT01 lpt0: on ppbus0 lpt0: Interrupt-driven port sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model MouseMan+, device ID 0 orm0: