Problem: A start job is running for LSB ...

662 views
Skip to first unread message

g...@novadsp.com

unread,
Jul 8, 2015, 3:18:38 PM7/8/15
to beagl...@googlegroups.com

3 B3s all same rev all running 4.1.0-bone9 configured identically to boot via TFTP/NFS (not all at the same time I hasten to add). 1 machine works perfectly. The other 2 both reach the same point then hang. Any thoughts?

 

TAIA

 

[    0.000000] Booting Linux on physical CPU 0x0

[    0.000000] Initializing cgroup subsys cpuset

[    0.000000] Initializing cgroup subsys cpu

[    0.000000] Initializing cgroup subsys cpuacct

[    0.000000] Linux version 4.1.0-bone9 (jevans@acermint) (gcc version 4.9.3 20141031 (prerelease) (Linaro GCC 2014.11) ) #1 Wed Jul 1 13:31:10 BST 2015

[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d

[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

[    0.000000] Machine model: TI AM335x BeagleBone Black

[    0.000000] cma: Reserved 16 MiB at 0x9f000000

[    0.000000] Memory policy: Data cache writeback

[    0.000000] CPU: All CPU(s) started in SVC mode.

[    0.000000] AM335X ES2.0 (sgx neon )

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920

[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs rw rootfstype=ext4 rootwait fixrtc nfsroot=192.168.1.110:/home/bone/rootfs,vers=3 ip=192.168.1.11:192.168.1.110:192.168.1.254:255.255.255.0::eth0:off

xxx--------elided-------------xxx

[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.

[  OK  ] Started LSB: Tune IDE hard disks.

[  OK  ] Started Create Volatile Files and Directories.

         Starting Network Time Synchronization...

         Starting Update UTMP about System Boot/Shutdown...

[  OK  ] Started Update UTMP about System Boot/Shutdown.

[  OK  ] Started Network Time Synchronization.

[  OK  ] Reached target System Time Synchronized.

[  OK  ] Found device /dev/ttyO0.

[   12.709682] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20

[   12.966802] tda998x 0-0070: found TDA19988

[   12.997206] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).

[   13.004323] [drm] No driver support for vblank timestamp query.

[   13.070366] tilcdc 4830e000.lcdc: No connectors reported connected with modes

[   13.134136] [drm] Cannot find any crtc or sizes - going 1024x768

[   13.214789] Console: switching to colour frame buffer device 128x48

[   13.227549] tilcdc 4830e000.lcdc: fb0:  frame buffer device

[   13.233424] tilcdc 4830e000.lcdc: registered panic notifier

[   13.339779] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0

[   13.376166] omap-sham 53100000.sham: hw accel on OMAP rev 4.3

[   13.432581] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2

[   ***] A start job is running for LSB: Raise network interf...28s / no limit)[   44.972386] nfs: server 192.168.1.110 not responding, still trying

 

 

William Hermans

unread,
Jul 8, 2015, 3:45:10 PM7/8/15
to beagl...@googlegroups.com
Yeap, take the one that does boot out of the loop. Then try booting the other two. If the first to boot works. Then you have a problem with your configuration, or possibly network.

Are you using GbE + GbE switch between the server, and the bones ?

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

William Hermans

unread,
Jul 8, 2015, 4:10:42 PM7/8/15
to beagl...@googlegroups.com
Also, this seems to be a decent "guide" to help you troubleshoot.

https://access.redhat.com/solutions/28211 It's redhat, but Linux is Linux so long as there are not any redhat-isms.

William Hermans

unread,
Jul 8, 2015, 7:27:17 PM7/8/15
to beagl...@googlegroups.com
ooopps Focused on the aftermath and not the error.

Anyhow g4 which rootfs are you using ? I was just reading a bug report for sid last year that indicates that the error:

***] A start job is running for LSB: Raise network interf...28s / no limit) can be related to systemd-sysv trying to use / load a resource ( $network ) which is not available. With that said, it is odd that one image works while the other two do not. Unless they all work fine one at a time . . . Then I'm still leaning towards limited bandwidth or somehow a server misconfiguration.

Robert Nelson

unread,
Jul 8, 2015, 7:30:39 PM7/8/15
to Beagle Board
On Wed, Jul 8, 2015 at 6:27 PM, William Hermans <yyr...@gmail.com> wrote:
> ooopps Focused on the aftermath and not the error.
>
> Anyhow g4 which rootfs are you using ? I was just reading a bug report for
> sid last year that indicates that the error:
>
> ***] A start job is running for LSB: Raise network interf...28s / no limit)
> can be related to systemd-sysv trying to use / load a resource ( $network )
> which is not available. With that said, it is odd that one image works while
> the other two do not. Unless they all work fine one at a time . . . Then I'm
> still leaning towards limited bandwidth or somehow a server
> misconfiguration.

He's got the jessie image, which has systemd. ( i thought systemd/nfs
would just not be working period, so i had kept my mouth shut when he
got it working.. )

Regards,


--
Robert Nelson
https://rcn-ee.com/

William Hermans

unread,
Jul 8, 2015, 7:54:49 PM7/8/15
to beagl...@googlegroups.com
It would be interesting if all 3 will boot individually to get a look at ps aux  from each board.

William Hermans

unread,
Jul 8, 2015, 7:55:40 PM7/8/15
to beagl...@googlegroups.com
and pstree for that mater.

g...@novadsp.com

unread,
Jul 9, 2015, 6:32:33 AM7/9/15
to beagl...@googlegroups.com
>
> He's got the jessie image, which has systemd. ( i thought systemd/nfs would
> just not be working period, so i had kept my mouth shut when he got it
> working.. )
>

Yep. The Jessie minimal image.


g...@novadsp.com

unread,
Jul 9, 2015, 6:33:57 AM7/9/15
to beagl...@googlegroups.com

> and pstree for that mater.

Sadly no can do. The 2 that do not boot will not boot at all. Ever.


William Hermans

unread,
Jul 9, 2015, 1:48:08 PM7/9/15
to beagl...@googlegroups.com
humm, I wonder if there is an easy way to diff the images. I've never used diff, so do not rightly know.

Robert ?

On Thu, Jul 9, 2015 at 3:33 AM, <g...@novadsp.com> wrote:

> and pstree for that mater.

Sadly no can do. The 2 that do not boot will not boot at all. Ever.

g...@novadsp.com

unread,
Jul 9, 2015, 3:18:01 PM7/9/15
to beagl...@googlegroups.com
I got down to the stage of using Wireshark to trace the DHCP requests made during boot. The good board issues one, immediately gets an address and proceeds to the TTY. The others issue 2 DHCP requests that are never acknowledged, despite apparently continuing to retry (as per the serial log content). 'Interestingly' the same boards are slow at exactly the same point when booting off an SD card. So I really am at a loss here. Bear in mind all 3 have identical flashed images, uEnv settings and are using the same TFTP server + NFS filesystem.

There is a bug report from late 2014 regarding a problem in ifup (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771943) which mentions system.debug-shell. I've got this added to the kernel command line but not sure if it is accessible.

Does the omap-image-builder Ubuntu distro work with NFS?

TAIA.



William Hermans

unread,
Jul 9, 2015, 3:32:32 PM7/9/15
to beagl...@googlegroups.com
Ok, that is interesting. So before making any changes( you really do not want to complicate thing right now, any more than you have to ). From the NFS server issue the command:

sudo exportfs

and paste the output to us here. I'm thinking from the sound of it assuming every board is configured exactly alike, that you only have one address export. Which is why you're only getting one board to load over NFS / TFTP

William Hermans

unread,
Jul 9, 2015, 3:35:59 PM7/9/15
to beagl...@googlegroups.com
Also, it would be useful to know how you have DHCP setup. e.g. Do you have and external to the NFS server ->DHCP server(router wish DHCP server enabled)? Or is the DHCP server also running on the NFS server machine ?

Mike

unread,
Jul 9, 2015, 4:04:39 PM7/9/15
to beagl...@googlegroups.com
So you see the dhcp request, bump up the logging level on your dhcp
server, look at it's logs. Could be a config issue with dpcp server.
Does Wireshark show unique mac address in the dhcp request?

Mike

William Hermans

unread,
Jul 9, 2015, 4:15:45 PM7/9/15
to beagl...@googlegroups.com
BTW


Does the omap-image-builder Ubuntu distro work with NFS?

Last I heard, Ubuntu period did not work with NFS root. There were a couple other distro's too. ARCH does, and one other that I can not recall offhand. Oh right, Angstrom + NFSroot is also a nogo.

Robert Nelson

unread,
Jul 9, 2015, 4:18:07 PM7/9/15
to Beagle Board
On Thu, Jul 9, 2015 at 3:15 PM, William Hermans <yyr...@gmail.com> wrote:
> BTW
>
>> Does the omap-image-builder Ubuntu distro work with NFS?
>
>
> Last I heard, Ubuntu period did not work with NFS root. There were a couple
> other distro's too. ARCH does, and one other that I can not recall offhand.
> Oh right, Angstrom + NFSroot is also a nogo.

