Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2003 16:10:37 +0200 (CEST)
From:      Lukas Ertl <l.ertl@univie.ac.at>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        current@freebsd.org
Subject:   Re: [HEADSDOWN] swap_pager.c calming down... 
Message-ID:  <20030806160649.U1788@korben.in.tern>
In-Reply-To: <42267.1060178098@critter.freebsd.dk>
References:  <42267.1060178098@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030806160649.U1788>