[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DMA-Probleme in testing



Also sprach Stephan Maseizik <st.mase@web.de> (Sat, 15 Oct 2005
12:03:20 +0200):
> Richard Mittendorfer <delist@gmx.net> schrieb:
> > Also der gleiche Kernel wie unter sarge - Ich tippe mal auf fehlenden
> > IDE Treiber.
> >
> > Da fehlt IMHO der richtige Treiber fuer dein IDE Chipset - daher ist's
> > dem hdparm nicht moeglich DMA einzuschalten. Das duerfte im Zusammenhang
> > mit deinen (wahrscheinlich neben den optischen Laufwerken werkelnden)
> > SATA Drives stehen. 
> 
> Richtig, ich habe SATA-Festplatten.
> 
> > Ob dein IDE Treiber richtig eingebunden wurde,
> > kannst du dem /var/log/dmesg entnehmen.
> 
> Zum meinem Chipset: Das mainboard ist ein MSI MS-7021 KT6V mit VIA
> VT8237 South Bridge, welche laut Handbuch "Ultra DMA 66/100/133 master
> mode PCI EIDE controller" unterstützt.
[sarge]
> VP_IDE: chipset revision 6
> VP_IDE: not 100% native mode: will probe irqs later
> VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
>     ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:DMA
>     ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
> hda: PLEXTOR CD-R PREMIUM, ATAPI CD/DVD-ROM drive
> hdb: HL-DT-STDVD-ROM GDR8163B, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

Hier wird dein VIA-IDE schoen erkannt und geladen. DMA ist an..

[nun testing]
> 
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

Das ist IIRC der generische Treiber fuer IDE und nicht der fuer den VIA
Chipsatz.

> ide: Assuming 33MHz system bus speed for PIO modes; override with
> idebus=xx
> Probing IDE interface ide0...
> hda: PLEXTOR CD-R PREMIUM, ATAPI CD/DVD-ROM drive
> hdb: HL-DT-STDVD-ROM GDR8163B, ATAPI CD/DVD-ROM drive
> Probing IDE interface ide1...
> Probing IDE interface ide2...
> Probing IDE interface ide3...
> Probing IDE interface ide4...
> Probing IDE interface ide5...
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hda: ATAPI 40X CD-ROM CD-R/RW drive, 8192kB Cache
> Uniform CD-ROM driver Revision: 3.20
> hdb: ATAPI 52X DVD-ROM drive, 256kB Cache
> 
> VP_IDE: IDE controller at PCI slot 0000:00:0f.1
> ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 177
> PCI: Via IRQ fixup for 0000:00:0f.1, from 255 to 1
> VP_IDE: chipset revision 6
> VP_IDE: not 100% native mode: will probe irqs later
> VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
> VP_IDE: port 0x01f0 already claimed by ide0
>     ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
> Probing IDE interface ide1...
> --------------

Er wird spaet initialisiert und uebernimmt nur mehr fuer IDE1
Verantwortung, da IDE0 schon besetzt ist.

> > [...]
> > Sind unter stable andere/mehr Module unter "# lsmod" ersichtlich?
> 
> Habe auch hier alles mit PCI  und IDE herausgeschrieben:
> --------------
> root@stable# lsmod 
> 
> pciehp                 97388  0
> pci_hotplug            34352  2 shpchp,pciehp
> 
> ide_cd                 42528  0
> cdrom                  40284  1 ide_cd
> ide_disk               19264  0
> ide_generic             1472  0
> 
> via82cxxx 13980 1 
> ide_core 138724 28
> ide_cd,ide_disk,ide_generic,pdc202xx_new,aec62xx,alim15x3,amd74xx,atiixp
> ,cmd64x,cs5520,cs5530,cy82c693,generic,hpt34x,ns87415,opti621,
> pdc202xx_old,piix,rz1000,sc1200,serverworks,siimage,sis5513,slc90e66,
> triflex,trm290,usb_storage,via82cxxx
> --------------
> 
> und in testing
> --------------
> root@testing# lsmod 
> 
> pci_hotplug            28340  1 shpchp
> 
> ide_generic             1216  0 [permanent]

Schade. Waere ide_generic als Modul in der initrd, koenntest du's mal
umbennen um zu verhindern, dass es geladen wird. AFAIK gibt's aber die
Moeglichkeit dem IDE0 den Treiber mit einem Kernel Parameter
mitzugeben. Mal sehen..

/usr/src/linux-2.6.13/Documentation/ide.txt
--------------8<------------------
The following are valid ONLY on ide0, which usually corresponds
to the first ATA interface found on the particular host, and the
defaults for the base,ctl ports must not be altered.

 "ide0=dtc2278"         : probe/support DTC2278 interface
 "ide0=ht6560b"         : probe/support HT6560B interface
 "ide0=cmd640_vlb"      : *REQUIRED* for VLB cards with the CMD640 chip
                          (not for PCI -- automatically detected)
 "ide0=qd65xx"          : probe/support qd65xx interface
 "ide0=ali14xx"         : probe/support ali14xx chipsets (ALI
M1439/M1443/M1445) "ide0=umc8672"         : probe/support umc8672
chipsets

 "ide=doubler"          : probe/support IDE doublers on Amiga

There may be more options than shown -- use the source, Luke!
---------------8<-------------------

Versuchs also mit einer lilo/grab Commandline ala "linux ide0=via82cxxx"

sl ritch



Reply to: