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
  •  


(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray picture

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray

$174.99



HP ZBook Firefly 14

HP ZBook Firefly 14" G8 Mobile Workstation i5 11th Gen 16GB RAM 256 GB SSD No AC

$184.99



SGIN 17.3

SGIN 17.3" Laptop Intel Quad-Core Up to 2.4 GHZ 8GB RAM 256GB SSD HD

$229.99



Lenovo ThinkPad T14S Gen 1 8-Core Ryzen 7 Pro 4750U 512GB SSD 16GB RAM FAIR BATT picture

Lenovo ThinkPad T14S Gen 1 8-Core Ryzen 7 Pro 4750U 512GB SSD 16GB RAM FAIR BATT

$225.00



Intel Xeon E5 - 2667V2  / SR19W   3.30GHz 25MB  8-Core CPU Socket LGA2011 picture

Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011

$30.00



AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 CPU Processor Brand New Unused picture

AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 CPU Processor Brand New Unused

$395.95



AMD FX 8350 8-CORE 4.00GHz CPU FD8350FRW8KHK SOCKET AM3+ *QTY picture

AMD FX 8350 8-CORE 4.00GHz CPU FD8350FRW8KHK SOCKET AM3+ *QTY

$39.99



AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor picture

AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor

$245.99



Dell T7810 Workstation 8-Core 2.40GHz E5-2630 v3 No RAM GPU HDD OS picture

Dell T7810 Workstation 8-Core 2.40GHz E5-2630 v3 No RAM GPU HDD OS

$259.98



Home Assistant Server | 8GB RAM | 128GB SSD | Intel i5 Quad-Core | Dell OptiPlex picture

Home Assistant Server | 8GB RAM | 128GB SSD | Intel i5 Quad-Core | Dell OptiPlex

$159.99