| View previous topic :: View next topic |
| Author |
Message |
alexbuell Guru

Joined: 18 Jul 2002 Posts: 420 Location: "Hemp"shire, UK
|
Posted: Thu May 13, 2010 10:01 pm Post subject: libata on iMac G3? |
|
|
Has anyone successfully changed over to libata from the original IDE in the kernel on iMac G3? If so, please share your experiences. In particular, which of the libata PATA drivers do I need to select?
Many thanks! _________________ Cheers,
Alex.
Linux - the best text adventure game ever. |
|
| Back to top |
|
 |
gringo Advocate


Joined: 27 Apr 2003 Posts: 3505
|
Posted: Fri May 14, 2010 12:38 pm Post subject: |
|
|
| Quote: | | which of the libata PATA drivers do I need to select |
in 2.6.33 there only is CONFIG_PATA_MACIO available as far as i know and if that one doesnt work for you then i think you have to mask the latest udev.
cheers |
|
| Back to top |
|
 |
alexbuell Guru

Joined: 18 Jul 2002 Posts: 420 Location: "Hemp"shire, UK
|
Posted: Fri May 14, 2010 12:57 pm Post subject: |
|
|
| gringo wrote: | | [in 2.6.33 there only is CONFIG_PATA_MACIO available as far as i know and if that one doesnt work for you then i think you have to mask the latest udev. |
Thanks very much, I'll try 2.6.33 and see if it works. _________________ Cheers,
Alex.
Linux - the best text adventure game ever. |
|
| Back to top |
|
 |
iMike Apprentice

Joined: 01 Apr 2005 Posts: 193 Location: Stockholm, Sweden
|
Posted: Sun Jul 25, 2010 1:19 pm Post subject: |
|
|
I can now report that I've got a B/W PowerMac G3 going with libata. The upgrade from the depreciated IDE kernel drivers requires that you:
* Build a 2.6.33-r2 or higher kernel (perhaps this worked earlier, but this is the kernel I used) as follows:
** add CMD64x PATA support in the kernel
This was the case for my G3 (built in Europe) in any case. I did a "lshw" command while still in the IDE environment and saw
driver=CMD64x_IDE which gave me the tip off that I should set the corresponding counterpart in libata:
Device Drivers --> Serial ATA and Parallel ATA drivers ---> CMD64x PATA support [y]
In addition to --> Apple PowerMac/PowerBook internal 'MacIO' IDE [y] suggested in the Gentoo manual
** also in the Kernel make sure
Device Drivers --> SCSI device support --> SCSI disk support [y] and SCSI CDROM support [y]
* After building the kernel, add ofboot=/dev/hda2 and the new 2.6.33-r2 kernel to /etc/yaboot.conf and do a "ybin -v"
* set your /etc/fstab to expect sdbN, i.e., if it was hda5 change to sdb5 (yes, that is sdb not sda)
* reboot
* At the boot command, give the root=/dev/sdb4 (or where ever your real root is at) as a parameter to the Kernel. Once successfully booted into the libata environment, change /etc/yaboot.conf so that hdN names become sdbN names; run ybin -v and reboot.
Note: this possibly assumes that you have root, boot, and swap on standard partitions. I have that, but usr, var, ... on LVM.
Well, that's the way it worked for me anyway.
/iMike |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|