Summary: | sys-apps/openrc-0.9.8.1 ethtool interface not working | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aidan Marks <aidanamarks> |
Component: | [OLD] Core system | Assignee: | OpenRC Team <openrc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 399185, 400787 | ||
Attachments: |
debug log
openrc-0.9.8.1-ethtool_fix.patch |
Description
Aidan Marks
2012-01-15 22:56:06 UTC
Created attachment 299043 [details]
debug log
log of /etc/init.d/net.eth0 --debug restart
Created attachment 299051 [details, diff]
openrc-0.9.8.1-ethtool_fix.patch
possible fix
(In reply to comment #2) > Created attachment 299051 [details, diff] [details, diff] > openrc-0.9.8.1-ethtool_fix.patch > > possible fix Even with that fix a user-mode-linux image failed to start eth0. I copied the backed up old net.lo over the new one, then it works. (In reply to comment #2) > Created attachment 299051 [details, diff] [details, diff] > openrc-0.9.8.1-ethtool_fix.patch > > possible fix This fix looks correct. @robbat2: If this looks correct to you, I will apply it. (In reply to comment #3) > Even with that fix a user-mode-linux image failed to start eth0. > I copied the backed up old net.lo over the new one, then it works. Please restore the new net.lo, apply the fix, then attach the output from the command in comment #1. We need to see if that is the same issue. (In reply to comment #4) > (In reply to comment #2) > > Created attachment 299051 [details, diff] [details, diff] [details, diff] > > openrc-0.9.8.1-ethtool_fix.patch > @robbat2: > If this looks correct to you, I will apply it. Applied and verified. It broke with one of your prior commit to replace "_ethtool" with "_which ethtool". > (In reply to comment #3) > > Even with that fix a user-mode-linux image failed to start eth0. > > I copied the backed up old net.lo over the new one, then it works. > > Please restore the new net.lo, apply the fix, then attach the output from the > command in comment #1. We need to see if that is the same issue. That's going to be a different problem. Can we also get the output from "/etc/init.d/net.eth0 --verbose restart" (with the patch applied on top of 0.9.8.1). (In reply to comment #5) > Can we also get the output from "/etc/init.d/net.eth0 --verbose restart" (with > the patch applied on top of 0.9.8.1). n22_uml ~ # /etc/init.d/net.eth0 --verbose restart * Caching service dependencies ... [ ok ] * Bringing up interface eth0 * Skipping module adsl due to missing program: /usr/sbin/adsl-start /usr/sbin/pppoe-start * Skipping module br2684ctl due to missing program: br2684ctl * Skipping module tuntap due to missing program: ip openvpn tunctl * Skipping module bridge due to missing program: brctl * Skipping module clip due to missing program: /usr/sbin/atmsigd * Skipping module ethtool due to missing program: ethtool * Skipping module macvlan due to missing program: ip * Skipping module netplugd due to missing program: /sbin/netplugd * Skipping module ifplugd due to missing program: /usr/sbin/ifplugd * Skipping module ipppd due to missing program: /usr/sbin/ipppd * Skipping module iwconfig due to missing program: /sbin/iwconfig * Skipping module iproute2 due to missing program: ip * Skipping module pppd due to missing program: /usr/sbin/pppd * Skipping module vlan due to missing program: ip * Skipping module dhclient due to missing program: /sbin/dhclient * Skipping module pump due to missing program: /sbin/pump * Skipping module ip6to4 due to missing program: ip * Loaded modules: apipa arping bonding ccwgroup macchanger macnet wpa_supplicant ssidnet ifconfig system dhcpcd * Configuring eth0 for MAC address 7a:cf:14:11:67:01 ... [ ok ] * 192.168.1.50/16 ... dhcp: Host name lookup failure ifconfig: `--help' gives usage information. [ !! ] * ERROR: net.eth0 failed to start Here's my config : n22_uml ~ # cat /etc/conf.d/net # net.eth0 # # TAP1 + dhcp # config_eth0="192.168.1.50/16 dhcp" # TUN + static # #config_eth0="192.168.0.50/16" #routes_eth0="default via 192.168.0.253" #dns_servers_eth0="192.168.0.254" dhcp_eth0="nontp" dhcpcd_eth0="-L -t 10 -h n22_uml_dyn" BTW using the old net.lo works : n22_uml ~ # cp /var/tmp/net.lo.bak /etc/init.d/net.lo n22_uml ~ # /etc/init.d/net.eth0 --verbose restart * Caching service dependencies ... [ ok ] * Bringing up interface eth0 * Loaded modules: apipa arping bonding ccwgroup macchanger macnet wpa_supplicant ssidnet ifconfig system dhcpcd * Configuring eth0 for MAC address 7a:cf:14:11:67:01 ... [ ok ] * 192.168.1.50/16 ... [ ok ] * dhcp ... * Running dhcpcd ... dhcpcd[1629]: version 5.2.12 starting dhcpcd[1629]: eth0: broadcasting for a lease dhcpcd[1629]: eth0: offered 192.168.0.15 from 192.168.0.254 dhcpcd[1629]: eth0: acknowledged 192.168.0.15 from 192.168.0.254 dhcpcd[1629]: eth0: checking for 192.168.0.15 dhcpcd[1629]: eth0: leased 192.168.0.15 for 3600 seconds dhcpcd[1629]: forked to background, child pid 1650 [ ok ] * received address 192.168.1.50/16 [ ok ] Toralf: 1. Move dhcp to a SEPARATE line and retest. Eg: config_eth0="192.168.1.50/16 dhcp" 1. Failing that, may I get a matching output from "/etc/init.d/net.eth0 --debug --verbose restart" please? Aidan: can you retest 0.9.8.1 as well please (you didn't include your conf.d/net). This is now in 0.9.8.2. (In reply to comment #10) > This is now in 0.9.8.2. Verified fix in 0.9.8.2. Thank you very much. |