Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2008 08:53:39 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-embedded@freebsd.org
Subject:   Re: VIA EDEN board-based unit
Message-ID:  <200802150853.40449.jhb@freebsd.org>
In-Reply-To: <47B50E1B.4000102@denninger.net>
References:  <47B50E1B.4000102@denninger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 14 February 2008 10:59:23 pm Karl Denninger wrote:
> I was able to load it successfully off a CD.
> 
> The PXE boot fails.  It loads the kernel, and then chokes.  No idea why.
> 
> This is what the system identifies as:
> 
> Copyright (c) 1992-2007 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 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
>     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: VIA/IDT Unknown (1196.92-MHz 686-class CPU)
>   Origin = "CentaurHauls"  Id = 0x6d0  Stepping = 0
>   
> 
Features=0xa7c9baff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,APIC,SEP,MTRR,PGE,CMOV,PAT,
> CLFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
>   Features2=0x4181<SSE3,EST,TM2,<b14>>
> real memory  = 503316480 (480 MB)
> avail memory = 483106816 (460 MB)
> MPTable: <TEMPLATE ETEMPLATE   >
> ioapic0: Assuming intbase of 0
> ioapic0 <Version 0.3> irqs 0-23 on motherboard
> kbd1 at kbdmux0
> ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
> cpu0 on motherboard
> pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
> pci0: <PCI bus> on pcib0
> pcib1: <MPTable PCI-PCI bridge> at device 1.0 on pci0
> pci1: <PCI bus> on pcib1
> pci1: <display, VGA> at device 0.0 (no driver attached)
> rl0: <RealTek 8139 10/100BaseTX> port 0xe800-0xe8ff mem 
> 0xfafffc00-0xfafffcff ir
> q 16 at device 8.0 on pci0
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> rl0: Ethernet address: 44:4d:50:02:de:74
> atapci0: <GENERIC ATA controller> port 
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc0
> 0-0xfc0f at device 15.0 on pci0
> ata0: <ATA channel 0> on atapci0
> ata1: <ATA channel 1> on atapci0
> uhci0: <VIA 83C572 USB controller> port 0xec00-0xec1f irq 20 at device 
> 16.0 on pci0
> uhci0: [GIANT-LOCKED]
> usb0: <VIA 83C572 USB controller> on uhci0
> usb0: USB revision 1.0
> uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> ehci0: <VIA VT6202 USB 2.0 controller> mem 0xfafff800-0xfafff8ff irq 23 
> at device 16.4 on pci0
> ehci0: [GIANT-LOCKED]
> usb1: waiting for BIOS to give up control
> usb1: EHCI version 1.0
> usb1: companion controller, 2 ports each: usb0
> usb1: <VIA VT6202 USB 2.0 controller> on ehci0
> usb1: USB revision 2.0
> uhub1: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> isab0: <PCI-ISA bridge> at device 17.0 on pci0
> isa0: <ISA bus> on isab0
> pcib2: <MPTable PCI-PCI bridge> at device 19.0 on pci0
> pci2: <PCI bus> on pcib2
> pci2: <multimedia> at device 1.0 (no driver attached)
> pmtimer0 on isa0
> orm0: <ISA Option ROM> at iomem 0xe7000-0xe77ff on isa0
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> ppbus0: <Parallel port bus> on ppc0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> unknown: <PNP0c01> can't assign resources (memory)
> unknown: <PNP0501> can't assign resources (port)
> unknown: <PNP0501> can't assign resources (port)
> unknown: <PNP0400> can't assign resources (port)
> unknown: <PNP0c02> can't assign resources (port)
> unknown: <PNP0303> can't assign resources (port)
> Timecounter "TSC" frequency 1196917408 Hz quality 800
> Timecounters tick every 1.000 msec
> ad2: 3935MB <InnoDisk Corp. - EDC2000+ H 4GB Ver1.27> at ata1-m
> 
> Yes, that's a 4GB "disk on module".  Niiiice.  No fans, no moving parts.
> 
> I don't know what I'm doing wrong with the PXE boot though.
> 
> Here's what I have configured:
> 
> DHCP options set to:
> server-identifier fs.denninger.net;
>         option root-path "/usr/local/export/pxe";
>         filename "pxeboot";
> 
> NFS Exports set so that /usr/local/export/pxe is exported
> 
> Copied the contents of the local machine's /boot to 
> /usr/share/export/pxeboot/boot
> 
> Copied pxeboot to /tftpboot and enabled tftpd.
> 
> I do not (yet) have the MFSROOT set up, but the kernel should load, yes?
> 
> The system gets PXEBOOT, NFS mounts the pxeboot directory off 
> /usr/share/export, and loads the kernel.
> 
> That's it.  It blows up right then and there; the keyboard is reset, but 
> she goes NO further.
> 
> Obviously I'm doing something wrong with the PXE configuration, but I'll 
> be damned if I can figure out what!
> 
> Being able to PXEBOOT these things would be nice..... that would make 
> them entirely diskless, which would be awesome.

You need a /boot/device.hints file to setup the console in your NFS root.  The 
cursor turning to a block happens during some of the /etc/rc scripts IIRC, so 
your system is booting, it just doesn't have a configured console.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802150853.40449.jhb>