[llvm-dev] Linking Linux kernel with LLD

Rui Ueyama via llvm-dev llvm-dev at lists.llvm.org
Tue Feb 21 08:57:13 PST 2017


Wow, congratulations!

On Tue, Feb 21, 2017 at 3:35 AM, Dmitry Golovin <dima at golovin.in> wrote:

> Yes, I use the tinyconfig with only few options turned on. I also add
> 'noapic' to the kernel command line, so the booting process goes on.
> Unfortunately, the kernel is not yet capable of running init, but it is a
> great progress.
>
> Regards,
> Dmitry
>
>
> 21.02.2017, 13:25, "George Rimar" <grimar at accesssoftek.com>:
>
> >Thank you! It worked and I finally got a working kernel. Here is the
> kernel boot log:
>
> Sound great ! Though I ended with error from log below. Had no chance to
> fix it yet:
>
>> CPU: AMD QEMU Virtual CPU version 2.5+ (family: 0x6, model: 0x6, stepping:
> 0x3)
> Performance Events: PMU not available due to virtualization, using
> software events only.
> ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
> ..MP-BIOS bug: 8254 timer not connected to IO-APIC
> ...trying to set up timer (IRQ0) through the 8259A ...
> ..... (found apic 0 pin 2) ...
> ....... failed.
> ...trying to set up timer as Virtual Wire IRQ...
> ..... failed.
> ...trying to set up timer as ExtINT IRQ...
> ..... failed :(.
> Kernel panic - not syncing: IO-APIC + timer doesn't work!  Boot with
> apic=debug and send a report.  Then try booting with the 'noapic' option.
> ---[ end Kernel panic - not syncing: IO-APIC + timer doesn't work!  Boot
> with apic=debug and send a report.  Then try booting with the 'noapic'
> option.
> random: fast init done
>
>
> Did you see something alike ? Looks there is nothing in your log about
> these timers. I suppose you disabled those ?
>
> George.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170221/22b4c706/attachment.html>


More information about the llvm-dev mailing list