1 1
PhracturedBlue

Can netconsole be enabled for S905x

Recommended Posts

I know that the RaspberryPi cannot use netconsole due to the ethernet connector being driven over the USB bus, and thus not suporting polling (which is needed for netconsole).

 

When i look at my LePotato kernel (4.14.57), I see:

# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
 

So it is clear netconsole won't work as is.  Before I go through the process of building the kernel to enable these, I thought I'd check if I am wasting my time.  Is it expected that polling will work?  I don't know anything about the 'dwmac_meson8b' driver and what its capabilities might be...

 

Share this post


Link to post
Share on other sites

Thanks.

I see it here:

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c

 

whch is the same directory that dwmac-meson8b.c and if I'm reading the Makefile right,  it looks like that may be included in the meson8b driver.  I guess that is enough for me to go ahead and try the build and see how it goes.

Share this post


Link to post
Share on other sites

So after rebuilding the kernel with:

CONFIG_NETCONSOLE=m
CONFIG_NETCONSOLE_DYNAMIC=y
 

I can confirm that netconsole does indeed work properly on my 'le potato'.  Is there a process to request that this config option be included in the default Armbian builds?  It will be annoying to need to rebuild my kernel manually forever more.

 

Edit: I opened a request since it seems kernel config changes are appropriate here: https://github.com/armbian/build/issues/1086

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1