Date: Tue, 17 Jun 2014 14:05:00 +0300 From: Daniel Braniss <danny@cs.huji.ac.il> To: Mike Tancsa <mike@sentex.net> Cc: hackers@freebsd.org Subject: Re: iPXE booting latest PCengines alu board Message-ID: <42ECF631-FC15-4036-8CD4-BC7B240AC265@cs.huji.ac.il> In-Reply-To: <5FA602AC-C827-4727-A038-B96FBEF8E6AB@cs.huji.ac.il> References: <9D14C4BD-8A13-43FC-ACDA-0315A58CEBC6@cs.huji.ac.il> <5399C6A0.9010506@sentex.net> <A6728A0C-1420-47B4-8A0D-325A5C0644E0@cs.huji.ac.il> <539B47C0.2050400@sentex.net> <5FA602AC-C827-4727-A038-B96FBEF8E6AB@cs.huji.ac.il>
next in thread | previous in thread | raw e-mail | index | archive | help
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@cs.huji.ac.il> = wrote: >=20 > On Jun 13, 2014, at 9:49 PM, Mike Tancsa <mike@sentex.net> wrote: >=20 >> On 6/13/2014 4:24 AM, Daniel Braniss wrote: >>>=20 >>> On Jun 12, 2014, at 6:26 PM, Mike Tancsa <mike@sentex.net >>> <mailto:mike@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 >>>=20 >>> 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 >>=20 >> 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. >=20 > can you send me your ipxe script, maybe I can figure out > what i=92m doing wrong? > thanks, > danny >=20 >=20 >>=20 >> I am netbooting RELENG_10 just fine >>=20 >> # 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@ich10.sentex.ca:/home/pxe10/usr/obj/home/pxe10/usr/src/sys/GENERI= C i386 >> FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 >> CPU: AMD G-T40E Processor (1000.02-MHz 686-class CPU) >> Origin =3D "AuthenticAMD" Id =3D 0x500f20 Family =3D 0x14 Model =3D = 0x2 Stepping =3D 0 >> = Features=3D0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE= ,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> >> Features2=3D0x802209<SSE3,MON,SSSE3,CX16,POPCNT> >> AMD Features=3D0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM> >> AMD = Features2=3D0x35ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,IBS,SKI= NIT,WDT> >> TSC: P-state invariant, performance statistics >> real memory =3D 3741364224 (3568 MB) >> avail memory =3D 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) >>=20 >>=20 >>=20 >>=20 >> Searching bootorder for: /rom@genroms/pxeboot.rom >> Press F12 for boot menu. >>=20 >> drive 0x000fd910: PCHS=3D0/0/0 translation=3Dlba LCHS=3D957/64/63 = s=3D3862528 >> drive 0x000fd940: PCHS=3D16383/16/63 translation=3Dlba = LCHS=3D1024/255/63 s=3D61865984 >> Space available for UMB: 000c1000-000ee000 >> Returned 49152 bytes of ZoneHigh >> e820 map has 6 items: >> 0: 0000000000000000 - 000000000009fc00 =3D 1 RAM >> 1: 000000000009fc00 - 00000000000a0000 =3D 2 RESERVED >> 2: 00000000000f0000 - 0000000000100000 =3D 2 RESERVED >> 3: 0000000000100000 - 000000007e16ac00 =3D 1 RAM >> 4: 000000007e16ac00 - 000000007efffc00 =3D 2 RESERVED >> 5: 00000000f8000000 - 00000000f9000000 =3D 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 >>=20 >>=20 >>=20 >> 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 >>=20 >> 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 >>=20 >> Building the boot loader arguments >> Relocating the loader and the BTX >> Starting the BTX loader >> /boot/kernel/kernel text=3D0xf09688 data=3D0xd02e8+0xe61e8 = syms=3D[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... | .- = -. >> | | -- = -. >> | | `:` = `:` >> | | .-- `--. >> | | .---.....----. >> +-----------------------------------------+ >>=20 >>=20 >> 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@ich10.sentex.ca:/home/pxe10/usr/obj/home/pxe10/usr/src/sys/GENERI= C 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 =3D "AuthenticAMD" Id =3D 0x500f20 Family =3D 0x14 Model =3D = 0x2 Stepping =3D 0 >> = Features=3D0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE= ,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> >> Features2=3D0x802209<SSE3,MON,SSSE3,CX16,POPCNT> >> AMD Features=3D0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM> >> AMD = Features2=3D0x35ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,IBS,SKI= NIT,WDT> >> TSC: P-state invariant, performance statistics >> real memory =3D 2114293760 (2016 MB) >> avail memory =3D 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 >>=20 >> .... >>=20 >> ---Mike >>=20 >>=20 >> --=20 >> ------------------- >> Mike Tancsa, tel +1 519 651 3400 >> Sentex Communications, mike@sentex.net >> Providing Internet services since 1994 www.sentex.net >> Cambridge, Ontario Canada http://www.tancsa.com/ >=20 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to = "freebsd-hackers-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42ECF631-FC15-4036-8CD4-BC7B240AC265>