From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 8 23:21:09 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB86B16A4CE; Thu, 8 Jan 2004 23:21:08 -0800 (PST) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48BD843D45; Thu, 8 Jan 2004 23:21:06 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from midget.dons.net.au (ppp108-195.lns1.adl1.internode.on.net [150.101.108.195])i097L3ZC071602; Fri, 9 Jan 2004 17:51:03 +1030 (CST) Received: from chowder.gsoft.com.au (root@localhost.dons.net.au [127.0.0.1]) by midget.dons.net.au (8.12.9/8.12.9) with ESMTP id i097L0aW014875; Fri, 9 Jan 2004 17:51:01 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Scott Long Date: Fri, 9 Jan 2004 17:50:59 +1030 User-Agent: KMail/1.5.4 References: <20040107235737.I32227@pooker.samsco.home> <200401091400.40550.doconnor@gsoft.com.au> <3FFE5211.5040606@freebsd.org> In-Reply-To: <3FFE5211.5040606@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401091750.59133.doconnor@gsoft.com.au> X-Spam-Score: -6.6 () EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.26 (www . roaringpenguin . com / mimedefang) cc: hackers@freebsd.org Subject: Re: Discussion on the future of floppies in 5.x and 6.x X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 07:21:09 -0000 On Friday 09 January 2004 17:32, Scott Long wrote: > > Scott also said stuff like SCSI cards won't get probed if a module is > > loaded but I can't see why that is true.. The module will load, the > > device get detected, and then sysinstall is told to reprobe the hardware, > > so it should pick it up. > > Incorrect. Scanning SCSI buses is something that does not happen > automatically. There is magic in the boot process that makes it happen > near the end, right before the kernel looks for the root device. > However, that is the exception to the rule. If you load a SCSI driver > after the kernel has booted, the SCSI channel behind it will _not_ be > probed automatically. Trust me on this one. Fixing this particular > problem is well beyond the scope of fixing floppies in general. Until > it gets fixed, floppies will just have to deal with it. Yech sucky :( > > I see the 'which kld goes with what device' problem as separate to this > > issue. The KLD load stuff DOES show a small description for each KLD so > > it isn't a total black box, and heck, you can just pick everything and > > cross your fingers :) > > Take something like the if_dc(4) driver. It covers literally _dozens_ > of cards and chips, all under different brands and manufacturers. There > is no way that a single line description file will tell you if your > hardware is supported by the if_dc driver. But this is a minor nit. Yes.. > As I've stated before, loading kernel modules after the kernel has > booted is the wrong time to do it. The loader needs to be enhanced to > be able to take care of this. Once that happens, we can trivially > modify the release scripts to allow an arbitrary number of driver > floppies to be created, and the maintenance nightmare goes away for > the most part. I don't necessarily agree here - I think sysinstall is a better place because it's much much easier to write stuff for it than the loader. In the example you mention the only reason to use the loader is because the SCSI subsystem won't reprobe when a new SCSI bus comes online which sounds like a bug. BTW Does camcontrol rescan cause the devices to be detected? Perhaps sysinstall could be "enhanced" to perform this duty as part of it's reprobe machinations. > Well, except when mfsroot.gz becomes too large to fit on a single > floppy. Right now it is about 90k away from that. What happens when > mount_nfsv4 gets put on there? John Baldwin and I already spat ent a > day over the holiday break making the mfsroot.gz image fit given the > new requirements created by having a dynamic root. What happens the > next time that it overflows? It's not like the driver floppies where > you can dike more stuff to another disk; this is a single image. Do > we come up with a method for having multiple, segmented images? Who > writes the code to do that? > > If we are going to keep floppies, then we need people who are willing to > tackle these issues and keep them under control. I agree with that! :) However, given your example above, I would just put mount_nfsv4 on another floppy, although if sysinstall (or it's replacement) is too large, there will need to be the ability to load N floppy images into memory. However they're issues for floppy users ;) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5