Re: [HEADSDOWN] swap_pager.c calming down...

From: Lukas Ertl <l.ertl_at_univie.ac.at>
Date: Wed, 6 Aug 2003 16:10:37 +0200 (CEST)
On Wed, 6 Aug 2003, Poul-Henning Kamp wrote:

> In message <20030806.224938.40721754.haro_at_kgt.co.jp>, haro_at_kgt.co.jp writes:
> >Hello Poul,
> >
> >Can you please look into problems reported on current_at_ 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_at_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/
Received on Wed Aug 06 2003 - 05:11:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:17 UTC