iscsi booted system hangs on 3.8.0.19 ramdisk .(ppc - e500mc)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-ppc (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I was experimenting with an iscsi boot device as root device , and
one of the preliminary steps is getting a network connection established via
the default initrd.
It appears that starting the network from init hangs the
system.
I installed Ubuntu directly to an iSCSI target via the Ubuntu install , copied
the default vmlinux+initrd to a USB, then attempted to setup the boot
environment via USB where we launch vmlinux and initrd via kexec:
svy-boot# mount /dev/sda1 /mnt
svy-boot# cd /mnt/iscsi
svy-boot# ls
abi-3.8.
bootargs initrd.
bootiscsi.sh kernel
config-
go.sh
svy-boot# ./go.sh
/sbin/kexec --command=
UUID=3967a9b2-
console=
192.168.
ISCSI_INITIATOR
ISCSI_TARGET_
ISCSI_TARGET_
--initrd=
/mnt/iscsi/
I started the system so it would break if a error occured:
[ 0.000000] Using P4080 DS machine description
[ 0.000000] Memory CAM mapping: 256/256/256 Mb, residual: 3328Mb
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.8.0-19-
4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #25-Ubuntu SMP Mon Dec 23 12:18:15 UTC
2013 (Ubuntu 3.8.0-19.
The system would likely find the iSCSI device but it hangs when the iscsi stack
is started :
(initramfs) sh +x ./iscissi
[ 1750.717666] IPv6: ADDRCONF(
[ 1750.730184] Loading iSCSI transport class v2.0-870.
[ 1750.739849] iscsi: registered transport (tcp)
iscsistart: Logging into iqn.2001-
192.168.
iscsistart: version 2.0-873
[ 1753.621329] tg3 0000:01:00.0 eth3: Link is up at 1000 Mbps, full duplex
- The iSCSI target target was created ona CentOS server ,
#startiscsi.sh
#
# 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-
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
The 3.8.0 kernel is EOL. If this applies to 3.11 or newer, then please reopen and target to saucy/3.11.
Thanks