Results 1 to 5 of 5

Thread: rollover to nodma when DMA fails

  1. #1
    Junior Member
    Join Date
    Nov 2004
    Location
    Twin Cities MN
    Posts
    1

    rollover to nodma when DMA fails

    Since I've seen many posts across the forums complaining about Knoppix failing to boot from CD where the answer has been to append "nodma" to the boot command line, please alter miniroot to rollover to nodma behavior (at least for the CD drive) if mounting the cd image via DMA fails. Obviously the CD drive works... the syslinux boot prompt loaded and Knoppix began loading.

    BTW, I'm also experiencing the nodma issue. Our old computers, Gateway 2000 Pentium 166 and IBM 300GL, work just fine with DMA enabled, but our new computers, IBM NetVista A60, do not work with DMA enabled.

    We're trying to make a one-size-fits-all NX-Kiosk CD so our end users can just stick it in and go. As is, we'll have to have 2 versions, one with DMA for the older slower computers and one without DMA for the new computers. We're probably not going to do it because it'll be too confusing for our computer unsavvy users.

    Please get the DMA to rollover when it fails to load the CD image.

    Thank you.

  2. #2
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    I would think that for a live CD that is intended to work for the largest number of users, the default should always be the one that does the least harm. In this case nodma would be a nice default, with DMA a cheat code that users could try if they wanted to boost their system after they got their first taste.

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Here I go with another Kanotix recommendation. It already has the so-called 'cheatcodes' in an easy to select manner including a line w/ nodma. You just have to see it to understand what I mean so please check this link.
    http://osdir.com/shots/slideshows/sl...se=154&slide=1

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    297
    This is quite a nice idea. However there is a problem:

    Sometimes knoppix does boot, but you get many read errors with dma on.

    Why don't you just set dma off and are done?

    You can set it up on the old machines later one from your NX-startup scripts.

    Like that:

    Code:
            # Enable DMA for all IDE drives now if requested (if not already done by linuxrc).
            # This is already done by linuxrc now.
            # However, for a harddisk-installed version, we are doing it again here.
            # Please use hda=dma or similar in the lilo.conf append= line.
            for d in $(cd /proc/ide 2>/dev/null && echo hd[a-z])
            do
                    if test -d /proc/ide/$d; then
                    if egrep -q 'using_dma[ \t]+0' /proc/ide/$d/settings 2>/dev/null
                    then
                            MODEL="$(cat /proc/ide/$d/model 2>/dev/null)"
                            test -z "$MODEL" && MODEL="[GENERIC IDE DEVICE]"
                            echo "${BLUE}Enabling DMA acceleration for: ${MAGENTA}$d        ${YELLOW}[${MODEL}]${NORMAL}"
                            echo "using_dma:1" >/proc/ide/$d/settings
                    fi
                    fi
            done
    cu

    Fabian

  5. #5
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949
    Possible adding a message apon too many error or not being able to mount the image telling that user to try nodma

Similar Threads

  1. tohd fails
    By tmj0nes99 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 03-30-2005, 07:16 PM
  2. make "knoppix nodma" permanent on hard disk instal
    By lothario in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 08-16-2004, 11:00 AM
  3. HDD install 3.4 fails
    By g-joey in forum Hdd Install / Debian / Apt
    Replies: 11
    Last Post: 07-03-2004, 05:38 PM
  4. ataraid fails
    By dtlin in forum Hardware & Booting
    Replies: 0
    Last Post: 12-12-2003, 12:26 PM
  5. SU fails after install
    By cr8dle2grave in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 08-20-2003, 06:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


8GB Hynix HMT31GR7BFR4C-H9 Memory RAM, 2Rx4 PC3-10600R picture

8GB Hynix HMT31GR7BFR4C-H9 Memory RAM, 2Rx4 PC3-10600R

$3.03



Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM picture

Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM

$20.99



64GB (4X16GB) DDR3 1866 DIMM Apple Mac Pro Late 2013 A1481 MacPro 6,1 Memory Ram picture

64GB (4X16GB) DDR3 1866 DIMM Apple Mac Pro Late 2013 A1481 MacPro 6,1 Memory Ram

$37.95



32GB (2 x16GB) DDR3 Memory for  DELL Precision Workstation T3600 T5600 T7600 picture

32GB (2 x16GB) DDR3 Memory for DELL Precision Workstation T3600 T5600 T7600

$22.59



16GB DDR4 2133P ECC RDIMM Memory for Dell PowerEdge R730 R730XD R630 picture

16GB DDR4 2133P ECC RDIMM Memory for Dell PowerEdge R730 R730XD R630

$19.78



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



96GB (6 x16GB) Memory For Dell PowerEdge R520 R5500 R610 R620 R710 R715 picture

96GB (6 x16GB) Memory For Dell PowerEdge R520 R5500 R610 R620 R710 R715

$54.81



Intel Optane Memory M10 SSD M.2 2280 16GB MEMPEK1J016GA PCIe 3.0 3D Xpoint NVMe picture

Intel Optane Memory M10 SSD M.2 2280 16GB MEMPEK1J016GA PCIe 3.0 3D Xpoint NVMe

$5.99



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$353.99



USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT picture

USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT

$249.37