NM 0.8.997 - instance size for type `NMDeviceWimax' is smaller than the parent type's `NMDevice' instance size



Hi,

I've recently switched from 0.8.2 version to 0.8.997 version and it
stops working with my ethernet card. It's strange as it looks like
some problem with WiMAX.
Here is what I gets when I run NetworkManager as no-daemon:

# NetworkManager --no-daemon --log-level=DEBUG
--log-domains=HW,RFKILL,ETHER,DHCP4,IP4,AUTOIP4,DNS,SHARING,CORE,DEVICE,SUPPLICANT,OLPC
NetworkManager[5127]: <info> NetworkManager (version 0.8.997-1) is starting...
NetworkManager[5127]: <info> Read config file
/etc/NetworkManager/NetworkManager.conf
NetworkManager[5127]:    ifcfg-rh: Acquired D-Bus service com.redhat.ifcfgrh1
NetworkManager[5127]:    ifcfg-rh: parsing
/etc/sysconfig/network-scripts/ifcfg-Auto_eth0 ...
NetworkManager[5127]:    ifcfg-rh:     read connection 'Auto eth0'
NetworkManager[5127]: <info> monitoring kernel firmware directory
'/lib/firmware'.
NetworkManager[5127]: <info> WiFi enabled by radio killswitch; enabled
by state file
NetworkManager[5127]: <info> WWAN enabled by radio killswitch; enabled
by state file
NetworkManager[5127]: <info> WiMAX enabled by radio killswitch;
enabled by state file
NetworkManager[5127]: <info> Networking is enabled by state file
NetworkManager[5127]: <debug> [1300661846.198717]
[nm-device-ethernet.c:2113] supports_ethtool_carrier_detect(): ethtool
is supported
NetworkManager[5127]: <debug> [1300661846.198859]
[nm-device-ethernet.c:785] real_update_initial_hw_address(): (eth0):
read initial MAC address F0:4D:A2:47:8B:F4
NetworkManager[5127]: <debug> [1300661846.199069]
[NetworkManagerUtils.c:713] nm_utils_get_proc_sys_net_value(): (eth0):
error reading /proc/sys/net/ipv6/conf/eth0/accept_ra: (4) Failed to
open file '/proc/sys/net/ipv6/conf/eth0/accept_ra': No such file or
directory
NetworkManager[5127]: <debug> [1300661846.199169]
[nm-device-ethernet.c:415] constructor(): (eth0): kernel ifindex 21
NetworkManager[5127]: <info> (eth0): carrier is OFF

(NetworkManager:5127): GLib-GObject-WARNING **: specified instance
size for type `NMDeviceWimax' is smaller than the parent type's
`NMDevice' instance size

(NetworkManager:5127): GLib-GObject-CRITICAL **:
g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE
(instance_type)' failed

(NetworkManager:5127): GLib-CRITICAL **: g_once_init_leave: assertion
`initialization_value != 0' failed
NetworkManager[5127]: <info> (eth0): new Ethernet device (driver:
'r8169' ifindex: 21)
NetworkManager[5127]: <info> (eth0): exported as
/org/freedesktop/NetworkManager/Devices/0
NetworkManager[5127]: <info> (eth0): now managed
NetworkManager[5127]: <info> (eth0): device state change: 10 -> 20 (reason 2)
NetworkManager[5127]: <info> (eth0): bringing up device.
NetworkManager[5127]: <info> (eth0): preparing device.
NetworkManager[5127]: <info> (eth0): deactivating device (reason: 2).
NetworkManager[5127]: <debug> [1300661846.258162]
[nm-device-ethernet.c:671] _set_hw_addr(): (eth0): no MAC address
change needed
NetworkManager[5127]: <debug> [1300661846.258240] [nm-system.c:1362]
flush_routes(): (eth0): flushing routes ifindex 21 family INET (2)
NetworkManager[5127]: <debug> [1300661846.258422] [nm-system.c:1277]
dump_route():   route idx 1 family INET (2) addr 127.255.255.255/32
NetworkManager[5127]: <debug> [1300661846.258499] [nm-system.c:1277]
dump_route():   route idx 1 family INET (2) addr 127.0.0.0/32
NetworkManager[5127]: <debug> [1300661846.258570] [nm-system.c:1277]
dump_route():   route idx 1 family INET (2) addr 127.0.0.1/32
NetworkManager[5127]: <debug> [1300661846.258640] [nm-system.c:1277]
dump_route():   route idx 1 family INET (2) addr 127.0.0.0/8
NetworkManager[5127]: <debug> [1300661846.258789] [nm-system.c:222]
sync_addresses(): (eth0): syncing addresses (family 2)
NetworkManager[5127]: <debug> [1300661846.259277] [nm-device.c:3778]
nm_device_state_changed(): (eth0): device not yet available for
transition to DISCONNECTED
^CNetworkManager[5127]: <info> caught signal 2, shutting down normally.
NetworkManager[5127]: <info> caught signal 15, shutting down normally.
Killed

It stops responding on "NetworkManager[5127]: <debug>
[1300661846.259277] [nm-device.c:3778] nm_device_state_changed():
(eth0): device not yet available for transition to DISCONNECTED" and
hangs. I cannot close it sending signal 2 or 15, nm-tool is unable to
connect to service. I could only kill it with signal 9.

Rebuilding NetworkManager without WiMAX support resolves problem, but
I don't understand why it's trying to do anything with WiMAX on wired
netrwork adapter.

Best regards,
Lukasz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]