Does anyone has good suggestions for the following problem? Configuration
Basic FreeBSD 5.1-RELEASE, not upgraded or patched except as mentioned below. Full verbose dmesg and kernel config below. CPU: VIA C3 Samuel 2 (532.64-MHz 686-class CPU) mfsroot atapci0: <VIA 82C686B UDMA100 controller> port 0xc000-0xc00f at device 7.1 on pci0 ad2: success setting PIO0 on VIA 82C686B chip ad2: <CFA/4.0> ATA-0 disk at ata1-master Verbatim 64MB CF card. Writing to the CF card freezes the whole system, only way out is to power cycle the machine. I have experimented a little bit and it seems that the freezing happens after writing about 8MB of data. If the data is written in smaller chunks, problem doesn't occur. I alse patched ata-disk.c and added arbitrary delays in different places. It seems that DELAY(600) (value 60 in twait variable) in relevant places mostly prevents the problem. I think the delay is not the real solution but it only hides the real problem and cures the symptom, not the disease itself. It may be that slowing down the data transfer makes the problem go away. sysctl.conf, kernel config, dmesg (verbose) and the patched ata-disk.c are here: <URL:http://www.louko.com/alo/FreeBSD-CF-problem/> Regards, Antti Louko _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"