FreeBSD 9.0-beta3, cannot boot after succesfull installation

From: Stig B <stigberth_at_gmail.com>
Date: Mon, 24 Oct 2011 19:33:13 +0200
Hello, list.

I've been trying to install FreeBSD 9.0-beta3 amd64 on a machine with the
following hardware:
Motherboard: MSI K8N Neo2-Platinum
CPU: AMD Athlon64 3000+ (1800 MHz)
RAM: 1 GB (2 x 512 MB) DDR2
Disk: Western Digital Caviar® Green™ 1TB

The story is as follows:
Before you think it; I disabled IOAPIC in the BIOS as I have an nforce3
chipset for these installation tests (and it's perhaps not even related to
this problem).

I decided to re-install my "server" box which was running FreeBSD 8.1 x86
after many power outages and corruption on the filesystem. Initially I had
only 1x 1TB disk of the model mentioned above. When I, after a succesful
installation and using the guided partitioning scheme with GPT, could not
boot the machine, I blamed the HDD and went out and bought another 1TB disk.
I plugged it in, ran the installer again, same defaults, and same symptom.
The symptom is that the PC freezes at the step where it checks connected
devices such as HDDs and CDROM. I can not even enter the BIOS.

I took the disks out of the machine, put them into another machine, booted
up the newest Ubuntu, and ran the following command to clean the beginning
of the disks:
dd if=/dev/zero of=/dev/sda1 /* for the first disk */
and
dd if=/dev/zero of=/dev/sda2 /* for the second disk */

I then put them back into the machine with which I was having problems. It
now booted properly, and I could run the installer again. This time, I used
MBR partitioning table. I finished the installer, removed the medium and
rebooted. Same symptoms as above. PC freezes at the step where it checks
connected devices such as HDDs and CDROM. I can not even enter the BIOS.

Someone from #bsddev on efnet adviced me to dd-zero-wipe both the start and
the end of the disks. To be sure, I ran these dd commands:
dd if=/dev/zero of=/dev/sda1 bs=1M    /* for the first disk */
dd if=/dev/zero of=/dev/sda2 bs=1M    /* for the second disk */
and let them run over the entirety of both the disks; wiping them completely
with zeroes.

This time with totally cleaned disks, I installed FreeBSD 9.0-beta3 amd64
again with MBR. I decided NOT to try with GPT as I wasn't sure my BIOS was
compatible with GUID partition table. I finished the installer, removed the
medium and rebooted. Same symptoms as above. PC freezes at the step where it
checks connected devices such as HDDs and CDROM. I can not even enter the
BIOS.

At this point I gave up and installed FreeBSD 8.2 amd64 with no errors and
the machine booted and is running FreeBSD happily now.

I have included some output here. Unfortunately I don't have a dd output of
a non-working MBR install.

###############


putty# dd if=/dev/ad4 bs=512 count=4 |hd
00000000  fc 31 c0 8e c0 8e d8 8e  d0 bc 00 7c be 1a 7c bf
 |.1.........|..|.|
00000010  1a 06 b9 e6 01 f3 a4 e9  00 8a 31 f6 bb be 07 b1
 |..........1.....|
00000020  04 38 2f 74 08 7f 75 85  f6 75 71 89 de 80 c3 10
 |.8/t..u..uq.....|
00000030  e2 ef 85 f6 75 02 cd 18  80 fa 80 72 0b 8a 36 75
 |....u......r..6u|
00000040  04 80 c6 80 38 f2 72 02  8a 14 89 e7 8a 74 01 8b
 |....8.r......t..|
00000050  4c 02 bb 00 7c f6 06 bd  07 80 74 2d 51 53 bb aa
 |L...|.....t-QS..|
