[LV] The kernel build process & tools any changes .

Mr. James W. Laferriere babydr at baby-dragons.com
Sun Mar 18 23:19:44 CET 2007


 	Hello Jan-Benedict ,

>         I don't know yet linux-kernel base has a bug in it ,  I think ,
> 'asm/mutex.h' reported missing in 'kernel/mutex.c' per below(**) .  My
> linux-2.6.18.3 sources ,  which have been configured & well I'm using that
> kernel now ,  doesn't have that file either .  I'll check that tree's version
> 'kernel/mutex.c' and see if I can backout whatever change started this .
> Tho a quick prayer for me would be nice as I'll need all the help I can get .
>
>         Here's the Killer(*) .  The below is the only place in 'kernel/mutex.c'
> that has that include .  I have not found in any source tree I have a
> link/file/... that is 'asm/mutex.h' .  I do find '$ARCH-asm/mutex.h' files ,
> but none for ARCH=vax even in our vax-linux tree .
>         I do not know where to go from here ,  It is quite outside my abilities
> to decypher .  My kernel(i386) builds just fine & runs with the same definitions
> .
>
> (/*)...
> vax-linux-kernel$ grep -C3 include kernel/mutex.c
>   *
>   * Also see Documentation/mutex-design.txt.
>   */
> #include <linux/mutex.h>
> #include <linux/sched.h>
> #include <linux/module.h>
> #include <linux/spinlock.h>
> #include <linux/interrupt.h>
>
> /*
>   * In the DEBUG case we are using the "NULL fastpath" for mutexes,
>   * which forces all calls into the slowpath:
>   */
> #ifdef CONFIG_DEBUG_MUTEXES
> # include "mutex-debug.h"
> # include <asm-generic/mutex-null.h>
> #else
> # include "mutex.h"
> # include <asm/mutex.h>
> #endif
>
> /***
> ...(*/)

 	I stand corrected my i386 linux-tree does have a link such as :

  root at filesrv1:~ # dir /usr/src/linux-2.6.18.3/include/
total 184
  4 drwxrwxrwx   41 root root  4096 2006-11-18 22:58 ./
  4 drwxrwxrwx   20 root root  4096 2007-01-05 20:01 ../
  4 -rw-rw-rw-    1 root root   161 2006-11-18 19:28 Kbuild
  4 drwxrwxrwx    3 root root  4096 2006-11-18 19:28 acpi/
  0 lrwxrwxrwx    1 root root     8 2006-11-18 22:58 asm -> asm-i386/

 	This brings up the lack of a mutex.[ch] and that for some reason we 
don't create the above link into our 'include/vax-asm' ,  which s/b auto-magic 
as far as we are concerned .  But undoubtedly soem place else needs patching .
 		Hth ,  JimL
-- 
+-----------------------------------------------------------------+
| James   W.   Laferriere | System   Techniques | Give me VMS     |
| Network        Engineer | 663  Beaumont  Blvd |  Give me Linux  |
| babydr at baby-dragons.com | Pacifica, CA. 94044 |   only  on  AXP |
+-----------------------------------------------------------------+
_______________________________________________
Linux-Vax mailing list
Linux-Vax at pergamentum.com
http://www.pergamentum.com/mailman/listinfo/linux-vax




More information about the Vax-linux mailing list