From owner-freebsd-current Thu Feb 24 18:28:28 2000 Delivered-To: freebsd-current@freebsd.org Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24]) by hub.freebsd.org (Postfix) with ESMTP id B6DBF37BD23; Thu, 24 Feb 2000 18:28:26 -0800 (PST) (envelope-from green@FreeBSD.org) Received: from 2Cust106.tnt3.waldorf.md.da.uu.net (localhost [127.0.0.1]) by builder.freebsd.org (Postfix) with ESMTP id CDF2C132DD; Thu, 24 Feb 2000 18:26:31 -0800 (PST) Date: Thu, 24 Feb 2000 21:28:18 -0500 (EST) From: Brian Fundakowski Feldman X-Sender: green@green.dyndns.org To: Mike Smith Cc: Soren Schmidt , Yarema , FreeBSD Current , sos@FreeBSD.ORG Subject: Re: After last ATAPI update system doesn't boot if modules loaded by /boot/loader. In-Reply-To: <200002242300.PAA00848@mass.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 24 Feb 2000, Mike Smith wrote: > > It seems Mike Smith wrote: > > > That's possible; it may be that the kernel linker is calling something > > > before you expect it to be called. > > > > Well, its rather that the delayed probe rutine I register with > > config_intrhook_establish() is called before interrupts are actually > > working, that would explain why it times out on the probe... > > This didn't happen before, so thats probably why it breaks... > > It should break SCSI systems too, ass they do the same... > > Hmm. You're assuming that interrupts are working when the hooks are run, > rather than assuming that it's safe to do things which will subsequently > cause interrupts which ought to be correctly handled. > > I'd hazard a guess that the presence of modules is causing the kernel > linker to run and pull all the sysctl hooks for modules it's finding. > I'm probably wrong, just a guess. It certainly seems like the intrhooks are called really early. I did a little bit of experimenting with this problem last night, and that's the most I found: intrhooks really seem to be called to early. I guess I'll go look up cold usage, and see if it necessarily has to be done that early. I'll also investigate that sysctl possibility. > -- > \\ Give a man a fish, and you feed him for a day. \\ Mike Smith > \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org > \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message