Re: boot hangs at network interfaces

2016-05-04 Thread Brian
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.



Re: boot hangs at network interfaces

2016-05-04 Thread Henning Follmann
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 +, Mark Fletcher wrote:
> > > On Wed, May 4, 2016, 1:09 AM Henning Follmann 
> > > 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   | hfollm...@itcfollmann.com



Re: boot hangs at network interfaces

2016-05-04 Thread Brian
On Wed 04 May 2016 at 07:18:31 -0400, Henning Follmann wrote:

> On Wed, May 04, 2016 at 04:37:19AM +, Mark Fletcher wrote:
> > On Wed, May 4, 2016, 1:09 AM Henning Follmann 
> > 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?



Re: boot hangs at network interfaces

2016-05-04 Thread Teemu Likonen
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   - .-..    //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///


signature.asc
Description: PGP signature


Re: boot hangs at network interfaces

2016-05-04 Thread Henning Follmann
On Wed, May 04, 2016 at 04:37:19AM +, Mark Fletcher wrote:
> On Wed, May 4, 2016, 1:09 AM Henning Follmann 
> 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   | hfollm...@itcfollmann.com



Re: boot hangs at network interfaces

2016-05-03 Thread Mark Fletcher
On Wed, May 4, 2016, 1:09 AM Henning Follmann 
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


boot hangs at network interfaces

2016-05-03 Thread Henning Follmann
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   | hfollm...@itcfollmann.com