[Bug 1258] installation fails on thin client server
http://bugs.skolelinux.no/show_bug.cgi?id=1258
------- Additional Comments From ronny@skolelinux.org 2007-10-03 09:18 -------
This vmware instance have been hanging for 32h, doing nothing at all.
thanks to pere's instructions i can provide some more information.
First i tried to find out what debian installer was up to
# pstree -ap
busybox,1 init
├─debian-installe,1051 /sbin/debian-installer
│ └─bterm,1096 -f /lib/unifont.bgf -l C.UTF-8 /lib/debian-installer/menu
│ └─debconf,1097 -o d-i /usr/bin/main-menu
├─dhclient3,617 -pf /var/run/dhclient.eth0.pid -lf
/var/lib/dhcp3/dhclient.eth0.leases eth0
├─(events/0,3)
├─(khelper,4)
├─klogd,734 -c 2
├─(ksoftirqd/0,2)
├─(kthread,5)
│ ├─(aio/0,115)
│ ├─(jfsCommit,10555)
│ ├─(jfsIO,10553)
│ ├─(jfsSync,10556)
│ ├─(kacpid,9)
│ ├─(kblockd/0,8)
│ ├─(khubd,562)
│ ├─(kjournald,24242)
│ ├─(kjournald,24258)
│ ├─(kjournald,24276)
│ ├─(kjournald,24296)
│ ├─(kjournald,24318)
│ ├─(kjournald,24342)
│ ├─(kjournald,24376)
│ ├─(kseriod,71)
│ ├─(kswapd0,114)
│ ├─(pdflush,16113)
│ ├─(pdflush,12641)
│ └─(scsi_eh_0,7095)
├─sh,1060
│ └─sh,16494 -i
│ └─bash,16495
├─sh,1061
├─sshd,16523
│ └─sshd,16536
│ └─bash,16540
│ └─pstree,16550 -ap
├─syslogd,732 -m 0 -O /var/log/syslog -S
├─tail,1059 -f /var/log/syslog
└─udevd,393 --daemon
Checking the debconf process
# strace -p 1097
Process 1097 attached - interrupt to quit
read(8,
what is 8, ?
# ls -lh /proc/1097/fd/8
lr-x------ 1 root root 64 2007-09-28 17:49 /proc/1097/fd/8 -> pipe:[2763]
on is assuming the pipe will have the same i in both ends ? So i am trying to
find the same pidid in the proc tables. This is consisten on 3 different
installs so i guess it's correct.
# find /proc |xargs ls -ldh {}\; | grep 2763
r-x------ 1 root root 64 2007-09-28 17:49 /proc/1097/fd/8 -> pipe:[2763]
lr-x------ 1 root root 64 2007-09-28 18:05 /proc/1097/task/1097/fd/8 ->
pipe:[2763]
l-wx------ 1 root root 64 2007-09-28 17:49 /proc/617/fd/3 -> pipe:[2763]
l-wx------ 1 root root 64 2007-09-28 18:05 /proc/617/task/617/fd/3 -> pipe:[2763]
so what is pid 617 ?
#ps l 617
PID TTY STAT TIME COMMAND
617 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf
/var/lib/dhcp3/dhclient.eth0.leases eth0
and its doing
# strace -p 617
Process 617 attached - interrupt to quit
select(10, [8 9], [], [], {361, 808000}
the dhclient is actualy working, and changing the ip address of the machine, if
one assign a static ip, in the dhcp server. And waits for the leaase timeout
kill 617, and the install finishes successfully
And that's about as far i can take it. But it might all just be errors following
the real error, thats mentioned in the log.
Sep 28 15:07:57 main-menu[1098]: (process:30592): /bin/debconf-get:
Sep 28 15:07:57 main-menu[1098]: (process:30592): return: 4:
Sep 28 15:07:57 main-menu[1098]: (process:30592): Illegal number: d-i
Sep 28 15:07:57 main-menu[1098]: (process:30592):
Ronny
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Reply to: