From owner-freebsd-qa Tue Nov 19 11:26:58 2002 Delivered-To: freebsd-qa@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5E4837B401 for ; Tue, 19 Nov 2002 11:26:56 -0800 (PST) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7157643E6E for ; Tue, 19 Nov 2002 11:26:56 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 23733 invoked from network); 19 Nov 2002 19:27:01 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 19 Nov 2002 19:27:01 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id gAJJQs2D031442; Tue, 19 Nov 2002 14:26:54 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20021119150532.B19853-100000@hub.org> Date: Tue, 19 Nov 2002 14:26:58 -0500 (EST) From: John Baldwin To: "Marc G. Fournier" Subject: RE: Problems Loading DP2 via FTP through de driver ... Cc: freebsd-current@freebsd.org, qa@FreeBSD.org Sender: owner-freebsd-qa@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 19-Nov-2002 Marc G. Fournier wrote: > > I've been running 4.x on my desktop for months now, with the de driver ... > I've decided that since we're coming up on release, let's move up to it > (yes, I know, its not perfect yet, but its only my desktop) ... > > First problem I hit was that my ethernet card wasn't detected ... from > ftp'ng down the original files, I figured that the driver for it must be > on the drivers.flp, but I couldn't find anywhere that detailed how to make > use of it ... I finally figured out how to do it, after much > trial-n-error, but could someone maybe document this in the README.txt > file, or maybe have a 'Press [Space] to loaddriver from drivers.flp' > message into the boot routine? I think that we should use some magic to make this more intuitive. That is, I think we should have the loader.rc in the mfsroot set a variable 'booted_from="floppy"' and have the loader.rc on the CD set it 'booted_from="cd"' and then have sysinstall pop up a dialog asking the user if they want to insert the driver floppy if the kernel env var booted_from is set to "floppy". Perhaps instead it should be that the boot floppy on archs that support a drivers floppy should add a 'driver_floppy="YES"' that sysinstall would go off of. Hmm, I'll work on that. Well, here's the first step (untested): Index: Makefile =================================================================== RCS file: /usr/cvs/src/release/Makefile,v retrieving revision 1.729 diff -u -r1.729 Makefile --- Makefile 15 Nov 2002 22:03:25 -0000 1.729 +++ Makefile 19 Nov 2002 19:25:35 -0000 @@ -1061,6 +1061,8 @@ .if ${TARGET_ARCH} != "ia64" @echo "set hint.acpi.0.disabled=1" >> ${RD}/image.${FSIMAGE}/boot/loader.rc .endif + @[ -r ${RD}/floppies/drivers.flp ] && \ + echo "set driver_floppy=YES" >> ${RD}/image.${FSIMAGE}/boot/loader.rc @echo "set module_path=\"/modules;/dist\"" >> ${RD}/image.${FSIMAGE}/boot/loader.rc @echo "echo \\007\\007" >> ${RD}/image.${FSIMAGE}/boot/loader.rc @echo "autoboot 10" >> ${RD}/image.${FSIMAGE}/boot/loader.rc -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-qa" in the body of the message