mkinitrd unification across distributions
 help / color / mirror / Atom feed
* Does netroot=isci: option work with latest dracut
@ 2012-05-01 16:47 Vivek Goyal
       [not found] ` <20120501164704.GA18202-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Vivek Goyal @ 2012-05-01 16:47 UTC (permalink / raw)
  To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA, Dave Young

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Does netroot=isci: option work with latest dracut
       [not found] ` <20120501164704.GA18202-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2012-05-02  9:12   ` Harald Hoyer
       [not found]     ` <4FA0FA90.1010702-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Harald Hoyer @ 2012-05-02  9:12 UTC (permalink / raw)
  To: Vivek Goyal; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA, Dave Young

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=..." ?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Does netroot=isci: option work with latest dracut
       [not found]     ` <4FA0FA90.1010702-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2012-05-02 13:54       ` Vivek Goyal
       [not found]         ` <20120502135426.GF4141-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Vivek Goyal @ 2012-05-02 13:54 UTC (permalink / raw)
  To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA, Dave Young

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.

What piece of code is supposed to do that. I don't see anybody calling
into /sbin/iscsiroot.

Thanks
Vivek

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Does netroot=isci: option work with latest dracut
       [not found]         ` <20120502135426.GF4141-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2012-05-02 14:53           ` Vivek Goyal
       [not found]             ` <20120502145333.GI4141-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Vivek Goyal @ 2012-05-02 14:53 UTC (permalink / raw)
  To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA, 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Does netroot=isci: option work with latest dracut
       [not found]             ` <20120502145333.GI4141-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2012-05-02 17:11               ` Vivek Goyal
  0 siblings, 0 replies; 5+ messages in thread
From: Vivek Goyal @ 2012-05-02 17:11 UTC (permalink / raw)
  To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA, Dave Young

On Wed, May 02, 2012 at 10:53:33AM -0400, Vivek Goyal wrote:

[..]
> > > 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?

Ok, I can find logs where we installed a udev rule to bring up eth0. Looks
like that rule ran (ifup) and I see /tmp/net.eth0.up file. Also dhclient
is running.

But when try to ping the vm it does not respond. "ip route show" does not
show any routes either. That would say that this interface is not up
or did not get dhcp address. Not sure why though.

Thanks
Vivek

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-05-02 17:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-01 16:47 Does netroot=isci: option work with latest dracut Vivek Goyal
     [not found] ` <20120501164704.GA18202-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-05-02  9:12   ` Harald Hoyer
     [not found]     ` <4FA0FA90.1010702-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-05-02 13:54       ` Vivek Goyal
     [not found]         ` <20120502135426.GF4141-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-05-02 14:53           ` Vivek Goyal
     [not found]             ` <20120502145333.GI4141-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-05-02 17:11               ` Vivek Goyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox