Linux PARISC architecture development
 help / color / mirror / Atom feed
From: "Joel Soete" <soete.joel@tiscali.be>
To: "Carlos O'Donell" <carlos@baldric.uwo.ca>
Cc: James Bottomley <James.Bottomley@steeleye.com>,
	parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] RE: [parisc-linux-cvs] linux-2.6 carlos
Date: Thu, 29 Jan 2004 10:25:20 +0100	[thread overview]
Message-ID: <400CB8A1000070BA@ocpmta3.freegates.net> (raw)
In-Reply-To: <400CB8A100006ED8@ocpmta3.freegates.net>


>>Could you explain more about the failure?
>
>Well the pb is easy to decribe:
>the last messages the palo banner advising: "... If this is the last message
>you see ..." then the kernel do very early a hpmc. I so try to get piminfo
>but everything seems to point out of kernel :(. I so try to add some printk()
>just at begining of init() (in init/main.c just before lock_kernel()) but
>it seems to not even reach this point (but not quiet sure that it is a relevant
>place for printk() ). 

seems Ok :)

>So I suspect a pb in very early boot into head64.S or vmlinux.lds.S but
here
>I could insert printk() ?

Sorry for auto-reply but my suspicious was right: I just revert this patch:
===================================================================
RCS file: /var/lib/cvs/linux-2.5/arch/parisc/kernel/head64.S,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- linux-2.5/arch/parisc/kernel/head64.S	2002/12/24 22:15:01	1.1.2.1
+++ linux-2.5/arch/parisc/kernel/head64.S	2003/01/14 13:08:03	1.1.2.2
@@ -176,7 +176,9 @@
 #endif /* CONFIG_SMP */
 
 	/* Save the rfi target address */
-	std		%r11,  TASK_PT_GR11-TASK_SZ_ALGN(%sp)
+	ldo		-THREAD_SZ_ALGN(%sp), %r1
+	ldd		TI_TASK(%r1), %r1
+	std		%r11,  TASK_PT_GR11(%r1)
 
 #ifndef CONFIG_PDC_NARROW
 	/* Switch to wide mode; Superdome doesn't support narrow PDC
@@ -206,7 +208,9 @@
 
 stext_pdc_ret:
 	/* restore rfi target address*/
-	ldd		TASK_PT_GR11-TASK_SZ_ALGN(%sp), %r11
+	ldo		-THREAD_SZ_ALGN(%sp), %r1
+	ldd		TI_TASK(%r1), %r1
+	ldd		TASK_PT_GR11(%r1), %r11
 
 	/* PARANOID: clear user scratch/user space SR's */
 	mtsp	%r0,%sr0
@@ -310,7 +314,7 @@
 	load32		PA(smp_init_current_idle_task),%sp
 	ldd		0(%sp),%sp	/* load task address */
 	mtctl           %sp,%cr30       /* store in cr30 */
-	ldo             TASK_SZ_ALGN(%sp),%sp
+	ldo             THREAD_SZ_ALGN(%sp),%sp
 	tophys_r1       %sp
 
 	/* point CPU to kernel page tables */
=========><=========

and now it boots well but I am very not able to fix it correctly :(.

hth.

Thanks again,
    Joel


-------------------------------------------------------------------------
Tiscali ADSL: 12 mois à 29,50 €/mois! L'Internet rapide, c'est pour tout
le monde.
http://reg.tiscali.be/default.asp?lg=fr

  reply	other threads:[~2004-01-29  9:25 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20040128060516.492DE4941AA@palinux.hppa>
2004-01-28 14:00 ` [parisc-linux] RE: [parisc-linux-cvs] linux-2.6 carlos Joel Soete
2004-01-28 23:11   ` Carlos O'Donell
2004-01-29  7:28     ` Joel Soete
2004-01-29  9:25       ` Joel Soete [this message]
2004-02-01  0:40         ` [parisc-linux] About 2.6 64bit on b2k? Joel Soete
2004-02-01  5:00           ` Grant Grundler
2004-02-01 12:18             ` Joel Soete
2004-02-01 20:05         ` [parisc-linux] RE: [parisc-linux-cvs] linux-2.6 carlos Randolph Chung
2004-02-02 10:25           ` Joel Soete
2004-02-02 17:50             ` Joel Soete
     [not found] <20040430141548.EFE284945CD@palinux.hppa>
2004-04-30 15:57 ` [parisc-linux] " Carlos O'Donell
     [not found] <20040428231338.BB0124945C3@palinux.hppa>
2004-04-28 23:15 ` Carlos O'Donell
2004-04-28 23:51   ` Carlos O'Donell
     [not found] <20040426044648.93EE4494593@palinux.hppa>
2004-04-26  4:51 ` Carlos O'Donell
     [not found] <20040203230410.71952494194@palinux.hppa>
2004-02-03 23:07 ` Carlos O'Donell
     [not found] <20040203215113.E38D0494194@palinux.hppa>
2004-02-03 21:53 ` Carlos O'Donell
     [not found] <20040128051415.4C9724941AA@palinux.hppa>
2004-01-28  5:25 ` Carlos O'Donell
     [not found] <20040128051247.D6C6C4941AA@palinux.hppa>
2004-01-28  5:23 ` Carlos O'Donell
     [not found] <20031211004856.66476494275@palinux.hppa>
2003-12-11  1:23 ` Carlos O'Donell
     [not found] <20031210224026.33A39494275@palinux.hppa>
2003-12-11  1:03 ` Carlos O'Donell
     [not found] <20031108210057.7FFAB49402D@palinux.hppa>
2003-11-08 21:16 ` Joel Soete
2003-11-08 22:11   ` Carlos O'Donell
     [not found] <20031108205955.7039B49402D@palinux.hppa>
2003-11-08 20:58 ` Carlos O'Donell
     [not found]   ` <3FAD63B7.6020805@tiscali.be>
2003-11-08 22:00     ` Carlos O'Donell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=400CB8A1000070BA@ocpmta3.freegates.net \
    --to=soete.joel@tiscali.be \
    --cc=James.Bottomley@steeleye.com \
    --cc=carlos@baldric.uwo.ca \
    --cc=parisc-linux@lists.parisc-linux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox