Hello Gert

Before proceeding further, would you mind trying a few other cmdline 
variations? 

1)  extra = 'rd.shell rdnetdebug  ip=192.168.4.73:::255.255.255.0::eth0:none 
root=/dev/sda1 netroot=iscsi:192.168.4.234::::<target-iqn>'
==> This should make sure, that the ip line only gets applied to eth0. And 
since only one ip line is there anyway bootdev shouldn't be needed

2) extra = 'rd.shell rdnetdebug ifname=eth0:00:16:3e:9e:70:71 
ip=192.168.4.73:::255.255.255.0::eth0:none root=/dev/sda1 
netroot=iscsi:192.168.4.234::::<target-iqn>'
==> If the interface naming somehow gets mixed up ifname should ensure that 
eth0 actually is the specified device

Thank you
Philippe


On 03/21/2011 10:21 AM, Gert Huisman wrote:
> Subject: dracut-network: isciboot sometimes seems to ignore bootdev=eth0 
> argument
> Package: dracut-network
> Version: 005-1
> Severity: important
> Tags: upstream
> 
> We use a dracut-network based initramfs  to bootup paravirtualized domU 
> machines
> using an iscsi root. This works fine most of the time, but sometimes the
> startiscsi command is selecting the wrong network interface for getting the
> iscsiroot and fails. Usualy a few more trials will bring up the machine
> again, but this is not acceptable for a productions system.
> 
> We have a bootdev=eth0 in the kernel command line, which should make shure
> that the iscsi boot is tried from eth0 (bond1). In out current setup it seems
> to be more or less randomly selected.
> 
> We are happy to provide additional information if needed.
> 
> Gert Huisman
> 
> 
> 
> -- xen config file
> kernel      = '/boot/vmlinuz-2.6.32-5-xen-amd64'
> ramdisk     = '/etc/xen/iso/dracut-initrd-img-2.6.32-5-xen-amd64'
> vif         = [
>               'mac=00:16:3E:9E:70:71,bridge=bond1',
>               'mac=00:16:3E:9E:70:72,bridge=vlan22',
>               'mac=00:16:3E:9E:70:73,bridge=vlan97'
>             ]
> extra = 'rd.shell rdnetdebug  ip=192.168.4.73:::255.255.255.0:::none
>    bootdev=eth0 root=/dev/sda1 netroot=iscsi:192.168.4.234::::<target-iqn>'
> name        = 'geoserver04'
> on_poweroff = 'destroy'
> on_reboot   = 'restart'
> on_crash    = 'restart'
> --
> 
> 
> 
> 
> -- System Information:
> Debian Release: 6.0
>    APT prefers stable
>    APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages dracut-network depends on:
> pn  dracut<none>                (no description available)
> pn  iputils-arping<none>                (no description available)
> ii  isc-dhcp-client [dh 4.1.1-P1-15+squeeze1 ISC DHCP client
> 
> Versions of packages dracut-network recommends:
> pn  nbd-client<none>      (no description available)
> ii  nfs-common                    1:1.2.2-4  NFS support files common to 
> client
> pn  open-iscsi<none>      (no description available)
> 
> dracut-network suggests no packages.
> 
> 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to