Bug#615609: [loongson-dev] Bug#615609: linux-image-2.6.37-1-loongson-2: Lemote mini-pc with linux-image-2.6.37-1-loongson-2 doesn't support external usb NIC (TU2-ET100)

2011-05-14 Thread Javier Vasquez
On Sun, Mar 27, 2011 at 7:42 PM, wu zhangjin wuzhang...@gmail.com wrote:
 Hi, Javier

 Thanks very much for your report.

 I don't have such a USB to reproduce the problem, hope the folks from
 Lemote can work on it. thanks!

 Regards,
 Wu Zhangjin


Any sugestions on how to try debugging this?

-- 
Javier.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#615609: [loongson-dev] Bug#615609: linux-image-2.6.37-1-loongson-2: Lemote mini-pc with linux-image-2.6.37-1-loongson-2 doesn't support external usb NIC (TU2-ET100)

2011-05-14 Thread Roman Mamedov
On Sat, 14 May 2011 15:43:16 -0600
Javier Vasquez j.e.vasque...@gmail.com wrote:

 Any sugestions on how to try debugging this?

1) try this NIC with another machine (non-Loongson);

2) try another kind of NIC on this machine (e.g. there are MosChip mcs7830
based USB NICs which also support true USB 2.0 speeds, or if USB 1.1 with 12
mbit is enough, then Davicom dm9601 can be an option).

As for trying different module parameters you mentioned earlier, usbnet and
asix do not have any tunables, but ehci_hcd does have some, you can check
them out with sudo modinfo ehci_hcd.

-- 
With respect,
Roman


signature.asc
Description: PGP signature


Bug#615609: [loongson-dev] Bug#615609: linux-image-2.6.37-1-loongson-2: Lemote mini-pc with linux-image-2.6.37-1-loongson-2 doesn't support external usb NIC (TU2-ET100)

2011-05-14 Thread Javier Vasquez
 1) try this NIC with another machine (non-Loongson);

Done, it works well on x86_32 and x86_64 (both intel).

I've also tried:

acpi=noirq
usbcore.autosuspend=-1

Which in the past have been able to solve other serial usb issues, but
none worked out...

 2) try another kind of NIC on this machine (e.g. there are MosChip mcs7830
 based USB NICs which also support true USB 2.0 speeds, or if USB 1.1 with 12
 mbit is enough, then Davicom dm9601 can be an option).

I'll look for them.  I acquired another one to try, but at the end it
was based upon the same chipset, so also the same driver, so it didn't
help.  I'll look in the web...


 As for trying different module parameters you mentioned earlier, usbnet and
 asix do not have any tunables, but ehci_hcd does have some, you can check
 them out with sudo modinfo ehci_hcd.

Thanks a lot Roman, I'll investigate as soon as possible.  I'd like a
work around before going to buy something else, so this will be my
first step, :-)

So far no luck, but I'll keep trying, and if anyone gets to find
something, please let me know...

Javier.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#615609: linux-image-2.6.37-1-loongson-2: Lemote mini-pc with linux-image-2.6.37-1-loongson-2 doesn't support external usb NIC (TU2-ET100)

2011-03-27 Thread Javier Vasquez
Just to let you know the problem is still present under 2.6.37-2
debian kernel and 2.6.38-1 debian kernel...

-- 
Javier.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#615609: [loongson-dev] Bug#615609: linux-image-2.6.37-1-loongson-2: Lemote mini-pc with linux-image-2.6.37-1-loongson-2 doesn't support external usb NIC (TU2-ET100)

2011-03-27 Thread wu zhangjin
Hi, Javier

Thanks very much for your report.

I don't have such a USB to reproduce the problem, hope the folks from
Lemote can work on it. thanks!

Regards,
Wu Zhangjin

On 3/28/11, Javier Vasquez j.e.vasque...@gmail.com wrote:
 Just to let you know the problem is still present under 2.6.37-2
 debian kernel and 2.6.38-1 debian kernel...

 --
 Javier.

 --
 You received this message because you are subscribed to the Google Groups
 loongson-dev group.
 To post to this group, send email to loongson-...@googlegroups.com.
 To unsubscribe from this group, send email to
 loongson-dev+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/loongson-dev?hl=en.





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#615609: linux-image-2.6.37-1-loongson-2: Lemote mini-pc with linux-image-2.6.37-1-loongson-2 doesn't support external usb NIC (TU2-ET100)

2011-02-27 Thread Javier Vasquez
Package: linux-2.6
Version: 2.6.37-1
File: linux-image-2.6.37-1-loongson-2
Severity: important
Tags: upstream

*** Please type your report below this line ***

I have a lemote mini-pc loongson-2f, and when hooking an external usb
NIC, the trendenet TU2-ET100, after disabling the inner NIC (realtek),
then the device starts working nice for a while and then all of a
sudden it just halts, and doing ifdown/ifup combination several times
doesn't seem to be able to bring it up.

I believe this problem is not exclusive to debian given that I've
tried the gnew-sense 2.6.37 kernel, and another one from anheng, and
none seems to work for this.  Perhaps it exposes a HW problem, such
the one for the inner NIC which can't handle checksums, and the CPU
needs to deal with them (/sbin/ethtool -K eth0 rx off), but if it's a
HW problem there might be a way to work around it (such as some
usb-net or asix modules parameters).  I'm not aware of any known
problem related to this, so the first suspect is a kernel problem
associated to the usb-net or the asix modules, which are the ones
loaded for this external USB device.  Perhaps for lemote HW there are
some specific compile options required, and maybe missing, :-)

Please notice the kernel was loaded with debug boot parameter, and
even by doing so, the kernel log only shows the following associated
to this problem:

[   68.076000] usb 1-1: new high speed USB device using ehci_hcd and address 4
[   68.22] usb 1-1: New USB device found, idVendor=0b95, idProduct=7720
[   68.22] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   68.22] usb 1-1: Product: AX88772
[   68.22] usb 1-1: Manufacturer: ASIX Elec. Corp.
[   68.22] usb 1-1: SerialNumber: 01
[   69.164000] asix 1-1:1.0: eth1: register 'asix' at
usb-:00:0e.5-1, ASIX AX88772 USB 2.0 Ethernet, 00:50:b6:08:1c:5f
[   69.164000] usbcore: registered new interface driver asix
[  173.484000] eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
[  173.62] eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
[  184.12] eth1: no IPv6 routers present
[  593.268000] ehci_hcd :00:0e.5: force halt; handshake
900050071014 4000  - -145
[  593.268000] ehci_hcd :00:0e.5: can't reschedule qh
9800bc2d5200, err -145
[  593.268000] ehci_hcd :00:0e.5: force halt; handshake
900050071014 4000 4000 - -145
[  593.268000] ehci_hcd :00:0e.5: HC died; cleaning up
[  593.272000] usb 1-1: USB disconnect, address 4
[  593.28] asix 1-1:1.0: eth1: unregister 'asix'
usb-:00:0e.5-1, ASIX AX88772 USB 2.0 Ethernet

While this is still a problem, the mini-pc is of not much usage to me,
given that its aimed to work as a two NICs gateway (and light server
for couple of light services).  The ineer NIC is working now after the
work around for the checksum (inner NIC can handle the checks), but
I'm still missing the external usb NIC to work...

Below is additional information...


-- Package-specific info:
** Version:
Linux version 2.6.37-1-loongson-2f (Debian 2.6.37-1)
(b...@decadent.org.uk) (gcc version 4.4.5 (Debian 4.4.5-2) ) #1 Wed Feb
16 17:37:56 UTC 2011

** Command line:
console=tty no_auto_cmd root=/dev/sda6 resume=/dev/sda5 debug
PMON_VER=LM6004-1.3.6 EC_VER=undefined machtype=lemote-fuloong-2f-box

** Not tainted

