Skip to contentSkip to conversation

2.6-7-rc1 8xx - No go

DISCUSSION Pantelis Antoniou 7 participants 11 messages May 28, 2004

lore
Share & tools
lore
#0 lore raw

Hi there.

I'm reporting that my tree, after updating from 2.6.6 -> 2.6.7-rc1 does not work any more.

Currently investigating why.

Regards

Pantelis

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 12 lines · Pantelis Antoniou

Hi there.

I'm reporting that my tree, after updating from 2.6.6 -> 2.6.7-rc1 does not work any more.

Currently investigating why.

Regards

Pantelis

Update; for some reason the problem seems to be that page faults are incredibly slow.

Starting a dummy init after a minute it manages to start and operate correctly.

I suspect a terribly slow page fault.

Regards

Pantelis

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw

Did you actually manage to compile standard (no tweak), 2.6.7-rc1 for 8xx? If so, what '8xx Machine Type' did you chose?

Regards,
Ricardo Diz

Quoted 18 lines
Quoted 12 lines · Pantelis Antoniou

Hi there.

I'm reporting that my tree, after updating from 2.6.6 -> 2.6.7-rc1 does not work any more.

Currently investigating why.

Regards

Pantelis

Update; for some reason the problem seems to be that page faults are incredibly slow.

Quoted 12 lines

Starting a dummy init after a minute it manages to start and operate correctly.

I suspect a terribly slow page fault.

Regards

Pantelis

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#3 lore raw
Quoted 2 lines · On Fri, 28 May 2004 [email protected] wrote:

Did you actually manage to compile standard (no tweak), 2.6.7-rc1 for 8xx? If so, what '8xx Machine Type' did you chose?

and here's another almost assuredly dumb question on my part -- can someone clarify the different kernel source trees that are under discussion here?

the one i'm playing with is ppc.bkbits.net:8080/linuxppc-2.5, while the posting above suggests a recent version straight from the stock kernel.org repository.

what's the protocol for patches and updates? do first attempts at patches go into the 2.5 tree and, from there, get pushed up to the stock tree? just curious about the proper way i should be updating my source tree and testing.

thanks.

rday

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#4 lore raw
Quoted 11 lines · Robert P. J. Day
Quoted 3 lines · On Fri, 28 May 2004 [email protected] wrote:

Did you actually manage to compile standard (no tweak), 2.6.7-rc1 for 8xx? If so, what '8xx Machine Type' did you chose?

and here's another almost assuredly dumb question on my part -- can someone clarify the different kernel source trees that are under discussion here?

I could try but I'm not insane yet :). Tom?

Quoted 5 lines

the one i'm playing with is ppc.bkbits.net:8080/linuxppc-2.5, while the posting above suggests a recent version straight from the stock kernel.org repository.

that's the one I working one too.

Quoted 14 lines

what's the protocol for patches and updates? do first attempts at patches go into the 2.5 tree and, from there, get pushed up to the stock tree? just curious about the proper way i should be updating my source tree and testing.

thanks.

rday

Regards

Pantelis

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#5 lore raw
In reply to [email protected]
Quoted 4 lines · [email protected] wrote:

Did you actually manage to compile standard (no tweak), 2.6.7-rc1 for 8xx? If so, what '8xx Machine Type' did you chose?

Quoted 42 lines

Regards,
Ricardo Diz

Quoted 32 lines
Quoted 13 lines · Pantelis Antoniou

Hi there.

I'm reporting that my tree, after updating from 2.6.6 -> 2.6.7-rc1 does not work any more.

Currently investigating why.

Regards

Pantelis

Update; for some reason the problem seems to be that page faults are incredibly slow.

Starting a dummy init after a minute it manages to start and operate correctly.

I suspect a terribly slow page fault.

Regards

Pantelis

It's the linuxppc-2.5 tree. Plus my own modifications.

Regards

Pantelis

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#6 lore raw

RTC no longer exist on the 866/87x/88x

In reply to Pantelis Antoniou

Hi 8xx gurus,

I just noticed the RTC is no longer documented/tested/supported on the duet. How does this impact the current 2.4 8xx tree?

I know the /dev/rtc still uses RTC on the processor, it appears to work fine, but I wouldn't bet my life on it for production units.

How about the kernel's timing service and scheduling, does it use the timebase register instead? Are these services effected at all?

Thanks a lot,

David Ho
Nanometrics Inc.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#7 lore raw

Re: RTC no longer exist on the 866/87x/88x

Quoted 11 lines · David Ho

Hi 8xx gurus,

I just noticed the RTC is no longer documented/tested/supported on the duet. How does this impact the current 2.4 8xx tree?

I know the /dev/rtc still uses RTC on the processor, it appears to work fine, but I wouldn't bet my life on it for production units.

I believe there's a problem with increased power consumption by the RTC so that's why Motorola removed it from the docs.

Quoted 5 lines

How about the kernel's timing service and scheduling, does it use the timebase register instead? Are these services effected at all?

Don't worry, they're not affected at all.

Quoted 9 lines

Thanks a lot,

David Ho
Nanometrics Inc.

Regards

Pantelis

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#8 lore raw

Re: RTC no longer exist on the 866/87x/88x

Quoted 4 lines
Quoted 4 lines

I know the /dev/rtc still uses RTC on the processor, it appears to work fine, but I wouldn't bet my life on it for production units.

It may simply be a testing issue: I was told by a Motorola rep that there are two things responsible for the cost of an IC (other than the size of the die) - the cost of the packaging and the cost of test. So some of these 8xx variants are simply minimally tested versions of the parent processor. Or in the case of the 852, some pins that aren't connected.

Mark Chambers

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#9 lore raw
In reply to Pantelis Antoniou
Quoted 2 lines · Pantelis Antoniou

I'm reporting that my tree, after updating from 2.6.6 -> 2.6.7-rc1 does not work any more.

You probably need this patch. I changed things a bit so that we get the full registers set dumped on an oops due to a bad address in the kernel.

Paul.

arch/ppc/kernel/head_8xx.S +2 -4
diff -urN linuxppc-2.5/arch/ppc/kernel/head_8xx.S pmac-2.5/arch/ppc/kernel/head_8xx.S
@@ -228,9 +228,7 @@
 	stw	r10,_DSISR(r11)
 	mr	r5,r10
 	mfspr	r4,DAR
-	stw	r4,_DAR(r11)
-	addi	r3,r1,STACK_FRAME_OVERHEAD
-	EXC_XFER_EE_LITE(0x300, do_page_fault)
+	EXC_XFER_EE_LITE(0x300, handle_page_fault)
 
 /* Instruction access exception.
  * This is "never generated" by the MPC8xx.  We jump to it for other
@@ -242,7 +240,7 @@
 	addi	r3,r1,STACK_FRAME_OVERHEAD
 	mr	r4,r12
 	mr	r5,r9
-	EXC_XFER_EE_LITE(0x400, do_page_fault)
+	EXC_XFER_EE_LITE(0x400, handle_page_fault)
 
 /* External interrupt */
 	EXCEPTION(0x500, HardwareInterrupt, do_IRQ, EXC_XFER_LITE)

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#10 lore raw
Quoted 26 lines · Paul Mackerras
Quoted 2 lines · Pantelis Antoniou

I'm reporting that my tree, after updating from 2.6.6 -> 2.6.7-rc1 does not work any more.

You probably need this patch. I changed things a bit so that we get the full registers set dumped on an oops due to a bad address in the kernel.

Paul.

diff -urN linuxppc-2.5/arch/ppc/kernel/head_8xx.S pmac-2.5/arch/ppc/kernel/head_8xx.S

arch/ppc/kernel/head_8xx.S +1 -3
@@ -228,9 +228,7 @@
 	stw	r10,_DSISR(r11)
 	mr	r5,r10
 	mfspr	r4,DAR
-	stw	r4,_DAR(r11)
-	addi	r3,r1,STACK_FRAME_OVERHEAD
-	EXC_XFER_EE_LITE(0x300, do_page_fault)
+	EXC_XFER_EE_LITE(0x300, handle_page_fault)
 
 /* Instruction access exception.
  * This is "never generated" by the MPC8xx.  We jump to it for other

arch/ppc/kernel/head_8xx.S line 246

Quoted 8 lines
arch/ppc/kernel/head_8xx.S +1 -1
@@ -242,7 +240,7 @@
 	addi	r3,r1,STACK_FRAME_OVERHEAD
 	mr	r4,r12
 	mr	r5,r9
-	EXC_XFER_EE_LITE(0x400, do_page_fault)
+	EXC_XFER_EE_LITE(0x400, handle_page_fault)
 
 /* External interrupt */
 	EXCEPTION(0x500, HardwareInterrupt, do_IRQ, EXC_XFER_LITE)

It actually needs to remove that 'addi' as well. We found that ~30 minutes ago.

--
Tom Rini
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/