NetBSD Problem Report #37155
From martin@duskware.de Fri Oct 19 23:32:52 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 9540E63B8FE
for <gnats-bugs@gnats.netbsd.org>; Fri, 19 Oct 2007 23:32:52 +0000 (UTC)
Message-Id: <20071019211001.CC4F963B8FE@narn.NetBSD.org>
Date: Fri, 19 Oct 2007 21:10:01 +0000 (UTC)
From: mschmidt@savvybyte.com
Reply-To: mschmidt@savvybyte.com
To: netbsd-bugs-owner@NetBSD.org
Subject: mount: /tmp: Segmentation fault error at boot in netbsd-4-rc-3
X-Send-Pr-Version: www-1.0
>Number: 37155
>Category: bin
>Synopsis: mount: /tmp: Segmentation fault error at boot in netbsd-4-rc-3
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: jnemeth
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 19 23:35:01 +0000 2007
>Closed-Date: Thu Dec 20 06:44:12 +0000 2007
>Last-Modified: Sat May 30 06:50:08 +0000 2009
>Originator: Marcelo Schmidt
>Release: NetBSD 4.0_RC3
>Organization:
Savvybyte
>Environment:
NetBSD moon 4.0_RC3 NetBSD 4.0_RC3 (GENERIC.MP) #0: Tue Oct 16 01:41:36 PDT 2007 builds@wb34:/home/builds/ab/netbsd-4-0-RC3/i386/200710160011Z-obj/home/builds/ab/netbsd-4-0-RC3/src/sys/arch/i386/compile/GENERIC.MP i386
>Description:
Boot error message "mount: /tmp: Segmentation fault" on a fresh NetBSD 4.0_RC3 install. Disklabel created the disk label during a standard install, all partitions also were created without errors. NetBSD 4.0_RC3 installs without errors but it cannot mount /tmp. Same partitions used here work OK in 3.0 and 3.1 stable releases.
disklabel -r ld0
# /dev/rld0d:
type: unknown
disk: disk0
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 24792
total sectors: 398295040
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 6152895 1 4.2BSD 2048 16384 0 # (Cyl. 0*- 383*)
b: 6152895 6152896 swap # (Cyl. 383*- 766*)
c: 398295039 1 unused 0 0 # (Cyl. 0*- 24792*)
d: 398295040 0 unused 0 0 # (Cyl. 0 - 24792*)
e: 20482875 12305791 4.2BSD 2048 16384 0 # (Cyl. 766*- 2041*)
f: 10249470 32788666 4.2BSD 2048 16384 0 # (Cyl. 2041*- 2679*)
g: 355256904 43038136 4.2BSD 2048 16384 0 # (Cyl. 2679*- 24792*)
>How-To-Repeat:
Just do a fresh install of NetBSD 4.0_RC3 and create a /tmp partition among your regular partitions. You will get a boot error message:
mount: /tmp: Segmentation fault
I am using a 3Ware card configured in RAID1 fwiw. I tested the same install, on the same system using the same values with 3.0 and 3.1 without problems.
>Fix:
>Release-Note:
>Audit-Trail:
From: Juan RP <juan@xtrarom.org>
To: gnats-bugs@NetBSD.org
Cc: mschmidt@savvybyte.com
Subject: Re: port-i386/37155: mount: /tmp: Segmentation fault error at boot
in netbsd-4-rc-3
Date: Sat, 20 Oct 2007 02:29:14 +0200
On Fri, 19 Oct 2007 23:35:01 +0000 (UTC)
mschmidt@savvybyte.com wrote:
> >How-To-Repeat:
> Just do a fresh install of NetBSD 4.0_RC3 and create a /tmp partition
> among your regular partitions. You will get a boot error message:
> mount: /tmp: Segmentation fault
>
> I am using a 3Ware card configured in RAID1 fwiw. I tested the same
> install, on the same system using the same values with 3.0 and 3.1
> without problems.
Can you please do it manually and ktruss/ktrace the mount command?
--
Juan Romero Pardines - The NetBSD Project
http://plog.xtrarom.org - NetBSD/pkgsrc news in Spanish
From: Marcelo Schmidt <mschmidt@savvybyte.com>
To: Juan RP <juan@xtrarom.org>
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-i386/37155: mount: /tmp: Segmentation fault error at boot in netbsd-4-rc-3
Date: Fri, 19 Oct 2007 19:09:07 -0700
--JSkcQAAxhB1h8DcT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Sat, Oct 20, 2007 at 02:29:14AM +0200, Juan RP wrote:
> Can you please do it manually and ktruss/ktrace the mount command?
ktrace mount -t mfs /dev/ld0b /tmp
mount: /tmp: Segmentation fault
817 1 ktrace EMUL "netbsd"
817 1 ktrace CALL execve(0xbfbfe4bc,0xbfbfe988,0xbfbfe9a0)
817 1 ktrace NAMI "/sbin/mount"
817 1 ktrace NAMI "/libexec/ld.elf_so"
817 1 mount EMUL "netbsd"
817 1 mount RET execve JUSTRETURN
817 1 mount CALL mmap(0,0x8000,3,0x1002,0xffffffff,0,0,0)
817 1 mount RET mmap -1145135104/0xbbbea000
817 1 mount CALL open(0xbbbfbb9e,0,0xffffffff)
817 1 mount NAMI "/etc/ld.so.conf"
817 1 mount RET open 3
817 1 mount CALL __fstat30(3,0xbfbfe898)
817 1 mount RET __fstat30 0
817 1 mount CALL mmap(0,0x37,1,1,3,0,0,0)
817 1 mount RET mmap -1145139200/0xbbbe9000
817 1 mount CALL close(3)
817 1 mount RET close 0
817 1 mount CALL munmap(0xbbbe9000,0x37)
817 1 mount RET munmap 0
817 1 mount CALL open(0xbfbfe26c,0,0)
817 1 mount NAMI "/lib/libc.so.12"
817 1 mount RET open 3
817 1 mount CALL __fstat30(3,0xbfbfe1b4)
817 1 mount RET __fstat30 0
817 1 mount CALL mmap(0,0x1000,1,1,3,0,0,0)
817 1 mount RET mmap -1145139200/0xbbbe9000
817 1 mount CALL munmap(0xbbbe9000,0x1000)
817 1 mount RET munmap 0
817 1 mount CALL mmap(0,0xe0000,5,2,3,0,0,0)
817 1 mount RET mmap -1146052608/0xbbb0a000
817 1 mount CALL mmap(0xbbbd3000,0x7000,3,0x12,3,0,0xc9000,0)
817 1 mount RET mmap -1145229312/0xbbbd3000
817 1 mount CALL mmap(0xbbbda000,0x10000,3,0x1012,0xffffffff,0,0,0)
817 1 mount RET mmap -1145200640/0xbbbda000
817 1 mount CALL close(3)
817 1 mount RET close 0
817 1 mount CALL __sysctl(0xbfbfe8ec,2,0xbbbde240,0xbfbfe8f4,0,0)
817 1 mount RET __sysctl 0
817 1 mount CALL __sysctl(0xbfbfde00,2,0xbfbfde0c,0xbfbfde10,0,0)
817 1 mount RET __sysctl 0
817 1 mount CALL readlink(0xbbbd2128,0xbfbfde40,0x3f)
817 1 mount NAMI "/etc/malloc.conf"
817 1 mount RET readlink -1 errno 2 No such file or directory
817 1 mount CALL mmap(0,0x1000,3,0x1002,0xffffffff,0,0,0)
817 1 mount RET mmap -1146056704/0xbbb09000
817 1 mount CALL break(0x804c560)
817 1 mount RET break 0
817 1 mount CALL break(0x804d560)
817 1 mount RET break 0
817 1 mount CALL break(0x804e000)
817 1 mount RET break 0
817 1 mount CALL break(0x804f000)
817 1 mount RET break 0
817 1 mount CALL __lstat30(0xbfbfd6e8,0xbfbfc588)
817 1 mount NAMI "/tmp"
817 1 mount RET __lstat30 0
817 1 mount CALL break(0x8050000)
817 1 mount RET break 0
817 1 mount CALL __vfork14
817 1 mount RET __vfork14 787/0x313
817 1 mount CALL wait4(0x313,0xbfbfdf00,0,0)
817 1 mount RET wait4 787/0x313
817 1 mount CALL issetugid
817 1 mount RET issetugid 0
817 1 mount CALL issetugid
817 1 mount RET issetugid 0
817 1 mount CALL open(0xbfbfb914,0,0xbfbfb884)
817 1 mount NAMI "/usr/share/nls/nls.alias.db"
817 1 mount RET open -1 errno 2 No such file or directory
817 1 mount CALL open(0xbbbd0d4f,0,0xbfbfb8e8)
817 1 mount NAMI "/usr/share/nls/nls.alias"
817 1 mount RET open 3
817 1 mount CALL fcntl(3,2,1)
817 1 mount RET fcntl 0
817 1 mount CALL __fstat30(3,0xbfbfb878)
817 1 mount RET __fstat30 0
817 1 mount CALL mmap(0,0x5f0,1,2,3,0,0,0)
817 1 mount RET mmap -1146060800/0xbbb08000
817 1 mount CALL close(3)
817 1 mount RET close 0
817 1 mount CALL munmap(0xbbb08000,0x5f0)
817 1 mount RET munmap 0
817 1 mount CALL open(0xbfbfbd9b,0,0xbfbfbd08)
817 1 mount NAMI "/usr/share/nls/C/libc.cat"
817 1 mount RET open 3
817 1 mount CALL __fstat30(3,0xbfbfbd08)
817 1 mount RET __fstat30 0
817 1 mount CALL mmap(0,0x10be,1,1,3,0,0,0)
817 1 mount RET mmap -1146064896/0xbbb07000
817 1 mount CALL close(3)
817 1 mount RET close 0
817 1 mount CALL munmap(0xbbb07000,0x10be)
817 1 mount RET munmap 0
817 1 mount CALL write(2,0xbfbfbdb4,7)
817 1 mount GIO fd 2 wrote 7 bytes
"mount: "
817 1 mount RET write 7
817 1 mount CALL write(2,0xbfbfbde4,0x18)
817 1 mount GIO fd 2 wrote 24 bytes
"/tmp: Segmentation fault"
817 1 mount RET write 24/0x18
817 1 mount CALL write(2,0x804c43b,1)
817 1 mount GIO fd 2 wrote 1 bytes
"
"
817 1 mount RET write 1
817 1 mount CALL exit(1)
==========================================================================
pub 2048R/D149C1B5 2006-05-08
Key fingerprint = 4DD5 DEBA 28BF FDDA 09EC 3C6B 8504 4FB7 D149 C1B5
uid Marcelo R. Schmidt (SavvyByte LLC) <mschmidt@savvybyte.com>
gpg --keyserver pgp.mit.edu --recv-keys 0xD149C1B5
==========================================================================
--JSkcQAAxhB1h8DcT
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
iQEVAwUBRxljQ4UET7fRScG1AQKn7Af/YdzDT9Gigid7rl5TNHFl6rhVS1k8/Gum
TIpMYDCAP+oJ9Inbz3Pc2Ima8Jipie4u1NGuYTd+CyJJoIa1Ts8qo6UsU0B6eq8B
gFCu8QESK/pXqgQuMefDFZnGdAD1k8kRlxsYkE92DdkGf1LjhO4TbVZ9s1D/cSX7
TV3ex0DyM8ItUMpeum/z0bHS5yUOrpuDZxm/FMlsofzC1+gI8QbYvOPup8pu/IOc
NSkTf6pESEcoMaPVM2/NMoG/t7v4j1X5Lpf+lRdkP74RJMxXb9KfOoINP4gczpe2
5i0EB2klj+UftcB5JsxBKPxDk/RjXG6N9u/Z0Xop06wm1yB2DvUL6w==
=f9B+
-----END PGP SIGNATURE-----
--JSkcQAAxhB1h8DcT--
From: Pavel Cahyna <pavel@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
netbsd-bugs@NetBSD.org, mschmidt@savvybyte.com
Subject: Re: port-i386/37155: mount: /tmp: Segmentation fault error at boot in netbsd-4-rc-3
Date: Sat, 20 Oct 2007 10:28:09 +0200
> ktrace mount -t mfs /dev/ld0b /tmp
please use ktrace -i.
Can you also provide your /etc/fstab, please?
From: Marcelo Schmidt <mschmidt@savvybyte.com>
To: Pavel Cahyna <pavel@netbsd.org>, gnats-bugs@netbsd.org,
port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Cc:
Subject: Re: port-i386/37155: mount: /tmp: Segmentation fault error at boot in netbsd-4-rc-3
Date: Sat, 20 Oct 2007 09:21:51 -0700
--uZ3hkaAS1mZxFaxD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Oct 20, 2007 at 10:28:09AM +0200, Pavel Cahyna wrote:
> please use ktrace -i.
>=20
> Can you also provide your /etc/fstab, please?
# NetBSD /etc/fstab
# See /usr/share/examples/fstab/ for more examples.
/dev/ld0a / ffs rw 1 1
/dev/ld0b none swap sw 0 0
/dev/ld0e /usr ffs rw 1 2
/dev/ld0f /var ffs rw 1 2
/dev/ld0g /home ffs rw 1 2
/dev/ld0b /tmp mfs rw,-s=3D8193150
kernfs /kern kernfs rw
procfs /proc procfs rw,noauto
/dev/ld1a /disk1 ffs rw 1 2
I can't recall if I mentioned this before but I tested switching for tmpfs=
=20
and it worked ok. Could be this a problem with the raid controller card?
[TWE(4)]
The ktrace -i output and it follows the core backtrace and dmesg.boot:
ktrace -i mount -t mfs /dev/ld0b /tmp
mount: /tmp: Segmentation fault
431 1 ktrace EMUL "netbsd"
431 1 ktrace CALL execve(0xbfbfe4ac,0xbfbfe984,0xbfbfe99c)
431 1 ktrace NAMI "/sbin/mount"
431 1 ktrace NAMI "/libexec/ld.elf_so"
431 1 mount EMUL "netbsd"
431 1 mount RET execve JUSTRETURN
431 1 mount CALL mmap(0,0x8000,3,0x1002,0xffffffff,0,0,0)
431 1 mount RET mmap -1145135104/0xbbbea000
431 1 mount CALL open(0xbbbfbb9e,0,0xffffffff)
431 1 mount NAMI "/etc/ld.so.conf"
431 1 mount RET open 3
431 1 mount CALL __fstat30(3,0xbfbfe898)
431 1 mount RET __fstat30 0
431 1 mount CALL mmap(0,0x37,1,1,3,0,0,0)
431 1 mount RET mmap -1145139200/0xbbbe9000
431 1 mount CALL close(3)
431 1 mount RET close 0
431 1 mount CALL munmap(0xbbbe9000,0x37)
431 1 mount RET munmap 0
431 1 mount CALL open(0xbfbfe26c,0,0)
431 1 mount NAMI "/lib/libc.so.12"
431 1 mount RET open 3
431 1 mount CALL __fstat30(3,0xbfbfe1b4)
431 1 mount RET __fstat30 0
431 1 mount CALL mmap(0,0x1000,1,1,3,0,0,0)
431 1 mount RET mmap -1145139200/0xbbbe9000
431 1 mount CALL munmap(0xbbbe9000,0x1000)
431 1 mount RET munmap 0
431 1 mount CALL mmap(0,0xe0000,5,2,3,0,0,0)
431 1 mount RET mmap -1146052608/0xbbb0a000
431 1 mount CALL mmap(0xbbbd3000,0x7000,3,0x12,3,0,0xc9000,0)
431 1 mount RET mmap -1145229312/0xbbbd3000
431 1 mount CALL mmap(0xbbbda000,0x10000,3,0x1012,0xffffffff,0,=
0,0)
431 1 mount RET mmap -1145200640/0xbbbda000
431 1 mount CALL close(3)
431 1 mount RET close 0
431 1 mount CALL __sysctl(0xbfbfe8ec,2,0xbbbde240,0xbfbfe8f4,0,=
0)
431 1 mount RET __sysctl 0
431 1 mount CALL __sysctl(0xbfbfde00,2,0xbfbfde0c,0xbfbfde10,0,=
0)
431 1 mount RET __sysctl 0
431 1 mount CALL readlink(0xbbbd2128,0xbfbfde40,0x3f)
431 1 mount NAMI "/etc/malloc.conf"
431 1 mount RET readlink -1 errno 2 No such file or directory
431 1 mount CALL mmap(0,0x1000,3,0x1002,0xffffffff,0,0,0)
431 1 mount RET mmap -1146056704/0xbbb09000
431 1 mount CALL break(0x804c560)
431 1 mount RET break 0
431 1 mount CALL break(0x804d560)
431 1 mount RET break 0
431 1 mount CALL break(0x804e000)
431 1 mount RET break 0
431 1 mount CALL break(0x804f000)
431 1 mount RET break 0
431 1 mount CALL __lstat30(0xbfbfd6e8,0xbfbfc588)
431 1 mount NAMI "/tmp"
431 1 mount RET __lstat30 0
431 1 mount CALL break(0x8050000)
431 1 mount RET break 0
431 1 mount CALL __vfork14
913 1 mount EMUL "netbsd"
913 1 mount RET fork 0
913 1 mount CALL execve(0xbfbfcee7,0x804f000,0xbfbfe9a8)
913 1 mount NAMI "/sbin/mount_mfs"
913 1 mount NAMI "/libexec/ld.elf_so"
913 1 mount_mfs EMUL "netbsd"
913 1 mount_mfs RET execve JUSTRETURN
431 1 mount RET __vfork14 913/0x391
431 1 mount CALL wait4(0x391,0xbfbfdf00,0,0)
913 1 mount_mfs CALL mmap(0,0x8000,3,0x1002,0xffffffff,0,0,0)
913 1 mount_mfs RET mmap -1145135104/0xbbbea000
913 1 mount_mfs CALL open(0xbbbfbb9e,0,0xffffffff)
913 1 mount_mfs NAMI "/etc/ld.so.conf"
913 1 mount_mfs RET open 3
913 1 mount_mfs CALL __fstat30(3,0xbfbfe8a4)
913 1 mount_mfs RET __fstat30 0
913 1 mount_mfs CALL mmap(0,0x37,1,1,3,0,0,0)
913 1 mount_mfs RET mmap -1145139200/0xbbbe9000
913 1 mount_mfs CALL close(3)
913 1 mount_mfs RET close 0
913 1 mount_mfs CALL munmap(0xbbbe9000,0x37)
913 1 mount_mfs RET munmap 0
913 1 mount_mfs CALL open(0xbfbfe278,0,0)
913 1 mount_mfs NAMI "/lib/libutil.so.7"
913 1 mount_mfs RET open 3
913 1 mount_mfs CALL __fstat30(3,0xbfbfe1c0)
913 1 mount_mfs RET __fstat30 0
913 1 mount_mfs CALL mmap(0,0x1000,1,1,3,0,0,0)
913 1 mount_mfs RET mmap -1145139200/0xbbbe9000
913 1 mount_mfs CALL munmap(0xbbbe9000,0x1000)
913 1 mount_mfs RET munmap 0
913 1 mount_mfs CALL mmap(0,0x11000,5,2,3,0,0,0)
913 1 mount_mfs RET mmap -1145204736/0xbbbd9000
913 1 mount_mfs CALL mmap(0xbbbe7000,0x2000,3,0x12,3,0,0xe000,0)
913 1 mount_mfs RET mmap -1145147392/0xbbbe7000
913 1 mount_mfs CALL mmap(0xbbbe9000,0x1000,3,0x1012,0xffffffff,0,=
0,0)
913 1 mount_mfs RET mmap -1145139200/0xbbbe9000
913 1 mount_mfs CALL close(3)
913 1 mount_mfs RET close 0
913 1 mount_mfs CALL open(0xbfbfe278,0,0xbfbfe1c0)
913 1 mount_mfs NAMI "/lib/libc.so.12"
913 1 mount_mfs RET open 3
913 1 mount_mfs CALL __fstat30(3,0xbfbfe1c0)
913 1 mount_mfs RET __fstat30 0
913 1 mount_mfs CALL mmap(0,0x1000,1,1,3,0,0,0)
913 1 mount_mfs RET mmap -1145208832/0xbbbd8000
913 1 mount_mfs CALL munmap(0xbbbd8000,0x1000)
913 1 mount_mfs RET munmap 0
913 1 mount_mfs CALL mmap(0,0xe0000,5,2,3,0,0,0)
913 1 mount_mfs RET mmap -1146122240/0xbbaf9000
913 1 mount_mfs CALL mmap(0xbbbc2000,0x7000,3,0x12,3,0,0xc9000,0)
913 1 mount_mfs RET mmap -1145298944/0xbbbc2000
913 1 mount_mfs CALL mmap(0xbbbc9000,0x10000,3,0x1012,0xffffffff,0=
,0,0)
913 1 mount_mfs RET mmap -1145270272/0xbbbc9000
913 1 mount_mfs CALL close(3)
913 1 mount_mfs RET close 0
913 1 mount_mfs CALL __sysctl(0xbfbfe8c8,2,0xbbbcd240,0xbfbfe8d0,0=
,0)
913 1 mount_mfs RET __sysctl 0
913 1 mount_mfs CALL __stat30(0xbfbfea72,0xbfbfe828)
913 1 mount_mfs NAMI "/dev/ld0b"
913 1 mount_mfs RET __stat30 0
913 1 mount_mfs CALL gettimeofday(0xbfbfd498,0)
913 1 mount_mfs RET gettimeofday 0
913 1 mount_mfs CALL break(0x8074dec)
913 1 mount_mfs RET break 0
913 1 mount_mfs CALL getrlimit(2,0xbfbfcdf0)
913 1 mount_mfs RET getrlimit 0
913 1 mount_mfs CALL setrlimit(2,0xbfbfcdf0)
913 1 mount_mfs RET setrlimit 0
913 1 mount_mfs CALL __sysctl(0xbfbfcdf8,2,0xbbbd7820,0xbfbfce00,0=
,0)
913 1 mount_mfs RET __sysctl 0
913 1 mount_mfs CALL mmap(0,0xbbc58000,3,0x1002,0xffffffff,0,0,0)
913 1 mount_mfs RET mmap -1 errno 22 Invalid argument
913 1 mount_mfs CALL mmap(0,0x1000,3,0x1002,0xffffffff,0,0,0)
913 1 mount_mfs RET mmap -1146126336/0xbbaf8000
913 1 mount_mfs CALL gettimeofday(0xbfbfcd50,0)
913 1 mount_mfs RET gettimeofday 0
913 1 mount_mfs CALL open(0xbbbbc8d4,0,0xbbbf7274)
913 1 mount_mfs NAMI "/dev/urandom"
913 1 mount_mfs RET open 3
913 1 mount_mfs CALL read(3,0xbfbfcd58,0x78)
913 1 mount_mfs GIO fd 3 read 120 bytes
"\M-`\^P\M-ka\M-\\M^V?\^Qu9\^D\M-U\v\^C\^A\M-JZ\M-Er\M-M\^Z<FL\M-; \=
^_\M-o\240L,\M-T\M-\\M-H\M-T\M-s8\M-m\M-8\
\M-N\M-1\M-l\M-X\M^X35\^WV<\M^Cb\M^E\^[\M-o\M-Hyaz\M-[\M-{\M-s\^R|\M-L\M^G=
\^B{kJ\M-i\^Zq\M-)\^O\M-L\M-8\M-)$\M-hR\
\M-5\M--\M-f\M-6N_\M^Z\M-Z?\M-Z\M-Q\M^_u\^[Fp\M-> V\^Q\M^V5\M-o\M^Nl\M-eI\=
^T\^TJ\M^N\"\M-G\M-&\^F\M^S`\^]\M-T'"
913 1 mount_mfs RET read 120/0x78
913 1 mount_mfs CALL close(3)
913 1 mount_mfs RET close 0
913 1 mount_mfs CALL mmap(0,0x10000,3,0x1002,0xffffffff,0,0,0)
913 1 mount_mfs RET mmap -1146191872/0xbbae8000
913 1 mount_mfs PSIG SIGSEGV SIG_DFL
913 1 mount_mfs NAMI "mount_mfs.core"
431 1 mount RET wait4 913/0x391
431 1 mount CALL issetugid
431 1 mount RET issetugid 0
431 1 mount CALL issetugid
431 1 mount RET issetugid 0
431 1 mount CALL open(0xbfbfb914,0,0xbfbfb884)
431 1 mount NAMI "/usr/share/nls/nls.alias.db"
431 1 mount RET open -1 errno 2 No such file or directory
431 1 mount CALL open(0xbbbd0d4f,0,0xbfbfb8e8)
431 1 mount NAMI "/usr/share/nls/nls.alias"
431 1 mount RET open 3
431 1 mount CALL fcntl(3,2,1)
431 1 mount RET fcntl 0
431 1 mount CALL __fstat30(3,0xbfbfb878)
431 1 mount RET __fstat30 0
431 1 mount CALL mmap(0,0x5f0,1,2,3,0,0,0)
431 1 mount RET mmap -1146060800/0xbbb08000
431 1 mount CALL close(3)
431 1 mount RET close 0
431 1 mount CALL munmap(0xbbb08000,0x5f0)
431 1 mount RET munmap 0
431 1 mount CALL open(0xbfbfbd9b,0,0xbfbfbd08)
431 1 mount NAMI "/usr/share/nls/C/libc.cat"
431 1 mount RET open 3
431 1 mount CALL __fstat30(3,0xbfbfbd08)
431 1 mount RET __fstat30 0
431 1 mount CALL mmap(0,0x10be,1,1,3,0,0,0)
431 1 mount RET mmap -1146064896/0xbbb07000
431 1 mount CALL close(3)
431 1 mount RET close 0
431 1 mount CALL munmap(0xbbb07000,0x10be)
431 1 mount RET munmap 0
431 1 mount CALL write(2,0xbfbfbdb4,7)
431 1 mount GIO fd 2 wrote 7 bytes
"mount: "
431 1 mount RET write 7
431 1 mount CALL write(2,0xbfbfbde4,0x18)
431 1 mount GIO fd 2 wrote 24 bytes
"/tmp: Segmentation fault"
431 1 mount RET write 24/0x18
431 1 mount CALL write(2,0x804c43b,1)
431 1 mount GIO fd 2 wrote 1 bytes
"
"
431 1 mount RET write 1
431 1 mount CALL exit(1)
gdb /sbin/mount_mfs ./mount_mfs.core
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386--netbsdelf"...(no debugging symbols found)
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libutil.so.7...(no debugging symbols found)...don=
e.
Loaded symbols for /lib/libutil.so.7
Reading symbols from /lib/libc.so.12...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.12
warning: Can't read pathname for load map: Input/output error.
Core was generated by `mount_mfs'.
Program terminated with signal 11, Segmentation fault.
#0 0xbbbb2f1d in memmove () from /lib/libc.so.12
(gdb) bt
#0 0xbbbb2f1d in memmove () from /lib/libc.so.12
#1 0x0804b024 in wtfs ()
#2 0x0804c94b in mkfs ()
#3 0x0804a340 in main ()
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 4.0_RC3 (GENERIC.MP) #0: Tue Oct 16 01:41:36 PDT 2007
builds@wb34:/home/builds/ab/netbsd-4-0-RC3/i386/200710160011Z-obj/home/bui=
lds/ab/netbsd-4-0-RC3/src/sys/arch/i386/compile/GENERIC.MP
total memory =3D 3071 MB
rbus: rbus_min_start set to 0xc0000000
avail memory =3D 3005 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xfd6e0
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Xeon (686-class), 2657.98 MHz, id 0xf25
cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: features2 4400<CID,xTPR>
cpu0: "Intel(R) Xeon(TM) CPU 2.66GHz"
cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64B/line 4-way
cpu0: L2 cache 512 KB 64B/line 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: enabling thermal monitor 1 ... enabled.
cpu0: calibrating local timer
cpu0: apic clock running at 132 MHz
cpu0: 16 page colors
cpu1 at mainbus0: apid 6 (application processor)
cpu1: starting
cpu1: Intel Xeon (686-class), 2657.83 MHz, id 0xf25
cpu1: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu1: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu1: features2 4400<CID,xTPR>
cpu1: "Intel(R) Xeon(TM) CPU 2.66GHz"
cpu1: I-cache 12K uOp cache 8-way, D-cache 8 KB 64B/line 4-way
cpu1: L2 cache 512 KB 64B/line 8-way
cpu1: ITLB 4K/4M: 64 entries
cpu1: DTLB 4K/4M: 64 entries
cpu1: using thermal monitor 1
cpu2 at mainbus0: apid 1 (application processor)
cpu2: starting
cpu2: Intel Xeon (686-class), 2657.82 MHz, id 0xf25
cpu2: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu2: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu2: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu2: features2 4400<CID,xTPR>
cpu2: "Intel(R) Xeon(TM) CPU 2.66GHz"
cpu2: I-cache 12K uOp cache 8-way, D-cache 8 KB 64B/line 4-way
cpu2: L2 cache 512 KB 64B/line 8-way
cpu2: ITLB 4K/4M: 64 entries
cpu2: DTLB 4K/4M: 64 entries
cpu2: using thermal monitor 1
cpu3 at mainbus0: apid 7 (application processor)
cpu3: starting
cpu3: Intel Xeon (686-class), 2657.82 MHz, id 0xf25
cpu3: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu3: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu3: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu3: features2 4400<CID,xTPR>
cpu3: "Intel(R) Xeon(TM) CPU 2.66GHz"
cpu3: I-cache 12K uOp cache 8-way, D-cache 8 KB 64B/line 4-way
cpu3: L2 cache 512 KB 64B/line 8-way
cpu3: ITLB 4K/4M: 64 entries
cpu3: DTLB 4K/4M: 64 entries
cpu3: using thermal monitor 1
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 20, 24 pins
ioapic1 at mainbus0 apid 3 (I/O APIC)
ioapic1: pa 0xfec80000, version 20, 24 pins
ioapic2 at mainbus0 apid 4 (I/O APIC)
ioapic2: pa 0xfec80400, version 20, 24 pins
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <PTLTD , RSDT ,06040000>, AslId < LTP,00000000>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0A03 [PCI/PCI-X Host Bridge] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
INT0800 [Intel FWH Random Number Generator] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configu=
red
PNP0200 [AT DMA Controller] at acpi0 not configured
npx1 at acpi0 (PNP0C04)
npx1: io 0xf0-0xfe irq 13
npx1: reported by CPUID; using exception 16
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
pcppi1 at acpi0 (PNP0800)
pcppi1: io 0x61
pcppi1: children must have an explicit unit
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
attimer1 at acpi0 (PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
PNP0A06 [Generic Container Device] at acpi0 not configured
pckbc1 at acpi0 (PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
com3 at acpi0 (PNP0501-1)
com3: io 0x3f8-0x3ff irq 4
com3: ns16550a, working fifo
com3: console
com4 at acpi0 (PNP0501-2)
com4: io 0x2f8-0x2ff irq 3
com4: ns16550a, working fifo
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
pcppi1: attached to attimer1
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel E7501 MCH Host (rev. 0x01)
Intel E7500 MCH DRAM Controller (undefined subclass 0x00, revision 0x01) at=
pci0 dev 0 function 1 not configured
ppb0 at pci0 dev 2 function 0: Intel E7500 MCH HI_B vppb 1 (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
Intel 82870P2 P64H2 IOxAPIC (interrupt system, interface 0x20, revision 0x0=
4) at pci1 dev 28 function 0 not configured
ppb1 at pci1 dev 29 function 0: Intel 82870P2 P64H2 PCI-PCI Bridge (rev. 0x=
04)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
Intel 82870P2 P64H2 IOxAPIC (interrupt system, interface 0x20, revision 0x0=
4) at pci1 dev 30 function 0 not configured
ppb2 at pci1 dev 31 function 0: Intel 82870P2 P64H2 PCI-PCI Bridge (rev. 0x=
04)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
twe0 at pci3 dev 1 function 0: 3ware Escalade
twe0: interrupting at ioapic2 pin 0 (irq 10)
twe0: 4 ports, Firmware FE7X 1.05.00.056, BIOS BE7X 1.08.00.046
twe0: Monitor ME7X 1.01.00.038, PCB Rev4 , Achip 3.20 , Pchip 1.30-66=
=20
twe0: port 0: Maxtor 6Y200P0 194481 MB
twe0: port 1: Maxtor 6Y200P0 194481 MB
twe0: port 2: Maxtor 6Y200P0 194481 MB
twe0: port 3: Maxtor 6Y200P0 194481 MB
ld0 at twe0 unit 0: TwinStor, status: Normal
ld0: 189 GB, 24792 cyl, 255 head, 63 sec, 512 bytes/sect x 398295040 sectors
ld1 at twe0 unit 2: TwinStor, status: Normal
ld1: 189 GB, 24792 cyl, 255 head, 63 sec, 512 bytes/sect x 398295040 sectors
Intel E7500 MCH HI_B vppb 2 (undefined subclass 0x00, revision 0x01) at pci=
0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0: Intel 82801CA USB Controller (rev. 0x02)
uhci0: interrupting at ioapic0 pin 16 (irq 10)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801CA USB Controller (rev. 0x02)
uhci1: interrupting at ioapic0 pin 19 (irq 5)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801CA USB Controller (rev. 0x02)
uhci2: interrupting at ioapic0 pin 18 (irq 10)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ppb3 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0x42)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
vga1 at pci4 dev 3 function 0: ATI Technologies Rage XL (rev. 0x27)
wsdisplay0 at vga1 kbdmux 1
wsmux1: connecting to wsdisplay0
fxp0 at pci4 dev 4 function 0: i82550 Ethernet, rev 13
fxp0: interrupting at ioapic0 pin 20 (irq 10)
fxp0: Ethernet address 00:02:b3:d8:b8:9c
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
wm0 at pci4 dev 5 function 0: Intel i82540EM 1000BASE-T Ethernet, rev. 2
wm0: interrupting at ioapic0 pin 23 (irq 11)
wm0: 32-bit 33MHz PCI bus
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address 00:02:b3:d8:b9:1d
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000bas=
eT-FDX, auto
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801CA LPC Interface (rev. 0x02)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801CA IDE Controller (ICH3) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at piixide0 channel 1
Intel 82801CA SMBus Controller (SMBus serial bus, revision 0x02) at pci0 de=
v 31 function 3 not configured
isa0 at pcib0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
ioapic0: enabling
ioapic1: enabling
ioapic2: enabling
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
Kernelized RAIDframe activated
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
cpu2: CPU 1 running
cpu3: CPU 7 running
cpu1: CPU 6 running
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
--=20
-m
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
pub 2048R/D149C1B5 2006-05-08
Key fingerprint =3D 4DD5 DEBA 28BF FDDA 09EC 3C6B 8504 4FB7 D149 C1B5
uid Marcelo R. Schmidt (SavvyByte LLC) <mschmidt@savvybyte.com>
gpg --keyserver pgp.mit.edu --recv-keys 0xD149C1B5
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--uZ3hkaAS1mZxFaxD
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
iQEVAwUBRxorH4UET7fRScG1AQI7zgf/aBmJY9UIuQUgWq/3HDCodL2K+oGMuNCj
1fSFj3YDKr9Y8tg7GK1j0YV/AJwc4LF5H0iPKNg/JDbpzrAQq0kkHZvUyknt/6Y4
IiTfi7S6DAkrO+k5cfomnI0Gv8RaNY4myFb2262h9r0pGOlZ9vOJjcktYmK1iWcQ
iyT9DdajEcQ9wJhhsJd/RWKqJqx5i+tg96HqX8zBXpAJf0MY2yYKWb9cPFAAQTCw
JOU0y+Xn1zcBRrqF+xrJGI9uAa4l1fVhBDRdQxqqc6T1FChZNCbGpJ6AL3t8PicS
V0fIiEpFkrHYhSmL9D7mng0oHZ9dI5tY7w3x09mRACG49vVDSKpomw==
=yfPf
-----END PGP SIGNATURE-----
--uZ3hkaAS1mZxFaxD--
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: port-i386/37155: mount: /tmp: Segmentation fault error at boot in netbsd-4-rc-3
Date: Sat, 20 Oct 2007 18:53:19 +0200
On Sat, Oct 20, 2007 at 04:25:02PM +0000, Marcelo Schmidt wrote:
<snip>
> # NetBSD /etc/fstab
> # See /usr/share/examples/fstab/ for more examples.
> /dev/ld0a / ffs rw 1 1
> /dev/ld0b none swap sw 0 0
> /dev/ld0e /usr ffs rw 1 2
> /dev/ld0f /var ffs rw 1 2
> /dev/ld0g /home ffs rw 1 2
> /dev/ld0b /tmp mfs rw,-s=3D8193150
8193150 * 512 = 4194892800 = 0xfa08fc00 is a rather large mfs
<snip>
> 913 1 mount_mfs CALL mmap(0,0xbbc58000,3,0x1002,0xffffffff,0,0,0)
> 913 1 mount_mfs RET mmap -1 errno 22 Invalid argument
Here mmap() fails. Now look at src/sbin/newfs/mkfs.c and see code like this:
calc_memfree();
if (fssize * sectorsize > memleft)
fssize = memleft / sectorsize;
if ((membase = mkfs_malloc(fssize * sectorsize)) == 0)
exit(12);
where
static void *
mkfs_malloc(size_t size)
...
return (mmap(0, size, ...
Looks like all tests of mmap() against NULL need conversion to MAP_FAILED.
--
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)
From: Marcelo Schmidt <mschmidt@savvybyte.com>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
netbsd-bugs@NetBSD.org
Subject: Re: port-i386/37155: mount: /tmp: Segmentation fault error at boot in netbsd-4-rc-3
Date: Sat, 20 Oct 2007 11:45:00 -0700
--GZVR6ND4mMseVXL/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Oct 20, 2007 at 04:55:08PM +0000, Juergen Hannken-Illjes wrote:
> =20
> 8193150 * 512 =3D 4194892800 =3D 0xfa08fc00 is a rather large mfs
Yes I know and reducing its size makes is a work around:
mount_mfs -s 2048000 /dev/ld0b /tmp
However in older releases (at least tested in 2.1, 3.0 and, 3.1) the=20
behavior seems to be a quiet mount of whatever max allocation of memory
is. =20
--=20
-m
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
pub 2048R/D149C1B5 2006-05-08
Key fingerprint =3D 4DD5 DEBA 28BF FDDA 09EC 3C6B 8504 4FB7 D149 C1B5
uid Marcelo R. Schmidt (SavvyByte LLC) <mschmidt@savvybyte.com>
gpg --keyserver pgp.mit.edu --recv-keys 0xD149C1B5
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--GZVR6ND4mMseVXL/
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
iQEVAwUBRxpMrIUET7fRScG1AQIODAf+Obz33x9ZM25BDEQEyOv1KfnZHvWNK0Zj
JAqcARGzD9N8WAjHJNLVhubsHIio1Hl2COkyStCQLqiIRWNgzAruPhgxcAt1ccM3
JuRYfgKaEIlEZy784BmrZYsp+4mOsO/MB+sCjrc8piTrfSWpUS2Rss2iG/LvP2AF
voPi8NR2mUK+fqY7FcqXb1fCQ6LXIwX/A1fiR1FbrMfAlCmpbbZ3HobjbS1vGxv9
C8IjtG0LZnXZE8L9lRweIJ1kEvrjXXX92NfAYda9NviIL53frrsHI5Wb1Pxa4GaX
V7+D0hcVjpbfrprLKj/dH6nHIBUZ7JsPJeJdlIy2H7OtsLooIv/YgA==
=aFK7
-----END PGP SIGNATURE-----
--GZVR6ND4mMseVXL/--
From: "De Zeurkous" <zeurkous@nichten.info>
To: gnats-bugs@netbsd.org
Cc:
Subject: RE: port-i386/37155
Date: Sat, 8 Dec 2007 20:06:26 -0000 (UTC)
See also my PR bin/37503, which is probably related if not the same problem.
--De Zeurkous.
Responsible-Changed-From-To: port-i386-maintainer->jnemeth
Responsible-Changed-By: jnemeth@netbsd.org
Responsible-Changed-When: Sat, 08 Dec 2007 20:51:03 +0000
Responsible-Changed-Why:
I'm working on it.
From: John Nemeth <jnemeth@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/37155 CVS commit: src/sbin/newfs
Date: Sat, 8 Dec 2007 21:40:24 +0000 (UTC)
Module Name: src
Committed By: jnemeth
Date: Sat Dec 8 21:40:24 UTC 2007
Modified Files:
src/sbin/newfs: mkfs.c
Log Message:
PR/37155 - Marcelo Schmidt -- specifying too large of a size causes segvs
To generate a diff of this commit:
cvs rdiff -r1.103 -r1.104 src/sbin/newfs/mkfs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: jnemeth@netbsd.org
State-Changed-When: Thu, 20 Dec 2007 06:44:12 +0000
State-Changed-Why:
fixed in head and netbsd-4... thanks for the PR!
From: Marcelo Schmidt <mschmidt@savvybyte.com>
To: gnats-bugs@NetBSD.org
Cc: jnemeth@NetBSD.org, netbsd-bugs@NetBSD.org,
gnats-admin@NetBSD.org
Subject: Re: bin/37155 (mount: /tmp: Segmentation fault error at boot in netbsd-4-rc-3)
Date: Thu, 20 Dec 2007 21:23:04 -0800
--vtJ+CqYNzKB4ukR4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Did this fix make it into release 4.0? =20
I tried 4-current and 4.0-release, both still have the same problem.
-m
On Thu, Dec 20, 2007 at 06:44:15AM +0000, jnemeth@NetBSD.org wrote:
> Synopsis: mount: /tmp: Segmentation fault error at boot in netbsd-4-rc-3
>=20
> State-Changed-From-To: open->closed
> State-Changed-By: jnemeth@netbsd.org
> State-Changed-When: Thu, 20 Dec 2007 06:44:12 +0000
> State-Changed-Why:
> fixed in head and netbsd-4... thanks for the PR!
>=20
>=20
>=20
--=20
-m
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
pub 2048R/D149C1B5 2006-05-08
Key fingerprint =3D 4DD5 DEBA 28BF FDDA 09EC 3C6B 8504 4FB7 D149 C1B5
uid Marcelo R. Schmidt (SavvyByte LLC) <mschmidt@savvybyte.com>
gpg --keyserver pgp.mit.edu --recv-keys 0xD149C1B5
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--vtJ+CqYNzKB4ukR4
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
iQEVAwUBR2tNuIUET7fRScG1AQIgHAf9GwcV2jzpDhBenh3NZX+4577HOB3mH05o
Z31aUPYHAZgN1WYu7+cvWpk41HnC+BtoHzcURB7esmH0ShwKLwZ80UlIUYDQJ3lc
d2u9ZC6/4bgKwoolh5a6Guit7/Fo+qDGyIBKITga5ksMgEVZwRXq4WJUziXoAVKf
NXR7guzY/CKQS9V3aqzb0hDGs4YjQeyBHX8O6ELiRKEF2OYxlk/dsUQ/NRPWDczj
s2gGvVpU+LPiKndGw2jiHmUJCm3+8iStsEkHiwAtLO6mc4JzI33QLZ8dpudtLLZl
bhPwIjc/9DsLRg/6LNx2RfHLVoPScM0N2cWPYvYxMl5fO1OZWliazw==
=7Wb2
-----END PGP SIGNATURE-----
--vtJ+CqYNzKB4ukR4--
From: jnemeth@victoria.tc.ca (John Nemeth)
To: Marcelo Schmidt <mschmidt@savvybyte.com>, gnats-bugs@NetBSD.org
Cc: netbsd-bugs@NetBSD.org
Subject: Re: bin/37155 (mount: /tmp: Segmentation fault error at boot in netbsd-4-rc-3)
Date: Fri, 21 Dec 2007 00:19:11 -0800
On May 12, 3:58pm, Marcelo Schmidt wrote:
} On Thu, Dec 20, 2007 at 06:44:15AM +0000, jnemeth@NetBSD.org wrote:
} > Synopsis: mount: /tmp: Segmentation fault error at boot in netbsd-4-rc-3
} >
} > State-Changed-From-To: open->closed
} > State-Changed-By: jnemeth@netbsd.org
} > State-Changed-When: Thu, 20 Dec 2007 06:44:12 +0000
} > State-Changed-Why:
} > fixed in head and netbsd-4... thanks for the PR!
}
} Did this fix make it into release 4.0?
Hmm, I thought it did, but apparently not. It is netbsd-4 pullup
number 1024.
} I tried 4-current and 4.0-release, both still have the same problem.
You can fix it yourself by unpacking the src.tgz and
cd /usr/src/sbin/newfs
cvs up -kk -j 1.103 -j 1.104 mkfs.c
cvs up -kk -j 1.14 -j 1.15 mount_mfs.c
make USETOOLS=never all install
}-- End of excerpt from Marcelo Schmidt
From: Marcelo Schmidt <mschmidt@savvybyte.com>
To: John Nemeth <jnemeth@victoria.tc.ca>
Cc: gnats-bugs@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: bin/37155 (mount: /tmp: Segmentation fault error at boot in netbsd-4-rc-3)
Date: Sun, 23 Dec 2007 10:56:11 -0800
--YqKeQn+qkMVHQmbT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Dec 21, 2007 at 12:19:11AM -0800, John Nemeth wrote:
> You can fix it yourself by unpacking the src.tgz and
>=20
> cd /usr/src/sbin/newfs
> cvs up -kk -j 1.103 -j 1.104 mkfs.c
> cvs up -kk -j 1.14 -j 1.15 mount_mfs.c
> make USETOOLS=3Dnever all install
Thanks. I patched a fresh install 4.0 release and the mount command if
manually executed worked ok however after reboot the mfs /tmp created
is not being mounted and silently ignored.
--=20
-m
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
pub 2048R/D149C1B5 2006-05-08
Key fingerprint =3D 4DD5 DEBA 28BF FDDA 09EC 3C6B 8504 4FB7 D149 C1B5
uid Marcelo R. Schmidt (SavvyByte LLC) <mschmidt@savvybyte.com>
gpg --keyserver pgp.mit.edu --recv-keys 0xD149C1B5
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--YqKeQn+qkMVHQmbT
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
iQEVAwUBR26vS4UET7fRScG1AQLwjAf/QgKTVgDlXYnlQdyzqjzaMU0dSDTJeoqZ
hg/XNXjxi2GV2XzKpcKLKGbunaSQsenu4s+LgGLhtYHkCtSvj3v5RH6VBVkIJHLV
s7UYhWUP16NX2vERv2me1hCxAFem4fbsbMb0VtqYT8UIm9CEgHjGghxjoJhAceRm
oxbiy93BCSDKc18jpameJlS6Ys/Fp1L9NMepmcmW0lzPc8gS0g6Az2uWYbpKk12C
kTVpY6iVbsnq+k5b8tRJ9Ixcfy/fDKBOVvFYHpKVeA5HClNc2GY/25+czVpbF4K2
nuPkjBMf0blsXEe6bNIDh1u+fvN5Vmd32IAxhinXYXxNJ34+NqXtUw==
=byjd
-----END PGP SIGNATURE-----
--YqKeQn+qkMVHQmbT--
From: Jeff Rizzo <riz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/37155 CVS commit: [netbsd-4] src/sbin/newfs
Date: Sat, 2 Feb 2008 17:24:04 +0000 (UTC)
Module Name: src
Committed By: riz
Date: Sat Feb 2 17:24:04 UTC 2008
Modified Files:
src/sbin/newfs [netbsd-4]: mkfs.c mount_mfs.8
Log Message:
Pull up following revision(s) (requested by jnemeth in ticket #1024):
sbin/newfs/mount_mfs.8: revision 1.15
sbin/newfs/mkfs.c: revision 1.104
PR/37503 - De Zeurkous -- inaccurate description of -s option
PR/37155 - Marcelo Schmidt -- specifying too large of a size causes segvs
To generate a diff of this commit:
cvs rdiff -r1.102 -r1.102.2.1 src/sbin/newfs/mkfs.c
cvs rdiff -r1.14 -r1.14.4.1 src/sbin/newfs/mount_mfs.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/37155 CVS commit: [netbsd-3] src/sbin/newfs
Date: Sat, 30 May 2009 06:48:20 +0000
Module Name: src
Committed By: snj
Date: Sat May 30 06:48:20 UTC 2009
Modified Files:
src/sbin/newfs [netbsd-3]: mkfs.c
Log Message:
Pull up following revision(s) (requested by jnemeth in ticket #2020):
sbin/newfs/mkfs.c: revision 1.104
PR/37155 - Marcelo Schmidt -- specifying too large of a size causes segvs
To generate a diff of this commit:
cvs rdiff -u -r1.88.2.2 -r1.88.2.3 src/sbin/newfs/mkfs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.