* BMAC driver issue addressed? @ 2000-10-30 17:31 Jim Blackburn 2000-10-30 18:22 ` Joseph P. Garcia 0 siblings, 1 reply; 4+ messages in thread From: Jim Blackburn @ 2000-10-30 17:31 UTC (permalink / raw) To: linuxppc-dev Hi all: I experience the infamous problems with the bmac driver on my beige g3 minitower. A while back there was talk of analyzing Darwin's workaround for the bmac's hardware issues and implementing that into Linux's kernel. Has anyone taken on this project since that discussion, or has it been shuffled down to the bottom of the deck in light of more pressing issues with the kernel? -- Jim Blackburn blackbjm@jmu.edu ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: BMAC driver issue addressed? 2000-10-30 17:31 BMAC driver issue addressed? Jim Blackburn @ 2000-10-30 18:22 ` Joseph P. Garcia 2000-10-30 18:57 ` Benjamin Herrenschmidt 0 siblings, 1 reply; 4+ messages in thread From: Joseph P. Garcia @ 2000-10-30 18:22 UTC (permalink / raw) To: Jim Blackburn; +Cc: linuxppc-dev Jim Blackburn wrote: > > Hi all: > > I experience the infamous problems with the bmac driver on my beige g3 > minitower. A while back there was talk of analyzing Darwin's workaround for > the bmac's hardware issues and implementing that into Linux's kernel. Has > anyone taken on this project since that discussion, or has it been shuffled > down to the bottom of the deck in light of more pressing issues with the > kernel? By which i think you mean the collide-with-self with 100k/s max Xfer w/ errors? I'd still like to see it fixed :) I tried to fix it at one point, but didnt get far. My code only caused the kernel to panic, but I should mention, it panicked whenever it would normally have stalled or collided. Looking closer, it would appear that what I was doing, which was ignoring packets that aren't for us or our Masq, seems to be already done in the Linux kernel. maybe my implementation was doing something different and more correct, save the panic. Looking at the darwin kernel, which is where I got the idea, It looks like it was doing it for a particular revision of the motherboard, which I remember calling 0x10. My PDQ i think is a 0x17, and I had the pleasure of running my Linux setup on a 0x10 at one point. the 0x10 did not have the collision problem in linux, while my 0x17 does. the value refers to some value somewhere in the device tree. im sure you can find it after looking at where Darwin gets it. it might be /proc/device-tree/pci/mac-io/device-id (lsprop) I'm still puzzled about the whole thing, like if Darwin is filtering those packets we should be ignoring anyway, and Linux does too, Is this really the problem? And what was it I was really doing those months ago? (sorry, i lost my old code) I recall using standard things in the kernel. just one acception added that was in the case of it should have been ignored by the chip. According to the ppclinux sourceforge bug tracker, the problem was fixed for a patched kernel or two. <shrug> Corrections? Comments? -- Joseph P. Garcia jpgarcia@execpc.com jpgarcia@lidar.ssec.wisc.edu CS Undergraduate Student Employee - Systems Programmer University of Wisconsin - Madison UW Lidar Group ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: BMAC driver issue addressed? 2000-10-30 18:22 ` Joseph P. Garcia @ 2000-10-30 18:57 ` Benjamin Herrenschmidt 2000-10-30 20:12 ` Wolfgang Denk 0 siblings, 1 reply; 4+ messages in thread From: Benjamin Herrenschmidt @ 2000-10-30 18:57 UTC (permalink / raw) To: Joseph P. Garcia, linuxppc-dev > >I'm still puzzled about the whole thing, like if Darwin is filtering those >packets we should be ignoring anyway, and Linux does too, Is this really the >problem? And what was it I was really doing those months ago? (sorry, i lost >my old code) I recall using standard things in the kernel. just one >acception >added that was in the case of it should have been ignored by the chip. > >According to the ppclinux sourceforge bug tracker, the problem was fixed for a >patched kernel or two. <shrug> I think the filter problem is related to a bogus multicast filter or something like that. There is another problem, which is documented in Darwin, and which cause the chip to corrupt packets in the chip's send queue when there's a collision. The workaround they use is to send additional packet datas to the chip from the chip send interrupt instead of the DBDMA interrupt, thus preventing more than 1 packet to be queued in the chip. ben ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: BMAC driver issue addressed? 2000-10-30 18:57 ` Benjamin Herrenschmidt @ 2000-10-30 20:12 ` Wolfgang Denk 0 siblings, 0 replies; 4+ messages in thread From: Wolfgang Denk @ 2000-10-30 20:12 UTC (permalink / raw) To: Benjamin Herrenschmidt; +Cc: Joseph P. Garcia, linuxppc-dev In message <19340924122936.4247@192.168.1.2> you wrote: > > something like that. There is another problem, which is documented in > Darwin, and which cause the chip to corrupt packets in the chip's send > queue when there's a collision. The workaround they use is to send > additional packet datas to the chip from the chip send interrupt instead > of the DBDMA interrupt, thus preventing more than 1 packet to be queued > in the chip. Has this been ever implemented in the Linxu BMAC driver? All kernel versiosn I've tested so far still suffer from that problem. I'd be more than happy if there was a fix available... Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de You can observe a lot just by watchin'. - Yogi Berra ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-10-30 20:12 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2000-10-30 17:31 BMAC driver issue addressed? Jim Blackburn 2000-10-30 18:22 ` Joseph P. Garcia 2000-10-30 18:57 ` Benjamin Herrenschmidt 2000-10-30 20:12 ` Wolfgang Denk
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).