Jump to content

CardBus/PCMCIA PC Cards for Leopard


~Eureka
 Share

1,073 posts in this topic

Recommended Posts

I tested all revs.

But none worked until now.

I have a Toshiba Satellite with PCI Card 104c 8039.

 

The steps that I am doing are following.

 

Mv IOPC * ~ junior / bkpiopcc /; cp-rp ~ * junior/Downloads/rev4/IOPC. ; Rm-rf / System / Library / Extensions.mkext; chmod-R 755 IOPC *; chown-R root: wheel IOPC *; reboot

 

When he returns restart the system normally without kernel panic.

 

But without running the PCI Card.

 

Some information.

 

Juniors-mac-pro: ~ # sysctl-b hw.model

Mac Pro

Juniors-mac-pro: ~ #

 

Juniors-mac-pro: ~ root # dmesg | grep PC

 

Extension "com.apple.driver.ApplePCIConfigurator" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.

IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0

Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/AppleATADiskDriver/IOATABlockStorageDevice/IOBlockStorageDriver/FUJITSU MHV2160BT PL FUJITSU MHV2160BT PL/IOFDiskPartitionScheme/Untitled 2@2

FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d1581295; max speed s400.

 

 

 

Thank you to all.

Link to comment
Share on other sites

Hi Chun-Nan,I've just tried it, but still the same error :( I don't have to put my IO and memory windows values into IOPCCard Info.plist ?Regards,Mariusz.

Hi Mariusz,

 

Here is the test IOPCIFamily. Try this one with IOPCCardFamily on rev4 and boot with "-s" to enter single user mode. Don't make any change on info.plist. Let me know the result. Don't forget to backup your original file before trying it.

 

Chun-Nan

I tested all revs.But none worked until now.I have a Toshiba Satellite with PCI Card 104c 8039.The steps that I am doing are following.Mv IOPC * ~ junior / bkpiopcc /; cp-rp ~ * junior/Downloads/rev4/IOPC. ; Rm-rf / System / Library / Extensions.mkext; chmod-R 755 IOPC *; chown-R root: wheel IOPC *; rebootWhen he returns restart the system normally without kernel panic.But without running the PCI Card.Some information.Juniors-mac-pro: ~ # sysctl-b hw.modelMac ProJuniors-mac-pro: ~ # Juniors-mac-pro: ~ root # dmesg | grep PCExtension "com.apple.driver.ApplePCIConfigurator" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/AppleATADiskDriver/IOATABlockStorageDevice/IOBlockStorageDriver/FUJITSU MHV2160BT PL FUJITSU MHV2160BT PL/IOFDiskPartitionScheme/Untitled 2@2FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d1581295; max speed s400.Thank you to all.

Hi fakedotbr,

 

"IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0" is known issue. It means your pccard failed on checking before starting. I am trying to find out why it happens.

 

Chun-Nan

IOPCIFamily_test_Mariusz.zip

Link to comment
Share on other sites

Hi Mariusz,

 

Here is the test IOPCIFamily. Try this one with IOPCCardFamily on rev4 and boot with "-s" to enter single user mode. Don't make any change on info.plist. Let me know the result. Don't forget to backup your original file before trying it.

 

Chun-Nan

 

 

Chun-Nan

 

Here is the dmesg from:

- Original Info.plist

npvhash=4095
hi mem tramps at 0xffe00000
PAE enabled
Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386
standard timeslicing quantum is 10000 us
vm_page_bootstrap: 510528 free pages and 13760 wired pages
mig_table_max_displ = 79
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled
Loading security extension com.apple.nke.applicationfirewall
Loading security extension com.apple.security.seatbelt
calling mpo_policy_init for mb
Seatbelt MACF policy initialized
Security policy loaded: Seatbelt Policy (mb)
Loading security extension com.apple.security.TMSafetyNet
calling mpo_policy_init for TMSafetyNet
Security policy loaded: Safety net for Time Machine (TMSafetyNet)
Copyright © 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

MAC Framework successfully initialized
using 10485 buffer headers and 4096 cluster IO buffer headers
IOAPIC: Version 0x20 Vectors 64:87
ACPI: System State [s0 S3 S4 S5] (S3)
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Starting AppleACPIPS2Nub
Found mouse PNP device
AppleACPIPS2Nub startup complete
mbinit: done
Security auditing service present
BSM auditing present
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
 added bridge 0x449e800 bus 7:7 to index 1
 added bridge 0x44dc000 bus 5:6 to index 2
 added bridge 0x44ccc00 bus 3:4 to index 3
 added bridge 0x4482800 bus 2:2 to index 4
 added bridge 0x44d9c00 bus 1:1 to index 5
 added bridge 0x44dcc00 bus 1:1 to index 6
From path: "uuid", 
Waiting for boot volume with UUID 252724EC-A21D-3FC0-94F9-BCEC237771D7
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0
FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d13f83df; max speed s400.
Extension "com.apple.iokit.IOBluetoothFamily" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.iTunesPhoneDriver" has no explicit kernel dependency; using version 6.0.
E:[AppleUSBBluetoothHCIController][FindInterfaces] mInt0InterruptMaxPacketSize = 16
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/TOSHIBA MK1237GSX Media/IOFDiskPartitionScheme/Untitled 3@3
BSD root: disk0s3, major 14, minor 3

 

- and modified Info.plist

npvhash=4095
hi mem tramps at 0xffe00000
PAE enabled
Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386
standard timeslicing quantum is 10000 us
vm_page_bootstrap: 510528 free pages and 13760 wired pages
mig_table_max_displ = 79
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled
Loading security extension com.apple.nke.applicationfirewall
Loading security extension com.apple.security.seatbelt
calling mpo_policy_init for mb
Seatbelt MACF policy initialized
Security policy loaded: Seatbelt Policy (mb)
Loading security extension com.apple.security.TMSafetyNet
calling mpo_policy_init for TMSafetyNet
Security policy loaded: Safety net for Time Machine (TMSafetyNet)
Copyright © 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

MAC Framework successfully initialized
using 10485 buffer headers and 4096 cluster IO buffer headers
IOAPIC: Version 0x20 Vectors 64:87
ACPI: System State [s0 S3 S4 S5] (S3)
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.mbinit: done
Security auditing service present
BSM auditing present

Starting AppleACPIPS2Nub
Found mouse PNP device
AppleACPIPS2Nub startup complete
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
From path: "uuid", 
Waiting for boot volume with UUID 252724EC-A21D-3FC0-94F9-BCEC237771D7
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
 added bridge 0x449ec00 bus 7:7 to index 1
 added bridge 0x4461c00 bus 5:6 to index 2
 added bridge 0x44b9c00 bus 3:4 to index 3
 added bridge 0x44ba400 bus 2:2 to index 4
 added bridge 0x44f1c00 bus 1:1 to index 5
 added bridge 0x446f800 bus 1:1 to index 6
IOPCCardBridge::getOFConfigurationSettings: failed to configure the machine
FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d13f83df; max speed s400.
Extension "com.apple.driver.iTunesPhoneDriver" has no explicit kernel dependency; using version 6.0.
Extension "com.apple.iokit.IOBluetoothFamily" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
E:[AppleUSBBluetoothHCIController][FindInterfaces] mInt0InterruptMaxPacketSize = 16
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/TOSHIBA MK1237GSX Media/IOFDiskPartitionScheme/Untitled 3@3
BSD root: disk0s3, major 14, minor 3

 

Regards,

Mariusz.

Link to comment
Share on other sites

Hi Chun-Nan,

 

I've tried rev4 - after hex-editing, it behaves the same as the stock kext when hexedited - namely start failed.

If you can upload the source for it, I'll add my id's that way and compile debug versions. Hopefully we can get more info out of it.

 

I did not edit the Info.plist file.

 

Thanks,

EqUaTe

Link to comment
Share on other sites

Hi Chun-Nan,I've tried rev4 - after hex-editing, it behaves the same as the stock kext when hexedited - namely start failed.If you can upload the source for it, I'll add my id's that way and compile debug versions. Hopefully we can get more info out of it.I did not edit the Info.plist file.Thanks,EqUaTe

Hi EqUaTe,

 

I have updated rev5 and source code.

 

Chun-Nan

 

Hi Mariusz, fakedotbr, and djmastera2000,

 

I am still trying to find out the reason why it caused "invalid sub/cardbus/pci settings" error.I have updated rev5. You can give a try and let me know the result. Thanks.

 

Chun-Nan

Link to comment
Share on other sites

cd /System/Library/Extensions/ ; rm -rf IOPC*; cp -rp ~junior/Downloads/rev5/IOPC* . ; chown-R root:wheel IOPC* ; rm -rf /System/Library/Extensions.mkext ; diskutil repairPermissions ; reboot

 

 

dmesg original:

 

juniors-mac-pro:~ root# cat dmesg.orig 
Kernel Version 9.1.0: Sat Nov 17 02:56:34 SCT 2007; made by ToH:xnu-1228.0.2~1/BUILD/obj/RELEASE_I386
standard timeslicing quantum is 10000 us
vm_page_bootstrap: 382138 free pages and 11078 wired pages
mig_table_max_displ = 79
 HTT: 2 cores per package; 2 logical cpus per package
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
ACPI CA 20060421
AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled
Loading security extension com.apple.security.TMSafetyNet
calling mpo_policy_init for TMSafetyNet
Security policy loaded: Safety net for Time Machine (TMSafetyNet)
Loading security extension com.apple.nke.applicationfirewall
Loading security extension com.apple.security.seatbelt
calling mpo_policy_init for mb
Seatbelt MACF policy initialized
Security policy loaded: Seatbelt Policy (mb)
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

MAC Framework successfully initialized
using 7864 buffer headers and 4096 cluster IO buffer headers
IOAPIC: Version 0x20 Vectors 64:87
ACPI: System State [S0 S3 S4 S5] (S3)
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.ApplePCIConfigurator" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
mbinit: done
Security auditing service present
BSM auditing present
From path: "uuid", 
Waiting for boot volume with UUID AE987864-7771-3CF7-924F-C09C825AFABC
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
Debug driver registered: AppleUSBUHCI
IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/AppleATADiskDriver/IOATABlockStorageDevice/IOBlockStorageDriver/FUJITSU MHV2160BT PL FUJITSU MHV2160BT PL/IOFDiskPartitionScheme/Untitled 2@2
BSD root: disk0s2, major 14, minor 2
jnl: unknown-dev: replay_journal: from: 1130496 to: 2213888 (joffset 0x120000)
FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d1581295; max speed s400.
jnl: unknown-dev: journal replay done.
HFS: Removed 1 orphaned unlinked files or directories 
Jettisoning kernel linker.
Resetting IOCatalogue.
GFX0: family specific matching fails
display: family specific matching fails
Matching service count = 2
Matching service count = 4
Matching service count = 4
Matching service count = 4
Matching service count = 4
Matching service count = 4
GFX0: family specific matching fails
display: family specific matching fails
ACPI_SMC_CtrlLoop::initCPUCtrlLoop - pmCPUControl (PMIOCSETPSTATETABLE) returned 0x3bb0900
ALCinject: Starting.
ALCinject: Setting built-in=<data not shown>
ALCinject: Setting layout-id=<data not shown>
GFX0: family specific matching fails
display: family specific matching fails
ApplePS2Trackpad: Synaptics TouchPad v6.2
GFX0: family specific matching fails
display: family specific matching fails
GFX0: family specific matching fails
Intel82557: Self test reports invalid ROM contents
Intel82557: Self test reports internal register failure
Intel82557: Self test reports serial subsystem failure
Intel82557: Self test failed
dsmos: Initializing...
dsmos: Hook and decryption contexts set!
dsmos: Starting...
GFX0: match category IOFramebuffer exists
NTFS driver 2.0 [Flags: R/O].
NTFS volume name , version 3.1.
display: Not usable
Intel82557: Ethernet address 00:a0:d1:58:12:95
System Doze

 

 

rev5

 made by ToH:xnu-1228.0.2~1/BUILD/obj/RELEASE_I386
