The mainboard is K7SEM and irq_tables.c is already in the source tree. I run the program getpir and get an irq_tables.c file which is the same as the one in the source tree. The program util/getpir reports 6 slot found, whether I plug in the multimedia card or not, and produce exact the same irq_tables.c.
And the option HAVE_PIRQ_TABLE=1 is set in the config file of the source tree.
I traced into the kernel source and found that the original BIOS set IRQ when POST, but linuxbios does not do so. The IRQ is 0 when start up with linuxbios. When the driver of the multimedia card comes up, it find the card has not an IRQ. Then the driver try to get one from the irq_table, but the PCI device is not in the irq_table, so it can not find one or assign one to the device.
What else can I do? Can I hard code one irq to the card?
Thanks!
David Xiong
----------------------------------------------------------------------------------------
Date: Sun, 29 Sep 2002 12:23:19 -0600 (MDT) From: Ronald G Minnich rminnich@lanl.gov To: "Steve M. Gehlbach" steve@nexpath.com cc: linuxbios@clustermatic.org Subject: RE: No IRQ Known for interrupt pin A of device 02:04.0. Please try using pci=biosirq
On Sun, 29 Sep 2002, Steve M. Gehlbach wrote:
You need to make and run the program util/getpir (using the original BIOS, running Linux) to make the file irq_tables.c, then copy that file into the mainboard directory, and set the option HAVE_PIRQ_TABLE=1. Linuxbios when it starts will copy this file into the shadowed RAM at 0xF0000, where Linux can find it during startup. This allows Linux to route the irqs.
exactly. If this is a new board I need all the info so I can put it in the source tree.
ron
On Tue, 2002-10-01 at 11:35, David Xiong wrote:
The mainboard is K7SEM and irq_tables.c is already in the source tree. I run the program getpir and get an irq_tables.c file which is the same as the one in the source tree. The program util/getpir reports 6 slot found, whether I plug in the multimedia card or not, and produce exact the same irq_tables.c.
And the option HAVE_PIRQ_TABLE=1 is set in the config file of the source tree.
I traced into the kernel source and found that the original BIOS set IRQ when POST, but linuxbios does not do so. The IRQ is 0 when start up with linuxbios. When the driver of the multimedia card comes up, it find the card has not an IRQ. Then the driver try to get one from the irq_table, but the PCI device is not in the irq_table, so it can not find one or assign one to the device.
What else can I do? Can I hard code one irq to the card?
The kernel pci-irq code refuse to setup IRQ for VGA devices. You have to set it up yourself. BTW, your card still need some init code in your VGA BIOS.
Ollie
The card has problem is not a VGA card. It's a 2-channle-video-capture-card. There is no problem with 1-channel-video-capture-card.
David Xiong
-----原始邮件----- 发件人: ollie lho [mailto:ollie@sis.com.tw] 发送时间: 2002年10月1日 11:59 收件人: David Xiong 抄送: Ronald G Minnich; steve@nexpath.com; linuxbios@clustermatic.org 主题: RE: No IRQ Known for interrupt pin A of device 02:04.0. Please tryusing pci=biosirq
On Tue, 2002-10-01 at 11:35, David Xiong wrote:
The mainboard is K7SEM and irq_tables.c is already in the source tree. I run the program getpir and get an irq_tables.c file which is the same as the one in the source tree. The program util/getpir reports 6 slot found, whether I plug in the multimedia card or not, and produce exact the same irq_tables.c.
And the option HAVE_PIRQ_TABLE=1 is set in the config file of the source tree.
I traced into the kernel source and found that the original BIOS set IRQ when POST, but linuxbios does not do so. The IRQ is 0 when start up with linuxbios. When the driver of the multimedia card comes up, it find the card has not an IRQ. Then the driver try to get one from the irq_table, but the PCI device is not in the irq_table, so it can not find one or assign one to the device.
What else can I do? Can I hard code one irq to the card?
The kernel pci-irq code refuse to setup IRQ for VGA devices. You have to set it up yourself. BTW, your card still need some init code in your VGA BIOS.
Ollie
just making sure, what version of linux are you running?
ron
RedHat 7.2 , the kernel is 2.4.7-10 distributed by RedHat.
David Xiong
-----????----- ???: Ronald G Minnich [mailto:rminnich@lanl.gov] ????: 2002?10?1? 12:37 ???: David Xiong ??: steve@nexpath.com; linuxbios@clustermatic.org ??: RE: No IRQ Known for interrupt pin A of device 02:04.0. Please try using pci=biosirq
just making sure, what version of linux are you running?
ron
On Tue, 1 Oct 2002, David Xiong wrote:
RedHat 7.2 , the kernel is 2.4.7-10 distributed by RedHat.
wow. That's an old one.
I realize this may not fix the problem, but I would still recommend you move to 2.4.18 or 2.4.19. Much better.
ron
Ok,I will try the new kernel.
David Xiong
-----????----- ???: Ronald G Minnich [mailto:rminnich@lanl.gov] ????: 2002?10?1? 13:25 ???: David Xiong ??: steve@nexpath.com; linuxbios@clustermatic.org ??: Re: ??,?: No IRQ Known for interrupt pin A of device 02:04.0. Please try using pci=biosirq
On Tue, 1 Oct 2002, David Xiong wrote:
RedHat 7.2 , the kernel is 2.4.7-10 distributed by RedHat.
wow. That's an old one.
I realize this may not fix the problem, but I would still recommend you move to 2.4.18 or 2.4.19. Much better.
ron