From owner-freebsd-current@FreeBSD.ORG Mon Oct 24 17:55:49 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9B5E1065677 for ; Mon, 24 Oct 2011 17:55:49 +0000 (UTC) (envelope-from stigberth@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7AF088FC17 for ; Mon, 24 Oct 2011 17:55:49 +0000 (UTC) Received: by gyd8 with SMTP id 8so7788743gyd.13 for ; Mon, 24 Oct 2011 10:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=kL9oLv2JbwrX8fvHkN6cWAcp+UoJK7vIYYW0oox4L/I=; b=jQjxnl+5lmyNIzbYu+wEH+n9PgI5GYNNHOW3jdkHrAVafPWSbbWQgRuvHSnwoVBp/l xQHor/qjxllqyhkHUlFHwjYm5FdWvWaQ9hlms8BD+laG0+qzPZo6m4LtdQWRMTjJl+6R NV+W9ajTa/Oq+ObHaatZjF9xhJuPKhcCLRrl0= MIME-Version: 1.0 Received: by 10.223.16.82 with SMTP id n18mr44646765faa.2.1319477593209; Mon, 24 Oct 2011 10:33:13 -0700 (PDT) Received: by 10.152.42.233 with HTTP; Mon, 24 Oct 2011 10:33:13 -0700 (PDT) Date: Mon, 24 Oct 2011 19:33:13 +0200 Message-ID: From: Stig B To: freebsd-current@freebsd.org X-Mailman-Approved-At: Mon, 24 Oct 2011 18:06:56 +0000 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD 9.0-beta3, cannot boot after succesfull installation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 24 Oct 2011 17:55:49 -0000 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=AE Green=99 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=3D/dev/zero of=3D/dev/sda1 /* for the first disk */ and dd if=3D/dev/zero of=3D/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=3D/dev/zero of=3D/dev/sda1 bs=3D1M /* for the first disk */ dd if=3D/dev/zero of=3D/dev/sda2 bs=3D1M /* for the second disk */ and let them run over the entirety of both the disks; wiping them completel= y 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 i= t 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=3D/dev/ad4 bs=3D512 count=3D4 |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 *doe= s * 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@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 =3D "AuthenticAMD" Id =3D 0x10ff0 Family =3D f Model =3D 1f St= epping =3D 0 Features=3D0x78bfbff AMD Features=3D0xe2500800 AMD Features2=3D0x1 real memory =3D 1073741824 (1024 MB) avail memory =3D 1018232832 (971 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: 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: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff,0xcf0-0xcf3 on acpi0 pci0: on pcib0 agp0: on hostb0 isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xfe02f000-0xfe02ffff irq 21 at device 2.0 on pci0 ohci0: [ITHREAD] usbus0: on ohci0 ohci1: mem 0xfe02e000-0xfe02efff irq 22 at device 2.1 on pci0 ohci1: [ITHREAD] usbus1: on ohci1 ehci0: mem 0xfe02d000-0xfe02d0ff ir= q 23 at device 2.2 on pci0 ehci0: [ITHREAD] usbus2: EHCI version 1.0 usbus2: on ehci0 nfe0: port 0xf000-0xf007 mem 0xfe02c000-0xfe02cfff irq 21 at device 5.0 on pci0 miibus0: on nfe0 e1000phy0: 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: at device 6.0 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xdc00-0xdc0f at device 8.0 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xc800-0xc80f,0xc400-0xc47f irq 23 at device 9.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] atapci2: port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xb000-0xb00f,0xac00-0xac7f irq 20 at device 10.0 on pci0 atapci2: [ITHREAD] ata4: on atapci2 ata4: [ITHREAD] ata5: on atapci2 ata5: [ITHREAD] pcib1: at device 11.0 on pci0 pci1: on pcib1 vgapci0: port 0x9c00-0x9cff mem 0xe8000000-0xefffffff,0xfdff0000-0xfdffffff irq 16 at device 0.0 on pci1 vgapci1: mem 0xe0000000-0xe7ffffff,0xfdfe0000-0xfdfeffff at device 0.1 on pci1 pcib2: at device 14.0 on pci0 pci2: on pcib2 rl0: port 0x8c00-0x8cff mem 0xfdeff000-0xfdeff0ff irq 17 at device 7.0 on pci2 miibus1: on rl0 rlphy0: PHY 0 on miibus1 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:0e:2e:63:9a:4b rl0: [ITHREAD] rl1: port 0x8800-0x88ff mem 0xfdefe000-0xfdefe0ff irq 18 at device 8.0 on pci2 miibus2: on rl1 rlphy1: PHY 0 on miibus2 rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl1: Ethernet address: 00:c1:26:10:8f:57 rl1: [ITHREAD] fwohci0: port 0x8400-0x847f mem 0xfdefd000-0xfdefd7f= f irq 19 at device 12.0 on pci2 fwohci0: [ITHREAD] fwohci0: OHCI version 1.0 (ROM=3D1) 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: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x13cc000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:10:dc:7c:88:3b fwe0: Ethernet address: 02:10:dc:7c:88:3b fwip0: on firewire0 fwip0: Firewire address: 00:10:dc:00:00:7c:88:3b @ 0xfffe00000000, S400, maxrec 2048 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=3D0x00000000, SelfID Count=3D1, CYCLEMAS= TER mode re0: port 0x8000-0x80ff mem 0xfdefc000-0xfdefc0ff irq 16 at device 13.0 on pci2 re0: Chip rev. 0x04000000 re0: MAC rev. 0x00000000 miibus3: on re0 rgephy0: 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: port 0x70-0x73 irq 8 on acpi0 fdc0: 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: port 0x378-0x37f,0x778-0x77b irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppc0: [ITHREAD] ppbus0: on ppc0 plip0: on ppbus0 plip0: [ITHREAD] lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] orm0: at iomem 0xc0000-0xccfff,0xd0000-0xd0fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 powernow0: 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 <=3D 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: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 uhub0: 4 ports with 4 removable, self powered uhub1: 4 ports with 4 removable, self powered ad4: 953869MB at ata2-master UDMA100 SATA 1.5Gb/s ad6: 953869MB 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