[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Webboot DNS Not Resolving Fetch Address with debian-live-7.5.0-amd64-rescue



I'm getting DNS resolving errors on the fetch= address using the Debian
Live 7.5 Rescue Live CD while webbooting.

I've configured the PXE environment to boot the initrd.gz and vmlinux
files, pointing to a webserver that has the squasfs file. These files
were 5/5/2014 versions downloaded from
http://mirrors.kernel.org/debian-cd/current-live/amd64/webboot/ and the
md5sums match.

The PXE Menu entry I'm using is:

LABEL Debian 7.5 Rescue
  KERNEL
pxelinux.cfg/corp/targets/webboot/debian-live-7.5.0-amd64-rescue.vmlinuz
  APPEND
initrd=pxelinux.cfg/corp/targets/webboot/debian-live-7.5.0-amd64-rescue.initrd.img
boot=live components
fetch=http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs
debug

The boot then fails with the error (see attached debug boot.log):

wget: bad address 'ks.qualcomm.com

If the PXE append line is changed to use the IP address of
ks.qualcomm.com instead, it downloads the squashf file properly, and a
login prompt comes up. In a failed boots basic command shell the network
is configured and /etc/resolv.conf has what DHCP provided. Any nslookup
commands within the shell gives the error:

nslookup: can't resolve 'ks.qualcomm.com'

Networking is working, and the DNS servers respond to ping. Using netcat
to copy the lot file to another system in a different subnet also works.
I've tried using the standard live webboot files as well with same results.

I'm currently stumped, and any help would be appreciated. I didn't see
anything in BTS or the debian-live manuals regarding this issue, and if
it's a bug I can file it. I wanted to see if the list had any
suggestions or something I could be missing first. I would prefer to use
a hostname instead of an IP so we can easily replicate to PXE servers
that have different webboot web server names.

Thank you,

-- 
Micheal Waltz
Unix Configuration Management (go/ucm)
Qualcomm Inc.

+ tailpid=171
+ . /live.vars
+ cat /proc/cmdline
+ _CMDLINE=initrd=pxelinux.cfg/corp/targets/webboot/debian-live-7.5.0-amd64-rescue.initrd.img boot=live components fetch=http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs debug BOOT_IMAGE=pxelinux.cfg/corp/targets/webboot/debian-live-7.5.0-amd64-rescue.vmlinuz 
+ Cmdline_old
+ FETCH=http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs
+ export FETCH
+ [ -z  ]
+ [  = /dev/nfs ]
+ [  = /dev/cifs ]
+ [ -z  ]
+ MODULE=filesystem
+ export MODULE
+ [ -z  ]
+ UNIONTYPE=aufs
+ export UNIONTYPE
+ [ -z  ]
+ PERSISTENCE_ENCRYPTION=none
+ export PERSISTENCE_ENCRYPTION
+ [ -z  ]
+ PERSISTENCE_METHOD=overlay
+ export PERSISTENCE_METHOD
+ [ -z  ]
+ PERSISTENCE_STORAGE=filesystem,file
+ export PERSISTENCE_STORAGE
+ Debug
+ LIVE_DEBUG=true
+ set -x
+ Read_only
+ return 0
+ Select_eth_device
+ tail -f boot.log
+ tail -1
+ egrep ^BOOT= /conf/initramfs.conf
+ bootconf=
+ [  != BOOT=nfs ]
+ [ -z  ]
+ [ -z http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs ]
+ modprobe -q af_packet
+ l_interfaces=
+ uname -r
+ echo Waiting for ethernet card(s) up... If this fails, maybe the ethernet card is not supported by the kernel 3.2.0-4-amd64?
Waiting for ethernet card(s) up... If this fails, maybe the ethernet card is not supported by the kernel 3.2.0-4-amd64?
+ [ -z  ]
+ cd /sys/class/net/
+ ls -d eth0
+ l_interfaces=eth0
+ [ -z eth0 ]
+ wc -w
+ echo eth0
+ [ 1 -lt 2 ]
+ echo DEVICE=eth0
+ return
+ [ -e /conf/param.conf ]
+ . /conf/param.conf
+ DEVICE=eth0
+ [ -n  ]
+ [ ! -z  ]
+ [ ! -z http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs ]
+ do_netmount
+ do_netsetup
+ modprobe -q af_packet
+ udevadm trigger
+ udevadm settle
+ [ -n  ]
+ ETHDEV_TIMEOUT=15
+ echo Using timeout of 15 seconds for network configuration.
Using timeout of 15 seconds for network configuration.
+ [ -z  ]
+ [ -z http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs ]
+ tee /netboot-eth0.config
+ ipconfig -t 15 eth0
IP-Config: eth0 hardware address 52:54:00:03:dc:61 mtu 1500 DHCP RARP
IP-Config: eth0 guessed broadcast address 10.53.3.255
IP-Config: eth0 complete (dhcp from 10.43.4.188):
 address: 10.53.0.35       broadcast: 10.53.3.255      netmask: 255.255.252.0   
 gateway: 10.53.0.1        dns0     : 129.46.64.55     dns1   : 129.46.132.28   
 domain : qualcomm.com                                                    
 rootserver: 129.46.53.182 rootpath: 
 filename  : /pxelinux/pxelinux.0
+ [ -e /tmp/net-eth0.conf ]
+ [ -e /run/net-eth0.conf ]
+ . /run/net-eth0.conf
+ DEVICE=eth0
+ PROTO=dhcp
+ IPV4ADDR=10.53.0.35
+ IPV4BROADCAST=10.53.3.255
+ IPV4NETMASK=255.255.252.0
+ IPV4GATEWAY=10.53.0.1
+ IPV4DNS0=129.46.64.55
+ IPV4DNS1=129.46.132.28
+ HOSTNAME=
+ DNSDOMAIN=qualcomm.com
+ NISDOMAIN=
+ ROOTSERVER=129.46.53.182
+ ROOTPATH=
+ filename=/pxelinux/pxelinux.0
+ UPTIME=2
+ DHCPLEASETIME=86400
+ DOMAINSEARCH=
+ [ 10.53.0.35 != 0.0.0.0 ]
+ break
+ OLDHOSTNAME=
+ [ -e /tmp/net-eth0.conf ]
+ [ -e /run/net-eth0.conf ]
+ . /run/net-eth0.conf
+ DEVICE=eth0
+ PROTO=dhcp
+ IPV4ADDR=10.53.0.35
+ IPV4BROADCAST=10.53.3.255
+ IPV4NETMASK=255.255.252.0
+ IPV4GATEWAY=10.53.0.1
+ IPV4DNS0=129.46.64.55
+ IPV4DNS1=129.46.132.28
+ HOSTNAME=
+ DNSDOMAIN=qualcomm.com
+ NISDOMAIN=
+ ROOTSERVER=129.46.53.182
+ ROOTPATH=
+ filename=/pxelinux/pxelinux.0
+ UPTIME=2
+ DHCPLEASETIME=86400
+ DOMAINSEARCH=
+ [ -z ]
+ HOSTNAME=
+ export HOSTNAME
+ [ -n eth0 ]
+ cat /sys/class/net/eth0/address
+ HWADDR=52:54:00:03:dc:61
+ [ ! -e /etc/resolv.conf ]
+ echo Creating /etc/resolv.conf
Creating /etc/resolv.conf
+ [ -n qualcomm.com ]
+ echo domain qualcomm.com
+ echo search qualcomm.com
+ [ -n 129.46.64.55 ]
+ [ 129.46.64.55 != 0.0.0.0 ]
+ echo nameserver 129.46.64.55
+ [ -n 129.46.132.28 ]
+ [ 129.46.132.28 != 0.0.0.0 ]
+ echo nameserver 129.46.132.28
+ [ -n 129.46.132.28 ]
+ [ 129.46.132.28 != 0.0.0.0 ]
+ echo nameserver 129.46.132.28
+ ls /sys/class/net/eth0
+ [ auto = auto ]
+ NFSROOT=129.46.53.182:
+ rc=1
+ [ -n http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs ]
+ do_httpmount
+ rc=1
+ local url extension dest
+ eval echo "${HTTPFS}"
+ echo 
+ url=
+ sed s/\(.*\)\.\(.*\)/\2/
+ echo 
+ extension=
+ [ -n  ]
+ local url extension dest
+ eval echo "${FTPFS}"
+ echo 
+ url=
+ sed s/\(.*\)\.\(.*\)/\2/
+ echo 
+ extension=
+ [ -n  ]
+ local url extension dest
+ eval echo "${FETCH}"
+ echo http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs
+ url=http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs
+ sed s/\(.*\)\.\(.*\)/\2/
+ echo http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs
+ extension=squashfs
+ [ -n http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs ]
+ [ squashfs = iso ]
+ dest=/live/medium/live
+ mount -t ramfs ram /live/medium
+ mkdir -p /live/medium/live
+ [ FETCH = FETCH ]
+ basename http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs
+ log_begin_msg Trying wget http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs -O /live/medium/live/debian-live-7.5.0-amd64-rescue.squashfs
+ _log_msg Begin: Trying wget http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs -O /live/medium/live/debian-live-7.5.0-amd64-rescue.squashfs ... 
+ [ n = y ]
+ printf Begin: Trying wget http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs -O /live/medium/live/debian-live-7.5.0-amd64-rescue.squashfs ... 
Begin: Trying wget http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs -O /live/medium/live/debian-live-7.5.0-amd64-rescue.squashfs ... + basename http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs
+ wget http://ks.qualcomm.com/webboot/debian-7.5/debian-live-7.5.0-amd64-rescue.squashfs -O /live/medium/live/debian-live-7.5.0-amd64-rescue.squashfs
wget: bad address 'ks.qualcomm.com'
+ [ 1 -eq 0 ]
+ [ squashfs = tgz ]
+ [ squashfs = iso ]
+ break
+ [ 1 != 0 ]
+ [ -d /media ]
+ umount /live/medium
+ return 1
+ return 1
+ panic Unable to find a live file system on the network
+ DEB_1=\033[1;31m .''`.  \033[0m
+ DEB_2=\033[1;31m: :'  : \033[0m
+ DEB_3=\033[1;31m`. `'`  \033[0m
+ DEB_4=\033[1;31m  `-    \033[0m
+ LIVELOG=\033[1;37m/boot.log\033[0m
+ DEBUG=\033[1;37mdebug\033[0m
+ exec
+ exec

Reply to: