[PlanetCCRMA] a step further (Planet CCRMA on HP dv9500t CTO)

Matt Barber brbrofsvl at gmail.com
Fri Apr 18 16:04:25 PDT 2008


Hello,

The best way to get Nvidia drivers to work with PlanetCCRMA's kernel
is to rebuild the livna source rpm.  You'll need kernel-devel...  You
will have to download the livna package from:

http://livna-dl.reloumirrors.net/fedora/8/SRPMS/

Install it, and then edit the spec file in /usr/src/redhat/SPECS so
that the kernel name matches your target ccrma kernel (the output of
uname -r if you are running the kernel you want to rebuild for).
You'll also need to get rid of references at the beginning of the spec
file for every type of kernel and processor besides "up" (I think this
is right -- I don't have a linux machine in front of me currently, and
I'm working on memory).  This means getting rid of references to pae,
xen, ppc, etc. from a line of spec script -- I usually get rid of them
in the initial defines as well, just so there's no expectation of
reference to them in the rest of the script.

When you're done, you can

rpmbuild -ba --target i686 nvidia.spec

(or whatever the spec file is called -- and this assumes you're not
running x86_64)

If this goes through to the end without throwing an error, you can
install (the output of the build process will be displayed in your
shell -- you'll build a .src.rpm, a debug rpm (I think) and a plain
rpm -- install the plain rpm).

You can do the same process with livna's madwifi package for atheros
wireless drivers.  You used to be able to do it with the ATI driver,
too, but I haven't tried in a while -- it was broken last I tried,
since apparently there are things in the ccrma kernel which won't let
you compile or load certain proprietary drivers.


Hope this helps, and I hope I didn't screw up something in my recollection.

Matt

> Date: Fri, 18 Apr 2008 14:47:22 -0700 (PDT)
> From: Nexxus Six <nexxusix at yahoo.com>
> Subject: [PlanetCCRMA] a step further (Planet CCRMA on HP dv9500t CTO)
> To: planetccrma at ccrma.Stanford.EDU
> Message-ID: <512609.78469.qm at web53507.mail.re2.yahoo.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi all,
> I am a lot closer now to getting Planet CCRMA installed on my laptop.
>
> I finally got the nVidia drivers working, and after nearly a week of trying everything, got the wireless to work today!!! =]
>
> My next step of course is to get Planet CCRMA installed. I tried (temporarily, just to see if it would work) to install the rt low-latency kernel, which worked, but wouldnt allow the nVidia drivers to work properly. The applications worked fine (ZynAddSubFX, Hydrogen, Jack).
>
> I then tried to reinstall the nVidia drivers, but the script was complaining about not finding a matching kernel. Could this be because I dont have the Planet CCRMA kernel (Fedora 8) - devel version of the kernel?
>
> One other problem: Seq24 seems to crash very easily, and dumps the registers out on my terminal... it doesnt make a difference if I'm running my 2.64 "stock" version of Fedora 8's kernel or Planet CCRMA's rt low-latency kernel. Perhaps I am missing a library??? Here is the (rather lengthy... sorry...) output from the terminal. This happens when I right-click the first cell, and click the option "New" for a new sequence... BTW, this if from Fedora's kernel, not Planet CCRMA's, Jack not enabled (though it appears it has somehow called it???) Look for: *** buffer overflow detected ***: seq24 terminated  Thats right where it crashes for me...
>
>  Any help or suggestions appreciated... Thanks in advance!!! =]
>
> Cheers,
> NexxuSix
>
> ***** Output from terminal *****
>
> [nexxusix at localhost ~]$ seq24
> lash_open_socket: could not connect to host 'localhost', service '14541'
> lash_comm_connect_to_server: could not create server connection
> JACK tmpdir identified as [/dev/shm]
> jackd 0.103.0
> Copyright 2001-2005 Paul Davis and others.
> jackd comes with ABSOLUTELY NO WARRANTY
> This is free software, and you are welcome to redistribute it
> under certain conditions; see the file COPYING for details
>
> JACK compiled with System V SHM support.
> loading driver ..
> apparent rate = 48000
> creating alsa driver ... hw:0|hw:0|4096|2|48000|0|0|nomon|swmeter|-|32bit
> control device hw:0
> configuring for 48000Hz, period = 4096 frames, buffer = 2 periods
> ALSA: final selected sample format for capture: 32bit little-endian
> ALSA: use 2 periods for capture
> ALSA: final selected sample format for playback: 32bit little-endian
> ALSA: use 2 periods for playback
>
>
> **** alsa_pcm: xrun of at least 0.035 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.034 msecs
>
> lash_open_socket: could not connect to host 'localhost', service '14541'
> lash_comm_connect_to_server: could not create server connection
> Connected to JACK server with client name 'LASH_Server'
> Opened ALSA sequencer with client ID 128
> Listening for connections
>
>
> **** alsa_pcm: xrun of at least 0.055 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.032 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.030 msecs
>
> Created project project-1 in directory /home/nexxusix/audio-projects/project-1
> Added client dd2b6190-df72-41fc-ab10-159b1b745d64 of class  to project project-1
> [Connected to LASH]
> Client dd2b6190-df72-41fc-ab10-159b1b745d64 set its name to 'Seq24'
> Reading [/home/nexxusix/.seq24rc]
> Error Reading [/home/nexxusix/.seq24rc]
> Reading [/home/nexxusix/.seq24usr]
> Error Reading [/home/nexxusix/.seq24usr]
>
>
> **** alsa_pcm: xrun of at least 0.037 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.029 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.060 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.036 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.035 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.038 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.028 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.059 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.034 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.038 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.042 msecs
>
> *** buffer overflow detected ***: seq24 terminated
> ======= Backtrace: =========
> /lib/libc.so.6(__fortify_fail+0x48)[0x283b58]
> /lib/libc.so.6[0x282200]
> /lib/libc.so.6[0x281918]
> /lib/libc.so.6(_IO_default_xsputn+0xcd)[0x1ffe8d]
> /lib/libc.so.6(_IO_vfprintf+0x8ef)[0x1d6fcf]
> /lib/libc.so.6(__vsprintf_chk+0xad)[0x2819cd]
> /lib/libc.so.6(__sprintf_chk+0x30)[0x281900]
> seq24[0x80558ff]
> /usr/lib/libgtkmm-2.4.so.1(_ZN3Gtk12Widget_Class16realize_callbackEP10_GtkWidget+0x92)[0x4dcdc12]
> /lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xc77409]
> /lib/libgobject-2.0.so.0[0xc68779]
> /lib/libgobject-2.0.so.0(g_closure_invoke+0x123)[0xc69f83]
> /lib/libgobject-2.0.so.0[0xc7a91a]
> /lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xc7b997]
> /lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xc7bb59]
> /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_realize+0x1ee)[0x4a3dee2]
> /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_map+0x166)[0x4a3da5f]
> /usr/lib/libgtk-x11-2.0.so.0[0x47eb1b1]
> /usr/lib/libgtk-x11-2.0.so.0[0x496b623]
> /usr/lib/libgtkmm-2.4.so.1(_ZN3Gtk15Container_Class21forall_vfunc_callbackEP13_GtkContaineriPFvP10_GtkWidgetPvES5_+0x69)[0x4d207b9]
> /usr/lib/libgtk-x11-2.0.so.0(gtk_container_forall+0xea)[0x47e8a27]
> /usr/lib/libgtk-x11-2.0.so.0[0x47eb217]
> /usr/lib/libgtkmm-2.4.so.1(_ZN3Gtk12Widget_Class12map_callbackEP10_GtkWidget+0x52)[0x4dcdd32]
> /lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xc77409]
> /lib/libgobject-2.0.so.0[0xc68779]
> /lib/libgobject-2.0.so.0(g_closure_invoke+0x20c)[0xc6a06c]
> /lib/libgobject-2.0.so.0[0xc7a91a]
> /lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xc7b997]
> /lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xc7bb59]
> /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_map+0x183)[0x4a3da7c]
> /usr/lib/libgtk-x11-2.0.so.0[0x47eb1b1]
> /usr/lib/libgtk-x11-2.0.so.0[0x478d772]
> /usr/lib/libgtkmm-2.4.so.1(_ZN3Gtk15Container_Class21forall_vfunc_callbackEP13_GtkContaineriPFvP10_GtkWidgetPvES5_+0x69)[0x4d207b9]
> /usr/lib/libgtk-x11-2.0.so.0(gtk_container_forall+0xea)[0x47e8a27]
> /usr/lib/libgtk-x11-2.0.so.0[0x47eb217]
> /usr/lib/libgtkmm-2.4.so.1(_ZN3Gtk12Widget_Class12map_callbackEP10_GtkWidget+0x52)[0x4dcdd32]
> /lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xc77409]
> /lib/libgobject-2.0.so.0[0xc68779]
> /lib/libgobject-2.0.so.0(g_closure_invoke+0x20c)[0xc6a06c]
> /lib/libgobject-2.0.so.0[0xc7a91a]
> /lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xc7b997]
> /lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xc7bb59]
> /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_map+0x183)[0x4a3da7c]
> /usr/lib/libgtk-x11-2.0.so.0[0x4a53e3d]
> /usr/lib/libgtkmm-2.4.so.1(_ZN3Gtk6Widget6on_mapEv+0x46)[0x4dd0066]
> /usr/lib/libgtkmm-2.4.so.1(_ZN3Gtk12Widget_Class12map_callbackEP10_GtkWidget+0x92)[0x4dcdd72]
> /lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xc77409]
> /lib/libgobject-2.0.so.0[0xc68779]
> /lib/libgobject-2.0.so.0(g_closure_invoke+0x123)[0xc69f83]
> /lib/libgobject-2.0.so.0[0xc7a91a]
> /lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xc7b997]
> /lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xc7bb59]
> /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_map+0x183)[0x4a3da7c]
> /usr/lib/libgtk-x11-2.0.so.0[0x4a53c7c]
> /usr/lib/libgtkmm-2.4.so.1(_ZN3Gtk6Widget7on_showEv+0x46)[0x4dd0106]
> /usr/lib/libgtkmm-2.4.so.1(_ZN3Gtk12Widget_Class13show_callbackEP10_GtkWidget+0x92)[0x4dcded2]
> /lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xc77409]
> /lib/libgobject-2.0.so.0[0xc68779]
> /lib/libgobject-2.0.so.0(g_closure_invoke+0x123)[0xc69f83]
> /lib/libgobject-2.0.so.0[0xc7a91a]
> /lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xc7b997]
> /lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xc7bb59]
> /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_show+0xfc)[0x4a3d214]
> ======= Memory map: ========
> 00101000-00103000 r-xp 00000000 08:03 3521204    /usr/lib/libXcomposite.so.1.0.0
> 00103000-00104000 rwxp 00001000 08:03 3521204    /usr/lib/libXcomposite.so.1.0.0
> 00110000-00111000 r-xp 00110000 00:00 0          [vdso]
> 00111000-0011c000 r-xp 00000000 08:03 3519977    /usr/lib/liblash.so.1.1.1
> 0011c000-0011d000 rwxp 0000a000 08:03 3519977    /usr/lib/liblash.so.1.1.1
> 0011d000-00120000 r-xp 00000000 08:03 3351607    /lib/libuuid.so.1.2
> 00120000-00121000 rwxp 00002000 08:03 3351607    /lib/libuuid.so.1.2
> 00121000-00151000 r-xp 00000000 08:03 3353448    /lib/libreadline.so.5.2
> 00151000-00155000 rwxp 00030000 08:03 3353448    /lib/libreadline.so.5.2
> 00155000-00156000 rwxp 00155000 00:00 0
> 00156000-00160000 r-xp 00000000 08:03 3348780    /lib/libnss_files-2.7.so
> 00160000-00161000 r-xp 00009000 08:03 3348780    /lib/libnss_files-2.7.so
> 00161000-00162000 rwxp 0000a000 08:03 3348780    /lib/libnss_files-2.7.so
> 00162000-00172000 r-xp 00000000 08:03 41319      /usr/lib/gtk-2.0/2.10.0/engines/libnodoka.so
> 00172000-00173000 rwxp 0000f000 08:03 41319      /usr/lib/gtk-2.0/2.10.0/engines/libnodoka.so
> 00173000-00179000 r-xp 00000000 08:03 33031      /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
> 00179000-0017a000 rwxp 00005000 08:03 33031      /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
> 0017b000-00196000 r-xp 00000000 08:03 3348938    /lib/ld-2.7.so
> 00196000-00197000 r-xp 0001a000 08:03 3348938    /lib/ld-2.7.so
> 00197000-00198000 rwxp 0001b000 08:03 3348938    /lib/ld-2.7.so
> 0019a000-002ed000 r-xp 00000000 08:03 3348948    /lib/libc-2.7.so
> 002ed000-002ef000 r-xp 00153000 08:03 3348948    /lib/libc-2.7.so
> 002ef000-002f0000 rwxp 00155000 08:03 3348948    /lib/libc-2.7.so
> 002f0000-002f3000 rwxp 002f0000 00:00 0
> 002f5000-0031c000 r-xp 00000000 08:03 3351609    /lib/libm-2.7.so
> 0031c000-0031d000 r-xp 00026000 08:03 3351609    /lib/libm-2.7.so
> 0031d000-0031e000 rwxp 00027000 08:03 3351609    /lib/libm-2.7.so
> 00320000-00323000 r-xp 00000000 08:03 3348857    /lib/libdl-2.7.so
> 00323000-00324000 r-xp 00002000 08:03 3348857    /lib/libdl-2.7.so
> 00324000-00325000 rwxp 00003000 08:03 3348857    /lib/libdl-2.7.so
> 00327000-0033c000 r-xp 00000000 08:03 3353429    /lib/libpthread-2.7.so
> 0033c000-0033d000 r-xp 00014000 08:03 3353429    /lib/libpthread-2.7.so
> 0033d000-0033e000 rwxp 00015000 08:03 3353429    /lib/libpthread-2.7.so
> 0033e000-00340000 rwxp 0033e000 00:00 0
> 00342000-00354000 r-xp 00000000 08:03 3351610    /lib/libz.so.1.2.3
> 00354000-00355000 rwxp 00011000 08:03 3351610    /lib/libz.so.1.2.3
> 00357000-00359000 r-xp 00000000 08:03 3515309    /usr/lib/libXau.so.6.0.0
> 00359000-0035a000 rwxp 00001000 08:03 3515309    /usr/lib/libXau.so.6.0.0
> 0035c000-0035d000 r-xp 00000000 08:03 3518906    /usr/lib/libxcb-xlib.so.0.0.0
> 0035d000-0035e000 rwxp 00000000 08:03 3518906    /usr/lib/libxcb-xlib.so.0.0.0
> 00360000-00365000 r-xp 00000000 08:03 3515310    /usr/lib/libXdmcp.so.6.0.0
> 00365000-00366000 rwxp 00004000 08:03 3515310    /usr/lib/libXdmcp.so.6.0.0
> 00368000-00460000 r-xp 00000000 08:03 3518907    /usr/lib/libX11.so.6.2.0
> 00460000-00464000 rwxp 000f7000 08:03 3518907    /usr/lib/libX11.so.6.2.0
> 00466000-00481000 r-xp 00000000 08:03 3515311    /usr/lib/libxcb.so.1.0.0
> 00481000-00482000 rwxp 0001a000 08:03 3515311    /usr/lib/libxcb.so.1.0.0
> 00484000-00493000 r-xp 00000000 08:03 3518909    /usr/lib/libXext.so.6.4.0
> 00493000-00494000 rwxp 0000e000 08:03 3518909    /usr/lib/libXext.so.6.4.0
> 00496000-004a1000 r-xp 00000000 08:03 3353444    /lib/libgcc_s-4.1.2-20070925.so.1
> 004a1000-004a2000 rwxp 0000a000 08:03 3353444    /lib/libgcc_s-4.1.2-20070925.so.1
> 004a4000-004c3000 r-xp 00000000 08:03 3353428    /lib/libexpat.so.1.5.2
> 004c3000-004c5000 rwxp 0001f000 08:03 3353428    /lib/libexpat.so.1.5.2
> 004c7000-004cc000 r-xp 00000000 08:03 3526650    /usr/lib/libsigc-2.0.so.0.0.0
> 004cc000-004cd000 rwxp 00004000 08:03 3526650    /usr/lib/libsigc-2.0.so.0.0.0
> 00504000-0058c000 r-xp 00000000 08:03 3519122    /usr/lib/libfreetype.so.6.3.16
> 0058c000-00590000 rwxp 00087000 08:03 3519122    /usr/lib/libfreetype.so.6.3.16
> 00592000-005b7000 r-xp 00000000 08:03 3519108    /usr/lib/libpng12.so.0.22.0
> 005b7000-005b8000 rwxp 00025000 08:03 3519108    /usr/lib/libpng12.so.0.22.0
> 005ba000-005d1000 r-xp 00000000 08:03 3520402    /usr/lib/libcairomm-1.0.so.1.1.0
> 005d1000-005d2000 rwxp 00016000 08:03 3520402    /usr/lib/libcairomm-1.0.so.1.1.0
> 005de000-00605000 r-xp 00000000 08:03 3519786    /usr/lib/libfontconfig.so.1.2.0
> 00605000-0060d000 rwxp 00027000 08:03 3519786    /usr/lib/libfontconfig.so.1.2.0
> 0060f000-00617000 r-xp 00000000 08:03 3519787    /usr/lib/libXrender.so.1.3.0
> 00617000-00618000 rwxp 00007000 08:03 3519787    /usr/lib/libXrender.so.1.3.0
> 0061a000-006fa000 r-xp 00000000 08:03 3524354    /usr/lib/libstdc++.so.6.0.8
> 006fa000-006fe000 r-xp 000df000 08:03 3524354    /usr/lib/libstdc++.so.6.0.8
> 006fe000-006ff000 rwxp 000e3000 08:03 3524354    /usr/lib/libstdc++.so.6.0.8
> 006ff000-00705000 rwxp 006ff000 00:00 0
> 00707000-0070d000 r-xp 00000000 08:03 3520484    /usr/lib/libXrandr.so.2.1.0Client Seq24 removed from project project-1
> Project project-1 removed
> Aborted
> [nexxusix at localhost ~]$
>
> **** alsa_pcm: xrun of at least 0.042 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.039 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.031 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.029 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.037 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.031 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.039 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.034 msecs
>
>
>
> **** alsa_pcm: xrun of at least 0.033 msecs
>
>
>
>
>
>
>      ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://ccrma-mail.stanford.edu/pipermail/planetccrma/attachments/20080418/b8437e82/attachment.html
>
> ------------------------------
>
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
>
>
> End of PlanetCCRMA Digest, Vol 2, Issue 19
> ******************************************
>



More information about the PlanetCCRMA mailing list