Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Oct 2002 08:15:04 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Ian Dowse <iedowse@maths.tcd.ie>
Cc:        Robert Watson <rwatson@FreeBSD.ORG>, Terry Lambert <tlambert2@mindspring.com>, Emiel Kollof <coolvibe@hackerheaven.org>, Peter Wemm <peter@wemm.org>, n0go013 <ttz@blahdeblah.demon.co.uk>, current <freebsd-current@FreeBSD.ORG>
Subject:   Re: [ GEOM tests ] disklabel warnings and vinum drives lost 
Message-ID:  <81130.1033798504@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 05 Oct 2002 03:10:12 BST." <200210050310.ab54012@salmon.maths.tcd.ie> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200210050310.ab54012@salmon.maths.tcd.ie>, Ian Dowse writes:
>In message <Pine.NEB.3.96L.1021004200338.70577U-100000@fledge.watson.org>, Robe
>rt Watson writes:
>>However, here's a patch that makes Vinum use namei() to rely on devfs to
>>locate requested devices instead of parsing the device name and guessing
>>the device number (incorrectly with GEOM).  Unfortunately, I almost
>>immediately run into a divide by zero due to a zero sector size.  Jeff
>>Roberson mentioned to me he had a fix for this bug that he sent to Greg,
>>but that was never committed.
>
>The divide by zero problem seems to be caused by an interaction
>between two bugs:

Make that _three_ bugs:  vinum opens devices directly at the cdevsw
level, bypassing in the process the vnodes and specfs.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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




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