From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vivek Goyal Subject: Re: Does netroot=isci: option work with latest dracut Date: Wed, 2 May 2012 10:53:33 -0400 Message-ID: <20120502145333.GI4141@redhat.com> References: <20120501164704.GA18202@redhat.com> <4FA0FA90.1010702@redhat.com> <20120502135426.GF4141@redhat.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20120502135426.GF4141-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Harald Hoyer Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Dave Young On Wed, May 02, 2012 at 09:54:26AM -0400, Vivek Goyal wrote: > On Wed, May 02, 2012 at 11:12:48AM +0200, Harald Hoyer wrote: > > Am 01.05.2012 18:47, schrieb Vivek Goyal: > > > Hi, > > > > > > On F17, I am trying kdump to an iscsi target. And I am passing a > > > netroot=iscsi:..... cmdline to dracut. But that does not seem to work. > > > > > > Some debugging showed that we do parse the netroot= arguemnt in > > > parse-iscsiroot.sh but after that nothing happens. Nobody tries to > > > bring up the iscsi luns. > > > > > > I see some code in iscsiroot.sh to call iscsistart to bring up iscsi > > > luns but that code does not seem to be hooked up. I could not figure > > > out who calls /sbin/iscsiroot. > > > > > > So I am wondering if I am doing something wrong or there is some > > > disconnect in my understanding of how netroot= options works. > > > > > > Thanks > > > Vivek > > > > did you specify "ip=..." ? > > Yes I did specify "ip=..". Even if network is not up, I thought respective > code will try to bring up iscsi lun and fail. I am not seeing anybody even > trying to bring up iscsi lun. I am going through my debug logs. I do see that ip= option has been parsed and in fact 85write-ifcfg.sh takes care of writing the configuration file for it. Now who is supposed to bring up eth0? (I see that mount-sys pre-pivot is running before 85write-ifcfg.sh. Is this right. a --mount might be mounting a disk which is exported over network). Thanks Vivek