Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Networking APIC Sticky Request
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Forums Feedback
View previous topic :: View next topic  
Author Message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Thu Jul 24, 2003 4:37 pm    Post subject: Networking APIC Sticky Request Reply with quote

ben wrote:
Symptom:
ethx up and running
every packet dropped

Cause
IRQs conflict

Solution
Disable APIC in BIOS

HTH

Ben

To the moderators, this is becoming annoying. Could you please make a sticky note for this exact problem.

To the developpers, I don't know how this behavior can be improved, but this seems to happen particularly with gentoo (MD9.x and RH and Win seem ok)


There are many topics like this one that are always coming up. We unfortunatley can't make them all sticky.
Sorry.

Puggy
_________________
Where there's open source , there's a way.


Last edited by puggy on Thu Jul 24, 2003 6:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
ben
Apprentice
Apprentice


Joined: 10 Jun 2002
Posts: 285
Location: Switzerland

PostPosted: Thu Jul 24, 2003 6:21 pm    Post subject: Reply with quote

Hi Puggy,

Though I do understand your remark, I would like to show you how I see this issue:

1. this is a gentoo + APIC issue, as it does not show up with MDx, RHx, and even with the liveCD.

2. The symptom are very clear, and the solution too (disable APIC in BIOS, or boot noapic). If it would help, I could show a bunch of thread about exactly this particular problem.

3. This is the gentoo greetings card to newcomer, as from the first reboot you lose the net.

4. I don't know well the internal of gentoo forums, but I don't see any sticky thread in networking and security (or should it go to installing gentoo).

Cheers,

Ben
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Thu Jul 24, 2003 7:07 pm    Post subject: Reply with quote

ben wrote:
4. I don't know well the internal of gentoo forums, but I don't see any sticky thread in networking and security (or should it go to installing gentoo).
It would probably go in Installing Gentoo since it's an issue that apparently happens on your first re-boot.

I'm not familiar enough with this issue to comment on whether or not to make a sticky. Was there a particular thread that you had in mind for this? We're always more that willing to re-evaluate this type of thing based on need. :-)
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Thu Jul 24, 2003 7:08 pm    Post subject: Reply with quote

1. This may be true, in which case you want to discuss it with the devs not a lowly mod like me. :-D
2. Dup reports are always welcomed in https://forums.gentoo.org/viewtopic.php?t=28820. Cheers.
3. This may happen a lot, but so also do a number of other issues such as grub failing, devfs not being installed, etc.
4. Again, just because there isn't a sticky thread doesn't mean we can make all reoccuring problems sticky. I have not myself noticed a significant number of these posts with a standard question & solution.

Perhaps you should request this be added as a note to the installation guide or to the FAQ.

Currently several things are being done to reduce dups and increase searching in the forums, this may well turn out to be another avenue of attack for us (The moderator contingent). This shall not go undiscussed.

More information would be very useful so we can re-evaluate as masseya says.

Split from https://forums.gentoo.org/viewtopic.php?t=69739 as I thought it would be better to discuss this here where others are more likely to read and comment.

Puggy
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
ben
Apprentice
Apprentice


Joined: 10 Jun 2002
Posts: 285
Location: Switzerland

PostPosted: Thu Jul 24, 2003 9:19 pm    Post subject: Reply with quote

Hi,

First of all, I would like to take this opportunity to thanks you all and Puggy in particular to react to this.

A note in the install doc or FAQ is a great idea, Though we may have to narrow it (does it happen with a particular motherboard, BIOS version, etc...). Cheers Puggy.

As to the note to dev, I am a much "lower life" than Puggy, though I am willing to help if I am capable of.

Here are the thread that come to mind (beside the split one):
https://forums.gentoo.org/viewtopic.php?t=69073&highlight=
https://forums.gentoo.org/viewtopic.php?t=63794&highlight=apic+eth0
https://forums.gentoo.org/viewtopic.php?t=54857&highlight=apic+eth0
Just adding the split one for completeness. Puggy
https://forums.gentoo.org/viewtopic.php?t=69691
Another one that I noticed you've spotted also. Puggy
https://forums.gentoo.org/viewtopic.php?t=70055

