2002-07-05 06:02:47

by Pablo Fischer

[permalink] [raw]
Subject: StackPages errors (CALLTRACE)

Hi..

I have MDK 8.2 and I get this error with: MDK 8.2, RH 7.2, RH 7.3.. but
just with ONE COMPUTER, the other computers works fine.

Ok.. I have a SpeedTouch, but to get it work I need to

1) modprobe the module
2) Then.. call the speedmgmt (a binary)

When I call the speedmgmt, I get:


Process speedmgmt (pid: 1748, stackpage=c1827000)
Stack: c0263a10 c1040000 c0263a4c 00000212 00000000 00000000 c4c10f60
c4d79c9e
c11e4e60 00000001 00000000 00000000 00000001 00000001 00000000 bffff752
c3430460 fffffdfd c398cde0 c0312ae0 c4d79f97 c3430460 bffff758 bffff758
Call Trace:
[af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pac+-1548448/96] [af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pac+-70498/96] [af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pac+-69737/96] [file_ioctl+340/368] [sys_ioctl+546/608]
Call Trace: [<c4c10f60>] [<c4d79c9e>] [<c4d79f97>] [<c01413b4>]
[<c01415f2>]
[system_call+51/64]
[<c0106f23>]
Code: 0f 44 c2 8b 57 04 0d 80 00 00 c0 89 42 18 8b 07 8b 57 04 8b

Why I get that error?

I have a Compaq (AMD K6 - 500mhz) and 64 of Memory.

Paul fischer




2002-07-05 09:22:20

by Gabriel Paubert

[permalink] [raw]
Subject: Re: StackPages errors (CALLTRACE)

Pablo Fischer wrote:
> Hi..
>
> I have MDK 8.2 and I get this error with: MDK 8.2, RH 7.2, RH 7.3.. but
> just with ONE COMPUTER, the other computers works fine.
>
> Ok.. I have a SpeedTouch, but to get it work I need to
>
> 1) modprobe the module
> 2) Then.. call the speedmgmt (a binary)
>
> When I call the speedmgmt, I get:
>
>
> Process speedmgmt (pid: 1748, stackpage=c1827000)
> Stack: c0263a10 c1040000 c0263a4c 00000212 00000000 00000000 c4c10f60
> c4d79c9e
> c11e4e60 00000001 00000000 00000000 00000001 00000001 00000000 bffff752
> c3430460 fffffdfd c398cde0 c0312ae0 c4d79f97 c3430460 bffff758 bffff758
> Call Trace:
> [af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pac+-1548448/96] [af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pac+-70498/96] [af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pac+-69737/96] [file_ioctl+340/368] [sys_ioctl+546/608]
> Call Trace: [<c4c10f60>] [<c4d79c9e>] [<c4d79f97>] [<c01413b4>]
> [<c01415f2>]
> [system_call+51/64]
> [<c0106f23>]
> Code: 0f 44 c2 8b 57 04 0d 80 00 00 c0 89 42 18 8b 07 8b 57 04 8b
>
> Why I get that error?

Because you are trying to execute a CMOV (0f 4x) instruction. The module
you are loading is compiled for PPro or higher.

>
> I have a Compaq (AMD K6 - 500mhz) and 64 of Memory.

Hence no CMOV support (cat /proc/cpuinfo).

Gabriel.


2002-07-05 15:43:41

by Pablo Fischer

[permalink] [raw]
Subject: RE: StackPages errors (CALLTRACE)

>Because you are trying to execute a CMOV (0f 4x) instruction. The module
>you are loading is compiled for PPro or higher.

1) Whats that? the CMMOV?..
2) Could I fix it with the kernel?.. YES, how?. Please Im newbie and I would
like to fix it.
3) If the fix its in the kernel, at what menu is it?.

Thanks.


Pablo Fischer wrote:
> Hi..
>
> I have MDK 8.2 and I get this error with: MDK 8.2, RH 7.2, RH 7.3.. but
> just with ONE COMPUTER, the other computers works fine.
>
> Ok.. I have a SpeedTouch, but to get it work I need to
>
> 1) modprobe the module
> 2) Then.. call the speedmgmt (a binary)
>
> When I call the speedmgmt, I get:
>
>
> Process speedmgmt (pid: 1748, stackpage=c1827000)
> Stack: c0263a10 c1040000 c0263a4c 00000212 00000000 00000000 c4c10f60
> c4d79c9e
> c11e4e60 00000001 00000000 00000000 00000001 00000001 00000000 bffff752
> c3430460 fffffdfd c398cde0 c0312ae0 c4d79f97 c3430460 bffff758 bffff758
> Call Trace:
>
[af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pac+-1548
448/96]
[af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pac+-7049
8/96]
[af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pac+-6973
7/96] [file_ioctl+340/368] [sys_ioctl+546/608]
> Call Trace: [<c4c10f60>] [<c4d79c9e>] [<c4d79f97>] [<c01413b4>]
> [<c01415f2>]
> [system_call+51/64]
> [<c0106f23>]
> Code: 0f 44 c2 8b 57 04 0d 80 00 00 c0 89 42 18 8b 07 8b 57 04 8b
>
> Why I get that error?

Because you are trying to execute a CMOV (0f 4x) instruction. The module
you are loading is compiled for PPro or higher.

>
> I have a Compaq (AMD K6 - 500mhz) and 64 of Memory.

Hence no CMOV support (cat /proc/cpuinfo).

Gabriel.



2002-07-05 16:02:10

by Pablo Fischer

[permalink] [raw]
Subject: RE: StackPages errors (CALLTRACE)

Ohh.. ok..

So.

1) Its more a HW problem? (a PRocessor problem?) I have AMD K6

2) So.. you are telling me that I cant solve it? :(, only if I change the
proccessor to a Pentium?..

Paul Fischer.


>>>

> >Because you are trying to execute a CMOV (0f 4x) instruction. The module
> >you are loading is compiled for PPro or higher.
>
> 1) Whats that? the CMMOV?..

it's an instruction, "conditional move", which appeared first
in the Intel P6, and is not supported by your processor.

> 2) Could I fix it with the kernel?.. YES, how?. Please Im newbie and I
would
> like to fix it.

no, it's not a kernel issue. the problem is the binary module
you are trying to use: whoever compiled it chose compiler flags
that make it impossible to use on your CPU (any CPU which lacks
cmov, such as all pentium's (P5), K6, etc. athlons, though,
have cmov.)

> 3) If the fix its in the kernel, at what menu is it?.

none. strictly a problem with the module.


>
> Thanks.
>
>
> Pablo Fischer wrote:
> > Hi..
> >
> > I have MDK 8.2 and I get this error with: MDK 8.2, RH 7.2, RH 7.3.. but
> > just with ONE COMPUTER, the other computers works fine.
> >
> > Ok.. I have a SpeedTouch, but to get it work I need to
> >
> > 1) modprobe the module
> > 2) Then.. call the speedmgmt (a binary)
> >
> > When I call the speedmgmt, I get:
> >
> >
> > Process speedmgmt (pid: 1748, stackpage=c1827000)
> > Stack: c0263a10 c1040000 c0263a4c 00000212 00000000 00000000 c4c10f60
> > c4d79c9e
> > c11e4e60 00000001 00000000 00000000 00000001 00000001 00000000 bffff752
> > c3430460 fffffdfd c398cde0 c0312ae0 c4d79f97 c3430460 bffff758 bffff758
> > Call Trace:
> >
>
[af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pac+-1548
> 448/96]
>
[af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pac+-7049
> 8/96]
>
[af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pac+-6973
> 7/96] [file_ioctl+340/368] [sys_ioctl+546/608]
> > Call Trace: [<c4c10f60>] [<c4d79c9e>] [<c4d79f97>] [<c01413b4>]
> > [<c01415f2>]
> > [system_call+51/64]
> > [<c0106f23>]
> > Code: 0f 44 c2 8b 57 04 0d 80 00 00 c0 89 42 18 8b 07 8b 57 04 8b
> >
> > Why I get that error?
>
> Because you are trying to execute a CMOV (0f 4x) instruction. The module
> you are loading is compiled for PPro or higher.
>
> >
> > I have a Compaq (AMD K6 - 500mhz) and 64 of Memory.
>
> Hence no CMOV support (cat /proc/cpuinfo).
>
> Gabriel.
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

--
operator may differ from spokesperson. [email protected]
http://hahn.mcmaster.ca/~hahn


2002-07-05 17:41:21

by Thunder from the hill

[permalink] [raw]
Subject: RE: StackPages errors (CALLTRACE)

Hi,

