Re: Call for PIIX4 chipset testers

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

 



Jan Engelhardt wrote:
Linus Torvalds <[email protected]> wrote:
| can you please test out this patch and report what it says in dmesg?


Here is an exotic one, from VMware (uses PIIX too). Says


PCI quirk: region 1000-103f claimed by PIIX4 ACPI
PCI quirk: region 1040-105f claimed by PIIX4 SMB
...later...
PCI: Cannot allocate resource region 4 of device 0000:00:07.1

It is caused by Linux quirk which believes that SMB region needs 32 bytes, while i440BX datasheet says that 16 bytes are needed, and as we've not found any errata which would say that SMB region is 32 bytes on some revisions, system BIOS (and emulation) just allocates 16 bytes here. Thus system BIOS puts SMB at 0x1040-0x104f (you can see it below as motherboard reported resource), and IDE busmastering registers are put at 0x1050-0x105f.

But after Linux kernel quirk is executed, kernel believes that SMB and IDE regions overlap and refuse to use this region on IDE adapter. Fortunately kernel automatically moves IDE busmaster from 0x1050 to 0x1070 once IDE is activated, as you can see in the ioports output below. If you'll boot some non-Linux guest, you'll find that IDE happilly lives at 0x1050...

							Petr Vandrovec

...later...
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later



-more /proc/ioports (I'm using sash for this test ;-))

0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
0cf8-0cff : PCI conf1
1000-103f : 0000:00:07.3
  1000-103f : motherboard
    1000-1003 : PM1a_EVT_BLK
    1004-1005 : PM1a_CNT_BLK
    1008-100b : PM_TMR
    100c-100f : GPE0_BLK
1040-105f : 0000:00:07.3
  1040-104f : motherboard
1060-106f : 0000:00:0f.0
1070-107f : 0000:00:07.1
  1070-1077 : ide0
  1078-107f : ide1
1080-10ff : 0000:00:10.0

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux