From: Helge Deller <deller@gmx.de>
To: John David Anglin <dave.anglin@bell.net>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>,
Vincent <vincent.stehle@laposte.net>,
Rolf Eike Beer <eike-kernel@sf-tec.de>,
linux-parisc@vger.kernel.org
Subject: Re: Issue booting v2.6.39 .. v3.4-rc6 on hp712/100
Date: Tue, 15 May 2012 22:28:15 +0200 [thread overview]
Message-ID: <4FB2BC5F.3080905@gmx.de> (raw)
In-Reply-To: <4FB2B71B.7090602@bell.net>
On 05/15/2012 10:05 PM, John David Anglin wrote:
> On 5/15/2012 3:59 PM, Helge Deller wrote:
>> On 05/15/2012 09:46 PM, John David Anglin wrote:
>>> On 5/15/2012 3:24 PM, John David Anglin wrote:
>>>> James patch now let my 715/64 boot, but still crashes on my B160L:
>>>>>
>>>>> swapper (pid 1): Illegal instruction (code 8)
>>>>>
>>>>> YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
>>>>> PSW: 00000000000001001110000100001111 Not tainted
>>>>> r00-03 0004e10f 00000020 101198cc 17c245c0
>>>>> r04-07 ffeff000 17ec05f8 007d4000 17e60260
>>>>> r08-11 17c5100b fffff000 17e60310 00020000
>>>>> r12-15 00000ffc 0000000b 00000000 ffeff000
>>>>> r16-19 007d4000 10768020 10000000 17c22db8
>>>>> r20-23 17c245c8 108fc000 00000001 00000020
>>>>> r24-27 000007d4 0f2fffe0 0000fa80 106e2020
>>>>> r28-31 0f2ff000 000074ee 17c24640 000072e6
>>>>> sr00-03 00000000 00000001 00000000 00000000
>>>>> sr04-07 00000000 00000000 00000000 00000000
>>>>>
>>>>> IASQ: 00000000 00000000 IAOQ: 1010118c 10101190
>>>>> IIR: 078113e0 ISR: 00000000 IOR: 0f2ff000
>>>>> CPU: 0 CR30: 17c24000 CR31: f0102978
>>>>> ORIG_R28: 17ebbe40
>>>>> IAOQ[0]: flush_icache_page_asm+0x28/0x7c
>>>>> IAOQ[1]: flush_icache_page_asm+0x2c/0x7c
>>>>> RP(r2): flush_cache_page+0x90/0xb0
>>>>> Backtrace:
>>>> This one is in a different place: flush_icache_page_asm. It has
>>>> crashed on the first fic,m instruction. Again it is an illegal
>>>> instruction.
>>>>
>>> Looking at the PA 1.1 arch, I see that the space register needs to be
>>> explicitly specified on PA 1.1 (format 26). The implicit (format 24)
>>> instruction was added in PA 2.0.
>>>
>>> Could you try adding %sr0 to the fic instructions?
>> no illegal instruction any longer, but "bad address"....
>> I changed all to " fic,m %r1(%sr0,%r28)"
>>
>>
>>
>> Freeing unused kernel memory: 320k freed
>> Backtrace:
>> [<101198cc>] flush_cache_page+0x90/0xb0
>> [<101b9b84>] do_wp_page+0x1e0/0x7b4
>> [<101bb970>] handle_pte_fault+0x284/0x7c0
>> [<101bbf74>] handle_mm_fault+0xc8/0x120
>> [<10118cc8>] do_page_fault+0x228/0x2d0
>> [<1011a838>] handle_interruption+0x1d4/0x6c4
>> [<10105078>] intr_check_sig+0x0/0x34
>>
>>
>> Bad Address (null pointer deref?): Code=17 regs=17c244c0 (Addr=0f17d000)
>>
>> YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
>> PSW: 00000000000001001111100100001111 Not tainted
>> r00-03 0004f90f 00000020 101198cc 17c24440
>> r04-07 4017d4c4 17ebf498 007cd000 007cdb05
>> r08-11 17ebee40 17ec55f4 107eb7c0 10768020
>> r12-15 000007cd 17ebee74 000005f4 00050000
>> r16-19 17c23098 17c24140 0011849c 17c22db8
>> r20-23 0000004b 108fc000 00000000 00000000
>> r24-27 000007cd 0f17dfe0 0000f9a0 106e2020
>> r28-31 0f17d000 17c23098 17c244c0 6fffffff
>> sr00-03 00000800 00000001 00000000 00000001
>> sr04-07 00000000 00000000 00000000 00000000
>>
>> IASQ: 00000000 00000000 IAOQ: 1010118c 10101190
>> IIR: 078102a0 ISR: 00000800 IOR: 0f17d000
>> CPU: 0 CR30: 17c24000 CR31: f0102978
>> ORIG_R28: 17c51000
>> IAOQ[0]: flush_icache_page_asm+0x28/0x7c
>> IAOQ[1]: flush_icache_page_asm+0x2c/0x7c
>> RP(r2): flush_cache_page+0x90/0xb0
>> Backtrace:
>> [<101198cc>] flush_cache_page+0x90/0xb0
>> [<101b9b84>] do_wp_page+0x1e0/0x7b4
>> [<101bb970>] handle_pte_fault+0x284/0x7c0
>> [<101bbf74>] handle_mm_fault+0xc8/0x120
>> [<10118cc8>] do_page_fault+0x228/0x2d0
>> [<1011a838>] handle_interruption+0x1d4/0x6c4
>> [<10105078>] intr_check_sig+0x0/0x34
>>
>>
>>
>>
> Try %sr2 or %sr4. %sr0 isn't zero.
Dave, great, you fixed it !
All my machines now boot the 32bit kernel.
%sr2 does not work since it becomes a value unequal to zero later in the
boot process.
%sr4 did worked - it's actually used further down in pacache.S in
flush_kernel_icache_page() as well...
I still have the problem that my B160L "hangs" during boot after
starting crond - but I'm not sure if this is related to your patches
since the other machines do work.
Maybe it's just some userspace trouble....
Will you send your patches to Linus as he requested in the other mail?
Helge
next prev parent reply other threads:[~2012-05-15 20:28 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-08 21:59 Issue booting v2.6.39 .. v3.4-rc6 on hp712/100 Vincent
2012-05-09 6:53 ` Rolf Eike Beer
2012-05-09 15:55 ` John David Anglin
2012-05-09 21:14 ` Vincent
2012-05-09 21:33 ` John David Anglin
2012-05-10 2:03 ` John David Anglin
2012-05-10 6:41 ` Rolf Eike Beer
2012-05-10 16:32 ` John David Anglin
2012-05-10 19:32 ` Rolf Eike Beer
2012-05-11 21:17 ` Vincent
2012-05-13 14:32 ` Jeroen Roovers
2012-05-14 0:52 ` John David Anglin
2012-05-12 22:50 ` Helge Deller
2012-05-13 14:11 ` John David Anglin
2012-05-14 1:10 ` John David Anglin
2012-05-14 22:11 ` Helge Deller
2012-05-14 22:38 ` John David Anglin
2012-05-14 22:55 ` John David Anglin
2012-05-15 8:09 ` James Bottomley
2012-05-15 9:13 ` James Bottomley
2012-05-15 18:23 ` John David Anglin
2012-05-15 18:50 ` Helge Deller
2012-05-15 19:24 ` John David Anglin
2012-05-15 19:46 ` John David Anglin
2012-05-15 19:59 ` Helge Deller
2012-05-15 20:05 ` John David Anglin
2012-05-15 20:28 ` Helge Deller [this message]
2012-05-15 20:48 ` John David Anglin
2012-05-16 14:59 ` James Bottomley
2012-05-17 19:26 ` Helge Deller
2012-05-17 19:57 ` Rolf Eike Beer
2012-05-18 8:12 ` James Bottomley
2012-05-18 21:09 ` Helge Deller
2012-05-20 10:01 ` James Bottomley
2012-05-20 19:11 ` Helge Deller
2012-05-20 20:15 ` James Bottomley
2012-05-20 21:09 ` Helge Deller
2012-05-20 21:25 ` John David Anglin
2012-05-21 20:59 ` Helge Deller
2012-05-23 8:47 ` Peter Gantner (nephros)
2012-05-23 23:09 ` John David Anglin
2012-05-15 21:08 ` John David Anglin
2012-05-16 7:27 ` James Bottomley
2012-05-16 9:27 ` James Bottomley
2012-05-16 10:09 ` James Bottomley
2012-05-16 10:49 ` John David Anglin
2012-05-16 10:57 ` James Bottomley
2012-05-16 11:17 ` John David Anglin
2012-05-16 11:57 ` Rolf Eike Beer
2012-05-16 12:24 ` James Bottomley
2012-05-15 19:52 ` James Bottomley
2012-05-15 19:09 ` James Bottomley
2012-05-15 21:01 ` Vincent
2012-05-16 19:07 ` Helge Deller
2012-05-15 8:06 ` James Bottomley
2012-05-09 21:00 ` Vincent
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=4FB2BC5F.3080905@gmx.de \
--to=deller@gmx.de \
--cc=James.Bottomley@HansenPartnership.com \
--cc=dave.anglin@bell.net \
--cc=eike-kernel@sf-tec.de \
--cc=linux-parisc@vger.kernel.org \
--cc=vincent.stehle@laposte.net \
/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 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.