And some with no feedback after the proposal:
https://forums.gentoo.org/viewtopic.php?t=68959&highlight=
https://forums.gentoo.org/viewtopic.php?t=69598&highlight=
https://forums.gentoo.org/viewtopic.php?t=66360&highlight=apic

Maybe related
https://forums.gentoo.org/viewtopic.php?t=63844&highlight=apic
https://forums.gentoo.org/viewtopic.php?t=47746&highlight=apic+eth0
https://forums.gentoo.org/viewtopic.php?t=65281&postdays=0&postorder=asc&start=25
and the last one may help to narrow it for devs

Hope this helps

Ben
Back to top
View user's profile Send private message
ben
Apprentice
Apprentice


Joined: 10 Jun 2002
Posts: 285
Location: Switzerland

PostPosted: Thu Jul 24, 2003 9:49 pm    Post subject: Reply with quote

So to help narrow the problem, I could add:

There may be a race condition at the interrupt level
http://www.tux.org/hypermail/linux-vortex/2002-Dec/0044.html

It looks like SMP is selected by default on a bunch of kernel. This needs (and selects) APIC. So even if the user disable SMP he could well let APIC turned on.

I don't know if a kernel patch exists about it, or if a BIOS update is in order, but I would suggest to modify the default config for kernel, as to not enable SMP and APIC.

HTH

Ben
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Thu Jul 24, 2003 9:53 pm    Post subject: Reply with quote

ben wrote:
...but I would suggest to modify the default config for kernel, as to not enable SMP and APIC.


That's not really something we can do, as the default config comes with the kernel from the kernel developers.

This is all useful stuff your accumulating, keep it up.

Puggy
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Jul 24, 2003 10:58 pm    Post subject: Reply with quote

Has anyone investigated bugs.gentoo.org to see if it has already been reported, what the "outcome" of said bug report was, or the general status?

The problem has been around for quite some time.
Back to top
View user's profile Send private message
ben
Apprentice
Apprentice


Joined: 10 Jun 2002
Posts: 285
Location: Switzerland

PostPosted: Fri Jul 25, 2003 6:40 am    Post subject: Reply with quote

Well I did not go too deep but I found:
https://bugs.gentoo.org/show_bug.cgi?id=14887

BTW Congratulations Puggy for your nomination as Moderator. Keep up the good work.

Oh and I was under the impression that default .config was different if using vanilla-sources or xfs-sources (for example in the later I am almost sure, you don't have to enable code maturity level as it already is). In the end, patching a .config would be the easiest part of creating a gentoo-kernel, now wouldn't it?

Cheers all,

Ben
Back to top
View user's profile Send private message
AgenT
Apprentice
Apprentice


Joined: 18 May 2003
Posts: 280

PostPosted: Tue Jul 29, 2003 5:19 pm    Post subject: Reply with quote

Can someone give me a URL/info on what exactly APIC is and why it should be enabled? In the 2.4.20 menuconfig, the help says that APIC should be enabled on uniprocessor systems (as well as the other two APIC options), and that on SMP systems it is enabled by default. I did not have APIC enabled (in fact, I do not think the kernel had it enabled by default), but tried to enable it to see what it would do to my interrupt settings. When I tried to boot, the system froze while getting /dev/hda information (bad interrupt, etc.) but luckly my BIOS has a disable option which means (I assume) that it makes the kernel totally disregard APIC. As a side note, my CPU does in fact support APIC (cat /proc/cpuinfo flags).
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Jul 30, 2003 3:29 am    Post subject: Reply with quote

Have you checked Google yet? Perhaps www.google.com/linux will narrow it down some.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Forums Feedback All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum