Re: Crash! kernel 2.4.2 jumps to mon
On Wed, Mar 07, 2001 at 01:34:29AM -0400, Peter Cordes wrote: The Darwin kernel includes HFS and HFS+ support. I assume the interface to the rest of the kernel is too different to port it easily, and the license thats exactly it, most likely the code would have to be almost entirely rewritten anyway. HFS+ is fully documented by apple so that is not the issue, the issue is nobody has the time/desire to write this filesystem driver. since OSX supports installation onto UFS filesystems that is a much faster route to go, linux already supports OpenStep's UFS varient readonly, all that is needed is write support for that. Apple has it under wouldn't allow it to become part of the official kernel. However, I'm pretty sure it would be possible to distribute source for a kernel module based on the darwin HFS code. That would be good enough for a lot of people, since the source stays open if you do that. You don't have freedom to do stuff with it, but that shouldn't be too much of a problem for a driver for a specialized filesystem. Still, Free would be better. I don't remember how bad the apple license is, but they don't require your house and first-born child or anything :) all you have to do is violate one of apple's patents and the APSL is revoked. [1] and as we know companies in the US have no problem getting bogus patents. (like oh theming). i think the time is better spent writing a Free software filesystem driver, or else fixing up the UFS/OpenStep driver to support writing. [1] This is how i interpret the termination clause anyway, but IANAL. -- Ethan Benson http://www.alaska.net/~erbenson/ pgpETfZZPBBkb.pgp Description: PGP signature
Re: Crash! kernel 2.4.2 jumps to mon
Can you send me your System.map for that kernel? The linuxcare.com kernels that Paul keeps have changes that he's not ready to push into the main tree yet. It's likely you discovered one of the reasons he holds off on pushing his changes :) You may want let Paul know, too. I would rather suspect a latent bug in the HFS fs code related to dentry caching. There is already a report of this bug on the sourceforge site. I asked Klaus Halfman to have a look at it (he's working on HFS+ and have some knowledge of the VFS and HFS filesystem that I don't have). Ben
Re: Crash! kernel 2.4.2 jumps to mon
Hello Cort! I will send you my System.map, but I have to say that this crash happend after I applied a patch that shows the temperature of the cpu. But I think this does not lead to a crash in dcache.h. I will forward this to the writer of the temp.patch. The patch work really good on my pismo. But I had 2.4.2 running for only two days, one day without the temp.patch one with it. Today starts the second day with this temp.patch in the kernel. So at the moment I can not say if this is a good kernel. I´m going to build a new one with everything disabled that i do not need. I don´t know the mail address of Paul, could you please forward this mail to him. Bye and thanks, Christoph Cort Dougan schrieb: Can you send me your System.map for that kernel? The linuxcare.com kernels that Paul keeps have changes that he's not ready to push into the main tree yet. It's likely you discovered one of the reasons he holds off on pushing his changes :) You may want let Paul know, too. } For the first time in my life i saw mon. } This happend to me when I tried to delete some files from a hfs partition. } } At the bottom of the screen I read kernel BUG at /usr/src/linux/include/linux/dcache.h:244! } and at the top vector: 0 at pc = c00789F8 } } I´m running kernel 2.4.2 from ppc.linuxcare.com } } Hope some developers can see what went wrong. } If someone needs more info, I try to reproduce this bug. } } Bye, } Christoph } } -- } Dipl. Ing. Christoph EweringC E Informationsdienste GbR } 0 52 54 80 68 66 oder 0173 566 266 1 } [EMAIL PROTECTED] } } } -- } To UNSUBSCRIBE, email to [EMAIL PROTECTED] } with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Dipl. Ing. Christoph EweringC E Informationsdienste GbR 0 52 54 80 68 66 oder 0173 566 266 1 [EMAIL PROTECTED]
Re: Crash! kernel 2.4.2 jumps to mon
Benjamin Herrenschmidt wrote: Can you send me your System.map for that kernel? The linuxcare.com kernels that Paul keeps have changes that he's not ready to push into the main tree yet. It's likely you discovered one of the reasons he holds off on pushing his changes :) You may want let Paul know, too. I would rather suspect a latent bug in the HFS fs code related to dentry caching. There is already a report of this bug on the sourceforge site. I asked Klaus Halfman to have a look at it (he's working on HFS+ and have some knowledge of the VFS and HFS filesystem that I don't have). Well, considering that the HFS code hasn't been actively maintained since the 2.0 days as far as I can tell, it's no surprise it isn't completely stable. In fact, I took a look at the code, and it just doesn't look right. I haven't really pinned it down, but it looks like someone went through and got it to work in 2.4 and didn't have the time to do a better job of it. I seem to recall that happening in the 2.2 kernel as well. The dcache stuff in HFS is all added after the fact, and isn't really part of the design as far as I can tell. It really needs an almost complete rewrite, but I doubt anyone has the time. I know I don't. On a somewhat brighter note, there's now a 'linux-hfsplus' project on sourceforge that everyone can keep an eye on. Hopefully I'll have some actual code up there in a few weeks. http://sourceforge.net/projects/linux-hfsplus/ Brad Boyer [EMAIL PROTECTED]
Re: Crash! kernel 2.4.2 jumps to mon
On Tue, Mar 06, 2001 at 08:32:46PM -0800, Brad Boyer wrote: Well, considering that the HFS code hasn't been actively maintained since the 2.0 days as far as I can tell, it's no surprise it isn't completely stable. In fact, I took a look at the code, and it just doesn't look right. I haven't really pinned it down, but it looks like someone went through and got it to work in 2.4 and didn't have the time to do a better job of it. I seem to recall that happening in the 2.2 kernel as well. The dcache stuff in HFS is all added after the fact, and isn't really part of the design as far as I can tell. It really needs an almost complete rewrite, but I doubt anyone has the time. I know I don't. The Darwin kernel includes HFS and HFS+ support. I assume the interface to the rest of the kernel is too different to port it easily, and the license Apple has it under wouldn't allow it to become part of the official kernel. However, I'm pretty sure it would be possible to distribute source for a kernel module based on the darwin HFS code. That would be good enough for a lot of people, since the source stays open if you do that. You don't have freedom to do stuff with it, but that shouldn't be too much of a problem for a driver for a specialized filesystem. Still, Free would be better. I don't remember how bad the apple license is, but they don't require your house and first-born child or anything :) -- #define X(x,y) x##y Peter Cordes ; e-mail: X([EMAIL PROTECTED] , ns.ca) The gods confound the man who first found out how to distinguish the hours! Confound him, too, who in this place set up a sundial, to cut and hack my day so wretchedly into small pieces! -- Plautus, 200 BCE
Crash! kernel 2.4.2 jumps to mon
Hello everybody! For the first time in my life i saw mon. This happend to me when I tried to delete some files from a hfs partition. At the bottom of the screen I read kernel BUG at /usr/src/linux/include/linux/dcache.h:244! and at the top vector: 0 at pc = c00789F8 I´m running kernel 2.4.2 from ppc.linuxcare.com Hope some developers can see what went wrong. If someone needs more info, I try to reproduce this bug. Bye, Christoph -- Dipl. Ing. Christoph EweringC E Informationsdienste GbR 0 52 54 80 68 66 oder 0173 566 266 1 [EMAIL PROTECTED]
Re: Crash! kernel 2.4.2 jumps to mon
Can you send me your System.map for that kernel? The linuxcare.com kernels that Paul keeps have changes that he's not ready to push into the main tree yet. It's likely you discovered one of the reasons he holds off on pushing his changes :) You may want let Paul know, too. } For the first time in my life i saw mon. } This happend to me when I tried to delete some files from a hfs partition. } } At the bottom of the screen I read kernel BUG at /usr/src/linux/include/linux/dcache.h:244! } and at the top vector: 0 at pc = c00789F8 } } I´m running kernel 2.4.2 from ppc.linuxcare.com } } Hope some developers can see what went wrong. } If someone needs more info, I try to reproduce this bug. } } Bye, } Christoph } } -- } Dipl. Ing. Christoph EweringC E Informationsdienste GbR } 0 52 54 80 68 66 oder 0173 566 266 1 } [EMAIL PROTECTED] } } } -- } To UNSUBSCRIBE, email to [EMAIL PROTECTED] } with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]