All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next 20110831 - netconsole startup issue
@ 2011-09-01 15:14 Valdis.Kletnieks
  2011-09-02  5:54 ` Américo Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Valdis.Kletnieks @ 2011-09-01 15:14 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, linux-kernel

Chasing a kernel panic in linux-next, and hit an unrelated issue
starting up netconsole that's bogging me down.

On linux-next-20110823, I had this:

[    7.078099] e1000e: Intel(R) PRO/1000 Network Driver - 1.5.1-k 
[    7.078102] e1000e: Copyright(c) 1999 - 2011 Intel Corporation.
[    7.078158] e1000e 0000:00:19.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[    7.078171] e1000e 0000:00:19.0: setting latency timer to 64
[    7.078354] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[    7.269439] e1000e 0000:00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) 00:21:70:de:b6:fd
[    7.269443] e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
[    7.269469] e1000e 0000:00:19.0: eth0: MAC: 7, PHY: 8, PBA No: 4003FF-0FF
[    7.293569] netconsole: network logging started

Bring up the ethernet, then the console. Works great,

However, on -20110831, I get this:

[    0.983149] netconsole: local port 9909
[    0.983254] netconsole: local IP 128.173.14.107
[    0.983358] netconsole: interface 'eth0'
[    0.983461] netconsole: remote port 9909
[    0.983564] netconsole: remote IP 128.173.14.108
[    0.983668] netconsole: remote ethernet address 00:14:22:5a:79:d3
[    0.983776] netconsole: eth0 doesn't exist, aborting.
[    0.983897] netconsole: cleaning up
[    1.176429] e1000e 0000:00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) 00:21:70:de:b6:fd
[    1.176557] e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
[    1.176688] e1000e 0000:00:19.0: eth0: MAC: 7, PHY: 8, PBA No: 4003FF-0FF

Whoops. No netconsole.

Even more annoying (and quite possibly related), the kernel is built with
CONFIG_NETCONSOLE_DYNAMIC. On -20110823, I have a /sys/kernel/config/netconsole
directory and can use it to configure netconsole on the fly.  However, on
-20110831, /sys/kernel/config is empty - no netconsole subdirectory.  So I
couldn't even boot to single-user, configure netconsole, and then continue to
multiuser and capture the crash.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linux-next 20110831 - netconsole startup issue
  2011-09-01 15:14 linux-next 20110831 - netconsole startup issue Valdis.Kletnieks
@ 2011-09-02  5:54 ` Américo Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Américo Wang @ 2011-09-02  5:54 UTC (permalink / raw)
  To: Valdis.Kletnieks; +Cc: David S. Miller, netdev, linux-kernel

On Thu, Sep 1, 2011 at 11:14 PM,  <Valdis.Kletnieks@vt.edu> wrote:
> Chasing a kernel panic in linux-next, and hit an unrelated issue
> starting up netconsole that's bogging me down.
>
> On linux-next-20110823, I had this:
>
> [    7.078099] e1000e: Intel(R) PRO/1000 Network Driver - 1.5.1-k
> [    7.078102] e1000e: Copyright(c) 1999 - 2011 Intel Corporation.
> [    7.078158] e1000e 0000:00:19.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
> [    7.078171] e1000e 0000:00:19.0: setting latency timer to 64
> [    7.078354] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
> [    7.269439] e1000e 0000:00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) 00:21:70:de:b6:fd
> [    7.269443] e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
> [    7.269469] e1000e 0000:00:19.0: eth0: MAC: 7, PHY: 8, PBA No: 4003FF-0FF
> [    7.293569] netconsole: network logging started
>
> Bring up the ethernet, then the console. Works great,
>
> However, on -20110831, I get this:
>
> [    0.983149] netconsole: local port 9909
> [    0.983254] netconsole: local IP 128.173.14.107
> [    0.983358] netconsole: interface 'eth0'
> [    0.983461] netconsole: remote port 9909
> [    0.983564] netconsole: remote IP 128.173.14.108
> [    0.983668] netconsole: remote ethernet address 00:14:22:5a:79:d3
> [    0.983776] netconsole: eth0 doesn't exist, aborting.
> [    0.983897] netconsole: cleaning up
> [    1.176429] e1000e 0000:00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) 00:21:70:de:b6:fd
> [    1.176557] e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
> [    1.176688] e1000e 0000:00:19.0: eth0: MAC: 7, PHY: 8, PBA No: 4003FF-0FF
>
> Whoops. No netconsole.

This is because your eth0 came up after netconsole, I guess
you need to wait for some seconds to let eth0 come up before
activating netconsole.

But I don't see any changes of netconsole between 20110823
and 20110831...

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-02  5:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-01 15:14 linux-next 20110831 - netconsole startup issue Valdis.Kletnieks
2011-09-02  5:54 ` Américo Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.