iPXE booting latest PCengines alu board
Daniel Braniss
danny at cs.huji.ac.il
Tue Jun 17 11:05:50 UTC 2014
After convincing DHCP to work nicely, I managed to boot freebsd via pxeboot,
stiil have one problem:
if the ifs server is on the same network as the host, pxe (PXE_UDP_WRITE)
is not sending out anything out on the wire.
if a gateway is needed, then all is ok.
any ideas?
On Jun 14, 2014, at 10:06 AM, Daniel Braniss <danny at cs.huji.ac.il> wrote:
>
> On Jun 13, 2014, at 9:49 PM, Mike Tancsa <mike at sentex.net> wrote:
>
>> On 6/13/2014 4:24 AM, Daniel Braniss wrote:
>>>
>>> On Jun 12, 2014, at 6:26 PM, Mike Tancsa <mike at sentex.net
>>> <mailto:mike at sentex.net>> wrote:
>>>> If you mean http://www.pcengines.ch/apu.htm, just make sure you are
>>>> booting a relatively recent FreeBSD version (newer than April I
>>>
>>> no, it does not :-(, the bios has iPXE not PXE - notice the little i)
>>> after hitting ^B i managed some progress:
>>> FreeBSD 7.0-RC1 #41: Sun Dec 30 15:19:13 IST 2007
>>
>> When I said newer than April, I meant newer than April 2014. You really need to boot 7.0 ??
> you should have read the end of that message :-)
> ...
> and here it hung.
> ok, so this is a very old kernel, which got selected by default,
> (just shows how old the default is :-), but when I set it to boot
> 9.3-BETA2 via the latest pxeboot it hangs just after initialising
> the BTX.
>
> can you send me your ipxe script, maybe I can figure out
> what i’m doing wrong?
> thanks,
> danny
>
>
>>
>> I am netbooting RELENG_10 just fine
>>
>> # head -20 /var/run/dmesg.boot
>> Copyright (c) 1992-2014 The FreeBSD Project.
>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>> The Regents of the University of California. All rights reserved.
>> FreeBSD is a registered trademark of The FreeBSD Foundation.
>> FreeBSD 10.0-STABLE #1 r262980M: Mon Mar 10 16:54:07 EDT 2014
>> mdtancsa at ich10.sentex.ca:/home/pxe10/usr/obj/home/pxe10/usr/src/sys/GENERIC i386
>> FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
>> CPU: AMD G-T40E Processor (1000.02-MHz 686-class CPU)
>> Origin = "AuthenticAMD" Id = 0x500f20 Family = 0x14 Model = 0x2 Stepping = 0
>> Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>> Features2=0x802209<SSE3,MON,SSSE3,CX16,POPCNT>
>> AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
>> AMD Features2=0x35ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,IBS,SKINIT,WDT>
>> TSC: P-state invariant, performance statistics
>> real memory = 3741364224 (3568 MB)
>> avail memory = 3652464640 (3483 MB)
>> Event timer "LAPIC" quality 400
>> ACPI APIC Table: <CORE COREBOOT>
>> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>> FreeBSD/SMP: 1 package(s) x 2 core(s)
>>
>>
>>
>>
>> Searching bootorder for: /rom at genroms/pxeboot.rom
>> Press F12 for boot menu.
>>
>> drive 0x000fd910: PCHS=0/0/0 translation=lba LCHS=957/64/63 s=3862528
>> drive 0x000fd940: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 s=61865984
>> Space available for UMB: 000c1000-000ee000
>> Returned 49152 bytes of ZoneHigh
>> e820 map has 6 items:
>> 0: 0000000000000000 - 000000000009fc00 = 1 RAM
>> 1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED
>> 2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
>> 3: 0000000000100000 - 000000007e16ac00 = 1 RAM
>> 4: 000000007e16ac00 - 000000007efffc00 = 2 RESERVED
>> 5: 00000000f8000000 - 00000000f9000000 = 2 RESERVED
>> enter handle_19:
>> NULL
>> Booting from ROM...
>> Booting from c000:0358
>> iPXE (PCI 00:00.0) starting execution...ok
>> iPXE initialising devices...ok
>>
>>
>>
>> iPXE 1.0.0+ (b757) -- Open Source Network Boot Firmware -- http://ipxe.org
>> Features: HTTP iSCSI DNS TFTP AoE bzImage ELF MBOOT PXE PXEXT Menu
>>
>> net0: 00:0d:b9:33:11:c4 using rtl8168 on PCI01:00.0 (open)
>> [Link:down, TX:0 TXE:0 RX:0 RXE:0]
>> [Link status: Down (http://ipxe.org/38086101)]
>> Waiting for link-up on net0... failed: Down (http://ipxe.org/38086101)
>> net1: 00:0d:b9:33:11:c5 using rtl8168 on PCI02:00.0 (open)
>> [Link:up, TX:0 TXE:0 RX:0 RXE:0]
>> DHCP (net1 00:0d:b9:33:11:c5)........... ok
>> net1: 192.168.43.213/255.255.255.0 gw 192.168.43.1
>> Nothing to boot: No such file or directory (http://ipxe.org/2d03e13b)
>> net2: 00:0d:b9:33:11:c6 using rtl8168 on PCI03:00.0 (open)
>> [Link:up, TX:0 TXE:0 RX:0 RXE:0]
>> DHCP (net2 00:0d:b9:33:11:c6)...... ok
>> net1: 192.168.43.213/255.255.255.0 gw 192.168.43.1 (inaccessible)
>> net2: 10.255.255.75/255.255.255.0 gw 10.255.255.1
>> Next server: 10.255.255.1
>> Filename: pxe10/boot/pxeboot
>> Root path: /home/pxe10
>> tftp://10.255.255.1/pxe10/boot/pxeboot... ok
>> PXE Loader 1.00
>>
>> Building the boot loader arguments
>> Relocating the loader and the BTX
>> Starting the BTX loader
>> /boot/kernel/kernel text=0xf09688 data=0xd02e8+0xe61e8 syms=[0x4+0xd2850+0x4+0x15704b]
>> |
>> ______ ____ _____ _____
>> | ____| | _ \ / ____| __ \
>> | |___ _ __ ___ ___ | |_) | (___ | | | |
>> | ___| '__/ _ \/ _ \| _ < \___ \| | | |
>> | | | | | __/ __/| |_) |____) | |__| |
>> | | | | | | || | | |
>> |_| |_| \___|\___||____/|_____/|_____/ ``` `
>> s` `.....---.......--.``` -/
>> +------------Welcome to FreeBSD-----------+ +o .--` /y:` +.
>> | | yo`:. :o `+-
>> | 1. Boot Multi User [Enter] | y/ -/` -o/
>> | 2. Boot [S]ingle User | .- ::/sy+:.
>> | 3. [Esc]ape to loader prompt | / `-- /
>> | 4. Reboot | `: :`
>> | | `: :`
>> | Options: | / /
>> | 5. Configure Boot [O]ptions... | .- -.
>> | | -- -.
>> | | `:` `:`
>> | | .-- `--.
>> | | .---.....----.
>> +-----------------------------------------+
>>
>>
>> Booting...
>> Copyright (c) 1992-2014 The FreeBSD Project.
>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>> The Regents of the University of California. All rights reserved.
>> FreeBSD is a registered trademark of The FreeBSD Foundation.
>> FreeBSD 10.0-STABLE #3 r267161: Fri Jun 6 13:55:58 EDT 2014
>> mdtancsa at ich10.sentex.ca:/home/pxe10/usr/obj/home/pxe10/usr/src/sys/GENERIC i386
>> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
>> CPU: AMD G-T40E Processor (1000.02-MHz 686-class CPU)
>> Origin = "AuthenticAMD" Id = 0x500f20 Family = 0x14 Model = 0x2 Stepping = 0
>> Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>> Features2=0x802209<SSE3,MON,SSSE3,CX16,POPCNT>
>> AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
>> AMD Features2=0x35ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,IBS,SKINIT,WDT>
>> TSC: P-state invariant, performance statistics
>> real memory = 2114293760 (2016 MB)
>> avail memory = 2052497408 (1957 MB)
>> Event timer "LAPIC" quality 400
>> ACPI APIC Table: <CORE COREBOOT>
>> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>> FreeBSD/SMP: 1 package(s) x 2 core(s)
>> cpu0 (BSP): APIC ID: 0
>> cpu1 (AP): APIC ID: 1
>> random device not loaded; using insecure entropy
>> ioapic0 <Version 2.1> irqs 0-23 on motherboard
>> kbd0 at kbdmux0
>> random: <Software, Yarrow> initialized
>> module_register_init: MOD_LOAD (vesa, 0xc0f67220, 0) error 19
>> acpi0: <CORE COREBOOT> on motherboard
>> acpi0: Power Button (fixed)
>> cpu0: <ACPI CPU> on acpi0
>> cpu1: <ACPI CPU> on acpi0
>> atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
>> Event timer "RTC" frequency 32768 Hz quality 0
>> attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
>> Timecounter "i8254" frequency 1193182 Hz quality 0
>> Event timer "i8254" frequency 1193182 Hz quality 100
>> Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
>> acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
>> hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
>> Timecounter "HPET" frequency 14318180 Hz quality 950
>> Event timer "HPET" frequency 14318180 Hz quality 550
>> Event timer "HPET1" frequency 14318180 Hz quality 450
>> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
>> pci0: <ACPI PCI bus> on pcib0
>> pcib1: <ACPI PCI-PCI bridge> at device 4.0 on pci0
>> pci1: <ACPI PCI bus> on pcib1
>> re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0x1000-0x10ff mem 0xfe500000-0xfe500fff,0xfe400000-0xfe403fff at device 0.0 on pci1
>> re0: Using 1 MSI-X message
>> re0: ASPM disabled
>> re0: Chip rev. 0x2c000000
>> re0: MAC rev. 0x00200000
>> miibus0: <MII bus> on re0
>> rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
>> rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
>> re0: Ethernet address: 00:0d:b9:33:11:c4
>> pcib2: <ACPI PCI-PCI bridge> at device 5.0 on pci0
>> pci2: <ACPI PCI bus> on pcib2
>> re1: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0x2000-0x20ff mem 0xfe700000-0xfe700fff,0xfe600000-0xfe603fff at device 0.0 on pci2
>> re1: Using 1 MSI-X message
>> re1: ASPM disabled
>> re1: Chip rev. 0x2c000000
>> re1: MAC rev. 0x00200000
>> miibus1: <MII bus> on re1
>> rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus1
>> rgephy1: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
>> re1: Ethernet address: 00:0d:b9:33:11:c5
>> pcib3: <ACPI PCI-PCI bridge> at device 6.0 on pci0
>> pci3: <ACPI PCI bus> on pcib3
>> re2: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0x3000-0x30ff mem 0xfe900000-0xfe900fff,0xfe800000-0xfe803fff at device 0.0 on pci3
>> re2: Using 1 MSI-X message
>> re2: ASPM disabled
>> re2: Chip rev. 0x2c000000
>> re2: MAC rev. 0x00200000
>> miibus2: <MII bus> on re2
>> rgephy2: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus2
>> rgephy2: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
>> re2: Ethernet address: 00:0d:b9:33:11:c6
>> pcib4: <ACPI PCI-PCI bridge> at device 7.0 on pci0
>> pci4: <ACPI PCI bus> on pcib4
>> ath0: <Atheros 9280> mem 0xfea00000-0xfea0ffff at device 0.0 on pci4
>> ath0: [HT] enabling HT modes
>> ath0: [HT] 1 stream STBC receive enabled
>> ath0: [HT] 1 stream STBC transmit enabled
>> ath0: [HT] 2 RX streams; 2 TX streams
>> ath0: AR9280 mac 128.2 RF5133 phy 13.0
>> ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0
>> ahci0: <AMD SB7x0/SB8x0/SB9x0 AHCI SATA controller> port 0x4020-0x4027,0x4040-0x4043,0x4028-0x402f,0x4044-0x4047,0x4000-0x400f mem 0xfeb04000-0xfeb043ff at device 17.0 on pci0
>> ahci0: AHCI v1.20 with 4 6Gbps ports, Port Multiplier supported
>> ahcich0: <AHCI channel> at channel 0 on ahci0
>> ahcich1: <AHCI channel> at channel 1 on ahci0
>> ahcich2: <AHCI channel> at channel 2 on ahci0
>> ahcich3: <AHCI channel> at channel 3 on ahci0
>> ohci0: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfeb00000-0xfeb00fff at device 18.0 on pci0
>> usbus0 on ohci0
>> ehci0: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfeb04400-0xfeb044ff at device 18.2 on pci0
>> usbus1: EHCI version 1.0
>> usbus1 on ehci0
>> ohci1: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfeb01000-0xfeb01fff at device 19.0 on pci0
>>
>> ....
>>
>> ---Mike
>>
>>
>> --
>> -------------------
>> Mike Tancsa, tel +1 519 651 3400
>> Sentex Communications, mike at sentex.net
>> Providing Internet services since 1994 www.sentex.net
>> Cambridge, Ontario Canada http://www.tancsa.com/
>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
More information about the freebsd-hackers
mailing list