From: schmitz <schmitz@biophys.uni-duesseldorf.de>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Michael Schmitz <schmitzmic@gmail.com>,
Linux/m68k <linux-m68k@vger.kernel.org>,
Debian m68k <debian-68k@lists.debian.org>,
Michael Schmitz <schmitz@debian.org>
Subject: Re: [PATCH 1/2] m68k/atari - stram: alloc ST-RAM pool even if kernel not in ST-RAM
Date: Sat, 22 Mar 2014 14:32:58 +1300 [thread overview]
Message-ID: <532CE84A.8090305@biophys.uni-duesseldorf.de> (raw)
In-Reply-To: <CAMuHMdXOwhE9WU1QK2mjHbwwA4iaS1vsROPNgLwR0ggz9ruW9Q@mail.gmail.com>
Hi Geert
>
>>> That's not true. E.g. I/O memory is never mapped by mem_init().
>>>
>> Why, then, does the ioremap() of ST-RAM fail? Because the physical address
>> is lower than the lowest currently mapped physical address?
>>
>
> I don't know. How does it fail?
>
Example:
Unable to handle kernel access at virtual address 5f435059
Oops: 00000000
Modules linked in:
PC: [<00089552>] kmem_cache_alloc+0x12/0x9a
SR: 2700 SP: 0029dec0 a2: 002a42d8
d0: 000080d0 d1: 00000013 d2: 000080d0 d3: 0007fe3c
d4: 00000001 d5: 000000d0 a0: 5f435055 a1: 002a75ee
Process swapper (pid: 0, task=002a42d8)
Frame format=4 fault addr=5f435059 fslw=01051000
Stack from 0029defc:
000ff000 00080000 00216f06 00216f06 0007fe3c 00000000 000080d0
000ff000
00000000 00000001 00001000 00216f06 00080a6a 000ff000 00000001
00000001
00800000 d0000000 000000d0 00006bb4 00006bb4 000ff000 00000001
04300601
00000008 00216f06 002b9030 000b3ef4 00216f06 00216f06 002d55e0
0029dfc8
002d61cc 00001000 000ff000 00000001 000070dc 002d5bfc 00267189
04300601
002ec0ac 0012b010 002d4776 002eb0ae 00000000 00000000 00000000
003bee10
Call Trace: [<000ff000>] keyctl_instantiate_key_iov+0x24/0xcc
[<00080000>] vm_unmap_aliases+0x14/0x11a
[<00216f06>] printk+0x0/0x24
[<00216f06>] printk+0x0/0x24
[<0007fe3c>] __get_vm_area_node.isra.33+0x5c/0x114
[<000080d0>] atari_tt_hwclk+0x288/0x384
[<000ff000>] keyctl_instantiate_key_iov+0x24/0xcc
[<00001000>] kernel_pg_dir+0x0/0x1000
[<00216f06>] printk+0x0/0x24
[<00080a6a>] get_vm_area+0x30/0x38
[<000ff000>] keyctl_instantiate_key_iov+0x24/0xcc
[<00006bb4>] __ioremap+0x42/0x16a
[<00006bb4>] __ioremap+0x42/0x16a
[<000ff000>] keyctl_instantiate_key_iov+0x24/0xcc
[<00216f06>] printk+0x0/0x24
[<000b3ef4>] __block_write_begin+0x26c/0x41e
[<00216f06>] printk+0x0/0x24
[<00216f06>] printk+0x0/0x24
[<002d55e0>] atari_parse_bootinfo+0x0/0x30
[<002d61cc>] atari_stram_init+0xbc/0xfe
[<00001000>] kernel_pg_dir+0x0/0x1000
[<000ff000>] keyctl_instantiate_key_iov+0x24/0xcc
[<000070dc>] hwreg_present+0x0/0x28
[<002d5bfc>] config_atari+0x5ec/0x628
[<0012b010>] strlcpy+0x0/0x64
[<002d4776>] setup_arch+0x1ca/0x29c
[<00216f06>] printk+0x0/0x24
[<002d2da2>] start_kernel+0x6c/0x3ac
[<000d3880>] devinfo_show+0x50/0x88
[<002d2360>] _sinittext+0x360/0x9fa
Code: 3018 286f 0014 242f 0018 262f 0010 2054 <2228> 0004 2650 4a8b 6764
202c 0014 2273 0800 40c0 007c 0700 2054 b7d0 6716 4281
I'll have to try that again with a fresh version that I can still
correlate to a symbol map and object...
Cheers,
Michael
next prev parent reply other threads:[~2014-03-22 1:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-19 7:23 [PATCH 1/2] m68k/atari - stram: alloc ST-RAM pool even if kernel not in ST-RAM Michael Schmitz
2014-03-19 7:23 ` [PATCH 2/2] m68k/atari - atafb: convert allocation of fb ram to new interface Michael Schmitz
2014-03-19 8:01 ` Geert Uytterhoeven
2014-03-20 8:17 ` schmitz
2014-03-20 8:33 ` Geert Uytterhoeven
2014-03-22 1:28 ` schmitz
2014-03-22 7:36 ` schmitz
2014-03-19 7:51 ` [PATCH 1/2] m68k/atari - stram: alloc ST-RAM pool even if kernel not in ST-RAM Geert Uytterhoeven
2014-03-20 8:23 ` schmitz
2014-03-20 8:35 ` Geert Uytterhoeven
2014-03-22 1:32 ` schmitz [this message]
2014-03-23 20:02 ` Geert Uytterhoeven
2014-03-19 8:18 ` Andreas Schwab
2014-03-20 6:35 ` Patrice Mandin
2014-03-22 8:47 ` [PATCH 0/2] m68k/atari - make atafb work with kernel loaded to FastRAM Michael Schmitz
2014-03-23 0:28 ` schmitz
2014-03-22 8:47 ` [PATCH 1/2] m68k/atari - stram: alloc ST-RAM pool even if kernel not in ST-RAM Michael Schmitz
2014-03-22 8:47 ` [PATCH 2/2] m68k/atari - atafb: convert allocation of fb ram to new interface Michael Schmitz
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=532CE84A.8090305@biophys.uni-duesseldorf.de \
--to=schmitz@biophys.uni-duesseldorf.de \
--cc=debian-68k@lists.debian.org \
--cc=geert@linux-m68k.org \
--cc=linux-m68k@vger.kernel.org \
--cc=schmitz@debian.org \
--cc=schmitzmic@gmail.com \
/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