public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: promise controller resource alloc problems with ~2.6.8
@ 2004-10-10  5:28 Li, Shaohua
  2004-10-10 17:00 ` Linus Torvalds
  0 siblings, 1 reply; 19+ messages in thread
From: Li, Shaohua @ 2004-10-10  5:28 UTC (permalink / raw)
  To: CaT, Linus Torvalds
  Cc: Kernel Mailing List, Greg KH, Bartlomiej Zolnierkiewicz

>On Thu, Sep 30, 2004 at 04:56:21PM -0700, Linus Torvalds wrote:
>> Now, the reason for using "insert_resource()" in arch/i386/pci/i386.c
>> should go away with Shaohua Li's patch, so I'd love to hear if
applying
>> Li's patch _and_ making the "insert_resource()" be a
"request_resource()"
>> fixes the problem for you.
>
>You meant this, right?
>
>if (!pr || insert_resource(pr, r) < 0)
>	printk(KERN_ERR "PCI: Cannot allocate resource region %d of
bridge
 
^^^^^^^^^
>%s\n", idx, pci_name(dev));
I go through the thread again and I guess you changed the wrong place. 
in line 114:
				if (!pr || request_resource(pr, r) < 0)
					printk(KERN_ERR "PCI: Cannot
allocate resource region %d of bridge %s\n", idx, pci_name(dev));

In line 145:
		if (!pr || insert_resource(pr, r) < 0) {
					printk(KERN_ERR "PCI: Cannot
allocate resource region %d of device %s\n", idx, pci_name(dev));
Please don't touch line 114, and change 'insert_resource' to '
request_resource' in line 145. Sorry for my bad mail client.

Thanks,
Shaohua

^ permalink raw reply	[flat|nested] 19+ messages in thread
* promise controller resource alloc problems with ~2.6.8
@ 2004-09-27  8:45 CaT
  2004-09-30 23:03 ` CaT
  2004-09-30 23:21 ` Linus Torvalds
  0 siblings, 2 replies; 19+ messages in thread
From: CaT @ 2004-09-27  8:45 UTC (permalink / raw)
  To: linux-kernel; +Cc: greg, B.Zolnierkiewicz

I have a Promise PDC20267 card in my desktop and whilst it works
in 2.6.8-rc2, it no longer functions beginning with at least 2.6.9-rc2.
Latest kernel I ran is 2.6.9-rc2-bk8 and it was still not available.

dmesg does mention it though as:

PDC20267: IDE controller at PCI slot 0000:00:0d.0
PCI: Found IRQ 11 for device 0000:00:0d.0
PCI: Unable to reserve I/O region #5:40@1080 for device 0000:00:0d.0

And that's as far as it gets.

-- 
    Red herrings strewn hither and yon.

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2004-10-12 16:05 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-10  5:28 promise controller resource alloc problems with ~2.6.8 Li, Shaohua
2004-10-10 17:00 ` Linus Torvalds
2004-10-12 12:52   ` CaT
2004-10-12 16:03     ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2004-09-27  8:45 CaT
2004-09-30 23:03 ` CaT
2004-09-30 23:21 ` Linus Torvalds
2004-09-30 23:30   ` CaT
2004-09-30 23:56     ` Linus Torvalds
2004-10-01  0:14       ` Greg KH
2004-10-01  1:23       ` CaT
2004-10-01 10:30       ` CaT
2004-10-01 14:34         ` Linus Torvalds
2004-10-02  4:57           ` CaT
2004-10-02 19:17             ` Linus Torvalds
2004-10-10  2:19               ` CaT
2004-10-10  3:15                 ` Linus Torvalds
2004-10-10  3:30                   ` Linus Torvalds
2004-10-10  4:51                   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox