All of lore.kernel.org
 help / color / mirror / Atom feed
* StackPages errors (CALLTRACE)
@ 2002-07-05  6:06 Pablo Fischer
  2002-07-05  9:24 ` Gabriel Paubert
  0 siblings, 1 reply; 10+ messages in thread
From: Pablo Fischer @ 2002-07-05  6:06 UTC (permalink / raw)
  To: linux-kernel

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




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

* Re: StackPages errors (CALLTRACE)
  2002-07-05  6:06 StackPages errors (CALLTRACE) Pablo Fischer
@ 2002-07-05  9:24 ` Gabriel Paubert
  2002-07-05 16:47   ` Pablo Fischer
  0 siblings, 1 reply; 10+ messages in thread
From: Gabriel Paubert @ 2002-07-05  9:24 UTC (permalink / raw)
  To: Pablo Fischer, linux-kernel

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.



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

* RE: StackPages errors (CALLTRACE)
  2002-07-05  9:24 ` Gabriel Paubert
@ 2002-07-05 16:47   ` Pablo Fischer
  2002-07-05 20:00     ` Diego Calleja
  2002-07-05 21:21     ` Alan Cox
  0 siblings, 2 replies; 10+ messages in thread
From: Pablo Fischer @ 2002-07-05 16:47 UTC (permalink / raw)
  To: Gabriel Paubert, linux-kernel

>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.




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

* RE: StackPages errors (CALLTRACE)
       [not found] <Pine.LNX.4.33.0207051154160.14284-100000@coffee.psychology.mcmaster.ca>
@ 2002-07-05 17:06 ` Pablo Fischer
  2002-07-05 17:43   ` Thunder from the hill
  0 siblings, 1 reply; 10+ messages in thread
From: Pablo Fischer @ 2002-07-05 17:06 UTC (permalink / raw)
  To: Mark Hahn, Pablo Fischer; +Cc: linux-kernel

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 majordomo@vger.kernel.org
> 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.	            hahn@mcmaster.ca
                                              http://hahn.mcmaster.ca/~hahn



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

* RE: StackPages errors (CALLTRACE)
  2002-07-05 17:06 ` Pablo Fischer
@ 2002-07-05 17:43   ` Thunder from the hill
  2002-07-05 19:50     ` John Alvord
  0 siblings, 1 reply; 10+ messages in thread
From: Thunder from the hill @ 2002-07-05 17:43 UTC (permalink / raw)
  To: Pablo Fischer; +Cc: Mark Hahn, linux-kernel

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------


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

* Re: StackPages errors (CALLTRACE)
  2002-07-05 17:43   ` Thunder from the hill
@ 2002-07-05 19:50     ` John Alvord
  2002-07-05 21:12       ` Alan Cox
  0 siblings, 1 reply; 10+ messages in thread
From: John Alvord @ 2002-07-05 19:50 UTC (permalink / raw)
  To: Thunder from the hill; +Cc: Pablo Fischer, Mark Hahn, linux-kernel

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
<thunder@ngforever.de> 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


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

* Re: StackPages errors (CALLTRACE)
  2002-07-05 16:47   ` Pablo Fischer
@ 2002-07-05 20:00     ` Diego Calleja
  2002-07-05 21:21     ` Alan Cox
  1 sibling, 0 replies; 10+ messages in thread
From: Diego Calleja @ 2002-07-05 20:00 UTC (permalink / raw)
  To: Pablo Fischer; +Cc: paubert, linux-kernel

On Fri, 5 Jul 2002 10:47:50 -0600
"Pablo Fischer" <exilion@yifan.net> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

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

* Re: StackPages errors (CALLTRACE)
  2002-07-05 19:50     ` John Alvord
@ 2002-07-05 21:12       ` Alan Cox
  2002-07-09  3:03         ` Pavel Machek
  0 siblings, 1 reply; 10+ messages in thread
From: Alan Cox @ 2002-07-05 21:12 UTC (permalink / raw)
  To: John Alvord; +Cc: Thunder from the hill, Pablo Fischer, Mark Hahn, linux-kernel

> 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

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

* Re: StackPages errors (CALLTRACE)
  2002-07-05 16:47   ` Pablo Fischer
  2002-07-05 20:00     ` Diego Calleja
@ 2002-07-05 21:21     ` Alan Cox
  1 sibling, 0 replies; 10+ messages in thread
From: Alan Cox @ 2002-07-05 21:21 UTC (permalink / raw)
  To: Pablo Fischer; +Cc: Gabriel Paubert, linux-kernel

> >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

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

* Re: StackPages errors (CALLTRACE)
  2002-07-05 21:12       ` Alan Cox
@ 2002-07-09  3:03         ` Pavel Machek
  0 siblings, 0 replies; 10+ messages in thread
From: Pavel Machek @ 2002-07-09  3:03 UTC (permalink / raw)
  To: Alan Cox
  Cc: John Alvord, Thunder from the hill, Pablo Fischer, Mark Hahn,
	linux-kernel

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?

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

end of thread, other threads:[~2002-07-09 13:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-05  6:06 StackPages errors (CALLTRACE) Pablo Fischer
2002-07-05  9:24 ` Gabriel Paubert
2002-07-05 16:47   ` Pablo Fischer
2002-07-05 20:00     ` Diego Calleja
2002-07-05 21:21     ` Alan Cox
     [not found] <Pine.LNX.4.33.0207051154160.14284-100000@coffee.psychology.mcmaster.ca>
2002-07-05 17:06 ` Pablo Fischer
2002-07-05 17:43   ` Thunder from the hill
2002-07-05 19:50     ` John Alvord
2002-07-05 21:12       ` Alan Cox
2002-07-09  3:03         ` Pavel Machek

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.