Google
  Web www.spinics.net

netconsole dumbs the system (in initramfs with bonding and vlan)

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


Hi,

I set up networking from the initramfs like this:

----------------------------------------
ifup()
{
    ip addr add $2 dev $1
    ip link set up dev $1
    echo "Configured $1 with address $2"
}

BOND=bond0

modprobe bonding
cd /sys/class/net/$BOND/bonding

echo active-backup >mode
echo +eth0 >slaves
echo +eth1 >slaves
echo eth0 >primary
echo +10.0.0.1 >arp_ip_target
echo +10.0.0.2 >arp_ip_target
echo 1000 >arp_interval

vconfig set_name_type VLAN_PLUS_VID_NO_PAD
vconfig add $BOND 39

ifup $BOND 10.0.0.6/24
ifup vlan39 10.253.1.103/24
----------------------------------------

which mostly works, apart from the occasional flood of "bonding: bond0:
doing slave updates when interface is down" messages as detailed in my
previous mail.  However, if I afterwards issue

# modprobe netconsole netconsole=@xxxxxxxx/eth0,@10.0.0.7/

that kills off the consoles: past kernel messages start pouring over all
consoles, the new network console included, then it suddenly dies off in
the middle, with one more line on the VC than sent to the network.  At
this point, the machine still responds to ping, the keyboard leds work,
but otherwise it's impossible to interact with it.  No SysRq, even.
Being in the initramfs, there are no network services to test.  If I
load netconsole in the running system, there isn't much backlog to pour
out, and the problem doesn't appear.  What could be wrong here?
-- 
Thanks,
Feri.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Kernel List]     [Site Home]     [Ethernet Bridging]     [Git]     [IETF Annouce]     [Linux Assembly]     [VLAN]     [Networking]     [Security]     [Bugtraq]     [Rubini]     [Photo]     [Singles Social Networking]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Virtualization]     [Linux Security]     [Linux IDE]     [Linux RAID]     [Linux SCSI]     [Linux Wireless]     [DDR & Rambus]     [Free Dating]     [Linux Resources]     [Wireless Reading Device]

Add to Google Powered by Linux