[HEADSDOWN] swap_pager.c calming down...
Lukas Ertl
l.ertl at univie.ac.at
Wed Aug 6 07:11:00 PDT 2003
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@ 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/
More information about the freebsd-current
mailing list