Skip to contentSkip to conversation

Where do I send APIC victims?

DISCUSSION Roger Luethi 14 participants 19 messages Sep 3, 2003 – Sep 4, 2003 2 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

As the maintainer of via-rhine, I get bug reports that almost in their entirety are "fixed" by turning off APIC and/or ACPI. This has been going on for several months now. Every now and then, something promising gets posted on LKML, but so far if anything I've seen an _increase_ in those bug reports. Maybe a fix is floating around and this will be a non-issue RSN. I simply can't tell, since I don't have any IO-APIC hardware to play with.

Instead of just telling everybody to turn off APIC, I'd like to point bug reporters to the proper place and tell them what information they should provide so it can get fixed for real. According to MAINTAINERS, Ingo Molnar does Intel APIC, but the problems are with VIA chip sets. So where do I send my users? Any takers?

Roger

#1 lore raw
Quoted 7 lines · Roger Luethi

As the maintainer of via-rhine, I get bug reports that almost in their entirety are "fixed" by turning off APIC and/or ACPI. This has been going on for several months now. Every now and then, something promising gets posted on LKML, but so far if anything I've seen an _increase_ in those bug reports. Maybe a fix is floating around and this will be a non-issue RSN. I simply can't tell, since I don't have any IO-APIC hardware to play with.

Quoted 5 lines

Instead of just telling everybody to turn off APIC, I'd like to point bug reporters to the proper place and tell them what information they should provide so it can get fixed for real. According to MAINTAINERS, Ingo Molnar does Intel APIC, but the problems are with VIA chip sets. So where do I send my users? Any takers?

Hi, I'm trying to develop patches for ACPI IRQ issues.

Are these VIA KT333/KT400 chipsets? If so, there's a known bug in many BIOSes with these chipsets. I'm waiting on some docs from VIA to fix this issue.

#2 lore raw
Quoted 1 line · Andrew de Quincey

Hi, I'm trying to develop patches for ACPI IRQ issues.

That would be most appreciated.

Quoted 1 line

Are these VIA KT333/KT400 chipsets? If so, there's a known bug in many BIOSes

Yes, at least some of them are. I often don't know, since the reports just say "Rhine ethernet broke in the new kernel" (VIA based boards typically come with Rhine ethernet integrated into the south bridge).

Quoted 1 line

with these chipsets. I'm waiting on some docs from VIA to fix this issue.

Which still leaves the question of why it used to work (or made the impression it did) with older kernels.

Roger

#3 lore raw
Quoted 5 lines
Quoted 2 lines

with these chipsets. I'm waiting on some docs from VIA to fix this issue.

Which still leaves the question of why it used to work (or made the impression it did) with older kernels.

I think on earlier kernels there was a bug in ACPI which prevented it from being used for PCI IRQ routing. I know this was fixed somewhere in the 2.5.5X series.

When this bug was fixed, it unfortunately caused my nforce2 board to stop working because of other IRQ issues, which is how I got into this. Its likely the same thing causes older kernels to work with Via motherboards to work 'cos ACPI isn't being used for IRQ routing.

2.4.22 has the ACPI from 2.6 backported into it, (which includes my patch for nforce2 boards) so it will start having the same issue with the BIOS bug in KT333/KT400 boards.

#4 lore raw
Quoted 3 lines · Andrew de Quincey

2.4.22 has the ACPI from 2.6 backported into it, (which includes my patch for nforce2 boards) so it will start having the same issue with the BIOS bug in KT333/KT400 boards.

It does - 2.4.22pre7 is great on my boxes, 2.4.22 final ACPI is basically unusable on anything I own thats not intel.

#5 lore raw
Quoted 7 lines · On Wed, 03 Sep 2003 12:40:06 +0100 Alan Cox…
Quoted 3 lines · Andrew de Quincey

2.4.22 has the ACPI from 2.6 backported into it, (which includes my patch for nforce2 boards) so it will start having the same issue with the BIOS bug in KT333/KT400 boards.

It does - 2.4.22pre7 is great on my boxes, 2.4.22 final ACPI is basically unusable on anything I own thats not intel.

I can't back that. At least on all my Serverworks boxes there are no problems with ACPI. I got reports from VIA-bases SMP boards that they are doing well, too. (all for 2.4.22)

Regards,
Stephan

#6 lore raw

On my board, A7V8X, ACPI/APIC works just perfectly with 2.4.22 and KT400 chipset, alas on A7N8X Deluxe board with nForce2 chipsets it causes nasty hangups.
Machine just simply freezes, no oops, nothing whatsoever.

Disabling APIC solved the problem.

--
Regards,
Vladimir

Quoted 22 lines · Stephan von Krawczynski

On Wed, 03 Sep 2003 12:40:06 +0100

