Skip site navigation (1)Skip section navigation (2)
Date:      16 Mar 2002 20:53:35 -0000
From:      Jan Srzednicki <winfried@dream.vg>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/35985: swap double mount
Message-ID:  <20020316205335.24989.qmail@spitfire.303.krakow.pl>

next in thread | raw e-mail | index | archive | help

>Number:         35985
>Category:       kern
>Synopsis:       swap double mount
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 16 13:00:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jan Srzednicki
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Dywizjonet
>Environment:
System: FreeBSD spitfire.303.krakow.pl 4.5-STABLE FreeBSD 4.5-STABLE #2: Tue Feb 12 11:42:41 CET 2002 i386


	
>Description:

I installed a new disk in my machine, run disklabel from /stand/sysinstall,
did some stuff, and run disklabel once more, for a second slice.
Then the system begun to be unstable, some things kept getting SEGVs and stuff:

Mar 16 20:53:02 spitfire /kernel: pid 149 (httpd), uid 0: exited on signal 11 (core dumped)
Mar 16 21:41:07 spitfire /kernel: pid 715 (irssi), uid 1001: exited on signal 11(core dumped)
(..)
And so on.

I had no idea what was going on until I typed swapinfo:

[21:46] spitfire:~(60)# swapinfo
Device          1K-blocks     Used    Avail Capacity  Type
/dev/ad0s1b        153472     5036   148436     3%    Interleaved
/dev/rad6s1b       204672     4968   199704     2%    Interleaved
/dev/rad4s1b       348032     4972   343060     1%    Interleaved
/dev/rad4s1b       348032     1580   346452     0%    Interleaved
Total             1054208    16556  1037652     2%

Aaargh! /dev/rad4s1b is mounted as swap twice!
I thing the system should never allow this to happen.

>How-To-Repeat:

Like I described earlier.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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