public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Frank <mhf@linuxmail.org>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	linux-usb-devel@lists.sourceforge.net
Subject: Re: [linux-usb-devel] 2.6.0-test4 - PL2303 OOPS - see also 2.4.22: OOPS on disconnect PL2303 adapter
Date: Wed, 3 Sep 2003 06:13:19 +0800	[thread overview]
Message-ID: <200309030613.19800.mhf@linuxmail.org> (raw)
In-Reply-To: <20030902164341.GF17568@kroah.com>

On Wednesday 03 September 2003 00:43, Greg KH wrote:
> On Tue, Sep 02, 2003 at 01:39:08AM +0800, Michael Frank wrote:
> > PL2303 is used to connect the serial console on a classic serial port
> > of a test machine. HW nandshaking is used
> > The test machine reboots once a minute and dumps lots of messages
> >
> > Frequently:
> > - driver hangs
> > - userspace (cu) can't be stopped
> > - pl2303 and/or usbserial can't be unloaded
> > - USB interrupts stop
> > - problems result in requiring a reboot.
>
> Hm, it looks like you physically removed the device, is that correct?
> Or were you just unloading the pl2303 and other USB drivers and then
> reloading them?
>
> What exactly were you doing in this log?
>
> Oh, and can you send a copy of /proc/bus/usb/devices with your pl2303
> device plugged in?
>

Whenever it stops working I follow this sequence, which you can match
to the logs.

1) Exit cu by ~.
   - if this does not work
       try \r~.
       - if this does not work
          Send SIGHUP, (which so far always worked)

2) Start cu again
   - if it prints leftover characters
     exit cu again by ~. and continue from step 2)

3) If it still not works and hangs again
   - for a few tries  
     unplug PL2303, wait a second replug and goto step 2)


4) If it still does not work
   - Remove PL2303, unload and reload usb (all) and
     plug PL2303 again
   - If module unloading fails, or interrupts died 
       (no response to plugging) > reboot 



Regards
Michael




  reply	other threads:[~2003-09-02 22:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-01 17:39 2.6.0-test4 - PL2303 OOPS - see also 2.4.22: OOPS on disconnect PL2303 adapter Michael Frank
2003-09-01 18:53 ` Jan-Benedict Glaw
2003-09-02 16:43 ` [linux-usb-devel] " Greg KH
2003-09-02 22:13   ` Michael Frank [this message]
2003-09-02 23:52     ` Greg KH
2003-09-03  6:32       ` Michael Frank
2003-09-05 23:08         ` Greg KH
2003-09-06  2:31           ` Michael Frank
2003-09-06  5:48             ` Greg KH
2003-09-06  8:01               ` Michael Frank
2003-09-06  7:38           ` Jan-Benedict Glaw
2003-09-06  7:55             ` Michael Frank
2003-09-06 10:55               ` Jan-Benedict Glaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200309030613.19800.mhf@linuxmail.org \
    --to=mhf@linuxmail.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox