Re: incompatible unaligned.h between x86 and ppc - kernel-hackers verify please

2004-11-03 Thread Michel Dänzer
On Wed, 2004-11-03 at 18:18 -0500, Albert Cahalan wrote: > On Wed, 2004-11-03 at 17:24, Benjamin Herrenschmidt wrote: > > > Please point to the equally-optimized alternative > > > that works on all platforms. > > > > If there is none, then rip off the kernel implementation or lobby glibc > > to pr

Re: incompatible unaligned.h between x86 and ppc - kernel-hackers verify please

2004-11-03 Thread Albert Cahalan
On Wed, 2004-11-03 at 18:30, Christoph Hellwig wrote: > > What crap? You're the one who implied that these were > > somehow kernel headers. They're not. They come with > > the glibc-headers package. > > > > It really doesn't matter how this is fixed. It could be > > fixed in the glibc-headers pack

Re: incompatible unaligned.h between x86 and ppc - kernel-hackersverify please

2004-11-03 Thread Albert Cahalan
On Wed, 2004-11-03 at 17:39, Benjamin Herrenschmidt wrote: > On Wed, 2004-11-03 at 23:37 +0100, Klaus Schmidinger wrote: > > > It's a bug in VDR to use a platform independent way of accessing unaligned > > data? I don't think so... > > It is a bug in _ANY_ userland application to rely on an inlin

Re: incompatible unaligned.h between x86 and ppc - kernel-hackers verify please

2004-11-03 Thread Christoph Hellwig
> What crap? You're the one who implied that these were > somehow kernel headers. They're not. They come with > the glibc-headers package. > > It really doesn't matter how this is fixed. It could be > fixed in the glibc-headers package. Alternately, the > kernel source could be made more friendly

Re: incompatible unaligned.h between x86 and ppc - kernel-hackers verify please

2004-11-03 Thread Albert Cahalan
On Wed, 2004-11-03 at 17:24, Benjamin Herrenschmidt wrote: > > Please point to the equally-optimized alternative > > that works on all platforms. > > If there is none, then rip off the kernel implementation or lobby glibc > to provide one, or make a "libunaligned.so" and distribute it etc... > >

Re: incompatible unaligned.h between x86 and ppc - kernel-hackersverify please

2004-11-03 Thread Christoph Hellwig
On Wed, Nov 03, 2004 at 11:37:35PM +0100, Klaus Schmidinger wrote: > It's a bug in VDR to use a platform independent way of accessing unaligned > data? I don't think so... Yes, it's a bug.

Re: incompatible unaligned.h between x86 and ppc - kernel-hackers verify please

2004-11-03 Thread Christoph Hellwig
> Stuff breaks, needlessly. I'd go so far as to say that > the Linux API has been broken on ppc. this is not a public API. An inline can't be a kernel API, everything that can be considered a kernel API is behind the syscall barrier.

Re: incompatible unaligned.h between x86 and ppc - kernel-hackers verify please

2004-11-03 Thread Christoph Hellwig
On Wed, Nov 03, 2004 at 09:56:18AM +0100, Christoph Ewering wrote: > Hello List, hello Klaus, hello Benjamin! > > At the moment I am fighting with an error on ppc when I want to compile > the new vdr-1.3.14 from Klaus Schmidinger. > > vdr uses unaligned.h and it stops compiling with an error ab

Re: incompatible unaligned.h between x86 and ppc - kernel-hackersverify please

2004-11-03 Thread Klaus Schmidinger
Benjamin Herrenschmidt wrote: > > On Wed, 2004-11-03 at 09:56 +0100, Christoph Ewering wrote: > > Hello List, hello Klaus, hello Benjamin! > > > > At the moment I am fighting with an error on ppc when I want to compile > > the new vdr-1.3.14 from Klaus Schmidinger. > > > > vdr uses unaligned.h an

umountfs hangs on shutdown

2004-11-03 Thread Nikolaus Schulz
Hello, perhaps someone has an idea concerning this... Shutting down Sarge on my iBook 2.2, /etc/init.d/umountfs hangs when remounting the root filesystem read-only. Here the relevant lines from umountfs: |# Umount all filesystems except the virtual ones. |umount -tnoproc,noprocfs,nodevfs,n

Pcmcia wireless card

2004-11-03 Thread Isidoro Reyes de Zuloaga
Hi folks! I'm facing a problem and i need some help. I'm using a new brand powerbook, bought a month ago. Since airport xtreme it's not working, i'm trying to get connected to wireless internet over mt old d-link wireless card (DWL-650). I remember i use it on my old computer (x86) but i cant ge

Re: incompatible unaligned.h between x86 and ppc - kernel-hackersverify please

2004-11-03 Thread Benjamin Herrenschmidt
On Wed, 2004-11-03 at 23:37 +0100, Klaus Schmidinger wrote: > It's a bug in VDR to use a platform independent way of accessing unaligned > data? I don't think so... It is a bug in _ANY_ userland application to rely on an inline function exposed by a kernel header. If glibc doesn't provide an equi

Re: incompatible unaligned.h between x86 and ppc - kernel-hackers verify please