Quoted 7 lines · Alan Cox
Quoted 3 lines · Andrew de Quincey

2.4.22 has the ACPI from 2.6 backported into it, (which includes my patch for nforce2 boards) so it will start having the same issue with the BIOS bug in KT333/KT400 boards.

It does - 2.4.22pre7 is great on my boxes, 2.4.22 final ACPI is basically unusable on anything I own thats not intel.

I can't back that. At least on all my Serverworks boxes there are no problems with ACPI. I got reports from VIA-bases SMP boards that they are doing well, too. (all for 2.4.22)

Regards,
Stephan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 2 lines
Best regards,
Vladimir Lazarenko
#7 lore raw
Quoted 27 lines · Vladimir Lazarenko

On my board, A7V8X, ACPI/APIC works just perfectly with 2.4.22 and KT400 chipset, alas on A7N8X Deluxe board with nForce2 chipsets it causes nasty hangups. Machine just simply freezes, no oops, nothing whatsoever.

Disabling APIC solved the problem.

--
Regards,
Vladimir

Quoted 16 lines · Stephan von Krawczynski

On Wed, 03 Sep 2003 12:40:06 +0100

Quoted 8 lines · Alan Cox
Quoted 3 lines · Andrew de Quincey

2.4.22 has the ACPI from 2.6 backported into it, (which includes my patch for nforce2 boards) so it will start having the same issue with the BIOS bug in KT333/KT400 boards.

It does - 2.4.22pre7 is great on my boxes, 2.4.22 final ACPI is basically unusable on anything I own thats not intel.

I can't back that. At least on all my Serverworks boxes there are no problems with ACPI. I got reports from VIA-bases SMP boards that they are doing well, too. (all for 2.4.22)

And I can say that my Soyo SY-KT600 Ultra (VIA KT600+8237) has ACPI problems as well. pci=noacpi doesn't help but acpi=off does. It gives lots of errors that the ACPI tables are buggy when booting claiming my 8237 SATA controller has gotten IRQ -19 for instance. Using acpi=off solves the problem. This is with or without the libata VIA 8237 SATA driver. Without anything it recognizes the chip but doesn't like using IRQ -19 and doesn't see any disks. With pci=noacpi it sees the disks but bombs out when trying to get the partition table. It gets IRQ -19 still there. acpi=off makes it all work.

// Stefan

#8 lore raw
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines

I can't back that. At least on all my Serverworks boxes there are no problems with ACPI. I got reports from VIA-bases SMP boards that they are doing well, too. (all for 2.4.22)

Quoted 9 lines

And I can say that my Soyo SY-KT600 Ultra (VIA KT600+8237) has ACPI problems as well. pci=noacpi doesn't help but acpi=off does. It gives lots of errors that the ACPI tables are buggy when booting claiming my 8237 SATA controller has gotten IRQ -19 for instance. Using acpi=off solves the problem. This is with or without the libata VIA 8237 SATA driver. Without anything it recognizes the chip but doesn't like using IRQ -19 and doesn't see any disks. With pci=noacpi it sees the disks but bombs out when trying to get the partition table. It gets IRQ -19 still there. acpi=off makes it all work.

The IRQ -19 thing is a bug in my nforce2 patch in 2.4.22. It didn't drop back to using the PIC correctly. My latest acpi-picmode patch (posted to this list a few days back) corrects this, among other things.

A message that is not in the archive (sent off-list or not yet received): 200309031710.49411.adq_dvb-fmPXVN3awWJAJAzL26g0SA@public.gmane.org

#10 lore raw
Quoted 15 lines · Andrew de Quincey
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines

I can't back that. At least on all my Serverworks boxes there are no problems with ACPI. I got reports from VIA-bases SMP boards that they are doing well, too. (all for 2.4.22)

Quoted 9 lines

And I can say that my Soyo SY-KT600 Ultra (VIA KT600+8237) has ACPI problems as well. pci=noacpi doesn't help but acpi=off does. It gives lots of errors that the ACPI tables are buggy when booting claiming my 8237 SATA controller has gotten IRQ -19 for instance. Using acpi=off solves the problem. This is with or without the libata VIA 8237 SATA driver. Without anything it recognizes the chip but doesn't like using IRQ -19 and doesn't see any disks. With pci=noacpi it sees the disks but bombs out when trying to get the partition table. It gets IRQ -19 still there. acpi=off makes it all work.

Quoted 3 lines

The IRQ -19 thing is a bug in my nforce2 patch in 2.4.22. It didn't drop back to using the PIC correctly. My latest acpi-picmode patch (posted to this list a few days back) corrects this, among other things.

Can you please resend me the patch?

