Jump to content

CardBus/PCMCIA PC Cards for Leopard


~Eureka
 Share

1,073 posts in this topic

Recommended Posts

I tested a version test3 along with the version 5.

 

He has returned something more interesting now.

 

But it is not working and not appearing in the System Profiler.

 

 

dmesg orig rev5:

 

d 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.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 (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.
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.
IOPCIConfigurator debug: BUS: prim/sec/sub = 00:00:00 (before)
IOPCIConfigurator debug: BUS: prim/sec/sub = 07:06:10 (after)
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::start failed
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
ACPI_SMC_CtrlLoop::initCPUCtrlLoop - pmCPUControl (PMIOCSETPSTATETABLE) returned 0x3bece00
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>
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
display: family specific matching fails
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
hfs_swap_BTNode: invalid forward link (0xe26f62ed >= 0x00002f80)
node=10927 fileID=4 volume=MacOSX86 device=/dev/disk0s2
	 0 [Level 3] [ReadUID 0] [Facility com.apple.system.fs] [ErrType FS] [MountPt /] 
HFS: Runtime corruption detected on MacOSX86, fsck will be forced on next mount.
FindNextLeafNode: Error from hfs_swap_BTNode (node 10927)
Resetting IOCatalogue.
Resetting IOCatalogue.
Resetting IOCatalogue.
Resetting IOCatalogue.
Resetting IOCatalogue.
Resetting IOCatalogue.

 

 

dmesg rev5 + test3 in boot -s

 

t 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.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.
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 0x2f2e800 bus 7:7 to index 1
 added bridge 0x2f05400 bus 5:6 to index 2
 added bridge 0x2f18800 bus 3:4 to index 3From 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>

 added bridge 0x2fc7c00 bus 2:2 to index 4
 added bridge 0x2efdc00 bus 0:0 to index 5
 added bridge 0x2f2ec00 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 dc000000 len 100000
root bridge resource PFM fff00000 len 200000
root bridge resource I/O 4000 len 1000
root bridge resource BUS 7 len 1
 clipped bridge I/O range head to 4040:fc0 for 4000:40 overlap 40
 clipped bridge MEM range head to dc004000:fc000 for dc000000:4000 overlap 4000
 I/O: sub-range outside parent range: 0x4000:0x40
 MEM: sub-range outside parent range: 0xdc000000:0x4000
 MEM: 2 sub-range limited to 7cb80 each
 I/O: 1 sub-range limited to fc0 each
 BUS: 1 sub-range limited to 0 each
 MEM: allocated block dc007000: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:8:0
 bar 0x10 = dc005000
 bar 0x14 = 4000
 Device Command = 02900000
 changed LT to 64 PCI clocks
Applying config for device 7:6:3
 bar 0x10 = dc006800
 Device Command = 02100000
 changed LT to 64 PCI clocks
Applying config for device 7:6:2
 bar 0x10 = dc004000
 Device Command = 02100000
 changed LT to 64 PCI clocks
Applying config for device 7:6:1
 bar 0x10 = dc006000
 bar 0x14 = dc000000
 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=4 yenta=1)
IOPCCard info:   Intel PCIC probe:   TI XX12 rev 00
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.
IOPCCard info:   cs: cb_alloc(bus 8): unable to create cardbus nub for socket 0

 

Thank you for the great work.

Link to comment
Share on other sites

Hi Chun-Nan,

 

Managed to try a debug/devel version of rev5 this morning. I've attached the dmesg output.

 

