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

2016-01-10 Thread Roger Shimizu
> CaseA (MODULES=list, netconsole param from bootloader, tested on an > armel/orion5x device): > - /etc/initramfs-tools/initramfs.conf: > MODULES=list > > - /etc/initramfs-tools/modules: > mv643xx_eth > netconsole > mvmdio > sata_mv > sd_mod > raid1 > jfs > > CaseB (MODULES=dep, netconsole param

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

2016-01-10 Thread Ben Hutchings
On Mon, 2016-01-11 at 09:54 +0900, Roger Shimizu wrote: > On Mon, Jan 11, 2016 at 8:13 AM, Ben Hutchings 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 > > >

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

2016-01-10 Thread Ben Hutchings
On Sun, 2016-01-10 at 16:20 +0900, Roger Shimizu wrote: > Control: reopen -1 > > On Wed, Dec 9, 2015 at 12:39 PM, Ben Hutchings wrote: > > An initramfs built with MODULES=most (default) always includes > > netconsole.ko (assuming it was enabled in the kernel configuration).

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

2016-01-10 Thread Roger Shimizu
On Mon, Jan 11, 2016 at 8:13 AM, Ben Hutchings 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'

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

2016-01-09 Thread Roger Shimizu
Control: reopen -1 On Wed, Dec 9, 2015 at 12:39 PM, Ben Hutchings wrote: > An initramfs built with MODULES=most (default) always includes > netconsole.ko (assuming it was enabled in the kernel configuration). > So > the netconsole parameter needs to work even if netconsole

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

2016-01-09 Thread Debian Bug Tracking System
Processing control commands: > reopen -1 Bug #793786 {Done: Ben Hutchings } [initramfs-tools] initramfs-tools: fix the broken netconsole feature in initramfs-tools 'reopen' may be inappropriate when a bug has been closed with a version; all fixed versions will be cleared,

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

2015-12-08 Thread Ben Hutchings
On Sun, 2 Aug 2015 19:08:30 +0900 Roger Shimizu wrote: > Dear Ian, >  > Thanks for your feedback! >  > After reading your comment, I reviewed the whole procedure of loading > netconsole module during initramfs-tools booting, previously and after > my patch, I start to

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

2015-08-02 Thread Roger Shimizu
Dear Ian, Thanks for your feedback! After reading your comment, I reviewed the whole procedure of loading netconsole module during initramfs-tools booting, previously and after my patch, I start to consider that original modprobe netconsole netconsole=$param line in init file is merely a dirty

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

2015-07-31 Thread Ian Campbell
On Wed, 2015-07-29 at 18:50 +0900, Roger Shimizu wrote: Dear Ian, Thanks for your response! I'd like to ask whether you could offer the Reviewed-by for my first patch of Bug#793786? (0001-advance-the-timing-of-insmod-netconsole.patch) You must be a netconsole user that understand the

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

2015-07-31 Thread Roger Shimizu
Dear Maintainer, Per Ian's confirmation, enclosed the updated patchset. 1st patch is not touched, only some commit log change in 2nd patch. Thank you! Cheers, Roger From 28ed0a7df830882641c0984bf78b442b120f822d Mon Sep 17 00:00:00 2001 From: Roger Shimizu rogershim...@gmail.com Date: Mon, 27 Jul

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

2015-07-29 Thread Roger Shimizu
Dear Ian, Thanks for your response! I'd like to ask whether you could offer the Reviewed-by for my first patch of Bug#793786? (0001-advance-the-timing-of-insmod-netconsole.patch) You must be a netconsole user that understand the reasoning why to load netconsole module with param should be

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

2015-07-28 Thread Roger Shimizu
+CC: ijc Forgot to mention the idea of 2nd patch came from ijc's post: - http://www.hellion.org.uk/blog/posts/debugging-initramfs-over-netconsole/ I'll update the patch to reflect this info commit log later. Dear ijc, Thanks for your post! Hope you don't mind that I polished your code and

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

2015-07-28 Thread Ian Campbell
On Wed, 2015-07-29 at 01:16 +0900, Roger Shimizu wrote: Hope you don't mind that I polished your code and post in BTS. Absolutely not, thanks for doing so! In case it is necessary any code from http://www.hellion.org.uk/blog/po sts/debugging-initramfs-over-netconsole/ should be considered:

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

2015-07-27 Thread Roger Shimizu
Package: initramfs-tools Version: 0.120 Severity: normal Tags: patch Dear Maintainer, Currently there're a few issues on netconsole support in initramfs-tools: - netconsole setting (param to kernel module) can only be set in /etc/initramfs-tools/modules, but not from the expected kernel