[Angstrom-devel] Trouble rebooting with 2012 Angstrom over NFS mount.

2012-01-23 Thread Michael Williamson
Hi,

I am trying to upgrade from an (OE classic built) 2008 Angstrom distro
 up to a (OE core built) 2012 Angstrom.  The builds are each pretty much
console-image recipes with a few extra packages bolted on.

Everything seems to work OK on the 2012 image except for rebooting, which
hangs (I listed the console output below) when mounted via NFS.  If I mount
and boot off of an SD-card it is successful, so my guess some network service
seems to be getting turned off before it's time.

The same kernel seems to reboot fine using the 2008 Angstrom filesystem,
but I appreciate that the older distro didn't use control groups (or systemd),
which is where it seems to be stuck.

Any suggestions as to how to troubleshoot / debug?

Thanks.

-Mike


The Angstrom Distribution mityomapl138 ttyS1

Angstrom v2012.01-core - Kernel 3.2.0+

mityomapl138 login: root
Last login: Sat Jan  1 00:01:06 GMT 2000 on ttyS1
root@mityomapl138:~# reboot
Stopping /proc/fs/nfsd...
Stopping LSB: Kernel NFS server support...
Stopping Connection service...
Stopping Avahi mDNS/DNS-SD Stack...
Stopping System Logging Service...
Stopping SSH Key Generation...
Stopped SSH Key Generation  [  OK  ]
Stopping D-Bus System Message Bus...
Stopping Login Service...
Stopping Getty on tty1...
Stopping Serial Getty on ttyS1..Starting Save Random Seed...
Starting Syslog Kernel Log Buffer Bridge...
Started Syslog Kernel Log Buffer Bridge [  OK  ]
stopping statd: connmand[82]: Removing DNS server 8.8.8.8
connmand[82]: connmand[82]: Adding DNS server 8.8.8.8
Stopped Login Service   [  OK  ]
connmand[82]: Adding DNS server 8.8.8.8
connmand[82]: connmand[82]: Removing DNS server 8.8.4.4
connmand[82]: Removing DNS server 8.8.4.4
Stopped Avahi mDNS/DNS-SD Stack connmand[82]: connmand[82]: 
Adding DNS server 8.8.4.4
[  OK  ]
connmand[82]: Adding DNS server 8.8.4.4
Stopped System Logging Service  
[avahi-daemon[84]: Leaving mDNS multicast group on interface eth0.IPv4 with 
address 10.0.100.155.
  OK  ]
done
stopping mountd: Stopped D-Bus System Message Bus   
 [  OK  ]
connmand[82]: connmand[82]: Removing DNS server 24.92.226.11
connmand[82]: Removing DNS server 24.92.226.11
Stopped Serial Getty on ttyS1   [  OK  ]
connmand[82]: connmand[82]: Adding DNS server 24.92.226.11
connmand[82]: Adding DNS server 24.92.226.11
avahi-daemon[84]: avahi-daemon 0.6.30 exiting.
done
stopping nfsd: systemd[1]: systemd-logind.service: main process exited, 
code=exited, status=1
connmand[82]: Removing DNS server 8.8.8.8
connmand[82]: connmand[82]: Removing DNS server 8.8.8.8
systemd[1]: Unit systemd-logind.service entered failed state.
connmand[82]: Adding DNS server 8.8.8.8
connmand[82]: connmand[82]: Adding DNS server 8.8.8.8
connmand[82]: Removing DNS server 8.8.4.4
connmand[82]: connmand[82]: Removing DNS server 8.8.4.4
connmand[82]: Adding DNS server 8.8.4.4
connmand[82]: connmand[82]: Adding DNS server 8.8.4.4
connmand[82]: Removing DNS server 8.8.8.8
connmand[82]: connmand[82]: Removing DNS server 8.8.8.8
connmand[82]: Adding DNS server 8.8.8.8
connmand[82]: connmand[82]: Adding DNS server 8.8.8.8
connmand[82]: Removing DNS server 8.8.4.4
connmand[82]: connmand[82]: Removing DNS server 8.8.4.4
connmand[82]: Adding DNS server 8.8.4.4
connmand[82]: connmand[82]: Adding DNS server 8.8.4.4
connmand[82]: Removing DNS server 8.8.4.4
connmand[82]: connmand[82]: Removing DNS server 8.8.4.4
connmand[82]: connmand[82]: Adding DNS server 8.8.4.4
connmand[82]: Adding DNS server 8.8.4.4
Stopped Getty on tty1   [  OK  ]
Stopped /proc/fs/nfsd   [  OK  ]
Started Save Random Seed[  OK  ]
Stopping Permit User Sessions...
nfs: server 10.0.0.87 not responding, still trying
systemd[1]: connman.service stopping timed out. Killing.
INFO: task kworker/0:1:14 blocked for more than 120 seconds.
echo 0  /proc/sys/kernel/hung_task_timeout_secs disables this message.
kworker/0:1 D c0329df0 014  2 0x
[c0329df0] (__schedule+0x350/0x3b0) from [c032a644] 
(schedule_timeout+0x1c/0x224)
[c032a644] (schedule_timeout+0x1c/0x224) from [c032a198] 
(wait_for_common+0xf4/0x1bc)
[c032a198] (wait_for_common+0xf4/0x1bc) from [c002f980] 
(call_usermodehelper_exec+0x9c/0x100)
[c002f980] (call_usermodehelper_exec+0x9c/0x100) from [c005185c] 
(cgroup_release_agent+0x124/0x198)
[c005185c] (cgroup_release_agent+0x124/0x198) from [c0030524] 
(process_one_work+0x224/0x384)
[c0030524] (process_one_work+0x224/0x384) from [c0032824] 
(worker_thread+0x1f8/0x328)
[c0032824] (worker_thread+0x1f8/0x328) from [c0036064] (kthread+0x7c/0x84)

Re: [Angstrom-devel] Trouble rebooting with 2012 Angstrom over NFS mount.

2012-01-23 Thread Koen Kooi

Op 23 jan. 2012, om 13:41 heeft Michael Williamson het volgende geschreven:

 Hi,
 
 I am trying to upgrade from an (OE classic built) 2008 Angstrom distro
 up to a (OE core built) 2012 Angstrom.  The builds are each pretty much
 console-image recipes with a few extra packages bolted on.
 
 Everything seems to work OK on the 2012 image except for rebooting, which
 hangs (I listed the console output below) when mounted via NFS.  If I mount
 and boot off of an SD-card it is successful, so my guess some network service
 seems to be getting turned off before it's time.

The connman and networkmanager developers don't support NFS-root when using 
their software. So you need to disable the networking software if you're 
running from nfsroot.

regards,

Koen
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel