[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Some things are broken in 2.6.11 kernel



On Sun, 27 Mar 2005 22:59:44 +0200
Erwann ABALEA <erwann.abalea@certplus.com> wrote:

> I wanted to compile an 'official' 2.6.11 linux kernel (taken from
> www.kernel.org) for a sparc64 machine, and it failed on 2 points:
>  * when configuring for SMP + preemptible kernel, spinlock_t and
>    rwlock_t lack a new member, break_lock. This member is present in
>    the sparc port, but not the sparc64. When adding it, the
>    compilation process tells me somewhere:

Don't enable PREEMPT anyways, it's still very unreliable.  I rarely
run it and I'm the only one maintaining the sparc64 kernel :-)

> kernel/spinlock.c: In function `_read_lock':
> kernel/spinlock.c:250: warning: implicit declaration of function `read_can_lock'
> kernel/spinlock.c: In function `_write_lock':
> kernel/spinlock.c:251: warning: implicit declaration of function `write_can_lock'

I'll try to get to this when I have time.

>  * compilation of the ffb driver fails. A macro named DRM has
>    apparently been removed, but some code still uses it (ffb_context.c
>    at least).

It's going to likely stay broken, as the current sunffb XFree86 driver
doesn't even support DRM any longer, and support is unlikely to ever
be added back.



Reply to: