lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <E1Gripc-0004KC-00@bigred.inka.de>
Date:	Tue, 05 Dec 2006 23:32:08 +0100
From:	Olaf Titz <Olaf.Titz@...a.de>
To:	Neil Brown <neilb@...e.de>
CC:	Olaf Titz <olaf@...red.inka.de>, linux-kernel@...r.kernel.org
Subject: Re: 2.6.19: OOPS in cat /proc/fs/nfs/exports

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> There is a place where a failed kstrdup could lead to this, but that
> is rather unlikely and wouldn't be as reproducible as this seems to
> be.
> If you boot up and then immediately shutdown does this error trigger,
> it does it have to be up for a while?

It happens right after booting.

I've since disabled the NFS server on that box, and just tried to
manually start it, and it gives me this:
# /usr/sbin/exportfs -r
bigred:/video/rec: Cannot allocate memory

That is the first and only export:

# cat /etc/exports
# /etc/exports: the access control list for filesystems which may be
exported
#               to NFS clients.  See exports(5).

/video/rec      bigred(rw,sync)

strace on exportfs shows this:nfsservctl(0x3, 0xbf875824, 0)          =
- -1 ENOMEM

After that, /proc/fs/nfs/export exists and gives the Oops, while
/proc/fs/nfsd/export doesn't exist.

I don't think however this box is particularly short on memory:

MemTotal:       248704 kB
MemFree:        102780 kB
Buffers:         20520 kB
Cached:          50692 kB
SwapCached:          0 kB
Active:          81712 kB
Inactive:        25160 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:            1516 kB
Writeback:           0 kB
AnonPages:       35672 kB
Mapped:          13104 kB
Slab:             6960 kB
SReclaimable:     3104 kB
SUnreclaim:       3856 kB
PageTables:        692 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:    124352 kB
Committed_AS:   124528 kB
VmallocTotal:   786136 kB
VmallocUsed:      7568 kB
VmallocChunk:   778508 kB

(this is right after booting, DVB drivers loaded and VDR running.)

Will try your patch tomorrow.

Olaf

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFdfNoGPw4gdAdiZ0RAjDdAJ4yPltxWuJe21yB9nc2zBooLWJ2TwCaAg1I
tNsnDshD1gVpW/FYJ5P9J28=
=1zag
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