From owner-freebsd-stable@FreeBSD.ORG Thu Jan 11 16:58:08 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7844716A407 for ; Thu, 11 Jan 2007 16:58:08 +0000 (UTC) (envelope-from defan@zenon.net) Received: from mp.zenon.net (mp.zenon.net [195.2.72.79]) by mx1.freebsd.org (Postfix) with ESMTP id 0381913C45B for ; Thu, 11 Jan 2007 16:58:07 +0000 (UTC) (envelope-from defan@zenon.net) Received: from [192.168.13.151] (HELO zts) by mp.zenon.net (CommuniGate Pro SMTP 4.3.7) with SMTP id 16814827 for freebsd-stable@freebsd.org; Thu, 11 Jan 2007 19:58:06 +0300 Message-ID: <0de801c735a1$aa490f30$970da8c0@jam.zenon.net> From: "Andrew N. Below" To: Date: Thu, 11 Jan 2007 19:58:06 +0300 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0DE5_01C735BA.CF8F4250" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 Subject: using md-mounted ISO as NFS root for PXE booting and installing X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2007 16:58:08 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0DE5_01C735BA.CF8F4250 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Hello. I have 6.1-STABLE FreeBSD box I want to use as network boot and install server for PXE clients. At this moment I'm experimenting with 4.11-RELEASE-i386-disc1-gnome.iso and 6.2-RC2-i386-disc1.iso images. Related DHCP config section is: host netboot { hardware ethernet 00:04:**; fixed-address 192.168.13.2; next-server 192.168.13.1; filename "boot/pxeboot"; option root-path "192.168.13.1:/mnt/netboot"; } Exports (/etc/exports): /mnt/netboot -network 192.168.13 -mask 255.255.255. TFTP is running under xinetd with "-l /mnt/netboot" options. Then I mount ISO image to /mnt/netboot with mdconfig and mount_cd9660, and boot PXE client. All is fine if we are booting into 4.11 (root mounted from MFS, sysintall runs and we able to install OS to local disks via NFS). But in case of 6.2-RC2 root mounted from NFS, not MFS: 192.168.13.1:/mnt/netboot on / (nfs) devfs on /dev (devfs, local) /dev/md1 on /var (ufs, local) /dev/md2 on /tmp (ufs, local) and I can see just another "Amnesiac" system w/o root password etc. Where is my mistake? I attached dmesg output for 6.2-RC2 boot to this letter. -- Andrew N. Below ------=_NextPart_000_0DE5_01C735BA.CF8F4250 Content-Type: text/plain; name="dmesg-6.2-RC2-iso-pxe-boot.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dmesg-6.2-RC2-iso-pxe-boot.txt" Copyright (c) 1992-2006 The FreeBSD Project.=0A= Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994=0A= The Regents of the University of California. All rights reserved.=0A= FreeBSD is a registered trademark of The FreeBSD Foundation.=0A= FreeBSD 6.2-RC2 #0: Sun Dec 24 23:17:34 UTC 2006=0A= root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC=0A= ACPI APIC Table: =0A= Timecounter "i8254" frequency 1193182 Hz quality 0=0A= CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.51-MHz 686-class CPU)=0A= Origin =3D "GenuineIntel" Id =3D 0xf43 Stepping =3D 3=0A= = Features=3D0xbfebfbff=0A= Features2=3D0x641d>=0A= AMD Features=3D0x20100000=0A= Logical CPUs per core: 2=0A= real memory =3D 2147352576 (2047 MB)=0A= avail memory =3D 2092195840 (1995 MB)=0A= ioapic0 irqs 0-23 on motherboard=0A= ioapic1 irqs 24-47 on motherboard=0A= ioapic2 irqs 48-71 on motherboard=0A= kbd1 at kbdmux0=0A= ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, = RF5413)=0A= acpi0: on motherboard=0A= acpi0: Power Button (fixed)=0A= Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000=0A= acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0=0A= cpu0: on acpi0=0A= acpi_throttle0: on cpu0=0A= pcib0: port 0xcf8-0xcff on acpi0=0A= pci0: on pcib0=0A= pci0: at device 0.1 (no driver attached)=0A= pci0: at device 1.0 (no driver attached)=0A= pcib1: irq 16 at device 2.0 on pci0=0A= pci1: on pcib1=0A= pcib2: at device 0.0 on pci1=0A= pci2: on pcib2=0A= mpt0: port 0xc800-0xc8ff mem = 0xfced0000-0xfcedffff,0xfcec0000-0xfcecffff irq 26 at device 5.0 on pci2=0A= mpt0: [GIANT-LOCKED]=0A= mpt0: MPI Version=3D1.2.14.0=0A= mpt0: Capabilities: ( RAID-1E RAID-1 SAFTE )=0A= mpt0: 0 Active Volumes (1 Max)=0A= mpt0: 0 Hidden Drive Members (6 Max)=0A= mpt1: port 0xcc00-0xccff mem = 0xfcef0000-0xfcefffff,0xfcee0000-0xfceeffff irq 25 at device 5.1 on pci2=0A= mpt1: [GIANT-LOCKED]=0A= mpt1: MPI Version=3D1.2.14.0=0A= mpt1: Capabilities: ( RAID-1E RAID-1 SAFTE )=0A= mpt1: 0 Active Volumes (1 Max)=0A= mpt1: 0 Hidden Drive Members (6 Max)=0A= pcib3: at device 0.2 on pci1=0A= pci3: on pcib3=0A= em0: port = 0xdc00-0xdc3f mem 0xfcfa0000-0xfcfbffff irq 54 at device 4.0 on pci3=0A= em0: Ethernet address: 00:04:23:c9:ff:f6=0A= em1: port = 0xdc80-0xdcbf mem 0xfcfe0000-0xfcffffff irq 55 at device 4.1 on pci3=0A= em1: Ethernet address: 00:04:23:c9:ff:f7=0A= pcib4: at device 30.0 on pci0=0A= pci4: on pcib4=0A= pci4: at device 12.0 (no driver attached)=0A= isab0: at device 31.0 on pci0=0A= isa0: on isab0=0A= atapci0: port = 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0=0A= ata0: on atapci0=0A= ata1: on atapci0=0A= pci0: at device 31.3 (no driver attached)=0A= acpi_button0: on acpi0=0A= atkbdc0: port 0x60,0x64 irq 1 on acpi0=0A= atkbd0: irq 1 on atkbdc0=0A= kbd0 at atkbd0=0A= atkbd0: [GIANT-LOCKED]=0A= sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on = acpi0=0A= sio0: type 16550A=0A= sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0=0A= sio1: type 16550A=0A= pmtimer0 on isa0=0A= orm0: at iomem = 0xc0000-0xca7ff,0xca800-0xce7ff,0xce800-0xcf7ff,0xcf800-0xd07ff,0xdd800-0= xe17ff on isa0=0A= ppc0: parallel port not found.=0A= sc0: at flags 0x100 on isa0=0A= sc0: VGA <16 virtual consoles, flags=3D0x300>=0A= vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0=0A= Timecounter "TSC" frequency 2992511483 Hz quality 800=0A= Timecounters tick every 1.000 msec=0A= Waiting 5 seconds for SCSI devices to settle=0A= md0: Preloaded image 4423680 bytes at 0xc0af64c0=0A= ses0 at mpt0 bus 0 target 6 lun 0=0A= ses0: Fixed Processor SCSI-2 device =0A= ses0: 3.300MB/s transfers=0A= ses0: SAF-TE Compliant Device=0A= da0 at mpt0 bus 0 target 0 lun 0=0A= da0: Fixed Direct Access SCSI-3 device =0A= da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged = Queueing Enabled=0A= da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)=0A= Trying to mount root from nfs:=0A= NFS ROOT: 192.168.13.9:/mnt/netboot=0A= ------=_NextPart_000_0DE5_01C735BA.CF8F4250--