Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2004-01-18 Thread Sven Luther
On Sun, Jan 18, 2004 at 01:14:07PM +0100, Geert Uytterhoeven wrote: > On Tue, 13 Jan 2004, Sven Luther wrote: > > On Tue, Jan 13, 2004 at 06:09:38PM +0100, Geert Uytterhoeven wrote: > > > On Tue, 13 Jan 2004, Sven Luther wrote: > > > > On Wed, Dec 17, 2003 at 11:13:58AM +0100, Geert Uytterhoeven wr

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2004-01-18 Thread Geert Uytterhoeven
On Sun, 18 Jan 2004, Sven Luther wrote: > On Sun, Jan 18, 2004 at 01:14:07PM +0100, Geert Uytterhoeven wrote: > > On Tue, 13 Jan 2004, Sven Luther wrote: > > > Can you confirm that the GEN_RTC driver works for you ? > > > > To my surprise, genrtc in 2.4.23 does not work on my LongTrail! > > The ker

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2004-01-18 Thread Benjamin Herrenschmidt
> To my surprise, genrtc in 2.4.23 does not work on my LongTrail! > The kernel crashes in init/do_mounts.c:mount_block_root() right after the call > to sys_chdir(), because current->fs is a NULL pointer. Weird, and it doesn't > really look genrtc-related, although the same source tree works fine i

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2004-01-18 Thread Geert Uytterhoeven
On Tue, 13 Jan 2004, Sven Luther wrote: > On Tue, Jan 13, 2004 at 06:09:38PM +0100, Geert Uytterhoeven wrote: > > On Tue, 13 Jan 2004, Sven Luther wrote: > > > On Wed, Dec 17, 2003 at 11:13:58AM +0100, Geert Uytterhoeven wrote: > > > > On Wed, 17 Dec 2003, Sven Luther wrote: > > > > > On Wed, Dec 1

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2004-01-13 Thread Sven Luther
On Tue, Jan 13, 2004 at 06:09:38PM +0100, Geert Uytterhoeven wrote: > > On Tue, 13 Jan 2004, Sven Luther wrote: > > On Wed, Dec 17, 2003 at 11:13:58AM +0100, Geert Uytterhoeven wrote: > > > On Wed, 17 Dec 2003, Sven Luther wrote: > > > > On Wed, Dec 17, 2003 at 10:57:07AM +0100, Geert Uytterhoeven

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2004-01-13 Thread Geert Uytterhoeven
On Tue, 13 Jan 2004, Sven Luther wrote: > On Wed, Dec 17, 2003 at 11:13:58AM +0100, Geert Uytterhoeven wrote: > > On Wed, 17 Dec 2003, Sven Luther wrote: > > > On Wed, Dec 17, 2003 at 10:57:07AM +0100, Geert Uytterhoeven wrote: > > > > It uses the PC-style RTC driver (genrtc.o is not loaded). > > >

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2004-01-13 Thread Sven Luther
On Wed, Dec 17, 2003 at 11:13:58AM +0100, Geert Uytterhoeven wrote: > On Wed, 17 Dec 2003, Sven Luther wrote: > > On Wed, Dec 17, 2003 at 10:57:07AM +0100, Geert Uytterhoeven wrote: > > > On Wed, 17 Dec 2003, Sven Luther wrote: > > > > On Wed, Dec 17, 2003 at 10:43:24AM +0100, Geert Uytterhoeven wr

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-12-17 Thread Sven Luther
On Wed, Dec 17, 2003 at 09:41:04AM -0700, Tom Rini wrote: > PC-style RTCs do work with genrtc, even on LongTrail (I used ppc_rtc > last time I booted my longtrail). And it would be really nice if > someone would add the missing features (I _think_ alarm is the only > important one, aside from /pro

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-12-17 Thread Tom Rini
On Wed, Dec 17, 2003 at 11:13:58AM +0100, Geert Uytterhoeven wrote: > On Wed, 17 Dec 2003, Sven Luther wrote: > > On Wed, Dec 17, 2003 at 10:57:07AM +0100, Geert Uytterhoeven wrote: > > > On Wed, 17 Dec 2003, Sven Luther wrote: > > > > On Wed, Dec 17, 2003 at 10:43:24AM +0100, Geert Uytterhoeven wr

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-12-17 Thread Sven Luther
On Wed, Dec 17, 2003 at 10:57:07AM +0100, Geert Uytterhoeven wrote: > On Wed, 17 Dec 2003, Sven Luther wrote: > > On Wed, Dec 17, 2003 at 10:43:24AM +0100, Geert Uytterhoeven wrote: > > > On Wed, 17 Dec 2003, Sven Luther wrote: > > > > On Sun, Aug 24, 2003 at 03:18:46AM +1000, J. Javier Maestro wro

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-12-17 Thread Sven Luther
On Wed, Dec 17, 2003 at 10:43:24AM +0100, Geert Uytterhoeven wrote: > On Wed, 17 Dec 2003, Sven Luther wrote: > > On Sun, Aug 24, 2003 at 03:18:46AM +1000, J. Javier Maestro wrote: > > > I just recompiled the 2.4.21-ben2 kernel several times, trying to get it > > > running. I finally fixed the FB p

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-12-17 Thread Geert Uytterhoeven
On Wed, 17 Dec 2003, Sven Luther wrote: > On Wed, Dec 17, 2003 at 10:57:07AM +0100, Geert Uytterhoeven wrote: > > On Wed, 17 Dec 2003, Sven Luther wrote: > > > On Wed, Dec 17, 2003 at 10:43:24AM +0100, Geert Uytterhoeven wrote: > > > > On Wed, 17 Dec 2003, Sven Luther wrote: > > > > > On Sun, Aug 2

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-12-17 Thread Geert Uytterhoeven
On Wed, 17 Dec 2003, Sven Luther wrote: > On Wed, Dec 17, 2003 at 10:43:24AM +0100, Geert Uytterhoeven wrote: > > On Wed, 17 Dec 2003, Sven Luther wrote: > > > On Sun, Aug 24, 2003 at 03:18:46AM +1000, J. Javier Maestro wrote: > > > > I just recompiled the 2.4.21-ben2 kernel several times, trying t

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-12-17 Thread Geert Uytterhoeven
On Wed, 17 Dec 2003, Sven Luther wrote: > On Sun, Aug 24, 2003 at 03:18:46AM +1000, J. Javier Maestro wrote: > > I just recompiled the 2.4.21-ben2 kernel several times, trying to get it > > running. I finally fixed the FB problem I was having at compilation, and > > when booting, the kernel froze i

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-12-16 Thread Sven Luther
On Sun, Aug 24, 2003 at 03:18:46AM +1000, J. Javier Maestro wrote: > Hi everyone, > > I just recompiled the 2.4.21-ben2 kernel several times, trying to get it > running. I finally fixed the FB problem I was having at compilation, and > when booting, the kernel froze in the middle of the boot, when

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-08-25 Thread Michel Dänzer
On Mon, 2003-08-25 at 05:41, Soeren Sonnenburg wrote: > On Mon, 2003-08-25 at 00:14, Michel Dänzer wrote: > > On Sat, 2003-08-23 at 19:18, J. Javier Maestro wrote: > > > > > > Linux RTC init error in ioctl (rtc_irqp_set 1024): Invalid argument > > > Try adding "echo 1024 > /proc/sys/dev/rtc/max-u

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-08-25 Thread J. Javier Maestro
On Aug Mon 25 2003 11:56, Michel Dänzer wrote: > On Mon, 2003-08-25 at 05:41, Soeren Sonnenburg wrote: > > On Mon, 2003-08-25 at 00:14, Michel Dänzer wrote: > > > On Sat, 2003-08-23 at 19:18, J. Javier Maestro wrote: > > > > > > > > Linux RTC init error in ioctl (rtc_irqp_set 1024): Invalid argum

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-08-25 Thread J. Javier Maestro
On Aug Mon 25 2003 05:41, Soeren Sonnenburg wrote: > On Mon, 2003-08-25 at 00:14, Michel Dänzer wrote: > > On Sat, 2003-08-23 at 19:18, J. Javier Maestro wrote: > > > > > > I just wanted to know if setting this: > > > > > > # CONFIG_GEN_RTC is not set > > > CONFIG_PPC_RTC=y > > > # CONFIG_RTC is

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-08-25 Thread J. Javier Maestro
On Aug Mon 25 2003 09:53, Nathan Hurst wrote: > On Sun, 24 Aug 2003 22:51:36 +1000 > "J. Javier Maestro" <[EMAIL PROTECTED]> wrote: > > > True... anyone with a nice hack/mod of the Powerbook with temp > > sensors? > > The sound chip in the powerbook is controlled through the i2c bus. I2c > is ve

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-08-24 Thread Soeren Sonnenburg
On Mon, 2003-08-25 at 00:14, Michel Dänzer wrote: > On Sat, 2003-08-23 at 19:18, J. Javier Maestro wrote: > > > > I just wanted to know if setting this: > > > > # CONFIG_GEN_RTC is not set > > CONFIG_PPC_RTC=y > > # CONFIG_RTC is not set > > > > is sufficient to get the RTC running properly...

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-08-24 Thread Nathan Hurst
On Sun, 24 Aug 2003 22:51:36 +1000 "J. Javier Maestro" <[EMAIL PROTECTED]> wrote: > True... anyone with a nice hack/mod of the Powerbook with temp > sensors? The sound chip in the powerbook is controlled through the i2c bus. I2c is very easy to interface to and there are plenty of i2c temp senso

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-08-24 Thread Michel Dänzer
On Sat, 2003-08-23 at 19:18, J. Javier Maestro wrote: > > I just wanted to know if setting this: > > # CONFIG_GEN_RTC is not set > CONFIG_PPC_RTC=y > # CONFIG_RTC is not set > > is sufficient to get the RTC running properly... Yes, either CONFIG_PPC_RTC or CONFIG_GEN_RTC should work. > mplay

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-08-24 Thread J. Javier Maestro
On Aug Sun 24 2003 13:20, Wolfgang Pfeiffer wrote: > On Sun, 24 Aug 2003, J. Javier Maestro wrote: > > > On Aug Sun 24 2003 01:11, Wolfgang Pfeiffer wrote: > > > On Sun, 24 Aug 2003, J. Javier Maestro wrote: > > > > > > > My last issue with the kernel is the Thermal Unit Assistant. I > > > > set t

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-08-24 Thread Wolfgang Pfeiffer
On Sun, 24 Aug 2003, Wolfgang Pfeiffer wrote: > http://www.apple.com/powerbook/specs.html > > So in a heatwave as we had in Europe until recently (with temperatures > here in my flat until up to ~ 33 °C, no aircondition) I wouldn't rely > on a sensor, that might give me wrong values: I prefer to re

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-08-24 Thread Wolfgang Pfeiffer
On Sun, 24 Aug 2003, J. Javier Maestro wrote: > On Aug Sun 24 2003 01:11, Wolfgang Pfeiffer wrote: > > On Sun, 24 Aug 2003, J. Javier Maestro wrote: > > > > > My last issue with the kernel is the Thermal Unit Assistant. I > > > set the kernel options CONFIG_TAU and CONFIG_TAU_AVERAGE, but at boot

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-08-23 Thread J. Javier Maestro
On Aug Sun 24 2003 01:11, Wolfgang Pfeiffer wrote: > On Sun, 24 Aug 2003, J. Javier Maestro wrote: > > > My last issue with the kernel is the Thermal Unit Assistant. I > > set the kernel options CONFIG_TAU and CONFIG_TAU_AVERAGE, but at boot > > time, I can read the message "Thermal Assist Unit no

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-08-23 Thread Wolfgang Pfeiffer
On Sun, 24 Aug 2003, J. Javier Maestro wrote: > My last issue with the kernel is the Thermal Unit Assistant. I > set the kernel options CONFIG_TAU and CONFIG_TAU_AVERAGE, but at boot > time, I can read the message "Thermal Assist Unit not available". I was > wondering if any of you running a PBook

2.4.21-ben2 issues: RTC, Thermal and RTAS

2003-08-23 Thread J. Javier Maestro
Hi everyone, I just recompiled the 2.4.21-ben2 kernel several times, trying to get it running. I finally fixed the FB problem I was having at compilation, and when booting, the kernel froze in the middle of the boot, when trying to set the System time. I can track this to the RTC support, since th