From owner-freebsd-current@FreeBSD.ORG Thu May 22 07:23:15 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4CBC37B401; Thu, 22 May 2003 07:23:15 -0700 (PDT) Received: from critter.freebsd.dk (esplanaden.cybercity.dk [212.242.40.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70C3243F85; Thu, 22 May 2003 07:23:14 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h4MENBgM002586; Thu, 22 May 2003 16:23:12 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Gavin Atkinson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 22 May 2003 13:49:38 BST." <20030522123034.F54865-100000@ury.york.ac.uk> Date: Thu, 22 May 2003 16:23:11 +0200 Message-ID: <2585.1053613391@critter.freebsd.dk> cc: gibbs@freebsd.org cc: current@freebsd.org Subject: Re: GEOM panic on boot when ahd cannot find disk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 14:23:16 -0000 In message <20030522123034.F54865-100000@ury.york.ac.uk>, Gavin Atkinson writes : > >Hi, > >Freshly burned ISO of 5.1-BETA-20030522-JPSNAP booting off an IDE cd-rom >on the single processor version of >http://www.supermicro.com/PRODUCT/SUPERServer/SuperServer6012P-8.htm Can you try this patch ? Index: geom_disk.c =================================================================== RCS file: /home/ncvs/src/sys/geom/geom_disk.c,v retrieving revision 1.71 diff -u -r1.71 geom_disk.c --- geom_disk.c 21 May 2003 18:52:29 -0000 1.71 +++ geom_disk.c 22 May 2003 14:22:42 -0000 @@ -295,13 +295,15 @@ } static void -g_disk_create(void *arg, int flag __unused) +g_disk_create(void *arg, int flag) { struct g_geom *gp; struct g_provider *pp; struct disk *dp; g_topology_assert(); + if (flag & EV_CANCEL) + return; dp = arg; gp = g_new_geomf(&g_disk_class, "%s%d", dp->d_name, dp->d_unit); gp->start = g_disk_start; -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.