From: Henry N. <hen...@ar...> - 2009-03-28 23:07:48
|
Am 04.03.2009 16:49, schrieb Bill C. Riemers: > On Tue, Mar 3, 2009 at 7:37 PM, Henry Nestler<hen...@ar...> wrote: > Cool. These look like exactly the features needed. However, the > SCSI driver is giving lots of errors. The command > > $ ./colinux-daemon.exe kernel=vmlinux initrd=initrd.cpio.gz mem=256 > eth0=slirp,,tcp:5902:5900 scsi1=cdrom,$(cygpath -wa > //cisco1.local/share/Download/images/Fedora-10-i386-DVD.iso) > scsi0=disk,test.img,4000000000 > > correctly finds CDROM, but validation tests always fail. I've made > it as far as 27% before erroring out. Using my hacked version of > anaconda, I find the cobd devices work as expected: > > $ ./colinux-daemon.exe kernel=vmlinux initrd=initrd.cpio.gz mem=256 > eth0=slirp,,tcp:5902:5900 cobd1=$(cygpath -wa > //cisco1.local/share/Download/images/Fedora-10-i386-DVD.iso) > scsi0=disk,test.img,4000000000 > > I can even get as far as partitioning in text mode, but I see lots of > errors, and there are no recognized disks. Errors like "ERROR; ddf1. > seeking device /dev/sda to 18446744073709551104". > > I thought maybe this was an integer overflow problem, but reducing the > size of scsi0 does not seem to help. Is fixed in SVN revision r1239. Please use todays snapshot. It was an unsupported GFP_DMA inside function get_sectorsize. So the sr driver falls back to "capacity = 0x1fffff". I have checked the Fedora 10 DVD image inside coLinux and all is ok now. :-) debian:~# dd if=/dev/sr0 | sha1sum 086fd570518ac58d3966c43c1b6d146e38919d8d - 7153464+0 records in 7153464+0 records out 3662573568 bytes (3.7 GB) copied, 604.809 seconds, 6.1 MB/s The DVD was configured in colinux config file as: scsi1=cdrom,\Device\Cdrom0 -- Henry N. |