standard timeslicing quantum is 10000 us
vm_page_bootstrap: 382138 free pages and 11078 wired pages
mig_table_max_displ = 79
 HTT: 2 cores per package; 2 logical cpus per package
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
ACPI CA 20060421
AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled
Loading security extension com.apple.security.TMSafetyNet
calling mpo_policy_init for TMSafetyNet
Security policy loaded: Safety net for Time Machine (TMSafetyNet)
Loading security extension com.apple.nke.applicationfirewall
Loading security extension com.apple.security.seatbelt
calling mpo_policy_init for mb
Seatbelt MACF policy initialized
Security policy loaded: Seatbelt Policy (mb)
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

MAC Framework successfully initialized
using 7864 buffer headers and 4096 cluster IO buffer headers
IOAPIC: Version 0x20 Vectors 64:87
ACPI: System State [S0 S3 S4 S5] (S3)
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.ApplePCIConfigurator" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
mbinit: done
Security auditing service present
BSM auditing present
From path: "uuid", 
Waiting for boot volume with UUID AE987864-7771-3CF7-924F-C09C825AFABC
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0
Debug driver registered: AppleUSBUHCI
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/AppleATADiskDriver/IOATABlockStorageDevice/IOBlockStorageDriver/FUJITSU MHV2160BT PL FUJITSU MHV2160BT PL/IOFDiskPartitionScheme/Untitled 2@2
BSD root: disk0s2, major 14, minor 2
FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d1581295; max speed s400.
Jettisoning kernel linker.
Resetting IOCatalogue.
GFX0: family specific matching fails
display: family specific matching fails
Matching service count = 2
Matching service count = 4
Matching service count = 4
Matching service count = 4
Matching service count = 4
Matching service count = 4
GFX0: family specific matching fails
display: family specific matching fails
ACPI_SMC_CtrlLoop::initCPUCtrlLoop - pmCPUControl (PMIOCSETPSTATETABLE) returned 0x3b98e00
GFX0: family specific matching fails
display: family specific matching fails
GFX0: family specific matching fails
display: family specific matching fails
ApplePS2Trackpad: Synaptics TouchPad v6.2
ALCinject: Starting.
ALCinject: Setting built-in=<data not shown>
ALCinject: Setting layout-id=<data not shown>
GFX0: family specific matching fails
display: family specific matching fails
GFX0: family specific matching fails
display: family specific matching fails
GFX0: family specific matching fails
display: match category IOFramebuffer exists
Intel82557: Self test reports invalid ROM contents
Intel82557: Self test reports internal register failure
Intel82557: Self test reports serial subsystem failure
Intel82557: Self test failed
GFX0: family specific matching fails
dsmos: Initializing...
dsmos: Hook and decryption contexts set!
dsmos: Starting...
Intel82557: Ethernet address 00:a0:d1:58:12:95
GFX0: match category IOFramebuffer exists
NTFS driver 2.0 [Flags: R/O].
NTFS volume name , version 3.1.
display: Not usable

 

 

Thansk a lot

Link to comment
Share on other sites

Hi Mariusz, fakedotbr, and djmastera2000,

 

Here is the test IOPCIFamily. Try this one with IOPCCardFamily on rev5 and boot with "-s" to enter single user mode. Don't make any change on info.plist. Let me know the result. Don't forget to backup your original file before trying it. Thanks.

 

Chun-Nan

Hi Chun-Nan,

I've just tried IOPCCard from rev5 together with last IOPCIFamily and still no go, here is the dmesg:

npvhash=4095
hi mem tramps at 0xffe00000
PAE enabled
Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386
standard timeslicing quantum is 10000 us
vm_page_bootstrap: 510528 free pages and 13760 wired pages
mig_table_max_displ = 79
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled
Loading security extension com.apple.nke.applicationfirewall
Loading security extension com.apple.security.seatbelt
calling mpo_policy_init for mb
Seatbelt MACF policy initialized
Security policy loaded: Seatbelt Policy (mb)
Loading security extension com.apple.security.TMSafetyNet
calling mpo_policy_init for TMSafetyNet
Security policy loaded: Safety net for Time Machine (TMSafetyNet)
Copyright © 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

MAC Framework successfully initialized
using 10485 buffer headers and 4096 cluster IO buffer headers
IOAPIC: Version 0x20 Vectors 64:87
ACPI: System State [s0 S3 S4 S5] (S3)
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.mbinit: done
Security auditing service present
BSM auditing present

Starting AppleACPIPS2Nub
Found mouse PNP device
AppleACPIPS2Nub startup complete
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
From path: "uuid", 
Waiting for boot volume with UUID 252724EC-A21D-3FC0-94F9-BCEC237771D7
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
 Regs:
 BUS: prim/sec/sub = 07:00:00
IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x7
FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d13f83df; max speed s400.
Extension "com.apple.iokit.IOBluetoothFamily" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
E:[AppleUSBBluetoothHCIController][FindInterfaces] mInt0InterruptMaxPacketSize = 16
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/TOSHIBA MK1237GSX Media/IOFDiskPartitionScheme/Untitled 3@3
BSD root: disk0s3, major 14, minor 3
Extension "com.apple.driver.iTunesPhoneDriver" has no explicit kernel dependency; using version 6.0.

 

Regards,

Mariusz.

Link to comment
Share on other sites

mariusz:

which pcmcia controller do you have?

in your signature i've noticed you have a nic intel pro 1000, can you tell me which model/vendor and how do you get it working?

i get kernel panic on mine. (intel pro 1000pm)

 

Chun Nan:

rev 3 for me works quite good but sometimes i get kernel panic when pcmcia is plugged in dawin startup

if leo is already booted, and i plug the pcmcia sometimes the pc freezes and i can only switch off the computer

question: what about the device memory and i/o? does they need to be changed with my linux/windows memory dumps?or i should leave the default values? do you suggest to use rev 5?

Link to comment
Share on other sites

Hi Chun-nan.

 

I received another message in dmesg after replace the IOPCIFamily the test1.

 

There appeared kernel panic, but have not worked.

 

Woe is the dmesg.

 

 

juniors-mac-pro:~ root# cat dmesg.test1

npvhash=4095

hi mem tramps at 0xffe00000

PAE enabled

64 bit mode enabled

HPET enabled on your system

enabling INTEL features

Darwin Kernel Version 9.1.0: Sat Nov 17 02:56:34 SCT 2007; made by ToH:xnu-1228.0.2~1/BUILD/obj/RELEASE_I386

standard timeslicing quantum is 10000 us

vm_page_bootstrap: 382138 free pages and 11078 wired pages

mig_table_max_displ = 79

HTT: 2 cores per package; 2 logical cpus per package

Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.

ACPI CA 20060421

AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled

AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled

Loading security extension com.apple.security.TMSafetyNet

calling mpo_policy_init for TMSafetyNet

Security policy loaded: Safety net for Time Machine (TMSafetyNet)

Loading security extension com.apple.nke.applicationfirewall

Loading security extension com.apple.security.seatbelt

calling mpo_policy_init for mb

Seatbelt MACF policy initialized

Security policy loaded: Seatbelt Policy (mb)

Copyright © 1982, 1986, 1989, 1991, 1993

The Regents of the University of California. All rights reserved.

 

MAC Framework successfully initialized

using 7864 buffer headers and 4096 cluster IO buffer headers

IOAPIC: Version 0x20 Vectors 64:87

ACPI: System State [s0 S3 S4 S5] (S3)

Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.

Extension "com.apple.driver.ApplePCIConfigurator" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.

Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.

Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.

mbinit: done

Security auditing service present

BSM auditing present

Regs:

BUS: prim/sec/sub = 07:00:00

From path: "uuid",

Waiting for boot volume with UUID AE987864-7771-3CF7-924F-C09C825AFABC

Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>

Debug driver registered: AppleUSBUHCI

IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x7

FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d1581295; max speed s400.

Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/AppleATADiskDriver/IOATABlockStorageDevice/IOBlockStorageDriver/FUJITSU MHV2160BT PL FUJITSU MHV2160BT PL/IOFDiskPartitionScheme/Untitled 2@2

BSD root: disk0s2, major 14, minor 2

 

In IOPCCardBridge show 0x7. :D

 

Thanks a lot

Link to comment
Share on other sites

mariusz:

which pcmcia controller do you have?

in your signature i've noticed you have a nic intel pro 1000, can you tell me which model/vendor and how do you get it working?

i get kernel panic on mine. (intel pro 1000pm)

Hi,

 

my pcmcia is:

07:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
   Subsystem: Toshiba America Info Systems Unknown device ff10
   Flags: bus master, medium devsel, latency 168, IRQ 18
   Memory at f0906000 (32-bit, non-prefetchable) [size=4K]
   Bus: primary=07, secondary=08, subordinate=0b, sec-latency=176
   Memory window 0: 88000000-8bfff000 (prefetchable)
   Memory window 1: 8c000000-8ffff000
   I/O window 0: 00006000-000060ff
   I/O window 1: 00006400-000064ff
   16-bit legacy interface ports at 0001

 

and Lan adapter is:

Intel PRO 1000/PL 
PCI\VEN_8086&DEV_109A&SUBSYS_FF101179&REV_00\4&192AC53F&0&00E0

 

i'ts working out of the box, no change/kext modification was required.

 

Regards,

Mariusz.

Link to comment
Share on other sites

Hi EqUaTe,

 

I have updated rev5 and source code.

 

Chun-Nan

 

 

Hi Chun-Nan,

 

I've tried rev5 with hexediting - looks the same as rev4..

I also couldn't get IOPCCardFamily to build - I got an error about AbsoluteTime (and a couple of others, I can't remember the details at the moment though).

This is (obviously) different from with rev3.

EDIT: This was my fault - hadn't copied the modified source files in correctly. *whistles*

Will report back tomorrow. :D

 

I think I may need to leave off further work on this until Thursday - at the moment I only have wireless connectivity available, and only in other OS's than OSX.

 

 

Thanks for the efforts though, and I'll be keeping an eye on any updates :)

 

 

Thanks,

 

EqUaTe

Edited by EqUaTe
Link to comment
Share on other sites

Hi Mariusz, fakedotbr, and djmastera2000,

 

Here is another test IOPCIFamily. Try this one with IOPCCardFamily on rev5 and boot with "-s" to enter single user mode. Look for the string "IOPCIConfigurator debug: BUS: prim/sec/sub = ......." Don't make any change on info.plist.

 

Let me know the result. Don't forget to backup your original file before trying it. Thanks.

 

Chun-Nan

 

IOPCIFamily_test2.zip

Link to comment
Share on other sites

Hi Mariusz, fakedotbr, and djmastera2000,

 

Here is another test IOPCIFamily. Try this one with IOPCCardFamily on rev5 and boot with "-s" to enter single user mode. Look for the string "IOPCIConfigurator debug: BUS: prim/sec/sub = ......." Don't make any change on info.plist.

 

Let me know the result. Don't forget to backup your original file before trying it. Thanks.

 

Chun-Nan

Hi Chun-Nan,

 

find below result from test2 + rev5:

 

npvhash=4095
hi mem tramps at 0xffe00000
PAE enabled
Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386
standard timeslicing quantum is 10000 us
vm_page_bootstrap: 510528 free pages and 13760 wired pages
mig_table_max_displ = 79
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled
Loading security extension com.apple.nke.applicationfirewall
Loading security extension com.apple.security.seatbelt
calling mpo_policy_init for mb
Seatbelt MACF policy initialized
Security policy loaded: Seatbelt Policy (mb)
Loading security extension com.apple.security.TMSafetyNet
calling mpo_policy_init for TMSafetyNet
Security policy loaded: Safety net for Time Machine (TMSafetyNet)
Copyright © 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

MAC Framework successfully initialized
using 10485 buffer headers and 4096 cluster IO buffer headers
IOAPIC: Version 0x20 Vectors 64:87
ACPI: System State [s0 S3 S4 S5] (S3)
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.Starting AppleACPIPS2Nub
Found mouse PNP device
AppleACPIPS2Nub startup complete

IOPCIConfigurator debug: BUS: prim/sec/sub = 00:00:00 (before)
IOPCIConfigurator debug: BUS: prim/sec/sub = 07:06:10 (after)
mbinit: done
Security auditing service present
BSM auditing present
From path: "uuid", 
Waiting for boot volume with UUID 252724EC-A21D-3FC0-94F9-BCEC237771D7
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
IOPCCardBridge::start failed
FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d13f83df; max speed s400.
Extension "com.apple.driver.iTunesPhoneDriver" has no explicit kernel dependency; using version 6.0.
Extension "com.apple.iokit.IOBluetoothFamily" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
E:[AppleUSBBluetoothHCIController][FindInterfaces] mInt0InterruptMaxPacketSize = 16Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/TOSHIBA MK1237GSX Media/IOFDiskPartitionScheme/Untitled 3@3
BSD root: disk0s3, major 14, minor 2

 

 

--------- EDIT ---------

 

I've tried with rev3 which caused kernel panic (see attached picture).

 

 

Regards,

mariusz.

post-18185-1200429041_thumb.jpg

Edited by Mariusz
Link to comment
Share on other sites

--------- EDIT ---------I've tried with rev3 which caused kernel panic (see attached picture).Regards,mariusz.
Thanks. All the value (prim/sec/sub) are 0 according to "IOPCIConfigurator debug: BUS: prim/sec/sub = 00:00:00 (before)". I tried to put value back and obviously it didn't work. I will keep looking for the reason.Chun-Nan
Hi Chun-nan.I got thisIOPCCardBridge::start failedThanks
Thanks.Chun-Nan
Link to comment
Share on other sites

hi Chun-Nan:huh:

thank you first for your good works. i wonder if my Texas Instruments PCIxx12 Cardbus/PCMCIA Controller on acer aspire 5570 can work with your IOPCCardFamily_chunnan_rev? if it could, which IOPCCardFamily_chunnan_rev can do? IOPCCardFamily_chunnan_rev3? or IOPCCardFamily_chunnan_rev5? thank you very much. i've got kernel panic too many times, almost give it up.

Link to comment
Share on other sites

Hi guys,grunster seemed to overcome the issue of "IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0".http://forum.insanelymac.com/index.php?showtopic=81857Chun-Nan

hi Chun-Nan:huh: thank you first for your good works. i wonder if my Texas Instruments PCIxx12 Cardbus/PCMCIA Controller on acer aspire 5570 can work with your IOPCCardFamily_chunnan_rev? if it could, which IOPCCardFamily_chunnan_rev can do? IOPCCardFamily_chunnan_rev3? or IOPCCardFamily_chunnan_rev5? thank you very much. i've got kernel panic too many times, almost give it up.
Hi monkeystar,You can try rev5 first. When trying the rev5, make sure you replace both IOPCIFamily and IOPCCardFamily from rev5. Don't mix it with rev3 or it won't work.If you have tried to make your pccard work by replacing other kexts, make sure you restore them before trying the rev5.Chun-Nan
mariusz:which pcmcia controller do you have?in your signature i've noticed you have a nic intel pro 1000, can you tell me which model/vendor and how do you get it working?i get kernel panic on mine. (intel pro 1000pm)Chun Nan:rev 3 for me works quite good but sometimes i get kernel panic when pcmcia is plugged in dawin startupif leo is already booted, and i plug the pcmcia sometimes the pc freezes and i can only switch off the computerquestion: what about the device memory and i/o? does they need to be changed with my linux/windows memory dumps?or i should leave the default values? do you suggest to use rev 5?
Hi snam11,You can try rev5 to see if it works better.I don't think changing device memory and i/o will make any difference but you can try. I have made it to use "ACP2,1" as default on the rev5.While using the rev5, make sure you replace both IOPCIFamily and IOPCCardFamily from the rev5 at the same time.Chun-Nan
Link to comment
Share on other sites

Hi Mariusz, fakedotbr, and djmastera2000,

 

