Find the answer to your Linux question:
Results 1 to 3 of 3
Hello I have two hard drives on my systems, they are plugged into ide3 and ide4 ports. The first one is used to store my files and the second one ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Location
    Poland
    Posts
    17

    Problems with hard disc


    Hello
    I have two hard drives on my systems, they are plugged into ide3 and ide4 ports. The first one is used to store my files and the second one is a swap.
    Yesterday my system stopped working and in the /var/log/messages I received the following errors:
    Mar 19 20:16:25 myhost kernel: hdh: dma_timer_expiry: dma status == 0x41
    Mar 19 20:16:35 myhost kernel: hdh: error waiting for DMA
    Mar 19 20:16:35 myhost kernel: hdh: dma timeout retry: status=0xd0 { Busy }
    Mar 19 20:16:35 myhost kernel:
    Mar 19 20:16:35 myhost kernel: hdh: DMA disabled
    Mar 19 20:16:35 myhost kernel: PDC202XX: Secondary channel reset.
    Mar 19 20:16:35 myhost kernel: PDC202XX: Primary channel reset.
    Mar 19 20:16:35 myhost kernel: ide3: reset: master: error (0x00?)
    Mar 19 20:16:55 myhost kernel: hdh: dma_timer_expiry: dma status == 0x41
    Mar 19 20:17:05 myhost kernel: hdh: error waiting for DMA
    Mar 19 20:17:05 myhost kernel: hdh: dma timeout retry: status=0xd0 { Busy }
    Mar 19 20:17:05 myhost kernel:
    Mar 19 20:17:05 myhost kernel: hdh: DMA disabled
    Mar 19 20:17:05 myhost kernel: PDC202XX: Secondary channel reset.
    Mar 19 20:17:05 myhost kernel: PDC202XX: Primary channel reset.
    Mar 19 20:17:05 myhost kernel: ide3: reset: master: error (0x00?)
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 496976
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 1115592
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 1119920
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 1120560
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 1120592
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 1120600
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 1120632
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 1120640
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 1120648
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 1120656
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 1147256
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 1147264
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 1147272
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 1195008
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 1200864
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 1201440
    Mar 19 20:17:05 myhost kernel: end_request: I/O error, dev 22:43 (hdh), sector 1202504
    ....(and so on and so forth)

    Could you please tell me what is the problem ? I will be grateful for any help.

    Thanks in advance
    cheers
    Foxrafi

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,809
    Looks like your hard disk is on the way out. hdh is the fourth ide bus, so that'll be the swap drive. Maybe you should turn off that disk and see if the errors go away. If so, it's time to replace the disk.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    Aug 2006
    Location
    Poland
    Posts
    17

    Hard disk - problems with swap partition

    Quote Originally Posted by Roxoff
    Looks like your hard disk is on the way out. hdh is the fourth ide bus, so that'll be the swap drive. Maybe you should turn off that disk and see if the errors go away. If so, it's time to replace the disk.
    Yes, when I turn off this hard disk (hdh) and use my swap on the hde disk, it works fine, but on hde I've only 1GB of swap space and it's too small for me (my programs need much more).

    Maybe I do something wrong when I create my swap partition.
    Here is my configuration:
    [root@myhost root]# fdisk -l /dev/hdh

    Disk /dev/hdh: 200.0 GB, 200049647616 bytes
    255 heads, 63 sectors/track, 24321 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdh1 1 494 3968023+ 83 Linux
    /dev/hdh3 495 24321 191390377+ 82 Linux swap

    I know it seems silly to use so much disc space for swap, but my system has large requirements concerning a swap space.

    To create this partition I use the following commands:
    mkswap /dev/hdh
    swapon -a

    Is everything ok ? Maybe I made an error or I should use some other /additional commands.

    I will be really grateful if you tell me what tools can I use to check my disk integrity, mark destroyed sectors. Now I'm goint to check smartmon tools, but I'm open for other suggestions .

    cheers,
    foxrafi

    PS. Thank you Roxoff for your reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •