Mailinglist Archive: opensuse-arm (170 mails)

< Previous Next >
Re: [opensuse-arm] u-boot+EFI: how to debug grub2?
  • From: "Matwey V. Kornilov" <matwey.kornilov@xxxxxxxxx>
  • Date: Sun, 13 Mar 2016 18:47:02 +0300
  • Message-id: <CAJs94EZPuj3hamW1GJT3m=B=qTTh5dH8q+pzzSX9cMqWRa2w_w@mail.gmail.com>
2016-03-13 18:35 GMT+03:00 Alexander Graf <agraf@xxxxxxx>:


On 13.03.16 16:03, Matwey V. Kornilov wrote:

[ 1.700159] devtmpfs: error mounting -2
[ 1.706736] Freeing unused kernel memory: 1320K (c1034000 - c117e000)
[ 1.713459] Kernel panic - not syncing: No working init found. Try
passing init= option to kernel. See Linux Documentation/init.txt for
guidance.
[ 1.726667] CPU: 0 PID: 1 Comm: swapper/0 Not tainted
4.5.0-rc7-1.g924f2b7-default #1
[ 1.734535] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 1.740722] [<c0227b90>] (unwind_backtrace) from [<c0220c50>]
(show_stack+0x20/0x28)
[ 1.748530] [<c0220c50>] (show_stack) from [<c0586f3c>]
(dump_stack+0x98/0xac)
[ 1.755816] [<c0586f3c>] (dump_stack) from [<c037f440>] (panic+0xec/0x270)
[ 1.762745] [<c037f440>] (panic) from [<c0b20a90>]
(__irq_alloc_descs+0x0/0x1d8)
[ 1.770205] Rebooting in 90 seconds..

However, md.b 0x812bfc30 shows zeroes. It would be great to learn how
to properly use it.

Maybe it's the wrong address after all. Try to run "nm" on the vmlinux
binary (should be gzipped in /boot) and check for all occurences of
log_buf (and __log_buf). 0xc0000000 is the "start of physical memory" in
Linux. Since your SoC starts ram at 0x80000000, all you need to do is
replace the c with an 8.


c12bfc30 b __log_buf
c11c065c d log_buf
c1365588 b log_buf

no luck with any of them.


Alex



--
With best regards,
Matwey V. Kornilov
http://blog.matwey.name
xmpp://0x2207@xxxxxxxxx
--
To unsubscribe, e-mail: opensuse-arm+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-arm+owner@xxxxxxxxxxxx

< Previous Next >