 |
 |
 |
 |
| 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. |

30th October 2006, 01:54 AM
|
|
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!
|

30th October 2006, 01:57 AM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224

|
|
|
Moved to Howto forum
Firewing1
|

30th October 2006, 03:01 AM
|
|
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.
|

4th November 2006, 08:12 AM
|
 |
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
======
|

4th November 2006, 01:28 PM
|
|
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!
|

6th November 2006, 03:46 AM
|
 |
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.
|

24th November 2006, 08:08 PM
|
|
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
|

25th November 2006, 03:47 PM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224

|
|
|
Try also using this arg:
--oldpackage
Firewing1
|

1st December 2006, 03:08 PM
|
 |
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
|

1st December 2006, 04:56 PM
|
 |
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.
|

2nd December 2006, 03:24 PM
|
 |
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
|

2nd December 2006, 03:32 PM
|
 |
Administrator
|
|
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,324

|
|
Nice! I'm gonna quote you on that.
|

23rd December 2006, 08:49 AM
|
 |
Registered User
|
|
Join Date: Jul 2005
Posts: 233

|
|
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.
|

23rd December 2006, 09:59 AM
|
 |
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
|

23rd December 2006, 10:03 AM
|
 |
Registered User
|
|
Join Date: Jul 2005
Posts: 233

|
|
Thank you
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 20:50 (Wednesday, 19-06-2013)
|
|
 |
 |
 |
 |
|
|