Skip to contentSkip to conversation

BMAC stuff - what I have

DISCUSSION Joseph P. Garcia 4 participants 5 messages Feb 10, 2001 – Feb 11, 2001 2 messages not in the archive Network drivers

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Kernel version: any (2.2.x - 2.4.x)

Symptoms: high speed transfers from a macintosh with a BMAC network device are limited to less than 100kB/s and often corrupted. Systems known to have this are some Wallstreets and beige Desktops. 10/100 chips in Lombard are BMAC+ which do not seem to have the bug. This is a hardware bug that exists in some releases of the chip, and only effects Tx packets.

Reproduction instructions: Open an FTP client to any system you have a potential 10Mbit transfer speed. Transfering from the other computer will yeild high speeds, however transfering to the other system will reveal this problem. This works with most all protocols i've seen. This is also seen when on occation, SSH connections using scp or X-forwarding will close with a comment on connection quality/reliability. something like that.

Explanation of problem: When there is a collision on the network, the BMAC chip will corrupt its Tx DMA buffer. Proposed solution is to have only one Tx packet in DMA at a time, which the current driver seems to almost do. Potential for more than one in transit seems to exist. I beleive that there might be something else relevant to what causes the collisions.

Fixes No known implementations in Linux. MacOS and Darwin appear to have workarounds.
Quoted 2 lines

(ie: http://www.geocrawler.com/archives/3/3/2000/10/0/4577176/
http://www.geocrawler.com/archives/3/3/2000/2/0/3266218/ ).

good links

Quoted 2 lines

Joseph Garcia said this bug had been listed and closed on sourceforge, but I can't find any record of that.

I don't recall saying that. Might have been a miscommunication. Some wallstreets aren't afflicted by the bug, so a 'works for me' may have been tagged on. I had the opportunity to use one. That's all I can say on that.

Attached are some files I recevied from Dan Malek on Jan 25.

I don't claim to be an expert on this. I base my information on my (sometimes incorrect) interpretations of what I read and hear. BenH has been much more helpful in explaining the problem.

Feel free to modify the above makings of a report before posting it.

I have tried my hand at hacking a solution together, but haven't gotten anywhere.

--
Joseph P. Garcia
http://www.execpc.com/~jpgarcia

drivers/net/Config.in +3 -0
@@ -50,6 +50,9 @@
       bool 'Use AAUI port instead of TP by default' CONFIG_MACE_AAUI_PORT
     fi
     tristate 'BMAC (G3 ethernet) support' CONFIG_BMAC
+    if [ "$CONFIG_BMAC" != "n" ]; then
+      bool 'Enable non-streaming Tranmit DMA support' CONFIG_BMAC_NO_STREAM_XMIT_DMA
+    fi
     tristate 'GMAC (G4/iBook ethernet) support' CONFIG_GMAC
     tristate 'Symbios 53c885 (Synergy ethernet) support' CONFIG_NCR885E
   fi
drivers/net/bmac.c +55 -38

288 lines not on this page · raw message

#3 lore raw

Re: https://sourceforge.net/projects/ppclinux/

In reply to a message not in the archive
Quoted 6 lines · Tom Gall

Hi All,

This is reminder that for tracking bugs, patches etc, we have a really
nice facility at our finger tips and that is the PowerPC Linux project on Sourceforge.net

[...]

Quoted 2 lines

Last if you have a bug or what you think is a bug please report it via
this mechanism.

There any chance of bug report updates going to a hypothetical "linuxppc-bugs" rather than -dev?

-Rich

--
------------------------------ Rich Lafferty ---------------------------
Sysadmin/Programmer, Instructional and Information Technology Services
Concordia University, Montreal, QC (514) 848-7625
------------------------- [email protected] ----------------------

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#4 lore raw

Re: https://sourceforge.net/projects/ppclinux/

Quoted 8 lines · Rich Lafferty
Quoted 6 lines · Tom Gall

Hi All,

This is reminder that for tracking bugs, patches etc, we have a really
nice facility at our finger tips and that is the PowerPC Linux project on Sourceforge.net

Quoted 6 lines

[...]

Quoted 2 lines

Last if you have a bug or what you think is a bug please report it via
this mechanism.

There any chance of bug report updates going to a hypothetical "linuxppc-bugs" rather than -dev?

Hi Rich,

Seems like a reaonable approach... someone from lists.linuxppc.org
wanna create it?

--
Regards,

Tom

--------------------------------------------------------------
Linux Guy "My heart is human, my blood is boiling,
[email protected] my brain IBM" -- Mr Roboto, Styxx

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#5 lore raw

Re: https://sourceforge.net/projects/ppclinux/

[ Tom Gall writes: ]

Quoted 8 lines
Quoted 3 lines · Rich Lafferty

There any chance of bug report updates going to a hypothetical "linuxppc-bugs" rather than -dev?

Seems like a reaonable approach... someone from lists.linuxppc.org
wanna create it?

Ask an ye shall receive. I'll try to get to it in the next couple of days. Do anyone know who to talk to at sourceforge to change where the reports go? Does it need to be a restricted list or general discussion?

--
Dave Wolfe

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#6 lore raw

Re: https://sourceforge.net/projects/ppclinux/

Quoted 8 lines · Dave Wolfe

[ Tom Gall writes: ]

Quoted 6 lines
Quoted 3 lines · Rich Lafferty

There any chance of bug report updates going to a hypothetical "linuxppc-bugs" rather than -dev?

Quoted 6 lines
Quoted 2 lines

Seems like a reaonable approach... someone from lists.linuxppc.org
wanna create it?

Ask an ye shall receive. I'll try to get to it in the next couple of days. Do anyone know who to talk to at sourceforge to change where the reports go? Does it need to be a restricted list or general discussion?

Hi Dave,

Thanks much!

Pending the new list... I'll shut down the pipe...

--
Regards,

Tom

--------------------------------------------------------------
Linux Guy "My heart is human, my blood is boiling,
[email protected] my brain IBM" -- Mr Roboto, Styxx

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/