On Fri, 5 Jul 2002, Pablo Fischer wrote:
> 1) Its more a HW problem? (a PRocessor problem?) I have AMD K6
>
> 2) So.. you are telling me that I cant solve it? :(, only if I change the
> proccessor to a Pentium?..

It's a problem with the module code. It should be sufficient to replace
cmov with something that can execute on < P6. That means, hand-checking,
depending on !CONFIG_MPENTIUM4.

Regards,
Thunder
--
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o? K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y-
------END GEEK CODE BLOCK------

2002-07-05 19:48:49

by John Alvord

[permalink] [raw]
Subject: Re: StackPages errors (CALLTRACE)

There has also been a patch on L-K which implments CMOV on prior-PPro
processors. john

On Fri, 5 Jul 2002 11:43:34 -0600 (MDT), Thunder from the hill
<[email protected]> wrote:

>Hi,
>
>On Fri, 5 Jul 2002, Pablo Fischer wrote:
>> 1) Its more a HW problem? (a PRocessor problem?) I have AMD K6
>>
>> 2) So.. you are telling me that I cant solve it? :(, only if I change the
>> proccessor to a Pentium?..
>
>It's a problem with the module code. It should be sufficient to replace
>cmov with something that can execute on < P6. That means, hand-checking,
>depending on !CONFIG_MPENTIUM4.
>
> Regards,
> Thunder

2002-07-05 19:56:43

by Diego Calleja

[permalink] [raw]
Subject: Re: StackPages errors (CALLTRACE)

On Fri, 5 Jul 2002 10:47:50 -0600
"Pablo Fischer" <[email protected]> escribi?:

> >Because you are trying to execute a CMOV (0f 4x) instruction. The
> >module you are loading is compiled for PPro or higher.
>
> 1) Whats that? the CMMOV?..
> 2) Could I fix it with the kernel?.. YES, how?. Please Im newbie and I
> would like to fix it.
> 3) If the fix its in the kernel, at what menu is it?.
It seems that you have to recompile the module for yor processor, or if
you want you can use the cmov emulation (and others) patch that has benn
submited a few days ago by Willy Tarreau.

>
> Thanks.
>
>
> Pablo Fischer wrote:
> > Hi..
> >
> > I have MDK 8.2 and I get this error with: MDK 8.2, RH 7.2, RH 7.3..
> > but just with ONE COMPUTER, the other computers works fine.
> >
> > Ok.. I have a SpeedTouch, but to get it work I need to
> >
> > 1) modprobe the module
> > 2) Then.. call the speedmgmt (a binary)
> >
> > When I call the speedmgmt, I get:
> >
> >
> > Process speedmgmt (pid: 1748, stackpage=c1827000)
> > Stack: c0263a10 c1040000 c0263a4c 00000212 00000000 00000000
> > c4c10f60 c4d79c9e
> > c11e4e60 00000001 00000000 00000000 00000001 00000001 00000000
> > bffff752 c3430460 fffffdfd c398cde0 c0312ae0 c4d79f97 c3430460
> > bffff758 bffff758 Call Trace:
> >
> [af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pa
> c+-1548 448/96]
> [af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pa
> c+-7049 8/96]
> [af_packet:__insmod_af_packet_O/lib/modules/2.4.18-6mdk/kernel/net/pa
> c+-6973 7/96] [file_ioctl+340/368] [sys_ioctl+546/608]
> > Call Trace: [<c4c10f60>] [<c4d79c9e>] [<c4d79f97>] [<c01413b4>]
> > [<c01415f2>]
> > [system_call+51/64]
> > [<c0106f23>]
> > Code: 0f 44 c2 8b 57 04 0d 80 00 00 c0 89 42 18 8b 07 8b 57 04 8b
> >
> > Why I get that error?
>
> Because you are trying to execute a CMOV (0f 4x) instruction. The
> module you are loading is compiled for PPro or higher.
>
> >
> > I have a Compaq (AMD K6 - 500mhz) and 64 of Memory.
>
> Hence no CMOV support (cat /proc/cpuinfo).
>
> Gabriel.
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2002-07-05 20:46:34

by Alan

[permalink] [raw]
Subject: Re: StackPages errors (CALLTRACE)

> There has also been a patch on L-K which implments CMOV on prior-PPro
> processors. john

It has a hideous overhead. Just dont use cmov blindly in kernels. The kernel
stuff will take care not to let the compiler stick cmov instructions into
a non ppro+ kernel

2002-07-05 20:56:02

by Alan

[permalink] [raw]
Subject: Re: StackPages errors (CALLTRACE)

> >you are loading is compiled for PPro or higher.
>
> 1) Whats that? the CMMOV?..
> 2) Could I fix it with the kernel?.. YES, how?. Please Im newbie and I would
> like to fix it.

The module you have is faulty. Get the open source replacement stuff for the alcatel
code and it might actually work

2002-07-09 13:11:13

by Pavel Machek

[permalink] [raw]
Subject: Re: StackPages errors (CALLTRACE)

Hi!

> > There has also been a patch on L-K which implments CMOV on prior-PPro
> > processors. john
>
> It has a hideous overhead. Just dont use cmov blindly in kernels. The kernel
> stuff will take care not to let the compiler stick cmov instructions into
> a non ppro+ kernel

Not only nasty overhead but potential nasty implications. You get
exception where you'd normaly get simple instruction. Do NOT use cmov
emulation for kernel.
Pavel
--
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?