[syslinux] mboot.c32 and FreeBSD

Simon-Pierre LeBel splebel at iweb.ca
Tue Sep 22 13:14:39 PDT 2009




> On Tue, Sep 22, 2009 at 7:36 AM, Simon-Pierre LeBel <splebel at iweb.ca> wrote:
>   
>> I'm trying to get FreeBSD 7.2 booting using mboot module from syslinux
>> 3.82. Unfortunately it doesn't seem to work. Here is my pxelinux config:
>> === 8< ===
>> label freebsd72-i386-mboot
>>    kernel mboot.c32
>>    append /kernels/freebsd/7.2/i386/boot/kernel/kernel single ---
>> /kernels/freebsd/7.2/i386/boot/mfsroot
>> === 8< ===
>>
>> Here is the error message I get on boot:
>> === 8< ===
>> Loading /kernels/freebsd/7.2/i386/boot/kernel/kernel... ok
>> Loading /kernels/freebsd/7.2/i386/boot/mfsroot... ok
>> Memory segment at 0xc0400034 (len 0x000000a0) is unavailable
>> === 8< ===
>>
>> After adding some debug to the source code I found out that the memory
>> that it's trying to use is not defined (SMT_UNDEFINED). Any ideas why ?
>>
>> Anyone has been able to successfully load FBSD using mboot ?
>>     
>
> I haven't gotten to try it myself but:
> http://syslinux.zytor.com/archives/2009-April/012124.html
> http://syslinux.zytor.com/wiki/index.php/Mboot.c32#FreeBSD_example

Already tried that, here is my config:

default freebsd
label freebsd
  kernel mboot.c32
  append /kernels/freebsd/7.2/i386/boot/kernel/kernel ---
/kernels/freebsd/7.2/i386/boot/mfsroot


Even booting without the mfsroot end up doing the same error.

> As for the error, are you using pxelinux.0 from the 3.82 tar ball ?
> both pxelinux.0 and mboot.c32 must match (rule of thumb in testing).

pxelinux.0 and mboot.c32 match version 3.82.

> Could we get the output of meminfo.c32 as well? Might help others in
> diagnosing the problem.

Here is the output:

INT 15h = f000:f859  DOS RAM: 586k (0x8e000)  INT 12h: 568k (0x8e000)
INT 15 88: 0xffff (65535K)  INT 15 E801: 0x3c00 (15360K) 0x7e7b (2072256K)
       0 0000000000000000 000000000009fc00 000000000009fc00 1 [-] usable
       0 000000000009fc00 0000000000000400 00000000000a0000 2 [-] reserved
       0 00000000000e4000 000000000001c000 0000000000100000 2 [-] reserved
       0 0000000000100000 000000007f690000 000000007f790000 1 [-] usable
       0 000000007f790000 000000000000e000 000000007f79e000 3 [-] ACPI
reclaim
       0 000000007f79e000 0000000000042000 000000007f7e0000 4 [-] ACPI NVS
       0 000000007f7e0000 0000000000020000 000000007f800000 2 [-] reserved
       0 00000000ffb80000 0000000000480000 0000000100000000 2 [-] reserved


-- 
Simon-Pierre LeBel [iWeb]
IT Architecture Specialist
Spécialiste de l'Architecture TI
http://www.iWeb.com/




More information about the Syslinux mailing list