Results 1 to 4 of 4

Thread: Problems with HDB after Knoppix install - DMA problem ?

  1. #1

    Problems with HDB after Knoppix install - DMA problem ?

    Hi !

    I have 2 HDDs.
    When I use Suse Linux, I get this problem too...

    When I installed Knoppix on my machine, it is alway say "creating /etc/fstab" on boot.
    The problem is that the second hdd is very old. The Windows is slowed to 60-90% CPU perf. when I copy to this hdd.

    The Suse Linux is slowed down only on boot, it is waiting for 5 mins...
    The Knoppix in /fstab creation is slowing down too, and the dmesg is show this:

    hdb: dma_timer_expiry: dma status == 0x61
    hdb: error waiting for DMA
    hdb: dma timeout retry: status=0x58 { DriveReady SeekComplete DataRequest }

    hdb: dma_timer_expiry: dma status == 0x61
    hdb: error waiting for DMA
    hdb: dma timeout retry: status=0x58 { DriveReady SeekComplete DataRequest }

    hdb: dma_timer_expiry: dma status == 0x61
    hdb: error waiting for DMA
    hdb: dma timeout retry: status=0x58 { DriveReady SeekComplete DataRequest }

    hdb: dma_timer_expiry: dma status == 0x61
    hdb: error waiting for DMA
    hdb: dma timeout retry: status=0x58 { DriveReady SeekComplete DataRequest }

    1.)
    Is an DMA problem ?
    How to I set the DMA off for the second hdd (hdb) ?

    2.)
    How to I prevent this hdd auto detection, and fstab auto write in knoppix ?

    Thanx for helps !
    ft

  2. #2
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    It's dma problem.
    1) I don't know if this will work. You could try create a script something like this:

    #!/bin/sh
    /sbin/hdparm -d0 /dev/hdb

    Save this file in /etc/rcS.d and name it something like S20hdb.sh. Then reboot.
    If this doesn't work, you have to disable dma on all ide by ...append nodma in your lilo.

    2) I don't know how to prevent hdd from autodetection. But for prevent knoppix from autowrite your fstab...append nofstab in lilo.

    ex:
    image=/boot/vmlinuz-2.6.5
    label="Linux(2.6)-2"
    initrd=/boot/initrd.img-2.6.5
    append="ramdisk_size=100000 lang=us apm=power-off nomce nofstab nodma "
    read-only[/b]

  3. #3
    What doing the option "nodma" ?

    1.
    disable dma on boot for accessed disks

    or

    2.
    disable dma for all disk, so Linux is don't use that when it is started

    ?

    I think that 1. is the better, but I want to know it.

    Thanx:
    ft

  4. #4
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    The purpose of DMA is to accelerate your harddisk access. But on some old harddisk, DMa is not supported, by enabling it will cause that harddisk fail to read and write properly.

    By disabling DMA, doesn't meant you can't access your harddisk. Knoppix will acces it, but slower.

    What I try to do in
    1) is to disable DMA on that particular harddisk. Meaning, only unsupported harddisk will run slow (DMA disable), and the other harddisk can take advantage over DMA.

    2) By appending nodma in your lilo, all harddisk will not be able to use DMA. Meaning, all harddisk including supported DMA also will run slower.
    See the example how to add nodma in your lilo, and don't forget to run command: lilo in root konsole after you edited your lilo and saved it.

Similar Threads

  1. Knoppix 3.9 HDD install problems
    By kwano in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 08-30-2005, 10:12 PM
  2. Knoppix 3.8.1 Install Problems
    By tilleyrw in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 04-21-2005, 04:58 PM
  3. Knoppix 3.7, install errors, kde problems...
    By gK Angel in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 03-24-2005, 08:13 AM
  4. Problems booting Knoppix after hdd install
    By mpeters13 in forum General Support
    Replies: 2
    Last Post: 11-05-2003, 05:43 PM
  5. knoppix hd install... partition problems...
    By abo in forum General Support
    Replies: 1
    Last Post: 07-10-2003, 07:46 AM

Posting Permissions

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


Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS picture

Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS

$189.98



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Intel Xeon E5-2697 V2 LGA2011 Server CPU Processor 2.7GHz 12 Core SR19H 130W picture

Intel Xeon E5-2697 V2 LGA2011 Server CPU Processor 2.7GHz 12 Core SR19H 130W

$35.00



Dell Precision 7820 Win 11 Gaming Computer Xeon Silver 4112 16GB GTX 1080 picture

Dell Precision 7820 Win 11 Gaming Computer Xeon Silver 4112 16GB GTX 1080

$320.00



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Intel Xeon E5-2690v2 SR1A5 10-Core 3.00GHz 25MB 130W LGA2011 CPU *km picture

Intel Xeon E5-2690v2 SR1A5 10-Core 3.00GHz 25MB 130W LGA2011 CPU *km

$11.99



Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor picture

Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor

$199.99



Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W picture

Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W

$29.00



Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS

$144.98



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98