linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PCI with SiS: Cannot allocate resource.
@ 2003-11-08 23:38 Alexander ZVYAGIN
  2003-11-09  0:46 ` Davide Libenzi
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander ZVYAGIN @ 2003-11-08 23:38 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2046 bytes --]

Hello,

I tried 2.6.0-test9 kernel on my 3-years old laptop and it seems I have 
exactly the same problems which I had 3 years ago....
There are mainly three of them
- graphics framebuffer mode does not work
- strange messages from the IRQ router
- sound does not work

The problem with my graphic card is a driver, I think. I overcame it once with 
the help of patches from Thomas Winischhofer
(http://www.winischhofer.net/linuxsisvga.shtml) and I hope I can do this 
again. So we can forget about it. But the two others are more intresting. May 
be they are important for the kernel...

PCI: IRQ 0 for device 0000:00:01.3 doesn't match PIRQ mask - try 
pci=usepirqmask
PCI: Cannot allocate resource region 0 of device 0000:00:01.4
....
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 0000:00:00.1
SIS5513: chipset revision 208
SIS5513: not 100% native mode: will probe irqs later
SIS5513: SiS630 ATA 66 controller

I did not try to provide these "idebus=xx" and "pci=usepirqmask" yet... I have 
no idea what should I do... May be the kernel is right by complaining?
If I am supposed to have a reduced performance of my HD with 33MHz bus, then I 
am not sure: Linux definitely works much faster with I/O then Windows on my 
laptop.

If I try to load the sound module, I get the following (from 'dmesg'):
unable to register timer device (-16)
PCI: Found IRQ 5 for device 0000:00:01.4
PCI: Sharing IRQ 5 with 0000:00:01.6
PCI: Sharing IRQ 5 with 0000:00:0c.1
AC'97 0:0 does not respond - RESET
AC'97 0:0 does not respond - RESET
AC'97 0:0 does not respond - RESET
Trident4DWaveAudio: probe of 0000:00:01.4 failed with error -5

And this is exactly for the device 0000:00:01.4 the kernel was not able to 
allocate something...

More information in the attached files. I survived without sound (under Linux) 
on my laptop for 3 years, but now I need it! :)

Any help is deeeeeply appreciated!
Thanks a lot in advance!

PS. Please CC me, I am not a kernel hacker...

Alexander Zvyagin.

[-- Attachment #2: config.gz --]
[-- Type: application/x-gzip, Size: 5146 bytes --]

[-- Attachment #3: lspci.gz --]
[-- Type: application/x-gzip, Size: 1055 bytes --]

[-- Attachment #4: dmesg.gz --]
[-- Type: application/x-gzip, Size: 3473 bytes --]

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

* Re: PCI with SiS: Cannot allocate resource.
  2003-11-08 23:38 PCI with SiS: Cannot allocate resource Alexander ZVYAGIN
@ 2003-11-09  0:46 ` Davide Libenzi
  2003-11-09 15:09   ` Alexander ZVYAGIN
  0 siblings, 1 reply; 7+ messages in thread
From: Davide Libenzi @ 2003-11-09  0:46 UTC (permalink / raw)
  To: Alexander ZVYAGIN; +Cc: Linux Kernel Mailing List

On Sun, 9 Nov 2003, Alexander ZVYAGIN wrote:

> I tried 2.6.0-test9 kernel on my 3-years old laptop and it seems I have 
> exactly the same problems which I had 3 years ago....
> There are mainly three of them
> - graphics framebuffer mode does not work
> - strange messages from the IRQ router
> - sound does not work
> 
> The problem with my graphic card is a driver, I think. I overcame it once with 
> the help of patches from Thomas Winischhofer
> (http://www.winischhofer.net/linuxsisvga.shtml) and I hope I can do this 
> again. So we can forget about it. But the two others are more intresting. May 
> be they are important for the kernel...
> 
> PCI: IRQ 0 for device 0000:00:01.3 doesn't match PIRQ mask - try 
> pci=usepirqmask
> PCI: Cannot allocate resource region 0 of device 0000:00:01.4
> ....
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> SIS5513: IDE controller at PCI slot 0000:00:00.1
> SIS5513: chipset revision 208
> SIS5513: not 100% native mode: will probe irqs later
> SIS5513: SiS630 ATA 66 controller
> 
> I did not try to provide these "idebus=xx" and "pci=usepirqmask" yet... I have 
> no idea what should I do... May be the kernel is right by complaining?
> If I am supposed to have a reduced performance of my HD with 33MHz bus, then I 
> am not sure: Linux definitely works much faster with I/O then Windows on my 
> laptop.

Can you try to apply this over test9:

http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.0-test9-bk13.bz2

Also the output of "lspci -vv -xxx" (from root) would help. Don't worry 
about the "pci=usepirqmask" thing. The default value in the IRQ routing 
table is 0x80 (disabled) and this will make the warning message to show 
up, since the irq_router->get() return 0 on 0x80.



- Davide







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

* Re: PCI with SiS: Cannot allocate resource.
  2003-11-09  0:46 ` Davide Libenzi
