Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2002 05:10:45 +0300
From:      Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Disk access
Message-ID:  <200206030510.45507.aoiko@cc.ece.ntua.gr>

index | next in thread | raw e-mail

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).

Initially, I thought I had hit a bug in sys/kern/subr_diskmbr.c. Only, using 
a userspace partition viewer (which understands the partition setup on ad3 
when run under linux) I get simillar errors (ie infinite loop in the 
partition handling code), which seem to stem from a read() returning sector 
0 (the mbr of ad3) at somepoint in following the extended partition tables 
chain (do *not* consider this a fact, I could be wrong).

I therefore conclude that this is not a problem in the partition handling 
code and given my lack of familiarity with the kernel I cannot even guess 
at the cause. For what it's worth, ->d_secperunit in the in kernel 
disklabel is the same as the number of sectors reported by the linux 
kernel. I can only assume that this is some obvious misconfiguration on my 
part.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206030510.45507.aoiko>