Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Sep 2003 20:10:35 -0000
From:      stuck_in_telnet@no.where
To:        freebsd-fs@freebsd.org
Subject:   /sbin/newfs 4.8-STABLE_20030803 segfault and core
Message-ID:  <20030902195549.B510243F93@mx1.FreeBSD.org>

next in thread | raw e-mail | index | archive | help
#        size   offset    fstype   [fsize bsize bps/cpg]
  h: 19925880        0    4.2BSD     2048 16384    89   # (Cyl.    0 - 19767*)

/tmp/newfs: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 4.8, statically linked, not stripped

/tmp/newfs -NU -i 3 ad0h    
Warning: Block size restricts cylinders per group to 40200.
Warning: 1160 sector(s) in last cylinder unallocated
/dev/ad0h:      19925880 sectors in 4865 cylinders of 1 tracks, 4096 sectors
        9729.4MB in 1 cyl groups (40200 c/g, 80400.00MB/g, -48203008 i/g) SOFTUPDATES
super-block backups (for fsck -b #) at:
zsh: segmentation fault (core dumped)  /tmp/newfs -NU -i 3 ad0h


Core was generated by `newfs'.
Program terminated with signal 11, Segmentation fault.
#0  0x804c6c8 in initcg (cylno=0, utime=1062500000) at /usr/src/sbin/newfs/mkfs.c:835
(gdb) #0  0x804c6c8 in initcg (cylno=0, utime=1062500000) at /usr/src/sbin/newfs/mkfs.c:835
#1  0x804c080 in mkfs (pp=0x806eec4, fsys=0x8093bc0 "/dev/ad0h", fi=3, fo=-1) at /usr/src/sbin/newfs/mkfs.c:709
#2  0x8049581 in main (argc=1, argv=0xbfbffbc4) at /usr/src/sbin/newfs/newfs.c:617

binary from above sup date running on 4.8-RELEASE.
if run on smaller partitions it simply emits a warning...
/tmp/newfs -NU -i 3 ad1b
Minimum bytes per inode is 773576

no biggie, now off to fix the mail client...



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