linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: 2.4.20: CONFIG_X86_UP_APIC and CONFIG_X86_UP_IOAPIC won't allow me to connect with my ADSL
@ 2003-04-18  9:54 mikpe
  0 siblings, 0 replies; 3+ messages in thread
From: mikpe @ 2003-04-18  9:54 UTC (permalink / raw)
  To: linux-kernel

On Thu, 17 Apr 2003 mikpe@csd.uu.se wrote:
> Wed, 16 Apr 2003 21:53:21 -0300 (BRT), 0@pervalidus.tk wrote:
> >I just installed an ECS K7VTA3 5.0 and ADSL. I was using an
> >ASUS A7S333 and cable modem.
> >
> >With a kernel compiled with CONFIG_X86_UP_APIC and
> >CONFIG_X86_UP_IOAPIC adsl-start will timeout. adsl-connect also
> >fails.
..
> First thing to try:
> Keep UP_APIC enabled but disable UP_IOAPIC.

I've received confirmation that disabling IOAPIC support
but keeping local APIC support eliminated the problems
this person had. The chipset was VIA something.

The errors when IOAPIC was enabled included things like
'eth0: transmit timed out' and
'eth0: Interrupt posted but not delivered -- IRQ blocked by another device?'

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

* Re: 2.4.20: CONFIG_X86_UP_APIC and CONFIG_X86_UP_IOAPIC won't allow me to connect with my ADSL
@ 2003-04-17 10:36 mikpe
  0 siblings, 0 replies; 3+ messages in thread
From: mikpe @ 2003-04-17 10:36 UTC (permalink / raw)
  To: 0, linux-kernel

Wed, 16 Apr 2003 21:53:21 -0300 (BRT), 0@pervalidus.tk wrote:
>I just installed an ECS K7VTA3 5.0 and ADSL. I was using an
>ASUS A7S333 and cable modem.
>
>With a kernel compiled with CONFIG_X86_UP_APIC and
>CONFIG_X86_UP_IOAPIC adsl-start will timeout. adsl-connect also
>fails.

Any APIC or interrupt-related errors in the kernel log?

>With a kernel compiled without CONFIG_X86_UP_APIC and
>CONFIG_X86_UP_IOAPIC I can succesfully establish a connection.
...
>My APIC enabled dmesg is available at
>http://www.fredlwm.hpg.com.br/dmesg-2.4.20-APIC

Nothing suspicious in this one.

First thing to try:
Keep UP_APIC enabled but disable UP_IOAPIC.

If this doesn't help:
Apply the patch below, which fixes a known problem on some mainboards.

If the patch doesn't help:
Accept that your mainboard doesn't work with APIC (local or I/O) enabled.

/Mikael

--- linux-2.4.21-pre7/arch/i386/kernel/apic.c.~1~	2003-04-05 12:35:30.000000000 +0200
+++ linux-2.4.21-pre7/arch/i386/kernel/apic.c	2003-04-05 13:10:51.000000000 +0200
@@ -649,7 +649,6 @@
 	}
 	set_bit(X86_FEATURE_APIC, &boot_cpu_data.x86_capability);
 	mp_lapic_addr = APIC_DEFAULT_PHYS_BASE;
-	boot_cpu_physical_apicid = 0;
 	if (nmi_watchdog != NMI_NONE)
 		nmi_watchdog = NMI_LOCAL_APIC;
 
@@ -1169,8 +1168,7 @@
 
 	connect_bsp_APIC();
 
-	phys_cpu_present_map = 1;
-	apic_write_around(APIC_ID, boot_cpu_physical_apicid);
+	phys_cpu_present_map = 1 << boot_cpu_physical_apicid;
 
 	apic_pm_init2();
 

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

* 2.4.20: CONFIG_X86_UP_APIC and CONFIG_X86_UP_IOAPIC won't allow me to connect with my ADSL
@ 2003-04-17  0:53 Frédéric L. W. Meunier
  0 siblings, 0 replies; 3+ messages in thread
From: Frédéric L. W. Meunier @ 2003-04-17  0:53 UTC (permalink / raw)
  To: linux-kernel

I just installed an ECS K7VTA3 5.0 and ADSL. I was using an
ASUS A7S333 and cable modem.

With a kernel compiled with CONFIG_X86_UP_APIC and
CONFIG_X86_UP_IOAPIC adsl-start will timeout. adsl-connect also
fails.

There's a " WARNING: unexpected IO-APIC, please mail to
linux-smp@vger.kernel.org" in dmesg.

With a kernel compiled without CONFIG_X86_UP_APIC and
CONFIG_X86_UP_IOAPIC I can succesfully establish a connection.

My APIC disabled .config is available at
http://www.fredlwm.hpg.com.br/.config-2.4.20-NOAPIC

My APIC disabled dmesg available at
http://www.fredlwm.hpg.com.br/dmesg-2.4.20-NOAPIC

My APIC enabled dmesg is available at
http://www.fredlwm.hpg.com.br/dmesg-2.4.20-APIC

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

end of thread, other threads:[~2003-04-18  9:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-18  9:54 2.4.20: CONFIG_X86_UP_APIC and CONFIG_X86_UP_IOAPIC won't allow me to connect with my ADSL mikpe
  -- strict thread matches above, loose matches on Subject: below --
2003-04-17 10:36 mikpe
2003-04-17  0:53 Frédéric L. W. Meunier

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