Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30th October 2006, 01:54 AM
Max Power Offline
Registered User
 
Join Date: Sep 2006
Location: Canada
Posts: 22
FC6 Anaconda installs i586 kernel on i686 processor workaround

I just found a post that addresses the issue with Anaconda installing the FC6 i586 kernel on systems with an i686 processor:

https://www.redhat.com/archives/fedo.../msg03725.html

Here's the text:

On 10/29/2006 12:08 PM, Paul Smith wrote:
> How can I then *safely* replace the i586 kernel with the i686?
I did:
yumdownloader kernel-2.6.18-1.2798.fc6.i686
sudo rpm -Uvh --replacefiles --replacepkgs \
kernel-2.6.18-1.2798.fc6.i686.rpm

yumdownloader comes from the yum-utils package.

Lars
--

His instructions work like a charm. Many thanks to Lars for this...this problem has been driving me crazy for a couple of days!
__________________
Homer: There are three ways to do things, the right way, the wrong way and the Max Power way.
Bart: Isn't that the wrong way?
Homer: Yeah, but faster!
Reply With Quote
  #2  
Old 30th October 2006, 01:57 AM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
Moved to Howto forum
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #3  
Old 30th October 2006, 03:01 AM
marcosmds Offline
Registered User
 
Join Date: Apr 2006
Posts: 39
Hi Firewing1, you can use rpm -Uvh --force kernel-2.6.18-1.2798.fc6.i686.rpm instead.
if you see man --force is short way to write --replacefiles --replacepkgs --oldpackage.
Reply With Quote
  #4  
Old 4th November 2006, 08:12 AM
futz's Avatar
futz Offline
Registered User
 
Join Date: Oct 2005
Location: Vancouver
Posts: 40
Quote:
Originally Posted by marcosmds
Hi Firewing1, you can use rpm -Uvh --force kernel-2.6.18-1.2798.fc6.i686.rpm instead.
if you see man --force is short way to write --replacefiles --replacepkgs --oldpackage.
I did this and here is what I got:
Code:
[futz@xblade ~]$ sudo rpm -Uvh --force kernel-2.6.18-1.2798.fc6.i686.rpm
Preparing...                ########################################### [100%]
   1:kernel                 ########################################### [100%]
device-mapper: table ioctl failed: No such device or address
device-mapper: table ioctl failed: No such device or address
device-mapper: table ioctl failed: No such device or address
[futz@xblade ~]$
I tried changing the kernel once before, following some other forum poster's instructions and could never reboot again. On my boot attempts before reinstalling, I saw those same device-mapper errors.
__________________
======
Now playing:
Ubuntu 7.04 | Mint Cassandra | Fedora 7
PCLinuxOS 2007 | SabayonLinux 3.3
======
Reply With Quote
  #5  
Old 4th November 2006, 01:28 PM
Max Power Offline
Registered User
 
Join Date: Sep 2006
Location: Canada
Posts: 22
The first time I tried to replace the i586 kernel with the i686, I tried using someone's suggestion of a similar command using --force kernel. I immediately got "grubby" error messages. When I tried to reboot, grub couldn't find any kernels and I had to reinstall. There appears to be some kind of difference in the commands.

I followed Lars' directions to the letter and everything went smooth.

These same directions are now listed as the workaround on Fedora Wiki under Common Issues:
http://fedoraproject.org/wiki/Bugs/FC6Common
__________________
Homer: There are three ways to do things, the right way, the wrong way and the Max Power way.
Bart: Isn't that the wrong way?
Homer: Yeah, but faster!
Reply With Quote
  #6  
Old 6th November 2006, 03:46 AM
futz's Avatar
futz Offline
Registered User
 
Join Date: Oct 2005
Location: Vancouver
Posts: 40
Well, the replaced kernel works, but I think those errors are something to do with device-mapper not working right. This box has multiple distros on it on various hard drives/partitions. I'm unable to mount the other drives/partitions (yes I am doing it right) from Fedora. All I get is errors like this:
Code:
mount: /dev/sda2 already mounted or /media/sda2 busy
I know for sure that the device is not already mounted or busy, so now I'm unsure what to do.

I can mount them in sabayonlinux and suse.
__________________
======
Now playing:
Ubuntu 7.04 | Mint Cassandra | Fedora 7
PCLinuxOS 2007 | SabayonLinux 3.3
======

