FW: OS X kernel panic with network driver
FW: OS X kernel panic with network driver
- Subject: FW: OS X kernel panic with network driver
- From: "Chris Edgington" <email@hidden>
- Date: Sat, 24 Aug 2002 09:49:04 -0500
<I sent my original post from the wrong email address, so I didn't go
through ... this is the first post that relates to the "More on OS X
kernel panic" message.>
-----Original Message-----
From: Chris Edgington [
mailto:email@hidden]
Subject: OS X kernel panic with network driver
I've been tasked with debugging an OS X driver I didn't write. The
driver in question is a network driver that exposes an ethernet
interface for a USB ADSL modem. In straight ethernet mode (for ethernet
over ATM), the driver works fine. I'm adding PPP over ATM support by
simulating a PPPoE server in the driver and using the existing OS X
PPPoE client. The PPPoE simulation code seems to be working, I get PADI
and PADR packets from the client and I return PADO and PADS packets via
inputPacket and then flushInputQueue. The system.log debug output shows
that the PPPoE connection is being established, which is also confirmed
by the fact that I start getting PPPoE session packets to send out. So,
I strip off the ethernet headers and send the raw PPP data out over ATM.
When raw PPP data comes back into the modem, I prepend a valid PPPoE
session packet header, then send the packet back up the stack. This also
is done via inputPacket and flushInputQueue. The problem is that shortly
after my second call to inputPacket and flushInputQueue for the incoming
data, I get a panic. My problem is that I don't know what to do at this
point, based on whats in the panic. I've downloaded the
IONetworkingFamily and xnu modules from darwin - should I build a debug
version of IONetworkingFamily? Or, does the panic tell me something that
I'm not reading? I'm running OS X 10.1.5. I have not setup kernel
debugging. Any help is greatly appreciated.
Thanks,
-Chris
Here's the panic info:
panic(cpu 0): sbflush: cc 0 || mb 0x12b69200 || mbcnt 4608
Latest stack backtrace for cpu 0:
Backtrace:
<14 32bit hex numbers>
Proceeding back via exception chain:
Exception state (sv=0x1d48f000)
PC=0x7000A60C; <some more registers>; (0xC00 - System
Call)
Kernel version:
Darwin Kernel Version 5.5:
Thu May 30 14:51:26 PDT 2002; root:xnu/xnu-201.42.3.obj~1/RELEASE_PPC
Debugger(panic)
Waiting for remote debugger connection.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.