Strange problem with 2.4.x kernel
Hello,
I'm writing first time to you, so let me say HELLO !
I installed Slackware 8.0 month ago, it is my firewall with NAT (iptables).
I have two kernels: 2.2.19 and 2.4.5 - this is my default kernel.
Everything went fine but three days ago I tried to compile some 2.4.x kernel (2.4.0, 2.4.4, 2.4.5, ...., 2.4.12, 2.4.16). I went to ftp.kernel.org and got some kernels (zipped and bzipped)
(transfered in BINARY mode, not ASCII).
So the problem is:
When I tried to gunzip or bunzip2 any ftp'd kernel I got terrible ;) message:
invalid compressed data: CRC-ERROR
...whats going on, I thought...
I know that it is possible to broke archives by ftp'd in ASCII mode, but as I
said I ftp's kernels in BINARY mode, so it isn't the reason.
I have some kernels on cdrom's and I got the same problem during trying gunzip or bunzip2 kernel (2.4.x). I tested to gunzip or bunzip2 2.2.x kernels
(from cdrom or ftp'd in binary mode) and everything works fine.
So, it is possible that any 2.4.x kernel is broken ?
I'm sure that isn't !
So, I tried to find some information about CRC-ERROR's by google, so I found only that it could be caused by ftp'd archies in ASCII mode. Other tip was that there could be a problem with CMD640 chipset/controller etc.
...I'm not so experienced user and I'm very confused ;)))
I found on www.gzip.org some programm writen by Jean-loup Gailly called fixgz (www.gzip.org/fixgz.c) and some explanation about CRC ERROR's, I tried avery Gailly's advice but it still doesn't work. I can't gunzip any kernel 2.4.x .
I found in man's that it could be a problem with checksum, so I run sum for ftp'd kernel archive and for the same archive after fixgz'd and sum's was really different but fixgz'd doesn't help - doesn't fix these archives.
So, I make every try under my 2.4.5 and 2.2.19 kernel - no positive result.
I haven't any idea where to looking for any bug, any solution, any information how to fix it.
Please, help me and explain what may be broken in my system. How to try to fix it ?
I'll be very thankful.
Best regards
Signature · 3 lines
Mateusz Loskot E-mail: [email protected] GG#: 792434
Quoted 1 line · On Thu, 6 Dec 2001, [iso-8859-2] Mateusz £oskot wrote:
invalid compressed data: CRC-ERROR
Did you compare the size of the downloaded kernels with the originals on the ftp-server. Are they identical to the byte? This answers the question if your ftp-program really used binary mode.
I once encountered a ftp-program which pretended using binary mode but did not.
--
Hans-Georg
Uttered "Mateusz " <[email protected]>, spoke thus:
Quoted 11 lines
Hello,
I'm writing first time to you, so let me say HELLO !I installed Slackware 8.0 month ago, it is my firewall with NAT (iptables).
I have two kernels: 2.2.19 and 2.4.5 - this is my default kernel.
Everything went fine but three days ago I tried to compile some 2.4.x kernel (2.4.0, 2.4.4, 2.4.5, ...., 2.4.12, 2.4.16). I went to ftp.kernel.org and got some kernels (zipped and bzipped)
(transfered in BINARY mode, not ASCII).
So the problem is:
When I tried to gunzip or bunzip2 any ftp'd kernel I got terrible ;) message:
Quoted 1 line
invalid compressed data: CRC-ERROR
You should validate the files you download before trying to use them. Check the information at:
http://www.kernel.org/signature.html
for how to go about this.
Use ftp(1) or wget(1) to do the downloads. Do _not_ try to get the files using any web browser, such as Netscape, because they are known to mangle files that they don't understand.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- + -- -- -- -- -- -- -- -- -- --
Tommy Reynolds | mailto: <[email protected]> Red Hat, Inc., Embedded Development Services | Phone: +1.256.704.9286 307 Wynn Drive NW, Huntsville, AL 35805 USA | FAX: +1.256.837.3839 Senior Software Developer | Mobile: +1.919.641.2923
Dni 06.12 2001 r., o godzinie 12:33 Tommy Reynolds napisał(a) co następuje:
Quoted 5 lines
Uttered "Mateusz " <[email protected]>, spoke thus:
You should validate the files you download before trying to use them. Check the information at:
http://www.kernel.org/signature.html
for how to go about this.
Ok, I'll go there necessary...
Quoted 3 lines
Use ftp(1) or wget(1) to do the downloads. Do _not_ try to get the files using any web browser, such as Netscape, because they are known to mangle files that they don't understand.
I know, I used only ftp, ncftp or yafc - the same result ;-((((
Thanks
Signature · 3 lines
Mateusz Łoskot E-mail: [email protected] GG#: 792434
Dni 06.12 2001 r., o godzinie 19:30 Hans-Georg Fischer napisał(a) co następuje:
Quoted 2 lines
Did you compare the size of the downloaded kernels with the originals on the ftp-server.
Yes, I'm sure I did it.
Quoted 1 line
Are they identical to the byte?
Yes, they are identical, I'm sure.
Quoted 3 lines
This answers the question if your ftp-program really used binary mode. I once encountered a ftp-program which pretended using binary mode but did not.
I used only ftp in BINARY mode or ncftp in BINARY mode. As I said I used kernels archives from my CDROM's which I bought ;-) So, it doesn't work too ;-(((
Thanks a lot, I think that it could be caused by new RAM SIMM's or my CPU is too hot - I think it is less probable.
Thanks
Signature · 3 lines
Mateusz Łoskot E-mail: [email protected] GG#: 792434
(CCing to [email protected])
Quoted 1 line · Mateusz ?oskot
Dni 06.12 2001 r., o godzinie 12:33 Tommy Reynolds napisa?(a) co nast?puje:
..
Quoted 7 lines
Quoted 3 lines
Use ftp(1) or wget(1) to do the downloads. Do _not_ try to get the files using any web browser, such as Netscape, because they are known to mangle files that they don't understand.
I know, I used only ftp, ncftp or yafc - the same result ;-((((
Thanks
What is your line speed ? ProFTPD 1.2.0rcX and 1.2.2rcX (and probably other versions) corrupts data on slow links (e.g modem) when compiled with --enable-sendfile option (default). Could you try downloading on fast link, or from mirrors ?
To [email protected]:
Could you please check ? Thanks.
Jan Dvorak <[email protected]>
Quoted 17 lines · Jan Dvorak
(CCing to [email protected])
Quoted 2 lines · Mateusz ?oskot
Dni 06.12 2001 r., o godzinie 12:33 Tommy Reynolds napisa?(a) co nast?puje:
..
Quoted 8 lines
Quoted 4 lines
Use ftp(1) or wget(1) to do the downloads. Do _not_ try to get the files using any web browser, such as Netscape, because they are known to mangle files that they don't understand.
I know, I used only ftp, ncftp or yafc - the same result ;-((((
Thanks
Quoted 8 lines
What is your line speed ? ProFTPD 1.2.0rcX and 1.2.2rcX (and probably other versions) corrupts data on slow links (e.g modem) when compiled with --enable-sendfile option (default). Could you try downloading on fast link, or from mirrors ?
To [email protected]:
Could you please check ? Thanks.
We're currently running ProFTPD 1.2.2 final (with sendfile enabled.) We're planning a full server replacement before the end of the month, at which time we'll probably replace it with vsftpd.
-hpa
Quoted 1 line
What is your line speed ?
I have CABLE MODEM connection and I have aout 40 kbps speed from ftp.krenel.org I think it is not so slow ;-))), I get linux kernel archive in 10 minutes ;)
Quoted 4 lines
ProFTPD 1.2.0rcX and 1.2.2rcX (and probably other
versions) corrupts data on slow links (e.g modem) when compiled with --enable-sendfile option (default). Could you try downloading on fast link, or from mirrors ?
I tried download from different places. So, it doesn't work.
As I said before in my posts, I suspect my RAM SIMM's (thanks to kernel hackers which gave me a lot of help) So, I have to test it and I will know whats going wrong.
Quoted 2 lines
To [email protected]:
Could you please check ? Thanks.
I think that this is problem with BIG tar.gz files, because if I try to ungzip kernel 2.2.19 everything goes fine, so it must be a hardware problem.
Thanks a lot for your help
Signature · 3 lines
Mateusz Łoskot E-mail: [email protected] GG#: 792434