Have you got any feedback on it?

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#11 lore raw
In reply to Vladimir Lazarenko
Quoted 2 lines · Vladimir Lazarenko

On my board, A7V8X, ACPI/APIC works just perfectly with 2.4.22 and KT400 chipset,

Does it indeed? Sounds like that BIOS doesn't have the bug! Can you send me your /proc/acpi/dsdt so I can see what is different? Be really good if I can nick the code out of that for the other boards!

Quoted 5 lines

alas on A7N8X Deluxe board with nForce2 chipsets it causes nasty hangups.
Machine just simply freezes, no oops, nothing whatsoever.

Disabling APIC solved the problem.

Does it work with ACPI disabled, but APIC enabled?

#12 lore raw
Quoted 8 lines · Andrew de Quincey
Quoted 2 lines · Vladimir Lazarenko

On my board, A7V8X, ACPI/APIC works just perfectly with 2.4.22 and KT400 chipset,

Does it indeed? Sounds like that BIOS doesn't have the bug! Can you send me your /proc/acpi/dsdt so I can see what is different? Be really good if I can nick the code out of that for the other boards!

I have a board like this too. It works fine with 2.4 & 2.6. The only trouble I've had has been a hard drive. (hardware)

Quoted 7 lines
Quoted 5 lines

alas on A7N8X Deluxe board with nForce2 chipsets it causes nasty hangups.
Machine just simply freezes, no oops, nothing whatsoever.

Disabling APIC solved the problem.

Does it work with ACPI disabled, but APIC enabled?

00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge 00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge 00:0a.0 VGA compatible controller: Trident Microsystems TGUI 9660/938x/968x (rev d3)
00:0e.0 RAID bus controller: CMD Technology Inc PCI0680 (rev 02) 00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80) 00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80) 00:10.2 USB Controller: VIA Technologies, Inc. USB (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. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)

#13 lore raw
In reply to Alan Cox
Quoted 7 lines · Alan Cox
Quoted 3 lines · Andrew de Quincey

2.4.22 has the ACPI from 2.6 backported into it, (which includes my patch for nforce2 boards) so it will start having the same issue with the BIOS bug in KT333/KT400 boards.

It does - 2.4.22pre7 is great on my boxes, 2.4.22 final ACPI is basically unusable on anything I own thats not intel.

I've collected a few 2.4.22 ACPI problems and sent them to the ACPI guys.

Randy, Len? Any update on any bug?

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#14 lore raw
Quoted 9 lines · Marcelo Tosatti
Quoted 5 lines · Alan Cox
Quoted 3 lines · Andrew de Quincey

2.4.22 has the ACPI from 2.6 backported into it, (which includes my patch for nforce2 boards) so it will start having the same issue with the BIOS bug in KT333/KT400 boards.

Quoted 6 lines
Quoted 2 lines

It does - 2.4.22pre7 is great on my boxes, 2.4.22 final ACPI is basically unusable on anything I own thats not intel.

I've collected a few 2.4.22 ACPI problems and sent them to the ACPI guys.

Randy, Len? Any update on any bug?

Alan, mind sending us detailed reports of the ACPI issues with 2.4.22, too?

Thanks

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#15 lore raw
In reply to Marcelo Tosatti

Well I am one APIC victim since Jan 2002. almost 2 years.
I suggested build one database of "APIC victims"
"Hi I would like make a database of the computers that have to Turning off APIC. Model, mother board and chip set, processor type , and DSDT signature.
And put in blacklist.c to give this exactly warning."

But what I would like to say here is: I try to understand where kernel hangs when I enable APIC and doesn't hangs when IRQ routing is setting, but hangs before, exactly when try to:
"evxfevnt-0093 [04] acpi_enable : Transition to ACPI mode
successful." this message never appears.

PS: I just don't had begging the database because, now, I don't have any time for that. But I had some ideas, like using php to upload dsdt bin and try automatically Disassemble AML to ASL using iasl as cgi etc.

thanks

Quoted 26 lines · Marcelo Tosatti
Quoted 7 lines · Alan Cox
Quoted 3 lines · Andrew de Quincey

2.4.22 has the ACPI from 2.6 backported into it, (which includes my patch for nforce2 boards) so it will start having the same issue with the BIOS bug in KT333/KT400 boards.

It does - 2.4.22pre7 is great on my boxes, 2.4.22 final ACPI is basically unusable on anything I own thats not intel.

I've collected a few 2.4.22 ACPI problems and sent them to the ACPI guys.

Randy, Len? Any update on any bug?

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel

Signature · 4 lines
SérgioMB
email: [email protected]

Who gives me one shell, give me everything.
#16 lore raw
In reply to Roger Luethi
Quoted 4 lines · Roger Luethi
Quoted 1 line

