kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #62260
[Bug 1279403] Re: tg3 driver hangs in iscsi booted initrd : (trusty)
I enabled kgdboc=ttyS0,115200 and caught this :
[ 71.145241] input: Barcode Reader as /devices/ffe000000.soc/ffe210000.usb/fsl-ehci.0/usb1/1-1/1-1.3/1-1.3:1.1/input/input1
[ 71.145493] hid-generic 0003:13BA:0018.0002: input,hidraw1: USB HID v1.10 Mouse [Barcode Reader ] on usb-fsl-ehci.0-1.3/input1
[ 71.206233] md: raid6 personality registered for level 6
[ 71.206235] md: raid5 personality registered for level 5
[ 71.206236] md: raid4 personality registered for level 4
[ 71.260531] md: raid10 personality registered for level 10
[ 71.664609] udlfb: DisplayLink USB device /dev/fb0 attached. 1440x900 resolution. Using 5064K framebuffer memory
[ 71.934176] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
[ 72.083988] IPv6: ADDRCONF(NETDEV_UP): eth3: link is not ready
[ 73.549288] tg3 0000:01:00.0 eth2: Link is up at 100 Mbps, full duplex
Entering kdb (current=0xe62b8000, pid 74) on processor 1 Oops: (null)
due to oops @ 0x0
dCPU: 1 PID: 74 Comm: kworker/1:1 Tainted: G W 3.13.9+ #3
dWorkqueue: events linkwatch_event
dtask: e62b8000 ti: e6396000 task.ti: e6396000
NIP: 00000000 LR: c00885ac CTR: 00000000
REGS: e6397ca0 TRAP: 0400 Tainted: G W (3.13.9+)
MSR: 00021002 <CE,ME> CR: 22ad2e28 XER: 00000000
GPR00: c00885ac e6397d50 e62b8000 d1826900 c0b0b340 00000005 448130bc 00000011
GPR08: 00000000 00000000 00000011 204c2f00 00000000 00000000 c0078250 e62c7920
GPR16: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 d1826680
GPR24: c0b60000 10d20000 c0b06900 c0b06900 c0b80e18 e6396000 d1826900 c0b0b340
NIP [00000000] (null)
LR [c00885ac] ttwu_do_activate.constprop.70+0x4c/0x90
Call Trace:
[e6397d50] [c00885ac] ttwu_do_activate.constprop.70+0x4c/0x90 (unreliable)
[e6397d60] [c0089d80] scheduler_ipi+0xb0/0x1e0
[e6397d90] [c00126d0] smp_ipi_demux+0xa0/0xf0
[e6397db0] [c0010250] doorbell_exception+0x70/0xa0
[e6397dd0] [c0010bb0] ret_from_except_full+0x0/0x4c
--- Exception: 2070 at linkwatch_event+0x0/0x50
LR = process_one_work+0x14c/0x3e0
[e6397e90] [c006fef8] process_one_work+0x128/0x3e0 (unreliable)
[e6397ec0] [c00708d4] worker_thread+0x134/0x3e0
[e6397ef0] [c0078324] kthread+0xd4/0xf0
[e6397f40] [c001068c] ret_from_kernel_thread+0x5c/0x64
--
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