Do you think it may be worth modifying the mem & io ranges? If so, what OS/linux distro would you recommend for getting them? (I've not had much luck getting consistent results..)

 

 

Cheers,

EqUaTe

 

chunnan_rev5.dmesg.txt

Link to comment
Share on other sites

Thanks a lot, the last release made it work with my ToH with EFI v8 and Vanilla kernel, updated to 10.5.1!

My firewire PCMCIA card was recognized instantly, and no drivers were needed for it.

 

Specs in signature.

 

 

Thanks a lot!

Link to comment
Share on other sites

Thanks a lot, the last release made it work with my ToH with EFI v8 and Vanilla kernel, updated to 10.5.1!

My firewire PCMCIA card was recognized instantly, and no drivers were needed for it.

 

Specs in signature.

 

 

Thanks a lot!

 

Finetuned...

 

What you do?

 

You use test3 or rev5?

IOPCCardFamily or IOPCIFamily?

 

Thanks

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

 

I tested a version test3 along with the version 5.

 

He has returned something more interesting now.

 

But it is not working and not appearing in the System Profiler.

 

...

 

Cool, more output right now lol

 

Great work Chun-Nan!

 

So, now it's recognized but still doesn't function...same as fakedotbr.

 

And what's this now: IOPCCard info: cs: cb_alloc(bus 10): unable to create cardbus nub for socket 0, when my 3G device is inserted?

 

bash-3.2# dmesg
ge 0x38a9c00 bus 1:1 to index 6
 added bridge 0x391b000 bus 0:0 to index 7

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
From path: "uuid", 
Waiting for boot volume with UUID 82D6143F-254A-36A9-A055-BFDAAA096A4F
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 0x3909000 bus 0:0 to index 1
pciBridgeCheckConfiguration(bus 9, state 0)
pciBridgeAllocateResource(bus 9, state 0)
Allocating resources on bus 9
root bridge resource MEM de000000 len 100000
root bridge resource PFM fff00000 len 200000
root bridge resource I/O f000 len ffff2000
root bridge resource BUS 9 len 1
 clipped bridge MEM range head to de002000:fe000 for de000000:2000 overlap 2000
 MEM: sub-range outside parent range: 0xde000000:0x2000
 MEM: 2 sub-range limited to 7ea00 each
 I/O: 1 sub-range limited to ffff2000 each
 BUS: 1 sub-range limited to 0 each
 MEM: allocated block de004000:1000
pciBridgeDistributeResource(bus 9, state 2)
Enabling bridge serving bus 9
 Bridge Control	= 0000
 Bridge Command	= 00100007
Distribute resources for bus 9
 BUS: total size 0, required size 1, maximize count 1
 BUS: assigned block a:1
Applying config for device 9:9:5
 bar 0x10 = de003400
 Device Command = 02100000
 changed LT to 0 PCI clocks
Applying config for device 9:9:4
 bar 0x10 = de003000
 Device Command = 02100000
 changed LT to 0 PCI clocks
Applying config for device 9:9:3
 bar 0x10 = de002c00
 Device Command = 02100000
 changed LT to 0 PCI clocks
Applying config for device 9:9:2
 bar 0x10 = de002800
 Device Command = 02100000
 changed LT to 64 PCI clocks
Applying config for device 9:9:1
 bar 0x10 = de002000
 Device Command = 02100000
 changed LT to 64 PCI clocks
Applying config for bridge serving bus 10
 MEM: start/size = 00000000:00100000
 I/O: start/size = 00000000:00001000
 BUS: start/size = 0000000a:00000001
 Regs:
 BUS: prim/sec/sub = 09:0a:0a
Enabling bridge serving bus 10
 Bridge Command	= 02100000
 changed LT to 64 PCI clocks
 changed SEC-LT to 64 PCI clocks
Applying config for device 9:5:0
 bar 0x10 = de000000
 Device Command = 00100000
 changed LT to 64 PCI clocks
PCI configuration changed (bridge=0 device=6 yenta=1)
IOPCCard info:   Intel PCIC probe:   Ricoh RL5C476 rev b4
FireWire (OHCI) VendorID 1180 ID 552 built-in now active, GUID 0000f04101054711; max speed s400.
IOPCCard info:   cs: cb_alloc(bus 10): unable to create cardbus nub for socket 0
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/AppleATADiskDriver/IOATABlockStorageDevice/IOBlockStorageDriver/Hitachi HTS541616J9SA00 Hitachi HTS541616J9SA00/IOFDiskPartitionScheme/Untitled 2@2
BSD root: disk0s2, major 14, minor 2
Jettisoning kernel linker.
Resetting IOCatalogue.
IPv6 packet filtering initialized, default to accept, logging disabled
Matching service count = 1
Matching service count = 1
Matching service count = 1
Matching service count = 1
Matching service count = 1
Matching service count = 1
wl0: Broadcom BCM4312 802.11 Wireless Controller
4.170.25.8.2ACPI_SMC_CtrlLoop::initCPUCtrlLoop - pmCPUControl (PMIOCSETPSTATETABLE) returned 0x456ff80
NVDANV40HAL loaded and registered.
ApplePS2Trackpad: Synaptics TouchPad v6.2
ALCinject: Starting.
ALCinject: Setting built-in=<data not shown>
ALCinject: Setting layout-id=<data not shown>
dsmos: Initializing...
dsmos: Hook and decryption contexts set!
m0ead6f57 :2
m7b9b743c
dsmos: Starting...
AppleBCM440XEthernet: Ethernet address 00:13:77:29:d5:2d
AirPort_Brcm43xx: Ethernet address 00:19:7d:6b:2a:84
NTFS driver 2.0 [Flags: R/O].
NTFS volume name Vista, version 3.1.
NTFS volume name Program Files, version 3.1.
NTFS volume name Data, version 3.1.

Link to comment
Share on other sites

Hi need some help.

 

I am running an asus v6va with a ricoh set on the pcmcia bus. I need to know how exactly to get this working. I tried just loading the kext files and it gives me a panic at boot. Please a quick response.

 

Take a picture of the kernel panic, and attach it to a post.

 

Which rev did you try?

 

 

EqUaTe

Link to comment
Share on other sites

Hi Mariusz, fakedotbr, and djmastera2000,

Thanks for the test and the result. I am still working on the IOPCIFamily. I think " BUS: 1 sub-range limited to 0 each" is the key. I will let you guys know when I find the solution to it.

Chun-Nan

 

Hi guys,

 

IOPCIFamily_test is for the those who have the error message of "IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0". It is for the debug purpose and it may not work. If your pccard doesn't have that message, just use rev3 or rev5. If you choose to use rev5, please replace both IOPCIFamily and IOPCCardFamily inside the rev5 at the same time. Don't mix rev5 with rev3.

 

If you get the kernel panic after using rev3 or rev5, check if you have replaced the following files to make your cardbus slot working before:

 

AppleACPIPlatform

AppleAPIC

IOACPIFamily

 

If you did, you probably need to find a way to restore those files first.

If you still get kernel panic, you can take the picture of it if possible. Thanks.

 

Chun-Nan

Link to comment
Share on other sites

Well, lets see I am trying to get any of them to work. I have a orinocco gold abg, ubuquiti 300mw ar5006 that I would like to work, The card bus I believe is a Ricoh R/RL/5C476 on a asus v6va

 

Hi jon37325,

 

Ricoh RL5C476 (0x0476) should be supported by Leopard. Which version do you use? If you are using rev5, make sure you replace both IOPCIFamily and IOPCCardFamily inside the rev5 at the same time. If rev5 still doesn't work, try rev3.

 

Let me know the result.

 

Chun-Nan

Link to comment
Share on other sites

same issue with rev3 also.Is this correct, I copy the two kext files this way cp -R /"location"/IOPCCardFamily.kext /System/Library/Extensionscp -R /"location"/IOPCIFamily.kext /System/Library/Extensions

 

Pretty much, yeah.

You also need to chown/chmod them...

 

chown -R root:wheel /System/Library/Extensions/IOPCIFamily.kext

chmod -R 755 /System/Library/Extensions/IOPCIFamily.kext

chown -R root:wheel /System/Library/Extentions/IOPCCardFamily.kext

chmod -R 755 /System/Library/Extentions/IOPCCardFamily.kext

 

 

And it doesn't hurt to run:

diskutil repairpermissions /

 

afterwards either.

Obviously these are all run as root, so either start with: sudo su -

or prefix every command with sudo

 

Have you made any other modifications to your install? Also, when you installed, did you erase the previous install, or just install over the top?

 

Cheers,

EqUaTe

Link to comment
Share on other sites

same issue with rev3 also.Is this correct, I copy the two kext files this way cp -R /"location"/IOPCCardFamily.kext /System/Library/Extensionscp -R /"location"/IOPCIFamily.kext /System/Library/Extensions

 

Assuming "location" is the location where you put Chun-Nan's kext file, yes it is correct. Did you remove kext cache file:-

# rm -r /System/Library/Extensions.mkext

 

I think it is better if you move the original kext file to another location before you copy Chun-Nan's kext file.

Link to comment
Share on other sites

I am copying these as root they should have root:wheel perms when copied. I have never had to do that with any others. The only other piece I have had to add to my install was the powermanagment bundle. thanks for the reply.Trying all responses as I type this. thanks

Link to comment
Share on other sites

I am copying these as root they should have root:wheel perms when copied. I have never had to do that with any others. The only other piece I have had to add to my install was the powermanagment bundle. thanks for the reply.Trying all responses as I type this. thanks

 

I agree. But I found it is necessary to remove kext cache file after installing new kext file in leopard.

Link to comment
Share on other sites

Yes the doing the remove of the cache worked so it actually booted this time, but still no card found, am I missing another driver or something? Do I need a new controller driver for the ricoh chip set?

 

You mean you get "start:failed"? With both rev3 & rev5? Try to replace IOPCCardFamily kext file only & use original IOPCIFamily kext file. I use original IOPCIFamily kext file & rev3 IOPCCardFamily kext file.

Link to comment
Share on other sites

 Share

×
×
  • Create New...