From owner-freebsd-bugs Mon Jul 22 16:50:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA22057 for bugs-outgoing; Mon, 22 Jul 1996 16:50:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA22051; Mon, 22 Jul 1996 16:50:01 -0700 (PDT) Resent-Date: Mon, 22 Jul 1996 16:50:01 -0700 (PDT) Resent-Message-Id: <199607222350.QAA22051@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, rhh@stealth.ct.picker.com Received: from stealth.ct.picker.com ([144.54.61.10]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA21649 for ; Mon, 22 Jul 1996 16:46:16 -0700 (PDT) Received: (from rhh@localhost) by stealth.ct.picker.com (8.7.5/8.7.3) id TAA01335; Mon, 22 Jul 1996 19:45:43 GMT Message-Id: <199607221945.TAA01335@stealth.ct.picker.com> Date: Mon, 22 Jul 1996 19:45:43 GMT From: Randall Hopper Reply-To: rhh@stealth.ct.picker.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1419: EXT2FS Bug Parsing Mount Opts (SNAP & current) / core dump Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1419 >Category: bin >Synopsis: EXT2FS Bug Parsing Mount Opts (SNAP & current) / core dump >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 22 16:50:00 PDT 1996 >Last-Modified: >Originator: Randall Hopper >Organization: self >Release: FreeBSD 2.2-960612-SNAP i386 >Environment: (Not really relevent, but:) 2 IDE hard disks, multiple FreeBSD UFS and DOS partitions w/ one EXT2FS on wd1. >Description: mount_ext2fs core dumps when mount options other than "ro" are specified. >How-To-Repeat: mount ext2fs file system with options other than or in addition to "ro". E.g. insert /etc/fstab entry: /dev/wd1s3 /linux ext2fs ro,noauto 1 1 and mount /linux. >Fix: The cause of the problem is that an old mntopts.h (missing the new m_altloc field) exists in the sbin/mount_ext2fs directory, resulting in mismatched definitions between mount_ext2fs.o and getmntopts.o when mount_ext2fs is built. This fix that worked for me is: - (cd /usr/src; untar ssbin.??) - cd sbin/mount_ext2fs - rm mnttab.h *.o - edit mount_ext2fs.c and add ",0" to end of getmntopts()' argument lst - make - mv mount_ext2fs /sbin This problem appears to still exists in the -current tree. I believe the mntopts.h file in the sbin/mount_ext2fs directory just needs deleted from this directory and mount_ext2fs.c updated as described above. >Audit-Trail: >Unformatted: