chipKIT® Development Platform

Inspired by Arduino™

Mac OS X kernel panics

Created Sat, 11 Jun 2011 11:18:46 +0000 by Trev


Trev

Sat, 11 Jun 2011 11:18:46 +0000

My trusty Mac Mini (late 2009 model) has been running 24 hours since I bought it in late 2009 and had never had a kernel panic until the last couple of days. The only system change in the last 6 months, apart from Apple updates, was the installation of the FTDI drivers that came with MPIDE and of course MPIDE.

As far as I can tell, disconnecting the UNO32 while the system is in sleep mode causes the FTDI drivers to panic the kernel.

21:32:22 macmini3 kernel[0]: System Sleep 22:33:04 macmini3 kernel[0]: Wake reason = OHC1 22:33:04 macmini3 kernel[0]: System Wake 22:33:04 macmini3 kernel[0]: /drv/ MacModule.cpp:261 powerStateWillChangeTo: flags=82 stateNumber=4 22:33:04 macmini3 kernel[0]: /drv/ MacModule.cpp:262 powerStateWillChangeTo: found flag=kIOPMPowerOn (2) 22:33:04 macmini3 kernel[0]: /drv/ MacModule.cpp:267 powerStateWillChangeTo: found flag=kIOPMRestartCapability (80) 22:33:04 macmini3 kernel[0]: /drv/ MacModule.cpp:261 powerStateDidChangeTo: flags=82 stateNumber=4 22:33:04 macmini3 kernel[0]: /drv/ MacModule.cpp:262 powerStateDidChangeTo: found flag=kIOPMPowerOn (2) 22:33:04 macmini3 kernel[0]: /drv/ MacModule.cpp:267 powerStateDidChangeTo: found flag=kIOPMRestartCapability (80) 22:33:04 macmini3 kernel[0]: Previous Sleep Cause: 5 22:33:04 macmini3 kernel[0]: An unknown USB device (Port 2 of Hub at 0x4000000) may have caused a wake by issuing a remote wakeup 22:33:04 macmini3 kernel[0]: The USB device KVM (Port 1 of Hub at 0x4000000) may have caused a wake by issuing a remote wakeup (3) 22:33:05 macmini3 kernel[0]: NVEthernet::setLinkStatus - Valid but not Active 22:33:06 macmini3 kernel[0]: Ethernet [nvenet]: Link up on en0, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [796d,0000,0de1,000d,c5e1,3c00] 22:33:06 macmini3 kernel[0]: NVEthernet::setLinkStatus - link Valid and Active 22:33:20 macmini3 kernel[0]: FTDIUSBSerialDriver: 0 4036001 start - ok [kernel panics here]

I now try to remember not to do this :)


ricklon

Tue, 14 Jun 2011 03:18:39 +0000

Do the kernel panics stop if you use the version of FTDI drivers from FTDI?

http://www.ftdichip.com/Drivers/VCP.htm

If the problem is resolved with this update we can add newer drivers to the distribution.


Trev

Tue, 14 Jun 2011 12:02:48 +0000

Just downloaded the 64 bit FTDI driver. Will install and let you know.


Trev

Sat, 02 Jul 2011 03:26:28 +0000

The version shipped with MPIDE was 2_2_14. The version from the FTDI website is 2_2_16.

The only change in behaviour is that while the _14 version crashes the machine completely when unplugging during sleep, the _16 version gives me an Apple dialog box in 6 languages telling me the system needs to shutdown and to hold down the power button until the machine turns off :-) No great progress!