Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 12:43:15 -0500
From:      Jim Thompson <jim@netgate.com>
To:        Kamil Czekirda <kczekirda@gmail.com>
Cc:        hackers@freebsd.org
Subject:   Re: iPXE booting latest PCengines alu board
Message-ID:  <BD88C86A-4C2D-4707-8FD4-4FAB5E514C68@netgate.com>
In-Reply-To: <CADSgWNH4srvC9q2%2B%2BV2R6gpTpL=fH%2BXWJbh2pn8cs%2BXzeRhvpg@mail.gmail.com>
References:  <9D14C4BD-8A13-43FC-ACDA-0315A58CEBC6@cs.huji.ac.il> <5399C6A0.9010506@sentex.net> <CADSgWNGqgSZ7kCCb8x_U2RqquUs8WDnOBq8vp=20wfi8nxG3TQ@mail.gmail.com> <17B3B28C-A9D7-4FD2-ACEB-CFE4738C4D49@cs.huji.ac.il> <71ECD01F-5DC0-45D2-8C84-AA6C3D9903CA@netgate.com> <CADSgWNH4F2WrcFajhs5X2C2ZFo08-5D%2BndtHzvi89tk76ng0fQ@mail.gmail.com> <050E80C4-D845-4C59-B9CC-010E7CE9A445@cs.huji.ac.il> <D8EA3B2C-7F33-4E94-8145-1FEBAFB9D71B@netgate.com> <CADSgWNH4srvC9q2%2B%2BV2R6gpTpL=fH%2BXWJbh2pn8cs%2BXzeRhvpg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
iPXE> ifconf=20
Configuring (net0 00:0d:b9:33:88:64)...... ok
iPXE> route
net0: 172.21.0.90/255.255.255.0 gw 172.21.0.1
iPXE> kernel http://nuc2/memdisk
http://nuc2/memdisk... ok
iPXE> kernel http://nuc2/memdisk iso
http://nuc2/memdisk... ok
iPXE> initrd http://nuc2/mfsbsd.iso
http://nuc2/mfsbsd.iso... ok=20
iPXE> boot
MEMDISK 6.02 2013-10-13  Copyright 2001-2013 H. Peter Anvin et al
e820: 0000000000000000 000000000009fc00 1
e820: 000000000009fc00 0000000000000400 2
e820: 00000000000f0000 0000000000010000 2
e820: 0000000000100000 000000007e010000 1
e820: 000000007e110000 0000000000ef0000 2
e820: 00000000f8000000 0000000001000000 2
Ramdisk at 0x01b7d000, length 0x02483000
command line: iso
El Torito BVD sanity check failed.
El Torito boot catalog sanity check failed.
MEMDISK: Image seems to have fractional end cylinder
MEMDISK: Image appears to be truncated
Disk is hd96, 9347 K, C/H/S =3D 65535/255/15 (El Torito/El Torito), EDD =
on, rw
Using safe INT 15h access to high memory
Code 1860, meminfo 168, cmdline 4, stack 512
Total size needed =3D 2544 bytes, allocating 3K
Old dos memory at 0x9c400 (map says 0x9fc00), loading at 0x9b800
1588: 0x69f4  15E801: 0x3c00 0x00b7
INT 13 08: Failure, assuming this is the only drive
Drive probing gives drive shift limit: 0xe1
old: int13 =3D f000e3fe  int15 =3D f000f859  int1e =3D f0007244
new: int13 =3D 9b80000a  int15 =3D 9b8003fd  int1e =3D f0007244
Loading boot sector... booting=E2=80=A6
(no output)

adding -h gets things a bit further.   I still think we=E2=80=99re =
fighting a serial console issue.
Maybe mfsbsd need rebuilding. (?)

iPXE> dhcp                              =20
Configuring (net0 00:0d:b9:33:88:64)...... ok
iPXE> route
net0: 172.21.0.90/255.255.255.0 gw 172.21.0.1
iPXE> kernel http://nuc2/memdisk iso -h
http://nuc2/memdisk... ok
iPXE> initrd http://nuc2/mfsbsd.iso
http://nuc2/mfsbsd.iso... ok=20
iPXE> boot
MEMDISK 6.02 2013-10-13  Copyright 2001-2013 H. Peter Anvin et al
e820: 0000000000000000 000000000009fc00 1
e820: 000000000009fc00 0000000000000400 2
e820: 00000000000f0000 0000000000010000 2
e820: 0000000000100000 000000007e010000 1
e820: 000000007e110000 0000000000ef0000 2
e820: 00000000f8000000 0000000001000000 2
Ramdisk at 0x01b84000, length 0x0247c000
command line: iso -h
MEMDISK: Image seems to have fractional end cylinder
MEMDISK: Image appears to be truncated
Disk is hd96, 9340 K, C/H/S =3D 65535/255/15 (El Torito/El Torito), EDD =
on, rw
Using safe INT 15h access to high memory
Code 1860, meminfo 168, cmdline 7, stack 512
Total size needed =3D 2547 bytes, allocating 3K
Old dos memory at 0x9c400 (map says 0x9fc00), loading at 0x9b800
1588: 0x6a10  15E801: 0x3c00 0x00b8
INT 13 08: Failure, assuming this is the only drive
Drive probing gives drive shift limit: 0xe1
old: int13 =3D f000e3fe  int15 =3D f000f859  int1e =3D f0007244
new: int13 =3D 9b80000a  int15 =3D 9b8003fd  int1e =3D f0007244
Loading boot sector... booting...
CD Loader 1.2

