* Re: Bug#263348: linux-kernel-headers: asm/unaligned.h on powerpc is useless if __KERNEL__ is undefined [not found] ` <81r7qg6g3u.wl@omega.webmasters.gr.jp> @ 2004-08-09 17:50 ` Domenico Andreoli 2004-08-09 17:52 ` Hans Reiser 2004-08-10 11:39 ` Vitaly Fertman 0 siblings, 2 replies; 8+ messages in thread From: Domenico Andreoli @ 2004-08-09 17:50 UTC (permalink / raw) To: GOTO Masanori; +Cc: 263348, Hans Reiser, reiserfs-list On Mon, Aug 09, 2004 at 02:21:57PM +0900, GOTO Masanori wrote: > At Sat, 7 Aug 2004 00:50:06 +0200, > Domenico Andreoli wrote: > > i have attached a workaround for bug #263348 in case nobody wants to > > fix it linux-kernel-headers. > > > > it should work although being not that elegant. i know it is fragile > > since relies on _PPC_ERRNO_H macro being defined by asm/errno.h on > > powerpc and that could change in any moment. > > the header file used is actually asm/byteroder.h and macro is _PPC_BYTEORDER_H. 1:3.6.18-2 used asm/error.h but this broke things in a manner i didn't understand. > Looking through the kernel source, it seems lkh should be fixed. I > put the patch to lkh cvs. > good :) > However, now we're base-freeze period, and at least I don't decide to > put new lkh package -18 into unstable and testing-proposed-updates > yet, so it's good idea to put workaround fix for reiserfsprogs. > already put, uploaded and successfully built :) > BTW, I think reiserfsprogs is tightly coupled with the kernel version, > so I wonder it's OK to use lkh package, instead of using kernel > headers which are included from the latest kernel source to > reiserfsprogs. > don't know, Hans Reiser should be able to answer this question. cheers domenico -----[ Domenico Andreoli, aka cavok --[ http://people.debian.org/~cavok/gpgkey.asc ---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug#263348: linux-kernel-headers: asm/unaligned.h on powerpc is useless if __KERNEL__ is undefined 2004-08-09 17:50 ` Bug#263348: linux-kernel-headers: asm/unaligned.h on powerpc is useless if __KERNEL__ is undefined Domenico Andreoli @ 2004-08-09 17:52 ` Hans Reiser 2004-08-10 11:39 ` Vitaly Fertman 1 sibling, 0 replies; 8+ messages in thread From: Hans Reiser @ 2004-08-09 17:52 UTC (permalink / raw) To: Domenico Andreoli; +Cc: GOTO Masanori, 263348, reiserfs-list, Vitaly Fertman Domenico Andreoli wrote: >On Mon, Aug 09, 2004 at 02:21:57PM +0900, GOTO Masanori wrote: > > >>At Sat, 7 Aug 2004 00:50:06 +0200, >>Domenico Andreoli wrote: >> >> >>>i have attached a workaround for bug #263348 in case nobody wants to >>>fix it linux-kernel-headers. >>> >>>it should work although being not that elegant. i know it is fragile >>>since relies on _PPC_ERRNO_H macro being defined by asm/errno.h on >>>powerpc and that could change in any moment. >>> >>> >>> > >the header file used is actually asm/byteroder.h and macro is >_PPC_BYTEORDER_H. 1:3.6.18-2 used asm/error.h but this broke things in >a manner i didn't understand. > > > >>Looking through the kernel source, it seems lkh should be fixed. I >>put the patch to lkh cvs. >> >> >> > >good :) > > > >>However, now we're base-freeze period, and at least I don't decide to >>put new lkh package -18 into unstable and testing-proposed-updates >>yet, so it's good idea to put workaround fix for reiserfsprogs. >> >> >> > >already put, uploaded and successfully built :) > > > >>BTW, I think reiserfsprogs is tightly coupled with the kernel version, >>so I wonder it's OK to use lkh package, instead of using kernel >>headers which are included from the latest kernel source to >>reiserfsprogs. >> >> >> > >don't know, Hans Reiser should be able to answer this question. > >cheers >domenico > >-----[ Domenico Andreoli, aka cavok > --[ http://people.debian.org/~cavok/gpgkey.asc > ---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50 > > > > vitaly is the maintainer for progs. Vitaly? ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug#263348: linux-kernel-headers: asm/unaligned.h on powerpc is useless if __KERNEL__ is undefined 2004-08-09 17:50 ` Bug#263348: linux-kernel-headers: asm/unaligned.h on powerpc is useless if __KERNEL__ is undefined Domenico Andreoli 2004-08-09 17:52 ` Hans Reiser @ 2004-08-10 11:39 ` Vitaly Fertman [not found] ` <200408121720.54226.vitaly@namesys.com> 2004-08-18 7:18 ` GOTO Masanori 1 sibling, 2 replies; 8+ messages in thread From: Vitaly Fertman @ 2004-08-10 11:39 UTC (permalink / raw) To: Domenico Andreoli, GOTO Masanori; +Cc: 263348, reiserfs-list On Monday 09 August 2004 21:50, Domenico Andreoli wrote: > On Mon, Aug 09, 2004 at 02:21:57PM +0900, GOTO Masanori wrote: > > At Sat, 7 Aug 2004 00:50:06 +0200, > > > > Domenico Andreoli wrote: > > > i have attached a workaround for bug #263348 in case nobody wants to > > > fix it linux-kernel-headers. > > > > > > it should work although being not that elegant. i know it is fragile > > > since relies on _PPC_ERRNO_H macro being defined by asm/errno.h on > > > powerpc and that could change in any moment. #if defined(__ppc__) || defined(ppc) || defined(__ppc) || \ defined(__PPC) || defined(powerpc) || defined(__powerpc__) ? > the header file used is actually asm/byteroder.h and macro is > _PPC_BYTEORDER_H. 1:3.6.18-2 used asm/error.h but this broke things in > a manner i didn't understand. > > > Looking through the kernel source, it seems lkh should be fixed. I > > put the patch to lkh cvs. > > good :) > > > However, now we're base-freeze period, and at least I don't decide to > > put new lkh package -18 into unstable and testing-proposed-updates > > yet, so it's good idea to put workaround fix for reiserfsprogs. > > already put, uploaded and successfully built :) > > > BTW, I think reiserfsprogs is tightly coupled with the kernel version, > > so I wonder it's OK to use lkh package, instead of using kernel > > headers which are included from the latest kernel source to > > reiserfsprogs. > > don't know, Hans Reiser should be able to answer this question. kernel has all its includes in the kernel source tree and does not use standard ones, reiserfsprogs do not take anything from any kernel source tree and use their own or standard includes. asm/unaligned.h is included from glibc-devel on my computer. Could you check the above macros whether it works for you? -- Thanks, Vitaly Fertman ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <200408121720.54226.vitaly@namesys.com>]
* Re: Bug#263348: linux-kernel-headers: asm/unaligned.h on powerpc is useless if __KERNEL__ is undefined [not found] ` <200408121720.54226.vitaly@namesys.com> @ 2004-08-12 13:57 ` Domenico Andreoli 2004-08-18 11:03 ` Domenico Andreoli 0 siblings, 1 reply; 8+ messages in thread From: Domenico Andreoli @ 2004-08-12 13:57 UTC (permalink / raw) To: Vitaly Fertman; +Cc: reiserfs-list On Thu, Aug 12, 2004 at 05:20:54PM +0400, Vitaly Fertman wrote: > Hi Domenico, hi Vitaly, > seems that the problem will be solved in the linux-libc-headers finally, > as reiserfsprogs need a fix anyway, I am going to include the attached i did not understand you had the bug also out of debian, i would have replied earlier :) > one, it looks better than _PPC_ERRNO_H, doesn't it? unfortunately yes, it does a lot. of course. > I do not have hardware to test building. if you have, try it please and > tell me what you think about it. my powerpc hardware is actually that of debian, which is currently a little busy (wild and massive rebuild of packages) due to imminent release of the distribution. as soon as i'm able to check i will report you (in this moment i not even able to login). regards domenico -----[ Domenico Andreoli, aka cavok --[ http://people.debian.org/~cavok/gpgkey.asc ---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug#263348: linux-kernel-headers: asm/unaligned.h on powerpc is useless if __KERNEL__ is undefined 2004-08-12 13:57 ` Domenico Andreoli @ 2004-08-18 11:03 ` Domenico Andreoli 2004-08-18 11:36 ` Vitaly Fertman 0 siblings, 1 reply; 8+ messages in thread From: Domenico Andreoli @ 2004-08-18 11:03 UTC (permalink / raw) To: Vitaly Fertman; +Cc: reiserfs-list hi Vitaly, On Thu, Aug 12, 2004 at 03:57:30PM +0200, Domenico Andreoli wrote: > On Thu, Aug 12, 2004 at 05:20:54PM +0400, Vitaly Fertman wrote: > > > > I do not have hardware to test building. if you have, try it please and > > tell me what you think about it. > > my powerpc hardware is actually that of debian, which is currently > a little busy (wild and massive rebuild of packages) due to imminent > release of the distribution. as soon as i'm able to check i will report > you (in this moment i not even able to login). > i can now confirm that you patch to fix broken powerpc linux kernel headers does it work, the build succeeded. cheers domenico -----[ Domenico Andreoli, aka cavok --[ http://people.debian.org/~cavok/gpgkey.asc ---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug#263348: linux-kernel-headers: asm/unaligned.h on powerpc is useless if __KERNEL__ is undefined 2004-08-18 11:03 ` Domenico Andreoli @ 2004-08-18 11:36 ` Vitaly Fertman 0 siblings, 0 replies; 8+ messages in thread From: Vitaly Fertman @ 2004-08-18 11:36 UTC (permalink / raw) To: Domenico Andreoli; +Cc: reiserfs-list On Wednesday 18 August 2004 15:03, Domenico Andreoli wrote: > hi Vitaly, > > On Thu, Aug 12, 2004 at 03:57:30PM +0200, Domenico Andreoli wrote: > > On Thu, Aug 12, 2004 at 05:20:54PM +0400, Vitaly Fertman wrote: > > > I do not have hardware to test building. if you have, try it please and > > > tell me what you think about it. > > > > my powerpc hardware is actually that of debian, which is currently > > a little busy (wild and massive rebuild of packages) due to imminent > > release of the distribution. as soon as i'm able to check i will report > > you (in this moment i not even able to login). > > i can now confirm that you patch to fix broken powerpc linux kernel > headers does it work, the build succeeded. Thank You ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug#263348: linux-kernel-headers: asm/unaligned.h on powerpc is useless if __KERNEL__ is undefined 2004-08-10 11:39 ` Vitaly Fertman [not found] ` <200408121720.54226.vitaly@namesys.com> @ 2004-08-18 7:18 ` GOTO Masanori 2004-08-18 9:25 ` Vitaly Fertman 1 sibling, 1 reply; 8+ messages in thread From: GOTO Masanori @ 2004-08-18 7:18 UTC (permalink / raw) To: Vitaly Fertman, 263348; +Cc: Domenico Andreoli, GOTO Masanori, reiserfs-list Hi, At Tue, 10 Aug 2004 15:39:10 +0400, Vitaly Fertman wrote: > > the header file used is actually asm/byteroder.h and macro is > > _PPC_BYTEORDER_H. 1:3.6.18-2 used asm/error.h but this broke things in > > a manner i didn't understand. > > > > > Looking through the kernel source, it seems lkh should be fixed. I > > > put the patch to lkh cvs. > > > > good :) > > > > > However, now we're base-freeze period, and at least I don't decide to > > > put new lkh package -18 into unstable and testing-proposed-updates > > > yet, so it's good idea to put workaround fix for reiserfsprogs. > > > > already put, uploaded and successfully built :) > > > > > BTW, I think reiserfsprogs is tightly coupled with the kernel version, > > > so I wonder it's OK to use lkh package, instead of using kernel > > > headers which are included from the latest kernel source to > > > reiserfsprogs. > > > > don't know, Hans Reiser should be able to answer this question. > > kernel has all its includes in the kernel source tree and does not > use standard ones, reiserfsprogs do not take anything from > any kernel source tree and use their own or standard includes. > asm/unaligned.h is included from glibc-devel on my computer. I guess "glibc-devel" in Fedora Core is RedHat .rpm package, and I confirmed that it does not have any header files. If reiserfsprogs uses asm/unaligned.h in FC, then it's included in "glibc-kernheaders" package and this file is actually derived from linux kernel. In Debian, we use "linux-kernel-headers" package that role is equivalent to FC's glibc-kernheaders package. I sent the patch to ppc guys to fix this problem. If they apply my patch, the problem should be gone away. However, I think the question is still remained: should reiserfsprogs include some kernel version headers for each reiserfs modification versions, instead of using system headers directly? Regards, -- gotom ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug#263348: linux-kernel-headers: asm/unaligned.h on powerpc is useless if __KERNEL__ is undefined 2004-08-18 7:18 ` GOTO Masanori @ 2004-08-18 9:25 ` Vitaly Fertman 0 siblings, 0 replies; 8+ messages in thread From: Vitaly Fertman @ 2004-08-18 9:25 UTC (permalink / raw) To: GOTO Masanori, 263348; +Cc: Domenico Andreoli, reiserfs-list On Wednesday 18 August 2004 11:18, GOTO Masanori wrote: > Hi, > > At Tue, 10 Aug 2004 15:39:10 +0400, > > Vitaly Fertman wrote: > > > the header file used is actually asm/byteroder.h and macro is > > > _PPC_BYTEORDER_H. 1:3.6.18-2 used asm/error.h but this broke things in > > > a manner i didn't understand. > > > > > > > Looking through the kernel source, it seems lkh should be fixed. I > > > > put the patch to lkh cvs. > > > > > > good :) > > > > > > > However, now we're base-freeze period, and at least I don't decide to > > > > put new lkh package -18 into unstable and testing-proposed-updates > > > > yet, so it's good idea to put workaround fix for reiserfsprogs. > > > > > > already put, uploaded and successfully built :) > > > > > > > BTW, I think reiserfsprogs is tightly coupled with the kernel > > > > version, so I wonder it's OK to use lkh package, instead of using > > > > kernel headers which are included from the latest kernel source to > > > > reiserfsprogs. > > > > > > don't know, Hans Reiser should be able to answer this question. > > > > kernel has all its includes in the kernel source tree and does not > > use standard ones, reiserfsprogs do not take anything from > > any kernel source tree and use their own or standard includes. > > asm/unaligned.h is included from glibc-devel on my computer. > > I guess "glibc-devel" in Fedora Core is RedHat .rpm package, and I > confirmed that it does not have any header files. If reiserfsprogs > uses asm/unaligned.h in FC, then it's included in "glibc-kernheaders" > package and this file is actually derived from linux kernel. In > Debian, we use "linux-kernel-headers" package that role is equivalent > to FC's glibc-kernheaders package. > > I sent the patch to ppc guys to fix this problem. If they apply my > patch, the problem should be gone away. > > However, I think the question is still remained: should reiserfsprogs > include some kernel version headers for each reiserfs modification > versions, instead of using system headers directly? what headers are you talking about? if about reiserfs headers, progs do not include reiserfs kernel headers, they have their own. -- Thanks, Vitaly Fertman ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-08-18 11:36 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20040806220432.GA2291@raptus.homelinux.net>
[not found] ` <20040806225006.GA2688@raptus.homelinux.net>
[not found] ` <81r7qg6g3u.wl@omega.webmasters.gr.jp>
2004-08-09 17:50 ` Bug#263348: linux-kernel-headers: asm/unaligned.h on powerpc is useless if __KERNEL__ is undefined Domenico Andreoli
2004-08-09 17:52 ` Hans Reiser
2004-08-10 11:39 ` Vitaly Fertman
[not found] ` <200408121720.54226.vitaly@namesys.com>
2004-08-12 13:57 ` Domenico Andreoli
2004-08-18 11:03 ` Domenico Andreoli
2004-08-18 11:36 ` Vitaly Fertman
2004-08-18 7:18 ` GOTO Masanori
2004-08-18 9:25 ` Vitaly Fertman
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.