Date: Thu, 22 May 2003 16:23:11 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Gavin Atkinson <gavin@ury.york.ac.uk> Cc: current@freebsd.org Subject: Re: GEOM panic on boot when ahd cannot find disk Message-ID: <2585.1053613391@critter.freebsd.dk> In-Reply-To: Your message of "Thu, 22 May 2003 13:49:38 BST." <20030522123034.F54865-100000@ury.york.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2585.1053613391>