Link to home
Start Free TrialLog in
Avatar of qec-diglookyouak
qec-diglookyouakFlag for Canada

asked on

Unable to boot OpenBSD 5 on Soekris net6501 via SATA

I am attempting to get a Soekris net6501 box to boot OpenBSD 5.0 from a 2.5 SATA hard drive.  I am using "Flashrd" to transfer a copy of OpenBSD to the hard drive.

The Flashrd script is successfully installing a copy of OpenBSD to the hard drive.  But when transferring the hard drive with OpenBSD installed to the net6501, the soekris box will only boot if the SATA hard drive is connected to a caddy and hooked up to net6501 via USB (Configuring OpenBSD drive as "sd0").  When attempting to configure OpenBSD's hard drive as "wd0" and connecting the drive to net6501 via SATA cable, it will not boot; the error message I receive is shown below:

Using drive 0, partition 3.
Loading......
probing: pc0 com0 pci mem[620K 1022M a20=on]
disk: hd0+
>> OpenBSD/i386 BOOT 3.17
switching console to com0
                         >> OpenBSD/i386 BOOT 3.17
boot>
booting hd0a:/bsd: 11882740+506352 [61+359616+345923]=0xc7d0c4
entry point at 0x200120

[ using 706016 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org

kernel: page fault trap, code=0
Stopped at      uvm_pmr_freepages+0xe9: movl    0x38(%edi),%eax
uvm_pmr_freepages(d0efd8ec,3e0cf,1081fe8,3e0cf,3e0cf) at uvm_pmr_freepages+0xe9

uvm_page_init(d0e7ff20,d0e7ff1c,c4e7ff28,e80000,e7e000) at uvm_page_init+0x1ab
uvm_init(d088afc0,d088d4a0,c0,d0e7ff4c,2) at uvm_init+0x30
main(d02004ba,d02004c2,0,0,0) at main+0x53
ddb>

Open in new window


I have already updated the Soekris net6501 bios to the latest available version, and also tried updating OpenBSD 5 from "-release" to "-stable" (applied available patches), but that has not corrected the issue.  I'm unsure why the Soekris box will not boot when the hard drive is connected via SATA cable.  I have also tried configuring the hard drive as "wd1" incase wd0 is being used somewhere (although no other storage devices are connected) but still no luck!

Any assistance in getting the Soekris box to boot when hard drive is connected via SATA would be greatly appreciated!
Avatar of qec-diglookyouak
qec-diglookyouak
Flag of Canada image

ASKER

when attempting a trace while at the "ddb>" prompt gives me:

ddb> trace
uvm_pmr_freepages(d0efd8ec,3e0cf,1081fe8,3e0cf,3e0cf) at uvm_pmr_freepages+0xe9

uvm_page_init(d0e7ff20,d0e7ff1c,c4e7ff28,e80000,e7e000) at uvm_page_init+0x1ab
uvm_init(d088afc0,d088d4a0,c0,d0e7ff4c,2) at uvm_init+0x30
main(d02004ba,d02004c2,0,0,0) at main+0x53
ddb>

Open in new window

SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
As shown in http://www.openbsd.org/plus.html

"The kernels virtual memory range management fixes a weird vm_page access in uvm_pmr_freepages(). This should also result in proper wakeup of uvm_pmalloc sleepers. "
Chance 1)
Your media is damaged
Chance 2)
RAM is not well seated
Chance 3)
SATA is not connected at right speed. consult jumpers