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

Re: Custom Kernel Networking support



On Wed, Feb 1, 2012 at 1:11 PM, Camaleón <noelamac@gmail.com> wrote:
>
> On Wed, 01 Feb 2012 11:12:35 -0500, A E [Gmail] wrote:
>
> > Hi all,
>
> Hi, please, no html :-(

Ok, never heard of that one before, but I have removed Rich-Text
composing option.

> > sorry for double posting :( and sorry if this isn't the right forum but
> > feel free to tell me where to go if it isn't.
>
> (thanks for the warning. I'm removing the other list)
>
> > The question, I was experimenting with creating a custom kernel, lean by
> > removing a bunch of features/modules from it, but seemed to have knocked
> > out the networking from it...in some part. I know I removed only drivers
> > and/or modules that had to do with WiFi and Wimax etc, but how did it
> > kill wired? Here's what I get at boot time
> >
> > Configuring network interfaces...SIOCSIFFLAGS: Cannot assign requested
> > address
> > SIOCSIFFLAGS: Cannot assign requested address Failed to bring up eth0.
>
> Just configure the network as usual. The error can come from another
> different source. Also, check "dmesg|grep -i eth".
>

I don't see anything in particular that gives me any hint as to what
went wrong in dmesg other than it didn't come up. This is what I see

root@v100:/usr/src/linux-2.6-2.6.32# dmesg | egrep -i 'eth|bond'
[    0.000000] Ethernet address: 00:03:ba:36:58:76
[   70.186323] eth0: Davicom DM9102 at pci0000:00:0c.0,
00:00:00:00:00:00, irq 9.
[   71.292195] eth1: Davicom DM9102 at pci0000:00:05.0,
00:00:00:00:00:00, irq 10.
[   81.742336] Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)
[   81.828192] bonding: Warning: either miimon or arp_interval and
arp_ip_target module parameters must be specified, otherwise bonding
will not detect link failures! see bonding.txt for details.
[   82.075079] bonding: bond0: setting mode to active-backup (1).
[   82.192744] bonding: bond0: Setting MII monitoring interval to 100.
[   82.275503] bonding: bond0: Setting up delay to 200.
[   82.340943] bonding: bond0: Setting down delay to 200.
[   82.483411] bonding: bond0: doing slave updates when interface is down.
[   82.570411] bonding: bond0: Adding slave eth0.
[   82.628775] bonding bond0: master_dev is not up in bond_enslave
[   82.719887] bonding: bond0: doing slave updates when interface is down.
[   82.811601] bonding: bond0: Adding slave eth1.
[   82.886692] bonding bond0: master_dev is not up in bond_enslave
[   82.995111] ADDRCONF(NETDEV_UP): bond0: link is not ready

> > I did a diff between the original .config and the new one and tons of
> > things show up none of which seem to have anything to do with this.
> >
> > Can anyone pinpoin exactly what is making it networking not work?
> >
> > attaching the new .config
>
> When compiling my own kernels, I use "make localmodconfig" to avoid
> forgetting modules which are being used/loaded.
>

Ok, Thanks for this tip. I followed this with the system running
normally as I want. But whenever I make this 1 change in the Kernel
config, it stops the networking from working. The change I'm trying to
make is change the 'Timer Frequency' of the kernel from 250Hz to
1000hz.

If I do that and save the configuration without ANY other change and
then compare the .config.old and .config, I see a whole bunch of other
stuff changed with respect to audio/sound and what not. Then when I
build the kernel, the networking/bonding all fails to start. Here's
the diff between the two files.

root@v100:/boot# diff config-2.6.32.1000hz config-2.6.32-5-sparc64
3,4c3,4
< # Linux kernel version: 2.6.32.1000hz
< # Thu Feb  2 00:48:35 2012
---
> # Linux kernel version: 2.6.32
> # Mon Jan 16 15:08:02 2012
66d65
< # CONFIG_GROUP_SCHED is not set
75a75,77
> CONFIG_CGROUP_SCHED=y
> CONFIG_FAIR_GROUP_SCHED=y
> # CONFIG_RT_GROUP_SCHED is not set
180c182
< # CONFIG_HZ_250 is not set
---
> CONFIG_HZ_250=y
182,183c184,185
< CONFIG_HZ_1000=y
< CONFIG_HZ=1000
---
> # CONFIG_HZ_1000 is not set
> CONFIG_HZ=250
320c322
< CONFIG_INET_LRO=y
---
> CONFIG_INET_LRO=m
739a742
> CONFIG_MAC80211_HAS_RC=y
797a801,802
> CONFIG_BLK_DEV_DRBD=m
> # CONFIG_DRBD_FAULT_INJECTION is not set
939a945
> CONFIG_SCSI_HPSA=m
940a947
> CONFIG_SCSI_3W_SAS=m
1001a1009
> CONFIG_SCSI_PM8001=m
1129a1138
> CONFIG_MACVTAP=m
1175a1185
> CONFIG_TULIP_DM910X=y
1271a1282
> CONFIG_QLCNIC=m
1272a1284
> CONFIG_BNA=m
1319a1332
> CONFIG_USB_IPHETH=m
1890a1904
> # CONFIG_DRM_RADEON_KMS is not set
2059a2074
> # CONFIG_SND_CS46XX is not set
2300a2316
> CONFIG_USB_SERIAL_WWAN=m
2502a2519
> # CONFIG_BRCM80211 is not set
2507a2525,2526
> # CONFIG_RTL8192SU is not set
> # CONFIG_RTL8192U is not set
2509d2527
< # CONFIG_INPUT_MIMIO is not set
2530c2548,2556
< # CONFIG_DRM_RADEON_KMS is not set
---
> # CONFIG_DRM_VMWGFX is not set
> CONFIG_DRM_NOUVEAU=m
> # CONFIG_DRM_NOUVEAU_BACKLIGHT is not set
> # CONFIG_DRM_NOUVEAU_DEBUG is not set
>
> #
> # I2C encoder or helper chips
> #
> CONFIG_DRM_I2C_CH7006=m
2542a2569,2589
> # CONFIG_RAMZSWAP is not set
>
> #
> # Speakup console speech
> #
> CONFIG_SPEAKUP=m
> CONFIG_SPEAKUP_SYNTH_ACNTSA=m
> CONFIG_SPEAKUP_SYNTH_ACNTPC=m
> CONFIG_SPEAKUP_SYNTH_APOLLO=m
> CONFIG_SPEAKUP_SYNTH_AUDPTR=m
> CONFIG_SPEAKUP_SYNTH_BNS=m
> CONFIG_SPEAKUP_SYNTH_DECTLK=m
> CONFIG_SPEAKUP_SYNTH_DECEXT=m
> CONFIG_SPEAKUP_SYNTH_DTLK=m
> CONFIG_SPEAKUP_SYNTH_KEYPC=m
> CONFIG_SPEAKUP_SYNTH_LTLK=m
> CONFIG_SPEAKUP_SYNTH_SOFT=m
> CONFIG_SPEAKUP_SYNTH_SPKOUT=m
> CONFIG_SPEAKUP_SYNTH_TXPRT=m
> CONFIG_SPEAKUP_SYNTH_DUMMY=m
> # CONFIG_FB_XGI is not set
2700a2748,2761
> CONFIG_AUFS_FS=m
> CONFIG_AUFS_BRANCH_MAX_127=y
> # CONFIG_AUFS_BRANCH_MAX_511 is not set
> # CONFIG_AUFS_BRANCH_MAX_1023 is not set
> # CONFIG_AUFS_BRANCH_MAX_32767 is not set
> # CONFIG_AUFS_HINOTIFY is not set
> # CONFIG_AUFS_EXPORT is not set
> # CONFIG_AUFS_RDU is not set
> # CONFIG_AUFS_SP_IATTR is not set
> # CONFIG_AUFS_SHWH is not set
> # CONFIG_AUFS_BR_RAMFS is not set
> # CONFIG_AUFS_BR_FUSE is not set
> CONFIG_AUFS_BDEV_LOOP=y
> # CONFIG_AUFS_DEBUG is not set
2821a2883
> CONFIG_MAGIC_SYSRQ_DEFAULT_MASK=0x01b6
3066a3129
> CONFIG_LRU_CACHE=m

Can anyone see what is making it fail? Note, I have ONLY changed the
Timer Frequency and nothing else

Thanks SO much
\AEG


Reply to: