[devel] Потеря пакетов libpcap и как с этим бороться
Slava Dubrovskiy
slava на tangramltd.com
Вт Мар 2 12:39:18 UTC 2010
18.02.2010 15:00, Alexey Shabalin пишет:
>
>> 1. Собрать дополнительный модуль к ядру
>>
> Первый пункт я сделал :) модуль ядра отправил в сизиф.
>
Не работает у меня. Пробовал на 2 разных железках с ядрами std-def и un-def
При попытке выполнить
[root на dubrhost slava]# modprobe
pf_ring
Убито
И в dmesg при этом:
[ 468.643289] [PF_RING] Welcome to PF_RING 4.1.3 ($Revision: $)
[ 468.643291] (C) 2004-10 L.Deri <deri на ntop.org>
[ 468.643307] [PF_RING] registered /proc/net/pf_ring/
[ 468.643310] NET: Registered protocol family 27
[ 468.643317] [PF_RING] Device lo does NOT support hw filtering [2]
[ 468.643321] [PF_RING] Device eth1 does NOT support hw filtering [2]
[ 468.643324] [PF_RING] Device eth0 does NOT support hw filtering [2]
[ 468.643342] BUG: unable to handle kernel NULL pointer dereference at
0000003c
[ 468.643347] IP: [<f7ec29ce>] add_device_to_ring_list+0xee/0x1c0 [pf_ring]
[ 468.643356] *pde = 00000000
[ 468.643359] Oops: 0000 [#1] PREEMPT SMP
[ 468.643363] last sysfs file: /sys/devices/virtual/dmi/id/bios_vendor
[ 468.643366] Modules linked in: pf_ring(+) binfmt_misc vboxnetadp
vboxnetflt vboxdrv nfsd lockd nfs_acl auth_rpcgss exportfs nvidia(P)
agpgart sunrpc dm_mod snd_hda_codec_realtek snd_hda_intel i2c_nforce2
i2c_core snd_hda_codec ppdev ehci_hcd ohci_hcd usbcore parport_pc
snd_hwdep rtc_cmos processor snd_pcm rtc_core nls_base rtc_lib snd_timer
psmouse pcspkr forcedeth serio_raw snd soundcore snd_page_alloc sr_mod
evdev cdrom asus_atk0110 hwmon sg via_rhine mii parport floppy button
thermal ext3 jbd mbcache ata_generic sata_nv pata_acpi pata_amd libata
sd_mod crc_t10dif scsi_mod
[ 468.643411]
[ 468.643415] Pid: 4726, comm: modprobe Tainted: P
(2.6.32-un-def-alt9 #1) System Product Name
[ 468.643418] EIP: 0060:[<f7ec29ce>] EFLAGS: 00210282 CPU: 1
[ 468.643423] EIP is at add_device_to_ring_list+0xee/0x1c0 [pf_ring]
[ 468.643425] EAX: 00000000 EBX: f14d18ec ECX: 00000000 EDX: f14d18e0
[ 468.643427] ESI: f7ec5a34 EDI: f14d18f4 EBP: f30d7ef4 ESP: f30d7ea4
[ 468.643430] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 468.643433] Process modprobe (pid: 4726, ti=f30d6000 task=f30ba0b0
task.ti=f30d6000)
[ 468.643435] Stack:
[ 468.643437] f7ec5470 f6077000 f67c3800 f14d18e0 00000036 00000001
00000006 00200213
[ 468.643443] <0> 0000000f 00000038 205b60ef 38363420 3334362e 5d303133
00200020 0000000f
[ 468.643450] <0> 0000003a f67c3800 f7ec5a34 f67c3800 f30d7f10 f7ec2b1b
00008124 f14d2740
[ 468.643459] Call Trace:
[ 468.643465] [<f7ec2b1b>] ? ring_notifier+0x7b/0xc0 [pf_ring]
[ 468.643473] [<c128482b>] ? register_netdevice_notifier+0x7b/0x1a0
[ 468.643478] [<f7c7c198>] ? ring_init+0x198/0x275 [pf_ring]
[ 468.643483] [<f7c7c000>] ? ring_init+0x0/0x275 [pf_ring]
[ 468.643487] [<c1001123>] ? do_one_initcall+0x23/0x180
[ 468.643491] [<c106462a>] ? blocking_notifier_call_chain+0x1a/0x20
[ 468.643496] [<c107a342>] ? sys_init_module+0xb2/0x220
[ 468.643500] [<c10f80ed>] ? sys_read+0x3d/0x70
[ 468.643504] [<c1003205>] ? syscall_call+0x7/0xb
[ 468.643506] Code: 04 c6 40 08 00 b8 dc 48 ec f7 e8 ae d5 27 c9 85 c0
74 0d c7 40 38 a0 27 ec f7 8b 55 bc 89 50 34 8b 55 bc 8b 02 8b 80 b8 00
00 00 <8b> 40 3c 85 c0 0f 84 99 00 00 00 c7 45 c0 20 00 01 29 c6 45 c6
[ 468.643541] EIP: [<f7ec29ce>] add_device_to_ring_list+0xee/0x1c0
[pf_ring] SS:ESP 0068:f30d7ea4
[ 468.643547] CR2: 000000000000003c
[ 468.643550] ---[ end trace 33eea07955838053 ]---
--
WBR,
Dubrovskiy Vyacheslav
Подробная информация о списке рассылки Devel