Bug#422111: download corruption

2008-12-17 Thread Moritz Muehlenhoff
On Thu, May 03, 2007 at 06:48:49PM +0200, kiu wrote:
> Package: linux-image-2.6.18-4-amd64
> Version: 2.6.18.dfsg.1-12etch1
> 
> Hi,
> 
> i have a very unusual, but reproducable bug:
> 
> Downloading
> http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-4-amd64_2.6.18.dfsg.1-12etch1_amd64.deb
> should have md5 of 54b74bc3ba1204317c68bdf7a0d017e1, but my downloads gets
> corrupted.
> 
> It happens only if the (slow 50kb/s instead of 5Mb/s) 128.101.240.212 mirror 
> is
> used - the other mirrors are fine(!):
> $ wget --header "Host: security.debian.org"
> http://128.101.240.212/pool/updates/main/l/linux-2.6/linux-image-2.6.18-4-amd64_2.6.18.dfsg.1-12etch1_amd64.deb
> $ md5sum linux-image-2.6.18-4-amd64_2.6.18.dfsg.1-12etch1_amd64.deb
> eef84cc95c7c63fb6b90a90e839f3ccb 
> linux-image-2.6.18-4-amd64_2.6.18.dfsg.1-12etch1_amd64.deb
> 
> My other (non amd64) machines have no problem with this slow mirror, but the 
> hw
> is not comparable.

Does this error still occur with more recent kernel versions?

If you're running Etch, could you try to reproduce this bug
with the 2.6.24 based kernel added in 4.0r4?
http://packages.qa.debian.org/l/linux-2.6.24.html

Cheers,
Moritz



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#422111: download corruption

2007-05-03 Thread kiu
Package: linux-image-2.6.18-4-amd64
Version: 2.6.18.dfsg.1-12etch1

Hi,

i have a very unusual, but reproducable bug:

Downloading
http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-4-amd64_2.6.18.dfsg.1-12etch1_amd64.deb
should have md5 of 54b74bc3ba1204317c68bdf7a0d017e1, but my downloads gets
corrupted.

It happens only if the (slow 50kb/s instead of 5Mb/s) 128.101.240.212 mirror is
used - the other mirrors are fine(!):
$ wget --header "Host: security.debian.org"
http://128.101.240.212/pool/updates/main/l/linux-2.6/linux-image-2.6.18-4-amd64_2.6.18.dfsg.1-12etch1_amd64.deb
$ md5sum linux-image-2.6.18-4-amd64_2.6.18.dfsg.1-12etch1_amd64.deb
eef84cc95c7c63fb6b90a90e839f3ccb 
linux-image-2.6.18-4-amd64_2.6.18.dfsg.1-12etch1_amd64.deb

My other (non amd64) machines have no problem with this slow mirror, but the hw
is not comparable.

It is also fine, if i dont write to the disk, but handle the complete download
in memory:
$ wget --header "Host: security.debian.org" -O -
http://128.101.240.212/pool/updates/main/l/linux-2.6/linux-image-2.6.18-4-amd64_2.6.18.dfsg.1-12etch1_amd64.deb
| md5sum
54b74bc3ba1204317c68bdf7a0d017e1  -

Pure disk read/write seems to be fine, too:
$ dd if=/dev/urandom of=./r1.rnd count=4 bs=1024
$ cp r1.rnd r2.rnd
$ cp r1.rnd r3.rnd
$ cp r1.rnd r4.rnd
$ md5sum *.rnd
bfa67c39b57bde568af93803d302b3d9  r1.rnd
bfa67c39b57bde568af93803d302b3d9  r2.rnd
bfa67c39b57bde568af93803d302b3d9  r3.rnd
bfa67c39b57bde568af93803d302b3d9  r4.rnd

This problem appears on two identical (hw+sw) machines (Thomas Krenn Servers).

Any ideas/hints ? Anything i should test to help you ?

Thanks in advance...

Simon

System is an up-to-date (2007-05-04) etch:

$ uname -a
Linux caipirinha 2.6.18-4-amd64 #1 SMP Mon Mar 26 11:36:53 CEST 2007 x86_64
GNU/Linux

$ cat /sys/module/e1000/version
7.1.9-k4-NAPI

