|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Finally build 2.6.26 that works2.6.26.5 with the rt9 real-time patch. No problems with the IDE1 line this
time around (previous ones killed DMA, 32-bit access, etc, a rendered the disk temporary unreadable to BIOS!! on reboot). Now to try to use the thing. Build kqemu, vboxdrv, squashfs, no sweat. Nvidia .... always a problem, it seems. Neither nvidia's nor debian's legacy driver (for mx400 cards) will compile. Debian's (where I had the sources and could play a bit) complains about an implicit definition of __SEMAPHORE_INITIALIZER. This is inside a #define that stuffs a mutex structure. I tried breaking this into a function and a #define but the constant is the problem, not how it was being used. Any ideas? Two more caveats: The patch does not append -rt to the kernel name (.config indicates the patch was indeed applied OK). Not very important. Got this on bootup: Sep 19 09:39:46 d_baron kernel: warning: `proftpd' uses 32-bit capabilities (legacy support in use) This could be important! The current kernel did not kill 32-bit access(??). Any ideas? _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
|
|
|
Re: Finally build 2.6.26 that worksOn Saturday 20 September 2008 01:43:27 Norval Watson wrote:
> "Nvidia .... always a problem, it seems. Neither nvidia's nor debian's > legacy driver (for mx400 cards) will compile. Debian's (where I had the > sources and could play a bit) complains about an implicit definition of > __SEMAPHORE_INITIALIZER. This is inside a #define that stuffs a mutex > structure. I tried breaking this into a function and a #define but the > constant is the problem, not how it was being used. > > Any ideas?" > > Fortunately, it's not too difficult to work around. > > Code: > apt-get update;apt-get install nvidia-kernel-source > sed -i '/__SEMAPHORE_INITIALIZER/ > s/__SEMAPHORE_INITIALIZER/__COMPAT_SEMAPHORE_INITIALIZER/' > /usr/src/modules/nvidia-kernel/nv-linux.h > sed -i '/struct semaphore/ s/struct semaphore/struct compat_semaphore/' > /usr/src/modules/nvidia-kernel/nv-linux.h See this page, down the bottom.. > http://forums.debian.net/viewtopic.php?t=17035&postdays=0&postorder=asc&sta >rt=60&sid=8e4f00faf126a981e2c5f98bd9db18bb Hope this helps > Norv Thanks! Worked like a charm. I was looking at sema_init functions and such but that did not work. Incorporating actual code in #defines is not my favorite practice :-) Now if I could figure out what ails the IDE ... _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
| Free embeddable forum powered by Nabble | Forum Help |