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
  •  


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1299.99



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$179.99



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99



Unused IBM 09P0037 MAINBOARD For  RS/6000 7044-170 P-Series picture

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series

$375.00



IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU picture

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU

$999.99



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$110.30



IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1) picture

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)

$150.00



IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS picture

IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS

$80.00



DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR picture

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR

$1100.00



Lot of 3 IBM 00JY196 ServeRAID M1210 PCI Express SAS SATA Storage Controller picture

Lot of 3 IBM 00JY196 ServeRAID M1210 PCI Express SAS SATA Storage Controller

$68.99