$ cat /sys/module/3w_/version
1.26.02.001

$ tw_cli c0 diag
3ware DiskSwitch 2/4/8/12
FE8S 1.05.00.068  19-May-04
Model No. : 8006-2LP
Bios BE7X 1.08.00.048
(c) 1997 - 2003  3ware
INV 0200
Achip version # 03.20
Pchip version # 01.30-66

$ cat /var/log/kern.log
May  3 09:34:20 caipirinha kernel: Kernel logging (proc) stopped.
May  3 09:34:20 caipirinha kernel: Kernel log daemon terminating.
May  3 09:36:09 caipirinha kernel: klogd 1.4.1#18, log source = /proc/kmsg
started.
May  3 09:36:09 caipirinha kernel: Bootdata ok (command line is root=/dev/sda2
ro )
May  3 09:36:09 caipirinha kernel: Linux version 2.6.18-4-amd64 (Debian
2.6.18.dfsg.1-12) ([EMAIL PROTECTED]) (gcc version 4.1.2 20061115 (prerelease)
(Debian 4.1.1-21)) #1 SMP Mon Mar 26 11:36:53 CEST 2007
May  3 09:36:09 caipirinha kernel: BIOS-provided physical RAM map:
May  3 09:36:09 caipirinha kernel:  BIOS-e820:  -
0009f000 (usable)
May  3 09:36:09 caipirinha kernel:  BIOS-e820: 0009f000 -
000a (reserved)
May  3 09:36:09 caipirinha kernel:  BIOS-e820: 000e3000 -
0010 (reserved)
May  3 09:36:09 caipirinha kernel:  BIOS-e820: 0010 -
bffcdfb9 (usable)
May  3 09:36:09 caipirinha kernel:  BIOS-e820: bffcdfb9 -
bfff (reserved)
May  3 09:36:09 caipirinha kernel:  BIOS-e820: bfff -
b000 (ACPI data)
May  3 09:36:09 caipirinha kernel:  BIOS-e820: b000 -
c000 (ACPI NVS)
May  3 09:36:09 caipirinha kernel:  BIOS-e820: fec0 -
fec86000 (reserved)
May  3 09:36:09 caipirinha kernel:  BIOS-e820: fee0 -
fee01000 (reserved)
May  3 09:36:09 caipirinha kernel:  BIOS-e820: ffc0 -
0001 (reserved)
May  3 09:36:09 caipirinha kernel:  BIOS-e820: 0001 -
00014000 (usable)
May  3 09:36:09 caipirinha kernel: DMI 2.3 present.
May  3 09:36:09 caipirinha kernel: ACPI: RSDP (v000 ACPIAM  
 ) @ 0x000f7e00
May  3 09:36:09 caipirinha kernel: ACPI: RSDT (v001 A M I  7320VP21 0x06000630
MSFT 0x0097) @ 0xbfff
May  3 09:36:09 caipirinha kernel: ACPI: FADT (v001 A M I  OEMFACP  0x06000630
MSFT 0x0097) @ 0xbfff0200
May  3 09:36:09 caipirinha kernel: ACPI: MADT (v001 A M I  OEMAPIC  0x06000630
MSFT 0x0097) @ 0xbfff0300
May  3 09:36:09 caipirinha kernel: ACPI: MCFG (v001 A M I  OEMMCFG  0x06000630
MSFT 0x0097) @ 0xbfff03e0
May  3 09:36:09 caipirinha kernel: ACPI: OEMB (v001 A M I  OEMBIOS  0x06000630
MSFT 0x0097) @ 0xb040
May  3 09:36:09 caipirinha kernel: ACPI: DSDT (v001  LHREF LHREF001 0x0001
INTL 0x02002026) @ 0x
May  3 09:36:09 caipirinha kernel: No NUMA configuration found
May  3 09:36:09 caipirinha kernel: Faking a node at
-00014000
May  3 09:36:09 caipirinha kernel: Bootmem setup node 0
-00014000
May  3 09:36:09 caipirinha kernel: On node 0 totalpages: 1029619
May  3 09:36:09 caipirinha kernel:   DMA zone: 3054 pages, LIFO batch:0
May  3 09:36:09 caipirinha kernel