LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   turning off DAM (http://www.linuxquestions.org/questions/linux-general-1/turning-off-dam-176527/)

veroth 04-30-2004 10:23 PM

turning off DAM
 
Hello,
I have a ALi M1535D+ Ide controller on a A7A266 mother board. In order to use LAB48 with my ide controller I need to turn off DMA. I fact I think I need to turn off DMA before the kernel looks at my hard-drives. I have also compiled linux-2.6.5 to run on this machine.
So, my question is how and what can I pass to the kernel at boot time to tell it to not use DMA?

following is my dmesg in case it might help.


Linux version 2.6.5 (root@greendragon) (gcc version 3.2.3) #2 SMP Mon Apr 26 15:55:51 CDT 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001ffec000 (usable)
BIOS-e820: 000000001ffec000 - 000000001ffef000 (ACPI data)
BIOS-e820: 000000001ffef000 - 000000001ffff000 (reserved)
BIOS-e820: 000000001ffff000 - 0000000020000000 (ACPI NVS)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131052
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 126956 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 ASUS ) @ 0x000f7010
ACPI: RSDT (v001 ASUS A7A266 0x42302e31 MSFT 0x31313031) @ 0x1ffec000
ACPI: FADT (v001 ASUS A7A266 0x42302e31 MSFT 0x31313031) @ 0x1ffec080
ACPI: BOOT (v001 ASUS A7A266 0x42302e31 MSFT 0x31313031) @ 0x1ffec040
ACPI: DSDT (v001 ASUS A7A266 0x00001000 MSFT 0x0100000b) @ 0x00000000
Built 1 zonelists
Kernel command line: BOOT_IMAGE=Linux ro root=302 hdd=nodma
ide_setup: hdd=nodma -- BAD OPTION
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
PID hash table entries: 2048 (order 11: 16384 bytes)
Detected 1208.782 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Memory: 512504k/524208k available (3815k kernel code, 10956k reserved, 1253k data, 204k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 2383.87 BogoMIPS
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0183fbff c1c7fbff 00000000 00000000
CPU: After vendor identify, caps: 0183fbff c1c7fbff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0183fbff c1c7fbff 00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
CPU0: AMD Athlon(tm) Processor stepping 02
per-CPU timeslice cutoff: 731.62 usecs.
task migration cache decay timeout: 1 msecs.
SMP motherboard not detected.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1208.0599 MHz.
..... host bus clock speed is 268.0577 MHz.
Brought up 1 CPUs
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xf10f0, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: IRQ9 SCI: Edge set to Level Trigger.
spurious 8259A interrupt: IRQ7.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKI] (IRQs 3 4 5 *6 7 9 10 11 12 14 15)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
ACPI: PCI Interrupt Link [LNKI] enabled at IRQ 6
ACPI: No IRQ known for interrupt pin A of device 0000:00:04.0 - using IRQ 255
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
atyfb: 3D RAGE PRO (BGA, AGP) [0x4742 rev 0x7c] 8M SDRAM, 14.31818 MHz XTAL, 230 MHz PLL, 100 Mhz MCLK
fb0: ATY Mach64 frame buffer device on PCI
kobject_register failed for radeonfb (-17)
Call Trace:
[<c02e2cd2>] kobject_register+0x52/0x60
[<c0348d8a>] bus_add_driver+0x4a/0xc0
[<c02ea84c>] pci_register_driver+0x6c/0xa0
[<c061030f>] radeonfb_old_init+0xf/0x20
[<c06101c2>] fbmem_init+0x82/0xb0
[<c060aefe>] chr_dev_init+0x7e/0xa0
[<c05f696b>] do_initcalls+0x2b/0xc0
[<c0134dff>] init_workqueues+0xf/0x26
[<c0103106>] init+0x56/0x150
[<c01030b0>] init+0x0/0x150
[<c01052e5>] kernel_thread_helper+0x5/0x10

