Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256489 - sys-kernel/hardened-sources-2.6.27-28 - VIA controller IRQ routing error, irq 16: nobody cared (try booting with the "irqpoll" option)
Summary: sys-kernel/hardened-sources-2.6.27-28 - VIA controller IRQ routing error, irq...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: The Gentoo Linux Hardened Kernel Team (OBSOLETE)
URL: http://bugzilla.kernel.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-27 07:15 UTC by Steve Arnold
Modified: 2011-01-21 11:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
no-SMP with libata (pata_via_error.txt,24.12 KB, text/plain)
2009-01-27 07:19 UTC, Steve Arnold
Details
SMP kernel with VIA IDE driver (via_ide_error.txt,22.59 KB, text/plain)
2009-01-27 07:20 UTC, Steve Arnold
Details
lspci -vvvv output (lspci_verbose.txt,9.35 KB, text/plain)
2009-01-27 07:23 UTC, Steve Arnold
Details
config-2.6.28-hardened using libata pata driver (config-2.6.28-hardened,68.92 KB, text/plain)
2009-02-28 07:04 UTC, Steve Arnold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Arnold archtester gentoo-dev 2009-01-27 07:15:47 UTC
Basically, the attached dmesg shows the kernel via_pata driver trying to assign assign an IRQ to the external controller, followed by the "nobody cares", then the IRQ is disabled.  The card shows in lspci, but viaideinfo shows the controllers as disabled and no devices arte accessible.

The above and this:

https://bugzilla.redhat.com/show_bug.cgi?id=444543

are the two most similar bugs I can find; the result is that nothing is accessible on the generic VIA external controller (the VT6410).  The same thing happens with the older IDE, and the newer libata drivers, but if I shutoff APIC or ACPI, then several other devices go wonky (eg, the on-board NIC).  I also tried with both smp (my normal default) and uni-processor kernel configs with no real change.

# lspci 
00:00.0 Host bridge: VIA Technologies, Inc. VT8378 [KM400/A] Chipset Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:08.0 RAID bus controller: VIA Technologies, Inc. VT6410 ATA133 RAID controller (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: VIA Technologies, Inc. VT8378 [S3 UniChrome] Integrated Video (rev 01)
Comment 1 Steve Arnold archtester gentoo-dev 2009-01-27 07:19:41 UTC
Created attachment 179857 [details]
no-SMP with libata
Comment 2 Steve Arnold archtester gentoo-dev 2009-01-27 07:20:30 UTC
Created attachment 179858 [details]
SMP kernel with VIA IDE driver
Comment 3 Steve Arnold archtester gentoo-dev 2009-01-27 07:23:19 UTC
Created attachment 179860 [details]
lspci -vvvv output
Comment 4 Gordon Malm (RETIRED) gentoo-dev 2009-02-05 09:36:36 UTC
Can you reproduce the problem with sys-kernel/gentoo-sources-2.6.28-r1?
Comment 5 George Kadianakis (RETIRED) gentoo-dev 2009-02-05 10:58:16 UTC
Booting with 'irqpoll' and 'irqfixup' as your boot parameters and attaching your dmesg would be interesting.
Also, could we have the output of:
'cat /proc/interrupts'
and your kernel config?
Comment 6 Steve Arnold archtester gentoo-dev 2009-02-28 04:53:47 UTC
Sorry, I got turned into a witch, but I got better...

None of the relevant kernel options resulted in a working controller (including irqpoll), and some even made it worse, ie, even lspci couldn't see it.  Changing PCI slots made no difference either...

Some of the above seemed to cause some interesting changes in the output of other things besides lspci, eg, dmesg and various /proc files.  /proc/interrupts changed quite a bit, but I can't really interpret whether any one of them is better than another.

Although this is a hardened server, I'll go ahead and try the gentoo-sources kernel and provide some examples of the current config; you'll need to tell me what you want to see after that.  It's also my mail/www/proxy server, so it would be nice to minimize the number of reboots.

$ cat /proc/interrupts 
           CPU0       
  0:         29   IO-APIC-edge      timer
  1:          9   IO-APIC-edge      i8042
  6:          3   IO-APIC-edge      floppy
  7:          0   IO-APIC-edge      parport0
  8:          2   IO-APIC-edge      rtc0
  9:          0   IO-APIC-fasteoi   acpi
 12:  331062325   IO-APIC-edge      i8042
 14:    6158530   IO-APIC-edge      pata_via
 15:    6173123   IO-APIC-edge      pata_via
 16:     100002   IO-APIC-fasteoi   pata_via
 21:          0   IO-APIC-fasteoi   uhci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3, ehci_hcd:usb4
 22:          0   IO-APIC-fasteoi   VIA8233
 23:   17793861   IO-APIC-fasteoi   eth0
NMI:          0   Non-maskable interrupts
LOC:  293266456   Local timer interrupts
TRM:          0   Thermal event interrupts
SPU:          0   Spurious interrupts
ERR:          0
MIS:          0
Comment 7 Steve Arnold archtester gentoo-dev 2009-02-28 07:04:19 UTC
Created attachment 183450 [details]
config-2.6.28-hardened using libata pata driver

current config-2.6.28-hardened, goes with /proc/interrupts output
Comment 8 Gordon Malm (RETIRED) gentoo-dev 2009-03-20 18:59:23 UTC
How is it going with gentoo-sources-2.6.28-r1?  Same issue?

If you're still having the problem can you try with the latest gentoo-sources kernel (gentoo-sources-2.6.28-r4)?
Comment 9 Gordon Malm (RETIRED) gentoo-dev 2009-05-30 19:50:58 UTC
We're up to hardened-sources-2.6.28-r9 and hardened-sources-2.6.29 now, is this still an issue for you?  Has the problem or errors changed at all (and if so can you post new)?  Thanks.
Comment 10 Steve Arnold archtester gentoo-dev 2009-06-10 02:08:49 UTC
Yeah, let me build the 2.6.29 kernel and I'll give it a try...
Comment 11 cilly 2009-07-20 13:58:31 UTC
(In reply to comment #10)
> Yeah, let me build the 2.6.29 kernel and I'll give it a try...
> 

any further info pls
Comment 12 Anthony Basile gentoo-dev 2010-07-08 10:08:34 UTC
We are now working to stabilize 2.6.32-r9.  Can you give that a try and let us know if it is still an issue?
Comment 13 Steve Arnold archtester gentoo-dev 2010-07-18 18:29:24 UTC
Sorry, got busy with extra work/travel, and that's my production server for now (such as it is) yada yada...

I'll see if I can get a newer kernel on there shortly...
Comment 14 Anthony Basile gentoo-dev 2011-01-21 11:59:34 UTC
Okay this is an old bug about a kernel which is no longer on the tree.  I'm closing it.