Solved Unable to install FreeBSD

Hello all,

I am sorry if this is a total newb question, but I haven't been able to find a good answer in this forum or others.

My setup:
AMD FX-6300
ASUS M5A97 2.0
24 GB Corsair Vengeance DDR3

I pulled down the memstick img file for 10.1, and I am encountering the following problem when I try to boot from it (presumably to bsdinstall, but I haven't gotten that far).
Code:
fault code = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff80d48d0e
stack pointer = 0x28:0xffffffff818175b0
frame pointer = 0x28: 0xffffffffff81817790
code segment = base 0x0, limit 0xfffff, type 0x1b
                      = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = resume, IOPL = 0
current process = 0 (swapper)
trap number = 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff80925736 at kdb_backtrace+0x66
#1 0xffffffff808eb2fe at panic+0x1ce
#2 0xffffffff80cd28e0 at trap_fatal+0x290
#3 0xffffffff80cd2c41 at trap_pfault+0x211
#4 0xffffffff80cd3243 at trap+0x363
#5 0xffffffff80cbc433 at calltrap+0x8
#6 0xffffffff80d49090 at vesa_mod_event+0x110
#7 0xffffffff808d6378 at module_register_init_0xa8
#8 0xffffffff8089850b at mi_startup+0x7b
#9 0xffffffff802c301c at btext+0x2c

Uptime: 1s

The above happens regardless of ACPI settings of Safe Mode On/Off

I have tried UEFI as well, but in UEFI mode I do not even get to a menu. It appears to freeze on "Start 0xff..."

Any suggestions? I am kind of at a loss here. Usually I can kind of work my way through these things, but I'm stuck and can't even get it to boot.
 
Did you follow the Pre-Installation Tasks of the FreeBSD Handbook?

Did you check the the image file's integrity by calculating the sha256 checksum?
How did you copy the img file to the USB-Media? In FreeBSD the preferred method is
Code:
# dd if=FreeBSD-10.1-RELEASE-amd64-memstick.img of=/dev/da0 bs=64k
 
I had to use sudo on my machine, but command I used was:
Code:
sudo dd if=FreeBSD-10.1-RELEASE-amd64-memstick.img of=/dev/sdb bs=64k

/dev/sdb is the location of the USB on my machine. I've tried block sizes of 64k, 1024, and 512, and I've tried using conv=sync as well.

sha256 checksum matches the one on the downloads page.

I am using wget for the ftp, so I believe it is downloading it as a binary.
 
A few things to consider:
  1. Update to latest BIOS. ASUS's website mentions USB compatibility improvments with latest update for that motherboard.
  2. Try using different flash media devices. Installing FreeBSD from USB flash media isn't very reliable in my experience.
  3. If you have a CD writer on the machine write the Install ISO file to disk and use that instead.
 
protocelt,

Updated to the latest BIOS per ASUS, tried different USB sticks, and I tried installing from a CD.

Still the same error... What can even be causing this? Unfortunately I don't quite understand what I am looking at other than it appears as though a piece of code or data it was looking for is not there.
 
protocelt,

Updated to the latest BIOS per ASUS, tried different USB sticks, and I tried installing from a CD.

Still the same error... What can even be causing this? Unfortunately I don't quite understand what I am looking at other than it appears as though a piece of code or data it was looking for is not there.

What you're looking at is a kernel backtrace for a kernel panic.

The important frames of the backtrace are telling you that the process named "swapper" caused a page fault while in the function vesa_mod_event() (frame 6; frames 0-5 are associated with DDB entry).

swapper: btext() -> mi_startup() -> module_register_init() -> vesa_mod_event()

The code for vesa_mod_event() can be found here:
http://svnweb.freebsd.org/base/head/sys/dev/fb/vesa.c?view=annotate
NB: Lines 1961 - 1972 (as of this writing)

The function is pretty simple and there's little that could go wrong there. The nature of the beast is "page not present" at the top of the DDB output (the fault code).

This is a dumb question, but...

When you tried to install from CD, did you use the disc1.iso image?
 
dteske@: Yes, always disc1.iso/memstick.img. This is for a home server, I want to minimize the amount of programs and daemons running.

junovitch: THAT DID IT! For some reason the 11.0-CURRENT ISO worked. I was able to get all the way through bsdinstall and am able to boot to a shell. Now I am off to get this puppy configured.

I'm not going to think about it beyond this, I presume my hardware setup had a wonky bug in it that was fixed in the newest release and simply hasn't been back-ported yet.

I am able to log in though, was able to pull down the ports tree, and was able to build bash, git, samba, and a few other things. I'm going to assume that I am ok now. If I have stability errors, I will handle those at that time.
 
Back
Top