From owner-freebsd-hackers Fri Jun 7 12:13:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by hub.freebsd.org (Postfix) with ESMTP id 3D8AC37B404 for ; Fri, 7 Jun 2002 12:13:27 -0700 (PDT) Received: from mail.ntua.gr (mail.ntua.gr [147.102.222.65]) by diomedes.noc.ntua.gr (8.11.6/8.11.6) with ESMTP id g57JDKA48519 for ; Fri, 7 Jun 2002 22:13:20 +0300 (EEST) Received: from erwin.gr (ppp047.dialup.ntua.gr [147.102.223.47]) by mail.ntua.gr (Netscape Messaging Server 4.15) with ESMTP id GXCO2700.A3H; Fri, 7 Jun 2002 22:13:19 +0300 Content-Type: text/plain; charset="iso-8859-7" From: =?iso-8859-7?b?tuPj5evv8iDP6erv7e/s/PDv9evv8g==?= Reply-To: aoiko@cc.ece.ntua.gr To: Doug White Subject: Re: Cannot access disk Date: Fri, 7 Jun 2002 22:12:21 +0300 X-Mailer: KMail [version 1.4] Cc: freebsd-hackers@FreeBSD.ORG References: <20020607114011.V5585-100000@resnet.uoregon.edu> In-Reply-To: <20020607114011.V5585-100000@resnet.uoregon.edu> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200206072212.22101.aoiko@cc.ece.ntua.gr> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday 07 June 2002 21:41, Doug White wrote: > On Fri, 7 Jun 2002, [iso-8859-7] =B6=E3=E3=E5=EB=EF=F2 =CF=E9=EA=EF=ED=EF= =EC=FC=F0=EF=F5=EB=EF=F2 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 devo= te > > > > some extra space to FreeBSD (there is already a linux installatio= n > > > > 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 ha= ve > > 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 partitio= n > > handling code. I even read the mbr pt + extended pts with a hex edito= r, > > 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= =2E > > 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 senten= ce. > 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 l= ast=20 two weeks. I actually implemented a partition viewer based on the linux=20 kernel code which works under linux, but is confused in the same way as t= he=20 freebsd kernel is, when run under freebsd. I think you haven't read my=20 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 --=20 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