Last edited by futz; 7th November 2006 at 02:17 AM.
Reply With Quote
  #7  
Old 24th November 2006, 08:08 PM
RBH Offline
Registered User
 
Join Date: Oct 2006
Posts: 13
Code:
[root@localhost ~]# rpm -Uvh --replacefiles --replacepkgs kernel-2.6.18-1.2798.fc6.i686.rpm
Preparing...                ########################################### [100%]
        package kernel-2.6.18-1.2849.fc6 (which is newer than kernel-2.6.18-1.2798.fc6) is already installed
Reply With Quote
  #8  
Old 25th November 2006, 03:47 PM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
Try also using this arg:
--oldpackage
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #9  
Old 1st December 2006, 03:08 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
When installing Fedora core 6 you can choose what kernel you install ,The default seems to be i586 to change this to i686 at install just use this option at CD/DVD boot

linux i686

Leigh
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #10  
Old 1st December 2006, 04:56 PM
Dan's Avatar
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,324
Quote:
Originally Posted by RBH
Code:
[root@localhost ~]# rpm -Uvh --replacefiles --replacepkgs kernel-2.6.18-1.2798.fc6.i686.rpm
Preparing...                ########################################### [100%]
        package kernel-2.6.18-1.2849.fc6 (which is newer than kernel-2.6.18-1.2798.fc6) is already installed


If you have already run updates, and updated to the -.2849- i586 kernel, the above procedure (in post #1) will fail.

These altered commands below will fix the problem. Note the red characters. These are the changes that have been, and must be made.

Code:
 su -c "yum install yum-utils"

 yumdownloader kernel-2.6.18-1.2849.fc6.i686 

su -c "rpm -Uvh --replacefiles --replacepkgs kernel-2.6.18-1.2849.fc6.i686.rpm"
These changes, however, are only valid until there is another updated kernel made available.

Dan

Last edited by TangledWeb; 1st December 2006 at 04:59 PM.
Reply With Quote
  #11  
Old 2nd December 2006, 03:24 PM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
Or just do
Code:
yumdownloader kernel.i686
which will automatically grab the latest i686 kernel... From there:
Code:
su -c "rpm -Uvh --replacefiles --replacepkgs kernel-*.i686.rpm"
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #12  
Old 2nd December 2006, 03:32 PM
Dan's Avatar
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,324
Nice! I'm gonna quote you on that.
Reply With Quote
  #13  
Old 23rd December 2006, 08:49 AM
Captn's Avatar
Captn Offline
Registered User
 
Join Date: Jul 2005
Posts: 233
Question

I typed in linux i686 when i went to install and I think it worked, can someone tell me the command to check in terminal to make sure it worked & im using i686? Thank you in advance.

Ok i found the command and got this:

[Captn@localhost ~]$ rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep kernel|sort
kernel-2.6.18-1.2798.fc6.i686
kernel-headers-2.6.18-1.2798.fc6.i386
[Captn@localhost ~]$

Does this look correct?

Last edited by Captn; 23rd December 2006 at 09:19 AM.
Reply With Quote
  #14  
Old 23rd December 2006, 09:59 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by Captn
I typed in linux i686 when i went to install and I think it worked, can someone tell me the command to check in terminal to make sure it worked & im using i686? Thank you in advance.

Ok i found the command and got this:

[Captn@localhost ~]$ rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep kernel|sort
kernel-2.6.18-1.2798.fc6.i686
kernel-headers-2.6.18-1.2798.fc6.i386
[Captn@localhost ~]$

Does this look correct?
Your kernel is fine
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #15  
Old 23rd December 2006, 10:03 AM
Captn's Avatar
Captn Offline
Registered User
 
Join Date: Jul 2005
Posts: 233
Thank you
Reply With Quote
Reply

Tags
anaconda, fc6, i586, i686, installs, kernel, processor, workaround

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile a kernel for i686, i586 and others (NO i386) alpha645 Guides & Solutions (No Questions) 110 19th February 2012 08:51 AM
HOWTO: Workaround anaconda bug for i586 and i686 fix (BEFORE INSTALLATION OF FEDORA) alpha645 Guides & Solutions (No Questions) 2 2nd December 2006 03:58 PM
what means i586 and i686 in kernel names ?? copter Using Fedora 2 2nd July 2004 11:27 AM


Current GMT-time: 20:50 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat