Bug 59146
Summary: | drivers/atm does not compile, bug in pca200e.bin.gz | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Michael Schwendt <bugs.michael> | ||||
Component: | kernel | Assignee: | Arjan van de Ven <arjanv> | ||||
Status: | CLOSED WORKSFORME | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.2 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | athlon | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2002-02-28 10:23:08 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Michael Schwendt
2002-01-31 18:59:04 UTC
Created attachment 44261 [details]
proposed work-around
The other data files pca200e_ecd.bin.gz and sba200e_ecd.bin.gz break this: $ objcopy -Iihex pca200e_ecd.data -Obinary pca200e_ecd.bin.gz objcopy: Warning: Output file cannot represent architecture UNKNOWN! $ file pca200e_ecd.bin.gz pca200e_ecd.bin.gz: gzip compressed data, deflated, original filename, `pca200e_ecd.bin2}', last modified: Fri Oct 22 14:38:04 1999, max compression, os: Unix Ought to be: pca200e_ecd.bin2 $ objcopy -Iihex sba200e_ecd.data -Obinary sba200e_ecd.bin.gz objcopy: Warning: Output file cannot represent architecture UNKNOWN! $ file sba200e_ecd.bin.gz sba200e_ecd.bin.gz: gzip compressed data, deflated, original filename, `sba200e_ecd.bin2}', last modified: Fri Oct 22 14:38:04 1999, max compression, os: Unix Ought to be: sba200e_ecd.bin2 So, gzip option -n won't be enough here. Wonder where that } comes from... Wonder whether or why I'm the only one still seeing this bug? This might be one way to correct the original filenames inside the gzip files. cd /usr/src/linux-2.4/drivers/atm objcopy -Iihex pca200e.data -Obinary pca200e.bin.gz objcopy -Iihex pca200e_ecd.data -Obinary pca200e_ecd.bin2.gz objcopy -Iihex sba200e_ecd.data -Obinary sba200e_ecd.bin2.gz gunzip -n pca200e.bin.gz gunzip -n pca200e_ecd.bin2.gz gunzip -n sba200e_ecd.bin2.gz gzip pca200e.bin gzip pca200e_ecd.bin2 gzip sba200e_ecd.bin2 objcopy -Ibinary pca200e.bin.gz -Oihex pca200e.data objcopy -Ibinary pca200e_ecd.bin2.gz -Oihex pca200e_ecd.data objcopy -Ibinary sba200e_ecd.bin2.gz -Oihex sba200e_ecd.data rm pca200e.bin.gz pca200e_ecd.bin2.gz sba200e_ecd.bin2.gz It's "export GZIP=-9N" that causes the bad file names inside the gzipped archives to show up (option -N is gzip default according to the man page). The second comment from 2002-02-01 is wrong. I would still suggest uncompressing the files with "gzip -dfn", but since hardly any user has set the GZIP environment variable, I close this report for now. Nevertheless, the file names inside the archives are bad and should be corrected some day. |