Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kernel panic on Intel based Mac with more than 2GB of memory



Hi Drew, Chris,

On Wed, 2006-10-11 at 16:19 -0400, Andrew Gallatin wrote:
> Chris Sarcone writes:
>  > You should be using IODMACommand. It works across 32-bit and 64-bit  

This is weird. I've just converted a driver that was using IODMACommand
to use IOMemoryMap with MemMap->getPhysicalAddress() and 
->getVirtualAddress.
The original driver with IODMACommand worked OK on Intel systems
(MacBook Pro) up to and including 10.4.5, but NOT on 10.4.8. On a
PowerPC G5, the IODMACommand-ised driver worked OK up to 10.4.7 but
failed to load on 10.4.8.

After converting the driver to use the MemMap scheme above, both Intel
and PowerPC versions worked fine on 10.4.5 and 10.4.8. I have yet to
test on 10.4.2.

What's the official party line on this? Are we _definitely_ supposed to
use IODMACommand on 10.4.8?

NB. My driver does NOT use MemoryCursors any more.

Sorry to interrupt your discussion, but Chris' comment above had me
confused...

Cheers,
Gerald

> 
> Eeek.
> 
> Where is IODMACommand documented?  Are network drivers still supposed
> to use IOMbufMemoryCursor?  Is there a technote or anything about
> this?  Example code?
> 
> Drew
> 
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-drivers mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/darwin-drivers/email@hidden
> 
> This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden

References: 
 >RE: Kernel panic on Intel based Mac with more than 2GB of memory (From: "Dave Canfield" <email@hidden>)
 >Re: Kernel panic on Intel based Mac with more than 2GB of memory (From: Chris Sarcone <email@hidden>)
 >Re: Kernel panic on Intel based Mac with more than 2GB of memory (From: Andrew Gallatin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.