From owner-freebsd-bugs Mon Oct 1 8:20: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 57DFD37B427 for ; Mon, 1 Oct 2001 08:20:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f91FK2Q58475; Mon, 1 Oct 2001 08:20:02 -0700 (PDT) (envelope-from gnats) Received: from relay3-gui.server.ntli.net (relay3-gui.server.ntli.net [194.168.4.200]) by hub.freebsd.org (Postfix) with ESMTP id 8949537B40E for ; Mon, 1 Oct 2001 08:15:16 -0700 (PDT) Received: from pc2-card3-0-cust79.cdf.cable.ntl.com ([213.107.2.79] helo=rhadamanth.private.submonkey.net ident=exim) by relay3-gui.server.ntli.net with esmtp (Exim 3.03 #2) id 15o4mp-0002O8-00 for FreeBSD-gnats-submit@freebsd.org; Mon, 01 Oct 2001 16:15:15 +0100 Received: from setantae by rhadamanth.private.submonkey.net with local (Exim 3.33 #1) id 15o4kt-0007hD-00 for FreeBSD-gnats-submit@freebsd.org; Mon, 01 Oct 2001 16:13:15 +0100 Message-Id: Date: Mon, 01 Oct 2001 16:13:15 +0100 From: setantae Reply-To: setantae To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/30959: newfs -i x dumps core for small values of x Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30959 >Category: bin >Synopsis: newfs -i x dumps core for small values of x >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 01 08:20:02 PDT 2001 >Closed-Date: >Last-Modified: >Originator: setantae >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD rhadamanth.private.submonkey.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Mon Sep 24 15:48:56 BST 2001 setantae@rhadamanth.private.submonkey.net:/usr/obj/usr/src/sys/RHADAMANTH i386 >Description: Calling newfs with the -i option where the value passed is < 256 causes newfs to dump core, or otherwise misbehave. >How-To-Repeat: < 128 : root@rhadamanth setantae# newfs -b 8192 -f 1024 -i64 /dev/ad2s2e Floating point exception (core dumped) root@rhadamanth setantae# (this core dump is available if you want it) < 256 : root@rhadamanth setantae# newfs -b 8192 -f 1024 -i128 /dev/ad2s2e /dev/ad2s2e: 65536 sectors in 16 cylinders of 1 tracks, 4096 sectors 32.0MB in 1 cyl groups (16 c/g, 32.00MB/g, 0 i/g) super-block backups (for fsck -b #) at: 32 fsinit: inode value out of range (2). root@rhadamanth setantae# >Fix: Create less inodes than you want by using values >= 256. >Release-Note: >Audit-Trail: >Unformatted: >= 256 : root@rhadamanth setantae# newfs -b 8192 -f 1024 -i256 /dev/ad2s2e Warning: Bytes per inode restrict cylinders per group to 4. /dev/ad2s2e: 65536 sectors in 16 cylinders of 1 tracks, 4096 sectors 32.0MB in 4 cyl groups (4 c/g, 8.00MB/g, 21760 i/g) super-block backups (for fsck -b #) at: 32, 16416, 32800, 49184 root@rhadamanth setantae# To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message