From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 17 11:05:50 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 15EC1C7C for ; Tue, 17 Jun 2014 11:05:50 +0000 (UTC) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9175121E4 for ; Tue, 17 Jun 2014 11:05:48 +0000 (UTC) Received: from th-04.cs.huji.ac.il ([132.65.80.125]) by kabab.cs.huji.ac.il with esmtp id 1WwrCs-0006iz-2g; Tue, 17 Jun 2014 14:05:38 +0300 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: iPXE booting latest PCengines alu board From: Daniel Braniss In-Reply-To: <5FA602AC-C827-4727-A038-B96FBEF8E6AB@cs.huji.ac.il> Date: Tue, 17 Jun 2014 14:05:00 +0300 Message-Id: <42ECF631-FC15-4036-8CD4-BC7B240AC265@cs.huji.ac.il> References: <9D14C4BD-8A13-43FC-ACDA-0315A58CEBC6@cs.huji.ac.il> <5399C6A0.9010506@sentex.net> <539B47C0.2050400@sentex.net> <5FA602AC-C827-4727-A038-B96FBEF8E6AB@cs.huji.ac.il> To: Mike Tancsa X-Mailer: Apple Mail (2.1878.2) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2014 11:05:50 -0000 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 = wrote: >=20 > On Jun 13, 2014, at 9:49 PM, Mike Tancsa wrote: >=20 >> On 6/13/2014 4:24 AM, Daniel Braniss wrote: >>>=20 >>> On Jun 12, 2014, at 6:26 PM, Mike Tancsa >> > 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 >> Features2=3D0x802209 >> AMD Features=3D0x2e500800 >> AMD = Features2=3D0x35ff >> 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: >> 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 >> Features2=3D0x802209 >> AMD Features=3D0x2e500800 >> AMD = Features2=3D0x35ff >> 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: >> 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 irqs 0-23 on motherboard >> kbd0 at kbdmux0 >> random: initialized >> module_register_init: MOD_LOAD (vesa, 0xc0f67220, 0) error 19 >> acpi0: on motherboard >> acpi0: Power Button (fixed) >> cpu0: on acpi0 >> cpu1: on acpi0 >> atrtc0: port 0x70-0x71 irq 8 on acpi0 >> Event timer "RTC" frequency 32768 Hz quality 0 >> attimer0: 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: 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: port 0xcf8-0xcff on acpi0 >> pci0: on pcib0 >> pcib1: at device 4.0 on pci0 >> pci1: on pcib1 >> re0: 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: on re0 >> rgephy0: 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: at device 5.0 on pci0 >> pci2: on pcib2 >> re1: 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: on re1 >> rgephy1: 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: at device 6.0 on pci0 >> pci3: on pcib3 >> re2: 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: on re2 >> rgephy2: 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: at device 7.0 on pci0 >> pci4: on pcib4 >> ath0: 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: 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: at channel 0 on ahci0 >> ahcich1: at channel 1 on ahci0 >> ahcich2: at channel 2 on ahci0 >> ahcich3: at channel 3 on ahci0 >> ohci0: mem = 0xfeb00000-0xfeb00fff at device 18.0 on pci0 >> usbus0 on ohci0 >> ehci0: mem = 0xfeb04400-0xfeb044ff at device 18.2 on pci0 >> usbus1: EHCI version 1.0 >> usbus1 on ehci0 >> ohci1: 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"