* Re: Network failures with ACPI enabled (kernel 2.4, 2.6) PROBLEM FOUND!!!!!!
[not found] ` <20031230192301.5d17d418.mike-Z92qn3yYq0hWk0Htik3J/w@public.gmane.org>
@ 2003-12-30 20:45 ` Michael Guntsche
0 siblings, 0 replies; 11+ messages in thread
From: Michael Guntsche @ 2003-12-30 20:45 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Tue, 30 Dec 2003 19:23:01 +0100
Michael Guntsche <mike-Z92qn3yYq0hWk0Htik3J/w@public.gmane.org> wrote:
> On 30 Dec 2003 12:48:02 -0500
> Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
>
> > > Today I tried the same transfer with a XIRCOM PCMCIA network card
> > > and ACPI enabled. It worked without a problem.
> > > I am not sure what this means for ACPI <-> B44 though. ;)
> >
> > Please note which IRQ each kind of ethernet NIC gets,
> > and if it shares an IRQ with any other device.
> > If the working and non-working NICs come up on different IRQs
> > then that may be a clue.
>
> The broadcom card gets IRQ 5 and the Xircom card gets IRQ3.
> Both IRQ are non-shared. Well IRQ 5 was shared with USB, but for
> testing purposes I removed the USB modules.
Hia Len,
You won't believe me but I found out what was causing the problem.
Since I never use the parallel port on this notebook I turned it OFF in
the BIOS.
Setting it to AUTOMATIC mode solved my issues.
The Linux-ACPI still has a problem somewhere since I don't see the
network timeouts in WinXP, if I turn off the parport.
For me it looks like that the parport and the internal card share
something, either ACPI or hardware wise and by turning off the parport
the network card somehow changes too.
What do you think about that?
Michael
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Network failures with ACPI enabled (kernel 2.4, 2.6) PROBLEM FOUND!!!!!!
@ 2003-12-30 21:17 Brown, Len
[not found] ` <BF1FE1855350A0479097B3A0D2A80EE0CC8953-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Brown, Len @ 2003-12-30 21:17 UTC (permalink / raw)
To: Michael Guntsche; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
> > The broadcom card gets IRQ 5 and the Xircom card gets IRQ3.
> > Both IRQ are non-shared. Well IRQ 5 was shared with USB, but for
> > testing purposes I removed the USB modules.
Can you put the xircom in the slot where the broadcom lived and
See if it too gets IRQ5 and fails with the EPP set to OFF?
Doing so would suggest that this failure is device independent
and IRQ related.
> You won't believe me but I found out what was causing the problem.
> Since I never use the parallel port on this notebook I turned
> it OFF in the BIOS.
> Setting it to AUTOMATIC mode solved my issues.
> The Linux-ACPI still has a problem somewhere since I don't see the
> network timeouts in WinXP, if I turn off the parport.
> For me it looks like that the parport and the internal card share
> something, either ACPI or hardware wise and by turning off the parport
> the network card somehow changes too.
It may be I/O port ranges rather than IRQs at the bottom of this one.
-Len
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Network failures with ACPI enabled (kernel 2.4, 2.6) PROBLEM FOUND!!!!!!
[not found] ` <BF1FE1855350A0479097B3A0D2A80EE0CC8953-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
@ 2003-12-30 22:22 ` Michael Guntsche
2003-12-31 23:46 ` Nate Lawson
1 sibling, 0 replies; 11+ messages in thread
From: Michael Guntsche @ 2003-12-30 22:22 UTC (permalink / raw)
To: Brown, Len; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Tue, 30 Dec 2003 16:17:47 -0500
"Brown, Len" <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
> Can you put the xircom in the slot where the broadcom lived and
> See if it too gets IRQ5 and fails with the EPP set to OFF?
>
> Doing so would suggest that this failure is device independent
> and IRQ related.
Sorry, I can't do that since the broadcom network card is build-in.
I tried to get the pcmcia subsystem to assign IRQ 5 to the Xircom
which didn't work.
> It may be I/O port ranges rather than IRQs at the bottom of this one.
But why is it working when the parport is turned on?
Shouldn't it be the other way around, if there is a resource
conflict?
Michael
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Network failures with ACPI enabled (kernel 2.4, 2.6) PROBLEM FOUND!!!!!!
@ 2003-12-30 22:36 Brown, Len
[not found] ` <BF1FE1855350A0479097B3A0D2A80EE0CC8954-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Brown, Len @ 2003-12-30 22:36 UTC (permalink / raw)
To: Michael Guntsche; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
> But why is it working when the parport is turned on?
> Shouldn't it be the other way around, if there is a resource
> conflict?
The BIOS' AML may not be well coordinated with the CMOS setting
for enabling/disabling the device.
It is interesting that Windows XP works either way.
Could be that Linux has an ACPI bug that XP does not have,
or that the BIOS happens to work with XP's implementation
and not Linux's implementation.
-Len
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Network failures with ACPI enabled (kernel 2.4, 2.6) PROBLEM FOUND!!!!!!
[not found] ` <BF1FE1855350A0479097B3A0D2A80EE0CC8954-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
@ 2003-12-30 23:17 ` Michael Guntsche
[not found] ` <20031231001716.76cb2e8d.mike-Z92qn3yYq0hWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Michael Guntsche @ 2003-12-30 23:17 UTC (permalink / raw)
To: Brown, Len; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Tue, 30 Dec 2003 17:36:14 -0500
"Brown, Len" <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
> The BIOS' AML may not be well coordinated with the CMOS setting
> for enabling/disabling the device.
>
> It is interesting that Windows XP works either way.
> Could be that Linux has an ACPI bug that XP does not have,
> or that the BIOS happens to work with XP's implementation
> and not Linux's implementation.
>
Is there a way to see what the change in the CMOS does to ACPI?
What puzzles me is that with the parport disabled outgoing traffic
still works. It would make more sense if the network didn't work at all.
Michael
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Network failures with ACPI enabled (kernel 2.4, 2.6) PROBLEM FOUND!!!!!!
[not found] ` <20031231001716.76cb2e8d.mike-Z92qn3yYq0hWk0Htik3J/w@public.gmane.org>
@ 2003-12-30 23:46 ` Michael Guntsche
[not found] ` <20031231004648.531549af.mike-Z92qn3yYq0hWk0Htik3J/w@public.gmane.org>
2003-12-31 23:02 ` Nate Lawson
1 sibling, 1 reply; 11+ messages in thread
From: Michael Guntsche @ 2003-12-30 23:46 UTC (permalink / raw)
To: len.brown-ral2JQCrhuEAvxtiuMwx3w
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Wed, 31 Dec 2003 00:17:16 +0100
Michael Guntsche <mike-Z92qn3yYq0hWk0Htik3J/w@public.gmane.org> wrote:
> Is there a way to see what the change in the CMOS does to ACPI?
> What puzzles me is that with the parport disabled outgoing traffic
> still works. It would make more sense if the network didn't work at all.
>
One more piece of information.
The parport must be set to ECP, else you still get the same errors.
Michael
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Network failures with ACPI enabled (kernel 2.4, 2.6) PROBLEM FOUND!!!!!!
[not found] ` <20031231004648.531549af.mike-Z92qn3yYq0hWk0Htik3J/w@public.gmane.org>
@ 2003-12-31 6:21 ` Len Brown
[not found] ` <1072851661.2363.228.camel-D2Zvc0uNKG8@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Len Brown @ 2003-12-31 6:21 UTC (permalink / raw)
To: Michael Guntsche; +Cc: ACPI Developers
On Tue, 2003-12-30 at 18:46, Michael Guntsche wrote:
> On Wed, 31 Dec 2003 00:17:16 +0100
> Michael Guntsche <mike-Z92qn3yYq0hWk0Htik3J/w@public.gmane.org> wrote:
>
> > Is there a way to see what the change in the CMOS does to ACPI?
> > What puzzles me is that with the parport disabled outgoing traffic
> > still works. It would make more sense if the network didn't work at all.
> >
> One more piece of information.
> The parport must be set to ECP, else you still get the same errors.
The fact that transmit works and receive fails is a clue.
Probably the broadcom uses interrupts for receive, but doesn't
use interrupts for transmit. So if it were not getting interrupts,
transmit could still send frames.
So if you enable the parallel port in ECP mode, broadcom works --
but if the port is disabled, or enabled but not in ECP mode, it fails?
This is curious. Indeed, the AML for this box shows three devices,
ECP, EPP, and LPTB. Unfortunately, the _PRS for them disassembles
as a Buffer that one has to hand-disassemble to see what resources
are actually possible...
To answer your question about observing what the ECP enable/disable
does to the AML, the DSDT could be extracted, modified
and used to over-ride the DSDT in the BIOS. This isn't rocket science,
but isn't trivial either.
As curious as the failure is, the system works both ways when
running XP, so I would encourage you to put the info into a
bug report. The observation about TX working and RX failing
raises the prospect that this really is an IRQ issue, and
with the /proc/interrupts for the different cases at hand
the solution to this puzzle may become more clear.
thanks,
-Len
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Network failures with ACPI enabled (kernel 2.4, 2.6) PROBLEM FOUND!!!!!!
[not found] ` <1072851661.2363.228.camel-D2Zvc0uNKG8@public.gmane.org>
@ 2003-12-31 16:23 ` Michael Guntsche
[not found] ` <20031231172328.5ae00921.mike-Z92qn3yYq0hWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Michael Guntsche @ 2003-12-31 16:23 UTC (permalink / raw)
To: Len Brown; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On 31 Dec 2003 01:21:01 -0500
Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
> The fact that transmit works and receive fails is a clue.
> Probably the broadcom uses interrupts for receive, but doesn't
> use interrupts for transmit. So if it were not getting interrupts,
> transmit could still send frames.
>
> So if you enable the parallel port in ECP mode, broadcom works --
> but if the port is disabled, or enabled but not in ECP mode, it fails?
Hmm I played around with it some more. If I lower the speed on my
notebook
to 10baseT-HD the transfer works at 800KB/s.
But errors and frames on the device (eth0) are increasing at an alarming
rate.
For me it looks like that the problem occurs if the network card gets a
lot of inbound traffic.
>
> This is curious. Indeed, the AML for this box shows three devices,
> ECP, EPP, and LPTB. Unfortunately, the _PRS for them disassembles
> as a Buffer that one has to hand-disassemble to see what resources
> are actually possible...
So this means that ACPI IS doing something different depending on the
setting in the BIOS, right?
>
> To answer your question about observing what the ECP enable/disable
> does to the AML, the DSDT could be extracted, modified
> and used to over-ride the DSDT in the BIOS. This isn't rocket
> science, but isn't trivial either.
>
> As curious as the failure is, the system works both ways when
> running XP, so I would encourage you to put the info into a
> bug report. The observation about TX working and RX failing
> raises the prospect that this really is an IRQ issue, and
> with the /proc/interrupts for the different cases at hand
> the solution to this puzzle may become more clear.
In both cases (with or without ECP enabled) interrupts are increasing,
although it stops in the error case since the card resets itself.
/michael
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Network failures with ACPI enabled (kernel 2.4, 2.6) PROBLEM FOUND!!!!!!
[not found] ` <20031231001716.76cb2e8d.mike-Z92qn3yYq0hWk0Htik3J/w@public.gmane.org>
2003-12-30 23:46 ` Michael Guntsche
@ 2003-12-31 23:02 ` Nate Lawson
1 sibling, 0 replies; 11+ messages in thread
From: Nate Lawson @ 2003-12-31 23:02 UTC (permalink / raw)
To: Michael Guntsche; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Wed, 31 Dec 2003, Michael Guntsche wrote:
> On Tue, 30 Dec 2003 17:36:14 -0500
> "Brown, Len" <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
> > The BIOS' AML may not be well coordinated with the CMOS setting
> > for enabling/disabling the device.
> >
> > It is interesting that Windows XP works either way.
> > Could be that Linux has an ACPI bug that XP does not have,
> > or that the BIOS happens to work with XP's implementation
> > and not Linux's implementation.
> >
>
> Is there a way to see what the change in the CMOS does to ACPI?
> What puzzles me is that with the parport disabled outgoing traffic
> still works. It would make more sense if the network didn't work at all.
Only incoming packets generate an interrupt.
-Nate
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Network failures with ACPI enabled (kernel 2.4, 2.6) PROBLEM FOUND!!!!!!
[not found] ` <BF1FE1855350A0479097B3A0D2A80EE0CC8953-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
2003-12-30 22:22 ` Michael Guntsche
@ 2003-12-31 23:46 ` Nate Lawson
1 sibling, 0 replies; 11+ messages in thread
From: Nate Lawson @ 2003-12-31 23:46 UTC (permalink / raw)
To: Brown, Len; +Cc: Michael Guntsche, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Tue, 30 Dec 2003, Brown, Len wrote:
> > You won't believe me but I found out what was causing the problem.
> > Since I never use the parallel port on this notebook I turned
> > it OFF in the BIOS.
> > Setting it to AUTOMATIC mode solved my issues.
>
> > The Linux-ACPI still has a problem somewhere since I don't see the
> > network timeouts in WinXP, if I turn off the parport.
> > For me it looks like that the parport and the internal card share
> > something, either ACPI or hardware wise and by turning off the parport
> > the network card somehow changes too.
>
> It may be I/O port ranges rather than IRQs at the bottom of this one.
You can use the -r flag for acpidump to decode Buffers as
ResourceTemplate()s:
-r Additionally outputs commented ResourceTemplate() macros for
Buffer objects that contain valid resource streams. These macros
are defined in the ACPI 2.0 specification section 16.2.4.
Since moving to iasl as the acpidump backend in FreeBSD, we've lost this
capability. I'd love it if iasl would grow a flag to have this behavior.
You could restrict it to only outputing the macros if the Buffer starts
with a valid resource.
-Nate
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Network failures with ACPI enabled (kernel 2.4, 2.6) PROBLEM FOUND!!!!!!
[not found] ` <20031231172328.5ae00921.mike-Z92qn3yYq0hWk0Htik3J/w@public.gmane.org>
@ 2004-01-03 21:06 ` Pavel Machek
0 siblings, 0 replies; 11+ messages in thread
From: Pavel Machek @ 2004-01-03 21:06 UTC (permalink / raw)
To: Michael Guntsche; +Cc: Len Brown, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> > The fact that transmit works and receive fails is a clue.
> > Probably the broadcom uses interrupts for receive, but doesn't
> > use interrupts for transmit. So if it were not getting interrupts,
> > transmit could still send frames.
> >
> > So if you enable the parallel port in ECP mode, broadcom works --
> > but if the port is disabled, or enabled but not in ECP mode, it fails?
>
> Hmm I played around with it some more. If I lower the speed on my
> notebook
> to 10baseT-HD the transfer works at 800KB/s.
> But errors and frames on the device (eth0) are increasing at an alarming
> rate.
> For me it looks like that the problem occurs if the network card gets a
> lot of inbound traffic.
Is not this plain old "ACPI stays to log with interrupts disabled"?
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2004-01-03 21:06 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-30 22:36 Network failures with ACPI enabled (kernel 2.4, 2.6) PROBLEM FOUND!!!!!! Brown, Len
[not found] ` <BF1FE1855350A0479097B3A0D2A80EE0CC8954-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
2003-12-30 23:17 ` Michael Guntsche
[not found] ` <20031231001716.76cb2e8d.mike-Z92qn3yYq0hWk0Htik3J/w@public.gmane.org>
2003-12-30 23:46 ` Michael Guntsche
[not found] ` <20031231004648.531549af.mike-Z92qn3yYq0hWk0Htik3J/w@public.gmane.org>
2003-12-31 6:21 ` Len Brown
[not found] ` <1072851661.2363.228.camel-D2Zvc0uNKG8@public.gmane.org>
2003-12-31 16:23 ` Michael Guntsche
[not found] ` <20031231172328.5ae00921.mike-Z92qn3yYq0hWk0Htik3J/w@public.gmane.org>
2004-01-03 21:06 ` Pavel Machek
2003-12-31 23:02 ` Nate Lawson
-- strict thread matches above, loose matches on Subject: below --
2003-12-30 21:17 Brown, Len
[not found] ` <BF1FE1855350A0479097B3A0D2A80EE0CC8953-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
2003-12-30 22:22 ` Michael Guntsche
2003-12-31 23:46 ` Nate Lawson
2003-12-30 0:08 Network failures with ACPI enabled (kernel 2.4, 2.6) Michael Guntsche
2003-12-30 15:57 ` Michael Guntsche
2003-12-30 17:48 ` Len Brown
2003-12-30 18:23 ` Michael Guntsche
[not found] ` <20031230192301.5d17d418.mike-Z92qn3yYq0hWk0Htik3J/w@public.gmane.org>
2003-12-30 20:45 ` Network failures with ACPI enabled (kernel 2.4, 2.6) PROBLEM FOUND!!!!!! Michael Guntsche
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox