From owner-freebsd-arm@FreeBSD.ORG Thu Apr 4 19:38:14 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 38B348B4 for ; Thu, 4 Apr 2013 19:38:14 +0000 (UTC) (envelope-from jeff@jrpenn.demon.co.uk) Received: from smtp.demon.co.uk (mdfmta010.mxout.tch.inty.net [91.221.169.51]) by mx1.freebsd.org (Postfix) with ESMTP id C1A399B6 for ; Thu, 4 Apr 2013 19:38:12 +0000 (UTC) Received: from smtp.demon.co.uk (unknown [127.0.0.1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mdfmta010.tch.inty.net (Postfix) with ESMTP id F0F4B400285 for ; Thu, 4 Apr 2013 20:31:12 +0100 (BST) Received: from mdfmta004.tch.inty.net (unknown [127.0.0.1]) by mdfmta004.tch.inty.net (Postfix) with ESMTP id 750B6AC41E2 for ; Thu, 4 Apr 2013 20:31:06 +0100 (BST) Received: from mdfmta004.tch.inty.net (unknown [127.0.0.1]) by mdfmta004.tch.inty.net (Postfix) with ESMTP id 0CDCAAC41DB for ; Thu, 4 Apr 2013 20:31:06 +0100 (BST) Received: from beastie.jrpenn.demon.co.uk (unknown [80.176.77.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mdfmta004.tch.inty.net (Postfix) with ESMTP for ; Thu, 4 Apr 2013 20:31:05 +0100 (BST) Received: from beastie.jrpenn.demon.co.uk (localhost [127.0.0.1]) by beastie.jrpenn.demon.co.uk (8.14.5/8.14.5) with ESMTP id r34JV5u1091884 for ; Thu, 4 Apr 2013 20:31:05 +0100 (BST) (envelope-from jeff@beastie.jrpenn.demon.co.uk) Received: (from jeff@localhost) by beastie.jrpenn.demon.co.uk (8.14.5/8.14.5/Submit) id r34JV423091883 for freebsd-arm@freebsd.org; Thu, 4 Apr 2013 20:31:04 +0100 (BST) (envelope-from jeff) Date: Thu, 4 Apr 2013 20:31:04 +0100 From: Jeff Penn To: freebsd-arm@freebsd.org Subject: Re: Net booting current snapshot on openrd and sheevaplug Message-ID: <20130404193104.GA91842@jrpenn.demon.co.uk> References: <20130323183037.GA39897@beastie.jrpenn.demon.co.uk> <1364067518.1157.163.camel@revolution.hippie.lan> <20130323231302.GA60043@jrpenn.demon.co.uk> <1364092848.1157.165.camel@revolution.hippie.lan> <20130325222845.GA27893@jrpenn.demon.co.uk> <20130330214014.GA1503@jrpenn.demon.co.uk> <20130403183428.GA81559@jrpenn.demon.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130403183428.GA81559@jrpenn.demon.co.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-MDF-HostID: 17 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2013 19:38:14 -0000 Using net/etherboot (default options) I tried booting a diskless kernel compiled from the same snapshot of current with the following changes: --- GENERIC 2013-03-05 01:06:41.000000000 +0000 +++ MYCURRENT 2013-04-04 18:02:05.000000000 +0100 @@ -25,6 +25,7 @@ makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support +hints "GENERIC.hints" options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption @@ -43,6 +44,10 @@ options NFSD # New Network Filesystem Server options NFSLOCKD # Network Lock Manager options NFS_ROOT # NFS usable as /, requires NFSCL +options BOOTP # Use BOOTP to obtain IP address/hostname +options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info +#options BOOTP_NFSV3 # Use NFS v3 to NFS mount root +options BOOTP_COMPAT # Workaround for broken bootp daemons. options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) The kernel was loaded using tftp, but failed to get as far as the arm systems (dmesg copied by hand): ... sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 smist0: on cpu0 device_attach: smist0 attach returned 6 panic: et_start: period not specified for periodic-only timer cpuid = 0 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kbd_enter+0x3d: movl $0,kbd_why db> The same procedure was followed for 9.1-RELEASE and the boot was a success (note the old hardware - not sure if this could account for the failure with current): Copyright (c) 1992-2012 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 9.1-RELEASE-p2 #0: Thu Apr 4 19:18:35 BST 2013 root@beastie.jrpenn.demon.co.uk:/usr/obj/usr/src/sys/DISKLESS i386 CPU: Intel Pentium III (698.41-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Family = 6 Model = 8 Stepping = 3 Features=0x383f9ff real memory = 402653184 (384 MB) avail memory = 370495488 (353 MB) kbd1 at kbdmux0 ctl: CAM Target Layer loaded acpi0: on motherboard acpi0: Power Button (fixed) cpu0: 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-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pcib0: Length mismatch for 3 range: 80000 vs 7ffff pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1460-0x146f at device 7.1 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 uhci0: port 0x1440-0x145f irq 9 at device 7.2 on pci0 usbus0 on uhci0 pci0: at device 7.3 (no driver attached) vgapci0: mem 0xf5000000-0xf5ffffff irq 11 at device 13.0 on pci0 pci0: at device 15.0 (no driver attached) rl0: port 0x1000-0x10ff mem 0xf4000000-0xf40000ff irq 3 at device 17.0 on pci0 miibus0: on rl0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:06:4f:80:94:ba fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 ppc0: port 0x378-0x37b irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model MouseMan+, device ID 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xe0000-0xe3fff,0xe4000-0xeffff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 smist0: on cpu0 device_attach: smist0 attach returned 6 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus0 uhub0: 2 ports with 2 removable, self powered cd0 at ata1 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present Sending DHCP Discover packet from interface rl0 (00:06:4f:80:94:ba) Received DHCP Offer packet on rl0 from 192.168.0.10 (accepted) (no root path) Received DHCP Offer packet on rl0 from 192.168.0.10 (ignored) (no root path) Received DHCP Offer packet on rl0 from 192.168.0.10 (ignored) (no root path) Sending DHCP Request packet from interface rl0 (00:06:4f:80:94:ba) Received DHCP Ack packet on rl0 from 192.168.0.10 (accepted) (got root path) rl0 at 192.168.0.12 server 192.168.0.10 boot file i386/kernel subnet mask 255.255.255.0 router 192.168.0.1 rootfs 192.168.0.10:/ hostname debian Adjusted interface rl0 Timecounter "TSC" frequency 698407512 Hz quality 800 Trying to mount root from nfs: []... NFS ROOT: 192.168.0.10:/ Jeff