From owner-freebsd-current@FreeBSD.ORG Wed Aug 6 07:11:00 2003 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 8BE6B37B401 for ; Wed, 6 Aug 2003 07:11:00 -0700 (PDT) Received: from mailbox.univie.ac.at (mailbox.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9233243F3F for ; Wed, 6 Aug 2003 07:10:59 -0700 (PDT) (envelope-from l.ertl@univie.ac.at) Received: from wireless (adslle.cc.univie.ac.at [131.130.102.11]) by mailbox.univie.ac.at (8.12.2/8.12.2) with ESMTP id h76EAg4i016276; Wed, 6 Aug 2003 16:10:48 +0200 Date: Wed, 6 Aug 2003 16:10:37 +0200 (CEST) From: Lukas Ertl To: Poul-Henning Kamp In-Reply-To: <42267.1060178098@critter.freebsd.dk> Message-ID: <20030806160649.U1788@korben.in.tern> References: <42267.1060178098@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-DCC-ZID-Univie-Metrics: unet 4245; Body=0 Fuz1=0 Fuz2=0 cc: haro@kgt.co.jp cc: current@freebsd.org Subject: Re: [HEADSDOWN] swap_pager.c calming down... 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: Wed, 06 Aug 2003 14:11:00 -0000 On Wed, 6 Aug 2003, Poul-Henning Kamp wrote: > In message <20030806.224938.40721754.haro@kgt.co.jp>, haro@kgt.co.jp writes: > >Hello Poul, > > > >Can you please look into problems reported on current@ list, > >the thread with subject "Weird reboots from bootmgr or loader", > >as it seems to related with your recent changes for the swap code. > > There is no way my work could cause reboots from the bootmgr or loader. It seems to be related to the fact that some people have swap as their first partition. John-Mark Gurney said: | If so, make sure your swap isn't at the start of | your disk. If it is, phk was nice enough to only blow away your boot | blocks instead of your disk label too. :) Swap currently uses all but | the first page (4k on i386). My disklabel looks like this: $ bsdlabel ad0s1 # /dev/ad0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 307200 1048857 4.2BSD 2048 16384 0 b: 1048576 0 swap c: 156296322 0 unused 0 0 # "raw" part, don't edit d: 155247730 1048592 vinum And since a few days, whenever I install a new world/kernel, I need to boot a fixit floppy and rewrite the boot blocks/disklabel. You're sure there's no relation between your recent swap changes? regards, le -- Lukas Ertl eMail: l.ertl@univie.ac.at UNIX Systemadministrator Tel.: (+43 1) 4277-14073 Vienna University Computer Center Fax.: (+43 1) 4277-9140 University of Vienna http://mailbox.univie.ac.at/~le/