Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Can't Install on New PowerBook5,8 -- No CDROM found
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
parry
n00b
n00b


Joined: 06 Aug 2005
Posts: 20

PostPosted: Fri Oct 28, 2005 8:06 pm    Post subject: [Solved] Can't Install on New PowerBook5,8 -- No CDROM found Reply with quote

I can't get the 2005.1 install CD to work with my newly bought PowerBook5,8. (15-in 1.67Ghz) - The kernel isn't able to detect the CDROM drive (SuperDrive - MATSHITADVD-R UJ-846).

Any one has an idea what's wrong? Has anyone successfully installed Gentoo on these new PowerBooks?

Thanks in advance.


Last edited by parry on Sun Nov 13, 2005 9:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
kyPixel
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2005
Posts: 117

PostPosted: Fri Oct 28, 2005 8:27 pm    Post subject: Reply with quote

Have you tried mounting the drive first?

Code:

mount /mnt/cdrom
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Oct 28, 2005 11:09 pm    Post subject: Reply with quote

kyPixel: He means during boot.

parry: Perhaps they changed the ata controller. Can you check in the OSX IORegistry for information (Name of the controler, PCI IDs, anything else that seems relevant).

Thanks
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
parry
n00b
n00b


Joined: 06 Aug 2005
Posts: 20

PostPosted: Fri Oct 28, 2005 11:58 pm    Post subject: Reply with quote

I checked on LKML and BenH said it might require adding a new PCI ID to the kernel. Surprisingly kernel-2.4 detected the IDE controller but errored out due to read after the end of device or something similar.

Looks like I'll have to wait for some time before the new PowerBooks are supported.

Thanks
Back to top
View user's profile Send private message
parry
n00b
n00b


Joined: 06 Aug 2005
Posts: 20

PostPosted: Sat Oct 29, 2005 2:12 am    Post subject: Reply with quote

BenH suggested to apply the below patch and see if the kernel is able to find the IDE controller on the new PowerBook5,8. I don't have a way to try that out without having a working Linux install but if some one can build a bootable cd with the patched kernel this could be tested.

Index: linux-work/drivers/ide/ppc/pmac.c
===================================================================
--- linux-work.orig/drivers/ide/ppc/pmac.c 2005-09-22 14:06:32.000000000 +1000
+++ linux-work/drivers/ide/ppc/pmac.c 2005-10-29 10:00:03.000000000 +1000
@@ -1664,11 +1664,16 @@
};

