Subject: misc/17720: warning when no swap is configured should be more appropriate
To: None <gnats-bugs@gnats.netbsd.org>
From: None <grant@netbsd.org>
List: netbsd-bugs
Date: 07/25/2002 23:59:21
>Number:         17720
>Category:       misc
>Synopsis:       warning when no swap is configured should be more appropriate
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 25 07:00:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     grant beattie
>Release:        NetBSD 1.6_BETA4, 20020725
>Organization:
>Environment:
NetBSD  1.6_BETA4 NetBSD 1.6_BETA4 (GENERIC) #0: Fri Jul 26 05:35:07 EST 2002     grant@mofo:/raid/netbsd/netbsd-1-6/20020725/i386/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386

>Description:
several spurious warnings are generated when no swap space is configured.

boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
Thu Jul 25 23:58:31 GMT 2002
swapctl: /dev/wd0b: Invalid argument

...

Checking for core dump...
savecore: /netbsd: kvm_dump_mkheader: .
Mounting all filesystems...

...

/etc/rc: WARNING: No swap space configured!

...

Jul 26 09:58:36  savecore: /netbsd: kvm_dump_mkheader: .

>How-To-Repeat:
install without a swap partition, observe warnings.

>Fix:

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