build: qa0124.0 tried to create boot.img from 7.1-beta3-ia64 tree, completed with the following errors: ide-floppy: hdd: I/O error, pc = 5a, key = 5, asc = 24, ascq = 0 ide-floppy: hdd: I/O error, pc = 5a, key = 5, asc = 24, ascq = 0 20480+0 records in 20480+0 records out verified on 3 systems, and multiple ls-120 floppies. another similar error: Another slightly different one: ide-floppy: hda: I/O error, pc = 5a, key = 5, asc = 24, ascq = 0 ide-floppy: Protocol is not ATAPI ide-floppy: hdc: not supported by this version of ide-floppy ide-floppy: hda: I/O error, pc = 5a, key = 5, asc = 24, ascq = 0 20480+0 records in 20480+0 records out I was able to make a 7.1-beta3-ia64 boot.img without errors by reinstalling our beta2 release.
The error messages you're seeing are coming from the kernel. They're probably indications of broken hardware (such as an ls120 medium with defective sectors). Reassigning to kernel just in case it's a kernel problem.
2 things can be going on: 1) Your hardware is wacked, or support for it is wacked 2) there is a known issue with "dd"'ing to devices. "dd" does a "truncate" on the device in that case, something that happened to work for 2.2 kernels but fails on 2.4 kernels. (truncating files is ok, but there is no sensible meaning for making your floppy disk smaller :) I read it that you are running a 0.99.x series kernel when doing this, which all have this problem.
Thanks for the quick response. FWIW, I verified the errors on 6 different ls-120 floppies and three different systems, so I'm guessing that it's not a hardware problem. Once I reinstalled 7.1-beta2-ia64 (2.4.0-0.43.12) I could create the floppies with no problems. yippy! qa1024.0 and 7.1-beta3-ia64 are running 2.4.0-0.99.10/11. I also tried to use "dd" once I got a working installation of beta3 and I received the same I/O errors.
Could you try to use the "notrunc" commandline option of "dd" ? If it works with that option, it absolutely is the dd bug.
This defect is considered MUST-FIX for Florence Release-Candidate #2
build: fisher Unfortunately, conv=notrunc didn't have any effect on the I/O errors I have been receiving.
We will merge a new ide-floppy driver version, let's see if that fixes it.
While waiting for the new ide-floppy.c from the maintainer, you can try the following patch. It's going to bring up ide-floppy.c from -ac11 to the latest version I got from the maintainer, two weeks ago.
Created attachment 8559 [details] ide-floppy.c update.
Patch is integrated; next kernel build (0.99.18 or later) should have it
I'd like to test the build. Checked rawhide, but it still has 0.99.11.
Installed 0.99.21smp i686 from rawhide. I can mount floppies, dd to/from them just fine. Success.
Ben: Can you still reproduce this bug with the new driver ?
mrsam reports success, benl has not reported additional failures, closing. Reopen if you experience more failures.
I'm finally back on ia64.... I think johnsonm forgot to click the "mark bug as closed" button. don't see the errors in the 0420.1 tree. closing.
Reopening. Fairfax 2.4.5-10 reverted back to 0.9 version of ide-floppy.o benl: you should be able to reproduce your original problem under 2.4.5-10 Please reapply ide-floppy.o 0.97 (2/2/2001) to 2.4.5-10, it shipped with the RH70 kernel. There are other problems with the 0.9 driver also (ex: http://floppyutil.sourceforge.net will not be able to autoprobe LS-120 drives unless there's a floppy inserted).
Updating to beta2 - looks like 2.4.6-2 was also build with version 0.9
Created attachment 26272 [details] 2.4.7-0.3 includes most of the changes in the maintainer's tree ... except for the actual bug.
Closing. Version 0.97 is included w/ current errata kernels.