Re: MUSB ISSUE on OMAP3530 with USB-2-Ethernet converter

2009-06-19 Thread David Brownell
On Thursday 04 June 2009, Remith Ravi wrote:
> Hi,
> 
> Anybody had a chance to attend this issue? Any hint to solve the problem?
> 
> The ASIX AX88772A USB2.0 Fast Ethernet Network Adapter Linux driver
> available in Asix website supports only upto Linux 2.6.26.
> I integrated that driver into the git kernel and tested it on the
> OMAP35xx dev board (EHCI port). The driver detects the presence of
> USB-2-Ethernet
> converter and it is possible to assign ip address to the new Ethernet
> interface. But the ping test fails  (ping statistics ---
> 40 packets transmitted, 0 packets received, 100% packet loss) and
> therefore I cant continue testing it on the latest git kernel.

That worked OK for me the last time I hooked up one of those adapters
to a 3430 (essentially the same as a 3530).



> 
> Any help towards solving this issue will be highly appreciated.
> 
> Regards,
> Remith
> 
> 
> On Fri, May 29, 2009 at 7:46 PM, umesh krishnan  wrote:
> > Hi,
> >
> > Any help on the below-said musb-issue?
> >
> >
> > -- Forwarded message ------
> > From: Felipe Balbi 
> > Date: Fri, May 29, 2009 at 3:10 PM
> > Subject: Re: MUSB ISSUE on OMAP3530 with USB-2-Ethernet converter
> > To: ext umesh krishnan 
> > Cc: "linux-omap@vger.kernel.org" ,
> > linux-...@vger.kernel.org
> >
> >
> > Hi,
> >
> > musb should be discussed in linux-usb, but keep linux-omap as Cc.
> > unfortunately I don't have time to help community now due to internal
> > tasks I gotta finish, but I'm sure there's more people in linux-usb that
> > could help you with it.
> >
> > On Fri, May 29, 2009 at 11:24:37AM +0200, ext umesh krishnan wrote:
> >> Greetings,
> >>
> >> I am facing issues while using Asix's AX88772A USB-2-Ethernet
> >> converter on my OMAP3530 based product. It uses TI's 2.6.22.18 PSP
> >> release-1.0.2 as its OS. The driver for AX8877A was taken from Asix's
> >> website.
> >
> > This is one problem, community can only support you with the current
> > version of the open source kernel. Meaning you should try with
> > linux-omap-2.6.git or linux-2.6.git.
> >
> >> I am facing kernel crashes when I use the converter on USB OTG port. I
> >> am able to get the device detected and also able to assign the ip to
> >> the device. But when i repeat the process after plugging-out and
> >> plugging-in again and then assigning the ip address , after repeating
> >> the process about 9 times, the kernel crashes(when i assign the ip). I
> >> tried testing by configuring the musb driver into both OTG and Host
> >> only mode. Kernel crashed in both cases. Crash log is attached.
> >
> > (keeping the crash below for reference)
> >
> >> -
> >> eth1: unregister 'asix' usb-musb_hdrc.0-1, ASIX AX88772A USB 2.0 Ethernet
> >> musb_stage0_irq 699: CONNECT (a_host) devctl 5d
> >> usb 1-1: new high speed USB device using musb_hdrc and address 3
> >> usb 1-1: Product: AX88x72A
> >> usb 1-1: Manufacturer: ASIX Elec. Corp.
> >> usb 1-1: SerialNumber: 01
> >> usb 1-1: configuration #1 chosen from 1 choice
> >> eth1: register 'asix' at usb-musb_hdrc.0-1, ASIX AX88772A USB 2.0
> >> Ethernet, 00:0e:c6:00:0f:97
> >>
> >> [r...@omap3 /]# ping 192.168.13.1
> >> [r...@omap3 /]# ifconfig eth1 192.168.13.254
> >> Unable to handle kernel NULL pointer dereference at virtual address 
> >> 001c
> >> pgd = c719
> >> [001c] *pgd=8706b031, *pte=, *ppte=
> >> Internal error: Oops: 17 [#1]
> >> Modules linked in:
> >> CPU: 0    Not tainted  (2.6.22.18-omap3 #1)
> >> PC is at musb_start_urb+0x74/0x9b0
> >> LR is at __init_begin+0x3fff8000/0x30
> >> pc : []    lr : [<>]    psr: 6093
> >> sp : c706fc18  ip : c059d1ec  fp : c706fcb4
> >> r10: 0020  r9 :   r8 : c059d000
> >> r7 : c713e120  r6 : c059d1ec  r5 : c059d0d8  r4 : c7f9a9e0
> >> r3 :   r2 :   r1 : c7f9a9e0  r0 : c059d1ec
> >> Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  Segment user
> >> Control: 00c5387f  Table: 87190018  DAC: 0015
> >> Process ifconfig (pid: 407, stack limit = 0xc706e2d8)
> >> Stack: (0xc706fc18 to 0xc707)
> >> fc00:                                                       00

Re: MUSB ISSUE on OMAP3530 with USB-2-Ethernet converter

2009-06-04 Thread Felipe Balbi
On Thu, Jun 04, 2009 at 12:12:04PM +0200, ext Remith Ravi wrote:
> Hi,
> 
> Anybody had a chance to attend this issue? Any hint to solve the problem?
> 
> The ASIX AX88772A USB2.0 Fast Ethernet Network Adapter Linux driver
> available in Asix website supports only upto Linux 2.6.26.
> I integrated that driver into the git kernel and tested it on the
> OMAP35xx dev board (EHCI port). The driver detects the presence of
> USB-2-Ethernet
> converter and it is possible to assign ip address to the new Ethernet
> interface. But the ping test fails  (ping statistics ---
> 40 packets transmitted, 0 packets received, 100% packet loss) and
> therefore I cant continue testing it on the latest git kernel.
> 
> Any help towards solving this issue will be highly appreciated.

sorry, we can't support you with such an old kernel. You have to
fallback to the company who provided you the kernel.

-- 
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: MUSB ISSUE on OMAP3530 with USB-2-Ethernet converter

2009-06-04 Thread Remith Ravi
Hi,

Anybody had a chance to attend this issue? Any hint to solve the problem?

The ASIX AX88772A USB2.0 Fast Ethernet Network Adapter Linux driver
available in Asix website supports only upto Linux 2.6.26.
I integrated that driver into the git kernel and tested it on the
OMAP35xx dev board (EHCI port). The driver detects the presence of
USB-2-Ethernet
converter and it is possible to assign ip address to the new Ethernet
interface. But the ping test fails  (ping statistics ---
40 packets transmitted, 0 packets received, 100% packet loss) and
therefore I cant continue testing it on the latest git kernel.

Any help towards solving this issue will be highly appreciated.

Regards,
Remith


On Fri, May 29, 2009 at 7:46 PM, umesh krishnan  wrote:
> Hi,
>
> Any help on the below-said musb-issue?
>
>
> -- Forwarded message --
> From: Felipe Balbi 
> Date: Fri, May 29, 2009 at 3:10 PM
> Subject: Re: MUSB ISSUE on OMAP3530 with USB-2-Ethernet converter
> To: ext umesh krishnan 
> Cc: "linux-omap@vger.kernel.org" ,
> linux-...@vger.kernel.org
>
>
> Hi,
>
> musb should be discussed in linux-usb, but keep linux-omap as Cc.
> unfortunately I don't have time to help community now due to internal
> tasks I gotta finish, but I'm sure there's more people in linux-usb that
> could help you with it.
>
> On Fri, May 29, 2009 at 11:24:37AM +0200, ext umesh krishnan wrote:
>> Greetings,
>>
>> I am facing issues while using Asix's AX88772A USB-2-Ethernet
>> converter on my OMAP3530 based product. It uses TI's 2.6.22.18 PSP
>> release-1.0.2 as its OS. The driver for AX8877A was taken from Asix's
>> website.
>
> This is one problem, community can only support you with the current
> version of the open source kernel. Meaning you should try with
> linux-omap-2.6.git or linux-2.6.git.
>
>> I am facing kernel crashes when I use the converter on USB OTG port. I
>> am able to get the device detected and also able to assign the ip to
>> the device. But when i repeat the process after plugging-out and
>> plugging-in again and then assigning the ip address , after repeating
>> the process about 9 times, the kernel crashes(when i assign the ip). I
>> tried testing by configuring the musb driver into both OTG and Host
>> only mode. Kernel crashed in both cases. Crash log is attached.
>
> (keeping the crash below for reference)
>
>> -
>> eth1: unregister 'asix' usb-musb_hdrc.0-1, ASIX AX88772A USB 2.0 Ethernet
>> musb_stage0_irq 699: CONNECT (a_host) devctl 5d
>> usb 1-1: new high speed USB device using musb_hdrc and address 3
>> usb 1-1: Product: AX88x72A
>> usb 1-1: Manufacturer: ASIX Elec. Corp.
>> usb 1-1: SerialNumber: 01
>> usb 1-1: configuration #1 chosen from 1 choice
>> eth1: register 'asix' at usb-musb_hdrc.0-1, ASIX AX88772A USB 2.0
>> Ethernet, 00:0e:c6:00:0f:97
>>
>> [r...@omap3 /]# ping 192.168.13.1
>> [r...@omap3 /]# ifconfig eth1 192.168.13.254
>> Unable to handle kernel NULL pointer dereference at virtual address 001c
>> pgd = c719
>> [001c] *pgd=8706b031, *pte=, *ppte=
>> Internal error: Oops: 17 [#1]
>> Modules linked in:
>> CPU: 0    Not tainted  (2.6.22.18-omap3 #1)
>> PC is at musb_start_urb+0x74/0x9b0
>> LR is at __init_begin+0x3fff8000/0x30
>> pc : []    lr : [<>]    psr: 6093
>> sp : c706fc18  ip : c059d1ec  fp : c706fcb4
>> r10: 0020  r9 :   r8 : c059d000
>> r7 : c713e120  r6 : c059d1ec  r5 : c059d0d8  r4 : c7f9a9e0
>> r3 :   r2 :   r1 : c7f9a9e0  r0 : c059d1ec
>> Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  Segment user
>> Control: 00c5387f  Table: 87190018  DAC: 0015
>> Process ifconfig (pid: 407, stack limit = 0xc706e2d8)
>> Stack: (0xc706fc18 to 0xc707)
>> fc00:                                                       0020 0020
>> fc20: c706fc44 c706fc30 c02180b4 c02174ec c05c0a00  c706fc64 c03e4464
>> fc40: c7f9a9e0  c059d0d8 c713e128 c8808000  c059d1ec c706fc68
>> fc60: c0087f24 c00351dc 005c c03e4464 c706fc9c c706fc80 c002b04c c00688a4
>> fc80:  d820 c059d000 c7f9a9e0 c059d0d8 c059d1ec c713e120 c059d000
>> fca0:  0020 c706fcf4 c706fcb8 c021a874 c0219a5c c059d000 c713e120
>> fcc0: a013 0020 0020 871cfa20 c05a1034 c059d000 c713e120 c713e128
>> fce0: 0020 0020 c706fdbc c706fcf8 c01f8e34 c021a520 c706fd1c c706fd08
>> fd00: c02180b4 c02174e

Re: MUSB ISSUE on OMAP3530 with USB-2-Ethernet converter

2009-05-29 Thread Felipe Balbi
Hi,

musb should be discussed in linux-usb, but keep linux-omap as Cc.
unfortunately I don't have time to help community now due to internal
tasks I gotta finish, but I'm sure there's more people in linux-usb that
could help you with it.

On Fri, May 29, 2009 at 11:24:37AM +0200, ext umesh krishnan wrote:
> Greetings,
> 
> I am facing issues while using Asix's AX88772A USB-2-Ethernet
> converter on my OMAP3530 based product. It uses TI's 2.6.22.18 PSP
> release-1.0.2 as its OS. The driver for AX8877A was taken from Asix's
> website.

This is one problem, community can only support you with the current
version of the open source kernel. Meaning you should try with
linux-omap-2.6.git or linux-2.6.git.

> I am facing kernel crashes when I use the converter on USB OTG port. I
> am able to get the device detected and also able to assign the ip to
> the device. But when i repeat the process after plugging-out and
> plugging-in again and then assigning the ip address , after repeating
> the process about 9 times, the kernel crashes(when i assign the ip). I
> tried testing by configuring the musb driver into both OTG and Host
> only mode. Kernel crashed in both cases. Crash log is attached.

(keeping the crash below for reference)

> -
> eth1: unregister 'asix' usb-musb_hdrc.0-1, ASIX AX88772A USB 2.0 Ethernet
> musb_stage0_irq 699: CONNECT (a_host) devctl 5d
> usb 1-1: new high speed USB device using musb_hdrc and address 3
> usb 1-1: Product: AX88x72A
> usb 1-1: Manufacturer: ASIX Elec. Corp.
> usb 1-1: SerialNumber: 01
> usb 1-1: configuration #1 chosen from 1 choice
> eth1: register 'asix' at usb-musb_hdrc.0-1, ASIX AX88772A USB 2.0
> Ethernet, 00:0e:c6:00:0f:97
> 
> [r...@omap3 /]# ping 192.168.13.1
> [r...@omap3 /]# ifconfig eth1 192.168.13.254
> Unable to handle kernel NULL pointer dereference at virtual address 001c
> pgd = c719
> [001c] *pgd=8706b031, *pte=, *ppte=
> Internal error: Oops: 17 [#1]
> Modules linked in:
> CPU: 0Not tainted  (2.6.22.18-omap3 #1)
> PC is at musb_start_urb+0x74/0x9b0
> LR is at __init_begin+0x3fff8000/0x30
> pc : []lr : [<>]psr: 6093
> sp : c706fc18  ip : c059d1ec  fp : c706fcb4
> r10: 0020  r9 :   r8 : c059d000
> r7 : c713e120  r6 : c059d1ec  r5 : c059d0d8  r4 : c7f9a9e0
> r3 :   r2 :   r1 : c7f9a9e0  r0 : c059d1ec
> Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  Segment user
> Control: 00c5387f  Table: 87190018  DAC: 0015
> Process ifconfig (pid: 407, stack limit = 0xc706e2d8)
> Stack: (0xc706fc18 to 0xc707)
> fc00:   0020 0020
> fc20: c706fc44 c706fc30 c02180b4 c02174ec c05c0a00  c706fc64 c03e4464
> fc40: c7f9a9e0  c059d0d8 c713e128 c8808000  c059d1ec c706fc68
> fc60: c0087f24 c00351dc 005c c03e4464 c706fc9c c706fc80 c002b04c c00688a4
> fc80:  d820 c059d000 c7f9a9e0 c059d0d8 c059d1ec c713e120 c059d000
> fca0:  0020 c706fcf4 c706fcb8 c021a874 c0219a5c c059d000 c713e120
> fcc0: a013 0020 0020 871cfa20 c05a1034 c059d000 c713e120 c713e128
> fce0: 0020 0020 c706fdbc c706fcf8 c01f8e34 c021a520 c706fd1c c706fd08
> fd00: c02180b4 c02174ec c05c0a00  c706fd3c c03e4464 005c 
> fd20: c06753a0 0098 0020  c706fd54 c706fd40 c0087f24 c00351dc
> fd40: 005c c03e4464 c706fd74 c706fd58 c002b04c c00688a4  d820
> fd60:  c06753a0 c706fdfc c706fd78 c002ba30 c002b00c c713e120 0020
> fd80: 8300  c713e120 c713e120  c713e120 0040 c05a1000
> fda0: 0002 0001 0020  c706fdfc c706fdc0 c01f9304 c01f8680
> fdc0: c706fde4 c706fdd0 c01f93cc c0169ff8 c713e120 c71cfa20 c713e120 
> fde0: c06753a0 0098 0010  c706fe2c c706fe00 c01ae8b8 c01f904c
> fe00:   c0675458 c0675000 0002 c06753a0 c0675000 c067330c
> fe20: c706fe5c c706fe30 c01aec44 c01ae7e8   c006f7f4 c0675000
> fe40: 1043 1002  be9b29c8 c706fe6c c706fe60 c0280040 c01aeb68
> fe60: c706fe84 c706fe70 c02801fc c0280018 c0675000 1043 c706fea4 c706fe88
> fe80: c027b660 c02801e4 c7f9abe0  c706fec0 c0673300 c706ff0c c706fea8
> fea0: c02b76d8 c027b600 8914  31687465   
> fec0: 1043 fe0da8c0 0001 00097c86 1043 fe0da8c0 0001 00097c86
> fee0: 1002 8914 8914 be9b29c8 c05a3260 c002bfe8 c706e000 
> ff00: c706ff1c c706ff10 c02b7f4c c02b7434 c706ff3c c706ff20 c027086c c02b7e8c
> ff20: 8914 be9b29c8 0003 c05a3260 c706ff54 c706ff40 c00b36d0 c0270698
> ff40: c05a3260 be9b29c8 c706ff7c c706ff58 c00b3974 c00b36a8 000b9040 be9b2e45
> ff60: 0003 be9b29c8 8914 c05a3260 c706ffa4 c706ff80 c00b39cc c00b3720
> ff80:   000a0112 000

MUSB ISSUE on OMAP3530 with USB-2-Ethernet converter

2009-05-29 Thread umesh krishnan
Greetings,

I am facing issues while using Asix's AX88772A USB-2-Ethernet
converter on my OMAP3530 based product. It uses TI's 2.6.22.18 PSP
release-1.0.2 as its OS. The driver for AX8877A was taken from Asix's
website.

I am facing kernel crashes when I use the converter on USB OTG port. I
am able to get the device detected and also able to assign the ip to
the device. But when i repeat the process after plugging-out and
plugging-in again and then assigning the ip address , after repeating
the process about 9 times, the kernel crashes(when i assign the ip). I
tried testing by configuring the musb driver into both OTG and Host
only mode. Kernel crashed in both cases. Crash log is attached.

-
eth1: unregister 'asix' usb-musb_hdrc.0-1, ASIX AX88772A USB 2.0 Ethernet
musb_stage0_irq 699: CONNECT (a_host) devctl 5d
usb 1-1: new high speed USB device using musb_hdrc and address 3
usb 1-1: Product: AX88x72A
usb 1-1: Manufacturer: ASIX Elec. Corp.
usb 1-1: SerialNumber: 01
usb 1-1: configuration #1 chosen from 1 choice
eth1: register 'asix' at usb-musb_hdrc.0-1, ASIX AX88772A USB 2.0
Ethernet, 00:0e:c6:00:0f:97

[r...@omap3 /]# ping 192.168.13.1
[r...@omap3 /]# ifconfig eth1 192.168.13.254
Unable to handle kernel NULL pointer dereference at virtual address 001c
pgd = c719
[001c] *pgd=8706b031, *pte=, *ppte=
Internal error: Oops: 17 [#1]
Modules linked in:
CPU: 0Not tainted  (2.6.22.18-omap3 #1)
PC is at musb_start_urb+0x74/0x9b0
LR is at __init_begin+0x3fff8000/0x30
pc : []lr : [<>]psr: 6093
sp : c706fc18  ip : c059d1ec  fp : c706fcb4
r10: 0020  r9 :   r8 : c059d000
r7 : c713e120  r6 : c059d1ec  r5 : c059d0d8  r4 : c7f9a9e0
r3 :   r2 :   r1 : c7f9a9e0  r0 : c059d1ec
Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  Segment user
Control: 00c5387f  Table: 87190018  DAC: 0015
Process ifconfig (pid: 407, stack limit = 0xc706e2d8)
Stack: (0xc706fc18 to 0xc707)
fc00:   0020 0020
fc20: c706fc44 c706fc30 c02180b4 c02174ec c05c0a00  c706fc64 c03e4464
fc40: c7f9a9e0  c059d0d8 c713e128 c8808000  c059d1ec c706fc68
fc60: c0087f24 c00351dc 005c c03e4464 c706fc9c c706fc80 c002b04c c00688a4
fc80:  d820 c059d000 c7f9a9e0 c059d0d8 c059d1ec c713e120 c059d000
fca0:  0020 c706fcf4 c706fcb8 c021a874 c0219a5c c059d000 c713e120
fcc0: a013 0020 0020 871cfa20 c05a1034 c059d000 c713e120 c713e128
fce0: 0020 0020 c706fdbc c706fcf8 c01f8e34 c021a520 c706fd1c c706fd08
fd00: c02180b4 c02174ec c05c0a00  c706fd3c c03e4464 005c 
fd20: c06753a0 0098 0020  c706fd54 c706fd40 c0087f24 c00351dc
fd40: 005c c03e4464 c706fd74 c706fd58 c002b04c c00688a4  d820
fd60:  c06753a0 c706fdfc c706fd78 c002ba30 c002b00c c713e120 0020
fd80: 8300  c713e120 c713e120  c713e120 0040 c05a1000
fda0: 0002 0001 0020  c706fdfc c706fdc0 c01f9304 c01f8680
fdc0: c706fde4 c706fdd0 c01f93cc c0169ff8 c713e120 c71cfa20 c713e120 
fde0: c06753a0 0098 0010  c706fe2c c706fe00 c01ae8b8 c01f904c
fe00:   c0675458 c0675000 0002 c06753a0 c0675000 c067330c
fe20: c706fe5c c706fe30 c01aec44 c01ae7e8   c006f7f4 c0675000
fe40: 1043 1002  be9b29c8 c706fe6c c706fe60 c0280040 c01aeb68
fe60: c706fe84 c706fe70 c02801fc c0280018 c0675000 1043 c706fea4 c706fe88
fe80: c027b660 c02801e4 c7f9abe0  c706fec0 c0673300 c706ff0c c706fea8
fea0: c02b76d8 c027b600 8914  31687465   
fec0: 1043 fe0da8c0 0001 00097c86 1043 fe0da8c0 0001 00097c86
fee0: 1002 8914 8914 be9b29c8 c05a3260 c002bfe8 c706e000 
ff00: c706ff1c c706ff10 c02b7f4c c02b7434 c706ff3c c706ff20 c027086c c02b7e8c
ff20: 8914 be9b29c8 0003 c05a3260 c706ff54 c706ff40 c00b36d0 c0270698
ff40: c05a3260 be9b29c8 c706ff7c c706ff58 c00b3974 c00b36a8 000b9040 be9b2e45
ff60: 0003 be9b29c8 8914 c05a3260 c706ffa4 c706ff80 c00b39cc c00b3720
ff80:   000a0112 0004 01c3 0036  c706ffa8
ffa0: c002be40 c00b3998 000a0112 0004 0003 8914 be9b29c8 000a0112
ffc0: 000a0112 0004 01c3 0036 be9b2d5c 000b5ee0 40024000 000b5190
ffe0: 000b5ee0 be9b29a0 ea98 401cf01c 2010 0003 80002021 80002421
Backtrace:
[] (musb_start_urb+0x0/0x9b0) from []
(musb_urb_enqueue+0x360/0x3a4)
[] (musb_urb_enqueue+0x0/0x3a4) from []
(usb_hcd_submit_urb+0x7c0/0x89c)
[] (usb_hcd_submit_urb+0x0/0x89c) from []
(usb_submit_urb+0x2c4/0x310)
[] (usb_submit_urb+0x0/0x310) from []
(ax8817x_write_cmd_async+0xdc/0x11c)
[] (ax8817x_write_cmd_async+0x0/0x11c) from []
(ax8817x_set_multicast+0xe8/0xf0)
[] (ax