From owner-freebsd-alpha Wed Mar 21 19:22:42 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from neutrino.quantum.net (modemcable037.229-201-24.mtl.mc.videotron.ca [24.201.229.37]) by hub.freebsd.org (Postfix) with ESMTP id 6920437B71E for ; Wed, 21 Mar 2001 19:22:37 -0800 (PST) (envelope-from nospam@ele.etsmtl.ca) Received: from ele.etsmtl.ca (client32.quantum.net [192.168.56.32]) by neutrino.quantum.net (8.12.0.Beta5/8.12.0.Beta5) with ESMTP id f2M3MqZb018162; Wed, 21 Mar 2001 22:22:52 -0500 (EST) Message-ID: <3AB9700B.7050903@ele.etsmtl.ca> Date: Wed, 21 Mar 2001 22:22:51 -0500 From: Normand Leclerc Reply-To: lecn1306@ele.etsmtl.ca User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: en MIME-Version: 1.0 To: Greg Lehey Cc: freebsd-alpha@freebsd.org Subject: Re: Vinum(8) segfault on alpha References: <3AB2C01C.9080509@videotron.ca> <20010317123352.F89962@wantadilla.lemis.com> <3AB36445.1090505@videotron.ca> <20010318094057.L89962@wantadilla.lemis.com> <3AB4105A.2040902@videotron.ca> <20010318124905.C764@wantadilla.lemis.com> <3AB62F14.127C2E00@ele.etsmtl.ca> <20010321074541.B31629@sydney.worldwide.lemis.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greg, I found the ioctl that is causing the problem. It is this line from get_drive_info(...): if (ioctl(superdev, VINUM_DRIVECONFIG, drive) < 0) { The superdev passed to this function is 7. I don't know what this is... From vinum module, VINUM_SUPERDEV_TYPE is 4 ... While I don't know what I'm doing, I changed it for 4 and got an invalid memory address access... I looked at the drive structure, I see all zeros there and the state is unallocated. This generates an invalid ioctl from vinum with code 0xc1184642. This number is constant, I've never seen it change. Hope this gives you a clue... Normand Leclerc, lecn1306@ele.etsmtl.ca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message