Re: 5.2.1 Unbootable on my Hardware

From: Brian F. Feldman <green_at_freebsd.org>
Date: Sun, 07 Mar 2004 11:00:11 -0500
Andre Guibert de Bruet <andy_at_siliconlandmark.com> 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_at_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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!>
real memory  = 536788992 (511 MB)
avail memory = 513220608 (489 MB)
ACPI APIC Table: <ASUS   A7M266-D>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 1.1> irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS A7M266-D> 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: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <AMD 762 host to AGP bridge> port 0xe800-0xe803 mem 0xfb800000-0xfb800fff,0xfc000000-0xfdffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 5.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 768 UDMA100 controller> 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: <AMD 756/766/768 Power Management Controller> port 0xe4e0-0xe4ff at device 7.3 on pci0
smbus0: <System Management Bus> on amdpm0
smb0: <SMBus generic I/O> on smbus0
ohci0: <NEC uPD 9210 USB controller> mem 0xed800000-0xed800fff irq 21 at device 9.0 on pci0
usb0: OHCI version 1.0
usb0: <NEC uPD 9210 USB controller> 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: <NEC uPD 9210 USB controller> mem 0xed000000-0xed000fff irq 22 at device 9.1 on pci0
usb1: OHCI version 1.0
usb1: <NEC uPD 9210 USB controller> 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: <NEC uPD 720100 USB 2.0 controller> 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: <NEC uPD 720100 USB 2.0 controller> 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: <ACPI PCI-PCI bridge> at device 16.0 on pci0
pci2: <ACPI PCI bus> on pcib2
ohci2: <OHCI (generic) USB controller> mem 0xec000000-0xec000fff irq 19 at device 0.0 on pci2
usb3: OHCI version 1.0, legacy support
usb3: <OHCI (generic) USB controller> 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: <CMedia CMI8738> port 0xc800-0xc8ff irq 17 at device 4.0 on pci2
dc0: <ADMtek AN985 10/100BaseTX> port 0xc400-0xc4ff mem 0xeb800000-0xeb8003ff irq 18 at device 5.0 on pci2
dc0: Ethernet address: 00:20:78:0f:88:c9
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atapci1: <HighPoint HPT366 UDMA66 controller> 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: <HighPoint HPT366 UDMA66 controller> 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: <MII bus> on xl0
ukphy1: <Generic IEEE 802.3u media interface> 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: <Parallel port bus> on ppc0
ppbus0: IEEE1284 device found /NIBBLE
Probing for PnP devices on ppbus0:
ppbus0: <Canon BJC-1000/1.21> PRINTER BJL,BJRaster,BSCC,TXT01
lpt0: <Printer> 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: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
orm0: <Option ROM> at iomem 0xc0000-0xc9fff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fdc0: cannot reserve I/O port range (6 ports)
Timecounters tick every 1.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
IPsec: Initialized Security Association Processing.
ad0: 76319MB <WDC WD800BB-32BSA0> [155061/16/63] at ata0-master UDMA100
ad1: 43979MB <IBM-DTLA-307045> [89355/16/63] at ata1-master UDMA100
acd0: CDRW <PCRW804> at ata2-master PIO4
acd1: CDROM <FX322M> at ata3-master PIO4
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad0s2a


-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green_at_FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\
Received on Sun Mar 07 2004 - 07:00:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:46 UTC