Simple Boot Flag at 0x3a set to 0x1
Machine check exception polling timer started.
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
udf: registering filesystem
SGI XFS with large block numbers, no debug enabled
Initializing Cryptographic API
Limiting direct PCI/PCI transfers.
Activating ISA DMA hang workarounds.
ACPI: Power Button (FF) [PWRF]
ACPI: Processor [CPU0] (supports C1)
Console: switching to colour frame buffer device 80x25
lp: driver loaded but no devices found
Linux agpgart interface v0.100 (c) Dave Jones
[drm:drm_init] *ERROR* Cannot initialize the agpgart module.
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport0: PC-style at 0x378 (0x778) [PCSPP(,...)]
parport0: irq 7 detected
lp0: using parport0 (polling).
Using anticipatory io scheduler
floppy0: no floppy controllers found
8139too Fast Ethernet driver 0.9.27
eth0: RealTek RTL8139 at 0xa800, 00:40:f4:78:54:4f, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller at PCI slot 0000:00:04.0
ACPI: No IRQ known for interrupt pin A of device 0000:00:04.0 - using IRQ 255
ALI15X3: chipset revision 196
ALI15X3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xb400-0xb407, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xb408-0xb40f, BIOS settings: hdc:DMA, hdd:DMA
hda: QUANTUM Bigfoot TX4.0AT, ATA DISK drive
hdb: SONY CD-RW CRX300E, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: WDC WD2000JB-00EVA0, ATA DISK drive
hdd: WDC WD2000JB-22FUA0, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 7849170 sectors (4018 MB) w/69KiB Cache, CHS=8306/15/63
hda: hda1 hda2
hdc: max request size: 128KiB
hdc: cannot use LBA48 - full capacity 390721968 sectors (200049 MB)
hdc: 268435456 sectors (137438 MB) w/8192KiB Cache, CHS=16709/255/63
hdc: hdc1
hdd: max request size: 128KiB
hdd: cannot use LBA48 - full capacity 390721968 sectors (200049 MB)
hdd: 268435456 sectors (137438 MB) w/8192KiB Cache, CHS=16709/255/63
hdd: hdd1
hdb: ATAPI 48X DVD-ROM CD-R/RW CD-MRW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
ieee1394: raw1394: /dev/raw1394 device initialized
USB Universal Host Controller Interface driver v2.2
drivers/usb/core/usb.c: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
Advanced Linux Sound Architecture Driver Version 1.0.4rc2 (Tue Mar 30 08:19:30 2004 UTC).
ALSA device list:
#0: Sound Fusion CS46xx at 0xf3000000/0xf2800000, irq 10
oprofile: using NMI interrupt.
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
ip_conntrack version 2.1 (4095 buckets, 32760 max) - 300 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>. http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S1 S4 S5)
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda2) for (hda2)
journal-1153: found in header: first_unflushed_offset 4474, last_flushed_trans_id 70051
journal-1206: Starting replay from offset 4474, trans_id 70052
journal-1299: Setting newest_mount_id to 82
Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 204k freed
Adding 975200k swap on /dev/hda1. Priority:-1 extents:1
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
nfs warning: mount version older than kernel
NFS: NFSv3 not supported.
nfs warning: mount version older than kernel
nfs warning: mount version older than kernel
NFS: NFSv3 not supported.
nfs warning: mount version older than kernel
nfs warning: mount version older than kernel
NFS: NFSv3 not supported.
nfs warning: mount version older than kernel
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.3
lockd: failed to monitor 10.0.0.3

adz 05-01-2004 03:16 AM

Have you tried specifying "dma=off" or "nodma"?

korozion 05-01-2004 03:26 AM

On the same note, you can probably hit 'tab' at the LILO (if that is the bootloader you are running) and from there use the dma=off or nodma that adz suggusted (Just to dumb it down a shade ... no offence)

korozion 05-01-2004 03:26 AM

On the same note, you can probably hit 'tab' at the LILO (if that is the bootloader you are running) and from there use the dma=off or nodma that adz suggusted


All times are GMT -5. The time now is 06:14 AM.