Are these VIA KT333/KT400 chipsets? If so, there's a known bug in many BIOSes

Yes, at least some of them are. I often don't know, since the reports just say "Rhine ethernet broke in the new kernel" (VIA based boards typically come with Rhine ethernet integrated into the south bridge).

I posted that i use a mini-itx VIA C3 with integrated via-rhine. Only difference is the CPU speed (533/800/1000 Mhz) i believe.

Danny

Signature · 2 lines
I think so Brain, but why does a forklift 
have to be so big if all it does is lift forks?

A message that is not in the archive (sent off-list or not yet received): 200309031123.58713.adq_dvb-fmPXVN3awWJAJAzL26g0SA@public.gmane.org

#18 lore raw
Quoted 5 lines · Andrew de Quincey
Quoted 4 lines · Roger Luethi

As the maintainer of via-rhine, I get bug reports that almost in their entirety are "fixed" by turning off APIC and/or ACPI. This has been going on for several months now. Every now and then, something promising gets posted on LKML, but so far if anything I've seen an _increase_ in those

bug

Quoted 1 line
Quoted 1 line

reports. Maybe a fix is floating around and this will be a non-issue RSN.

I

Quoted 5 lines
Quoted 5 lines

simply can't tell, since I don't have any IO-APIC hardware to play with.

Instead of just telling everybody to turn off APIC, I'd like to point bug reporters to the proper place and tell them what information they should provide so it can get fixed for real. According to MAINTAINERS, Ingo

Molnar

Quoted 6 lines
Quoted 2 lines

does Intel APIC, but the problems are with VIA chip sets. So where do I send my users? Any takers?

Hi, I'm trying to develop patches for ACPI IRQ issues.

Are these VIA KT333/KT400 chipsets? If so, there's a known bug in many

BIOSes

Quoted 2 lines

with these chipsets. I'm waiting on some docs from VIA to fix this issue.

I was just about to post that I have a Soyo KT-400 Dragon Ultra (black) with a integrated VIA Rhine II that has this problem. I would really love to help solve this problem if I can. I can provide any info you need as well as do some testing.

I have been using Mandrake, so I have been experiencing this because they have acpi turned on by default since a year (9.0).

Signature · 8 lines
Greg



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
#19 lore raw
In reply to Andrew de Quincey
Quoted 4 lines · Andrew de Quincey

Hi, I'm trying to develop patches for ACPI IRQ issues.

Are these VIA KT333/KT400 chipsets? If so, there's a known bug in many BIOSes with these chipsets. I'm waiting on some docs from VIA to fix this issue.

I'm looking after a box with EPoX 8K9A2+ board (IIRC), with KT400 chip set. Booting with ACPI enabled (i. e. no acpi=off in kernel command line) makes most interrupts (network, disk) invisible. acpi=off fixes this. I haven't bothered to report this because it's running some SuSE-patched 2.4.20 kernel (they did patch newer ACPI, "Subsystem revision 20030228").

Is testing a newer kernel or ACPI stuff worthwhile or should I wait? It's a production machine, so "see if this works" is out of the game, "it should work" can be tested in times of low load but not necessarily on short notice.

Is this any help?

<6>ACPI: Subsystem revision 20030228
<6>ACPI: Disabled via command line (acpi=off) <6>PCI: PCI BIOS revision 2.10 entry at 0xfb380, last bus=1 <6>PCI: Using configuration type 1
<6>PCI: Probing PCI hardware
<4>PCI: ACPI tables contain no PCI IRQ routing entries <4>PCI: Probing PCI hardware (bus 00)
<6>PCI: Using IRQ router VIA [1106/3177] at 00:11.0

That 00:11.0 is:

00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge

Signature · 3 lines
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95
#20 lore raw
In reply to Roger Luethi
Quoted 7 lines · Roger Luethi

As the maintainer of via-rhine, I get bug reports that almost in their entirety are "fixed" by turning off APIC and/or ACPI. This has been going on for several months now. Every now and then, something promising gets posted on LKML, but so far if anything I've seen an _increase_ in those bug reports. Maybe a fix is floating around and this will be a non-issue RSN. I simply can't tell, since I don't have any IO-APIC hardware to play with.

Quoted 5 lines

Instead of just telling everybody to turn off APIC, I'd like to point bug reporters to the proper place and tell them what information they should provide so it can get fixed for real. According to MAINTAINERS, Ingo Molnar does Intel APIC, but the problems are with VIA chip sets. So where do I send my users? Any takers?

Hi, I'm trying to develop patches for ACPI IRQ issues.

Are these VIA KT333/KT400 chipsets? If so, there's a known bug in many BIOSes with these chipsets. I'm waiting on some docs from VIA to fix this issue.