tu guangxiu wrote:
kernel: linux 2.4.21
usb host: usb-ohci
usbnet: PL2301 or GeneSys GL620USB-A(I test the both)
mainboard: winfast6300
scenerio: (1) plug host-to-host line
(2) ifconfig usb0 up
(3) ifconfig usb0 192.12.10.35

And if you instead, "ifconfig usb0 down" before unplug, what happens? That IS one of the questions I asked.

  (4) unplug the line
  (5) messages on the screen:
      usb-ohci.c SUB .......status:-100(...)
      usb-ohci.c RET .......status:-100(...)
      usbnet.c   status: -100

This is curious, since errno 100 is ENETDOWN which is never returned by "usbnet", "usbcore", or "usb-ohci".

It's as if something is trashing memory for you.
Something likely to be unrelated to USB, since I
use "usbnet" pretty regularly with OHCI and 2.4.21...

- Dave


  (6) machine freeze, means linux can't response any
interrupt.  The keyboard is dead, ethernet is dead , I
must cold boot the machine  again.

  But under linux 2.4.20 running on the same hardware,
there is no such problem.

who know and test as above.
thanks


--- David Brownell <[EMAIL PROTECTED]> wrote:

tu guangxiu wrote:

lists,
 kernel: linux 2.4.21
 I met one severe problem when using usbnet.  I
unplugged the line made of PL2301, linux got to
freeze.  I tested it with linux 2.4.20.  There was

no


such problem. Please help!

Then please provide more information. Like what host controller driver (uhci, usb-uhci, usb-ohci, etc) you used, was the network link "up" or "down", what kernel log messages came out, what do you mean by "freeze", and so on. The kind of information that is in FAQs on how to report bugs...

What happens when you experiment by changing some
of those variables -- switching host controllers
(or drivers), doing "ifconfig usb0 down", running
wiht (or without) CONFIG_USB_DEBUG enabled, and
so on?

- Dave





__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com





-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to