Silly Kernel Panic in Mac OS X 10.2.2
shibby tells us that it is easy to cause a kernel panic in Mac OS X 10.2.2, by attempting to move a directory into the same location as another one of the same name, using Terminal: mkdir ~/mydir; cd ~/mydir; mkdir mydir; mv mydir ... Kernel panic is instant. Save all your documents and quit your open apps if you feel the need to see it for yourself. Happy Thanksgiving!
You know, you can get a Subaru WRX than can do 13-second quarter-mile times for $24k. You'd have to spend much more to get a Mercedes that could match that performance (stock and new that is).
Thus--by using your logic--a Mercedes isn't a valid car.
BTW, Apple's share of the personal computer market is greater than BMW and Mercedes combined share of the auto market...
Be very careful with this - If you are testing, or accidentally gonna do this, you will lose both directories and all data in them.
codegolf.com - smaller *is* better.
Yes, I know this is trying to be funny, but on /. accuracy counts in humor as well.
Here's the message (login: archives, pass: archives)
This list is teeming with Apple folks, so I'm sure someone's posted a RADAR bug already.
This problem also came up on MacNN and is discussed in detail here
Now here's the kicker - as the kernel is open-source (APSL - don't complain), someone's already traced the problem back to a recursive lock in the HFS+ subsystem (hfs_vnops.c). Kewl or wha'?
Alison
"It is a miracle that curiosity survives formal education." - Albert Einstein
Yep! The guys on MacNN posted feedback to Apple last week. Expect a kernel Software Update sometime soon, I guess.
Alison
"It is a miracle that curiosity survives formal education." - Albert Einstein
- You have the correct permissions to the folder, and
- You are running 10.2.2?
Missing either of these might make the bug not work (oh no!).Alcohol and Calculus don't mix. Don't drink and derive.
.. have a thread going on this, too. Link here
Alison
"It is a miracle that curiosity survives formal education." - Albert Einstein
fixed in 10.2.3
Well MACH isn't exactly an OS, it is more of an OS for running OSes, and one of the OSes it can run is the "BSD Single Server" which is a BSD4.3+/4.4ish derieved OS that isn't in my opnion as good as some of the other BSD4.4ish derived OSes (like FreeBSD).
One of the other OSes that runs under MACH is a modifyed MacOS9. I havn't run OS9 (aka "Classic") on purpose for months, but other people find it rather indepsnsable, and wouldn't use OSX without it.
As you say they could plop Carbon and Quartz ontop of FreeBSD just as easally as onto MACH's BSD Single Server. However getting OS9 to "run under" FreeBSD would have been a much larger pain.
I doubt it is SMP issues. I'm not even sure the FreeBSD people would reject the stuff needed to get OS9-under-FreeBSD working, after all it might not be that different from what WINE needs from the kernel...but it would have taken a whole lot more time then getting OS9 running under MACH more or less along side the BSD Single Server (kind of under it and off to one side I susspect...)
the device driver model is also different, and in a lot of ways better (and unfortunitly in a lot of ways worse) then FreeBSD.
Mac OSX by default uses HFS+ rather then FFS, so there is a lot of Apple-specific code getting executed in there. Maybe they don't do namei cache invalidation correctly in their HFS+ file system code (for example).
Not a huge unforgivable bug to have, but one hopes they will try to fix it quickly. It would definitly re-enforces my opnion of OSX as very stable for a desktop OS, but not very stable as a server OS. Which is why I own an Apple laptop, but not an Apple rackmount computer ;-)
However if they don't fix this kind of bug fast they are less likely to sell Xserve systems...
...not that Sun didn't have a bug where if you ftruncate'd /dev/audio you got a panic for something like five years! Sure that is a little less serious because you could deny users access to /dev/audio on a share machine and not suffer, but still... and I think it worked on any streams object that lived int he file system, so....
...but it would be nice if Apple proved themselves to be better then that.
What's missing that you want HFS+ to go away or something?
It's got metadata, which Microsoft only *added* with NTFS
It finally got journaling with 10.2.2
It spans, quite comfortably, 180GB hard drives
File sizes can be larger than 2gb, and I believe up to 2TB (2^63 bytes per file)
Is there something missing? Perhaps encryption? Apple already has support for encrypted volumes...
GPL Deconstructed
OS 9 didn't have memory protection. Memory was a flat 32-bit address space, shared by all processes.
There was preemptive multitasking, and asymetric multiprocessing. Essentially, all the normal applications ran in a single task and you could write preemptive services. I never saw this feature used for anything productive. Since QuickDraw was only available to the main task, you'd probably have to use IPC to have your services do their output.
OS 9 would never do that because its filesystem code was highly refined, after all, it was the 7th or 8th major revision of the OS. (I'm pretty sure we jumped from either System 1 or 2 to System 4. I don't remember System 5, so maybe it was only the 6th.) However, I do recall that the PC Exchange software was pretty flaky and some bad DOS floppies could crash your Mac.
Also, there was a horrible Quicktime Autoplay feature that was designed for CD-ROMs. Some people used it to put viruses on Zip disks that would activate merely by inserting the Zip.
All in all, OS X is, so far, doing a good bit better than its predecessors.
For example, isn't Mozilla unhappy on UFS?
I suppose you can have an HFS+ partition for some apps, but this sounds like altogether too much work to me.
-- clvrmnky