00000060  55 b4 41 cd 13 72 20 81  fb 55 aa 75 1a f6 c1 01  |U.A..r
..U.u....|
00000070  74 15 5b 66 6a 00 66 ff  74 08 06 53 6a 01 6a 10
 |t.[fj.f.t..Sj.j.|
00000080  89 e6 b8 00 42 eb 05 5b  59 b8 01 02 cd 13 89 fc
 |....B..[Y.......|
00000090  72 0f 81 bf fe 01 55 aa  75 0c ff e3 be b9 06 eb
 |r.....U.u.......|
000000a0  11 be d1 06 eb 0c be f0  06 eb 07 bb 07 00 b4 0e
 |................|
000000b0  cd 10 ac 84 c0 75 f4 eb  fe 49 6e 76 61 6c 69 64
 |.....u...Invalid|
000000c0  20 70 61 72 74 69 74 69  6f 6e 20 74 61 62 6c 65  | partition
table|
000000d0  00 45 72 72 6f 72 20 6c  6f 61 64 69 6e 67 20 6f  |.Error loading
o|
000000e0  70 65 72 61 74 69 6e 67  20 73 79 73 74 65 6d 00  |perating
system.|
000000f0  4d 69 73 73 69 6e 67 20  6f 70 65 72 61 74 69 6e  |Missing
operatin|
00000100  67 20 73 79 73 74 65 6d  00 90 90 90 90 90 90 90  |g
system........|
00000110  90 90 90 90 90 90 90 90  90 90 90 90 90 90 90 90
 |................|
*
000001b0  90 90 90 90 90 90 90 90  90 90 90 90 90 80 80 01
 |................|
000001c0  01 00 a5 0f ff ff 3f 00  00 00 71 6d 70 74 00 00
 |......?...qmpt..|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa
 |..............U.|
00000200  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 |................|
*
4+0 records in
4+0 records out
2048 bytes transferred in 0.023271 secs (88007 bytes/sec)
00000800

It's funny how it reads "Invalid partition table" etc, but the machine *does
* work fine.


putty% cat dmesg.txt
Copyright (c) 1992-2011 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011
    root_at_mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3000+ (1808.26-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x10ff0  Family = f  Model = 1f  Stepping =
0

Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!>
  AMD Features2=0x1<LAHF>
real memory  = 1073741824 (1024 MB)
avail memory = 1018232832 (971 MB)
ACPI APIC Table: <Nvidia AWRDACPI>
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <Nvidia AWRDACPI> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 3fef0000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0xcf0-0xcf3 on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <NVIDIA nForce3-250 AGP Controller> on hostb0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfe02f000-0xfe02ffff irq 21 at
device 2.0 on pci0
ohci0: [ITHREAD]
usbus0: <OHCI (generic) USB controller> on ohci0
ohci1: <OHCI (generic) USB controller> mem 0xfe02e000-0xfe02efff irq 22 at
device 2.1 on pci0
ohci1: [ITHREAD]
usbus1: <OHCI (generic) USB controller> on ohci1
ehci0: <NVIDIA nForce3 250 USB 2.0 controller> mem 0xfe02d000-0xfe02d0ff irq
23 at device 2.2 on pci0
ehci0: [ITHREAD]
usbus2: EHCI version 1.0
usbus2: <NVIDIA nForce3 250 USB 2.0 controller> on ehci0
nfe0: <NVIDIA nForce3 MCP7 Networking Adapter> port 0xf000-0xf007 mem
0xfe02c000-0xfe02cfff irq 21 at device 5.0 on pci0
miibus0: <MII bus> on nfe0
e1000phy0: <Marvell 88E1111 Gigabit PHY> PHY 1 on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
nfe0: Ethernet address: 00:11:09:dd:1b:51
nfe0: [FILTER]
pci0: <multimedia, audio> at device 6.0 (no driver attached)
atapci0: <nVidia nForce3 Pro UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xdc00-0xdc0f at device 8.0 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
atapci1: <nVidia nForce3 Pro SATA150 controller> port
0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xc800-0xc80f,0xc400-0xc47f
irq 23 at device 9.0 on pci0
atapci1: [ITHREAD]
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: [ITHREAD]
atapci2: <nVidia nForce3 Pro SATA150 controller> port
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xb000-0xb00f,0xac00-0xac7f
irq 20 at device 10.0 on pci0
atapci2: [ITHREAD]
ata4: <ATA channel 0> on atapci2
ata4: [ITHREAD]
ata5: <ATA channel 1> on atapci2
ata5: [ITHREAD]
pcib1: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0x9c00-0x9cff mem
0xe8000000-0xefffffff,0xfdff0000-0xfdffffff irq 16 at device 0.0 on pci1
vgapci1: <VGA-compatible display> mem
0xe0000000-0xe7ffffff,0xfdfe0000-0xfdfeffff at device 0.1 on pci1
pcib2: <ACPI PCI-PCI bridge> at device 14.0 on pci0
pci2: <ACPI PCI bus> on pcib2
rl0: <RealTek 8139 10/100BaseTX> port 0x8c00-0x8cff mem
0xfdeff000-0xfdeff0ff irq 17 at device 7.0 on pci2
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> PHY 0 on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0e:2e:63:9a:4b
rl0: [ITHREAD]
rl1: <RealTek 8139 10/100BaseTX> port 0x8800-0x88ff mem
0xfdefe000-0xfdefe0ff irq 18 at device 8.0 on pci2
miibus2: <MII bus> on rl1
rlphy1: <RealTek internal media interface> PHY 0 on miibus2
rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl1: Ethernet address: 00:c1:26:10:8f:57
rl1: [ITHREAD]
fwohci0: <VIA Fire II (VT6306)> port 0x8400-0x847f mem 0xfdefd000-0xfdefd7ff
irq 19 at device 12.0 on pci2
fwohci0: [ITHREAD]
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:10:dc:00:00:7c:88:3b
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x13cc000
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:10:dc:7c:88:3b
fwe0: Ethernet address: 02:10:dc:7c:88:3b
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:10:dc:00:00:7c:88:3b _at_ 0xfffe00000000, S400,
maxrec 2048
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER
mode
re0: <RealTek 8169/8169S/8169SB(L)/8110S/8110SB(L) Gigabit Ethernet> port
0x8000-0x80ff mem 0xfdefc000-0xfdefc0ff irq 16 at device 13.0 on pci2
re0: Chip rev. 0x04000000
re0: MAC rev. 0x00000000
miibus3: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus3
rgephy0:  10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX,
100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX,
1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto,
auto-flow
re0: Ethernet address: 00:11:09:dd:1b:50
re0: [FILTER]
atrtc0: <AT realtime clock> port 0x70-0x73 irq 8 on acpi0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77b irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: [ITHREAD]
lpt0: <Printer> on ppbus0
lpt0: [ITHREAD]
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
orm0: <ISA Option ROMs> at iomem 0xc0000-0xccfff,0xd0000-0xd0fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
powernow0: <Cool`n'Quiet K8> on cpu0
device_attach: powernow0 attach returned 6
Timecounter "TSC" frequency 1808258496 Hz quality 800
Timecounters tick every 1.000 msec
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me)
firewire0: bus manager 0
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
ugen0.1: <nVidia> at usbus0
uhub0: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <nVidia> at usbus1
uhub1: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <nVidia> at usbus2
uhub2: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
uhub0: 4 ports with 4 removable, self powered
uhub1: 4 ports with 4 removable, self powered
ad4: 953869MB <WDC WD10EARX-00N0YB0 51.0AB51> at ata2-master UDMA100 SATA
1.5Gb/s
ad6: 953869MB <WDC WD10EADS-00P8B0 01.00A01> at ata3-master UDMA100 SATA
1.5Gb/s
Root mount waiting for: usbus2
Root mount waiting for: usbus2
uhub2: 8 ports with 8 removable, self powered
Trying to mount root from ufs:/dev/ad4s1a
Received on Mon Oct 24 2011 - 15:55:49 UTC

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