[Click] click - general protection fault (linuxmodule)

Lothar Braun braun at net.in.tum.de
Thu Feb 24 06:49:01 EST 2011


Hi,

I'm trying to run the in-kernel click version on a Debian squeeze with a non-patched linux 2.6.32.4 kernel.
The version I'm running is the current git sources from git://read.cs.ucla.edu/git/click revision 968964c3e344c2898681e9644d51b20669fef6cd

Problems occur, when I try to run a configuration which reads from an Intel 10GE interface (driver is ixgbe). Even a simple configuration like:

FromDevice(mon0, PROMISC true, BURST 100 ) -> Discard

fails. The configuration above produces the following errors: 

[ 1988.080781] click: starting router thread pid 2465 (ffff88033cba2740)
[ 1988.081445] device mon0 entered promiscuous mode
[ 1988.081830] general protection fault: 0000 [#1] PREEMPT SMP 
[ 1988.081865] last sysfs file: /sys/devices/virtual/vc/vcs5/uevent
[ 1988.081904] CPU 2 
[ 1988.081927] Modules linked in: click proclikefs ipmi_poweroff ipmi_devintf ipmi_si ipmi_msghandler ata_generic ata_piix libata ide_pci_generic ide_core i2c_i801 psmouse ixgbe ioatdma pcspkr dca mdio joydev evdev button serio_raw thermal
[ 1988.082139] Pid: 2465, comm: kclick Not tainted 2.6.32.4 #2 X8ST3
[ 1988.082167] RIP: 0010:[<ffffffffa018e2bc>]  [<ffffffffa018e2bc>] _ZN7Discard4pushEiP6Packet+0xc/0x30 [click]
[ 1988.082245] RSP: 0018:ffff880335711e50  EFLAGS: 00010206
[ 1988.082270] RAX: ffffffffa01f4210 RBX: ffff88032e636000 RCX: ffff88032e636018
[ 1988.082299] RDX: 74736b5f5f007645 RSI: 0000000000000000 RDI: ffff88033cdfd380
[ 1988.082328] RBP: 0000000000000002 R08: ffff880335710000 R09: ffff88033e501570
[ 1988.082357] R10: 0000000000000000 R11: ffff88033cba27cc R12: 0000000000000000
[ 1988.082385] R13: ffff88032e636104 R14: 0000000000010000 R15: ffff88033cba27cc
[ 1988.082414] FS:  00007f04d385c700(0000) GS:ffff880028280000(0000) knlGS:0000000000000000
[ 1988.082461] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 1988.082487] CR2: 00007f17f49db0a0 CR3: 0000000001001000 CR4: 00000000000006e0
[ 1988.082515] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1988.082544] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 1988.082573] Process kclick (pid: 2465, threadinfo ffff880335710000, task ffff8803357335b0)
[ 1988.082617] Stack:
[ 1988.082636]  0000000000000001 ffffffffa017c997 ffff88033cba27cc 0000000000000080
[ 1988.082671] <0> ffff88033cba2740 00000000ffffffff 0000000000000000 ffffffffa012966d
[ 1988.082723] <0> 0000000000000004 0000000000000020 0000001200000020 ffff88033a863c00
[ 1988.082790] Call Trace:
[ 1988.082837]  [<ffffffffa017c997>] ? _ZN10FromDevice8run_taskEP4Task+0x97/0x170 [click]
[ 1988.082896]  [<ffffffffa012966d>] ? _ZN12RouterThread6driverEv+0x23d/0x530 [click]
[ 1988.082961]  [<ffffffffa01c48c5>] ? _ZL11click_schedPv+0x105/0x200 [click]
[ 1988.082993]  [<ffffffff8100ca0a>] ? child_rip+0xa/0x20
[ 1988.083040]  [<ffffffffa01c47c0>] ? _ZL11click_schedPv+0x0/0x200 [click]
[ 1988.083070]  [<ffffffff8100ca00>] ? child_rip+0x0/0x20
[ 1988.083095] Code: 89 ef 48 8b 5c 24 08 48 8b 6c 24 10 48 c7 c6 05 1e 1e a0 48 83 c4 18 e9 13 53 f7 ff 90 66 90 48 83 ec 08 48 83 87 c8 00 00 00 01 <48> c7 42 08 00 00 00 00 48 c7 02 00 00 00 00 48 89 d7 48 83 c4 
[ 1988.083299] RIP  [<ffffffffa018e2bc>] _ZN7Discard4pushEiP6Packet+0xc/0x30 [click]
[ 1988.083370]  RSP <ffff880335711e50>
[ 1988.083823] ---[ end trace 42be1e22b36e2964 ]---


Any ideas what the problem might be? 

Best regards,
  Lothar

--
Lothar Braun
Chair for Network Architectures and Services (I8)
Department of Informatics
Technische Universität München
Boltzmannstr. 3, 85748 Garching bei München, Germany
Phone:  +49 89 289-18010       Fax: +49 89 289-18033
E-mail: braun at net.in.tum.de 









More information about the click mailing list