Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libata on iMac G3?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
alexbuell
Guru
Guru


Joined: 18 Jul 2002
Posts: 481
Location: "Hemp"shire, UK

PostPosted: Thu May 13, 2010 10:01 pm    Post subject: libata on iMac G3? Reply with quote

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
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Fri May 14, 2010 12:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
alexbuell
Guru
Guru


Joined: 18 Jul 2002
Posts: 481
Location: "Hemp"shire, UK

PostPosted: Fri May 14, 2010 12:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 217
Location: Stockholm, Sweden

PostPosted: Sun Jul 25, 2010 1:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
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