static struct pci_device_id pmac_ide_pci_match[] = {
- { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_UNI_N_ATA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
- { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_IPID_ATA100, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
- { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_K2_ATA100, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+ { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_UNI_N_ATA,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+ { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_IPID_ATA100,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+ { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_K2_ATA100,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_SH_ATA,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+ { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_IPIDD2_ATA,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
};

static struct pci_driver pmac_ide_pci_driver = {
Index: linux-work/include/linux/pci_ids.h
===================================================================
--- linux-work.orig/include/linux/pci_ids.h 2005-10-06 09:59:14.000000000 +1000
+++ linux-work/include/linux/pci_ids.h 2005-10-29 09:59:06.000000000 +1000
@@ -912,6 +912,7 @@
#define PCI_DEVICE_ID_APPLE_SH_FW 0x0052
#define PCI_DEVICE_ID_APPLE_U3L_AGP 0x0058
#define PCI_DEVICE_ID_APPLE_U3H_AGP 0x0059
+#define PCI_DEVICE_ID_APPLE_IPIDD2_ATA 0x0069
#define PCI_DEVICE_ID_APPLE_TIGON3 0x1645

#define PCI_VENDOR_ID_YAMAHA 0x1073
Back to top
View user's profile Send private message
frigaut
n00b
n00b


Joined: 28 Oct 2005
Posts: 8
Location: Hawaii

PostPosted: Sat Oct 29, 2005 8:31 am    Post subject: Reply with quote

Hi Parry,

same problem here, with a new powerbook.
keep us posted.
F
Back to top
View user's profile Send private message
frigaut
n00b
n00b


Joined: 28 Oct 2005
Posts: 8
Location: Hawaii

PostPosted: Sun Oct 30, 2005 8:20 am    Post subject: Reply with quote

here is I believe the IORegistry part that concerns the cdrom. Thanks for any help !
Cheers,
Francois

Code:

o ATADeviceNub@1  <class ATADeviceNub, registered, matched, active, busy 0, retain count 6>
    | |   |     | {
    | |   |     |   "ata device type" = "atapi"
    | |   |     |   "unit number" = 1
    | |   |     |   "IOUnit" = 1
    | |   |     |   "socket type" = "internal"
    | |   |     |   "device model" = "MATSHITADVD-R   UJ-846                  "
    | |   |     |   "device serial" = "                    "
    | |   |     |   "device revision" = "FAAG    "
    | |   |     | }
    | |   |     |
    | |   |     +-o IOATAPIProtocolTransport  <class IOATAPIProtocolTransport, registered, matched, active, busy 0, retain count 8>
    | |   |       | {
    | |   |       |   "ata device type" = "atapi"
    | |   |       |   "Write Time Out Duration" = 30000
    | |   |       |   "Read Time Out Duration" = 30000
    | |   |       |   "Power Management protected data" = "{ theNumberOfPowerStates = 2, version 1, power state 0 = { capabilityFlags 00000000, outputPowerCharacter 00000000, inputPowerRequirement 00000000, staticPower 65535, unbudgetedPower 0, powerToAttain 0, timeToAttain 0, settleUpTime 0, timeToLower 0, settleDownTime 0, powerDomainBudget 0 }, power state 1 = { capabilityFlags 0000c080, outputPowerCharacter 00000002, inputPowerRequirement 00000002, staticPower 65535, unbudgetedPower 0, powerToAttain 0, timeToAttain 0, settleUpTime 0, timeToLower 0, settleDownTime 0, powerDomainBudget 0 }, aggressiveness = 0, myCurrentState = 1, parentsCurrentPowerFlags = 00000002, maxCapability = 1 }"
    | |   |       |   "CFBundleIdentifier" = "com.apple.iokit.IOATAPIProtocolTransport"
    | |   |       |   "IOClass" = "IOATAPIProtocolTransport"
    | |   |       |   "Protocol Characteristics" = {"unit number"=1}
    | |   |       |   "IOProbeScore" = 0
    | |   |       |   "Power Management private data" = "{ this object = 0289b000, interested driver = 0289b000, driverDesire = 1, deviceDesire = 1, ourDesiredPowerState = 1, previousRequest = 66 }"
    | |   |       |   "IOMatchCategory" = "IODefaultMatchCategory"
    | |   |       |   "Physical Interconnect Location" = "Internal"
    | |   |       |   "Physical Interconnect" = "ATAPI"
    | |   |       |   "IOProviderClass" = "IOATADevice"
    | |   |       | }
    | |   |       |
    | |   |       +-o IOSCSIPeripheralDeviceNub  <class IOSCSIPeripheralDeviceNub, registered, matched, active, busy 0, retain count 5>
    | |   |         | {
    | |   |         |   "Vendor Identification" = "MATSHITA"
    | |   |         |   "Product Identification" = "DVD-R   UJ-846"
    | |   |         |   "CFBundleIdentifier" = "com.apple.iokit.IOSCSIArchitectureModelFamily"
    | |   |         |   "IOClass" = "IOSCSIPeripheralDeviceNub"
    | |   |         |   "Protocol Characteristics" = {"Physical Interconnect"="ATAPI","unit number"=1,"Read Time Out Duration"=30000,"Physical Interconnect Location"="Internal","Write Time Out Duration"=30000}
    | |   |         |   "Peripheral Device Type" = 5
    | |   |         |   "IOProbeScore" = 0
    | |   |         |   "IOMatchCategory" = "SCSITaskUserClientIniter"
    | |   |         |   "Product Revision Level" = "FAAG"
    | |   |         |   "IOProviderClass" = "IOSCSIProtocolServices"
    | |   |         | }
    | |   |         |
    | |   |         +-o IOSCSIPeripheralDeviceType05  <class IOSCSIPeripheralDeviceType05, !registered, !matched, active, busy 0, retain count 8>
    | |   |           | {
    | |   |           |   "Power Management protected data" = "{ theNumberOfPowerStates = 5, version 1, power state 0 = { capabilityFlags 00000000, outputPowerCharacter 00000000, inputPowerRequirement 00000000, staticPower 0, unbudgetedPower 0, powerToAttain 0, timeToAttain 0, settleUpTime 0, timeToLower 0, settleDownTime 0, powerDomainBudget 0 }, power state 1 = { capabilityFlags 00000000, outputPowerCharacter 00000002, inputPowerRequirement 00000002, staticPower 0, unbudgetedPower 0, powerToAttain 0, timeToAttain 0, settleUpTime 0, timeToLower 0, settleDownTime 0, powerDomainBudget 0 }, power state 2 = { capabilityFlags 00008040, outputPowerCharacter 00000002, inputPowerRequirement 00000002, staticPower 0, unbudgetedPower 0, powerToAttain 0, timeToAttain 0, settleUpTime 0, timeToLower 0, settleDownTime 0, powerDomainBudget 0 }, power state 3 = { capabilityFlags 00008040, outputPowerCharacter 00000002, inputPowerRequirement 00000002, staticPower 0, unbudgetedPower 0, powerToAttain 0, timeToAttain 0, settleUpTime 0, timeToLower 0, settleDownTime 0, powerDomainBudget 0 }, power state 4 = { capabilityFlags 0000c040, outputPowerCharacter 00000002, inputPowerRequirement 00000002, staticPower 0, unbudgetedPower 0, powerToAttain 0, timeToAttain 0, settleUpTime 0, timeToLower 0, settleDownTime 0, powerDomainBudget 0 }, aggressiveness = 0, myCurrentState = 3, parentsCurrentPowerFlags = 00000002, maxCapability = 4 }"
    | |   |           |   "IOMaximumBlockCountWrite" = 65535
    | |   |           |   "CFBundleIdentifier" = "com.apple.iokit.IOSCSIMultimediaCommandsDevice"
    | |   |           |   "IOClass" = "IOSCSIPeripheralDeviceType05"
    | |   |           |   "Peripheral Device Type" = 5
    | |   |           |   "DVD Features" = 503
    | |   |           |   "IOProbeScore" = 5000
    | |   |           |   "Power Management private data" = "{ this object = 0289d800, interested driver = 0289d800, driverDesire = 1, deviceDesire = 3, ourDesiredPowerState = 3, previousRequest = 66 }"
    | |   |           |   "IOMatchCategory" = "IODefaultMatchCategory"
    | |   |           |   "CD Features" = 1791
    | |   |           |   "IOMaximumBlockCountRead" = 65535
    | |   |           |   "IOProviderClass" = "IOSCSIPeripheralDeviceNub"
    | |   |           | }
    | |   |           |
    | |   |           +-o IODVDServices  <class IODVDServices, registered, matched, active, busy 0, retain count 6>
    | |   |             | {
    | |   |             |   "device-type" = "DVD"
    | |   |             |   "Protocol Characteristics" = {"Physical Interconnect"="ATAPI","unit number"=1,"Read Time Out Duration"=30000,"Physical Interconnect Location"="Internal","Write Time Out Duration"=30000}
    | |   |             |   "IOMaximumSegmentCountRead" = 48
    | |   |             |   "SCSITaskUserClient GUID" = <0289ec00000000112f3d032c>
    | |   |             |   "IOMatchCategory" = "SCSITaskUserClientIniter"
    | |   |             |   "SCSITaskDeviceCategory" = "SCSITaskAuthoringDevice"
    | |   |             |   "IOMaximumSegmentCountWrite" = 48
    | |   |             |   "IOUserClientClass" = "SCSITaskUserClient"
    | |   |             |   "IOCFPlugInTypes" = {"97ABCF2C-23CC-11D5-A0E8-003065704866"="IOSCSIArchitectureModelFamily.kext/Contents/PlugIns/SCSITaskUserClient.kext/Contents/PlugIns/SCSITaskLib.plugin"}
    | |   |             |   "Device Characteristics" = {"Product Name"="DVD-R   UJ-846","DVD Features"=503,"Product Revision Level"="FAAG","Low Power Polling"=Yes,"CD Features"=1791,"Vendor Name"="MATSHITA"}
    | |   |             | }
    | |   |             |
    | |   |             +-o IODVDBlockStorageDriver  <class IODVDBlockStorageDriver, registered, matched, active, busy 0, retain count 5>
    | |   |             |   {
    | |   |             |     "IOMatchCategory" = "IODefaultMatchCategory"
    | |   |             |     "IOClass" = "IODVDBlockStorageDriver"
    | |   |             |     "Statistics" = {"Errors (Read)"=0,"Total Time (Write)"=0,"Latency Time (Read)"=0,"Bytes (Read)"=0,"Latency Time (Write)"=0,"Retries (Read)"=0,"Bytes (Write)"=0,"Errors (Write)"=0,"Operations (Read)"=0,"Retries (Write)"=0,"Operations (Write)"=0,"Total Time (Read)"=0}
    | |   |             |     "IOProviderClass" = "IODVDBlockStorageDevice"
    | |   |             |     "IOPropertyMatch" = {"device-type"="DVD"}
    | |   |             |     "CFBundleIdentifier" = "com.apple.iokit.IODVDStorageFamily"
    | |   |             |     "IOProbeScore" = 0
    | |   |             |   }
    | |   |             |   
    | |   |             +-o SCSITaskUserClientIniter  <class SCSITaskUserClientIniter, !registered, !matched, active, busy 0, retain count 4>
    | |   |                 {
    | |   |                   "IOProviderMergeProperties" = {"IOUserClientClass"="SCSITaskUserClient","IOCFPlugInTypes"={"97ABCF2C-23CC-11D5-A0E8-003065704866"="IOSCSIArchitectureModelFamily.kext/Contents/PlugIns/SCSITaskUserClient.kext/Contents/PlugIns/SCSITaskLib.plugin"},"SCSITaskDeviceCategory"="SCSITaskAuthoringDevice"}
    | |   |                   "IOProbeScore" = 0
    | |   |                   "IOClass" = "SCSITaskUserClientIniter"
    | |   |                   "IOProviderClass" = "IODVDServices"
    | |   |                   "CFBundleIdentifier" = "com.apple.iokit.SCSITaskUserClient"
    | |   |                   "IOMatchCategory" = "SCSITaskUserClientIniter"
    | |   |                 }
Back to top
View user's profile Send private message
parry
n00b
n00b


Joined: 06 Aug 2005
Posts: 20

PostPosted: Sun Oct 30, 2005 4:02 pm    Post subject: Reply with quote

frigaut - how did you get that on OS X? We actually need the part for the IDE/ATA controller (Specifically the Vendor/Device ID), and not for the devices themselves.
Back to top
View user's profile Send private message
frigaut
n00b
n00b


Joined: 28 Oct 2005
Posts: 8
Location: Hawaii

PostPosted: Sun Oct 30, 2005 8:58 pm    Post subject: Reply with quote

would that be it:

Code:
 +-o ata-6@D  <class IOPCIDevice, registered, matched, active, busy 0, retain count 15>
    | |   | | {
    | |   | |   "IOInterruptSpecifiers" = (<0000002700000001>,<0000000b00000000>)
    | |   | |   "IODeviceMemory" = (({"address"=18446744073525018624,"length"=16384}))
    | |   | |   "interrupts" = <0000000100000000>
    | |   | |   "AAPL,pio-timing" = <0000052600000085000000250000002500000025000000000000000000000000>
    | |   | |   "device-id" = <00000069>
    | |   | |   "name" = <"ata-6">
    | |   | |   "#size-cells" = <00000000>
    | |   | |   "cable-type" = <"80-conductor">
    | |   | |   "device_type" = <"ata">
    | |   | |   "vendor-id" = <0000106b>
    | |   | |   "revision-id" = <00000000>
    | |   | |   "max-latency" = <00000000>
    | |   | |   "devsel-speed" = <00000001>
    | |   | |   "model" = <"ata-6">
    | |   | |   "AAPL,bus-id" = <00000003>
    | |   | |   "AAPL,requested-priorities" = <0000000200000004>
    | |   | |   "min-grant" = <00000000>
    | |   | |   "IOInterruptControllers" = ("IOInterruptControllerFF983740","IOInterruptControllerFF983740")
    | |   | |   "Power Management protected data" = "{ theNumberOfPowerStates = 3, version 1, power state 0 = { capabilityFlags 00000000, outputPowerCharacter 00000000, inputPowerRequirement 00000000, staticPower 65535, unbudgetedPower 0, powerToAttain 0, timeToAttain 0, settleUpTime 0, timeToLower 0, settleDownTime 0, powerDomainBudget 0 }, power state 1 = { capabilityFlags 00000000, outputPowerCharacter 00000400, inputPowerRequirement 00000400, staticPower 0, unbudgetedPower 0, powerToAttain 0, timeToAttain 0, settleUpTime 0, timeToLower 0, settleDownTime 0, powerDomainBudget 0 }, power state 2 = { capabilityFlags 00000080, outputPowerCharacter 00000002, inputPowerRequirement 00000002, staticPower 65535, unbudgetedPower 0, powerToAttain 0, timeToAttain 0, settleUpTime 0, timeToLower 0, settleDownTime 0, powerDomainBudget 0 }, aggressiveness = 0, myCurrentState = 2, parentsCurrentPowerFlags = 00000002, maxCapability = 2 }"
    | |   | |   "Power Management private data" = "{ this object = 0258ac80, interested driver = 0258ac80, driverDesire = 0, deviceDesire = 2, ourDesiredPowerState = 2, previousRequest = 66 }"
    | |   | |   "has-safe-sleep" = <>
    | |   | |   "class-code" = <00ff0000>
    | |   | |   "compatible" = <"kauai-ata">
    | |   | |   "AAPL,connector" = <"ata">
    | |   | |   "AAPL,phandle" = <ff9b6b08>
    | |   | |   "lba-48" = <>
    | |   | |   "#address-cells" = <00000001>
    | |   | |   "reg" = <00006800000000000000000000000000000000000200681000000000000000000000000000004000>
    | |   | |   "assigned-addresses" = <8200681000000000f50040000000000000004000>
    | |   | | }


if not: I got that on OsX with ioreg. what you want is:
Code:

ioreg -w 0 -l


This prints out a lot of info. Too much to put inline here. If the above section is not what you want, I have put a dump of the ioreg at http://www.maumae.net/gentoo/ioreg.txt

thanks.
Back to top
View user's profile Send private message
parry
n00b
n00b


Joined: 06 Aug 2005
Posts: 20

PostPosted: Mon Oct 31, 2005 12:04 am    Post subject: Reply with quote

Yep that's the one... Looking at it and seeing the device ID I am hopeful the patch above will work. Now only if some one gave us a bootable CD with a kernel patched with the above patch...!
Back to top
View user's profile Send private message
frigaut
n00b
n00b


Joined: 28 Oct 2005
Posts: 8
Location: Hawaii

PostPosted: Mon Oct 31, 2005 12:26 am    Post subject: Reply with quote

Cant' we do that ourselves? I have a new powerbook with a cd burner, partitioned OK (I believe) and the most recent iso image. Can't we modify the iso image and re-use it? I'm willing to do that but will need some guidance.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Oct 31, 2005 12:30 am    Post subject: Reply with quote

We had a meeting today and this was one of the topics. We're going to make an experimental InstallCD image with support in the kernel. We'll let you know here when it's available.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
frigaut
n00b
n00b


Joined: 28 Oct 2005
Posts: 8
Location: Hawaii

PostPosted: Mon Oct 31, 2005 12:35 am    Post subject: Reply with quote

cool. Thanks a bunch ! I'm willing to serve a guinea-pig :-)
Back to top
View user's profile Send private message
parry
n00b
n00b


Joined: 06 Aug 2005
Posts: 20

PostPosted: Mon Oct 31, 2005 1:49 am    Post subject: Reply with quote

JoseJX :
BenH updated me with a more complete patch for enabling the new 15' HiRes Powerbooks. His message with the patch is below. If you haven't already started on building the Install CD with previous patch, I guess it will be more useful to use the below patch instead - it enables Ethernet and AGP.

Thanks

Message Edited - I shouldn't be feeding the spammers with not 1 not 2 but 3 email addresses ;) - took them out.

Begin forwarded message:


Here's a more complete patch. There is still a known issue with 2.6.14 &
USB crashing on wakeup from sleep, but this is unrelated to the new
machines and being investigated.

Ben.

-------- Forwarded Message --------
From: Olof Johansson
To: linuxppc-dev@ozlabs.org

Subject: [PATCH] PPC: Basic enablement for new 15" PowerBook
Date: Sat, 29 Oct 2005 23:42:56 -0500

Hi,

Partial enablement patch for the new PowerBooks (hires revisions).

This enables the ATA controller, Gigabit ethernet and basic AGP setup.

Still remaining is to get the touchpad to work, the simple change of
just adding the new USB ids isn't enough. Sleep isn't working quite yet
either but this will give a kernel that can be used for installation
and basic use for now.

It's a qualified guess that the new 17" is PowerBook5,9, but until it's
confirmed there's not much use in adding it to the pmac_feature table.


Signed-off-by: Olof Johansson

Index: linux-2.6.14/arch/ppc/platforms/pmac_feature.c
===================================================================
--- linux-2.6.14.orig/arch/ppc/platforms/pmac_feature.c 2005-10-29 23:07:09.000000000 -0500
+++ linux-2.6.14/arch/ppc/platforms/pmac_feature.c 2005-10-29 23:26:33.000000000 -0500
@@ -2317,6 +2317,10 @@ static struct pmac_mb_def pmac_mb_defs[]
PMAC_TYPE_UNKNOWN_INTREPID, intrepid_features,
PMAC_MB_MAY_SLEEP | PMAC_MB_HAS_FW_POWER | PMAC_MB_MOBILE,
},
+ { "PowerBook5,8", "PowerBook G4 15\"",
+ PMAC_TYPE_UNKNOWN_INTREPID, intrepid_features,
+ PMAC_MB_MAY_SLEEP | PMAC_MB_HAS_FW_POWER | PMAC_MB_MOBILE,
+ },
{ "PowerBook6,1", "PowerBook G4 12\"",
PMAC_TYPE_UNKNOWN_INTREPID, intrepid_features,
PMAC_MB_MAY_SLEEP | PMAC_MB_HAS_FW_POWER | PMAC_MB_MOBILE,
Index: linux-2.6.14/drivers/ide/ppc/pmac.c
===================================================================
--- linux-2.6.14.orig/drivers/ide/ppc/pmac.c 2005-10-29 23:07:09.000000000 -0500
+++ linux-2.6.14/drivers/ide/ppc/pmac.c 2005-10-29 23:13:44.000000000 -0500
@@ -1664,11 +1664,16 @@ static struct macio_driver pmac_ide_maci
};

static struct pci_device_id pmac_ide_pci_match[] = {
- { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_UNI_N_ATA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
- { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_IPID_ATA100, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
- { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_K2_ATA100, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+ { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_UNI_N_ATA,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+ { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_IPID_ATA100,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+ { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_K2_ATA100,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_SH_ATA,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+ { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_IPID2_ATA,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
};

static struct pci_driver pmac_ide_pci_driver = {
Index: linux-2.6.14/drivers/net/sungem.c
===================================================================
--- linux-2.6.14.orig/drivers/net/sungem.c 2005-10-29 23:07:09.000000000 -0500
+++ linux-2.6.14/drivers/net/sungem.c 2005-10-29 23:12:58.000000000 -0500
@@ -128,6 +128,8 @@ static struct pci_device_id gem_pci_tbl[
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
{ PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_SH_SUNGEM,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
+ { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_IPID2_GMAC,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
{0, }
};

Index: linux-2.6.14/include/linux/pci_ids.h
===================================================================
--- linux-2.6.14.orig/include/linux/pci_ids.h 2005-10-29 23:07:09.000000000 -0500
+++ linux-2.6.14/include/linux/pci_ids.h 2005-10-29 23:12:58.000000000 -0500
@@ -913,6 +915,10 @@
#define PCI_DEVICE_ID_APPLE_SH_FW 0x0052
#define PCI_DEVICE_ID_APPLE_U3L_AGP 0x0058
#define PCI_DEVICE_ID_APPLE_U3H_AGP 0x0059
+#define PCI_DEVICE_ID_APPLE_IPID2_AGP 0x0066
+#define PCI_DEVICE_ID_APPLE_IPID2_ATA 0x0069
+#define PCI_DEVICE_ID_APPLE_IPID2_FW 0x006a
+#define PCI_DEVICE_ID_APPLE_IPID2_GMAC 0x006b
#define PCI_DEVICE_ID_APPLE_TIGON3 0x1645

#define PCI_VENDOR_ID_YAMAHA 0x1073
Index: linux-2.6.14/drivers/char/agp/uninorth-agp.c
===================================================================
--- linux-2.6.14.orig/drivers/char/agp/uninorth-agp.c 2005-10-29 23:07:09.000000000 -0500
+++ linux-2.6.14/drivers/char/agp/uninorth-agp.c 2005-10-29 23:12:58.000000000 -0500
@@ -557,6 +557,10 @@ static struct agp_device_ids uninorth_ag
.device_id = PCI_DEVICE_ID_APPLE_U3H_AGP,
.chipset_name = "U3H",
},
+ {
+ .device_id = PCI_DEVICE_ID_APPLE_IPID2_AGP,
+ .chipset_name = "UniNorth/Intrepid2",
+ },
};

static int __devinit agp_uninorth_probe(struct pci_dev *pdev, :) :) :)


Last edited by parry on Mon Oct 31, 2005 2:23 am; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Oct 31, 2005 2:20 am    Post subject: Reply with quote

Yep, I'm on the PPC dev ml. ;)

Thanks though.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
parry
n00b
n00b


Joined: 06 Aug 2005
Posts: 20

PostPosted: Mon Oct 31, 2005 2:22 am    Post subject: Reply with quote

I thought so but after posting the reply..! Any way let us know once the CD is ready. Thanks!
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Nov 07, 2005 8:36 pm    Post subject: Reply with quote

http://gentooexperimental.org/~pylon/ISOs/

Thank Pylon for his hard work and please let us know if it boots. Note that you'll still need to patch the kernel sources yourself when installing, the ebuilds still do not contain the patch. (We're waiting for it to be accepted upstream.)
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
frigaut
n00b
n00b


Joined: 28 Oct 2005
Posts: 8
Location: Hawaii

PostPosted: Mon Nov 07, 2005 10:37 pm    Post subject: Reply with quote

I don't know Pylon, but I am certainly grateful. Thanks!

Could you provide me with the exact patch instruction and when I have to do it?
On top of it, I do not have the latest patch. The one a few posts above is incomplete.
Thanks !
Francois
Back to top
View user's profile Send private message
parry
n00b
n00b


Joined: 06 Aug 2005
Posts: 20

PostPosted: Mon Nov 07, 2005 11:22 pm    Post subject: Reply with quote

Alright, Thanks Pylon and JoseJX. Downloading now.. Will post how it goes a little while later...
Back to top
View user's profile Send private message
parry
n00b
n00b


Joined: 06 Aug 2005
Posts: 20

PostPosted: Tue Nov 08, 2005 1:01 am    Post subject: Reply with quote

Well no luck with this CD - doesn't boot, errors out with a failed to load ramdisk image message. (Unknown or corrupt filesystem)
Looks like the ppc32.igz is not in correct format, I tried on 2 different CDs.
Back to top
View user's profile Send private message
andybotting
n00b
n00b


Joined: 06 Jun 2005
Posts: 16

PostPosted: Wed Nov 09, 2005 2:33 am    Post subject: Reply with quote

I'm considering getting one of these new powerbooks.

Keep us posted on how you get on ;)
Back to top
View user's profile Send private message
parry
n00b
n00b


Joined: 06 Aug 2005
Posts: 20

PostPosted: Wed Nov 09, 2005 2:49 am    Post subject: Reply with quote

frigaut - Did you manage to boot the CD posted by Pylon - As I said it fails to boot for me.

Pylon - If you are reading, let me know if there is a plan for new CD. Thanks!
Back to top
View user's profile Send private message
parry
n00b
n00b


Joined: 06 Aug 2005
Posts: 20

PostPosted: Wed Nov 09, 2005 3:38 am    Post subject: Reply with quote

Just checked Pylon's site - there was a new ISO dated Nov 8 which I tried out.

Hurrah! I was able to boot the machine, and here is what worked and what didn't

Works
--------
a) IDE controller was detected - Disk drive was detected as hda and CD drive as hdb - UDMA5 and UDMA4 enabled respectively.
b) Display worked fine - without having to pass ofonly option I got nice native resolution
c) SunGEM Ethernet adaptor worked fine - I was able to connect to the internet.

Problems
a) ochi1394 - Don't know if it's a real problem but I got an error in dmesg - Unexpected PCI resource length 1000
b) fdisk /dev/hda was not able to see any partitions on the device at all - I would think it should have shown me the MAC OS HFS+ partition?
c) This being an experimental CD - I got some harmless, this not found, that not found type messages - that's fine I think.

If the blank partition is OK - I can try to install the whole thing. Would I be able to emerge the kernel which comes with the live CD? Any other problems that any one can think of?

Thanks a lot, appreciate all your help!

Parag
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Nov 09, 2005 4:08 am    Post subject: Reply with quote

The blank partition is actually because you didn't read the handbook. ;) Macs use an Apple partitioning scheme, so to look at these partitions, you need to use mac-fdisk, not fdisk.

You can emerge a 2.6.14 kernel (you'll have to unmask it) but you'll need to manually patch it with this patch: http://ozlabs.org/pipermail/linuxppc-dev/2005-October/020222.html
(Sorry, fixed the patch link)
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml


Last edited by JoseJX on Thu Nov 10, 2005 12:57 am; edited 1 time in total
Back to top
View user's profile Send private message
parry
n00b
n00b


Joined: 06 Aug 2005
Posts: 20

PostPosted: Wed Nov 09, 2005 2:33 pm    Post subject: Reply with quote

Ok, brown paper bag for me :oops: ! Good to hear that there are are no show stoppers. Will install it soon and report back my experiences. Again thanks for your help.
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
Goto page 1, 2  Next
Page 1 of 2

 
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