Red Hat Linux Fedora: Fedora 13 to Fedora 14(64) upgrade.
In this upgrade, I planned to skip a version to see how things go jumping up two levels. Unfortunately reading this post from The Register about Linus Torvalds had me thinking back to F14 again. (This brings back fond memories of the KDE 4.0 desktop upgrade issues in F9 that didn't go so well. I have a feeling I'll be going back to KDE but we'll find out soon enough)
Fedora 15 has been out since May 24 2011 and Fedora 14 since Nov 02 2010. More importantly, driving this upgrade, is that my release has rolled into the not-supported-anymore category However the lucky number for me was F13 on my HTPC until now. No issues until a recent boot up issue and what appears to have traces of a kernel panic in my messages log file after moving the entire thing to a new GA-890XA-UD3 motherboard, CPU and video card is what is really driving this upgrade. (Apparently USB 3.0 related to my MB).
THE ERROR MESSAGE:
Aug 29 22:00:00 htpc kernel: usb 8-4: reset high speed USB device using xhci_hcd and address 2
Aug 29 22:00:00 htpc kernel: EMU10K1_Audigy 0000:05:06.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: ERROR Transfer event TRB DMA ptr not part of current TD
Aug 29 22:00:00 htpc kernel: ALSA sound/pci/emu10k1/emufx.c:1546: Installing spdif_bug patch: SB Audigy 1 ES [SB0160]
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: ERROR Transfer event TRB DMA ptr not part of current TD
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: ERROR Transfer event TRB DMA ptr not part of current TD
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: ERROR Transfer event TRB DMA ptr not part of current TD
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: ERROR Transfer event TRB DMA ptr not part of current TD
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: ERROR Transfer event TRB DMA ptr not part of current TD
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: ERROR Transfer event TRB DMA ptr not part of current TD
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: ERROR Transfer event TRB DMA ptr not part of current TD
Aug 29 22:00:00 htpc kernel: BUG: unable to handle kernel paging request at 00420057
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: ERROR Transfer event TRB DMA ptr not part of current TD
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: ERROR Transfer event TRB DMA ptr not part of current TD
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: ERROR Transfer event TRB DMA ptr not part of current TD
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: ERROR Transfer event TRB DMA ptr not part of current TD
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: ERROR Transfer event TRB DMA ptr not part of current TD
Aug 29 22:00:00 htpc kernel: IP: [
Aug 29 22:00:00 htpc kernel: *pde = cd2f5067
Aug 29 22:00:00 htpc kernel: HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Aug 29 22:00:00 htpc kernel: Oops: 0000 [#1] SMP
Aug 29 22:00:00 htpc kernel: last sysfs file: /sys/module/snd_seq/initstate
Aug 29 22:00:00 htpc kernel: Modules linked in: snd_hda_intel(+) snd_emu10k1 snd_rawmidi snd_ac97_codec snd_hda_codec ar9170usb(+) fglrx(P) ac97_bus mac80211 snd_seq
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep f670bb40
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep f670bb6c
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep f670bb98
Aug 29 22:00:00 htpc kernel: xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep f670bbc4
Aug 29 22:00:00 htpc kernel: usb 8-4: ep 0x83 – rounding interval to 1 microframes
Aug 29 22:00:00 htpc kernel: usb 8-4: ep 0x4 – rounding interval to 1 microframes
Aug 29 22:00:00 htpc kernel: ath snd_seq_device snd_util_mem snd_pcm cfg80211 snd_hwdep snd_timer snd rfkill i2c_piix4 joydev r8169 wmi soundcore i2c_core emu10k1_gp mii gameport k10temp snd_page_alloc serio_raw xhci_hcd microcode pata_acpi ata_generic firewire_ohci firewire_core crc_itu_t pata_atiixp pata_jmicron [last unloaded: scsi_wait_scan]
Aug 29 22:00:00 htpc kernel:
Aug 29 22:00:00 htpc kernel: Pid: 830, comm: crda Tainted: P 2.6.34.9-69.fc13.i686 #1 GA-890XA-UD3/GA-890XA-UD3
Aug 29 22:00:00 htpc kernel: EIP: 0060:[
Aug 29 22:00:00 htpc kernel: EIP is at fd_install+0x26/0x41
Aug 29 22:00:00 htpc kernel: EAX: 00420053 EBX: 00000003 ECX: f5cbd938 EDX: 00002828
Aug 29 22:00:00 htpc kernel: ESI: f6053400 EDI: f6321b80 EBP: f630bf5c ESP: f630bf50
Aug 29 22:00:00 htpc kernel: DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Aug 29 22:00:00 htpc kernel: Process crda (pid: 830, ti=f630a000 task=f6069980 task.ti=f630a000)
Aug 29 22:00:00 htpc kernel: Stack:
Aug 29 22:00:00 htpc kernel: 00000003 00000020 f6a67dd0 f630bf94 c04d037f 00000002 00000000 00000000
Aug 29 22:00:00 htpc kernel: <0> f6a67e2c 00000000 00000000 f62a6000 f6321b80 f5cbd938 00000000 00000000
Aug 29 22:00:00 htpc kernel: <0> 080495af f630bfac c04d03e0 00000000 080495af 00000000 00000000 f630a000
Aug 29 22:00:00 htpc kernel: Call Trace:
Aug 29 22:00:00 htpc kernel: [
Aug 29 22:00:00 htpc kernel: [
Aug 29 22:00:00 htpc kernel: [
SUSPICIOUS STUFF:
Aug 29 07:32:55 htpc kernel: fglrx: module license 'Proprietary. (C) 2002 – ATI Technologies, Starnberg, GERMANY' taints kernel.
QUICK STEPS (32)
- cd /some/dir
- mkdir ./F13toF14
- cd ./F13toF14
-
nice -n 19 yum update 2>&1 | tee -a F13-Update-$(date +"%Y-%m-%d-%H(24)-%M-%S").log
(If you get No Packages marked for Update you are good.) - Ensure you have debuglevel=10 and errorlevel=10 enabled in /etc/yum.conf in case we need more debugging information to sift through and identify why something failed.
- nice -n 19 yum -y upgrade (should be the same as step 1 above)
- nice -n 19 yum clean all
- nice -n 19 yum clean all (Just to make sure everything looks clean)
- http://download.fedora.redhat.com/pub/fedora/linux/releases/14/Fedora/i386/os/Packages/fedora-release-notes-14.0.3-1.fc14.noarch.rpm wget
- wget http://download.fedora.redhat.com/pub/fedora/linux/releases/14/Fedora/i386/os/Packages/fedora-release-14-1.noarch.rpm
- rpm -Uvh fedora-release*.rpm
- cat /etc/fedora-release (Make sure ‘Fedora release 14 (Laughlin)‘ appears )
- nice -n 19 yum -y upgrade 2>&1|tee -a ./F13-to-F14-Upgrade.$(date +"%Y-%m-%d-%H(24)-%M-%S").log
- Refer below for any issues and repeat from step 12) as necessary.
RUNNING INTO PROBLEMS
It's almost certain we will. And we do right at the update no less. Simply used –skip-broken flag to skip some of the packages.
Depsolve time: 33.816
Error: Package: ffmpeg-libs-0.6-3.fc13.i686 (rpmfusion-free-updates)
Requires: libx264.so.83
Removing: x264-libs-0.0.0-0.27.20100130git3659b81.fc13.i686 (@rpmfusion-free)
Error: Package: vlc-core-1.1.10-1.fc13.i686 (rpmfusion-free-updates)
Requires: libmatroska.so.0
Removing: libmatroska-0.8.1-5.fc12.i686 (@fedora/12)
Error: asterisk14 conflicts with asterisk161
.
.
.
Error: asterisk14 conflicts with asterisk
Error: Package: ffmpeg-libs-0.6-3.fc13.i686 (rpmfusion-free-updates)
Requires: faad2-libs >= 1:2.6.1
Removing: 1:faad2-libs-2.7-1.fc11.i586 (@rpmfusion-free/12)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
After removing a few packages to resolve dependencies
520 rpm -e python-psyco-1.6-4.fc12.i686
521 rpm -e python-psyco-1.6-4.fc12.i686 1.5.5-2.fc13.i686
522 rpm -e python-psyco-1.6-4.fc12.i686 eclipse-pydev-1:1.5.5-2.fc13.i686
524 rpm -e python-psyco-1.6-4.fc12.i686 eclipse-pydev-1.5.5-2.fc13.i686
525 rpm -e python-psyco-1.6-4.fc12.i686
.
.
.
It turned into another successful upgrade. At least for the 32 bit version. Let's see how things go for the 64 bit one below.
QUICK STEPS (64)
- cd /some/dir
- mkdir ./F14-32toF14-64
- cd ./F14-32toF14-64
-
nice -n 19 yum update 2>&1 | tee -a F14-Update-$(date +"%Y-%m-%d-%H(24)-%M-%S").log
(If you get No Packages marked for Update you are good.) - Ensure you have debuglevel=10 and errorlevel=10 enabled in /etc/yum.conf in case we need more debugging information to sift through and identify why something failed.
- nice -n 19 yum -y upgrade (should be the same as step 1 above)
- nice -n 19 yum clean all
- nice -n 19 yum clean all (Just to make sure everything looks clean)
- wget http://download.fedora.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/Packages/fedora-release-notes-14.0.3-1.fc14.noarch.rpm
- wget http://download.fedora.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/Packages/fedora-release-14-1.noarch.rpm
- rpm -Uvh fedora-release*.rpm
- cat /etc/fedora-release (Make sure ‘Fedora release 14 (Laughlin)‘ appears )
- nice -n 19 yum -y upgrade 2>&1|tee -a ./F14-32-to-F14-64-Upgrade.$(date +"%Y-%m-%d-%H(24)-%M-%S").log
- Refer below for any issues and repeat from step 12) as necessary.
RUNNING INTO PROBLEMS
I ran into problems with the fedora-release versions. I've opted to remove them and install the ones from the x86_64 repository instead:
# rpm -Uvh fedora-release-14-1.noarch.rpm fedora-release-notes-14.0.3-1.fc14.noarch.rpm
Preparing… ########################################### [100%]
package fedora-release-notes-14.1.2-2.fc14.noarch (which is newer than fedora-release-notes-14.0.3-1.fc14.noarch) is already installed
package fedora-release-14-1.noarch is already installed
#
Chop Chop:
# rpm -e fedora-release-notes-14.1.2-2.fc14.noarch
# rpm -e fedora-release-14-1.noarch
error: Failed dependencies:
system-release >= 14 is needed by (installed) rpmfusion-free-release-14-1.noarch
system-release >= 14 is needed by (installed) rpmfusion-nonfree-release-14-1.noarch
/etc/system-release is needed by (installed) initscripts-9.20.2-1.fc14.1.i686
# rpm -Uvh fedora-release-14-1.noarch.rpm
Preparing… ########################################### [100%]
package fedora-release-14-1.noarch is already installed
# rpm -Uvh –force fedora-release-14-1.noarch.rpm
Preparing… ########################################### [100%]
1:fedora-release ########################################### [100%]
]# rpm -Uvh fedora-release-notes-14.0.3-1.fc14.noarch.rpm
Preparing… ########################################### [100%]
1:fedora-release-notes ########################################### [100%]
#
UNFORTUNATELY, it turned out that upgrading a 32 bit OS from a 64 bit one cannot be done in this case. The best bet is to reinstall one from scratch. For this, I opted to resize my current environment LVM and reinstall a 64 bit OS on the same hard disk once free space was visible. To do so, please search this site for LVM or PXE to find out how to do so if resizing is needed to free space for a new install.
Cheers!
TK