On Sun, Nov 11, 2001 at 06:17:13AM -0900, Ethan Benson wrote: > On Sun, Nov 11, 2001 at 04:00:24PM +0100, Michael Schmitz wrote: > > > > What did you do in mac-fdisk to get a kernel panic? What kernel version > > > > did you use? > > > > > > Ethan told me on IRC that this is a known problem with all PowerPC > > > kernels to date. Apparently there is a race condition involved in > > > (re-)reading the partition table from a drive. > > > > Imagine my surprise - I thought it might be a mac-fdisk bug (though I'm > > sure it never happened to me). > > ive only seen it occur on a G4 i was setting up, it seems most common > on SMP boxes, but happens occasionally on everything from oldworld > crap to the newest tibook/ibook2s/G4s. > > > What kernel versions are affected? Maybe it's possible to sync before > > rereading the partition table or something? > > 2.*.* kernels are affected. and this always happens AFTER the new > partition table is already completly synced to disk, once you reboot > your partition table is just fine, just as you wanted it to be when > you pressed the `w' command. the panic is clearly caused by the > `reread partition table ioctl'
So what happens exactly? Can you reproduce this on something and decode the oops? Looking in 2.4.15-pre2 I don't see the mac partition table stuffs not doing something the msdos ones do.. -- Tom Rini (TR1265) http://gate.crashing.org/~trini/