Results 1 to 7 of 7

Thread: Knoppix (Debian??) Dma question.

  1. #1
    Junior Member
    Join Date
    Mar 2004
    Posts
    5

    Knoppix (Debian??) Dma question.

    This is not exactly the old "My DMA is turned off - how do I turn it on" question, but one about who is in charge.

    The /etc/hdparm.conf is an obvious place to control DMA and corresponds to other distros. But there is also a /etc/init.d/bootmisc.sh that also has a DMA switch at the bottom for each drive.

    Questions. Why two sets of switches? Who overrides who? Which one should be used and which one commented out? Googling so far has not explained the reason for having both.

    Thanks

    CptKrf

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: Knoppix (Debian??) Dma question.

    Quote Originally Posted by CptKrf
    This is not exactly the old "My DMA is turned off - how do I turn it on" question, but one about who is in charge.

    The /etc/hdparm.conf is an obvious place to control DMA and corresponds to other distros. But there is also a /etc/init.d/bootmisc.sh that also has a DMA switch at the bottom for each drive.

    Questions. Why two sets of switches? Who overrides who? Which one should be used and which one commented out? Googling so far has not explained the reason for having both.

    Thanks

    CptKrf
    You want the hdparm.conf that is the official Debian way of doing it the bootmisc.sh is a hack to do it in Knoppix.

  3. #3
    Junior Member
    Join Date
    Apr 2004
    Posts
    2
    Didn't work for me, I edited the hdparm.conf to read

    /dev/hda {
    mult_sect_io = 16
    write_cache = off
    dma = on
    io32_support = 3
    }

    rebooted and checked the dma status and it is still off, I know how to use hdparm to turn it on after knoppix is loaded but would like it to boot this way.

    I also don't see anything in bootmisc.sh to turn dma on?

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by DaDuke
    Didn't work for me, I edited the hdparm.conf to read

    /dev/hda {
    mult_sect_io = 16
    write_cache = off
    dma = on
    io32_support = 3
    }

    rebooted and checked the dma status and it is still off, I know how to use hdparm to turn it on after knoppix is loaded but would like it to boot this way.

    I also don't see anything in bootmisc.sh to turn dma on?
    Looks like the startup links may not be set. You can use update-rc.d hdparm defaults as root to have the links recreated or apt-get --reinstall install hdparm to reinstall and have the links recreated.

  5. #5
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    I had the same problem during start (kernel 2.6.5, knoppix 3.4).

    I found some hint on some suse-pages, where they claimed you have to rebuild your kernel.

    So I made:
    Code:
    make menuconfig
    device-driver->
    	ATA/ ATAPI/ MFM/ RLE
    		Enhanced IDE ....
    			PCI IDE Chipset supp.
    				Generic PCI busmaster DMA ...
    					Use PCI DMA by default
    make 
    make modules_install
    etc. pp.

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    297

    Re: Knoppix (Debian??) Dma question.

    Quote Originally Posted by Stephen
    Quote Originally Posted by CptKrf
    This is not exactly the old "My DMA is turned off - how do I turn it on" question, but one about who is in charge.

    The /etc/hdparm.conf is an obvious place to control DMA and corresponds to other distros. But there is also a /etc/init.d/bootmisc.sh that also has a DMA switch at the bottom for each drive.

    Questions. Why two sets of switches? Who overrides who? Which one should be used and which one commented out? Googling so far has not explained the reason for having both.

    Thanks

    CptKrf
    You want the hdparm.conf that is the official Debian way of doing it the bootmisc.sh is a hack to do it in Knoppix.
    Argh,

    why didn't tell you us to do that that way, earlier ?

    We did it just that way, because we (or the original writer of the installer) did not know how to do it "the right way".

    cu

    Fabian

    PS: Please add to the new page: Bugs/Installer I'll have there to sections with Solved and unsolved bugs as the installer is not just used with knoppix 3.4.

  7. #7
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    I just joined knoppix.net and was looking for help myself (oracle9i - installation, pencam/gphoto and sysfs, acpi/apm on sony fx601, mounting memory-stick, ... )

    Better late than not at all...

Similar Threads

  1. Debian Networking Question
    By Harry Kuhman in forum The Lounge
    Replies: 1
    Last Post: 12-11-2004, 06:53 PM
  2. Debian boot menu question
    By riechert in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 07-18-2004, 08:00 PM
  3. knoppix -> debian-like -> debian
    By macherb in forum Hdd Install / Debian / Apt
    Replies: 18
    Last Post: 07-18-2004, 07:41 PM
  4. Dumb question about tar.gz files and Debian
    By oldgeezer in forum General Support
    Replies: 19
    Last Post: 05-20-2004, 06:59 AM
  5. HOWTO fix debian or knoppix/debian for Russian fonts
    By datakid in forum General Support
    Replies: 0
    Last Post: 11-07-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
  •  


HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS picture

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS

$199.00



Supermicro 505-2   Server picture

Supermicro 505-2 Server

$280.00



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99



Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On picture

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On

$450.00



Supermicro CSE-815-5 4B LFF Xeon E3-1220v5 16GB DDR4 1x 9361-8i 4x 1TB SATA HDD picture

Supermicro CSE-815-5 4B LFF Xeon E3-1220v5 16GB DDR4 1x 9361-8i 4x 1TB SATA HDD

$477.00



Supermicro CSE-815-5 4B LFF Xeon E3-1245v6 16GB DDR4 1x 9361-8i 4x 1TB SATA HDD picture

Supermicro CSE-815-5 4B LFF Xeon E3-1245v6 16GB DDR4 1x 9361-8i 4x 1TB SATA HDD

$483.99



Supermicro CSE-815-5 4B LFF E3-1245v6 16GB DDR4 9361-8i 3x 4TB SAS 1x 1TB SATA picture

Supermicro CSE-815-5 4B LFF E3-1245v6 16GB DDR4 9361-8i 3x 4TB SAS 1x 1TB SATA

$609.99



Supermicro CSE-815-5 4B LFF Xeon E3-1240v5 16GB DDR4 1x 9361-8i 4x 1TB SATA HDD picture

Supermicro CSE-815-5 4B LFF Xeon E3-1240v5 16GB DDR4 1x 9361-8i 4x 1TB SATA HDD

$484.00



Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC picture

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC

$250.00



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99