From owner-freebsd-current Thu Dec 19 11: 5:13 2002 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 EABE137B401 for ; Thu, 19 Dec 2002 11:05:11 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1898C43EA9 for ; Thu, 19 Dec 2002 11:05:11 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id gBJJ56p0024973; Thu, 19 Dec 2002 20:05:06 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Matthew Dillon Cc: current@FreeBSD.ORG Subject: Re: [src] cvs commit: src/sys/geom geom_dev.c From: phk@FreeBSD.ORG In-Reply-To: Your message of "Thu, 19 Dec 2002 10:49:47 PST." <200212191849.gBJInl1h099859@apollo.backplane.com> Date: Thu, 19 Dec 2002 20:05:06 +0100 Message-ID: <24972.1040324706@critter.freebsd.dk> 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 <200212191849.gBJInl1h099859@apollo.backplane.com>, Matthew Dillon w rites: > >: >:In message <200212191815.gBJIFKwe072831@apollo.backplane.com>, Matthew Dillon w >:rites: >:> This commit is crashing my -current box on boot when it >:> goes to check for a core. I get the panic: >:> >:> "Negative bio_offset (-1024) on bio ..." >:> >:> Userland probably should not be allowed to panic the box >:> in that way. >: >:Backtrace ? >: >:-- >:Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 >:phk@FreeBSD.ORG | TCP/IP since RFC 956 > > userland read() system call from savecore running through > the standard sequence to read from a physical device, then > panicing in geom. I don't have the serial console connected > to that machine but I'll try to reproduce it in a little while > and manually transcribe the backtrace. Why would savecore seek to a negative index ? -- 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