[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Linux kernel 3.12-0-rc4 on Akire running



On Thu, Oct 17, 2013 at 7:04 PM, Ingo Jürgensmann <ij@2013.bluespice.org> wrote:
>> "debug=ser" and "debug=mem" share the same struct console.
>> "debug=ser" does:
>>        amiga_console_driver.write = amiga_serial_console_write;
>>        register_console(&amiga_console_driver);
>> "debug=mem" does:
>>        amiga_console_driver.write = amiga_mem_console_write;
>>        register_console(&amiga_console_driver);
>> and then the core console code complains it's registered twice, so
>> it ignores the second one. Hence it's harmless (but the second one won't
>> work).
>
> In fact, dmesg on AmigaOS worked as well and produced the same output. :-)

Ah yes, it didn't get registered again, but as amiga_console_driver.write
got overwritten, it still used the mem console.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


Reply to: