cd /usr/src
CC=gcc SYSSRC=/usr/src/linux-2.6.26 SYSOUT=/usr/src/linux-2.6.26 sh
NVIDIA-Linux-x86-173.14.12-pkg1.run
startx
Since I have the memory of a goldfish, this will basically used to catalog/archive things so that I can use it as a reference. Maybe someone might find it helpful. It will mostly revolve around tech/linux stuff.
Thursday, September 18, 2008
Monday, September 8, 2008
making a kernel from source
apt-get update && apt-get install initrd-tools kernel-package
make mrpropper
make menuconfig
make-kpkg --initrd kernel_image
make sure initrd (ramdisk) is installed /boot/initrd-`kernalversion` in grub or lilo
(initrd /boot/initrd.img-2.6.18-6-k7)
make mrpropper
make menuconfig
make-kpkg --initrd kernel_image
make sure initrd (ramdisk) is installed /boot/initrd-`kernalversion` in grub or lilo
(initrd /boot/initrd.img-2.6.18-6-k7)
DISTCC masquerade recursion issue
make sure that g++/gcc has absolute linkage to g++-/gcc-(version) otherwise there is will be a recursion issue
mkdir /usr/lib/distcc/bin
cd /usr/lib/distcc/bin
ln -s ../../../bin/distcc gcc
ln -s ../../../bin/distcc cc
ln -s ../../../bin/distcc g++
mkdir /etc/distcc
echo 'localhost' >> /etc/distcc/hosts
echo "export PATH=/usr/lib/distcc/bin:$PATH"
ln -sf /usr/bin/g++-4.1 /usr/bin/g++
ln -sf /usr/bin/gcc-4.1 /usr/bin/gcc
set path variable to have distcc as the first
mkdir /usr/lib/distcc/bin
cd /usr/lib/distcc/bin
ln -s ../../../bin/distcc gcc
ln -s ../../../bin/distcc cc
ln -s ../../../bin/distcc g++
mkdir /etc/distcc
echo 'localhost' >> /etc/distcc/hosts
echo "export PATH=/usr/lib/distcc/bin:$PATH"
ln -sf /usr/bin/g++-4.1 /usr/bin/g++
ln -sf /usr/bin/gcc-4.1 /usr/bin/gcc
set path variable to have distcc as the first
Wednesday, September 3, 2008
Startup scripts enable disable
Enable:
- sudo update-rc.d <scriptname> defaults
Disable:
- sudo update-rc.d -f <scriptname> remove
http://www.debian-administration.org/articles/28
- sudo update-rc.d <scriptname> defaults
Disable:
- sudo update-rc.d -f <scriptname> remove
http://www.debian-administration.org/articles/28
ALSA Woes
If you have alsa configured correctly {sudo alsaconfig no error} you are using oss. Make sure that nothing is using the sounds card (XMMS).
Explicitly create the device files
mknod -m 777 /dev/dsp c 14 3
mknod -m 777 /dev/mixer c 14 0
Make sure xmms
- using alsa
- NOT software mixer
to reload
sudo alsa reload
Explicitly create the device files
mknod -m 777 /dev/dsp c 14 3
mknod -m 777 /dev/mixer c 14 0
Make sure xmms
- using alsa
- NOT software mixer
to reload
sudo alsa reload
Subscribe to:
Posts (Atom)