2002-10-29 19:56:39

by Lucio Maciel

[permalink] [raw]
Subject: [PATCH 2.5.44] Pktgen for 2.5.44

Hello...

I have ported (integrated sounds better i think...) pktgen from
2.4.20-rc1 to 2.5.44...

I only need to change current->need_resched to need_resched() in the
source... works fine for me....

I also correct the documentation changing multiskb to clone_skb


best regards
--
::: Lucio F. Maciel
::: [email protected]
::: icq 93065464
::: Absoluta.net


Attachments:
pktgen.diff (41.84 kB)

2002-10-31 10:23:47

by Robert Olsson

[permalink] [raw]
Subject: [PATCH 2.5.44] Pktgen for 2.5.44


> Hello...

> I have ported (integrated sounds better i think...) pktgen from
> 2.4.20-rc1 to 2.5.44...

> I only need to change current->need_resched to need_resched() in the
> source... works fine for me....

> I also correct the documentation changing multiskb to clone_skb
> best regards

Thanks!

There is also work going on with a "threaded" version with one process per CPU
a la ksoftirqd. And to each thread/CPU you can add single or multiple devices.

But this work needs some more time. So your patch should be fine now.

Cheers.
--ro

2002-10-31 10:41:05

by Adriano Galano

[permalink] [raw]
Subject: Kernel bug in 2.4.7-10smp...

Hi:

I'm using RH Linux 7.2 (kernel 2.4.7-10smp) in one Compaq Proliant ML570
with 4 Xeon procesors at 900MHz and one Compaq Smart Array 5300 Controller
with 6x73 GB SCSI disk with ext3 filesystem.

It was working OK, but I have one trouble, description below, and the
computer it's stopped. Could someone help me? How could I fix it?

Oct 20 04:13:24 virtual3 kernel: Unable to handle kernel paging request
at virtual address a5e7ba0b
Oct 20 04:13:24 virtual3 kernel: printing eip:
Oct 20 04:13:24 virtual3 kernel: c0144d00
Oct 20 04:13:24 virtual3 kernel: *pde = 00000000
Oct 20 04:13:24 virtual3 kernel: Oops: 0000
Oct 20 04:13:24 virtual3 kernel: CPU: 0
Oct 20 04:13:24 virtual3 kernel: EIP: 0010:[cdfind+16/48]
Oct 20 04:13:24 virtual3 kernel: EIP: 0010:[]
Oct 20 04:13:24 virtual3 kernel: EFLAGS: 00010287
Oct 20 04:13:24 virtual3 kernel: eax: a5e7b9ff ebx: f5c898c0 ecx:
00004402 edx: c0313630
Oct 20 04:13:24 virtual3 kernel: esi: f5c898c0 edi: 00004402 ebp:
c0313630 esp: d80dbe04
Oct 20 04:13:24 virtual3 kernel: ds: 0018 es: 0018 ss: 0018
Oct 20 04:13:24 virtual3 kernel: Process updatedb (pid: 30973,
stackpage=d80db000)
Oct 20 04:13:24 virtual3 kernel: Stack: c0144d60 00004402 c0313630
000000b0 f5c898c0 f5c898c0 00004402 f6a7dc00
Oct 20 04:13:24 virtual3 kernel: c013d079 00004402 00000000 f88573a3
f5c898c0 00002180 00004402 f67a1de0
Oct 20 04:13:24 virtual3 kernel: f679e354 00000282 00000000 c09aec60
d934ad80 00000002 c0152fbf 00000000
Oct 20 04:13:24 virtual3 kernel: Call Trace: [cdget+64/224]
[init_special_inode+57/192]
[eepro100:__insmod_eepro100_O/lib/modules/2.4.7-10smp/kernel/drivers/+-62166
1/96]
[get_new_inode+79/384] [get_new_inode+227/384]
Oct 20 04:13:24 virtual3 kernel: Call Trace: [] [] [] [] []
Oct 20 04:13:24 virtual3 kernel: [iget4+217/240]
[eepro100:__insmod_eepro100_O/lib/modules/2.4.7-10smp/kernel/drivers/+-61714
4/96]
[real_lookup+115/272] [path_walk+1646/2288] [__user_walk+58/96]
[sys_lstat64+19/112]
Oct 20 04:13:24 virtual3 kernel: [] [] [] [] [] []
Oct 20 04:13:24 virtual3 kernel: [error_code+56/64] [system_call+51/56]
Oct 20 04:13:24 virtual3 kernel: [] []
Oct 20 04:13:24 virtual3 kernel:
Oct 20 04:13:24 virtual3 kernel: Code: 66 39 48 0c 75 0a f0 ff 40 08 c3
90 8d 74 26 00 8b 00 39 d0
Oct 20 15:21:11 virtual3 kernel: <5>ENOMEM in
journal_get_undo_access_Rsmp_b86db3be, retrying.
Oct 20 15:58:12 virtual3 kernel: ENOMEM in
journal_get_undo_access_Rsmp_b86db3be, retrying.
Oct 20 15:59:33 virtual3 kernel: ENOMEM in do_get_write_access,
retrying.
Oct 20 16:09:35 virtual3 kernel: ENOMEM in
journal_get_undo_access_Rsmp_b86db3be, retrying.
Oct 20 17:33:15 virtual3 kernel: ENOMEM in
journal_get_undo_access_Rsmp_b86db3be, retrying.
Oct 20 17:59:53 virtual3 kernel: ENOMEM in
journal_get_undo_access_Rsmp_b86db3be, retrying.
Oct 20 18:28:11 virtual3 kernel: ENOMEM in do_get_write_access,
retrying.
Oct 20 19:02:55 virtual3 kernel: ENOMEM in
journal_get_undo_access_Rsmp_b86db3be, retrying.
Oct 20 20:37:57 virtual3 kernel: ENOMEM in
journal_get_undo_access_Rsmp_b86db3be, retrying.

Best regards,

-Adriano (bryam)
--
Adriano M. Galano Diez
System & Network Engineer
http://www.satec.es
Phone: (+34) 917 089 000
Sourceforge.NET Linux Kernel Foundry Guide http://sf.net/foundry/linuxkernel



2002-10-31 11:27:52

by Alan

[permalink] [raw]
Subject: Re: Kernel bug in 2.4.7-10smp...

On Thu, 2002-10-31 at 10:41, Adriano Galano wrote:
> Hi:
>
> I'm using RH Linux 7.2 (kernel 2.4.7-10smp) in one Compaq Proliant ML570
> with 4 Xeon procesors at 900MHz and one Compaq Smart Array 5300 Controller
> with 6x73 GB SCSI disk with ext3 filesystem.
>
> It was working OK, but I have one trouble, description below, and the
> computer it's stopped. Could someone help me? How could I fix it?

Well you could try one of the kernel updates that Red Hat put out for
this release.

2002-10-31 15:42:03

by Adriano Galano

[permalink] [raw]
Subject: RE: Kernel bug in 2.4.7-10smp...

> On Thu, 2002-10-31 at 10:41, Adriano Galano wrote:
> > Hi:
> >
Hi Alan:

> > I'm using RH Linux 7.2 (kernel 2.4.7-10smp) in one Compaq
> Proliant ML570
> > with 4 Xeon procesors at 900MHz and one Compaq Smart Array
> 5300 Controller
> > with 6x73 GB SCSI disk with ext3 filesystem.
> >
> > It was working OK, but I have one trouble, description
> below, and the
> > computer it's stopped. Could someone help me? How could I fix it?
>
> Well you could try one of the kernel updates that Red Hat put out for
> this release.
>
I don't apply the patches for possible incompatibility with Compaq Remote
Insight Manager card, the drivers of this card are for 2.4.7
(http://www.compaq.com/support/files/server/us/download/15084.html). Now I'm
trying to make one upgrade to 2.4.18 recompiling the drivers source... Why
happen this errors in 2.4.7?

Best regards,

-Adriano (bryam)
--
Adriano M. Galano Diez
System & Network Engineer
http://www.satec.es
Phone: (+34) 917 089 000
Sourceforge.NET Linux Kernel Foundry Guide http://sf.net/foundry/linuxkernel



2002-10-31 16:16:35

by Alan

[permalink] [raw]
Subject: RE: Kernel bug in 2.4.7-10smp...

On Thu, 2002-10-31 at 15:42, Adriano Galano wrote:
> I don't apply the patches for possible incompatibility with Compaq Remote
> Insight Manager card, the drivers of this card are for 2.4.7
> (http://www.compaq.com/support/files/server/us/download/15084.html). Now I'm
> trying to make one upgrade to 2.4.18 recompiling the drivers source... Why
> happen this errors in 2.4.7?

2.4.7 had various bugs that got fixed, like any other software. The old
kernel you are running also has security holes fixed which is a very
good reason to upgrade

2002-11-02 10:31:17

by David Miller

[permalink] [raw]
Subject: Re: [PATCH 2.5.44] Pktgen for 2.5.44


Thanks a lot, I have applied your patch.