HDD questions

Roman Kurakin rik at cronyx.ru
Sun Mar 7 14:11:13 PST 2004


Hi,

    I have some problems with my HDD (ST380021A). The problem was 
checked on 5.2, 5.2.1, and some
5.Current (cvsuped about week or two).

    At first I got this problem while system installation. I get trap 
and message from ata after I start a commit:
FAILURE READ_DMA status=51 <READY, DSC, ERROR> error=10 <NID_NOT_FOUND> 
LBA=245529601

    I started to hack sysinstall and finally came to simple program that 
could lead
to the same message from ata:

fd = open ("/dev/ata0", O_RDWR);
read_block (fd, (daddr_t)41929650, 512); // this one could be changed to 
pair calls lseek and read,
                                                                        
       // so this is not libdisk problem

I checked the same code with /dev/ata1 which is twice as little, but I 
didn't
get any messages.

I don't have any ideas where my read call goes, which drivers to look to 
catch this bug.

So I need a help from some gurus in this area.


Best regards,
                            Roman Kurakin







More information about the freebsd-hackers mailing list