From owner-freebsd-questions Mon Mar 1 8:15:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mailhub.iastate.edu (mailhub.iastate.edu [129.186.1.102]) by hub.freebsd.org (Postfix) with ESMTP id D6D9F154F8 for ; Mon, 1 Mar 1999 08:15:51 -0800 (PST) (envelope-from rhawkins@iastate.edu) Received: from eyry.econ.iastate.edu (eyry.econ.iastate.edu [129.186.32.221]) by mailhub.iastate.edu (8.8.5/8.8.5) with ESMTP id KAA11563; Mon, 1 Mar 1999 10:15:28 -0600 (CST) Received: from eyry.econ.iastate.edu (really [127.0.0.1]) by eyry.econ.iastate.edu via in.smtpd with esmtp (ident hawk using rfc1413) id (Debian Smail3.2.0.101) for ; Mon, 1 Mar 1999 10:15:28 -0600 (EST) Message-Id: X-Mailer: exmh version 2.0.2 2/24/98 (debian) To: Greg Lehey Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Panic on mounting OS/2 partition (was: "WARNING: / was not properly dismounted" message at reboot time.) In-reply-to: Your message of "Sun, 28 Feb 1999 10:27:49 +1030." <19990228102749.O7279@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 01 Mar 1999 10:15:28 -0600 From: "Richard E. Hawkins Esq." Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG greg grumbled, > On Saturday, 27 February 1999 at 9:44:54 -0600, Richard E. Hawkins Esq. wrote: > > greg wrote, > >> Indeed. I'd be interested in finding out exactly what happened, but > >> not at the expense of tearing your file systems apart. > > this is also a semi-reproducible result of having an extended partition > > following the freebsd partition--even without mounting the partition. > > It will not hang *every* boot, but every several. It will complain > > every time, though. Linux fdisk doesn't place logical partitions > > exactly on cylinder bounds, even when given sizes in cylinders, which > > results in what freebsd sees as a bad disklabel. > I can't relate to that. Could you explain the problem, please? My disk is partitioned as 1: small ext2 for linux kernel & emergency boots 2: moderate dos partitions for if & when I get around to messing with dosemu 3: freebsd 4: extended partition with linux logical partitions If 4: doesn't exist at all, freebsd is quite happy. However, when I create it, and use the fdisk shipped by debian, and put logical partitions in it (typically ext2,swap,swap,ext2), the logical partitions do not exactly meet cylinder boundaries, even when specified by giving startign and ending cylinders. When freebsd boots, it notices the fourth partition, and tries to read its label; something in the label makes it think that there is a disklabel, which it tries to read, and announces that the label is invalid. About 10-20% of the time, it follows this announcement with a panic. If it helps, here's the partition map (from linux-side) Disk /dev/hda: 16 heads, 63 sectors, 16278 cylinders Units = cylinders of 1008 * 512 bytes Device Boot Begin Start End Blocks Id System /dev/hda1 1 1 128 64480+ 83 Linux native /dev/hda2 129 129 381 127512 6 DOS 16-bit >=32M /dev/hda3 382 382 8703 4194288 a5 BSD/386 /dev/hda4 * 8192 8704 16278 3817800 5 Extended /dev/hda5 8192 8704 11597 1458544+ 83 Linux native /dev/hda6 11264 11598 11857 131008+ 82 Linux swap /dev/hda7 11264 11858 12117 131008+ 82 Linux swap /dev/hda8 11264 12118 16278 2097112+ 83 Linux native The only solution I found was to not boot :) -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message