** Kernel log:
[5.288000] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[5.292000] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[5.296000] usb usb2: Product: OHCI Host Controller
[5.30] usb usb2: Manufacturer: Linux 2.6.37-1-loongson-2f ohci_hcd
[5.304000] usb usb2: SerialNumber: :00:0e.4
[5.312000] hub 2-0:1.0: USB hub found
[5.316000] hub 2-0:1.0: 4 ports detected
[5.596000] PCI: Setting latency timer of device :00:0e.3 to 64
[5.68] usbcore: registered new interface driver usbserial
[5.688000] USB Serial support registered for generic
[5.716000] usb 2-3: new low speed USB device using ohci_hcd and address 2
[5.944000] usb 2-3: New USB device found, idVendor=04d9, idProduct=1702
[5.952000] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[5.956000] usb 2-3: Product: USB Keyboard
[5.96] usb 2-3: Manufacturer:
[6.272000] usb 2-4: new low speed USB device using ohci_hcd and address 3
[6.496000] usb 2-4: New USB device found, idVendor=0458, idProduct=003a
[6.50] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[6.504000] usb 2-4: Product: Optical Mouse
[6.508000] usb 2-4: Manufacturer: Genius
[6.612000] input:   USB Keyboard as
/devices/pci:00/:00:0e.4/usb2/2-3/2-3:1.0/input/input0
[6.628000] generic-usb 0003:04D9:1702.0001: input,hidraw0: USB HID
v1.10 Keyboard [  USB Keyboard] on usb-:00:0e.4-3/input0
[6.652000] usbcore: registered new interface driver usbserial_generic
[6.656000] usbserial: USB Serial Driver core
[6.684000] input:   USB Keyboard 

Bug#615609: linux-image-2.6.37-1-loongson-2: Lemote mini-pc with linux-image-2.6.37-1-loongson-2 doesn't support external usb NIC (TU2-ET100)

2011-02-27 Thread Martin Michlmayr
Wu Zhangjin,

Do you think you can have a look at the bug report below.

* Javier Vasquez j.e.vasque...@gmail.com [2011-02-27 12:19]:
 Package: linux-2.6
 Version: 2.6.37-1
 File: linux-image-2.6.37-1-loongson-2
 Severity: important
 Tags: upstream
 
 *** Please type your report below this line ***
 
 I have a lemote mini-pc loongson-2f, and when hooking an external usb
 NIC, the trendenet TU2-ET100, after disabling the inner NIC (realtek),
 then the device starts working nice for a while and then all of a
 sudden it just halts, and doing ifdown/ifup combination several times
 doesn't seem to be able to bring it up.
 
 I believe this problem is not exclusive to debian given that I've
 tried the gnew-sense 2.6.37 kernel, and another one from anheng, and
 none seems to work for this.  Perhaps it exposes a HW problem, such
 the one for the inner NIC which can't handle checksums, and the CPU
 needs to deal with them (/sbin/ethtool -K eth0 rx off), but if it's a
 HW problem there might be a way to work around it (such as some
 usb-net or asix modules parameters).  I'm not aware of any known
 problem related to this, so the first suspect is a kernel problem
 associated to the usb-net or the asix modules, which are the ones
 loaded for this external USB device.  Perhaps for lemote HW there are
 some specific compile options required, and maybe missing, :-)
 
 Please notice the kernel was loaded with debug boot parameter, and
 even by doing so, the kernel log only shows the following associated
 to this problem:
 
 [   68.076000] usb 1-1: new high speed USB device using ehci_hcd and address 4
 [   68.22] usb 1-1: New USB device found, idVendor=0b95, idProduct=7720
 [   68.22] usb 1-1: New USB device strings: Mfr=1, Product=2, 
 SerialNumber=3
 [   68.22] usb 1-1: Product: AX88772
 [   68.22] usb 1-1: Manufacturer: ASIX Elec. Corp.
 [   68.22] usb 1-1: SerialNumber: 01
 [   69.164000] asix 1-1:1.0: eth1: register 'asix' at
 usb-:00:0e.5-1, ASIX AX88772 USB 2.0 Ethernet, 00:50:b6:08:1c:5f
 [   69.164000] usbcore: registered new interface driver asix
 [  173.484000] eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
 [  173.62] eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
 [  184.12] eth1: no IPv6 routers present
 [  593.268000] ehci_hcd :00:0e.5: force halt; handshake
 900050071014 4000  - -145
 [  593.268000] ehci_hcd :00:0e.5: can't reschedule qh
 9800bc2d5200, err -145
 [  593.268000] ehci_hcd :00:0e.5: force halt; handshake
 900050071014 4000 4000 - -145
 [  593.268000] ehci_hcd :00:0e.5: HC died; cleaning up
 [  593.272000] usb 1-1: USB disconnect, address 4
 [  593.28] asix 1-1:1.0: eth1: unregister 'asix'
 usb-:00:0e.5-1, ASIX AX88772 USB 2.0 Ethernet
 
 While this is still a problem, the mini-pc is of not much usage to me,
 given that its aimed to work as a two NICs gateway (and light server
 for couple of light services).  The ineer NIC is working now after the
 work around for the checksum (inner NIC can handle the checks), but
 I'm still missing the external usb NIC to work...
 
 Below is additional information...
 
 
 -- Package-specific info:
 ** Version:
 Linux version 2.6.37-1-loongson-2f (Debian 2.6.37-1)
 (b...@decadent.org.uk) (gcc version 4.4.5 (Debian 4.4.5-2) ) #1 Wed Feb
 16 17:37:56 UTC 2011
 
 ** Command line:
 console=tty no_auto_cmd root=/dev/sda6 resume=/dev/sda5 debug
 PMON_VER=LM6004-1.3.6 EC_VER=undefined machtype=lemote-fuloong-2f-box
 
 ** Not tainted
 
 ** Kernel log:
 [5.288000] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
 [5.292000] usb usb2: New USB device strings: Mfr=3, Product=2,
 SerialNumber=1
 [5.296000] usb usb2: Product: OHCI Host Controller
 [5.30] usb usb2: Manufacturer: Linux 2.6.37-1-loongson-2f ohci_hcd
 [5.304000] usb usb2: SerialNumber: :00:0e.4
 [5.312000] hub 2-0:1.0: USB hub found
 [5.316000] hub 2-0:1.0: 4 ports detected
 [5.596000] PCI: Setting latency timer of device :00:0e.3 to 64
 [5.68] usbcore: registered new interface driver usbserial
 [5.688000] USB Serial support registered for generic
 [5.716000] usb 2-3: new low speed USB device using ohci_hcd and address 2
 [5.944000] usb 2-3: New USB device found, idVendor=04d9, idProduct=1702
 [5.952000] usb 2-3: New USB device strings: Mfr=1, Product=2, 
 SerialNumber=0
 [5.956000] usb 2-3: Product: USB Keyboard
 [5.96] usb 2-3: Manufacturer:
 [6.272000] usb 2-4: new low speed USB device using ohci_hcd and address 3
 [6.496000] usb 2-4: New USB device found, idVendor=0458, idProduct=003a
 [6.50] usb 2-4: New USB device strings: Mfr=1, Product=2, 
 SerialNumber=0
 [6.504000] usb 2-4: Product: Optical Mouse
 [6.508000] usb 2-4: Manufacturer: Genius
 [6.612000] input:   USB Keyboard as
 /devices/pci:00/:00:0e.4/usb2/2-3/2-3:1.0/input/input0
 [6.628000] generic-usb 0003:04D9:1702.0001: 

