Date: Fri, 7 Jun 2002 22:12:21 +0300 From: =?iso-8859-7?b?tuPj5evv8iDP6erv7e/s/PDv9evv8g==?= <aoiko@cc.ece.ntua.gr> To: Doug White <dwhite@resnet.uoregon.edu> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Cannot access disk Message-ID: <200206072212.22101.aoiko@cc.ece.ntua.gr> In-Reply-To: <20020607114011.V5585-100000@resnet.uoregon.edu> References: <20020607114011.V5585-100000@resnet.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 07 June 2002 21:41, Doug White wrote:
> On Fri, 7 Jun 2002, [iso-8859-7] Άγγελος Οικονομόπουλος wrote:
> > On Thursday 06 June 2002 22:36, Doug White wrote:
> > > On Thu, 6 Jun 2002, Aggelos Economopoulos wrote:
> > > > After adding a 40G ide disk(ad3) on my system, I 'ld like to devote
> > > > some extra space to FreeBSD (there is already a linux installation
> > > > on the 40G disk). However, after booting my -stable installation on
> > > > the first disk(ad0), I get the error message "excessive recursion
> > > > in search for slices" by the kernel on any attempt to access ad3
> > > > (mount a partition, fdisk -s /dev/ad3, or even a read() on ad3).
> > >
> > > Try zeroing off the beginning of the disk with dd; maybe there's a
> > > corrupt partition table there.
> >
> > No, the partition table is _not_ corrupt. As I mentioned before, I have
> > a working linux installation on said disk. Moreover, I can parse the
> > partition table chain under the linux kernel (using userspace tools)
> > but under freebsd I get the same error as the freebsd kernel partition
> > handling code. I even read the mbr pt + extended pts with a hex editor,
> > they are just fine. I' ve spent about two weeks on the subject before
> > ruling out all posibilities that this is a partition handling problem.
>
> Well if tools blow up on multiple platforms, I'm inclined to point to a
> corrupt partition table.
What _exactly_ do you mean? I can't get your logic(?) in the above sentence.
> Linux may have a workaround but it doesn't get
> around the root brokenness.
There is no workaround. I've been studying both implementations for the last
two weeks. I actually implemented a partition viewer based on the linux
kernel code which works under linux, but is confused in the same way as the
freebsd kernel is, when run under freebsd. I think you haven't read my
initial posting with full attention...
>
> Fix your partition table and your systems will be happy.
>
> Doug White | FreeBSD: The Power to Serve
> dwhite@resnet.uoregon.edu | www.FreeBSD.org
--
Make your program read from top to bottom.
- The Elements of Programming Style (Kernighan & Plaugher)
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206072212.22101.aoiko>