Here is the test3 IOPCIFamily. Try this one with IOPCCardFamily on rev5 and boot with "-s" to enter single user mode. Don't make any change on info.plist.

 

Let me know the result. Don't forget to backup your original file before trying it. Thanks.

 

Chun-Nan

Hi Chun-Nan,

 

PCMCIA slot is recognized!!! ... but USB PCMCIA adapter is not :D

 

Here is dmesg for it:

mbinit: done
Security auditing service present
BSM auditing present
Starting AppleACPIPS2Nub
Found mouse PNP device
AppleACPIPS2Nub startup complete
From path: "uuid", 
Waiting for boot volume with UUID 252724EC-A21D-3FC0-94F9-BCEC237771D7
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
 added bridge 0x449a400 bus 7:7 to index 1
 added bridge 0x44c2800 bus 5:6 to index 2
 added bridge 0x44ad800 bus 3:4 to index 3
 added bridge 0x4582400 bus 2:2 to index 4
 added bridge 0x4474400 bus 1:1 to index 5
 added bridge 0x44b4000 bus 0:0 to index 6
 added bridge 0x44b1400 bus 0:0 to index 1
pciBridgeCheckConfiguration(bus 7, state 0)
pciBridgeAllocateResource(bus 7, state 0)
Allocating resources on bus 7
root bridge resource MEM f0900000 len 100000
root bridge resource PFM fff00000 len 200000
root bridge resource I/O f000 len ffff2000
root bridge resource BUS 7 len 1
 clipped bridge MEM range head to f0904000:fc000 for f0900000:4000 overlap 4000
 MEM: sub-range outside parent range: 0xf0900000:0x4000
 MEM: 2 sub-range limited to 7d380 each
 I/O: 1 sub-range limited to ffff2000 each
 BUS: 1 sub-range limited to 0 each
 MEM: allocated block f0906000:1000
pciBridgeDistributeResource(bus 7, state 2)
Enabling bridge serving bus 7
 Bridge Control    = 0000
 Bridge Command    = 00100007
Distribute resources for bus 7
 BUS: total size 0, required size 1, maximize count 1
 BUS: assigned block 8:1
Applying config for device 7:6:3
 bar 0x10 = f0905800
 Device Command = 02100000
 changed LT to 64 PCI clocks
Applying config for device 7:6:2
 bar 0x10 = f0904000
 Device Command = 02100000
 changed LT to 64 PCI clocks
Applying config for device 7:6:1
 bar 0x10 = f0905000
 bar 0x14 = f0900000
 Device Command = 02100000
 changed LT to 64 PCI clocks
Applying config for bridge serving bus 8
 MEM: start/size = 00000000:00100000
 I/O: start/size = 00000000:00001000
 BUS: start/size = 00000008:00000001
 Regs:
 BUS: prim/sec/sub = 07:08:08
Enabling bridge serving bus 8
 Bridge Command    = 02100000
 changed LT to 64 PCI clocks
 changed SEC-LT to 64 PCI clocks
PCI configuration changed (bridge=0 device=3 yenta=1)
IOPCCard info:   Intel PCIC probe:   TI XX12 rev 00
FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d13f83df; max speed s400.
IOPCCard info:   cs: cb_alloc(bus 8): unable to create cardbus nub for socket 0
Extension "com.apple.iokit.IOBluetoothFamily" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
E:[AppleUSBBluetoothHCIController][FindInterfaces] mInt0InterruptMaxPacketSize = 16
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/TOSHIBA MK1237GSX Media/IOFDiskPartitionScheme/Untitled 3@3
BSD root: disk0s3, major 14, minor 3

IOPCCard: shutting down socket 0. [u][b][THIS IS when I remove USB adapter][/b][/u]

IOPCCard info:   cs: cb_alloc(bus 8): unable to create cardbus nub for socket 0 [u][b][THIS IS when I instert USB adapter][/b][/u]

Extension "com.apple.driver.iTunesPhoneDriver" has no explicit kernel dependency; using version 6.0.

 

You are preety close man!! Very good job!!

 

Regards,

Mariusz.

Link to comment
Share on other sites

 Share

×
×
  • Create New...