Building the boot loader arguments
Looking up /BOOT/LOADER... Found
Relocating the loader and the BTX
Starting the BTX loader
(no output)


> On Jun 13, 2014, at 9:07 AM, Kamil Czekirda <kczekirda@gmail.com> =
wrote:
>=20
> Please use iso raw option, it helps sometimes:
>=20
> iPXE> kernel tftp://nuc2/memdisk
> iPXE> kernel tftp://nuc2/memdisk iso
> iPXE> initrd tftp://nuc2/mfsbsd.iso
> iPXE> boot
>=20
> I suggest leave tftp protocol and download iso with http server.
>=20
> 2014-06-13 12:34 GMT+02:00 Jim Thompson <jim@netgate.com>:
>>=20
>>> On Jun 13, 2014, at 5:19 AM, Daniel Braniss <danny@cs.huji.ac.il> =
wrote:
>>>=20
>>>=20
>>> On Jun 13, 2014, at 12:52 PM, Kamil Czekirda <kczekirda@gmail.com> =
wrote:
>>>=20
>>>> Please try mfsbsd based on current (r266655):
>>>>=20
>>>> =
http://svnweb.freebsd.org/socsvn/soc2014/kczekirda/pxe-fai-head/tools/mfsb=
sd-11.0-CURRENT-r266655-amd64.iso?view=3Dco
>>>>=20
>>>> example:
>>>>=20
>>>> iPXE> dhcp
>>>> iPXE> kernel http://volt.iem.pw.edu.pl/~czekirdk/memdisk iso
>>>> iPXE> =
http://svnweb.freebsd.org/socsvn/soc2014/kczekirda/pxe-fai-head/tools/mfsb=
sd-11.0-CURRENT-r266655-amd64.iso?view=3Dco
>>>=20
>>> something missing in the line above
>>>=20
>>=20
>> yeah, and it=E2=80=99s not obvious.
>>=20
>> fetch-ed the kernel and iso to a local freebsd 10-CURRENT machine =
(nuc2)
>>=20
>> iPXE> kernel tftp://nuc2/memdisk
>> tftp://nuc2/memdisk... ok
>> iPXE> kernel tftp://nuc2/memdisk iso
>> tftp://nuc2/memdisk... ok
>> iPXE> initrd tftp://nuc2/mfsbsd.iso
>> tftp://nuc2/mfsbsd.iso... ok
>> iPXE> boot
>> MEMDISK 6.02 2013-10-13  Copyright 2001-2013 H. Peter Anvin et al
>> e820: 0000000000000000 000000000009fc00 1
>> e820: 000000000009fc00 0000000000000400 2
>> e820: 00000000000f0000 0000000000010000 2
>> e820: 0000000000100000 000000007e010000 1
>> e820: 000000007e110000 0000000000ef0000 2
>> e820: 00000000f8000000 0000000001000000 2
>> Ramdisk at 0x01b76000, length 0x0248a000
>> command line: iso
>> El Torito BVD sanity check failed.
>> El Torito boot catalog sanity check failed.
>> MEMDISK: Image seems to have fractional end cylinder
>> MEMDISK: Image appears to be truncated
>> Disk is hd96, 9354 K, C/H/S =3D 65535/255/15 (El Torito/El Torito), =
EDD on, rw
>> Using safe INT 15h access to high memory
>> Code 1860, meminfo 168, cmdline 4, stack 512
>> Total size needed =3D 2544 bytes, allocating 3K
>> Old dos memory at 0x9c400 (map says 0x9fc00), loading at 0x9b800
>> 1588: 0x69d8  15E801: 0x3c00 0x00b7
>> INT 13 08: Failure, assuming this is the only drive
>> Drive probing gives drive shift limit: 0xe1
>> old: int13 =3D f000e3fe  int15 =3D f000f859  int1e =3D f0007244
>> new: int13 =3D 9b80000a  int15 =3D 9b8003fd  int1e =3D f0007244
>> Loading boot sector... booting...
>>=20
>>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BD88C86A-4C2D-4707-8FD4-4FAB5E514C68>