ael wrote: > Alain Knaff wrote: >> Mark Hounschell wrote: >> [...] >>> All kernels below 2.6.28 work on these boxes. All kernels 2.6.28 and >>> higher do NOT. >> >> 2.6.28 was when support for sector "bases" other than 0 or 1 were >> introduced. So, rather than have sectors numbered from 1 to 18, you can >> now have sectors numbered from 129 to 146 (as is used by some of the >> more exotic CP/M formats). This info is stored in some previously unused >> bits of the "stretch" parameter. >> >> Could it be that on some distributions, "something" is setting this to >> some spurious value (which got ignored before 2.6.28, but from 2.6.28 >> got misinterpreted as a non-zero sector base). >> >> Could you try to: >> >> fdformat /dev/fd0u1440 >> >> in case you don't have /dev/fd0u1440, you can create it using the >> following command line: >> >> mknod /dev/fd0u1440 b 2 28 >> >> then do a getfdprm -o /dev/fd0u1440 (or getfdprm /dev/fd0) >> >> You should get: >> >> 2880 18 2 80 0 0x1b 0x00 0xcf 0x6c >> >> The fifth byte (0 here) is the stretch byte. If it contains anything >> other than 0, this might explain it. >> >> Another test would be to perform: >> >> fdrawcmd readid 0 repeat=18 > > Here are my results to complement Mark's. Unfortunately fdrawcmd would > not run here, perhaps because I have different a different floppy > controller. Or maybe I have a different version and am not giving it the > right parameters. > > # dpkg -s fdutils > Package: fdutils > Status: install ok installed > Priority: optional > Section: utils > Installed-Size: 924 > Maintainer: Anibal Monsalve Salazar <ani...@debian.org> > Architecture: i386 > Version: 5.5-20060227-3 > > ------------------------------------------------------------------------ > # mknod /dev/fd0u1440 b 2 28 > # fdformat /dev/fd0u1440 > Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB. > Formatting ... done > Verifying ... Read: : Input/output error > Problem reading cylinder 0, expected 18432, read -1 > > # getfdprm -o /dev/fd0u1440 > 2880 18 2 80 0 0x1b 0x00 0xcf 0x6c > > # fdrawcmd drive=/dev/fd0u1440 readid 0 repeat=18 > raw cmd: Invalid argument > > # fdrawcmd drive=0 rate=0 readid 0 > raw cmd: Invalid argument >
Maybe "fdrawcmd readid 0 repeat=18 /dev/fd0" Mark -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org