Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

freebsd-usb Digest, Vol 283, Issue 1

3 views
Skip to first unread message

freebsd-u...@freebsd.org

unread,
Apr 7, 2010, 1:17:07 AM4/7/10
to freeb...@freebsd.org
Send freebsd-usb mailing list submissions to
freeb...@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
or, via email, send a message with subject or body 'help' to
freebsd-u...@freebsd.org

You can reach the person managing the list at
freebsd-...@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-usb digest..."


Today's Topics:

1. Re: 10Mbps+ throughput usb based ethernet recommendation
(Pyun YongHyeon)
2. usb/145265: [patch] Freecom USB-IDE bridge (Urankar Mikael)
3. Re: usb/145265: [patch] Freecom USB-IDE bridge
(Hans Petter Selasky)
4. Re: usb/145265: [patch] Freecom USB-IDE bridge
(Hans Petter Selasky)
5. Re: usb/145265: [patch] Freecom USB-IDE bridge (Urankar Mikael)
6. Re: usb/145265: [patch] Freecom USB-IDE bridge (Urankar Mikael)
7. usb/145317: lrvvpamr (lrvvpamr)
8. Re: usb/145317: lrvvpamr (h...@FreeBSD.org)
9. Re: 10Mbps+ throughput usb based ethernet recommendation
(Nenhum_de_Nos)
10. Re: 10Mbps+ throughput usb based ethernet recommendation
(Pyun YongHyeon)
11. Current problem reports assigned to freeb...@FreeBSD.org
(FreeBSD bugmaster)
12. Re: usb/145415: [umass] USB card reader does not create
slices nodes (lin...@FreeBSD.org)
13. Re: 10Mbps+ throughput usb based ethernet recommendation
(Nenhum_de_Nos)
14. Re: usb/128803: [usbdevs] [patch] Quirk for I-Tuner Networks
USBLCD4X20 support (lin...@FreeBSD.org)
15. Re: usb/145237: [usbdevs] [patch] Add support for Matrix
Orbital MOU display (lin...@FreeBSD.org)
16. virtual usb drive errors (Pavel Sukhoy)
17. Re: virtual usb drive errors (Markus Wild)
18. Re: virtual usb drive errors (Hans Petter Selasky)
19. Re: usb/145415: [umass] USB card reader does not create
slices nodes (Hans Petter Selasky)
20. Re: usb/144414: commit references a PR (dfilter service)
21. Re: 7.3: instant panic upon connecting a umass (Jeremy Chadwick)
22. 7.3: instant panic upon connecting a umass (Mikhail T.)
23. Re: 7.3: instant panic upon connecting a umass (Mikhail T.)


----------------------------------------------------------------------

Message: 1
Date: Wed, 31 Mar 2010 12:06:31 -0700
From: Pyun YongHyeon <pyu...@gmail.com>
Subject: Re: 10Mbps+ throughput usb based ethernet recommendation
To: Nenhum_de_Nos <mat...@eternamente.info>
Cc: freeb...@freebsd.org
Message-ID: <2010033119...@michelle.cdnetworks.com>
Content-Type: text/plain; charset="us-ascii"

On Fri, Mar 26, 2010 at 11:31:50PM -0300, Nenhum_de_Nos wrote:

[...]

> >> I changed and got this:
> >>
> >> miibus1: <MII bus> on axe0
> >> ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
> >> ukphy0: XXX ID1 = 0x0282, ID2 = 0xf012
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > This is *NOT* bogus value. It's Agere Systems' ET1011 gigabit PHY.
> > FreeBSD has truephy(4) for Agere Systems' PHY but it does not have
> > support code for the model yet.
>
> so I can think that's the issue, right ?

Probably. But this does not explain sometimes why you get some
bogus value form PHY id registers.
>
> >> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> >> 1000baseT-FDX, auto
> >> ue0: <USB Ethernet> on axe0
> >> ue0: Ethernet address: xxxxxxxxxxxxxx
> >> ue0: link state changed to DOWN
> >>
> >> so it didn't now. other thing is that not every time it works:
> >>
> >
> > Yeah, that is real issue here. I guess there should be some magic
> > to wakeup the PHY from deep sleep state. I'll see what can be done.
>
> ok, great it was found :)
>
> let me know if I can help in anything :)
>

Would you try attached patch and let me know how it goes?

------------------------------

Message: 2
Date: Thu, 1 Apr 2010 13:44:09 GMT
From: Urankar Mikael <mikael....@ujf-grenoble.fr>
Subject: usb/145265: [patch] Freecom USB-IDE bridge
To: freebsd-gn...@FreeBSD.org
Message-ID: <201004011344....@www.freebsd.org>


>Number: 145265
>Category: usb
>Synopsis: [patch] Freecom USB-IDE bridge
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 01 13:50:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Urankar Mikael
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
FreeBSD iut-mir-o.ujf-grenoble.fr 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r205164M: Mon Mar 29 07:27:02 CEST 2010 mura...@iut-mir-o.ujf-grenoble.fr:/usr/obj/usr/src/sys/LETHE amd64

>Description:
I have the same problem described in usb/144915, ie the external HDD works
fine with UFS but I get the following messages with ZFS :

(da1:umass-sim1:1:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
(da1:umass-sim1:1:0:0): CAM status: SCSI Status Error
(da1:umass-sim1:1:0:0): SCSI status: Check Condition
(da1:umass-sim1:1:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid
command operation code)
>How-To-Repeat:
use ZFS on a Freecom Classic SL Hard Drive USB-IDE bridge
>Fix:
Apply the attached patch

Patch attached with submission follows:

Index: usbdevs
===================================================================
--- usbdevs (rИvision 205164)
+++ usbdevs (copie de travail)
@@ -1481,6 +1481,7 @@

/* Freecom products */
product FREECOM DVD 0xfc01 DVD drive
+product FREECOM HDD 0xfc05 Classic SL Hard Drive

/* Fujitsu Siemens Computers products */
product FSC E5400 0x1009 PrismGT USB 2.0 WLAN

Index: quirk/usb_quirk.c
===================================================================
--- quirk/usb_quirk.c (rИvision 205164)
+++ quirk/usb_quirk.c (copie de travail)
@@ -184,6 +184,7 @@
USB_QUIRK(FEIYA, 5IN1, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB,
UQ_MSC_FORCE_PROTO_SCSI),
USB_QUIRK(FREECOM, DVD, 0x0000, 0xffff, UQ_MSC_FORCE_PROTO_SCSI),
+ USB_QUIRK(FREECOM, HDD, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE),
USB_QUIRK(FUJIPHOTO, MASS0100, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_CBI_I,
UQ_MSC_FORCE_PROTO_ATAPI, UQ_MSC_NO_RS_CLEAR_UA),
USB_QUIRK(GENESYS, GL641USB2IDE, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB,


>Release-Note:
>Audit-Trail:
>Unformatted:


------------------------------

Message: 3
Date: Thu, 1 Apr 2010 17:22:56 +0200
From: Hans Petter Selasky <hsel...@c2i.net>
Subject: Re: usb/145265: [patch] Freecom USB-IDE bridge
To: freeb...@freebsd.org
Cc: freebsd-gn...@freebsd.org, Urankar Mikael
<mikael....@ujf-grenoble.fr>
Message-ID: <201004011722....@c2i.net>
Content-Type: Text/Plain; charset="iso-8859-15"

On Thursday 01 April 2010 15:44:09 Urankar Mikael wrote:
> usb/145265
>

See USB P4 change #176415. Please check and verify.

--HPS


------------------------------

Message: 4
Date: Thu, 1 Apr 2010 15:30:09 GMT
From: Hans Petter Selasky <hsel...@c2i.net>
Subject: Re: usb/145265: [patch] Freecom USB-IDE bridge
To: freeb...@FreeBSD.org
Message-ID: <201004011530....@freefall.freebsd.org>

The following reply was made to PR usb/145265; it has been noted by GNATS.

From: Hans Petter Selasky <hsel...@c2i.net>
To: freeb...@freebsd.org
Cc: Urankar Mikael <mikael....@ujf-grenoble.fr>,
freebsd-gn...@freebsd.org
Subject: Re: usb/145265: [patch] Freecom USB-IDE bridge
Date: Thu, 1 Apr 2010 17:22:56 +0200

On Thursday 01 April 2010 15:44:09 Urankar Mikael wrote:
> usb/145265
>

See USB P4 change #176415. Please check and verify.

--HPS


------------------------------

Message: 5
Date: Fri, 2 Apr 2010 08:00:13 +0200
From: Urankar Mikael <mikael....@ujf-grenoble.fr>
Subject: Re: usb/145265: [patch] Freecom USB-IDE bridge
To: Hans Petter Selasky <hsel...@c2i.net>
Cc: freebsd-gn...@freebsd.org, freeb...@freebsd.org
Message-ID: <2010040206...@iut-mir-o.ujf-grenoble.fr>
Content-Type: text/plain; charset=us-ascii

That's OK


------------------------------

Message: 6
Date: Fri, 2 Apr 2010 07:00:28 GMT
From: Urankar Mikael <mikael....@ujf-grenoble.fr>
Subject: Re: usb/145265: [patch] Freecom USB-IDE bridge
To: freeb...@FreeBSD.org
Message-ID: <201004020700....@freefall.freebsd.org>

The following reply was made to PR usb/145265; it has been noted by GNATS.

From: Urankar Mikael <mikael....@ujf-grenoble.fr>
To: Hans Petter Selasky <hsel...@c2i.net>
Cc: freeb...@freebsd.org, freebsd-gn...@freebsd.org
Subject: Re: usb/145265: [patch] Freecom USB-IDE bridge
Date: Fri, 2 Apr 2010 08:00:13 +0200

That's OK


------------------------------

Message: 7
Date: Sat, 3 Apr 2010 03:50:45 GMT
From: lrvvpamr <xpzn...@ezeaojzc.com>
Subject: usb/145317: lrvvpamr
To: freebsd-gn...@FreeBSD.org
Message-ID: <201004030350....@www.freebsd.org>


>Number: 145317
>Category: usb
>Synopsis: lrvvpamr
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 03 04:00:28 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: lrvvpamr
>Release: lrvvpamr
>Organization:
lrvvpamr
>Environment:
lrvvpamr
>Description:
<a href="http://ibxkyoxc.com">xozeadxu</a> taekznye http://qvugbood.com csvqhcoi hooiooow [URL=http://qfaztetj.com]vqaiobcs[/URL]
>How-To-Repeat:
lrvvpamr
>Fix:
lrvvpamr

>Release-Note:
>Audit-Trail:
>Unformatted:


------------------------------

Message: 8
Date: Sat, 3 Apr 2010 04:16:17 GMT
From: h...@FreeBSD.org
Subject: Re: usb/145317: lrvvpamr
To: xpzn...@ezeaojzc.com, h...@FreeBSD.org, freeb...@FreeBSD.org
Message-ID: <201004030416....@freefall.freebsd.org>

Synopsis: lrvvpamr

State-Changed-From-To: open->closed
State-Changed-By: hrs
State-Changed-When: Sat Apr 3 04:15:46 UTC 2010
State-Changed-Why:
spam.

http://www.freebsd.org/cgi/query-pr.cgi?pr=145317


------------------------------

Message: 9
Date: Sat, 3 Apr 2010 21:46:59 -0300
From: Nenhum_de_Nos <mat...@eternamente.info>
Subject: Re: 10Mbps+ throughput usb based ethernet recommendation
To: freeb...@freebsd.org
Message-ID: <20100403214659....@eternamente.info>
Content-Type: text/plain; charset=US-ASCII

On Wed, 31 Mar 2010 12:06:31 -0700
Pyun YongHyeon <pyu...@gmail.com> wrote:

> On Fri, Mar 26, 2010 at 11:31:50PM -0300, Nenhum_de_Nos wrote:
>
> [...]
>
> > >> I changed and got this:
> > >>
> > >> miibus1: <MII bus> on axe0
> > >> ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
> > >> ukphy0: XXX ID1 = 0x0282, ID2 = 0xf012
> > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > >
> > > This is *NOT* bogus value. It's Agere Systems' ET1011 gigabit PHY.
> > > FreeBSD has truephy(4) for Agere Systems' PHY but it does not have
> > > support code for the model yet.
> >
> > so I can think that's the issue, right ?
>
> Probably. But this does not explain sometimes why you get some
> bogus value form PHY id registers.
> >
> > >> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> > >> 1000baseT-FDX, auto
> > >> ue0: <USB Ethernet> on axe0
> > >> ue0: Ethernet address: xxxxxxxxxxxxxx
> > >> ue0: link state changed to DOWN
> > >>
> > >> so it didn't now. other thing is that not every time it works:
> > >>
> > >
> > > Yeah, that is real issue here. I guess there should be some magic
> > > to wakeup the PHY from deep sleep state. I'll see what can be done.
> >
> > ok, great it was found :)
> >
> > let me know if I can help in anything :)
> >
>
> Would you try attached patch and let me know how it goes?

axe0: PHYADDR 0xe0:0x01
miibus1: <MII bus> on axe0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
ukphy0: XXX ID1 = 0x7949, ID2 = 0x7949
ukphy0: 10baseT-FDX
ue0: <USB Ethernet> on axe0
ue0: Ethernet address: 00:11:50:e7:39:e9
ue0: link state changed to DOWN
ue0: link state changed to DOWN
ue0: link state changed to DOWN
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN

and I can't ping the other host :(

ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
ether 00:11:50:e7:39:e9
inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255
media: Ethernet none
arroway# ifconfig ue0
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
ether 00:11:50:e7:39:e9
inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255
media: Ethernet none (none <hw-loopback>)
status: active
arroway# ifconfig ue0
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
ether 00:11:50:e7:39:e9
inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255
media: Ethernet none

and it is still crazy media changing.

thanks,

matheus

--
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style


------------------------------

Message: 10
Date: Sun, 4 Apr 2010 18:12:56 -0700
From: Pyun YongHyeon <pyu...@gmail.com>
Subject: Re: 10Mbps+ throughput usb based ethernet recommendation
To: Nenhum_de_Nos <mat...@eternamente.info>
Cc: freeb...@freebsd.org
Message-ID: <2010040501...@michelle.cdnetworks.com>
Content-Type: text/plain; charset=us-ascii

On Sat, Apr 03, 2010 at 09:46:59PM -0300, Nenhum_de_Nos wrote:
> On Wed, 31 Mar 2010 12:06:31 -0700
> Pyun YongHyeon <pyu...@gmail.com> wrote:
>
> > On Fri, Mar 26, 2010 at 11:31:50PM -0300, Nenhum_de_Nos wrote:
> >
> > [...]
> >
> > > >> I changed and got this:
> > > >>
> > > >> miibus1: <MII bus> on axe0
> > > >> ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
> > > >> ukphy0: XXX ID1 = 0x0282, ID2 = 0xf012
> > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > > >
> > > > This is *NOT* bogus value. It's Agere Systems' ET1011 gigabit PHY.
> > > > FreeBSD has truephy(4) for Agere Systems' PHY but it does not have
> > > > support code for the model yet.
> > >
> > > so I can think that's the issue, right ?
> >
> > Probably. But this does not explain sometimes why you get some
> > bogus value form PHY id registers.
> > >
> > > >> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> > > >> 1000baseT-FDX, auto
> > > >> ue0: <USB Ethernet> on axe0
> > > >> ue0: Ethernet address: xxxxxxxxxxxxxx
> > > >> ue0: link state changed to DOWN
> > > >>
> > > >> so it didn't now. other thing is that not every time it works:
> > > >>
> > > >
> > > > Yeah, that is real issue here. I guess there should be some magic
> > > > to wakeup the PHY from deep sleep state. I'll see what can be done.
> > >
> > > ok, great it was found :)
> > >
> > > let me know if I can help in anything :)
> > >
> >
> > Would you try attached patch and let me know how it goes?
>
> axe0: PHYADDR 0xe0:0x01
> miibus1: <MII bus> on axe0
> ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
> ukphy0: XXX ID1 = 0x7949, ID2 = 0x7949

Due to other issues previous patch didn't have chance to make it
work. This time, PHY id started to reporting garbage again which
means all MII register access may return garbage too. Don't know
this could be related with USB subsystem though.

> ukphy0: 10baseT-FDX
> ue0: <USB Ethernet> on axe0
> ue0: Ethernet address: 00:11:50:e7:39:e9
> ue0: link state changed to DOWN

[...]

> and I can't ping the other host :(
>
> ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=80000<LINKSTATE>
> ether 00:11:50:e7:39:e9
> inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255
> media: Ethernet none
> arroway# ifconfig ue0
> ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=80000<LINKSTATE>
> ether 00:11:50:e7:39:e9
> inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255
> media: Ethernet none (none <hw-loopback>)
> status: active
> arroway# ifconfig ue0
> ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=80000<LINKSTATE>
> ether 00:11:50:e7:39:e9
> inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255
> media: Ethernet none
>
> and it is still crazy media changing.
>

Because your PHY is not recognized it's expected result. :-(


------------------------------

Message: 11
Date: Mon, 5 Apr 2010 11:07:12 GMT
From: FreeBSD bugmaster <bugm...@FreeBSD.org>
Subject: Current problem reports assigned to freeb...@FreeBSD.org
To: freeb...@FreeBSD.org
Message-ID: <201004051107....@freefall.freebsd.org>

Note: to view an individual PR, use:
http://www.freebsd.org/cgi/query-pr.cgi?pr=(number).

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker Resp. Description
--------------------------------------------------------------------------------
o usb/145265 usb [patch] Freecom USB-IDE bridge
o usb/145184 usb GENERIC can't mount root from USB on Asus EEE
o usb/145165 usb [keyboard] ukbd_set_leds_callback: error=USB_ERR_STALL
f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A)
o usb/144751 usb [ukbd] [usb8] kernel without keyboard support won't co
o usb/144423 usb [usb8] [patch] if_run panic with USB-N13
o usb/144414 usb [keyboard] [patch] Apple "Fn" key doesn't work properl
o usb/144387 usb [run] [panic] if_run panic
f usb/144332 usb [build] Kernel compile fails when aue is enabled but n
o usb/144043 usb [umass] USB DLT tape drive throws random errors
o usb/143790 usb [boot] can not boot from usb hdd
f usb/143634 usb [umass] [usb8] Jetflash USB flash stick fails to mount
f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op
o usb/143448 usb [usbdevs] [usb8] [patch] QUIRK: JMicron JM20336 USB/SA
f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec
o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system
f usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google
a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J
o usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d
o usb/142991 usb [uftdi] [usb67] [patch] Patch to add Crystalfontz 533
f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s
f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE
o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa
o usb/142713 usb [usb67] [panic] Kernel Panik when connecting an IPhone
f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu
o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P
o usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri
o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi
o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR
a usb/141467 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter
o usb/141327 usb [ukbd] [usb67] USB kbd not working with 7.1+PAE on IBM
o usb/141313 usb [usb8] nvidia USB 2.0 controller - stops copying on US
o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER
o kern/141011 usb [usb] Encrypted root, geli password at boot; enter key
o usb/140928 usb [u3g] [usb8] [patch] ZTE CDMA2000 1X EV-DO (MG478/AC87
o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS
o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b
f usb/140883 usb [axe] [usb8] USB gigabit ethernet hangs after short pe
o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0-
a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl
o kern/140614 usb [uplcom] [patch] adding support for Radio Shack Gigwar
o usb/140590 usb [bluetooth] [usb8] ng_ubt(4) ng_l2cap_process_cmd_rej
o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d
o usb/140259 usb [libusb] [patch] [usb8] libusb-1.0 portability/compati
o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US
o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A
s usb/139990 usb [panic] [patch] [usb67] Kernel frequently panics after
a usb/139598 usb [umass] [usb8] CAM reports "xptioctl: put "device pass
o usb/139243 usb [uhci] [usb67] unplug prolific USB serial -> uhci_abor
o usb/138915 usb [patch] [usb8] [usb67] add support for SheevaPlug seri
a usb/138904 usb [rum] [panic] [usb67] unpluging USB wifi card panics s
f usb/138882 usb [ohci] [panic] [usb67] Can't install FreeBSD 7.2 due t
a usb/138879 usb [uftdi] [patch] Patch to add support for CTI USB-Mini
o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv
o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT
o usb/138570 usb [usb] [panic] USB mass device panics current 7.2-STABL
o usb/138175 usb [usb67] [boot] System cannot boot, when USB reader wit
o usb/138172 usb [u3g] [patch] [usb67] Additional dev id for u3g (Optio
o usb/138138 usb [u3g] [patch] [usb67] Novatel U760 for u3g (Verizon an
o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u
o usb/138119 usb [usb67] [usb8] MultiBay CDROM (probably on USB bus) is
o usb/137872 usb [usb67] [boot] slow booting on usb flash drive
o usb/137806 usb [ukbd] [usb67] USB keyboard doesn't work until it's un
o usb/137763 usb [usb67][ukbd] Logitech wireless keyboard media keys no
o usb/137616 usb [usb67][usb8][usbdevs] [patch]: usbdevs update: Please
o usb/137377 usb [usb8] request support for Huawei E180
o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro
f usb/137190 usb [usb8][patch] inhibit spurious button releases for som
o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo
p usb/137188 usb [usb8][patch] correctly handle USB report descriptors
f bin/137180 usb [build] [patch] building world for 8.0-BETA2 fails on
o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att
p usb/136761 usb [usbdevs][usb67][patch] Teach usbdevs / u3g(4) about H
o usb/135938 usb [aue] [usb67] aue driver only passes traffic in promis
o usb/135575 usb [usbdevs] [patch] [usb67] Add HTC Wizard phone vid/pid
o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa
o usb/135348 usb [umass] [patch] USB Drive Hangs with ZFS (JMicron USB2
o usb/135206 usb machine reboots when inserted USB device
o usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu
o usb/135182 usb UMASS quirk - Olympus FE20 camera
o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible
o usb/134633 usb Add support for WILLCOM03(SHARP smart phone)
o usb/134631 usb [usbdevs] [patch] WiSPY DBx support requires usb tweak
o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g
o usb/134193 usb System freeze on usb MP3 player insertion
o usb/134117 usb [Patch] Add support for 'Option GlobeTrotter HSDPA Mod
o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive
o usb/133989 usb [usb8] [ukbd] USB keyboard dead at mountroot> prompt
o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa
o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache
o usb/133296 usb [rum] driver not working properly in hostap mode
p usb/132799 usb [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CA
o usb/132785 usb [usb] [patch] Gemtech remote powersocket is classed as
o usb/132594 usb USB subsystem causes page fault and crashes
o usb/132312 usb [hang] Xorg 7.4 halts USB controller
o usb/132080 usb [patch] [usb] [rum] Kernel panic after NOMEM caused by
o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760
o usb/132036 usb [panic] page fault when connecting Olympus C740 camera
o usb/131912 usb [uslcom] [patch] New devices using Silicon Labs chips
o usb/131900 usb [usbdevs] [patch] Additional product identification co
o usb/131583 usb [umass] Failure when detaching umass Device
o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data
o usb/131521 usb Registering Belkin UPS to usb_quirks.c
o usb/131123 usb [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk
o usb/131074 usb no run-time detection of usb devices plugged into exte
o usb/130736 usb Page fault unplugging USB stick
o usb/130230 usb Samsung Electronics YP-U3 does not attach in 7.1-RELEA
o usb/130208 usb Boot process severely hampered by umass0 error
o usb/130122 usb [usb8] DVD drive detects as 'da' device
o usb/129945 usb [usb67] [usbdevs] [patch] add u3g support for Longchee
o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system
o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support
o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan
o usb/129522 usb [ubsa] [usb67] [patch] add support for ZTE AC8700 mode
o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis
o usb/129311 usb [usb] [panic] Instant crash with an USB card reader
o usb/129251 usb [usbdevs] [usb67] [patch] Liebert UPS being assigned u
o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a
s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa
o usb/128977 usb [usb67] [patch] uaudio is not full duplex
f usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2
o usb/128485 usb [umodem] [patch] Nokia N80 modem support
o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive
o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like
o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23
o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an
o usb/127926 usb [boot] USB Timeout during bootup
p usb/127549 usb [umass] [usb67] [patch] Meizu MiniPlayer M6 (SL) requi
f usb/127543 usb [patch] [ubsa] Support Option Globetrotter HSDPA modem
s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should
p docs/127406 usb [patch] update umodem man page: Sony Ericsson W810i
o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support
o usb/127248 usb [ucom] panic while uplcom devices attach and detach
o usb/127222 usb [ohci] Regression in 7.0 usb storage generic driver
o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c
o usb/126848 usb [usb]: USB Keyboard hangs during Installation
o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be
o usb/126519 usb [usb] [panic] panic when plugging in an iphone
o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device
o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if
o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite
o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d
o usb/125450 usb [panic] Removing USB flash card while being accessed c
o usb/125238 usb [ums] Habu Mouse turns off in X
o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U
o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi
o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe
o usb/124758 usb [rum] [panic] rum panics SMP kernel
o usb/124708 usb [panic] Kernel panic on USB KVM reattach
o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work
o kern/124130 usb [usb] gmirror fails to start usb devices that were pre
o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile
o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with
o usb/123691 usb usbd(8): usbd hangs
o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l
o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U
o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone
o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom
o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2
o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um
o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870
o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt
o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa
o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th
o usb/122813 usb [udbp] [request] udbp driver should be removed in favo
o usb/122621 usb [new driver] [patch] New driver for Sierra Wireless 3G
o usb/122547 usb [ehci] USB Printer not being recognized after reboot
o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci
o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE
o usb/122119 usb [umass] umass device causes creation of daX but not da
o usb/122025 usb [uscanner] [patch] uscanner does not attach to Epson R
o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic
o usb/121734 usb [ugen] ugen HP1022 printer device not working since up
o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k
o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard
o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C
o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s
o usb/121232 usb [usb] [panic] USB CardBus card removal causes reboot s
p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a
o usb/121169 usb [umass] Issues with usb mp3 player
o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS
o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det
o usb/120729 usb [panic] fault while in kernel mode with connecting USB
o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a
o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo
o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou
o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5
o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab
o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou
o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch
o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression]
o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i
o usb/119509 usb [usb] USB flaky on Dell Optiplex 755
o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas
o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress
o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun
o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and
o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround
o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer
o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se
o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread
o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi
o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin
o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS
o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE
o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS
o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work
o usb/117893 usb [umass] Lacie USB DVD writing failing
o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory
o usb/117598 usb [snd_uaudio] [patch] Not possible to record with Plant
o usb/117313 usb [umass] [panic] panic on usb camera insertion
o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach
o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a
o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th
o usb/116699 usb [usbhid] USB HID devices do not initialize at system b
o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee
o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300
o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches
o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter
o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI
o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel
o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui
o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco
o usb/114682 usb [umass] generic USB media-card reader unusable
o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker
o usb/114068 usb [usb67] [usb8] [umass] [patch] Problem with connection
o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff
o usb/113060 usb [usb67] [ulpt] [patch] Samsung printer not working in
o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated
s usb/108344 usb [usb67] [atausb] [panic] kernel with atausb panics whe
o usb/107827 usb [usb67] [ohci] [panic] ohci_add_done addr not found
o usb/107388 usb [usb67] [usb8] [new driver] [patch] add utoppy device
o usb/107243 usb [usb67] [cam] [quirk] [patch] Apacer USB Flash Drive q
o usb/106041 usb [usb67] [usb8] [request] FreeBSD does not recognise Mu
o usb/105361 usb [usb67] [panic] Kernel panic during unmounting mass st
s usb/103917 usb [usb67] [uhub] USB driver reports "Addr 0 should never
o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil
o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele
o usb/101775 usb [usb67] [usb8] [libusbhid] [patch] possible error in r
o usb/101761 usb [usb67] [patch] [request] usb.h: increase maximal size
o usb/100746 usb [usb67] [ukbd] system does not boot due to USB keyboar
o usb/99538 usb [keyboard] while using USB keyboard default params of
o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
o kern/99200 usb [bluetooth] SMP-Kernel crashes reliably when Bluetooth
o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3
o usb/97472 usb [cam] [patch] add support for Olympus C150,D390
s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2.
o usb/97175 usb [umass] [hang] USB cardreader hangs system
o usb/96457 usb [umass] [panic] fatback on umass = reboot
o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram
o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync
s usb/96120 usb [ums] [request] USB mouse not always detected
s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620
o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb
s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen
o usb/95037 usb [umass] USB disk not recognized on hot-plug.
o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk
o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI
o usb/94384 usb [panic] kernel panic with usb2 hardware
o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB
o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion
o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work
o usb/92852 usb [ums] [patch] Vertical scroll not working properly on
o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS
o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb
o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE
o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand
o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg
o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n
o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return "
o usb/91629 usb [usb] usbd_abort_pipe() may result in infinite loop
o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work
o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500
o usb/91283 usb [boot] [regression] booting very slow with usb devices
o usb/91238 usb [umass] USB tape unit fails to write a second tape fil
o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas
o usb/89954 usb [umass] [panic] USB Disk driver race condition?
s usb/89003 usb [request] LaCie Firewire drive not properly supported
o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg
o usb/88408 usb [axe] axe0 read PHY failed
o usb/87648 usb [mouse] Logitech USB-optical mouse problem.
o usb/87224 usb [usb] Cannot mount USB Zip750
o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the
o usb/86298 usb [mouse] Known good USB mouse won't work with correct s
s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device
f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa
s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a
o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN
o usb/83863 usb [ugen] Communication problem between opensc/openct via
o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe
o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d
o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent
o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic
s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy
o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected
o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack
o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci
o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55.
o usb/80862 usb [patch] USB locking issues: missing some Giant calls
o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me
o usb/80829 usb [modules] [panic] possible panic when loading USB-modu
s usb/80777 usb [request] usb_rem_task() should wait for callback to c
s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_
o usb/80774 usb [patch] have "usbd_find_desc" in line with the other "
o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails
o usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze
o usb/79723 usb [usb] [request] prepare for high speed isochronous tra
o usb/79722 usb [ehci] wrong alignments in ehci.h
a usb/79656 usb [ehci] RHSC interrupts lost
o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa
o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer
o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc
o usb/78984 usb [umass] [patch] Creative MUVO umass failure
o usb/77294 usb [ucom] [panic] ucom + ulpcom panic
o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect,
o usb/76732 usb [ums] Mouse problems with USB KVM Switch
o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device
o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by
o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0
s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade
o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn
o usb/75797 usb [sound] [regression] 5.3-STABLE(2005 1/4) detect USB h
o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for
o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace)
o usb/74771 usb [umass] [hang] mounting write-protected umass device a
s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL
o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R
o usb/73307 usb [panic] Kernel panics on USB disconnect
s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl
o usb/71455 usb [umass] Slow USB umass performance of 5.3
o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati
o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n
o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1
o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes
o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters
o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports
o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction
o usb/67301 usb [uftdi] [panic] RTS and system panic
o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct
o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes
s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s
o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans
s bin/57255 usb [patch] usbd(8) and multi-function devices
s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2
s usb/51958 usb [urio] [patch] update for urio driver
o i386/46371 usb USB controller cannot be initialized on IBM Netfinity
o usb/40948 usb [umass] [request] USB HP CDW8200 does not work
o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem

348 problems total.

------------------------------

Message: 12
Date: Mon, 5 Apr 2010 21:16:42 GMT
From: lin...@FreeBSD.org
Subject: Re: usb/145415: [umass] USB card reader does not create
slices nodes
To: lin...@FreeBSD.org, freebs...@FreeBSD.org,
freeb...@FreeBSD.org
Message-ID: <201004052116....@freefall.freebsd.org>

Old Synopsis: USB card reader does not create slices nodes
New Synopsis: [umass] USB card reader does not create slices nodes

Responsible-Changed-From-To: freebsd-bugs->freebsd-usb
Responsible-Changed-By: linimon
Responsible-Changed-When: Mon Apr 5 21:16:16 UTC 2010
Responsible-Changed-Why:
reclassify

http://www.freebsd.org/cgi/query-pr.cgi?pr=145415


------------------------------

Message: 13
Date: Tue, 6 Apr 2010 00:38:07 -0300 (BRT)
From: "Nenhum_de_Nos" <mat...@eternamente.info>
Subject: Re: 10Mbps+ throughput usb based ethernet recommendation
To: freeb...@freebsd.org
Message-ID: <38598da72f259902314671d3a5d51479.squirrel@lamneth>
Content-Type: text/plain;charset=iso-8859-1


On Sun, April 4, 2010 22:12, Pyun YongHyeon wrote:
> On Sat, Apr 03, 2010 at 09:46:59PM -0300, Nenhum_de_Nos wrote:
>> On Wed, 31 Mar 2010 12:06:31 -0700
>> Pyun YongHyeon <pyu...@gmail.com> wrote:
>>
>> > On Fri, Mar 26, 2010 at 11:31:50PM -0300, Nenhum_de_Nos wrote:
>> >
>> > [...]
>> >
>> > > >> I changed and got this:
>> > > >>
>> > > >> miibus1: <MII bus> on axe0
>> > > >> ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
>> > > >> ukphy0: XXX ID1 = 0x0282, ID2 = 0xf012
>> > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> > > >
>> > > > This is *NOT* bogus value. It's Agere Systems' ET1011 gigabit PHY.
>> > > > FreeBSD has truephy(4) for Agere Systems' PHY but it does not have
>> > > > support code for the model yet.
>> > >
>> > > so I can think that's the issue, right ?
>> >
>> > Probably. But this does not explain sometimes why you get some
>> > bogus value form PHY id registers.
>> > >
>> > > >> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
>> 1000baseT,
>> > > >> 1000baseT-FDX, auto
>> > > >> ue0: <USB Ethernet> on axe0
>> > > >> ue0: Ethernet address: xxxxxxxxxxxxxx
>> > > >> ue0: link state changed to DOWN
>> > > >>
>> > > >> so it didn't now. other thing is that not every time it works:
>> > > >>
>> > > >
>> > > > Yeah, that is real issue here. I guess there should be some magic
>> > > > to wakeup the PHY from deep sleep state. I'll see what can be
>> done.
>> > >
>> > > ok, great it was found :)
>> > >
>> > > let me know if I can help in anything :)
>> > >
>> >
>> > Would you try attached patch and let me know how it goes?
>>
>> axe0: PHYADDR 0xe0:0x01
>> miibus1: <MII bus> on axe0
>> ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
>> ukphy0: XXX ID1 = 0x7949, ID2 = 0x7949
>
> Due to other issues previous patch didn't have chance to make it
> work. This time, PHY id started to reporting garbage again which
> means all MII register access may return garbage too. Don't know
> this could be related with USB subsystem though.
>
>> ukphy0: 10baseT-FDX
>> ue0: <USB Ethernet> on axe0
>> ue0: Ethernet address: 00:11:50:e7:39:e9
>> ue0: link state changed to DOWN
>
> [...]
>
>> and I can't ping the other host :(
>>
>> ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
>> 1500
>> options=80000<LINKSTATE>
>> ether 00:11:50:e7:39:e9
>> inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255
>> media: Ethernet none
>> arroway# ifconfig ue0
>> ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
>> 1500
>> options=80000<LINKSTATE>
>> ether 00:11:50:e7:39:e9
>> inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255
>> media: Ethernet none (none <hw-loopback>)
>> status: active
>> arroway# ifconfig ue0
>> ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
>> 1500
>> options=80000<LINKSTATE>
>> ether 00:11:50:e7:39:e9
>> inet 10.2.1.2 netmask 0xffffff00 broadcast 10.2.1.255
>> media: Ethernet none
>>
>> and it is still crazy media changing.
>>
>
> Because your PHY is not recognized it's expected result. :-(

waiting for any leads :)

I bought a linksys axe based fast ethernet to see what happens. waiting
till it arrives.

thanks as usual,

matheus

--
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style


------------------------------

Message: 14
Date: Tue, 6 Apr 2010 04:04:28 GMT
From: lin...@FreeBSD.org
Subject: Re: usb/128803: [usbdevs] [patch] Quirk for I-Tuner Networks
USBLCD4X20 support
To: an...@siliconlandmark.com, lin...@FreeBSD.org,
freeb...@FreeBSD.org
Message-ID: <201004060404....@freefall.freebsd.org>

Synopsis: [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X20 support

State-Changed-From-To: feedback->patched
State-Changed-By: linimon
State-Changed-When: Tue Apr 6 04:03:48 UTC 2010
State-Changed-Why:
Apparently still needs an MFC>

http://www.freebsd.org/cgi/query-pr.cgi?pr=128803


------------------------------

Message: 15
Date: Tue, 6 Apr 2010 05:20:36 GMT
From: lin...@FreeBSD.org
Subject: Re: usb/145237: [usbdevs] [patch] Add support for Matrix
Orbital MOU display
To: lin...@FreeBSD.org, freebs...@FreeBSD.org,
freeb...@FreeBSD.org
Message-ID: <201004060520....@freefall.freebsd.org>

Old Synopsis: Support for Matrix Orbital MOU display
New Synopsis: [usbdevs] [patch] Add support for Matrix Orbital MOU display

Responsible-Changed-From-To: freebsd-bugs->freebsd-usb
Responsible-Changed-By: linimon
Responsible-Changed-When: Tue Apr 6 05:19:43 UTC 2010
Responsible-Changed-Why:
reassign.

http://www.freebsd.org/cgi/query-pr.cgi?pr=145237


------------------------------

Message: 16
Date: Tue, 06 Apr 2010 13:33:42 +0400
From: Pavel Sukhoy <suk...@ripn.net>
Subject: virtual usb drive errors
To: <freeb...@FreeBSD.org>
Message-ID: <3d3db007fb8f5da1...@ripn.net>
Content-Type: text/plain; charset=us-ascii

Hi All,

I hope it's a right place to ask, if no, please advice right mailing list.

My server is based on intel S5000PAL motherboard and have dedicated "Intel
remote
management module 2".

If I try to boot from remotely mounted installation drive/iso (FreeBSD
8.0-RELEASE) it goes fine until I
choose installation media - in messages I see a read error.

If I try to mount remote drive on working FreeBSD (also 8.0-RELEASE) - I
see that virtual
device recognized fine, but gets error when trying to mount:


Remotely connecting iso:

12:53:33 kernel: umass3: <Intel(R) Multidevice, class 0/0, rev
2.00/0.01, addr 2> on usbus4
12:53:33 kernel: umass3: SCSI over Bulk-Only; quirks = 0x0000
12:53:34 kernel: umass3:3:3:-1: Attached to scbus3
12:53:35 kernel: (probe0:umass-sim3:3:0:0): TEST UNIT READY. CDB:
0 0 0 0 0 0
12:53:35 kernel: (probe0:umass-sim3:3:0:0): CAM Status: SCSI
Status Error
12:53:35 kernel: (probe0:umass-sim3:3:0:0): SCSI Status: Check
Condition
12:53:35 kernel: (probe0:umass-sim3:3:0:0): UNIT ATTENTION
asc:29,0
12:53:35 kernel: (probe0:umass-sim3:3:0:0): Power on, reset, or
bus device reset occurred
12:53:35 kernel: (probe0:umass-sim3:3:0:0): Retrying Command (per
Sense Data)
12:53:35 kernel: cd3 at umass-sim3 bus 3 target 0 lun 0
12:53:35 kernel: cd3: <Intel(R) RMM2 VDrive 4 0.01> Removable CD-
ROM SCSI-3 device
12:53:35 kernel: cd3: 40.000MB/s transfers
12:53:35 kernel: cd3: cd present [1058112 x 2048 byte records]

And now I trying to mount it:

12:54:20 kernel: g_vfs_done():cd3[READ(offset=32768,
length=2048)]error = 5

This error repeats on any virtual iso/drives.

Has anyone else seen similar problems?

Thanks in advance for any help.

--
With best regards,
Pavel Sukhoy.


------------------------------

Message: 17
Date: Tue, 6 Apr 2010 15:03:14 +0200
From: Markus Wild <fbsd-...@dudes.ch>
Subject: Re: virtual usb drive errors
To: freeb...@freebsd.org
Message-ID: <20100406150314.15acef02@pippin>
Content-Type: text/plain; charset=US-ASCII

Hi there,

> I hope it's a right place to ask, if no, please advice right mailing list.
>
> My server is based on intel S5000PAL motherboard and have dedicated "Intel
> remote
> management module 2".

We use SuperMicro twin servers with their AOC-SIMSO+ server remote
management boards, and our problems are very similar, if not the same,
as yours...

> If I try to boot from remotely mounted installation drive/iso (FreeBSD
> 8.0-RELEASE) it goes fine until I
> choose installation media - in messages I see a read error.

Same here. I tried pretty much all FreeBSD live CD images I could find,
including a 9-current snapshot, same result. The kernel loads fine,
initializes, but fails to mount the root filesystem off the virtual USB
drive no matter what type I chose in the FixIt menu, or with FreSBIE at
the point where it tries to mount the root.

Actually, what I tried to achieve here is simply to boot into a live
image, so I could clone another system over the network. I also tried
an OpenBSD and a NetBSD live image the same way, both (!) booted fine,
but didn't have a raid driver for our adaptec controllers in those
images, so they were no alternative for my purposes.

> If I try to mount remote drive on working FreeBSD (also 8.0-RELEASE) - I
> see that virtual
> device recognized fine, but gets error when trying to mount:

I hadn't tried that approach yet, so I inserted an iso image into the
virtual usb drive:

7.0-STABLE FreeBSD 7.0-STABLE #0: Sun Jun 15 19:58:32 CEST 2008 amd64

insert of the virtual iso:
# dmesg
ums0: at uhub3 port 6 (addr 2) disconnected
ums0: detached
ukbd0: at uhub3 port 6 (addr 2) disconnected
ukbd0: detached
umass0: <Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2> on uhub3
ums0: <Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2> on uhub3
ums0: 3 buttons and Z dir.
ukbd0: <Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2> on uhub3
kbd2 at ukbd0
cd0 at umass-sim0 bus 0 target 0 lun 0
cd0: <PepperC Virtual Disc 1 0.01> Removable CD-ROM SCSI-3 device
cd0: 40.000MB/s transfers
cd0: cd present [147976 x 2048 byte records]
umass0: Phase Error, residue = -8
umass0: Phase Error, residue = -8
umass0: Phase Error, residue = -8
umass0: Phase Error, residue = -8

# mount -t cd9660 /dev/cd0 /cdrom
mount_cd9660: /dev/cd0: Input/output error

# dmesg
(cd0:umass-sim0:0:0:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
(cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI Status: Check Condition
(cd0:umass-sim0:0:0:0): UNIT ATTENTION asc:29,0
(cd0:umass-sim0:0:0:0): Power on, reset, or bus device reset occurred
(cd0:umass-sim0:0:0:0): Retries Exhausted
umass0: Phase Error, residue = -8
g_vfs_done():cd0[READ(offset=32768, length=2048)]error = 5


8.0-STABLE FreeBSD 8.0-STABLE #2: Thu Mar 18 22:57:50 CET 2010 amd64
--------------------------------------------------------------

insert of the virtual iso:
# dmesg
ugen3.2: <Peppercon AG> at usbus3 (disconnected)
ums0: at uhub3, port 6, addr 2 (disconnected)
ukbd0: at uhub3, port 6, addr 2 (disconnected)
ugen3.2: <Peppercon AG> at usbus3
umass0: <Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2> on usbus3
umass0: SCSI over Bulk-Only; quirks = 0x0000
umass0:3:0:-1: Attached to scbus3
ums0: <Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2> on usbus3
ums0: 3 buttons and [XYZ] coordinates ID=0
ukbd0: <Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2> on usbus3
kbd2 at ukbd0
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI status: Check Condition
(probe0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred)
cd0 at umass-sim0 bus 0 scbus3 target 0 lun 0
cd0: <PepperC Virtual Disc 1 0.01> Removable CD-ROM SCSI-3 device
cd0: 40.000MB/s transfers
cd0: cd present [147976 x 2048 byte records]

# mount -t cd9660 /dev/cd0 /cdrom
mount_cd9660: /dev/cd0: Input/output error

# dmesg
(cd0:umass-sim0:0:0:0): READ TOC/PMA/ATIP. CDB: 43 0 0 0 0 0 0 0 4 0
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred)
(cd0:umass-sim0:0:0:0): READ TOC/PMA/ATIP. CDB: 43 0 0 0 0 0 0 0 4 0
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred)
(cd0:umass-sim0:0:0:0): READ TOC/PMA/ATIP. CDB: 43 0 0 0 0 0 0 0 4 0
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred)
g_vfs_done():cd0[READ(offset=32768, length=2048)]error = 5


Let me know if and how I can help in some way to debug this problem.

We have another issue with this KVM board: on one system (there's about
20 identical servers, just one with this problem) we have keyboard/mouse
access over IP as long as IO is done via the BIOS (i.e. I can get into
BIOS menus, RAID controller menu, FreeBSD loader). However, as soon as
the FreeBSD kernel takes over and IO should be handled by the FreeBSD
USB stack, I see this error in dmesg:

uhub3: port 6, set config at addr 2 failed
uhub3: device problem (IOERROR), disabling port 6

it could be a faulti KVM board, but then I ask myself why access works
fine as long as BIOS IO is used..

Kind regards,
Markus


------------------------------

Message: 18
Date: Tue, 6 Apr 2010 18:10:56 +0200
From: Hans Petter Selasky <hsel...@c2i.net>
Subject: Re: virtual usb drive errors
To: freeb...@freebsd.org
Message-ID: <201004061810....@c2i.net>
Content-Type: Text/Plain; charset="iso-8859-1"

On Tuesday 06 April 2010 15:03:14 Markus Wild wrote:
> Hi there,
>
> > I hope it's a right place to ask, if no, please advice right mailing
> > list.
> >
> > My server is based on intel S5000PAL motherboard and have dedicated
> > "Intel remote
> > management module 2".
>
> We use SuperMicro twin servers with their AOC-SIMSO+ server remote
> management boards, and our problems are very similar, if not the same,
> as yours...
>
> > If I try to boot from remotely mounted installation drive/iso (FreeBSD
> > 8.0-RELEASE) it goes fine until I
> > choose installation media - in messages I see a read error.
>
> Same here. I tried pretty much all FreeBSD live CD images I could find,
> including a 9-current snapshot, same result. The kernel loads fine,
> initializes, but fails to mount the root filesystem off the virtual USB
> drive no matter what type I chose in the FixIt menu, or with FreSBIE at
> the point where it tries to mount the root.
>
> Actually, what I tried to achieve here is simply to boot into a live
> image, so I could clone another system over the network. I also tried
> an OpenBSD and a NetBSD live image the same way, both (!) booted fine,
> but didn't have a raid driver for our adaptec controllers in those
> images, so they were no alternative for my purposes.
>
> > If I try to mount remote drive on working FreeBSD (also 8.0-RELEASE) - I
> > see that virtual
> > device recognized fine, but gets error when trying to mount:
>
> I hadn't tried that approach yet, so I inserted an iso image into the
> virtual usb drive:
>
> 7.0-STABLE FreeBSD 7.0-STABLE #0: Sun Jun 15 19:58:32 CEST 2008 amd64
>
> insert of the virtual iso:
> # dmesg
> ums0: at uhub3 port 6 (addr 2) disconnected
> ums0: detached
> ukbd0: at uhub3 port 6 (addr 2) disconnected
> ukbd0: detached
> umass0: <Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2> on
> uhub3 ums0: <Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2>
> on uhub3 ums0: 3 buttons and Z dir.
> ukbd0: <Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2> on
> uhub3 kbd2 at ukbd0
> cd0 at umass-sim0 bus 0 target 0 lun 0
> cd0: <PepperC Virtual Disc 1 0.01> Removable CD-ROM SCSI-3 device
> cd0: 40.000MB/s transfers
> cd0: cd present [147976 x 2048 byte records]
> umass0: Phase Error, residue = -8
> umass0: Phase Error, residue = -8
> umass0: Phase Error, residue = -8
> umass0: Phase Error, residue = -8
>
> # mount -t cd9660 /dev/cd0 /cdrom
> mount_cd9660: /dev/cd0: Input/output error
>
> # dmesg
> (cd0:umass-sim0:0:0:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0
> 0 0 4 0 (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
> (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition
> (cd0:umass-sim0:0:0:0): UNIT ATTENTION asc:29,0
> (cd0:umass-sim0:0:0:0): Power on, reset, or bus device reset occurred
> (cd0:umass-sim0:0:0:0): Retries Exhausted
> umass0: Phase Error, residue = -8
> g_vfs_done():cd0[READ(offset=32768, length=2048)]error = 5
>
>
> 8.0-STABLE FreeBSD 8.0-STABLE #2: Thu Mar 18 22:57:50 CET 2010 amd64
> --------------------------------------------------------------
>
> insert of the virtual iso:
> # dmesg
> ugen3.2: <Peppercon AG> at usbus3 (disconnected)
> ums0: at uhub3, port 6, addr 2 (disconnected)
> ukbd0: at uhub3, port 6, addr 2 (disconnected)
> ugen3.2: <Peppercon AG> at usbus3
> umass0: <Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2> on
> usbus3 umass0: SCSI over Bulk-Only; quirks = 0x0000
> umass0:3:0:-1: Attached to scbus3
> ums0: <Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2> on
> usbus3 ums0: 3 buttons and [XYZ] coordinates ID=0
> ukbd0: <Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2> on
> usbus3 kbd2 at ukbd0
> (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
> (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
> (probe0:umass-sim0:0:0:0): SCSI status: Check Condition
> (probe0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on,
> reset, or bus device reset occurred) cd0 at umass-sim0 bus 0 scbus3 target
> 0 lun 0
> cd0: <PepperC Virtual Disc 1 0.01> Removable CD-ROM SCSI-3 device
> cd0: 40.000MB/s transfers
> cd0: cd present [147976 x 2048 byte records]
>
> # mount -t cd9660 /dev/cd0 /cdrom
> mount_cd9660: /dev/cd0: Input/output error
>
> # dmesg
> (cd0:umass-sim0:0:0:0): READ TOC/PMA/ATIP. CDB: 43 0 0 0 0 0 0 0 4 0
> (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
> (cd0:umass-sim0:0:0:0): SCSI status: Check Condition
> (cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on,
> reset, or bus device reset occurred) (cd0:umass-sim0:0:0:0): READ
> TOC/PMA/ATIP. CDB: 43 0 0 0 0 0 0 0 4 0 (cd0:umass-sim0:0:0:0): CAM
> status: SCSI Status Error
> (cd0:umass-sim0:0:0:0): SCSI status: Check Condition
> (cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on,
> reset, or bus device reset occurred) (cd0:umass-sim0:0:0:0): READ
> TOC/PMA/ATIP. CDB: 43 0 0 0 0 0 0 0 4 0 (cd0:umass-sim0:0:0:0): CAM
> status: SCSI Status Error
> (cd0:umass-sim0:0:0:0): SCSI status: Check Condition
> (cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on,
> reset, or bus device reset occurred) g_vfs_done():cd0[READ(offset=32768,
> length=2048)]error = 5
>
>
> Let me know if and how I can help in some way to debug this problem.
>
> We have another issue with this KVM board: on one system (there's about
> 20 identical servers, just one with this problem) we have keyboard/mouse
> access over IP as long as IO is done via the BIOS (i.e. I can get into
> BIOS menus, RAID controller menu, FreeBSD loader). However, as soon as
> the FreeBSD kernel takes over and IO should be handled by the FreeBSD
> USB stack, I see this error in dmesg:
>
> uhub3: port 6, set config at addr 2 failed
> uhub3: device problem (IOERROR), disabling port 6
>
> it could be a faulti KVM board, but then I ask myself why access works
> fine as long as BIOS IO is used..
>

Hi,

This looks like a scsi command issue and not USB related.

--HPS


------------------------------

Message: 19
Date: Tue, 6 Apr 2010 22:15:27 +0200
From: Hans Petter Selasky <hsel...@c2i.net>
Subject: Re: usb/145415: [umass] USB card reader does not create
slices nodes
To: freeb...@freebsd.org
Cc: freebs...@freebsd.org, lin...@freebsd.org
Message-ID: <201004062215....@c2i.net>
Content-Type: Text/Plain; charset="iso-8859-15"

On Monday 05 April 2010 23:16:42 lin...@freebsd.org wrote:
> Old Synopsis: USB card reader does not create slices nodes
> New Synopsis: [umass] USB card reader does not create slices nodes
>
> Responsible-Changed-From-To: freebsd-bugs->freebsd-usb
> Responsible-Changed-By: linimon
> Responsible-Changed-When: Mon Apr 5 21:16:16 UTC 2010
> Responsible-Changed-Why:
> reclassify
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=145415

This is not an USB problem.

Try:

cat /dev/null > /dev/da0

Note: /dev/null is not /dev/zero

--HPS


------------------------------

Message: 20
Date: Tue, 6 Apr 2010 23:30:16 GMT
From: dfi...@FreeBSD.ORG (dfilter service)
Subject: Re: usb/144414: commit references a PR
To: freeb...@FreeBSD.org
Message-ID: <201004062330....@freefall.freebsd.org>

The following reply was made to PR usb/144414; it has been noted by GNATS.

From: dfi...@FreeBSD.ORG (dfilter service)
To: bug-fo...@FreeBSD.org
Cc:
Subject: Re: usb/144414: commit references a PR
Date: Tue, 6 Apr 2010 23:28:34 +0000 (UTC)

Author: thompsa
Date: Tue Apr 6 23:28:18 2010
New Revision: 206319
URL: http://svn.freebsd.org/changeset/base/206319

Log:
MFC r205040

extend search for Apple Function Key.

PR: usb/144414
Submitted by: Hans Petter Selasky

Modified:
stable/8/sys/dev/usb/input/ukbd.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)

Modified: stable/8/sys/dev/usb/input/ukbd.c
==============================================================================
--- stable/8/sys/dev/usb/input/ukbd.c Tue Apr 6 23:27:55 2010 (r206318)
+++ stable/8/sys/dev/usb/input/ukbd.c Tue Apr 6 23:28:18 2010 (r206319)
@@ -883,28 +883,33 @@ ukbd_attach(device_t dev)
err = usbd_req_get_hid_desc(uaa->device, NULL, &hid_ptr,
&hid_len, M_TEMP, uaa->info.bIfaceIndex);
if (err == 0) {
+ uint8_t apple_keys = 0;
uint8_t temp_id;

/* investigate if this is an Apple Keyboard */
if (hid_locate(hid_ptr, hid_len,
HID_USAGE2(HUP_CONSUMER, HUG_APPLE_EJECT),
hid_input, 0, &sc->sc_loc_apple_eject, &flags,
- &sc->sc_kbd_id)) {
+ &temp_id)) {
if (flags & HIO_VARIABLE)
sc->sc_flags |= UKBD_FLAG_APPLE_EJECT |
UKBD_FLAG_APPLE_SWAP;
- if (hid_locate(hid_ptr, hid_len,
- HID_USAGE2(0xFFFF, 0x0003),
- hid_input, 0, &sc->sc_loc_apple_fn, &flags,
- &temp_id)) {
- if (flags & HIO_VARIABLE)
- sc->sc_flags |= UKBD_FLAG_APPLE_FN |
- UKBD_FLAG_APPLE_SWAP;
- if (temp_id != sc->sc_kbd_id) {
- DPRINTF("HID IDs mismatch\n");
- }
- }
- } else {
+ DPRINTFN(1, "Found Apple eject-key\n");
+ apple_keys = 1;
+ sc->sc_kbd_id = temp_id;
+ }
+ if (hid_locate(hid_ptr, hid_len,
+ HID_USAGE2(0xFFFF, 0x0003),
+ hid_input, 0, &sc->sc_loc_apple_fn, &flags,
+ &temp_id)) {
+ if (flags & HIO_VARIABLE)
+ sc->sc_flags |= UKBD_FLAG_APPLE_FN |
+ UKBD_FLAG_APPLE_SWAP;
+ DPRINTFN(1, "Found Apple FN-key\n");
+ apple_keys = 1;
+ sc->sc_kbd_id = temp_id;
+ }
+ if (apple_keys == 0) {
/*
* Assume the first HID ID contains the
* keyboard data
_______________________________________________
svn-s...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all...@freebsd.org"


------------------------------

Message: 21
Date: Tue, 6 Apr 2010 20:47:52 -0700
From: Jeremy Chadwick <fre...@jdc.parodius.com>
Subject: Re: 7.3: instant panic upon connecting a umass
To: "Mikhail T." <mi+...@aldan.algebra.com>
Cc: u...@FreeBSD.org, sta...@FreeBSD.org
Message-ID: <20100407034...@icarus.home.lan>
Content-Type: text/plain; charset=us-ascii

On Tue, Apr 06, 2010 at 11:39:19PM -0400, Mikhail T. wrote:
> P.S. Is the USB supposed to work in 7.x, or do I have to go to 8.x for
> it to work reliably?

The USB stack was completely re-written from the ground up between 7.x
and 8.x. There's a couple active maintainers of the present USB stack
who should be able to help track this down for you.

Regarding your problem: it likely has nothing to do with SMP, so don't
worry about that aspect of it.

--
| Jeremy Chadwick j...@parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |

------------------------------

Message: 22
Date: Tue, 06 Apr 2010 23:39:19 -0400
From: "Mikhail T." <mi+...@aldan.algebra.com>
Subject: 7.3: instant panic upon connecting a umass
To: sta...@FreeBSD.org, u...@FreeBSD.org
Message-ID: <4BBBFE67...@aldan.algebra.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello!

I'm suffering from a fully reproducible panic, that strikes, when I
connect a umass storage device (Blackberry Pearl with a mini-SD card
inserted) to the EHCI USB port.

The system runs a freshly rebuilt 7.3-stable/amd64. The crash is
somewhere inside USB-stack. The stack, as produced by kgdb, can be found at:

http://aldan.algebra.com/~mi/tmp/usb-crash.txt

The usb4-process -- the current process at the panic-time -- is
associated with:

usb4: EHCI version 1.0
usb4: companion controllers, 3 ports each: usb2 usb3
usb4: <NEC uPD 720100 USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: <NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4

The system is running has 6Gb of RAM and 2 dual-core Opterons. The
connection was just fine with 7.2-stable from March 5th, although that
kernel was not an SMP one (by mistake).

Please, advise. Thank you,

-mi

P.S. Is the USB supposed to work in 7.x, or do I have to go to 8.x for
it to work reliably?


------------------------------

Message: 23
Date: Wed, 07 Apr 2010 00:26:46 -0400
From: "Mikhail T." <mi+...@aldan.algebra.com>
Subject: Re: 7.3: instant panic upon connecting a umass
To: Jeremy Chadwick <fre...@jdc.parodius.com>
Cc: u...@FreeBSD.org, sta...@FreeBSD.org
Message-ID: <4BBC0986...@aldan.algebra.com>
Content-Type: text/plain; charset=KOI8-R

Jeremy Chadwick написав(ла):
> Regarding your problem: it likely has nothing to do with SMP, so don't
> worry about that aspect of it.
Thanks for the reassuring response, Jeremy. If this is not about SMP,
then there is a (bad) regression -- the 7.2-kernel from March 5 never
crashed this way... I connected the same phone numerous times, as well
as the camera...

I shall await response from USB-maintainers...

-mi

------------------------------

End of freebsd-usb Digest, Vol 283, Issue 1
*******************************************

0 new messages