Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #167437 > unrolled thread

boot hangs at network interfaces

Started byHenning Follmann <hfollmann@itcfollmann.com>
First post2016-05-03 18:10 +0200
Last post2016-05-04 15:10 +0200
Articles 7 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  boot hangs at network interfaces  Henning Follmann <hfollmann@itcfollmann.com> - 2016-05-03 18:10 +0200
    Re: boot hangs at network interfaces Mark Fletcher <mark27q1@gmail.com> - 2016-05-04 06:40 +0200
      Re: boot hangs at network interfaces Henning Follmann <hfollmann@itcfollmann.com> - 2016-05-04 13:20 +0200
        Re: boot hangs at network interfaces Brian <ad44@cityscape.co.uk> - 2016-05-04 15:30 +0200
          Re: boot hangs at network interfaces Henning Follmann <hfollmann@itcfollmann.com> - 2016-05-04 16:20 +0200
            Re: boot hangs at network interfaces Brian <ad44@cityscape.co.uk> - 2016-05-04 16:50 +0200
    Re: boot hangs at network interfaces Teemu Likonen <tlikonen@iki.fi> - 2016-05-04 15:10 +0200

#167437 — boot hangs at network interfaces

FromHenning Follmann <hfollmann@itcfollmann.com>
Date2016-05-03 18:10 +0200
Subjectboot hangs at network interfaces
Message-ID<ruL3A-2N5-17@gated-at.bofh.it>
Hello,

I do have an old laptop. I installed a minimal system without any network
manager.
Now if there is no network cable plugged in during boot time systemd hangs
forever at the network interface part.

I just have the most simplistic /etc/network/interfaces


==========
sources /etc/network/interfaces.d/

auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp

=========================

there is no script in /etc/network/interfaces.d/


 

-- 
Henning Follmann           | hfollmann@itcfollmann.com

[toc] | [next] | [standalone]


#167455

FromMark Fletcher <mark27q1@gmail.com>
Date2016-05-04 06:40 +0200
Message-ID<ruWLn-5l2-1@gated-at.bofh.it>
In reply to#167437

[Multipart message — attachments visible in raw view] — view raw

On Wed, May 4, 2016, 1:09 AM Henning Follmann <hfollmann@itcfollmann.com>
wrote:

> Hello,
>
> I do have an old laptop. I installed a minimal system without any network
> manager.
> Now if there is no network cable plugged in during boot time systemd hangs
> forever at the network interface part.
>
>
Sorry to ask a potentially dumb question, but does that imply that if the
network cable IS connected, it boots OK?

Mark

[toc] | [prev] | [next] | [standalone]


#167461

FromHenning Follmann <hfollmann@itcfollmann.com>
Date2016-05-04 13:20 +0200
Message-ID<rv30t-2OD-1@gated-at.bofh.it>
In reply to#167455
On Wed, May 04, 2016 at 04:37:19AM +0000, Mark Fletcher wrote:
> On Wed, May 4, 2016, 1:09 AM Henning Follmann <hfollmann@itcfollmann.com>
> wrote:
> 
> > Hello,
> >
> > I do have an old laptop. I installed a minimal system without any network
> > manager.
> > Now if there is no network cable plugged in during boot time systemd hangs
> > forever at the network interface part.
> >
> >
> Sorry to ask a potentially dumb question, but does that imply that if the
> network cable IS connected, it boots OK?
> 
> Mark

exactly that.
This is not my only machine with debian  on it. It is my only laptop
without a network manager. It is totally weird.
I think it has to do with dhcp and that there is no timeout set. So it
waits forever to pick up an Ip address (which of course doesn't work
without a cable).

-H

-- 
Henning Follmann           | hfollmann@itcfollmann.com

[toc] | [prev] | [next] | [standalone]


#167465

FromBrian <ad44@cityscape.co.uk>
Date2016-05-04 15:30 +0200
Message-ID<rv52i-4BT-9@gated-at.bofh.it>
In reply to#167461
On Wed 04 May 2016 at 07:18:31 -0400, Henning Follmann wrote:

> On Wed, May 04, 2016 at 04:37:19AM +0000, Mark Fletcher wrote:
> > On Wed, May 4, 2016, 1:09 AM Henning Follmann <hfollmann@itcfollmann.com>
> > wrote:
> > 
> > > Hello,
> > >
> > > I do have an old laptop. I installed a minimal system without any network
> > > manager.
> > > Now if there is no network cable plugged in during boot time systemd hangs
> > > forever at the network interface part.
> > >
> > >
> > Sorry to ask a potentially dumb question, but does that imply that if the
> > network cable IS connected, it boots OK?
> > 
> > Mark
> 
> exactly that.
> This is not my only machine with debian  on it. It is my only laptop
> without a network manager. It is totally weird.
> I think it has to do with dhcp and that there is no timeout set. So it
> waits forever to pick up an Ip address (which of course doesn't work
> without a cable).

