kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Need help EHCI host driver on Linux 2.6.29
@ 2010-12-21 23:18 CL Lee
  2010-12-22  4:38 ` Greg KH
  2010-12-22  5:16 ` Syed Khader
  0 siblings, 2 replies; 4+ messages in thread
From: CL Lee @ 2010-12-21 23:18 UTC (permalink / raw)
  To: kernelnewbies

Dear Experts,

I am developing a EHCI host driver for Linux kernel 2.6.29 on a proprietary SoC. But for weeks now, I am troubleshooting a time out error from khubd.

I believe it's related to the client device not being able to update the qtd struct which has been set at some Dma addresses, say 0x87xxxxxx. Is this possible?

The main issue is the register address for chip lies in 0x5a800000 range, so is the on-chip memory. If I set the qtd structs to on chip memory(internal sram), kernel paging error will occur. 

So I am at a loss of what I can. Please kindly advise.

Best regards,
CL

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

* Need help EHCI host driver on Linux 2.6.29
  2010-12-21 23:18 Need help EHCI host driver on Linux 2.6.29 CL Lee
@ 2010-12-22  4:38 ` Greg KH
  2010-12-22  5:16 ` Syed Khader
  1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2010-12-22  4:38 UTC (permalink / raw)
  To: kernelnewbies

On Wed, Dec 22, 2010 at 07:18:35AM +0800, CL Lee wrote:
> Dear Experts,
> 
> I am developing a EHCI host driver for Linux kernel 2.6.29 on a
> proprietary SoC. But for weeks now, I am troubleshooting a time out
> error from khubd.

Ick, you do realize how old 2.6.29 is, right?  It's many years old, and
way out of date and unsupported.  If you are stuck with it, you are on
your own, sorry.

> I believe it's related to the client device not being able to update
> the qtd struct which has been set at some Dma addresses, say
> 0x87xxxxxx. Is this possible?
> 
> The main issue is the register address for chip lies in 0x5a800000
> range, so is the on-chip memory. If I set the qtd structs to on chip
> memory(internal sram), kernel paging error will occur. 
> 
> So I am at a loss of what I can. Please kindly advise.

Care to try your driver out on .36 or .37-rc6? and post your code?
Without that, there's not much we can do, sorry.

good luck,

greg k-h

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

* Need help EHCI host driver on Linux 2.6.29
  2010-12-21 23:18 Need help EHCI host driver on Linux 2.6.29 CL Lee
  2010-12-22  4:38 ` Greg KH
@ 2010-12-22  5:16 ` Syed Khader
  2010-12-22 16:06   ` Bharath H S
  1 sibling, 1 reply; 4+ messages in thread
From: Syed Khader @ 2010-12-22  5:16 UTC (permalink / raw)
  To: kernelnewbies

On Tue, Dec 21, 2010 at 5:18 PM, CL Lee <pelangi15@gmail.com> wrote:
> Dear Experts,
>
> I am developing a EHCI host driver for Linux kernel 2.6.29 on a proprietary SoC. But for weeks now, I am troubleshooting a time out error from khubd.
>
Which SoC? what arch? What is the error message you see?
> I believe it's related to the client device not being able to update the qtd struct which has been set at some Dma addresses, say 0x87xxxxxx. Is this possible?
>
are you referring to qtd_dma in qdt_struct?
> The main issue is the register address for chip lies in 0x5a800000 range, so is the on-chip memory. If I set the qtd structs to on chip memory(internal sram), kernel paging error will occur.
>
If this register address range are actual hw addresses, then yes you
will see kernel paging error, unless you have ioremapped them.

-syed

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

* Need help EHCI host driver on Linux 2.6.29
  2010-12-22  5:16 ` Syed Khader
@ 2010-12-22 16:06   ` Bharath H S
  0 siblings, 0 replies; 4+ messages in thread
From: Bharath H S @ 2010-12-22 16:06 UTC (permalink / raw)
  To: kernelnewbies

Hi CL Lee,
I agree with Greg. The bug what you have encountered may have been fixed in
latest kernels .36 or .37-rc.
>> I am developing a EHCI host driver for Linux kernel 2.6.29 on a
proprietary SoC. But for weeks now, I am troubleshooting a time out error
from khubd.
The arch should be one which linux supports. Also, if it is proprietary Soc
make sure you have the mach-<machine> directory in arch folder.


*- Bharath H S*



On Wed, Dec 22, 2010 at 10:46 AM, Syed Khader <sk.syed2@gmail.com> wrote:

> On Tue, Dec 21, 2010 at 5:18 PM, CL Lee <pelangi15@gmail.com> wrote:
> > Dear Experts,
> >
> > I am developing a EHCI host driver for Linux kernel 2.6.29 on a
> proprietary SoC. But for weeks now, I am troubleshooting a time out error
> from khubd.
> >
> Which SoC? what arch? What is the error message you see?
> > I believe it's related to the client device not being able to update the
> qtd struct which has been set at some Dma addresses, say 0x87xxxxxx. Is this
> possible?
> >
> are you referring to qtd_dma in qdt_struct?
> > The main issue is the register address for chip lies in 0x5a800000 range,
> so is the on-chip memory. If I set the qtd structs to on chip
> memory(internal sram), kernel paging error will occur.
> >
> If this register address range are actual hw addresses, then yes you
> will see kernel paging error, unless you have ioremapped them.
>
> -syed
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20101222/fa1fa7e3/attachment.html 

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

end of thread, other threads:[~2010-12-22 16:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-21 23:18 Need help EHCI host driver on Linux 2.6.29 CL Lee
2010-12-22  4:38 ` Greg KH
2010-12-22  5:16 ` Syed Khader
2010-12-22 16:06   ` Bharath H S

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