Subject: bin/11119: fsck_lfs seg faults on larger disks
To: None <gnats-bugs@gnats.netbsd.org>
From: None <gendalia@iastate.edu>
List: netbsd-bugs
Date: 10/02/2000 18:10:15
>Number:         11119
>Category:       bin
>Synopsis:       fsck_lfs seg faults on larger disks
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 02 18:14:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Tracy J. Di Marco White
>Release:        1.5 branch, September 30, 2000
>Organization:
>Environment:
System: NetBSD lyra 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (LYRA) #0: Sun Oct 1 11:54:43 CDT 2000 gendalia@solstice.cc.iastate.edu:/usr/src/sys/arch/i386/compile/LYRA i386


>Description:
fsck_lfs seg faults on larger lfs filesystems  (larger in this case is 85GB)
# fsck_lfs -d /dev/rraid0d
** /dev/rraid0d (NO WRITE)
sb0 970535261, sb1 970535261
dev_bsize = 512
lfs_bsize = 8192
lfs_fsize = 1024
lfs_frag  = 8
INOPB(fs) = 64
maxino=141856
Segmentation fault (core dumped)

(gdb) run /dev/raid0d
Starting program: /stuff/NetBSD/src/sbin/fsck_lfs/./fsck_lfs /dev/raid0d
** /dev/rraid0d (NO WRITE)

Program received signal SIGSEGV, Segmentation fault.
0x8054138 in bzero ()
(gdb) bt
#0  0x8054138 in bzero ()
#1  0xbfbfd66c in ?? ()
#2  0x804cae3 in checkfilesys (filesys=0x809e020 "/dev/rraid0d", mntpt=0x0, 
    auxdata=0, child=0) at main.c:194
#3  0x804c9f8 in main (argc=0, argv=0xbfbfdbac) at main.c:140
#4  0x80481c5 in ___start ()

>How-To-Repeat:
fsck_lfs /dev/rraid0d
>Fix:
Don't bother fsck'ing LFS filesystem.  Less than optimal.
>Release-Note:
>Audit-Trail:
>Unformatted: