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

Re: PXE-install fails on one of two identical setups.



Thomas Alexander Frederiksen wrote:
> Secondly, the installer fetches a few files:
> 
> 82.103.129.98 - - [28/Nov/2005:15:49:40 +0100] "GET /preseed HTTP/1.1"
> 2004806 "-" "Wget" "-"
> 
> 82.103.129.98 - - [28/Nov/2005:15:49:41 +0100] "GET
> /debian/dists/sarge/Release HTTP/1.1" 200 22834 "-" "Wget" "-"
> 
> 82.103.129.98 - - [28/Nov/2005:15:49:41 +0100] "GET
> /debian/dists/stable/Release HTTP/1.1" 200 22834 "-" "Wget" "-"
> 
> 82.103.129.98 - - [28/Nov/2005:15:49:41 +0100] "GET
> /debian/dists/stable/main/debian-installer/binary-i386/Packages.gz
> HTTP/1.1" 200 30276 "-" "Wget" "-"
> 
> 82.103.129.98 - - [28/Nov/2005:15:49:41 +0100] "GET
> /debian/pool/main/b/base-installer/base-installer_1.13.4_i386.udeb
> HTTP/1.1" 200 74914 "-" "Wget" "-"
> 
> Here, the installer stops, and anna reports this on the debugging terminal:
> 
> anna[1365]: DEBUG resolver (usb-storage-modules-2.4.27-2-386-di): mark
> anna[1365]: WARNING **: bad md5sum
> 
> Pressing retry once has these results:
> 
> 82.103.129.98 - - [28/Nov/2005:15:59:51 +0100] "GET
> /debian/pool/main/b/base-installer/base-installer_1.13.4_i386.udeb
> HTTP/1.1" 416 0 "-" "Wget" "-"
> 
> 82.103.129.98 - - [28/Nov/2005:15:59:52 +0100] "GET
> /debian/pool/main/b/base-installer/base-installer_1.13.4_i386.udeb
> HTTP/1.1" 200 74914 "-" "Wget" "-"
> 
> and anna's comment is...
> 
> anna[1365]: wget:
> anna[1365]: Server returned error 416: HTTP/1.1 416 Requested Range Not
> Satisfiable^M
> anna[1365]:
> anna[1365]: WARNING **: bad md5sum

It might help to see the code behind this, which is:

fetch() {
        url="${protocol}://${hostname}${directory}/$1"
        iters=0
        while [ $iters -lt 3 ]; do
                if [ ! -e "$2" ]; then
                        wget -q "$url" -O "$2"
                        return $?
                else
                        # busybox wget can sometimes become confused while 
                        # resuming, so if it fails, restart
                        if wget -c -q "$url" -O "$2"; then
                                return 0
                        else
                                wget -q "$url" -O "$2"
                                return $?
                        fi
                fi
                iters=$(($iters + 1))
        done
}

You might try running through the wget commands yourself at the console
and checking the return codes and downloaded files to debug it further.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: