From owner-freebsd-questions@FreeBSD.ORG Wed Dec 13 18:12:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DBB6A16A4D0 for ; Wed, 13 Dec 2006 18:12:22 +0000 (UTC) (envelope-from alex@purificator.net) Received: from web54107.mail.yahoo.com (web54107.mail.yahoo.com [206.190.37.242]) by mx1.FreeBSD.org (Postfix) with SMTP id 3096E43CCA for ; Wed, 13 Dec 2006 18:10:34 +0000 (GMT) (envelope-from alex@purificator.net) Received: (qmail 67292 invoked by uid 60001); 13 Dec 2006 18:12:03 -0000 X-YMail-OSG: bDWjX2IVM1mEOtJn3wLVt4cLn_EiQoQl89ZGOV8.Ak8eNLtxDXLJCoTscS.44OY_ZxWsIiw9fJg7AUdlVb7F78CZEkyIIIClWo94ITL5E3KgzJp3Hh96zK0LuqadN5O0jaEqwvtlfGEjaH6WpoV_ONtGspO0O1tF5MHPWU0dMry5zfF8Q2hhg92XzWDPkPKPa2IjTowCzNlEAwGbu0kZDQ21YXX9vw-- Received: from [192.0.35.211] by web54107.mail.yahoo.com via HTTP; Wed, 13 Dec 2006 10:12:03 PST Date: Wed, 13 Dec 2006 10:12:03 -0800 (PST) From: Alex Toth To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <262847.65339.qm@web54107.mail.yahoo.com> Subject: pxe jumpstart sysinstall doesn't see disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2006 18:12:23 -0000 I'm setting up a pxe boot/jumpstart (using 6.1-RELEASE) and sysinstall won't recognize the drive (SATA on a Dell 1425). The pxe install starts off fine, up through the point where sysinstall gets its DHCP information (per my custom install.cfg, relevant portions copied below). If I install off CD everything works; sysinstall sees ad4 and can work its magic on it, but using the *same* sysinstall (pulled from the CD image), the *same* mfsroot (with the addition of the install.cfg), and the *same* kernel, it doesn't work for the net install. As I mentioned above, after getting an IP address via DHCP sysinstall bombs with this message: +----------------------------- Message -----------------------------+ |No disks found! Please verify that your disk controller is being | |properly probed at boot time. See the Hardware Guide on the | |Documentation menu for clues on diagnosing this type of problem. | +-----------------------------------------------------------(100%)--+ When I try to go through an interactive install at that point I get the same message from any avenue that tries to pull up disk partitioning. At that point I drop to a shell where I can see /dev/ad4*, and can newfs /dev/ad4. I start a second instance of sysinstall which has the same problem, but creates a sysinstall.debug that says it sucessfully detected ad4. I've read through the FreeBSD handbook's section on jumpstart, Doug White's "quick and dirty" guide, and a few others (including the rather old but very helpful http://www.tnpi.biz/computing/freebsd/pxe-netboot.shtml). Unfortunately, they all stop at sysinstall and assume it works from then on. At this point I'm short on troubleshooting ideas and would appreciate help --or experience-- to get me back on track. This is the end of the sysinstall.debug, including the probe lines that find ad4: DEBUG: deviceTry: Making raw device for /dev/cuad15 [28, 143] DEBUG: deviceTry: final attempt for /mnt/dev/cuad15 returns -1 DEBUG: Found a disk device named ad4 DEBUG: Found a DOS partition ad4s2 on drive ad4 DEBUG: mkdir(/tmp/.doc) DEBUG: mkdir(/tmp/.doc..) DEBUG: Executing command `/usr/bin/gunzip < /stand/help/INSTALL.TXT > /tmp/.doc/doc.tmp' /usr/bin/gunzip: not found DEBUG: Command `/usr/bin/gunzip < /stand/help/INSTALL.TXT > /tmp/.doc/doc.tmp' returns status of 127 DEBUG: Executing command `/usr/bin/gunzip < /stand/help/INSTALL.TXT > /tmp/.doc/doc.tmp' /usr/bin/gunzip: not found DEBUG: Command `/usr/bin/gunzip < /stand/help/INSTALL.TXT > /tmp/.doc/doc.tmp' returns status of 127 DEBUG: Executing command `/usr/bin/gunzip < /stand/help/INSTALL.TXT > /tmp/.doc/doc.tmp' /usr/bin/gunzip: not found DEBUG: Command `/usr/bin/gunzip < /stand/help/INSTALL.TXT > /tmp/.doc/doc.tmp' returns status of 127 DEBUG: Executing command `rm -rf /tmp/.doc' DEBUG: Command `rm -rf /tmp/.doc' returns status of 0 Here are the network and disk sections of my install.cfg. Yes, I'm intentionally using the second interface (em1) and on a Dell 1425 with a single SATA drive: ad4. ################################ # Which installation device to use nfs=10.0.0.9:/tftpboot/FreeBSD netDev=em1 # N.B. dell 1425 gig e tryDHCP=YES mediaSetNFS ################################ * snip * ################################ # Now set the parameters for the partition editor on disk 0. disk=ad4 # N.B. dell 1425 partition=all bootManager=standard diskPartitionEditor #diskPartitionWrite ################################ ################################ # All sizes are expressed in 512 byte blocks! # # 2G /, 2G swap, 8G /var 8388608, /usr gets the rest # ad4s1-1=ufs 4194304 / ad4s1-2=swap 4194304 none ad4s1-3=ufs 16777216 /var ad4s1-4=ufs 0 /usr # Let's do it! diskLabelEditor #diskLabelCommit