disable dma with bootlap.fs kernel?

disable dma with bootlap.fs kernel?

Post by jim » Sun, 03 Aug 2003 20:03:16



Hello all,
I have a new-ish drive with dma/ultradma support, but the controller on
this 5 year old laptop
only works well with pio mode 4. Can I disable dma at bootup, just to
get through the install? I tried
changing settings with userconf, but the kernel keeps doing the same
thing.  I
know how to build a kernel with flags not to use dma, once I have a
working system, but I'm in
a chicken/egg situation here. Thanks,
Jim
 
 
 

1. IDE DMA disabled with via82cxxx on kernels >= 2.5.35

I have two machines with VIA chipsets.  Recent 2.5
kernels boot with "DMA disabled".  

On Athlon, hdparm -tT /dev/hda is about 8 times higher
on 2.4 than 2.5 kernels.  hdparm -i says dma is (on) though.

I tried CONFIG_BLK_DEV_IDEDMA_FORCED=y, but that didn't
eliminated the "DMA disabled" message.  Other IDE settings are:

CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y
CONFIG_BLK_DEV_IDE_MODES=y

boot message:
VP_IDE: IDE controller at PCI slot 00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100%% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1
    ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:pio
hda: IC35L040AVER07-0, ATA DISK drive
hda: IRQ probe failed (0xffffffba)
hda: DMA disabled
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586B PIPC Bus Master IDE (rev 06)
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)

I also have a K6/2 with a VIA chipset.  2.5.34 and earlier were fine.
2.5.34-mm4 and subsequent 2.5.x kernels boot with "DMA disabled".

lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT82C598 [Apollo MVP3] (rev 04)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C586/A/B PCI-to-ISA [Apollo VP] (rev 47)
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)

The K6/2 boots with:

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c586b (rev 47) IDE UDMA33 controller on pci00:07.1
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA
hda: Maxtor 51536U3, ATA DISK drive
hdb: ATAPI CDROM, ATAPI CD/DVD-ROM drive
hda: DMA disabled
hdb: DMA disabled
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

--
Randy Hron
http://home.earthlink.net/~rwhron/kernel/bigbox.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Yet *Another* Photshop feature the GIMP doesn't have!

3. Focusing windows

4. Startup: "DMA disabled" on VIA vt82c686b IDE UDMA100, Kernel 2.5.38

5. :DIP: tty :set_disc(1) : invalid argument

6. Kyocera FS 1600 or FS 1600+ Printer drivers ( FS-1600 FS-1600+)

7. Linux and Micron Transports

8. PROBLEM: Kernel 2.5.19 oops when copying files from SMBFS fs to VFAT fs

9. fs fs=iso9660 not supported by kernel ->LM 7.2

10. dma disabled, ide reset timed out

11. Disabling DMA for IDE channel?

12. ambiguous DMA disabled msg