kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #62400
[Bug 1279403] Re: tg3 driver hangs in iscsi booted initrd : (trusty)
Looking at EPC - of 0x885ac - could *p be null ?
R31 = c0b0b340 ; no
static void ttwu_activate(struct rq *rq, struct task_struct *p, int en_flags)
{
activate_task(rq, p, en_flags);
c008859c: 7f c3 f3 78 mr r3,r30
c00885a0: 7f e4 fb 78 mr r4,r31
c00885a4: 38 a0 00 05 li r5,5
c00885a8: 4b ff fb 39 bl c00880e0 <activate_task>
p->on_rq = 1;
/* if a worker is waking up, notify workqueue */
if (p->flags & PF_WQ_WORKER)
c00885ac: 81 3f 00 0c lwz r9,12(r31)
}
[1]kdb> md c0b0b340
0xc0b0b340 00000100 c0b74000 00000002 00200000 ......@...... ..
0xc0b0b350 00000000 00000000 00000000 e62b9d00 .............+..
0xc0b0b360 00000000 fffeee67 00000001 00000000 .......g........
0xc0b0b370 00000078 00000078 00000078 00000000 ...x...x...x....
0xc0b0b380 c0817520 00000000 00000400 00400000
--
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 : (trusty)
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