[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NG: 20010806 Re: (mount_ffs) proc: table is full - increase kern.maxproc or NPROC



>                                            千葉市中央区長洲
>                                                    藤原  誠
From: 藤原  誠 / Makoto Fujiwara <makoto@ki.nu>
Subject: Re: (mount_ffs) proc: table is full - increase kern.maxproc or NPROC
Date: Sat, 28 Jul 2001 13:42:26 +0900
Message-ID: <yfmhevxis0d.wl@harry.ki.nu>

藤原> ので 20010703-UTC
藤原> にしたのですが、動いてしまいました。

藤原> 20010728 あたりに飛んで見ようかと...

20010806 を作って見たのですが、
やはり動きませんでした。(最後に全文を付けます)
+-------------------------
| root on wd0a dumps on wd0b
| root file system type: ffs
| /etc/rc.conf is not configured.  Multiuser boot aborted.
| Enter pathname of shell or RETURN for sh: 
| We recommend creating a non-root account and using su(1) for root access.
| # mount -a
| proc: table is full - increase kern.maxproc or NPROC
| mount_ffs: vfork: Resource temporarily unavailable
+-------------------------

# これから 20010704 を作って試そうと思っていますが、
良く見ると日付が前後しているので、(日付と動作が必ずしも
一貫しない)ので、何か他の条件も関係しているのかなという
気もします。sysinst は 20010707 頃に作ったもの
を(いつも)使っているのですが、それも要確認かも知れません。
( 40MB の scsi に boot.fs を入れたままそれを使っている)

bootxx や、ofwboot.elf は、
  (1) ramdisk kernel の
  (2) *.tgz に含まれているものの
  /usr/mdec の下にあるものを使う
のどちらかな、(1) ですよね。だとすると、これが怪しいかも
という気もします。(の訳がないか...)

cvs -z3 -d :pserver:(省略) checkout -D 20010806-UTC src
で取出したものとの差分を添付します。要点は次の通りです。

・floppy はおしくも入らなかったので Makefile から外して
  あります。
  1371115 Aug 10 21:24 netbsd.INSTALL.gz この大きさ
  1368064 Jun  7 23:28 netbsd            これなら入る
    +3051
・distrib/sets/lists/base/mi は次の日版 1.271 に差替
・distrib/sets/lists/base/shl.elf
  distrib/sets/lists/base/shl.mi
  を NEW_TOOL_CHAIN に合わせて調整
・distrib/sets/lists/man/mi
  何故か bzip2.info が出来なかった気がするので外した
・sys/arch/macppc/dev/if_mc
  正しい変更方法は良く分らないが、とりあえず..
Index: src/distrib/macppc/floppies/Makefile
===================================================================
RCS file: /cvsroot/basesrc/distrib/macppc/floppies/Makefile,v
retrieving revision 1.3
diff -u -u -r1.3 Makefile
--- Makefile	2001/04/09 20:22:58	1.3
+++ Makefile	2001/08/12 11:10:11
@@ -1,5 +1,5 @@
 #	$NetBSD: Makefile,v 1.3 2001/04/09 20:22:58 tsubai Exp $
 
-SUBDIR=	ramdisk md-kernel bootfloppy
+SUBDIR=	ramdisk md-kernel
 
 .include <bsd.subdir.mk>
Index: src/distrib/sets/lists/base/mi
===================================================================
RCS file: /cvsroot/basesrc/distrib/sets/lists/base/mi,v
retrieving revision 1.270
diff -u -u -r1.270 mi
--- mi	2001/08/03 14:21:27	1.270
+++ mi	2001/08/12 11:10:12
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.270 2001/08/03 14:21:27 drochner Exp $
+# $NetBSD: mi,v 1.271 2001/08/06 06:51:10 garbled Exp $
 .			base-sys-root
 ./altroot		base-sys-root
 ./bin			base-sys-root
@@ -1553,17 +1553,17 @@
 ./usr/share/sushi/system/securityconf/form	base-sysutil-share
 ./usr/share/sushi/system/securityconf/help	base-sysutil-share
 ./usr/share/sushi/system/securityconf/script2	base-sysutil-share
-./usr/share/sushi/system/securityconf		base-sysutil-share
-./usr/share/sushi/system/securityconf/form		base-sysutil-share
-./usr/share/sushi/system/securityconf/help		base-sysutil-share
-./usr/share/sushi/system/securityconf/defaults		base-sysutil-share
-./usr/share/sushi/system/securityconf/script		base-sysutil-share
-./usr/share/sushi/system/securityconf/script1		base-sysutil-share
-./usr/share/sushi/system/securityconf/script2		base-sysutil-share
-./usr/share/sushi/system/securityconf/script3		base-sysutil-share
-./usr/share/sushi/system/securityconf/script4		base-sysutil-share
-./usr/share/sushi/system/securityconf/script5		base-sysutil-share
-./usr/share/sushi/system/securityconf/script6		base-sysutil-share
+./usr/share/sushi/system/sshdconf		base-sysutil-share
+./usr/share/sushi/system/sshdconf/form		base-sysutil-share
+./usr/share/sushi/system/sshdconf/help		base-sysutil-share
+./usr/share/sushi/system/sshdconf/defaults		base-sysutil-share
+./usr/share/sushi/system/sshdconf/script		base-sysutil-share
+./usr/share/sushi/system/sshdconf/script1		base-sysutil-share
+./usr/share/sushi/system/sshdconf/script2		base-sysutil-share
+./usr/share/sushi/system/sshdconf/script3		base-sysutil-share
+./usr/share/sushi/system/sshdconf/script4		base-sysutil-share
+./usr/share/sushi/system/sshdconf/script5		base-sysutil-share
+./usr/share/sushi/system/sshdconf/script6		base-sysutil-share
 ./usr/share/sushi/system/sysctl			base-sysutil-share
 ./usr/share/sushi/system/sysctl/form		base-sysutil-share
 ./usr/share/sushi/system/sysctl/help		base-sysutil-share
Index: src/distrib/sets/lists/base/shl.elf
===================================================================
RCS file: /cvsroot/basesrc/distrib/sets/lists/base/shl.elf,v
retrieving revision 1.46
diff -u -u -r1.46 shl.elf
--- shl.elf	2001/06/20 02:13:15	1.46
+++ shl.elf	2001/08/12 11:10:12
@@ -12,7 +12,7 @@
 ./usr/lib/libdes.so.5		base-crypto-shlib
 ./usr/lib/libedit.so.2		base-sys-shlib
 ./usr/lib/libform.so.2		base-sys-shlib
-./usr/lib/libg2c.so.0		base-sys-shlib
+./usr/lib/libg2c.so.1		base-sys-shlib
 ./usr/lib/libgnumalloc.so.0	base-sys-shlib
 ./usr/lib/libgssapi.so.4	base-krb5-shlib
 ./usr/lib/libhdb.so.8		base-krb5-shlib
@@ -29,7 +29,7 @@
 ./usr/lib/libkvm.so.5		base-sys-shlib
 ./usr/lib/libm.so.0		base-sys-shlib
 ./usr/lib/libmenu.so.2		base-sys-shlib
-./usr/lib/libobjc.so.0		base-sys-shlib
+./usr/lib/libobjc.so.1		base-sys-shlib
 ./usr/lib/libossaudio.so.0	base-sys-shlib
 ./usr/lib/libpcap.so.1		base-net-shlib
 ./usr/lib/libposix.so.0		base-sys-shlib
@@ -39,7 +39,7 @@
 ./usr/lib/libsl.so.2		base-krb5-shlib
 ./usr/lib/libss.so.4		base-krb5-shlib
 ./usr/lib/libssl.so.2		base-crypto-shlib
-./usr/lib/libstdc++.so.2	base-sys-shlib
+./usr/lib/libstdc++.so.3	base-sys-shlib
 ./usr/lib/libtelnet.so.4	base-krb5-shlib
 ./usr/lib/libtermcap.so.0	base-sys-shlib
 ./usr/lib/libtermlib.so.0	base-sys-shlib
Index: src/distrib/sets/lists/base/shl.mi
===================================================================
RCS file: /cvsroot/basesrc/distrib/sets/lists/base/shl.mi,v
retrieving revision 1.140
diff -u -u -r1.140 shl.mi
--- shl.mi	2001/07/18 23:10:43	1.140
+++ shl.mi	2001/08/12 11:10:12
@@ -12,7 +12,7 @@
 ./usr/lib/libdes.so.5.1			base-crypto-shlib
 ./usr/lib/libedit.so.2.5		base-sys-shlib
 ./usr/lib/libform.so.2.0		base-sys-shlib
-./usr/lib/libg2c.so.0.0			base-sys-shlib
+./usr/lib/libg2c.so.1.0			base-sys-shlib
 ./usr/lib/libgnumalloc.so.0.0		base-sys-shlib
 ./usr/lib/libgssapi.so.4.0		base-krb5-shlib
 ./usr/lib/libhdb.so.8.0			base-krb5-shlib
@@ -29,7 +29,7 @@
 ./usr/lib/libkvm.so.5.1			base-sys-shlib
 ./usr/lib/libm.so.0.1			base-sys-shlib
 ./usr/lib/libmenu.so.2.0		base-sys-shlib
-./usr/lib/libobjc.so.0.0		base-sys-shlib
+./usr/lib/libobjc.so.1.0		base-sys-shlib
 ./usr/lib/libossaudio.so.0.0		base-sys-shlib
 ./usr/lib/libpcap.so.1.2		base-net-shlib
 ./usr/lib/libposix.so.0.1		base-sys-shlib
@@ -39,7 +39,7 @@
 ./usr/lib/libsl.so.2.0			base-krb5-shlib
 ./usr/lib/libss.so.4.0			base-krb5-shlib
 ./usr/lib/libssl.so.2.0			base-crypto-shlib
-./usr/lib/libstdc++.so.2.0		base-sys-shlib
+./usr/lib/libstdc++.so.3.0		base-sys-shlib
 ./usr/lib/libtelnet.so.4.0		base-krb5-shlib
 ./usr/lib/libtermcap.so.0.4		base-sys-shlib
 ./usr/lib/libtermlib.so.0.4		base-sys-shlib
Index: src/distrib/sets/lists/man/mi
===================================================================
RCS file: /cvsroot/basesrc/distrib/sets/lists/man/mi,v
retrieving revision 1.390
diff -u -u -r1.390 mi
--- mi	2001/08/03 14:21:28	1.390
+++ mi	2001/08/12 11:10:26
@@ -4,7 +4,7 @@
 ./usr/share/info/awk.info			man-util-info
 ./usr/share/info/bfd.info			man-computil-info
 ./usr/share/info/binutils.info			man-computil-info
-./usr/share/info/bzip2.info			man-util-info
+# ./usr/share/info/bzip2.info			man-util-info
 ./usr/share/info/cpp.info			man-util-info
 ./usr/share/info/cvs.info			man-cvs-info
 ./usr/share/info/cvsclient.info			man-cvs-info
Index: src/sys/arch/macppc/dev/if_mc.c
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/macppc/dev/if_mc.c,v
retrieving revision 1.5
diff -u -u -r1.5 if_mc.c
--- if_mc.c	2001/07/22 11:29:46	1.5
+++ if_mc.c	2001/08/12 11:13:40
@@ -67,8 +67,8 @@
 hide void	mc_reset_txdma __P((struct mc_softc *sc));
 hide void	mc_select_utp __P((struct mc_softc *sc));
 hide void	mc_select_aui __P((struct mc_softc *sc));
-hide int	mc_mediachange __P((struct mc_softc *sc));
-hide void	mc_mediastatus __P((struct mc_softc *sc, struct ifmediareq *));
+extern int	mc_mediachange __P((struct mc_softc *sc));
+extern void	mc_mediastatus __P((struct mc_softc *sc, struct ifmediareq *));
 
 int mc_supmedia[] = {
 	IFM_ETHER | IFM_10_T,

Script started on Sat Aug 11 20:44:34 2001

Open Firmware, 2.0.2
To continue booting the MacOS type:
BYE<return>
To continue booting from the default boot device type:
BOOT<return>
 ok
0 > boot scsi/sd@0:0
>> NetBSD/macppc OpenFirmware Boot, Revision 1.3
>> (root@nazuha, Sat Jul  7 16:41:31 JST 2001)
3381376+215252 [100+114192+97267]=0x3a1e48
 start=0x100000
[ netbsd ELF symbol table not valid ]
[ no symbol table formats found ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
    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 1.5X (GENERIC) #1: Fri Aug 10 21:47:45 JST 2001
    root@iBook366:/export/20010806/sys/arch/macppc/compile/GENERIC
total memory = 98304 KB
avail memory = 85244 KB
using 1254 buffers containing 5016 KB of memory
no active packagemainbus0 (root)
cpu0 at mainbus0: 603ev (Revision 201), ID 0 (primary)
cpu0: ohare L2 cache enabled
bandit0 at mainbus0
pci0 at bandit0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer Bandit Host-PCI Bridge (rev. 0x03)
tlp0 at pci0 dev 13 function 0: DECchip 21140A Ethernet, pass 2.0
tlp0: interrupting at irq 23
tlp0: DEC DE500-AA, Ethernet address 00:00:f8:04:55:cd
nsphy0 at tlp0 phy 5: DP83840 10/100 media interface, rev. 0
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
obio0 at pci0 dev 16 function 0: addr 0xf3000000
mesh0 at obio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7
scsibus0 at mesh0: 8 targets, 8 luns per target
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0 (console)
zstty1 at zsc0 channel 1
awacs0 at obio0 offset 0x14000: irq 17,8,9
audio0 at awacs0: full duplex
swim3 at obio0 offset 0x15000 not configured
nvram0 at obio0 offset 0x60000
wdc0 at obio0 offset 0x20000 irq 13: DMA transfer
wd0 at wdc0 channel 0 drive 0: <ST52520A>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 2446 MB, 4970 cyl, 16 head, 63 sec, 512 bytes/sect x 5009760 sectors
wd0: drive supports PIO mode 4, DMA mode 2
conf = 0x11823, cyc = 4 (120 ns), act = 3 (70 ns), inact = 1
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wdc1 at obio0 offset 0x21000 irq 14: DMA transfer
atapibus0 at wdc1 channel 0: 2 targets
cd0 at atapibus0 drive 1: <COMPAQ   CR-588, , LC15> type 5 cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
conf = 0x11823, cyc = 4 (120 ns), act = 3 (70 ns), inact = 1
cd0(wdc1:0:1): using PIO mode 4, DMA mode 2 (using DMA data transfers)
adb0 at obio0 offset 0x16000 irq 18: 2 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: extended keyboard
wskbd0 at akbd0
ams0 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse0 at ams0
ofb0 at pci0 dev 17 function 0: ATI Technologies product 0x5654
ofb0: 640 x 480, 8bpp
wsdisplay0 at ofb0
ppb0 at pci0 dev 20 function 0: Digital Equipment DECchip 21052 PCI-PCI Bridge (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 6 lun 0: <QUANTUM, LP40S  940409404, 3.3> SCSI2 0/direct fixed
sd0: 41046 KB, 928 cyl, 2 head, 44 sec, 512 bytes/sect x 82092 sectors
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
/etc/rc.conf is not configured.  Multiuser boot aborted.
Enter pathname of shell or RETURN for sh: 
We recommend creating a non-root account and using su(1) for root access.
# mount -a
proc: table is full - increase kern.maxproc or NPROC
mount_ffs: vfork: Resource temporarily unavailable
proc: table is full - increase kern.maxproc or NPROC
mount_ffs: vfork: Resource temporarily unavailable
# df
Filesystem  1K-blocks     Used     Avail Capacity  Mounted on
root_device     97455    32247     60335    34%    /
# sysctl -w kern.maxproc=2128
kern.maxproc: 532 -> 2128
# mount /dev/wd0a /
mount_ffs: /: Abort trap
# 

Script done on Sat Aug 11 20:48:22 2001

---
(藤原)
http://www.ki.nu/software/NetBSD/iBook2/