ralf, if it is a simple procedure to enable the ATI graphics chip, i think
that would be a helpful troubleshooting step... as far as i know, in this
PPA https://launchpad.net/~falk-t-j/+archive/lucid , falktx has patched
abogani's realtime kernel with the patches necessary to utilize the
proprietary nvidia drivers... i use the PPA purge feature in ubuntutweak
when testing a PPA with so many different packages in it... another easy
trouble-shooting step would be to download KXstudio, run it live, and see if
you can get to the desktop, and see if you can boot the -realtime kernel,
see what graphics driver is being used, and what kernel version...

On Sun, Oct 3, 2010 at 1:41 AM, Ralf <ralf.mard...@alice-dsl.net> wrote:

>  Hi all :)
>
> building a kernel-rt failed. This are the steps I did:
>
> ### Downloading the kernel sources
> spinymo...@ubuntu:/usr/src$ wget
> ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.33.7.tar.bz2
> http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.33.7-rt29.bz2
>
> ### Extracting the sources and patching the kernel
> spinymo...@ubuntu:/usr/src$ tar xvjf linux-2.6.33.7.tar.bz2
> spinymo...@ubuntu:/usr/src$ rm linux-2.6.33.7.tar.bz2
> spinymo...@ubuntu:/usr/src$ mv linux-2.6.33.7 linux-2.6.33.7-rt29
> spinymo...@ubuntu:/usr/src$ ln -s linux-2.6.33.7-rt29 linux
> spinymo...@ubuntu:/usr/src$ cd linux
> spinymo...@ubuntu:/usr/src/linux$ mv ../patch-2.6.33.7-rt29.bz2 ../linux
> spinymo...@ubuntu:/usr/src/linux$ bunzip2 patch-2.6.33.7-rt29.bz2
> spinymo...@ubuntu:/usr/src/linux$ patch -p1 < patch-2.6.33.7-rt29
> spinymo...@ubuntu:/usr/src/linux$ rm patch-2.6.33.7-rt29
>
> ### Editing a configuration
> spinymo...@ubuntu:/usr/src/linux$ uname -r
> 2.6.32-25-preempt
> spinymo...@ubuntu:/usr/src/linux$ cp /boot/config-$(uname -r) .config
> spinymo...@ubuntu:/usr/src/linux$ make oldconfig
> Pushing enter only.
>
> ### Disable staging
> spinymo...@ubuntu:/usr/src/linux$ gedit .config
> Editing
> CONFIG_STAGING=y
> to
> # CONFIG_STAGING is not set
>
> spinymo...@ubuntu:/usr/src/linux$ make oldconfig
> Nothing to do.
>
> ### Tidying up
> spinymo...@ubuntu:/usr/src/linux$ make-kpkg clean
>
> ### Building the kernel
> spinymo...@ubuntu:/usr/src/linux$ export CONCURRENCY_LEVEL=2
> spinymo...@ubuntu:/usr/src/linux$ make-kpkg --rootcmd fakeroot --initrd
> kernel-image kernel-headers kernel-source
>
> ### First trial failed because of two kinds of errors I got several times
> tar: [...]: Cannot open: No such file or directory
> tar: vmlinux: Cannot write: No space left on device
>
> ### Creating space
> spinymo...@ubuntu:/usr/src/linux$ sudo -i
> r...@ubuntu:~# synaptic
> Completely removed the following packages:
> linux-headers-2.6.32-23
> linux-headers-2.6.32-23-preempt
> linux-image-2.6.31-10-rt
> linux-image-2.6.31-11-rt
> linux-image-2.6.32-23-preempt
> linux-image-2.6.32-24-preempt
> linux-image-2.6.33-23-realtime
> linux-image-2.6.33-29-realtime
> linux-image-2.6.33.5-rt23
> linux-image-rt
> r...@ubuntu:~# rm -r /usr/src/linux-2.6.33.5-rt23
> r...@ubuntu:~# rm
> /usr/src/linux-headers-2.6.33.5-rt23_2.6.33.5-rt23-10.00.Custom_amd64.deb
> r...@ubuntu:~# rm
> /usr/src/linux-headers-2.6.33.7-rt29_2.6.33.7-rt29-10.00.Custom_amd64.deb
> r...@ubuntu:~# rm
> /usr/src/linux-image-2.6.33.5-rt23_2.6.33.5-rt23-10.00.Custom_amd64.deb
> r...@ubuntu:~# rm
> /usr/src/linux-image-2.6.33.7-rt29_2.6.33.7-rt29-10.00.Custom_amd64.deb
> r...@ubuntu:~# rm
> /usr/src/linux-source-2.6.33.5-rt23_2.6.33.5-rt23-10.00.Custom_all.deb
> r...@ubuntu:~# rm /boot/grub/grub.cfg_Oct*
> r...@ubuntu:~# gparted
> There now should be enough free space.
> r...@ubuntu:~# logout
>
> ### Checking if everything still is ok
> spinymo...@ubuntu:/usr/src/linux$ make oldconfig
> spinymo...@ubuntu:/usr/src/linux$ echo $CONCURRENCY_LEVEL
> Everything is ok.
>
> ### Tidying up
> spinymo...@ubuntu:/usr/src/linux$ make-kpkg clean
>
> ### Building the kernel
> spinymo...@ubuntu:/usr/src/linux$ make-kpkg --rootcmd fakeroot --initrd
> kernel-image kernel-headers kernel-source
> :)
>
> Didn't run 'make-kpkg clean', if something should be needed for debugging.
>
> ### Installing the image
> spinymo...@ubuntu:/usr/src/linux$ cd ..
> spinymo...@ubuntu:/usr/src$ sudo dpkg -i
> linux-image-2.6.33.7-rt29_2.6.33.7-rt29-10.00.Custom_amd64.deb
> spinymo...@ubuntu:/usr/src$ sudo gedit /boot/grub/grub.cfg
>
> ### I didn't try to boot he kernel ...
> because there's no initrd.
>
> spinymo...@ubuntu:/usr/src$ ls /boot -hAl
> total 21M
> -rw-r--r-- 1 root root 632K 2010-09-18 02:35 abi-2.6.32-25-preempt
> -rw-r--r-- 1 root root 109K 2010-09-18 02:35 config-2.6.32-25-preempt
> -rw-r--r-- 1 root root 108K 2010-10-03 04:53 config-2.6.33.7-rt29
> drwxr-xr-x 3 root root  12K 2010-10-03 07:31 grub
> -rw-r--r-- 1 root root 8.0M 2010-10-02 12:22 initrd.img-2.6.32-25-preempt
> -rw-r--r-- 1 root root 157K 2010-03-23 10:40 memtest86+.bin
> -rw-r--r-- 1 root root 2.1M 2010-09-18 02:35 System.map-2.6.32-25-preempt
> -rw-r--r-- 1 root root 2.1M 2010-10-03 05:57 System.map-2.6.33.7-rt29
> -rw-r--r-- 1 root root 1.4K 2010-09-18 02:38 vmcoreinfo-2.6.32-25-preempt
> -rw-r--r-- 1 root root 4.0M 2010-09-18 02:35 vmlinuz-2.6.32-25-preempt
> -rw-r--r-- 1 root root 4.0M 2010-10-03 05:57 vmlinuz-2.6.33.7-rt29
>
> What could be the reason that I don't get an initrd?
>
> Cheers!
>
> Ralf
>
> --
> Ubuntu-Studio-users mailing list
> Ubuntu-Studio-users@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
>
>


-- 
MH
828.250.0037
http://www.myspace.com/mikeholstein

http://opensourcemusician.libsyn.com/
-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users

Reply via email to