Fedora Rebuild

I finally gave up fighting with the crashing kernel issue in F14 so went back to F13. For some reason when I booted my restored Clonezilla image the PC would just reset, so I did a fresh F13 install from DVD.

I was suprised actually that I had 90% of my settings and software setup and installed within about 3 hours. It used to take a whole day to customise the desktop and install all those weird packages. I guess a lot of those packages are now in the standard Fedora install, and the rest I’ve made my own RPM’s for (john, gip, gstm, knockd etc.) or can be got from the RPMFusion, Google and Adobe repositories.

Google don’t seem to host a .repo file, but they get installed if you manually install the RPM’s for Chrome/Earth but you can create them manually in /etc/yum.repos.d/

google-chrome.repo

[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1

google-earth.repo

[google-earth]
name=google-earth
baseurl=http://dl.google.com/linux/earth/rpm/stable/x86_64
enabled=1
gpgcheck=1

And then import the key from https://dl-ssl.google.com/linux/linux_signing_key.pub

Essentially my post-install transaction is:

rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

rpm -Uvh http://www.linux-ati-drivers.homecall.co.uk/flashplayer.x86_64/flash-release-1-2.noarch.rpm

yum remove mc emacs gnome-games

yum -y install yum-plugin-fastestmirror xmms xmms-mp3 xmms-faad2 xmms-pulse xmms-skins \
audacious audacious-plugins-freeworld* \
rhythmbox gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg \
amarok xine-lib-extras-freeworld \
mplayer mplayer-gui gecko-mediaplayer mencoder gnome-mplayer ffmpeg \
xine xine-lib-extras xine-lib-extras-freeworld gstreamer-plugins-ugly \
gstreamer-plugins-bad gstreamer-ffmpeg vlc gnochm chmviewer comical \
AdobeReader_enu dkms akmod-nvidia  xorg-x11-drv-nvidia-libs.i686 \
flash-plugin google-chrome-unstable comix backintime-common backintime-gnome \
screenruler xinetd gftp nvclock* compiz-fusion-extras seahorse seahorse-plugins \
nautilus-open-terminal compiz-fusion-unsupported-gnome compiz-fusion-unsupported \
compiz-fusion-extras-gnome compiz-gnome compiz-fusion compizconfig-backend-gconf \
compiz-manager compiz-fusion-extras conky lm_sensors gkrellm kernel-devel kernel-headers \
GConf2-gtk GConf2 thunderbird-lightning qgit urbanterror amap gloobus-preview.x86_64 \
alsa-lib-1.0.23-1.fc13.i686 libXScrnSaver-1.2.0-1.fc12.i686 qt-4.6.3-10.fc13.i686 \
qt-x11-4.6.3-10.fc13.i686 ccsm alacarte VirtualBox-4.0.x86_64 amap urbanterror ethtool \
purple-plugin_pack.x86_64  purple-facebookchat.x86_64 purple-plugin_pack-pidgin.x86_64 \
pidgin-sipe.x86_64 pidgin-otr.x86_64 pidgin-guifications.x86_64 pidgin.x86_64 \
binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers \
kernel-devel dev86 iasl qt4-devel pulseaudio-libs-devel glibc-devel.i686 \
libgcc.i686 texlive-texmf-latex java-1.6.0-openjdk-devel zlib-static glibc-static \
libstdc++.i686 libxslt-devel libIDL-devel SDL-devel libXmu-devel libstdc++-static \
wget google-earth-stable.x86_64 unrar bcrypt tsclient perl-Spreadsheet-WriteExcel \
expect freetype-freeworld gconf-editor p7zip fbreader-gtk redhat-lsb.i686 \
gnome-media-apps

yum -y update

Plus installing the VirtualBox, Nessus, nmap, msttcore-fonts RPM’s I already have downloaded.

I don’t bother with Oracle’s VirtualBox repository as its not updated enough so its quicker to download the RPM’s manually from their website (you have to download the extpack anyway).

Rawhiiiiiiiiide!

No, not the cowboy series, but the Fedora development repository.

As part of my investigation into why large transfers are hard locking my PC, I was advised to install the kernel from Rawhide, which also meant enabling the RPMFusion Rawhide repository to pull in the Nvidia modules. So first we install the repo:

yum install fedora-release-rawhide.noarch

Then we edit the repo files to enable them but limit them to kernel/nvidia RPM’s (we don’t want to upgrade to Fedora 15 Alpha!) and not debuginfo/source:

/etc/yum.repos.d/fedora-rawhide.repo

[rawhide]
name=Fedora - Rawhide - Developmental packages for the next Fedora release
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/development/$basearch/os/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$basearch
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
includepkgs=kernel*

/etc/yum.repos.d/rpmfusion-nonfree-rawhide.repo

[rpmfusion-nonfree-rawhide]
name=RPM Fusion for Fedora Rawhide - Nonfree
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/development/$basearch/os/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-rawhide&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-latest-$basearch file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-rawhide-$basearch
includepkgs=*nvidia*

Then running “yum update” pulled in the 2.6.38-0.rc7.git2.3.fc16.x86_64 kernel from Fedora 16 (and Nvidia modules) and it does seem to have fixed the issue – I did a full rsync backup and a couple of 1.3Gb NFS transfers to test.

VirtualBox works fine too thankfully – dkms/akmod rebuilt the kernel modules upon reboot and my CentOS 5.5/Ubuntu 9.10/OEL6 guest VM’s work fine.

Mum’s thinking of getting an Amazon Kindle3 for her birthday, and it seems they now allow reading of regular PDF/epub files not just Amazon’s DRM-protected Mobi format, and there’s a Linux program called Calibre that enables you to convert between the ebook formats, including .cbz comic books.

Update: the new kernel doesn’t seem to have fixed the issue, I’ve had several crashes today without much network traffic. Starting to wonder if its an Nvidia driver issue or a hardware issue like HDD/PSU/RAM. I ordered a new PCIe NIC with Via Velocity VT6130 chipset instead of Realtek RTL8111D but doubt its going to fix anything now 🙁

I’ve also been playing with the Kindle and Kobo Android apps and downloading a shedload of free ebooks from Amazon to read on my phone – even got Calibre to convert useless PDF’s to more portable epub files. The Kobo website is useless as its throws DRM-protected PDF’s at you (for free books!) but the Android app just downloads unencrypted epubs.

JtR Jumbo 12 RPM’s

I’ve compiled some RPM’s of John The Ripper 1.7.6 with the jumbo-12 and early-release-md5-gen-v3 patches applied. I can’t get the hmailserver-02 or intrinsics-2 patches to merge nicely, or build reliably even with manual fudgery.

Its got a bit crazy recently with five patches for 1.7.6 after jumbo-12 which are incompatible with each other and the omp-des-7 patch. They really need to be merged into jumbo-13 or even 1.7.7 or preferably ditch patches altogether and work from Git, but apparently this won’t happen.

I’ve also been trying out Nessus 4.4.1 with my custom plugins, which now number around 190.

I watched TRON: Legacy, which I thought was utter rubbish, and in fact Tron was in it for about three minutes. There were some references to the original, but really it was a standalone film.

JtR Jumbo11 RPM’s

With a bit of prodding by Alexander from openwall (aka Solar Designer) I finally announced my JtR RPM’s on the john-users mailing list.

I’ve also listed them on the custom-builds part of the wiki.

I updated them to Jumbo-11 which merges in the mscash2 patch and enables some OpenMP (not for DES, that still requires opm-des-7). Downloads.

Freesat HD recording

I’m thinking of getting a WinTV Nova HD-S2 card for my PC as there’s a satellite feed right by the computer in my bedroom – albeit with an aerial connector on it, so I’d need a female aerial to female F-type adaptor.

I could watch/record Freesat HD in my bedroom and stream it over the new GigE to the Revo downstairs (which has hardware accelerated HD playback – currently using about 30% CPU watching 720p from BBC iPlayer) and also watch SD Sky using the box in the lounge.

At 85ukp its a lot cheaper than 250ukp for a Humax Foxsat HDR (especially after knocking off 20% VAT), Hell its even cheaper than a non-recording Freesat HD box. Time to fit that second 1Tb hard disk….

This will work so much better than my old WinTV PVR250 which didn’t have a DVB tuner so required a Sky box as well – and was pretty poor even for SD resolution.

Update: I’ve rebuilt JtR 1.7.6 with the new MSCash2 patch on top of Jumbo-9. Fedora 13/14 downloads here.

I’ve also rebuilt Back In Time 1.0.6 and tested on Fedora 14, downloads here.