• On The Insider: Kim Kardashian Goes Au Natural
advertisement
February 25, 2004 2:00 AM PST

Mac OS X 10.3.x: Kernel panics upon location change

by CNET staff
Yesterday we covered a reader report from Rob Tillyard that his PowerBook G4 has recently been experiencing kernel panics when switching between Network Locations (via the Locations submenu of the Apple Menu or the Network pane of System Preferences). Since then we've received corroborating reports of this issue from many MacFixIt readers.

The common threads we've been able to identify thus far -- based solely on those readers who actually provided system information -- are as follows:

  • Mac OS X 10.3.2 -- earlier versions of OS X do not seem to be affected.
  • PowerBook or iBook with AirPort card installed.

In addition, the following seem to be factors in this issue; however, unlike the above characteristics, these may not be representative of every reader who sent in a report:

  • Switching from a Location with a primary AirPort connection to a Location with a primary Ethernet connection. (We've also had a few reports of the opposite transition, or of switching between Ethernet and modem. However, in almost every case, the Locations between which the user is switching use different network interfaces.)

  • Waking the PowerBook or iBook up from sleep just before switching locations. Steve Ferry writes, "I've had the same problem on my 15" albook running 10.3.2 and my daughter is having the same problem on her ibook. It seems to be associated with waking from sleep and changing locations."

  • Having an Ethernet cable plugged in before switching locations. Kay Mathiesen notes: "I was having the same problem with a kernel panic after switching Network Location. I had my Powerbook connected via Ethernet to a DHCP Server. The Location I was switching to was a fixed IP Address with a fallback to an Airport connection. The Kernel Panic happened when I switched while still having the Ethernet cable plugged into my Powerbook. When I unplug the cable before switching, everything is fine."

  • Perhaps related to the previous item, starting the Powerbook or iBook up with an Ethernet cable connected. Brad Jordan writes, "I have similar problems with my 12" PowerBook when I go from my home airport setup to the church I where I work and hook up to the ethernet network. When I start the computer, I get a dialogue window saying I must restart my computer. I don't have the same problem going from there back to my airport network at home. Only when I first hook up to an ethernet network. I've tried switching the order that the computer looks for a connection, but I still get the same thing."

  • Switching to or from a static IP address. Reader "Caesar113" reports, "I don't have problems when changing locations in general, but if it enables an interface with a static IP, then I get a kernel panic." Similarly, reader "lorenzen" writes, "This comment about the static IP address is right on. In my situation, I mostly use Wi-Fi, but I do have a static ip address configured for my home network. At work I plug in to a wired network (with access to a wireless). If I plug in the ethernet cable before waking my powerbook, I get a kernel panic. If I wake it before plugging in the ethernet and then change the location, it works fine."

Beyond that, details are difficult to pin down (mainly because readers didn't provide us with the same variables). Some users report that the problem began after installing the iSync 1.4 update, others claim it was predicated by installing the iChat 2.1 beta, whereas others claim it started after installing the AirPort 3.3 update.

Workarounds Reader Aaron Ciesar reports that he's found a cumbersome, but effective workaround for this issue if you normally shut down your PowerBook or iBook:

"The following steps have allowed me to boot and switch locations without crashing:

1. Unplug all network hardware and cables from TiBook.
2. Boot normally.
3. Switch locations.
4. Plug in the needed network hardware and cables.
5. Connect as needed."

Directory problems? One MacFixIt reader, Stefan Bracke, confirmed this problem but noted that after using TechTool Pro 4 to repair the directory structures on his boot volume, the problem no longer occurred.

Security Update 2004-02-23 fixes the problem? Aaron Ciesar also reports "It appears that the Security Update 2004-02-23 for Panther Client 1.0 has resolved this issue so far. Don't know why, all I know is I forgot to unplug my hardware during the reboot and I did not crash. I am still testing if this issue is resolved."

Confirmations of, or comments on, our observations? Different experiences? Please drop us a note at Late-breakers@macfixit.com.

Resources

  • Late-breakers@macfixit.com
  • More from Late-Breakers
  • Recent posts from MacFixIt
    iTunes 10 user interface sees some minor changes
    Apple seeds iOS 4.1 Gold Master to developers
    Possible fix for Harman Kardon iSub problems with PowerPC Macs
    Precautions to take before installing iTunes 10
    A reminder on how to reset your Mac's system password
    Mail messages appearing blank
    Adobe Lightroom update brings direct Facebook publishing; Camera Raw 6.2 released
    Weekly troubleshooting utilities update
    Add a Comment (Log in or register) (8 Comments)
    • prev
    • next
    by bobinnm February 25, 2004 7:42 AM PST
    Not seeing this at all with my TiBook/800 - I have a AP Extreme at home and Ethernet at the office - switch loations twice a day with zero problems.

    Might want to repair permissions or run disk warrior - sounds like a software problem to me
    Reply to this comment
    by tassama February 25, 2004 7:42 AM PST
    <class="merchant"><span>&#62;</span><div class="datestamp"><i>This is a reply to a previous comment by bobinnm</i></div></class><br />
    holy smokes!

    I think the article said kernel panics...

    If you don't get KP's, THEN YOU DON"T HAVE THIS PROBLEM.

    archive/install for everyone!!! live longer...
    Reply to this comment
    by gruffster February 25, 2004 8:13 AM PST
    I've got a 17"PB 1.33Ghz/1Gig. Perfectly reproducable problem. It has only
    started happening recently. Unfortunately I have yet to be able to pin down
    exactly what it is that causes it. It is definitely the network however and I do
    not get a kernel panic. The system completely freezes.

    It usually fixes itself after 2 or 3 reboots. Then, the system runs perfectly
    fine until it is shut down or put to sleep. It seems to happen whenever it
    attempts to reconnect to the network. It definitely happens when the
    network is connected via the ethernet port so say if I'm connected at work,
    put it to sleep and go to lunch, it's going to freeze when I wake it up. It also
    does happen when I change locations, going from Airport to ethernet.

    Sleeping and waking on an airport network is one of those 50/50 things. It
    sometimes works and it sometimes freezes. It is immensely annoying and
    I've tried everything I can think of to troubleshoot this. No luck so far.
    Reply to this comment
    by sjk February 25, 2004 8:48 AM PST
    I've covered pretty much all there location-related conditions mentioned here
    since installing 10.3.2 on my 600MHz G3 iBook and have never had a kernel
    panic. In fact, the only one I can remember having with 10.3.x was related to
    plugging in (or unplugging?) some USB device.
    Reply to this comment
    by lsymons February 25, 2004 12:10 PM PST
    I used to have fairly common kernal panics associated with my airport card
    (as noted by references to the airport card in my panic.log). I reseated the
    card and have not had a problem since.

    Aluminum PB 15" 1.25gHz 512RAM
    Reply to this comment
    by japicka February 25, 2004 12:20 PM PST
    After reading about this problem, I actually tried it on my iBook at home, switched from one location with Ethernet as primary to modem as primary, and one more with Ethernet as primary. I did it with things hooked up, and not, did not have any problems. Not one kernel panic. Even tried it while logged in.
    Reply to this comment
    by dbiddix_dotmac February 25, 2004 7:31 PM PST
    I installed Panther back at Christmas and started having problems with my
    computer (Powerbook G4, 800 Mhz., 1 GB RAM, 60 GB Hard Drive, Airport
    Card installed) connecting to the Internet. At work, I have a static IP address
    assigned to the computer, while at home, I use DHCP to connect to a LAN that
    shares an Internet connection. I created settings for each location that worked
    just fine until I upgraded to 10.3. I am not using my Airport for any
    connectivity; only the Ethernet port is active.

    After the upgrade, I would connect to either of the networks and get a "Your
    computer has an ethernet connection but cannot connect to the Internet"
    comment when I would start up and try to connect. If you rebooted the
    computer 3 or 4 times, it would finally log in. After going through Apple Tech
    Support, we determined that the NetInfo Database had been corrupted, and,
    using a UNIX trick, created a new one. The problem is, that the old databases
    were still on the computer and couldn't be deleted (he said). The technician
    recommended that I wipe the computer clean and re-install with my original
    system disks, then upgrade to 10.3, hoping that would fix the problem.

    I did as I was instructed, reinitalizing the hard drive and installing the original
    system that came with the Powerbook, then upgrading that to 10.3 and re-
    installing my programs and documents.

    Things worked OK for a few days, but the computer has again begun refusing
    to come up on the network at either home or work from time to time. I could
    restart 2 or 3 times and it would finally come up...but it has began refusing to
    come up on my work network (the static IP connection), and the network is
    fully functional. I recreated the NetInfo database as I did before and things
    eventually worked (after 3 restarts). Then, when I took the computer home
    and switched connections, the computer refused to connect to the LAN (using
    DHCP) and I again I had to recreate the NetInfo Database to get it to come up.

    Is this a problem unique to me, or are others having similar woes with
    networking in 10.3? Do you have an idea of what might be corrupting my
    NetInfo Database? Is there a way to fix it without ANOTHER reinstall of the
    system (I am considering going back down to Jaguar if I can't get this solved)?
    Is there a way to delete the "bad" databases from the computer after I have
    recreated a new one?

    I'm having no luck with Apple Tech Support. Anyone have any suggestions on
    what I should try next?
    Reply to this comment
    by smello--2008 February 26, 2004 4:18 AM PST
    I have experienced the same problem on an AiG4 running 10.3.2 and Apple
    support thought it might be Location X causing it. I could repeatedly cause
    the panic by switching to my Ethernet location. I found the only solution was
    to do a clean restart, switch locations, and then a regular restart. Since it
    worked OK on a clean restart, it looked like something other than Apple
    software.

    ---
    Sheila
    Reply to this comment
    (8 Comments)
    • prev
    • next