public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* crosstool-ng 1.18.0 for x86_64 : No init found
@ 2016-02-16  2:35 Zvi Vered
       [not found] ` <CAAA5faFZ-e9nFZ=2zrzQdZ3uU75GnSN2nG6Xn8aSLc7MiD7DDg@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Zvi Vered @ 2016-02-16  2:35 UTC (permalink / raw)
  To: crossgcc

Hello,

I created an x86_64 toolchain for linux  3.4.38

Same procedure was used to create an x86 toolchain.

When I lanuched the kernel (compile with ARCH=x86_64) I got:

Kernel Panic - not syncing: No init found

Busybox was compiled without ARCH.

What can cause this problem ?

Best regards,
Z.V

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: crosstool-ng 1.18.0 for x86_64 : No init found
       [not found] ` <CAAA5faFZ-e9nFZ=2zrzQdZ3uU75GnSN2nG6Xn8aSLc7MiD7DDg@mail.gmail.com>
@ 2016-02-18  3:05   ` Zvi Vered
  0 siblings, 0 replies; 2+ messages in thread
From: Zvi Vered @ 2016-02-18  3:05 UTC (permalink / raw)
  To: Reinoud Koornstra; +Cc: crossgcc

Hello,

The cause to the problem:
I had to add /lib64 in file system that contains 3 symbolic links to 
libraries in /lib
I ran:
readelf –l busybox

and found that busybox is looking for a specific library in /lib64 (which 
was already in /lib)

After solving the problem, and running linux I ran:
more /proc/version

There is no evidence that this is a 64 bits linux.
Can you tell why ?

Regards,
Z.V

From: Reinoud Koornstra
Sent: Tuesday, February 16, 2016 5:47 AM
To: Zvi Vered
Cc: crossgcc@sourceware.org
Subject: Re: crosstool-ng 1.18.0 for x86_64 : No init found



On Feb 15, 2016 7:35 PM, "Zvi Vered" <veredz72@gmail.com> wrote:
>
> Hello,
>
> I created an x86_64 toolchain for linux  3.4.38
>
> Same procedure was used to create an x86 toolchain.
>
> When I lanuched the kernel (compile with ARCH=x86_64) I got:
>
> Kernel Panic - not syncing: No init found
>
> Busybox was compiled without ARCH.
>
> What can cause this problem ?

It can be multiple things, problem with the filesystem, it can also be that 
the initramfs wasn't created correctly. Missing symlink is also possible.

Without more info it's impossible to say. If you create the kernel for 
x86_64 you should create userland binaries and busybox for x86_64 as well.
>
> Best regards,
> Z.V
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>



--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-18  3:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-16  2:35 crosstool-ng 1.18.0 for x86_64 : No init found Zvi Vered
     [not found] ` <CAAA5faFZ-e9nFZ=2zrzQdZ3uU75GnSN2nG6Xn8aSLc7MiD7DDg@mail.gmail.com>
2016-02-18  3:05   ` Zvi Vered

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).