Koozali.org: home of the SME Server

Kernel panic - bond0 problem

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Kernel panic - bond0 problem
« Reply #15 on: December 01, 2006, 03:41:07 PM »
Just did a server/gateway install in a VM and no bond0.

Maybe you did something non-standard.

Time for me to go read the docs again.

From the bug tracker...
http://bugs.contribs.org/show_bug.cgi?id=449#c5
Quote
Verified.  Console offers nic bonding in server-only mode when 2 nics present.
Nic bonding works and ifconfig shows the bonded nics.  Tried several types of
connections to the server (http, https, ssl and vpn) and all worked.

Change to server-gateway and bonding not offered and the nics are configured
properly and ifconfig shows the server back to eth0 and eth1 only.  http,
https, ssl and vpn connections still working.
Regards,
William

IF I give advise.. It's only if it was me....

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Kernel panic - bond0 problem
« Reply #16 on: December 01, 2006, 04:09:04 PM »
Like i said. I installed sme and then it appeared. Nothing non-standard. A few contribs (remote user and stuff and dansguardian) and i removed dansguardian, base, oink, snort and all that stuff.

But this thing just appeared. I don't do much trough console.

I checked my uptime trough sistem monitor contrib and i noticed bond. But i say again..... i didn't do anything to install, setup or run this thing.

I don't even know how to do it and i don't need it. And i don't just go and type commands i don't know in my console.

I read  this exact part of bugtracker. But as you can see i have a problem which shouldn't be a problem (ergo kernel panic) and which shouldn't even exist.


I think that i have a posible solution. I'll set my server into server only mode and shut of bond. Then i'll set it to server and gateway and it should work.
"It should just work" if it doesn't report it. Thanks!

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Kernel panic - bond0 problem
« Reply #17 on: December 01, 2006, 06:37:30 PM »
Ok i switched one card with another and it seems to work.
No more bond when i type ifconfig so i think that this problem is solved. We'll se in 6 days or so if kernel panic is solved or not.
"It should just work" if it doesn't report it. Thanks!

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Kernel panic - bond0 problem
« Reply #18 on: December 02, 2006, 12:16:46 AM »
Quote from: "bpivk"
Ok i switched one card with another and it seems to work.
No more bond when i type ifconfig so i think that this problem is solved. We'll se in 6 days or so if kernel panic is solved or not.


If everytime you install SME(Gateway/Server) with those NICs you get bond0 then maybe you should  create a bug entry.

The developers will then tell you if it's normal or not.
Regards,
William

IF I give advise.. It's only if it was me....

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Kernel panic - bond0 problem
« Reply #19 on: December 02, 2006, 03:25:01 PM »
Well i didn't notice that untill the kernel errors started to show up. I'll keep my eyes open to see if this is a regular pattern with my cards.
"It should just work" if it doesn't report it. Thanks!

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Kernel panic - bond0 problem
« Reply #20 on: December 03, 2006, 05:23:21 PM »
Ok when i said that kernel bonding is off. Guess again...
I had a kernel error today and when i checked my logs:
Code: [Select]

Dec  1 16:23:18 wegeland esmith::event[2496]: expanding /etc/sysconfig/network-scripts/ifcfg-bond0  
Dec  1 16:23:27 wegeland esmith::event[2496]: Running event handler: /etc/e-smith/events/bootstrap-console-save/S10rmmod-bonding
1 16:23:27 wegeland kernel: divert: freeing divert_blk for bond0
Dec  1 16:23:28 wegeland net.agent[2694]: remove event not handled
Dec  1 16:23:28 wegeland net.agent[2705]: remove event not handled
Dec  1 16:23:28 wegeland esmith::event[2496]: S10rmmod-bonding=action|Event|bootstrap-console-save|Action|S10rmmod-bonding|Start|1164986607 941924|End|1164986608 142442|Elapsed|0.200518

Dec  3 11:41:51 wegeland kernel: Ethernet Channel Bonding Driver: v2.6.3 (June 8, 2005)
Dec  3 11:41:33 wegeland rc.sysinit: Remounting root filesystem in read-write mode:  succeeded
Dec  3 11:41:51 wegeland kernel: bonding: MII link monitoring set to 200 ms
Dec  3 11:41:34 wegeland lvm.static:   2 logical volume(s) in volume group main now active
Dec  3 11:41:51 wegeland kernel: divert: allocating divert_blk for bond0


So i'm back at square 1.

Well bonding started on december 1. and it's still on. I pasted december 3. because i noticed it then but i found the same commands on both days.
"It should just work" if it doesn't report it. Thanks!

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Kernel panic - bond0 problem
« Reply #21 on: December 22, 2006, 11:07:42 PM »
Ok sorry for reopening my old post but my bond problem (which dissaperaared after a while) just came back and i hade to reboot my server twice today.
"It should just work" if it doesn't report it. Thanks!

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Kernel panic - bond0 problem
« Reply #22 on: December 22, 2006, 11:45:47 PM »
Quote from: "bpivk"
Ok sorry for reopening my old post but my bond problem (which dissaperaared after a while) just came back and i hade to reboot my server twice today.


Bug 2130
Regards,
William

IF I give advise.. It's only if it was me....

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Kernel panic - bond0 problem
« Reply #23 on: December 23, 2006, 12:07:09 PM »
Yes this is my bug post. And i didn't get any reply. And it's hard to live with this problem if your internet connection dies twice a day.
"It should just work" if it doesn't report it. Thanks!

Offline raem

  • *
  • 3,972
  • +4/-0
Kernel panic - bond0 problem
« Reply #24 on: December 23, 2006, 01:52:29 PM »
bpivk

> And i didn't get any reply.

You did get replies and you were asked to provide full details, which you have not done.

Charlie wants log entries pertinent to the problem you see and entries/information that show it is a bond0 problem. Do you get any error messages ? If so quote these exactly, and also give log file entries from the times those errors occurred.
Start with looking in the /var/log/messages file and also look in others for relevant info.

Quoting:
"Please provide full details of the kernel panic, including exactly when it
occurs. What tells you that it is bond0 which causes the kernel panic?"
...

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Kernel panic - bond0 problem
« Reply #25 on: December 23, 2006, 03:03:38 PM »
Well i did search my logs and i didn't find any references to my problem. Some of the logs are posted above (on page 1) and some of the errors (including those that i had today) aren't even loged. Or i can't find them.
"It should just work" if it doesn't report it. Thanks!

Offline raem

  • *
  • 3,972
  • +4/-0
Kernel panic - bond0 problem
« Reply #26 on: December 26, 2006, 12:33:01 AM »
bpivk

> Some of the logs are posted above (on page 1)

You should post those log entries to the bug  tracker (as an attachment). Make it easy for the developers so they don't need to waste time finding & reading forum posts.


> ..some of the errors (including those that i had today) aren't even loged.

You should at least quote the error messages verbatim including the ones you received today (in bugzilla, not here).

If you can't find log entries or don't know where to look, then say so or ask in bugzilla (not here). The developers will guide you re the information to provide, but you must be willing to follow up your original complaint with supporting information.

You can't just say "no one answered me" when you have provided very little information, and not followed up on requested information.
The developers are waiting for your follow up information before they will answer further.

I believe it is standard policy that developers don't waste their time on bug reports that have no follow up feedback provided.
...

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Kernel panic - bond0 problem
« Reply #27 on: December 26, 2006, 01:16:59 AM »
Did you check the bugtracker lately?

-I didn't reply because i had problems with my modem.
-I posted two logs (i have mentioned and posted a link to my logs in one of my first posts but if you want it posted then ok).
-I can find the messages that are logged, but some of them aren't.

Quote
You can't just say "no one answered me"

Can you quote me on this statement? I didn't get a reply like i don't like links. I did what you told me as soon as i fixed my modem.
"It should just work" if it doesn't report it. Thanks!