All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel oops when putting the console option in /boot/grub/menu.lst
@ 2007-05-10 15:41 Hung Lin
  2007-05-10 16:44 ` Patrick McHardy
  2007-05-15 10:58 ` Amin Azez
  0 siblings, 2 replies; 6+ messages in thread
From: Hung Lin @ 2007-05-10 15:41 UTC (permalink / raw)
  To: netfilter-devel

Hi,

I'm using ipset-2.2.9 with kernel 2.6.11.4-21.13 (SuSE 9.3 kernel) and
iptables-1.3.1-3 (SuSE 9.3 iptables) and everything is fine.  But after
I added a console option to /boot/grub/menu.lst, the kenrel will hang
sometimes and show kernel oops message on the monitor.  After research,
I found it is `iptables -m hashlimit` command to cause this problem.
Therefore, I did some tests:

I used a loop to insert and delete hashlimit rules to iptables, here's
the result:

1. with ipset patch and without console option in grub menu, no problem

2. withotu ipset patch and with console option in grub menu, no problem

3. with ipset patch and with console option in grub menu, kernel crashs
after hundreds of iterations.


It looks like console option in the grub menu has something conflict
with ipset kernel patch.  But I don't understand.

Please give me your advices.  Thanks in advance.


P.S. 

Here's the grub menu:

ORIGINAL ONE (without console option):

color white/blue black/light-gray
default 0
timeout 8

title NexTone Linux
    kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 vga=normal splash=silent
desktop showopts vmalloc=256M
    initrd (hd0,1)/boot/initrd

title Rescue Floppy
    root (fd0)
    chainloader +1

title Failsafe
    kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 vga=normal splash=silent
desktop showopts single
    initrd (hd0,1)/boot/initrd


NEW ONE (with console option):

color white/blue black/light-gray
default 0
timeout 8

title NexTone Linux
    kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 vga=normal splash=silent
desktop showopts console=tty0 console=ttyS0,9600n8 vmalloc=256M
    initrd (hd0,1)/boot/initrd

title Rescue Floppy
    root (fd0)
    chainloader +1

title Failsafe
    kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 vga=normal splash=silent
desktop showopts console=ttyS0,9600n8 console=tty0 single
    initrd (hd0,1)/boot/initrd






Hung Lin
Software Engineer
NexTone Communications, Inc.

-- Network Without Limits --

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-15 10:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-10 15:41 Kernel oops when putting the console option in /boot/grub/menu.lst Hung Lin
2007-05-10 16:44 ` Patrick McHardy
2007-05-10 17:06   ` Hung Lin
2007-05-11 16:37     ` Patrick McHardy
2007-05-11 17:15     ` Carl-Daniel Hailfinger
2007-05-15 10:58 ` Amin Azez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.