Bug 48385

Summary: Can boot, but can't execute any programs on FreeBSD 5.0
Product: Base System Reporter: Matt Anderson <mra>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-RELEASE   
Hardware: Any   
OS: Any   

Description Matt Anderson 2003-02-17 19:50:08 UTC
        I downloaded the ISOs and checked the MD5s before and after
        writing the data to the CDs.  When I try to install anything
        other than minimal the install fails (usually while trying to
        pkg_add perl.)  If I do the minimal install passwd fails to
        run when trying to set the root password, but the install
        finishes.  When I boot into the system after that I'm forced
        into single user mode, and when I try to run /bin/sh it cannot
        execute it.

Fix: 

None that I know of.  Could it be possible that the kernel is
        somehow misidentifying the processor, activating some processor
        specific extensions, and loading the executables into memory
        in a way that the chip doesn't understand?
How-To-Repeat:         Install FreeBSD 5.0 i386 on a SS51 based system.
Comment 1 matt.anderson 2003-03-06 04:56:34 UTC
I tried installing FreeBSD 4.5 on the system, (I didn't have anything
newer laying around, and I didn't want to download 4.8.)  And I was
able to run programs once the initial copying was done.  I enabled
Linux compatibilty and setup X, along with setting root's passwd.

The install finished sucessfully then when I booted into it I got this:

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x0
fault code		= supervisor read, page not present
instruction pointer	= 0x8 :0xc01b1260
stack pointer		= 0x10:0xc04b8fec
frame pointer		= 0x10:0xc04b8ff8
code segment		= base rx0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= Idle
interrupt mask		= net tty bio cam
trap number		= 12
panic: page fault
Uptime: 0s

I hope this helps, I'd be willing to try a later version than 4.5.  I
was thinking about trying 4.8 anyway since it has firewire support.

-matt
Comment 2 Søren Schmidt freebsd_committer freebsd_triage 2003-06-05 11:28:48 UTC
State Changed
From-To: open->closed

You need to upgrade to 5.1 to get support for this SiS chipset.