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
  •  


VTG Atari 400 Home Computer System ** Sold

VTG Atari 400 Home Computer System ** Sold "AS-IS" for Parts or Repair

$88.75



Atari 130 XE/Atari 1050 Bundle W/ Cords And Extras (Powered On) picture

Atari 130 XE/Atari 1050 Bundle W/ Cords And Extras (Powered On)

$300.00



DEFECTIVE Atari 810 Vintage Computer Disk Drive  powers on Unit Only Boo G3D picture

DEFECTIVE Atari 810 Vintage Computer Disk Drive powers on Unit Only Boo G3D

$49.29



Atari 800 8-bit Computer System Fully Tested Great Condition 48k READ picture

Atari 800 8-bit Computer System Fully Tested Great Condition 48k READ

$350.00



Atari XE  130XE Computer NTSC with Power Supply Powers On Untested picture

Atari XE 130XE Computer NTSC with Power Supply Powers On Untested

$159.95



Fujinet 1.7.1 Atari 400 800 800XL 130XE 65XE XEGS Assembled, Tested, Working picture

Fujinet 1.7.1 Atari 400 800 800XL 130XE 65XE XEGS Assembled, Tested, Working

$99.99



ATARI Mouse with Adapter for ST, STE, Mega STE, TT Optical  - USA Seller picture

ATARI Mouse with Adapter for ST, STE, Mega STE, TT Optical - USA Seller

$29.99



INFO/soft Character Generator Manual for Atari 3000/5000/7000 NTSC picture

INFO/soft Character Generator Manual for Atari 3000/5000/7000 NTSC

$40.00



UNOCART-2600 SD card Multi Rom Cartridge for ATARI 2600 with CASE picture

UNOCART-2600 SD card Multi Rom Cartridge for ATARI 2600 with CASE

$34.25



Vintage Atari SF354 Floppy Disk Drive & Power Supply FOR PARTS OR REPAIR AS IS picture

Vintage Atari SF354 Floppy Disk Drive & Power Supply FOR PARTS OR REPAIR AS IS

$120.00