and the Debian "Wheezy" 8.x works fine under nfs..

(my guess it's really sysv vs systemd...)

(If one where to switch our jessie iamge from systemd to the legacy
sysv it probally would work under nfs..)

William Hermans

unread,
Jul 9, 2015, 5:00:20 PM7/9/15
to beagl...@googlegroups.com
(my guess it's really sysv vs systemd...)

I do not. I do not doubt that systemd is problematic where nfsroot is concerned. But one board is booting, and there other two are not, with dhcp requests seemingly being ignored.

What this tells me is that the two boards in question are for some reason not considered to exist as far as the server is concerned. I have very little with setting up / using a Debian dhcp server, so I am not sure how that would come into play. But I do know that using static IPs, the NFS server will ignore any addresses *not* listed in the NFS exports file, and not exported via exportfs -a.

The problem here seems very similar, but perhaps not directly related. The server for some reason is just *seemingly* ignoring the other two clients.

@g4 Also if you are unable to resolve this problem otherwise. You can try to setup static IPs for each individual BBB, and then make 3 seperate NFS exports in the NFS exports file. These exports could link to the same directory, but would need to be preceeded by a static IP for each of the BBBs. You can also use the range modifier ( xxx.xxx.xxx.xx[0-9]  etc) Then perhaps from there we can be closer to an explanation.

So, this problem is really hard to troubleshoot over the internet. Because . .

  • You have not given us enough information really. So we have no idea what steps you've done, to get where you are now. Too many variables to consider.
  • You say there are all exactly alike but we do not really know that for sure. Not a character "hit" but no telling what is going on behind the scenes.




g...@novadsp.com

unread,
Jul 9, 2015, 6:42:02 PM7/9/15
to beagl...@googlegroups.com
> So you see the dhcp request, bump up the logging level on your dhcp server, look at it's logs. Could be a config issue with dpcp server.

Agreed. But I'm going to have to rewire my network with a more dev. friendly DHCP server. Right now it's all being allocated by a BT ADSL router.

> Does Wireshark show unique mac address in the dhcp request?

Yep. Even down to recognizing the Texas Instruments ID

g...@novadsp.com

unread,
Jul 9, 2015, 8:53:54 PM7/9/15
to beagl...@googlegroups.com
> and the Debian "Wheezy" 8.x works fine under nfs..

OK. I will have to give that a shot. Are there any issues using with the 4.1.0 kernel?



William Hermans

unread,
Jul 9, 2015, 9:12:42 PM7/9/15
to beagl...@googlegroups.com
g4, I'm pretty sure the only real known issues relate to systemd, and upstart in the case of Ubuntu

On Thu, Jul 9, 2015 at 5:53 PM, <g...@novadsp.com> wrote:
> and the Debian "Wheezy" 8.x works fine under nfs..

OK. I will have to give that a shot. Are there any issues using with the 4.1.0 kernel?

g...@novadsp.com

unread,
Jul 9, 2015, 9:17:56 PM7/9/15
to beagl...@googlegroups.com
> @g4 Also if you are unable to resolve this problem otherwise. You can try to setup static IPs for each individual BBB, and then make 3 seperate NFS exports in the NFS exports file.
> These exports could link to the same directory, but would need to be preceeded by a static IP for each of the BBBs. You can also use the range modifier ( xxx.xxx.xxx.xx[0-9] etc)

Yes. A good idea.

> • You have not given us enough information really. So we have no idea what steps you've done, to get where you are now. Too many variables to consider.
> • You say there are all exactly alike but we do not really know that for sure. Not a character "hit" but no telling what is going on behind the scenes.

Quite. No 'hit' inferred, grateful for the help.

TAIA.

Jerry


William Hermans

unread,
Jul 9, 2015, 9:35:04 PM7/9/15
to beagl...@googlegroups.com
If all these boards boot using dynamic IP's I'm actually surprised that any work. It has been a long time since I've researched this. But what I remember reading is that when using dynamic IP's, the NFS server *must* have the dhcp server running on the same system. However, when using static IP's, a router will work fine. At least for one system running nfsroot.

This last bit I know for a fact, as I've proven it time and time again on our own network. Where the router actually sits at least 1/4 mile away, and on the other side of a wireless network.

But I've never run nfsroot on multiple boards simultaneously.

William Hermans

unread,
Jul 9, 2015, 9:37:27 PM7/9/15
to beagl...@googlegroups.com
perhaps in regards to dhcp ( dynamic IPs ) I'm thinking of TFTP.
Reply all
Reply to author
Forward
0 new messages