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

Re: DMA issue in 2.6.12 ???



Lennart Sorensen (lsorense@csclub.uwaterloo.ca) wrote:
> On Wed, Aug 17, 2005 at 05:33:50PM -0500, Ardo van Rangelrooij wrote:
> > 2.6.11:
> > 
> > BIOS-provided physical RAM map:
> > ACPI: IRQ0 used by override.
> > ACPI: IRQ2 used by override.
> > ACPI: IRQ9 used by override.
> > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> >     ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:DMA
> >     ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:DMA
> > Probing IDE interface ide0...
> > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> > Probing IDE interface ide1...
> > ide1 at 0x170-0x177,0x376 on irq 15
> > Probing IDE interface ide2...
> > Probing IDE interface ide3...
> > Probing IDE interface ide4...
> > Probing IDE interface ide5...
> >  /dev/ide/host0/bus0/target1/lun0: p1
> >  /dev/ide/host0/bus1/target0/lun0: p1
> >  /dev/ide/host0/bus1/target1/lun0: p1
> > 
> > 2.6.12:
> > 
> > BIOS-provided physical RAM map:
> > ACPI: IRQ0 used by override.
> > ACPI: IRQ2 used by override.
> > ACPI: IRQ9 used by override.
> > Boot video device is 0000:01:00.0
> > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> > Probing IDE interface ide0...
> > 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
> > ide1 at 0x170-0x177,0x376 on irq 15
> >  /dev/ide/host0/bus0/target1/lun0: p1
> >  /dev/ide/host1/bus0/target0/lun0: p1
> >  /dev/ide/host1/bus0/target1/lun0: p1
> > VP_IDE: port 0x01f0 already claimed by ide0
> > VP_IDE: port 0x0170 already claimed by ide1
> 
> That is certainly the generic driver loading instead on 2.6.12.
> 
> > and dmesg | grep VP_IDE gives:
> > 
> > 2.6.11:
> > 
> > VP_IDE: IDE controller at PCI slot 0000:00:0f.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
> > 
> > 2.6.12:
> > 
> > VP_IDE: IDE controller at PCI slot 0000:00:0f.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
> > VP_IDE: port 0x0170 already claimed by ide1
> > VP_IDE: neither IDE port enabled (BIOS)
> > 
> > And when doing lsmod, 2.6.11 has via82cxxx immediately after ide-core and way
> > before ide-generic, while 2.6.12 has ide-generic followed by via82cxxx.
> 
> Yeah initrd has the load order wrong on 2.6.12 then.

Is there a bug report I should file somewhere?

> > Using /etc/modules doesn't work, since discover and company already have done
> > the damage.
> 
> /etc/modules runs before discover as far as I know.  initrd may already

Yes, you're right.  It's initrd doing the damage.

> have done it.  adding the via82cxxx driver (check name to be sure) to
> /etc/mkinitrd/modules and then rebuilding the /boot/initrd image for
> your kernel should help.  Anything you list explicitly is loaded first
> by initrd.

And that indeed did the trick.  All is well now. :-)  Thanks!

Thanks,
Ardo
-- 
Ardo van Rangelrooij                                     Debian XML/SGML Group
<ardo@debian.org>              <debian-xml-sgml-devel@lists.alioth.debian.org>
http://people.debian.org/~ardo/      http://debian-xml-sgml.alioth.debian.org/



Reply to: