From owner-freebsd-current Tue Feb 26 11: 2:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id DBF7237B402 for ; Tue, 26 Feb 2002 11:02:38 -0800 (PST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g1QJ2YdN073979; Tue, 26 Feb 2002 20:02:35 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Reifenberger Michael EXT Cc: "'freebsd-current@freebsd.org'" Subject: Re: ddb panics ( getdiskbyname() issue) In-Reply-To: Your message of "Tue, 26 Feb 2002 19:59:30 +0100." <67E0BE167008D31185F60008C7289DA0E1313F@MCHH218E> Date: Tue, 26 Feb 2002 20:02:34 +0100 Message-ID: <73978.1014750154@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <67E0BE167008D31185F60008C7289DA0E1313F@MCHH218E>, Reifenberger Mich ael EXT writes: >Hi, >while searching the cause why "set vfs.root.mountfrom=cd9660:acd0c" >fails I found that when I do a "show disk/ad0" (when /dev/ad0* exists) >causes a panic: ( repeated make_dev("ad0")...) >while "show disk/acd0" doesn't. > >So we have two unrelated problems here: >1.) getdiskbyname() panics the system if the device exists. >2.) getdiskbyname() doesn't work for acd0c. > >Any clues how to fix? No trivial fixes. New code ("GEOM") will replace this entire mess soon. -- 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