@ 2003-11-09 15:09   ` Alexander ZVYAGIN
  2003-11-09 15:45     ` Davide Libenzi
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander ZVYAGIN @ 2003-11-09 15:09 UTC (permalink / raw)
  To: Davide Libenzi; +Cc: Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

Hello Davide,

and thanks for the answer.

> Can you try to apply this over test9:
>
> http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.0-test9-bk1
>3.bz2

I see the same messages...

Alexander.

[-- Attachment #2: config.gz --]
[-- Type: application/x-gzip, Size: 5146 bytes --]

[-- Attachment #3: dmesg.gz --]
[-- Type: application/x-gzip, Size: 3395 bytes --]

[-- Attachment #4: lspci.gz --]
[-- Type: application/x-gzip, Size: 2639 bytes --]

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

* Re: PCI with SiS: Cannot allocate resource.
  2003-11-09 15:09   ` Alexander ZVYAGIN
@ 2003-11-09 15:45     ` Davide Libenzi
  2003-11-10 17:47       ` Alexander ZVYAGIN
  0 siblings, 1 reply; 7+ messages in thread
From: Davide Libenzi @ 2003-11-09 15:45 UTC (permalink / raw)
  To: Alexander ZVYAGIN; +Cc: Linux Kernel Mailing List

On Sun, 9 Nov 2003, Alexander ZVYAGIN wrote:

> Hello Davide,
> 
> and thanks for the answer.
> 
> > Can you try to apply this over test9:
> >
> > http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.0-test9-bk1
> >3.bz2
> 
> I see the same messages...

$ cat /proc/interrupts

Also you can try to disable:

CONFIG_X86_UP_APIC
CONFIG_X86_UP_IOAPIC
CONFIG_X86_LOCAL_APIC
CONFIG_X86_IO_APIC



- Davide



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

* Re: PCI with SiS: Cannot allocate resource.
  2003-11-09 15:45     ` Davide Libenzi
@ 2003-11-10 17:47       ` Alexander ZVYAGIN
  2003-11-11  3:48         ` Davide Libenzi
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander ZVYAGIN @ 2003-11-10 17:47 UTC (permalink / raw)
  To: Davide Libenzi; +Cc: Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 509 bytes --]

Hello Davide,

On Sunday 09 November 2003 16:45, Davide Libenzi wrote:
> On Sun, 9 Nov 2003, Alexander ZVYAGIN wrote:
> > > Can you try to apply this over test9:
> > >
> > > http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.0-test9
> > >-bk1 3.bz2
> >
> > I see the same messages...
>
> $ cat /proc/interrupts
>
> Also you can try to disable:
>
> CONFIG_X86_UP_APIC
> CONFIG_X86_UP_IOAPIC
> CONFIG_X86_LOCAL_APIC
> CONFIG_X86_IO_APIC

Still the same.... See the attachments.

Thanks,
Alexander.

[-- Attachment #2: config.gz --]
[-- Type: application/x-gzip, Size: 4964 bytes --]

[-- Attachment #3: dmesg.gz --]
[-- Type: application/x-gzip, Size: 3026 bytes --]

[-- Attachment #4: interrupts --]
[-- Type: text/plain, Size: 375 bytes --]

           CPU0       
  0:     182523          XT-PIC  timer
  1:          8          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  8:          2          XT-PIC  rtc
 11:        555          XT-PIC  ohci1394, eth0
 12:         54          XT-PIC  i8042
 14:       1370          XT-PIC  ide0
 15:          9          XT-PIC  ide1
NMI:          0 
ERR:          0

[-- Attachment #5: iomem --]
[-- Type: text/plain, Size: 959 bytes --]

00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000cc000-000ccfff : Extension ROM
000cd000-000cdfff : Extension ROM
000f0000-000fffff : System ROM
00100000-0dfeffff : System RAM
  00100000-0032fbf0 : Kernel code
  0032fbf1-003dceff : Kernel data
0dff0000-0dffffbf : ACPI Tables
0dffffc0-0dffffff : ACPI Non-volatile Storage
10000000-10000fff : 0000:00:0c.0
10001000-10001fff : 0000:00:0c.1
30000000-37ffffff : 0000:00:00.0
38000000-38000fff : 0000:00:01.1
  38000000-38000fff : sis900
38001000-38001fff : 0000:00:01.2
38002000-38002fff : 0000:00:01.3
38003000-38003fff : 0000:00:01.4
40000000-4f0fffff : PCI Bus #01
  40000000-47ffffff : 0000:01:00.0
    40000000-41ffffff : sisfb FB
50000000-560fffff : PCI Bus #01
  50000000-5001ffff : 0000:01:00.0
    50000000-5001ffff : sisfb MMIO
e9100000-e9103fff : 0000:00:0d.0
e910f000-e910f7ff : 0000:00:0d.0
  e910f000-e910f7ff : ohci1394
fffc0000-ffffffff : reserved

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

* Re: PCI with SiS: Cannot allocate resource.
  2003-11-10 17:47       ` Alexander ZVYAGIN
@ 2003-11-11  3:48         ` Davide Libenzi
  2003-11-11  9:48           ` Alexander ZVYAGIN
  0 siblings, 1 reply; 7+ messages in thread
From: Davide Libenzi @ 2003-11-11  3:48 UTC (permalink / raw)
  To: Alexander ZVYAGIN; +Cc: Linux Kernel Mailing List

On Mon, 10 Nov 2003, Alexander ZVYAGIN wrote:

> Hello Davide,
> 
> On Sunday 09 November 2003 16:45, Davide Libenzi wrote:
> > On Sun, 9 Nov 2003, Alexander ZVYAGIN wrote:
> > > > Can you try to apply this over test9:
> > > >
> > > > http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.0-test9
> > > >-bk1 3.bz2
> > >
> > > I see the same messages...
> >
> > $ cat /proc/interrupts
> >
> > Also you can try to disable:
> >
> > CONFIG_X86_UP_APIC
> > CONFIG_X86_UP_IOAPIC
> > CONFIG_X86_LOCAL_APIC
> > CONFIG_X86_IO_APIC
> 
> Still the same.... See the attachments.

Running really out of options here. The dmesg shows that you're sharing 
the IRQ5 but it does not even show up in your int list. Your card seems to 
be sharing IRQ 5 with:

PCI: Sharing IRQ 5 with 0000:00:01.6
PCI: Sharing IRQ 5 with 0000:00:0c.1

IIRC one is the modem, and I do not remember the other one. If your BIOS 
has the option to shut those device off, you can try that. Also you can 
try (if you can) to change the interrupt pin.



- Davide




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

* Re: PCI with SiS: Cannot allocate resource.
  2003-11-11  3:48         ` Davide Libenzi
@ 2003-11-11  9:48           ` Alexander ZVYAGIN
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander ZVYAGIN @ 2003-11-11  9:48 UTC (permalink / raw)
  To: Davide Libenzi; +Cc: Linux Kernel Mailing List

Hello again,

On Tuesday 11 November 2003 04:48, Davide Libenzi wrote:
>
> Running really out of options here. The dmesg shows that you're sharing
> the IRQ5 but it does not even show up in your int list. Your card seems to
> be sharing IRQ 5 with:
>
> PCI: Sharing IRQ 5 with 0000:00:01.6
> PCI: Sharing IRQ 5 with 0000:00:0c.1
>
> IIRC one is the modem, and I do not remember the other one. If your BIOS
> has the option to shut those device off, you can try that. Also you can
> try (if you can) to change the interrupt pin.

Two 'no'. I can not disable it in BIOS. And I will not touch the hardware!

Is it really nothing can be done? I can apply debug patches, if somebody will 
provide them...

Thanks for your time anyway!
A bit disappointed Alexander.


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

end of thread, other threads:[~2003-11-11  9:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-08 23:38 PCI with SiS: Cannot allocate resource Alexander ZVYAGIN
2003-11-09  0:46 ` Davide Libenzi
2003-11-09 15:09   ` Alexander ZVYAGIN
2003-11-09 15:45     ` Davide Libenzi
2003-11-10 17:47       ` Alexander ZVYAGIN
2003-11-11  3:48         ` Davide Libenzi
2003-11-11  9:48           ` Alexander ZVYAGIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).