Bug#615609: linux-image-2.6.37-1-loongson-2: Lemote mini-pc with linux-image-2.6.37-1-loongson-2 doesn't support external usb NIC (TU2-ET100)

2011-02-27 Thread wu zhangjin
2011/2/28 wu zhangjin wuzhang...@gmail.com:
 (Forward to loongson-dev group, CC to Shiwei and the folks from Lemote)


 -- Forwarded message --
 From: Martin Michlmayr t...@cyrius.com
 Date: Mon, Feb 28, 2011 at 2:32 AM
 Subject: Re: Bug#615609: linux-image-2.6.37-1-loongson-2: Lemote
 mini-pc with linux-image-2.6.37-1-loongson-2 doesn't support external
 usb NIC (TU2-ET100)
 To: Wu Zhangjin wuzhang...@gmail.com
 Cc: Javier Vasquez j.e.vasque...@gmail.com, 615...@bugs.debian.org


 Wu Zhangjin,

 Do you think you can have a look at the bug report below.

 * Javier Vasquez j.e.vasque...@gmail.com [2011-02-27 12:19]:
 Package: linux-2.6
 Version: 2.6.37-1
 File: linux-image-2.6.37-1-loongson-2
 Severity: important
 Tags: upstream

 *** Please type your report below this line ***

 I have a lemote mini-pc loongson-2f, and when hooking an external usb
 NIC, the trendenet TU2-ET100, after disabling the inner NIC (realtek),
 then the device starts working nice for a while and then all of a
 sudden it just halts, and doing ifdown/ifup combination several times
 doesn't seem to be able to bring it up.

 I believe this problem is not exclusive to debian given that I've
 tried the gnew-sense 2.6.37 kernel, and another one from anheng, and
 none seems to work for this.  Perhaps it exposes a HW problem, such
 the one for the inner NIC which can't handle checksums, and the CPU
 needs to deal with them (/sbin/ethtool -K eth0 rx off), but if it's a
 HW problem there might be a way to work around it (such as some
 usb-net or asix modules parameters).  I'm not aware of any known
 problem related to this, so the first suspect is a kernel problem
 associated to the usb-net or the asix modules, which are the ones
 loaded for this external USB device.  Perhaps for lemote HW there are
 some specific compile options required, and maybe missing, :-)

 Please notice the kernel was loaded with debug boot parameter, and
 even by doing so, the kernel log only shows the following associated
 to this problem:

 [   68.076000] usb 1-1: new high speed USB device using ehci_hcd and address 
 4
 [   68.22] usb 1-1: New USB device found, idVendor=0b95, idProduct=7720
 [   68.22] usb 1-1: New USB device strings: Mfr=1, Product=2, 
 SerialNumber=3
 [   68.22] usb 1-1: Product: AX88772
 [   68.22] usb 1-1: Manufacturer: ASIX Elec. Corp.
 [   68.22] usb 1-1: SerialNumber: 01
 [   69.164000] asix 1-1:1.0: eth1: register 'asix' at
 usb-:00:0e.5-1, ASIX AX88772 USB 2.0 Ethernet, 00:50:b6:08:1c:5f
 [   69.164000] usbcore: registered new interface driver asix
 [  173.484000] eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
 [  173.62] eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
 [  184.12] eth1: no IPv6 routers present
 [  593.268000] ehci_hcd :00:0e.5: force halt; handshake
 900050071014 4000  - -145
 [  593.268000] ehci_hcd :00:0e.5: can't reschedule qh
 9800bc2d5200, err -145
 [  593.268000] ehci_hcd :00:0e.5: force halt; handshake
 900050071014 4000 4000 - -145
 [  593.268000] ehci_hcd :00:0e.5: HC died; cleaning up
 [  593.272000] usb 1-1: USB disconnect, address 4
 [  593.28] asix 1-1:1.0: eth1: unregister 'asix'
 usb-:00:0e.5-1, ASIX AX88772 USB 2.0 Ethernet

 While this is still a problem, the mini-pc is of not much usage to me,
 given that its aimed to work as a two NICs gateway (and light server
 for couple of light services).  The ineer NIC is working now after the
 work around for the checksum (inner NIC can handle the checks), but
 I'm still missing the external usb NIC to work...

 Below is additional information...


 -- Package-specific info:
 ** Version:
 Linux version 2.6.37-1-loongson-2f (Debian 2.6.37-1)
 (b...@decadent.org.uk) (gcc version 4.4.5 (Debian 4.4.5-2) ) #1 Wed Feb
 16 17:37:56 UTC 2011

 ** Command line:
 console=tty no_auto_cmd root=/dev/sda6 resume=/dev/sda5 debug
 PMON_VER=LM6004-1.3.6 EC_VER=undefined machtype=lemote-fuloong-2f-box

 ** Not tainted

 ** Kernel log:
 [    5.288000] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
 [    5.292000] usb usb2: New USB device strings: Mfr=3, Product=2,
 SerialNumber=1
 [    5.296000] usb usb2: Product: OHCI Host Controller
 [    5.30] usb usb2: Manufacturer: Linux 2.6.37-1-loongson-2f ohci_hcd
 [    5.304000] usb usb2: SerialNumber: :00:0e.4
 [    5.312000] hub 2-0:1.0: USB hub found
 [    5.316000] hub 2-0:1.0: 4 ports detected
 [    5.596000] PCI: Setting latency timer of device :00:0e.3 to 64
 [    5.68] usbcore: registered new interface driver usbserial
 [    5.688000] USB Serial support registered for generic
 [    5.716000] usb 2-3: new low speed USB device using ohci_hcd and address 2
 [    5.944000] usb 2-3: New USB device found, idVendor=04d9, idProduct=1702
 [    5.952000] usb 2-3: New USB device strings: Mfr=1, Product=2, 
 SerialNumber=0
 [    5.956000] usb 2-3: Product: USB Keyboard
 [    5.96] usb 2-3: Manufacturer