lkml.org 
[lkml]   [1998]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: latest 2.1.11* with de4x5 and multiple Tulips


On Tue, 28 Jul 1998, George wrote:

> The de4x5 driver oopsed on me when I did 'rmmod tulip; insmod de4x5;'. The
> Tulip driver had been working just fine but wanted to see how the de4x5
> worked, it didn't. I would've sent an oops report but it wasn't too
> useful, I'll include it below anyway.

[snipped]

> Unable to handle kernel paging request at virtual address 33344544
^^^^^^^^
In ASCII: DE43.

It's a well known problem with constraints in asm-i386/string.h which
do not work with gcc-2.8.x/egcs and basically any compiler past
gcc-2.7.2.x. I started investigating it last November, somebody
later published a patch (look in the archives, I can't from here). This
problem has to be fixed for 2.2 in any case. And AFAIR I can cause
gcc-2.7.2.x to generate bad code on string operation with sufficiently
involved operations.

What you can do in de4x5 is to declare static the arrays which are
initialized with DE4X5_SIGNATURE. It is not the solution to the problem,
only a workaround which happens to generate correct code because it
reduces register pressure.

Gabriel.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.063 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site