From: Petr Vandrovec <vandrove@vc.cvut.cz>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: Linus Torvalds <torvalds@osdl.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Call for PIIX4 chipset testers
Date: Sun, 30 Oct 2005 21:37:48 +0100 [thread overview]
Message-ID: <43652F1C.7010500@vc.cvut.cz> (raw)
In-Reply-To: <Pine.LNX.4.61.0510281056230.24372@yvahk01.tjqt.qr>
Jan Engelhardt wrote:
>>Linus Torvalds <torvalds@osdl.org> 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
next prev parent reply other threads:[~2005-10-30 20:37 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-25 17:51 Call for PIIX4 chipset testers Linus Torvalds
2005-10-25 18:20 ` Burton Windle
2005-10-25 18:35 ` Linus Torvalds
2005-10-25 18:26 ` Paulo Marques
2005-10-25 18:44 ` Andre Noll
2005-10-25 19:52 ` Mark Lord
2005-10-25 20:07 ` Linus Torvalds
2005-10-25 20:17 ` Mark Lord
2005-10-25 20:22 ` Darren Salt
2005-10-25 20:45 ` Linus Torvalds
2005-10-25 21:13 ` Ivan Kokshaysky
2005-10-25 21:43 ` Linus Torvalds
2005-10-26 10:12 ` Bjørn Mork
2005-10-26 19:35 ` Darren Salt
2005-10-25 21:00 ` Tim Schmielau
2005-10-25 21:18 ` Jean Delvare
2005-10-25 21:33 ` Sanjoy Mahajan
2005-10-25 21:42 ` Grant Coady
2005-10-25 21:59 ` Linus Torvalds
2005-10-25 22:53 ` Felix Oxley
2005-10-25 23:59 ` John Benes
2005-10-26 1:31 ` Jason R. Martin
2005-10-26 5:13 ` Guennadi Liakhovetski
2005-10-26 6:36 ` Ian McDonald
2005-10-26 6:43 ` Bernd Eckenfels
2005-10-26 19:10 ` Dick Streefland
2005-10-28 9:55 ` Jan Engelhardt
2005-10-30 20:37 ` Petr Vandrovec [this message]
2005-10-30 22:27 ` Linus Torvalds
2005-10-26 19:16 ` Jeffrey Hundstad
2005-10-26 19:41 ` Dick Streefland
2005-10-28 14:32 ` Call for PIIX4 chipset testers [Intel R440LX mb] Krzysztof Halasa
2005-10-28 23:44 ` Call for PIIX4 chipset testers Krzysztof Halasa
2005-10-30 20:26 ` Alberto Bertogli
2005-10-30 23:08 ` Rogério Brito
2005-11-02 21:57 ` anders
2005-11-03 0:37 ` Willem Riede
-- strict thread matches above, loose matches on Subject: below --
2005-10-25 22:01 Martijn Uffing
2005-10-26 23:45 Graham Hay
[not found] <51BIL-4nT-1@gated-at.bofh.it>
2005-10-27 1:14 ` Geoff King
2005-10-27 7:04 ` Hans-Juergen Lange
2005-10-29 19:27 Shawn Starr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43652F1C.7010500@vc.cvut.cz \
--to=vandrove@vc.cvut.cz \
--cc=jengelh@linux01.gwdg.de \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox