Hi Soeren, We encounter here a deadlock with a quite new ATA 120GB disk. The disk worked good for about 3 weeks, but now we have a strange problem. There seems to be one defective file on the disk. fsck doesn't find it, and if I do a cat file > /dev/null The machine locks completly. Serial console is dead, no remote DDB via ALTBREAK possible anymore, no panic message, just freezed. The evil began after we installed this ATA disk. It only happens for one file on this disk, the other 10000 files are fine. Do you have a idea why break into the debugger doesn't work anymore ? Even if we have a hard-error on the disk, this should still work, shouln't it ? Martin Martin Blapp, <mb@imp.ch> <mbr@FreeBSD.org> ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 PGP: <finger -l mbr@freebsd.org> PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------
I had the same problem with bad ATA disks on -stable in the last six months, but I haven't tracked it down. Matt Martin Blapp wrote:> Hi Soeren, > > We encounter here a deadlock with a quite new ATA 120GB disk. > The disk worked good for about 3 weeks, but now we have a strange > problem. > > There seems to be one defective file on the disk. fsck doesn't find > it, and if I do a > > cat file > /dev/null > > The machine locks completly. Serial console is dead, no remote DDB > via ALTBREAK possible anymore, no panic message, just freezed. > > The evil began after we installed this ATA disk. It only happens for > one file on this disk, the other 10000 files are fine. > > Do you have a idea why break into the debugger doesn't work anymore ? > Even if we have a hard-error on the disk, this should still work, > shouln't it ? > > Martin > > Martin Blapp, <mb@imp.ch> <mbr@FreeBSD.org> > ------------------------------------------------------------------ > ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH > Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 > PGP: <finger -l mbr@freebsd.org> > PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E > ------------------------------------------------------------------ > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >
It seems Martin Blapp wrote:> We encounter here a deadlock with a quite new ATA 120GB disk. > The disk worked good for about 3 weeks, but now we have a strange > problem. > > There seems to be one defective file on the disk. fsck doesn't find > it, and if I do a > > cat file > /dev/null > > The machine locks completly. Serial console is dead, no remote DDB > via ALTBREAK possible anymore, no panic message, just freezed. > > The evil began after we installed this ATA disk. It only happens for > one file on this disk, the other 10000 files are fine. > > Do you have a idea why break into the debugger doesn't work anymore ? > Even if we have a hard-error on the disk, this should still work, > shouln't it ?One thing that could explain this is that the disk stops working in the midst of a busmaster DMA transfer, that will effectively lockup the system in most cases. I'm suspecting bad HW here, as it makes no sense you can access the rest of the disk without problems.. If you can spare the data, I'd do a dd if=/dev/zero of=/dev/adN bs=1m and try to get the disk to remap all bad sectors... -S?ren