From owner-freebsd-current@FreeBSD.ORG Tue Jun 22 06:41:10 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2E2416A4CE; Tue, 22 Jun 2004 06:41:10 +0000 (GMT) Received: from imap.univie.ac.at (mail.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3151D43D55; Tue, 22 Jun 2004 06:41:10 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from wireless (adslle.cc.univie.ac.at [131.130.102.11]) by imap.univie.ac.at (8.12.10/8.12.10) with ESMTP id i5M6ewoG868104; Tue, 22 Jun 2004 08:41:01 +0200 Date: Tue, 22 Jun 2004 08:40:58 +0200 (CEST) From: Lukas Ertl To: Daryl Chance In-Reply-To: <20040622044042.44300.qmail@web53705.mail.yahoo.com> Message-ID: <20040622084000.P639@korben.in.tern> References: <20040622044042.44300.qmail@web53705.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-DCC-ZID-Univie-Metrics: mx8 4248; Body=5 Fuz1=5 Fuz2=5 cc: grog@FreeBSD.org cc: phk@FreeBSD.org cc: Colin Percival cc: current@FreeBSD.org Subject: Re: vinum crashing with latest current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2004 06:41:10 -0000 On Mon, 21 Jun 2004, Daryl Chance wrote: > --- Colin Percival wrote: >> At 04:53 22/06/2004, Daryl Chance wrote: >> Now, I'm not sure which of these is correct, but ONE >> of the following >> two patches should be applied: >> --- src/sys/dev/vinum/vinumio.c 17 Jun 2004 17:16:47 >> -0000 1.99 >> +++ src/sys/dev/vinum/vinumio.c 22 Jun 2004 04:29:08 >> -0000 >> @@ -68,7 +68,7 @@ open_drive(struct drive *drive, >> struct t >> drive->lasterror = ENOTBLK; >> else { >> DROP_GIANT(); >> - drive->lasterror = (dsw->d_open) (drive->dev, >> FWRITE | FREAD, 0, NULL); >> + drive->lasterror = (dsw->d_open) (drive->dev, >> FWRITE | FREAD, 0, td); >> PICKUP_GIANT(); >> } > > I just tested this and it worked. Thanks. I'll wait for an official I committed the patch, thanks for testing it. cheers, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/