* MV643xx Ethernet Driver Issue on a Motorola PrPMC-275 board. @ 2008-07-29 17:49 Chris Larson 2008-07-30 23:56 ` Lennert Buytenhek 0 siblings, 1 reply; 4+ messages in thread From: Chris Larson @ 2008-07-29 17:49 UTC (permalink / raw) To: netdev Greetings, I was wondering if anyone had any advice on an issue a customer of ours is running into. When they run a series of bandwidth tests, slowly increasing the bandwidth & # of tcp connections to roughly 30Mbit at 4000 connections, their machine panics. An address passed to dma_unmap_single is beyond lowmem, as though it was corrupted in some fashion. The address is the data pointer in the ethernet dma descriptors, it pulls a descriptor out of the ring in the packet receipt functions and at that point the address is wrong. Nowhere in the driver is a descriptor set up with that address, yet the datasheet on the mv643xx doesn't seem to indicate that the dma engine ever writes to the descriptors themselves, only to the data they point to (as you'd expect). Does anyone have any ideas on this? I'm afraid that I'm a bit out of my depth on this issue. The architecture is ppc. Thanks. -- Chris Larson clarson at kergoth dot com clarson at mvista dot com Software Engineer MontaVista Software, Inc. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MV643xx Ethernet Driver Issue on a Motorola PrPMC-275 board. 2008-07-29 17:49 MV643xx Ethernet Driver Issue on a Motorola PrPMC-275 board Chris Larson @ 2008-07-30 23:56 ` Lennert Buytenhek 2008-07-31 16:44 ` Chris Larson 0 siblings, 1 reply; 4+ messages in thread From: Lennert Buytenhek @ 2008-07-30 23:56 UTC (permalink / raw) To: Chris Larson; +Cc: netdev On Tue, Jul 29, 2008 at 10:49:09AM -0700, Chris Larson wrote: > I was wondering if anyone had any advice on an issue a customer of ours > is running into. When they run a series of bandwidth tests, slowly > increasing the bandwidth & # of tcp connections to roughly 30Mbit at > 4000 connections, their machine panics. An address passed to > dma_unmap_single is beyond lowmem, as though it was corrupted in some > fashion. The address is the data pointer in the ethernet dma > descriptors, it pulls a descriptor out of the ring in the packet receipt > functions and at that point the address is wrong. Nowhere in the driver > is a descriptor set up with that address, yet the datasheet on the > mv643xx doesn't seem to indicate that the dma engine ever writes to the > descriptors themselves, only to the data they point to (as you'd > expect). Does anyone have any ideas on this? I'm afraid that I'm a bit > out of my depth on this issue. The architecture is ppc. I've never seen this happen. Which kernel version is this on? ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MV643xx Ethernet Driver Issue on a Motorola PrPMC-275 board. 2008-07-30 23:56 ` Lennert Buytenhek @ 2008-07-31 16:44 ` Chris Larson 2008-07-31 17:48 ` Lennert Buytenhek 0 siblings, 1 reply; 4+ messages in thread From: Chris Larson @ 2008-07-31 16:44 UTC (permalink / raw) To: Lennert Buytenhek; +Cc: netdev Lennert Buytenhek wrote: > On Tue, Jul 29, 2008 at 10:49:09AM -0700, Chris Larson wrote: >> was wondering if anyone had any advice on an issue a customer of ours >> is running into. When they run a series of bandwidth tests, slowly >> increasing the bandwidth & # of tcp connections to roughly 30Mbit at >> 4000 connections, their machine panics. An address passed to >> dma_unmap_single is beyond lowmem, as though it was corrupted in some >> fashion. The address is the data pointer in the ethernet dma >> descriptors, it pulls a descriptor out of the ring in the packet receipt >> functions and at that point the address is wrong. Nowhere in the driver >> is a descriptor set up with that address, yet the datasheet on the >> mv643xx doesn't seem to indicate that the dma engine ever writes to the >> descriptors themselves, only to the data they point to (as you'd >> expect). Does anyone have any ideas on this? I'm afraid that I'm a bit >> out of my depth on this issue. The architecture is ppc. >> > > I've never seen this happen. Which kernel version is this on? > One of MontaVista's 2.6.10 trees, too heavily modified to be of much use to you, I'm certain. Most of the recent mv643xx patches are in our tree, as one of our developers was the old maintainer. It doesn't occur in 2.4, not that that's very helpful :) I can try to reproduce with a more recent tree and let you know. Thanks for your time. -- Chris Larson clarson at kergoth dot com clarson at mvista dot com Software Engineer MontaVista Software, Inc. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MV643xx Ethernet Driver Issue on a Motorola PrPMC-275 board. 2008-07-31 16:44 ` Chris Larson @ 2008-07-31 17:48 ` Lennert Buytenhek 0 siblings, 0 replies; 4+ messages in thread From: Lennert Buytenhek @ 2008-07-31 17:48 UTC (permalink / raw) To: Chris Larson; +Cc: netdev On Thu, Jul 31, 2008 at 09:44:17AM -0700, Chris Larson wrote: > >> was wondering if anyone had any advice on an issue a customer of ours > >>is running into. When they run a series of bandwidth tests, slowly > >>increasing the bandwidth & # of tcp connections to roughly 30Mbit at > >>4000 connections, their machine panics. An address passed to > >>dma_unmap_single is beyond lowmem, as though it was corrupted in some > >>fashion. The address is the data pointer in the ethernet dma > >>descriptors, it pulls a descriptor out of the ring in the packet receipt > >>functions and at that point the address is wrong. Nowhere in the driver > >>is a descriptor set up with that address, yet the datasheet on the > >>mv643xx doesn't seem to indicate that the dma engine ever writes to the > >>descriptors themselves, only to the data they point to (as you'd > >>expect). Does anyone have any ideas on this? I'm afraid that I'm a bit > >>out of my depth on this issue. The architecture is ppc. > >> > > > >I've never seen this happen. Which kernel version is this on? > > > One of MontaVista's 2.6.10 trees, too heavily modified to be of much use > to you, I'm certain. Most of the recent mv643xx patches are in our tree, > as one of our developers was the old maintainer. Right. Well, for what it's worth, I've never seen something like this happening, but I've only tested ARM, and I only started looking at mv643xx_eth in the ~ 2.6.25 timeframe, so that might not say much. > It doesn't occur in 2.4, not that that's very helpful :) That would probably be an entirely different driver, wouldn't it? :) > I can try to reproduce with a more recent tree and let you know. > Thanks for your time. If you can reproduce it, I would certainly be interested if you could reproduce it on, say, 2.6.25 or later, since those versions work for me. thanks, Lennert ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-07-31 17:48 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-07-29 17:49 MV643xx Ethernet Driver Issue on a Motorola PrPMC-275 board Chris Larson 2008-07-30 23:56 ` Lennert Buytenhek 2008-07-31 16:44 ` Chris Larson 2008-07-31 17:48 ` Lennert Buytenhek
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).