Subject: Re: NetBSD 2.0.2 - Processes take forever to start
To: Matthew Orgass <darkstar@city-net.com>
From: Michael B. Trausch <fd0man@gmail.com>
List: port-i386
Date: 07/15/2005 03:38:27
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Matthew Orgass wrote:
>
> Did you check the loopback if also? I have seen hangs in startx after
> writing a custom rc script because I forgot to bring up lo0 (I didn't
> wait that long to see if it would ever come up).
>
All *appears* well with ifconfig. See below. Other then that, the
ethernet interface is just fine (tlp0 is not configured intentionally.)
When I run ifconfig to configure the tlp0 interface, it returns and
successfully configures the interface. However, applications (namely
'pine' and 'xauth' as a component of 'startx') still hang when run, and
they hang for inordinate amounts of time (nearly 5 minutes before doing
anything useful in the case of pine, and 10 in the case of startx,
because it apparently tries to run xauth twice).
Below is what I've done, in order, and still winding up with this
result. If there is information from the system that I can get that
would be useful, let me know, I am only just starting with NetBSD and I
can't dig information out of it like I am used to on Linux.
If there is any relevant information that can be grepped from the output
of 'sysctl -a' then please let me know; the output from that command is
8,576 bytes, so I won't paste all of that in here, this is big enough as
it is.
System Information that I *CAN* provide:
- -bash-3.00# uname -a
NetBSD allspice.chadeux.net 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23
08:53:42 UTC 2005
jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/i386/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC
i386
- -bash-3.00# ps axu
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 0 0.0 28.6 0 55744 ?? DKs Wed09PM 0:00.05 [swapper]
root 1 0.0 0.4 68 748 ?? Is Wed09PM 0:00.02 init
root 2 0.0 28.6 0 55744 ?? DK Wed09PM 0:00.00 [cryptoret]
root 3 0.0 28.6 0 55744 ?? DK Wed09PM 0:00.00 [atabus0]
root 4 0.0 28.6 0 55744 ?? DK Wed09PM 0:00.00 [atabus1]
root 5 0.0 28.6 0 55744 ?? DK Wed09PM 0:00.01 [usb0]
root 6 0.0 28.6 0 55744 ?? DK Wed09PM 0:00.00 [usbtask]
root 7 0.0 28.6 0 55744 ?? DK Wed09PM 0:00.00 [pms0]
root 8 0.0 28.6 0 55744 ?? DK Wed09PM 0:00.00 [atapibus0]
root 9 0.0 28.6 0 55744 ?? DK Wed09PM 0:00.00 [lfs_writer]
root 10 0.0 28.6 0 55744 ?? DK Wed09PM 0:00.00 [pagedaemon]
root 11 0.0 28.6 0 55744 ?? DK Wed09PM 1:04.83 [ioflush]
root 12 0.0 28.6 0 55744 ?? DK Wed09PM 0:00.02 [aiodoned]
root 214 0.0 0.4 192 756 ?? Is Wed09PM 0:00.12
/usr/sbin/syslogd -s
root 230 0.0 10.1 14968 19752 ?? S Wed09PM 1:08.70 X :0 (XFree86)
root 238 0.0 0.7 200 1440 ?? Is Wed09PM 0:00.13 mount_mfs -s
2097648 /dev/wd0b /tmp
root 410 0.0 0.8 340 1588 ?? Is Wed09PM 0:00.89 /usr/sbin/sshd
root 414 0.0 0.4 60 684 ?? Is Wed09PM 0:00.00 /usr/sbin/inetd -l
root 434 0.1 1.1 412 2036 ?? Ss Wed09PM 0:07.81 sshd: root@ttyp0
root 438 0.0 1.3 364 2480 ?? I Wed10PM 0:00.29
/usr/X11R6/bin/xsystrace
root 501 0.0 0.4 224 724 ?? Is Wed09PM 0:00.25 /usr/sbin/cron
root 171 0.0 2.0 1916 3848 p0 I Wed09PM 0:04.80
/usr/pkg/bin/WinList -d :0.0 -s
root 226 0.0 2.1 1992 4108 p0 I Wed09PM 0:00.89
/usr/pkg/bin/MonitorWharf -d :0.0 -s (Wharf)
root 236 0.0 1.6 636 3076 p0 I Wed09PM 0:00.57 xclock -bg
gray10 -fg cyan -digital -brief
root 295 0.0 1.8 1284 3504 p0 I Wed10PM 0:02.01 xterm -bg
black -fg grey70 -sl 500 -vb
root 333 0.0 0.4 144 688 p0 I Wed09PM 0:00.01 /bin/sh
/usr/X11R6/bin/startx
root 412 0.0 0.7 704 1352 p0 Ss Wed09PM 0:00.11 -bash
root 572 0.0 0.6 68 1076 p0 I Wed09PM 0:00.01 xinit
/root/.xinitrc --
root 634 0.0 1.6 968 3188 p0 S Wed10PM 0:20.52 xterm -bg
black -fg grey70 -sl 500 -vb
root 751 0.0 2.1 1968 4012 p0 I Wed09PM 0:01.01
/usr/pkg/bin/Wharf -d :0.0 -s
root 783 0.0 0.9 108 1692 p0 S Wed09PM 0:18.58 xeyes
- -geometry -100-100
root 923 0.0 10.1 17224 19772 p0 I Wed09PM 0:27.53 afterstep
root 991 0.0 2.2 2084 4260 p0 I Wed09PM 0:01.17
/usr/pkg/bin/Pager -d :0.0 -s 0 3
root 2897 0.0 0.3 92 608 p0 R+ 10:22PM 0:00.00 ps axu
root 297 0.0 0.7 692 1288 p1 Is Wed10PM 0:00.03 bash
root 979 0.0 0.5 220 984 p1 S+ Wed10PM 1:19.34 top
root 638 0.0 0.7 692 1288 p2 Is Wed10PM 0:00.03 bash
root 920 0.0 2.5 7360 4876 p2 S+ Wed10PM 0:12.68 (pine)
fd0man 237 0.0 0.7 668 1264 E0 Is+ Wed09PM 0:00.05 -bash
root 537 0.0 0.7 716 1316 E1 Is+ Wed09PM 0:00.06 -bash
root 497 0.0 0.4 48 692 E2 Is+ Wed09PM 0:00.01
/usr/libexec/getty Pc ttyE2
root 532 0.0 0.4 48 692 E3 Is+ Wed09PM 0:00.01
/usr/libexec/getty Pc ttyE3
- -bash-3.00# uptime
10:24PM up 1 day, 54 mins, 5 users, load averages: 0.07, 0.08, 0.08
ifconfig -a, ifconfig tlp0 [...], ifconfig -a:
- -bash-3.00# ifconfig -a
ex0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0
address: 00:04:75:e2:f7:6b
media: Ethernet 100baseTX
status: active
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
inet alias 192.168.0.99 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::204:75ff:fee2:f76b%ex0 prefixlen 64 scopeid 0x1
tlp0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
address: 00:02:2a:cb:41:98
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33196
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
strip0: flags=0 mtu 1100
strip1: flags=0 mtu 1100
- -bash-3.00# ifconfig tlp0 address 10.0.0.1 netmask 255.255.255.0
- -bash-3.00# ifconfig -a
ex0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0
address: 00:04:75:e2:f7:6b
media: Ethernet 100baseTX
status: active
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
inet alias 192.168.0.99 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::204:75ff:fee2:f76b%ex0 prefixlen 64 scopeid 0x1
tlp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:02:2a:cb:41:98
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
inet6 fe80::202:2aff:fecb:4198%tlp0 prefixlen 64 scopeid 0x2
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33196
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
strip0: flags=0 mtu 1100
strip1: flags=0 mtu 1100
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC1yGjPXInbkqM7nwRAvWUAJ0Uub7FqnS5cqQ7el6PSQ7XB3ZO8QCfSCNj
PiuoGmQfwhgYeT4bII3vALU=
=Emd+
-----END PGP SIGNATURE-----