Skip to contentSkip to conversation

PCI with SiS: Cannot allocate resource.

DISCUSSION Alexander ZVYAGIN 2 participants 7 messages Nov 8, 2003 – Nov 11, 2003

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 23 lines · Alexander ZVYAGIN

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

Quoted 5 lines

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

#4 lore raw

Hello Davide,

Quoted 8 lines · Davide Libenzi
Quoted 6 lines · Alexander ZVYAGIN
Quoted 4 lines

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...

Quoted 8 lines
$ 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.

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

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

#5 lore raw
Quoted 13 lines · Alexander ZVYAGIN

Hello Davide,

Quoted 10 lines · Davide Libenzi
Quoted 6 lines · Alexander ZVYAGIN
Quoted 4 lines

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
Quoted 8 lines
Quoted 6 lines

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

#6 lore raw

Hello again,

Quoted 11 lines · Davide Libenzi

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.