Subject: bin/15790: dump SEGV's if source FS missing from /etc/fstab
To: None <gnats-bugs@gnats.netbsd.org>
From: None <netbsd-current@dberg.net>
List: netbsd-bugs
Date: 03/03/2002 01:21:55
>Number: 15790
>Category: bin
>Synopsis: dump SEGV's if source FS missing from /etc/fstab
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 03 01:22:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Dave Berger
>Release: 1.5.3_ALPHA / atari
>Organization:
>Environment:
NetBSD piano 1.5.3_ALPHA NetBSD 1.5.3_ALPHA (HADES_DLB) #0: Thu Feb 21 23:25:04 EST 2002 rootz@piano:/amd/piano/m/wrk/src/sys/arch/atari/compile/HADES_DLB atari
>Description:
The "dump" command aborts with a SIGSEGV if the filesystem from which the data is being dumped is not listed in /etc/fstab (or if the filesystem is manually mounted on an alternate point which doesn't match its fstab listing).
background:
I was doing hierarchy transfers via "dump -0f - <dir> | (cd <dest> ; restore -xf -)" and they were working--until I hit the failure mode.
I tried some test cases and started to think the problem was with 'amd' mountpoints because there was no trouble with any others.
Then, I tried shutting down amd, unmounting its FS's, and manually mounting one of them on /mnt instead of under /amd; a dump from this setup resulted in the same error.
Finally, I made a /mnt entry in fstab for the same FS and remounted it. This time the dump worked.
Note:
Under NetBSD 1.5.2 / i386, the symptom is a
DUMP: short read error from /mnt: [sector 8194]: count=1, got=0
instead of the
DUMP: SIGSEGV: ABORTING!
of the 1.5.3_ALPHA atari machine.
>How-To-Repeat:
Shortcut: rename /etc/fstab; run a dump.
Full: unmount an FS and remount it manually on an alternate mountpoint (one not listed in /etc/fstab).
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: