Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #52139

Bug#793786: initramfs-tools: fix the broken netconsole feature in initramfs-tools

From Roger Shimizu <rogershimizu@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#793786: initramfs-tools: fix the broken netconsole feature in initramfs-tools
Date 2016-01-11 02:00 +0100
Message-ID <qPyZX-3hi-1@gated-at.bofh.it> (permalink)
References (4 earlier) <pSn4u-5dR-5@gated-at.bofh.it> <pSYx4-Um-3@gated-at.bofh.it> <qDDVo-2XK-7@gated-at.bofh.it> <qPiBQ-14T-5@gated-at.bofh.it> <qPxrb-2pa-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Mon, Jan 11, 2016 at 8:13 AM, Ben Hutchings <ben@decadent.org.uk> wrote:
> On Sun, 2016-01-10 at 16:20 +0900, Roger Shimizu wrote:
>> I find current v2 patch will sometimes fail because it load netconsole.ko before
>> loading network driver.
>
> So maybe we should run 'udevadm settle' before loading modules?

I don't understand this part.
If you have patch, I can run it in my netconsole testable environment,
then feedback the log.

>> I made some changes based on patch v3, can confirmed various scenarios,
>> including "MODULES=most" you mentioned. So here's patch v4.
>> (also in my github repo's netconsole branch:
>> https://github.com/rogers0/initramfs-tools/tree/netconsole)
>>
>> the fix already takes various cases into account:
>> - MODULES=most (default) or MODULES={dep,list} (popular for embedded devices)
>> - netconsole param may be inside conf/modules or come with bootloader's config
>>
>> for "MODULES=most" case , netconsole.ko is included by default, so there's
>> no need to list it in conf/modules, and netconsole param should be put into
>> bootloader's config
>>
>> for "MODULES={dep,list}" case, netconsole param can be either from
>> conf/modules or bootloader, and the previous one is preferred if both are
>> specified.
> [...]
>
> The kernel parameter should be preferred if both are specified.  (In
> general, the most specific configuration source should take
> precedence.)

Yes, I agree.
I meant if both are *same* specific level, param from conf/modules
will be preferred.
It's what's the test case A2 for.

Cheers,
Roger

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#793786: initramfs-tools: fix the broken netconsole feature in initramfs-tools Roger Shimizu <rogershimizu@gmail.com> - 2015-07-27 16:50 +0200
  Bug#793786: initramfs-tools: fix the broken netconsole feature in initramfs-tools Roger Shimizu <rogershimizu@gmail.com> - 2015-07-29 12:00 +0200
    Bug#793786: initramfs-tools: fix the broken netconsole feature in initramfs-tools Roger Shimizu <rogershimizu@gmail.com> - 2015-07-31 19:10 +0200
    Bug#793786: initramfs-tools: fix the broken netconsole feature in initramfs-tools Roger Shimizu <rogershimizu@gmail.com> - 2015-08-02 12:20 +0200
      Bug#793786: initramfs-tools: fix the broken netconsole feature in initramfs-tools Ben Hutchings <ben@decadent.org.uk> - 2015-12-09 04:50 +0100
        Bug#793786: initramfs-tools: fix the broken netconsole feature in initramfs-tools Roger Shimizu <rogershimizu@gmail.com> - 2016-01-10 14:20 +0100
        Bug#793786: initramfs-tools: fix the broken netconsole feature in initramfs-tools Ben Hutchings <ben@decadent.org.uk> - 2016-01-11 00:20 +0100
          Bug#793786: initramfs-tools: fix the broken netconsole feature in initramfs-tools Roger Shimizu <rogershimizu@gmail.com> - 2016-01-11 02:00 +0100
            Bug#793786: initramfs-tools: fix the broken netconsole feature in initramfs-tools Ben Hutchings <ben@decadent.org.uk> - 2016-01-11 02:30 +0100
  Bug#793786: marked as done (initramfs-tools: fix the broken  netconsole feature in initramfs-tools) owner@bugs.debian.org (Debian Bug Tracking System) - 2015-12-28 03:50 +0100
  Processed: Re: Bug#793786: initramfs-tools: fix the broken  netconsole feature in initramfs-tools owner@bugs.debian.org (Debian Bug Tracking System) - 2016-01-10 08:30 +0100
  Bug#793786: marked as done (initramfs-tools: fix the broken  netconsole feature in initramfs-tools) owner@bugs.debian.org (Debian Bug Tracking System) - 2016-01-12 12:30 +0100

csiph-web