Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Recent /bin/sh breakage
Martin Husemann wrote:
> uarea swap support got removed, maybe that makes this difference?
I don't see any uarea related commits during the time period in case.
This should be the full list of the commits between the last working
version and the first broken one:
2009.10.29.17.10.32 christos src/sys/ufs/lfs/lfs.h,v 1.129
2009.10.29.17.10.32 christos src/sys/ufs/lfs/lfs_vnops.c,v 1.222
2009.10.29.17.16.40 christos src/tools/lex/Makefile,v 1.8
2009.10.29.17.17.12 christos src/external/bsd/flex/dist/Attic/parse.c,v 1.3
2009.10.29.17.17.12 christos src/external/bsd/flex/dist/Attic/parse.h,v 1.2
2009.10.29.17.17.12 christos src/external/bsd/flex/dist/initparse.c,v 1.1
2009.10.29.17.17.12 christos src/external/bsd/flex/dist/initparse.h,v 1.1
2009.10.29.17.17.33 christos src/external/bsd/flex/bin/Makefile,v 1.5
2009.10.29.18.20.11 eeh src/sys/ufs/lfs/lfs_vfsops.c,v 1.279
2009.10.29.21.03.59 christos src/external/bsd/byacc/dist/defs.h,v 1.3
2009.10.29.21.03.59 christos src/external/bsd/byacc/dist/output.c,v 1.3
2009.10.29.21.03.59 christos src/external/bsd/byacc/dist/reader.c,v 1.3
2009.10.29.21.03.59 christos src/external/bsd/byacc/dist/skeleton.c,v 1.5
2009.10.29.21.11.57 christos src/external/bsd/byacc/dist/output.c,v 1.4
2009.10.30.00.30.20 christos src/tools/lex/Makefile,v 1.9
2009.10.30.00.53.29 christos src/sys/ufs/lfs/lfs_vnops.c,v 1.223
2009.10.30.01.40.45 joerg src/usr.bin/m4/m4.1,v 1.21
2009.10.30.01.53.02 christos src/external/bsd/byacc/dist/config_h.in,v 1.3
2009.10.30.01.57.48 christos src/sys/dev/pci/pm2reg.h,v 1.3
2009.10.30.10.57.40 njoly src/sys/compat/linux/arch/amd64/syscalls.master,v
1.33
2009.10.30.10.58.15 njoly
src/sys/compat/linux/arch/amd64/linux_syscallargs.h,v 1.35
2009.10.30.10.58.15 njoly src/sys/compat/linux/arch/amd64/linux_syscall.h,v
1.35
2009.10.30.10.58.15 njoly src/sys/compat/linux/arch/amd64/linux_syscalls.c,v
1.35
2009.10.30.10.58.15 njoly src/sys/compat/linux/arch/amd64/linux_sysent.c,v
1.35
2009.10.30.15.05.54 he src/sys/arch/sparc/sparc/pmap.c,v 1.336
2009.10.30.15.09.24 uebayasi src/usr.bin/tn3270/tools/mkmake/mkmake.y,v 1.14
It appears that the sh process running out of swap is the one forked
by init to create the tmpfs /dev.
I tried the experiment of installing the 2009.10.30.15.09.24
version (with 64 M of memory to make installation succeed), booting
the installed system, adding the line "ps -glaxw" at the end of
/dev/MAKEDEV, and then running "sh MAKEDEV -MM init". Sure enough,
the VSZ of the sh process is huge:
# sh MAKEDEV -MM init
Created tmpfs /dev (1490944 byte, 2880 inodes)
UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
0 0 0 0 125 0 0 16504 uvm DKl ? 0:00.68 [system]
0 1 0 9105 83 0 3044 756 wait Is ? 0:00.12 init
0 146 1 0 85 0 4936 1152 kqueue Ss ? 0:00.08
/usr/sbin/syslogd -s
0 324 1 0 85 0 3012 788 nanoslp Ss ? 0:00.03
/usr/sbin/cron
0 330 1 7152 84 0 3092 788 kqueue Is ? 0:00.02
/usr/sbin/inetd -l
0 337 1 1117 85 0 5828 1680 wait Is tty00 0:00.20 login
0 344 337 0 85 0 3068 952 wait S tty00 0:00.15 -sh
0 471 344 13031 85 0 27644 23500 wait S+ tty00 0:01.15 sh MAKEDEV
-MM init
0 541 471 13031 42 0 3064 852 - O+ tty00 0:00.01 ps -glaxw
0 348 1 1218 85 0 3024 820 ttyraw Is+ ttyE1 0:00.01
/usr/libexec/getty Pc ttyE1
0 339 1 1218 85 0 3024 828 ttyraw Is+ ttyE2 0:00.02
/usr/libexec/getty Pc ttyE2
0 346 1 1356 85 0 3024 828 ttyraw Is+ ttyE3 0:00.01
/usr/libexec/getty Pc ttyE3
I suspect the lex/yacc changes...
--
Andreas Gustafsson, gson%gson.org@localhost
Home |
Main Index |
Thread Index |
Old Index