-
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.
-
Administrator
Site Admin-
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.
-
Senior Member
registered user
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
-
Senior Member
registered user
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
-
Senior Member
registered user
Possible adding a message apon too many error or not being able to mount the image telling that user to try nodma
Similar Threads
-
By tmj0nes99 in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 03-30-2005, 07:16 PM
-
By lothario in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 08-16-2004, 11:00 AM
-
By g-joey in forum Hdd Install / Debian / Apt
Replies: 11
Last Post: 07-03-2004, 05:38 PM
-
By dtlin in forum Hardware & Booting
Replies: 0
Last Post: 12-12-2003, 12:26 PM
-
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
-
Forum Rules

Acer Aspire 14" AI Copilot+PC Laptop Core Ultra 5 226V Gen 4 ARC 16GB 1TB Refurb
$475.21

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$372.48

External SSD 1TB 2TB Portable Hard Drive USB 3.1 Type-C High Speed PC Mac
$16.99

SGIN 15.6" Laptop 16GB RAM 1TB SSD Win 11 Intel i3-10100Y Backlit Keyboard FHD
$335.99

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb
$1794.16

Apple iPad Pro 12.9" 5th Gen 128GB 256GB 1TB 2TB Wi-Fi Or Cellular - Good
$489.99

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$129.99

Toshiba DT01ACA100 1 TB 3.5" SATA III 3.5 in Desktop Hard Drive
$24.99

NEW 2026 SGIN 18.5" Laptop Windows 11 PRO Intel N5095 16GB DDR4 1024GB SSD
$444.99

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro
$465.98