← Back to team overview

kernel-packages team mailing list archive

[Bug 1279403] Re: tg3 driver hangs in iscsi booted initrd : (saucy)

 

Originally reportedas defect  1276298.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-ppc in Ubuntu.
https://bugs.launchpad.net/bugs/1279403

Title:
  tg3 driver hangs in iscsi booted initrd : (saucy)

Status in “linux-ppc” package in Ubuntu:
  New

Bug description:
  Testing saucy iscsi target  booted  on e500mc  default initrd hangs
  when tg3 driver started.

  saucy was installed to an iSCSI target using the interactive setup from:
    
     http://ports.ubuntu.com/dists/saucy/main/installer-powerpc/current/images/e500mc/netboot/vmlinux
     http://ports.ubuntu.com/dists/saucy/main/installer-powerpc/current/images/e500mc/netboot/initrd.gz

  Linux version 3.11.0-5-powerpc-e500mc 
  initrd.img-3.11.0-5-powerpc-e500mc

  Booted from flash USB to simulate a pxe boot.

  svy-boot# 
  svy-boot# mount /dev/sda1 /mnt
  svy-boot# cd /mnt/iscsi2
  svy-boot# ./go.sh
   /sbin/kexec --command='root=/dev/ram ro UUID=1cfe9f29-e188-4e00-ac47-3bf2245b117f ro break debug interface=eth4 console=tty0 console=ttyS0,115200 dhcp ISCSI_INITIATOR=iqn.1993-08.org.debian:01:53694d75a62e ISCSI_TARGET_NAME=iqn.2001-04.com.jade:storage.disk0 ISCSI_TARGET_IP=192.168.1.140 ISCSI_TARGET_PORT=3260 ISCSI_TARGET_GROUP=1 ' --initrd=/mnt/iscsi2/initrd.img-3.11.0-5-powerpc-e500mc -l /mnt/iscsi2/vmlinux-3.11.0-5-powerpc-e500mc 

  
  with break enabled I can enter cli in the initramfs 

       -> This is embedded  fsl  eth1  ( 1Gbe ) with  a cable :

  (initramfs) ipconfig -t 10 -c dhcp -d eth1 &
  (initramfs) IP-Config: eth1 hardware address 02:30:b0:00:10:01 mtu 1500 DHCP
  IP-Config: no response after 10 secs - giving up

     -> System is alive ( I have a prompt )  - The above SHOULD HAVE
  WORKED since it is an  active port.

  This is embedded fsl eth1 - (10Gbe) - No cable

  (initramfs) ipconfig -t 10 -c dhcp -d eth0 &
  (initramfs)
  (initramfs) IP-Config: eth0 hardware address 02:30:b0:00:10:00 mtu 1500 DHCP
  IP-Config: no response after 10 secs - giving up

    -> System is alive ( I have a prompt)

              tg3 stand up card in pci-e slot:

  (initramfs) ipconfig -t 10 -c dhcp -d eth4 &
  (initramfs)
  (initramfs) [  218.394187] IPv6: ADDRCONF(NETDEV_UP): eth4: link is not ready
  (initramfs)
  (initramfs) [  221.268533] tg3 0000:01:00.1 eth4: Link is up at 1000 Mbps, full duplex

  < hung >

  
  iSCSI  target information:

  Server: CentOS 6.4 .x64 .

  #passwd setup 
  #
  # tgtadm --lld iscsi --op new --mode account --user ronnie --password password
  # tgtadm --lld iscsi --op bind --mode account --tid 1 --user ronnie
  #
  # dd if=/dev/zero of=iscsi.disk0 bs=1024M count=10


  
  tgtadm --lld iscsi --op delete  --mode target --tid 1

  tgtadm --lld iscsi --op new --mode target --tid 1 -T iqn.2001-04.com.jade:storage.disk0
  tgtadm  --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b  `pwd`/iscsi.disk0

  
  tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL
  tgtadm --lld iscsi --op show --mode target

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-ppc/+bug/1279403/+subscriptions


References