<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Tom Moertel's Weblog: Tag fedora7</title>
    <link>http://blog.moertel.com/articles/tag/fedora7?tag=fedora7</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Quality rants on programming theory and stuff geeks like</description>
    <item>
      <title>My upgrade to Fedora 7: rocky start but great finish</title>
      <description>&lt;p&gt;Tonight I upgraded my main workstation from Fedora Core 6 to Fedora 7.
The result is an impressively polished working environment.
Everything is snappy and crisp.  I love it.  Kudos to the Fedora team!&lt;/p&gt;


	&lt;p&gt;Getting Fedora 7 to boot, however, took some doing.&lt;/p&gt;


	&lt;p&gt;After the upgrade, my workstation rebooted &amp;#8211; and then hung.  The
problem was that the &lt;strong&gt;raid456&lt;/strong&gt; module wasn&amp;#8217;t getting loaded by the
kernel, and thus the kernel couldn&amp;#8217;t detect my &lt;span class="caps"&gt;RAID&lt;/span&gt;-5 root filesystem,
and thus &lt;em&gt;Halt&lt;/em&gt;.&lt;/p&gt;


	&lt;p&gt;Interestingly, the corresponding error in the kernel boot log
said that the module couldn&amp;#8217;t be loaded because it &lt;em&gt;existed&lt;/em&gt;:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;error inserting /lib/raid456.ko: file exists&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;What&amp;#8217;s the problem?  The file is &lt;em&gt;there&lt;/em&gt;, isn&amp;#8217;t it?  You just said so!&lt;/p&gt;


	&lt;p&gt;Booting into the install &lt;span class="caps"&gt;DVD&lt;/span&gt;&amp;#8217;s rescue mode (very handy), I ran
&lt;strong&gt;mkinitrd&lt;/strong&gt; by hand to rebuild the initial disk image that primes the
kernel with the modules it needs to boot the system.  (An older
version of &lt;strong&gt;mkinitrd&lt;/strong&gt; would sometimes forget to add the &lt;strong&gt;raid456&lt;/strong&gt;
module to the image, so I figured maybe that&amp;#8217;s what the cryptic error
message was hinting at.) I added the &lt;strong&gt;-v&lt;/strong&gt; flag to the
command line to see what was really going on and caught this
interesting tidbit:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;# kver=`uname -r`
# mkinitrd -v -f /boot/initrd-$kver.img $kver

...
Adding module ext3
Adding module xor
Adding module raid456
Adding module raid456   &amp;lt;&amp;lt;== FLAMIN' MONKEY EYES TIMES TWO!
Adding module scsi_mod
Adding module sd_mod
...
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;The &lt;strong&gt;raid456&lt;/strong&gt; module was, for some reason, being added to the image
twice.  That redundancy, I reasoned, is what caused the cryptic error
message in the boot log.  The module couldn&amp;#8217;t be inserted because it
&lt;em&gt;already&lt;/em&gt; existed!  That theory approximately made sense, so I ran
with it.&lt;/p&gt;


	&lt;p&gt;Thus I had to edit the code for mkinitrd to prevent it from trying
to add the module twice.  Then I used my adjusted version of the tool
to rebuild the initial disk image. Finally, I rebooted the system
and &amp;#8211; with fingers crossed for luck &amp;#8211; entered the glorious world of Fedora 7.&lt;/p&gt;


	&lt;p&gt;Almost.  Neither the &lt;strong&gt;nv&lt;/strong&gt; nor the &lt;strong&gt;nouveau&lt;/strong&gt; driver for X.Org &lt;span class="caps"&gt;X11&lt;/span&gt; detected the
true geometry of my Dell 2001FP monitor.  So I had to slink back to
the non-free nVidia driver to get my full resolution back.&lt;/p&gt;


	&lt;p&gt;Those two issues aside, the whole process was delightful.&lt;/p&gt;


	&lt;p&gt;And, now that I&amp;#8217;m using Fedora 7, it&amp;#8217;s rockin&amp;#8217;.  
Just what my workstation needed.&lt;/p&gt;</description>
      <pubDate>Thu, 07 Jun 2007 00:43:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:1540bee5-be21-4106-8502-7ccb074becad</guid>
      <author>Tom Moertel</author>
      <link>http://blog.moertel.com/articles/2007/06/07/my-upgrade-to-fedora-7-rocky-start-but-great-finish</link>
      <category>linux</category>
      <category>linux</category>
      <category>fedora7</category>
      <trackback:ping>http://blog.moertel.com/articles/trackback/472</trackback:ping>
    </item>
  </channel>
</rss>