2004-11-03 Thread Benjamin Herrenschmidt
> -- > Tab > > --- unaligned.h.orig 2004-11-03 18:37:24 +0100 > +++ unaligned.h 2004-11-03 18:37:29 +0100 > @@ -1,4 +1,3 @@ > -#ifdef __KERNEL__ > #ifndef __PPC_UNALIGNED_H > #define __PPC_UNALIGNED_H > > @@ -15,4 +14,3 @@ > #define put_unaligned(val, ptr) ((void)( *(ptr) = (val) ))

Re: incompatible unaligned.h between x86 and ppc - kernel-hackers verify please

2004-11-03 Thread Benjamin Herrenschmidt
> Please point to the equally-optimized alternative > that works on all platforms. If there is none, then rip off the kernel implementation or lobby glibc to provide one, or make a "libunaligned.so" and distribute it etc... but to NOT rely on the kernel header, that is bogus. > > At least on ar

Re: incompatible unaligned.h between x86 and ppc - kernel-hackers verify please

2004-11-03 Thread Benjamin Herrenschmidt
On Wed, 2004-11-03 at 09:56 +0100, Christoph Ewering wrote: > Hello List, hello Klaus, hello Benjamin! > > At the moment I am fighting with an error on ppc when I want to compile > the new vdr-1.3.14 from Klaus Schmidinger. > > vdr uses unaligned.h and it stops compiling with an error about >

Returned mail: unreachable recipients: cip.glenans@vendee-expansion.fr

2004-11-03 Thread eSafe
The original message was received at Wed Nov 03 22:18:18 2004 Likely reason for failure: 550 5.1.1 user [EMAIL PROTECTED] not known _ Reporting-MTA: dns; eSafe@alizes-info.fr Final-Recipient: RFC822;cip.glenans@vendee-expansion.fr Actio

Re: incompatible unaligned.h between x86 and ppc - kernel-hackers verify please

2004-11-03 Thread Vincent Hanquez
On Wed, Nov 03, 2004 at 08:17:56AM -0500, Albert Cahalan wrote: > If __ARMEB__ is not compiler-defined, something is > broken. I didn't know __ARMEB__ was set by compiler, I though it was kernel configuration stuff. anyway, that make the problem on ppc then. > Next time, start with i386. If Linu

Re: Test patch for sleep on Aluminium PowerBooks

2004-11-03 Thread Michael Schmitz
> I may have lied a bit there -- I've just noticed that when the machine > turns back on, sometimes the display is on but the light isn't -- you > can just about make out the picture on it. When I use one of the > / keys, the light does come back on, though. > > Not a major problem, but thought I

Re: Test patch for sleep on Aluminium PowerBooks

2004-11-03 Thread Matthew T. Atkinson
'ello again, On Sun, 2004-10-31 at 16:13, Matthew T. Atkinson wrote: > I have a 15'' PowerBook5,4 and it works perfectly -- thank you very > much! My machine is used for taking notes in lectures at University so > this will make a huge difference to me! I may have lied a bit there -- I've just n

Re: swsusp and cpufreq

2004-11-03 Thread Michael Schmitz
> BTW, I've seen an experimental CONFIG_USB_SUSPEND kernel option, > anybody have try it? Does it make possible to not unload usb modules? Didn't work last time I tried. Michael

Re: swsusp and cpufreq

2004-11-03 Thread Djoume SALVETTI
Le mercredi 11/03/04 Guido Guenther <[EMAIL PROTECTED]> a écrit : > You still have the ohci_hcd module loaded or compiled in, remove that. Oh yes you're right, it was compiled in it's why I've forgot it... BTW, I've seen an experimental CONFIG_USB_SUSPEND kernel option, anybody have try it? Does

Re: incompatible unaligned.h between x86 and ppc - kernel-hackers verify please

2004-11-03 Thread Albert Cahalan
On Wed, 2004-11-03 at 04:23, Vincent Hanquez wrote: > On Wed, Nov 03, 2004 at 09:56:18AM +0100, Christoph Ewering wrote: > > ppc. The asm-ppc/unaligned.h has two lines more - at the begining of > > unaligned.h "#ifdef __KERNEL__" and at the end "#endif /* KERNEL */". > > So I "greped" around in

Re: incompatible unaligned.h between x86 and ppc - kernel-hackers verify please

2004-11-03 Thread Vincent Hanquez
On Wed, Nov 03, 2004 at 09:56:18AM +0100, Christoph Ewering wrote: > Hello List, hello Klaus, hello Benjamin! > > At the moment I am fighting with an error on ppc when I want to compile > the new vdr-1.3.14 from Klaus Schmidinger. > > vdr uses unaligned.h and it stops compiling with an error ab

incompatible unaligned.h between x86 and ppc - kernel-hackers verify please

2004-11-03 Thread Christoph Ewering
Hello List, hello Klaus, hello Benjamin! At the moment I am fighting with an error on ppc when I want to compile the new vdr-1.3.14 from Klaus Schmidinger. vdr uses unaligned.h and it stops compiling with an error about "get_unaligned not declared" on ppc. I tracked this down with the help

Re: swsusp and cpufreq

2004-11-03 Thread Guido Guenther
On Tue, Nov 02, 2004 at 09:08:27PM +0100, Djoumé SALVETTI wrote: > Le lundi 11/01/04 Djoumé SALVETTI <[EMAIL PROTECTED]> a écrit : > > > > Is there any compatibility problem between your swsusp patch and > > > > cpufreq? I have experience some resume failure (most of the resume work, > > > > but so