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: Is Mac OS X bug about USB device



Since the DAR is 0x0, the crash occurred because of trying to access a nil pointer.

I'd use kextload as described in Tech Note 2063

<http://developer.apple.com/technotes/tn2002/tn2063.html>

to generate a symbol file for the

com.ath.driver.AR5005USB_Wlan

driver as shown in Listing 3 of the Tech Note. Use the add-symbol-file command to add the symbol file, then relist the back trace in gdb. You'll have more information as to what went wrong a why.

rich

At 12:39 PM +0800 5/9/05, email@hidden wrote:
Hi all:

Now I make a driver for AR5523. It is a USB 11g chip.
But it will crash the system when send message via message bulk out pipe.
only opcode is 4 will cause crash. other is not.
I cannot understand the opcode is recognize only by device.
How the USB device cause system crash?

I try it on 10.2.8 & 10.3.9, the result is same.
here is the panic log

Sun May  8 17:53:33 2005




Unresolved kernel trap(cpu 0): 0x300 - Data access DAR=0x0000000000000000 PC=0x00000000237089F0
Latest crash info for cpu 0:
Exception state (sv=0x22E45280)
PC=0x237089F0; MSR=0x00009030; DAR=0x00000000; DSISR=0x40000000; LR=0x237089E8; R1=0x0D0EBB10; XCP=0x0000000C (0x300 - Data access)
Backtrace:
0x237089E8 0x237086E0 0x00255FD4 0x00254838 0x00254A58 0x008A4724 0x008A5A34 0x008A5D64
0x008A5B78 0x00035148 0x00035028
Kernel loadable modules in backtrace (with dependencies):
com.ath.driver.AR5005USB_Wlan(1.0.0d1)@0x23706000
dependency: com.apple.iokit.IOPCIFamily(1.4)@0x398000
dependency: com.apple.iokit.IOUSBFamily(2.1.5)@0x883000
dependency: com.apple.iokit.IONetworkingFamily(1.4.0)@0x3da000
com.apple.driver.AppleUSBHub(2.1.5)@0x89f000
dependency: com.apple.iokit.IOUSBFamily(2.1.5)@0x883000
Proceeding back via exception chain:
Exception state (sv=0x22E45280)
previously dumped as "Latest" state. skipping...
Exception state (sv=0x230F2000)
PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)


Kernel version:
Darwin Kernel Version 7.9.0:
Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC


panic(cpu 0): 0x300 - Data access
Latest stack backtrace for cpu 0:
Backtrace:
0x00083498 0x0008397C 0x0001EDA4 0x00090C38 0x0009402C
Proceeding back via exception chain:
Exception state (sv=0x22E45280)
PC=0x237089F0; MSR=0x00009030; DAR=0x00000000; DSISR=0x40000000; LR=0x237089E8; R1=0x0D0EBB10; XCP=0x0000000C (0x300 - Data access)
Backtrace:
0x237089E8 0x237086E0 0x00255FD4 0x00254838 0x00254A58 0x008A4724 0x008A5A34 0x008A5D64
0x008A5B78 0x00035148 0x00035028
Kernel loadable modules in backtrace (with dependencies):
com.ath.driver.AR5005USB_Wlan(1.0.0d1)@0x23706000
dependency: com.apple.iokit.IOPCIFamily(1.4)@0x398000
dependency: com.apple.iokit.IOUSBFamily(2.1.5)@0x883000
dependency: com.apple.iokit.IONetworkingFamily(1.4.0)@0x3da000
com.apple.driver.AppleUSBHub(2.1.5)@0x89f000
dependency: com.apple.iokit.IOUSBFamily(2.1.5)@0x883000
Exception state (sv=0x230F2000)
P
*********
Best Regards
Heyu


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden


-- Sincerely, Rich Kubota email@hidden (408) 974-6212 _______________________________________________ Do not post admin requests to the list. They will be ignored. Usb mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden
References: 
 >Is Mac OS X bug about USB device (From: 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.