We may have different ideas of what is meant by "minimal install". All
mine boot without a network cable attached. Would your machine being a
laptop really be relevant to the issue?

Any onscreen messages when the the hang happens?

[toc] | [prev] | [next] | [standalone]


#167467

FromHenning Follmann <hfollmann@itcfollmann.com>
Date2016-05-04 16:20 +0200
Message-ID<rv5OG-5wR-5@gated-at.bofh.it>
In reply to#167465
On Wed, May 04, 2016 at 02:23:27PM +0100, Brian wrote:
> On Wed 04 May 2016 at 07:18:31 -0400, Henning Follmann wrote:
> 
> > On Wed, May 04, 2016 at 04:37:19AM +0000, Mark Fletcher wrote:
> > > On Wed, May 4, 2016, 1:09 AM Henning Follmann <hfollmann@itcfollmann.com>
> > > wrote:
> > > 
> > > > Hello,
> > > >
> > > > I do have an old laptop. I installed a minimal system without any network
> > > > manager.
> > > > Now if there is no network cable plugged in during boot time systemd hangs
> > > > forever at the network interface part.
> > > >
> > > >
> > > Sorry to ask a potentially dumb question, but does that imply that if the
> > > network cable IS connected, it boots OK?
> > > 
> > > Mark
> > 
> > exactly that.
> > This is not my only machine with debian  on it. It is my only laptop
> > without a network manager. It is totally weird.
> > I think it has to do with dhcp and that there is no timeout set. So it
> > waits forever to pick up an Ip address (which of course doesn't work
> > without a cable).
> 
> We may have different ideas of what is meant by "minimal install". All
> mine boot without a network cable attached. Would your machine being a
> laptop really be relevant to the issue?
> 
> Any onscreen messages when the the hang happens?
> 

Yes,
a start job is running for LSB: Raise network interfaces. (xx / no limits)
xx is the timer running up.


Here it hangs. Forever.
Minimal install means in this case during tasksel I only selected "laptop"
nothing else.

However since yesterday I got my hands on an old macbook pro and I
installed debian on it. So this time during tasksel i left everything
preselectet (GNOME, print server, laptop IIRC).

Now I entered the lines for eth0 into the /etc/network/interfaces.
I unplugged the network cable and...

same line "A start job.." however this time it times out ( around 1min 30s)
which seems normal since 90s is the usual dhcp timeout.

I am scratching my head...



-H










-- 
Henning Follmann           | hfollmann@itcfollmann.com

[toc] | [prev] | [next] | [standalone]


#167468

FromBrian <ad44@cityscape.co.uk>
Date2016-05-04 16:50 +0200
Message-ID<rv6hH-5S0-7@gated-at.bofh.it>
In reply to#167467
On Wed 04 May 2016 at 10:14:09 -0400, Henning Follmann wrote:

> On Wed, May 04, 2016 at 02:23:27PM +0100, Brian wrote:
> > 
> > Any onscreen messages when the the hang happens?
> 
> Yes,
> a start job is running for LSB: Raise network interfaces. (xx / no limits)
> xx is the timer running up.
> 
> Here it hangs. Forever.
> Minimal install means in this case during tasksel I only selected "laptop"
> nothing else.
> 
> However since yesterday I got my hands on an old macbook pro and I
> installed debian on it. So this time during tasksel i left everything
> preselectet (GNOME, print server, laptop IIRC).
> 
> Now I entered the lines for eth0 into the /etc/network/interfaces.
> I unplugged the network cable and...
> 
> same line "A start job.." however this time it times out ( around 1min 30s)
> which seems normal since 90s is the usual dhcp timeout.
> 
> I am scratching my head...

If you haven't done so already I would carry out a search with "a start
job is running for LSB: Raise network interfaces". Bug #754218 (the
first hit for me) could give you some hints for troubleshooting.

[toc] | [prev] | [next] | [standalone]


#167464

FromTeemu Likonen <tlikonen@iki.fi>
Date2016-05-04 15:10 +0200
Message-ID<rv4IW-4q0-15@gated-at.bofh.it>
In reply to#167437

[Multipart message — attachments visible in raw view] — view raw

Henning Follmann [2016-05-03 12:09:31-04] wrote:

> I do have an old laptop. I installed a minimal system without any
> network manager. Now if there is no network cable plugged in during
> boot time systemd hangs forever at the network interface part.

Sometimes Exim causes long delays in boot. There's a debconf question
that says something like "keep DNS queries mimimal". If that is "no" I
have seen long delays when there's on network access. I changed it to
"yes" and the boot delay problem went away.

dpkg-reconfigure exim4-config

-- 
/// Teemu Likonen   - .-..   <https://github.com/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web