linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* GT64260_eth (Ethernet) Driver
@ 2004-06-20 20:27 Dieu Morales
  2004-06-23 22:39 ` Mark A. Greer
  0 siblings, 1 reply; 21+ messages in thread
From: Dieu Morales @ 2004-06-20 20:27 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1427 bytes --]


Greetings, I am working with the latest 2.6.7 kernel
source on a ppc radstone PPC7A board and was curious
if anyone was in the process or planned on porting the
gt64260_eth driver to support the 2.6.x kernel.

Not being familiar with the gt64260 Ethernet device or
code, I plan to take it line by line. I have attempted
to use the driver from the ppc.bkbits.net 2.4
development tree and currently have only changed the
dev = init_etherdev(dev, sizeof (gt_eth_priv));
to
dev = alloc_etherdev(sizeof (gt_eth_priv_struct ));
Shortly after, when attempting to allocate the Tx and
Rx page buffers, I get an exception in the
uncachedPages function.  I have traced the problem to
the pmd_presentò(*pmd) function in va_to_pte(addr)
returning 0.  I dumped the values of pmd, init_mm, and
pmd in the va_to_pte() and the values seemed O.K., so
I commented out the pmd_presentò(*pmd) check but was
once again stopped by the pte_present(*pte) check.  I
have seen the driver operate under 2.4.26 dev tree
from ppc.bkbits.net where this problem does not occur.
One difference I have noticed is that during
initialization of the 2.6.7 kernel, I do not get the
following output.
Buffer-cache hash table entries:
Page-cache hash table entries:
The filemap.c, where the "Page-cache " printk resides
in 2.4, looks heavily reworked, so I don't suspect
this is an issue?

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* GT64260_eth (Ethernet) Driver
@ 2005-09-19 18:53 Earl Olsen
  0 siblings, 0 replies; 21+ messages in thread
From: Earl Olsen @ 2005-09-19 18:53 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]


Dieu:

I saw that you had a problem with uncachedPages in gt64260_eth.c.
I'm having the same problem you describe.  Did you ever get this
resolved?

Thanks for any help


--
Earl Olsen
Senior Software Engineer
Dilithium Networks, Inc.
TEL:+1 707-792-3925
earl.olsen@dilithiumnetworks.com
www.dilithiumnetworks.com

Communications for a Borderless World

This electronic message from Dilithium Networks contains information
which may be privileged or confidential. It is intended to be for the
use of the recipient(s) named above. If you are not the intended
recipient please return the message to the sender by replying to it and
then delete the message from your computer. Dilithium Networks shall not
be held liable to any person resulting from the use of any information
contained in this e-mail and shall not be liable to any person who acts
or omits to do anything in reliance upon it. Dilithium Networks does not
accept responsibility for changes made to this message after it was
sent.


[-- Attachment #2: Type: text/html, Size: 2178 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread
* GT64260_eth (Ethernet) Driver
@ 2005-09-20 16:02 Earl Olsen
  2005-09-20 17:13 ` Brian Waite
  0 siblings, 1 reply; 21+ messages in thread
From: Earl Olsen @ 2005-09-20 16:02 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 2746 bytes --]


Does anybody know if this issue was solved?
I'm running into the exact same problem with 2.6.10.

Thanks


Dieu Morales wrote:

>Greetings, I am working with the latest 2.6.7 kernel
>source on a ppc radstone PPC7A board and was curious
>if anyone was in the process or planned on porting the
>gt64260_eth driver to support the 2.6.x kernel.
>
>Not being familiar with the gt64260 Ethernet device or
>code, I plan to take it line by line. I have attempted
>to use the driver from the ppc.bkbits.net 2.4
>development tree and currently have only changed the
>dev = init_etherdev(dev, sizeof (gt_eth_priv));
>to
>dev = alloc_etherdev(sizeof (gt_eth_priv_struct ));
>Shortly after, when attempting to allocate the Tx and
>Rx page buffers, I get an exception in the
>uncachedPages function.  I have traced the problem to
>the pmd_presentò(*pmd) function in va_to_pte(addr)
>returning 0.  I dumped the values of pmd, init_mm, and
>pmd in the va_to_pte() and the values seemed O.K., so
>I commented out the pmd_presentò(*pmd) check but was
>once again stopped by the pte_present(*pte) check.  I
>have seen the driver operate under 2.4.26 dev tree
>from ppc.bkbits.net where this problem does not occur.
>One difference I have noticed is that during
>initialization of the 2.6.7 kernel, I do not get the
>following output.
>Buffer-cache hash table entries:
>Page-cache hash table entries:
>The filemap.c, where the "Page-cache " printk resides
>in 2.4, looks heavily reworked, so I don't suspect
>this is an issue?
>
>
Dieu,

You should sync up with Brian Waite (look at CC: list) who has been
looking at writing a new enet driver for the 2.6 kernel using the latest
bridge support code.  You can get a look at the latest support code by
cloning bk://source.mvista.com/linux-2.5-marvell.  Note the the mpsc
driver that's there still isn't working correctly.

Mark


--
Earl Olsen
Senior Software Engineer
Dilithium Networks, Inc.
TEL:+1 707-792-3925
earl.olsen@dilithiumnetworks.com
www.dilithiumnetworks.com

Communications for a Borderless World

This electronic message from Dilithium Networks contains information which may be privileged or confidential. It is intended to be for the use of the recipient(s) named above. If you are not the intended recipient please return the message to the sender by replying to it and then delete the message from your computer. Dilithium Networks shall not be held liable to any person resulting from the use of any information contained in this e-mail and shall not be liable to any person who acts or omits to do anything in reliance upon it. Dilithium Networks does not accept responsibility for changes made to this message after it was sent.


[-- Attachment #2: Type: text/html, Size: 4432 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2005-09-20 18:31 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-20 20:27 GT64260_eth (Ethernet) Driver Dieu Morales
2004-06-23 22:39 ` Mark A. Greer
2004-06-24  8:37   ` David Woodhouse
2004-06-24 11:23     ` Brian Waite
2004-06-24 18:46     ` Mark A. Greer
2004-06-24 19:02       ` Mark A. Greer
2004-06-25  7:10       ` David Woodhouse
2004-06-25 22:05         ` Mark A. Greer
2004-06-25 23:43           ` David Woodhouse
2004-06-26  0:07             ` Mark A. Greer
2004-06-26  0:41               ` Paul Mackerras
2004-06-26  1:47                 ` Mark A. Greer
2004-07-29  3:19                   ` Dieu Morales
2004-07-29 17:28                     ` Mark A. Greer
2004-06-29 14:08               ` David Woodhouse
2004-06-29 15:23                 ` BAT mapping Linh Dang
2004-06-29 17:59                   ` Linh Dang
  -- strict thread matches above, loose matches on Subject: below --
2005-09-19 18:53 GT64260_eth (Ethernet) Driver Earl Olsen
2005-09-20 16:02 Earl Olsen
2005-09-20 17:13 ` Brian Waite
2005-09-20 18:32   ` Mark A. Greer

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).