From owner-freebsd-hackers Thu Jun 6 15:50:29 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 911F537B405 for ; Thu, 6 Jun 2002 15:50:21 -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 g56MoIA69760 for ; Fri, 7 Jun 2002 01:50:18 +0300 (EEST) Received: from erwin.gr (ppp163.dialup.ntua.gr [147.102.223.163]) by mail.ntua.gr (Netscape Messaging Server 4.15) with ESMTP id GXB3FT00.PZX; Fri, 7 Jun 2002 01:50:17 +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 01:50:01 +0300 X-Mailer: KMail [version 1.4] Cc: freebsd-hackers@FreeBSD.ORG References: <20020606123539.K55995-100000@resnet.uoregon.edu> In-Reply-To: <20020606123539.K55995-100000@resnet.uoregon.edu> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200206070145.21754.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 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 sear= ch > > 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= =20 working linux installation on said disk. Moreover, I can parse the=20 partition table chain under the linux kernel (using userspace tools) but=20 under freebsd I get the same error as the freebsd kernel partition handli= ng=20 code. I even read the mbr pt + extended pts with a hex editor, they are=20 just fine. I' ve spent about two weeks on the subject before ruling out a= ll=20 posibilities that this is a partition handling problem. This could only be a bug in the bio layer or some kernel quirk that I am = not=20 aware of. The only reason that I do not give any more information is that= I=20 don't have a clue about where to look myself. Thanks for trying to help. --=20 Use recursive procedures for recursively-defined data structures. - 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