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
  •  


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5 picture

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5

$189.99



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



ASRock B550M Steel Legend AMD Socket AM4 picture

ASRock B550M Steel Legend AMD Socket AM4

$125.00



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠ picture

⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠

$29.90



ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio picture

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio

$34.99



ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI  ATX RGB picture

ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI ATX RGB

$69.99



ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield picture

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield

$84.99



ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series picture

ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series

$235.99