The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: felipe_alfaro@linuxmail.org
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [Bug 1227] New: Oops with SynCE and Compaq iPAQ 3600
Date: Tue, 16 Sep 2003 10:41:19 -0700	[thread overview]
Message-ID: <20030916174119.GB3893@kroah.com> (raw)
In-Reply-To: <1504610000.1063637215@[10.10.2.4]>

On Mon, Sep 15, 2003 at 07:46:55AM -0700, Martin J. Bligh wrote:
> http://bugme.osdl.org/show_bug.cgi?id=1227
> 
> Unable to handle kernel NULL pointer dereference at virtual address 0000010c
>  printing eip:
> e08794d4
> *pde = 00000000
> Oops: 0000 [#1]
> PREEMPT
> CPU:    0
> EIP:    0060:[<e08794d4>]     Not tainted VLI
> EFLAGS: 00010297
> EIP is at ipaq_read_bulk_callback+0xca/0x282 [ipaq]
> eax: 00000006   ebx: 00000000   ecx: de7cd600   edx: 00000006
> esi: de9fc200   edi: df4f9600   ebp: 00000000   esp: c038dee0
> ds: 007b   es: 007b   ss:0068
> Process swapper (pid: 0, threadinfo=c038c000 task=c03169c0)
> Stack: 00000046 00000086 de9fc200 de9fc200 00000006 dd273000 de7cd600 de9fc200
>        c038dfa4 de9fc200 df765c00 e08421ea de9fc200 c038dfa4 c038c000 00000286
>        e082ed9a df765c00 de9fc200 c038dfa4 df765df8 c038dfa4 df765c00 00000001
> Call Trace:
>  [<e08421ea>] usb_hcd_giveback_urb+0x25/0x39 [usbcore]
>  [<e082ed9a>] uhci_finish_completion+0x6a/0xac [uhci_hcd]
>  [<e0842234>] usb_hcd_irq+0x36/0x5f [usbcore]
>  [<c010c633>] handle_IRQ_event+0x3a/0x64
>  [<c010c999>] do_IRQ+0x94/0x135
>  [<c0107000>] _stext+0x0/0x5d
>  [<c02d404c>] common_interrupt+0x18/0x20
>  [<c0107000>] _stext+0x0/0x5d
>  [<c012007b>] __wake_up_common+0x31/0x50
>  [<c0109041>] default_idle+0x23/0x26
>  [<c010909f>] cpu_idle+0x2c/0x35
>  [<c038e6cc>] start_kernel+0x17d/0x1ab
>  [<c038e426>] unknown_bootoption+0x0/0xfd

Does the following patch solve this oops?

thanks,

greg k-h


--- a/drivers/usb/serial/ipaq.c	Wed Sep  3 08:47:21 2003
+++ b/drivers/usb/serial/ipaq.c	Tue Sep 16 10:34:30 2003
@@ -341,7 +341,7 @@
 	usb_serial_debug_data (__FILE__, __FUNCTION__, urb->actual_length, data);
 
 	tty = port->tty;
-	if (urb->actual_length) {
+	if (tty && urb->actual_length) {
 		for (i = 0; i < urb->actual_length ; ++i) {
 			/* if we insert more than TTY_FLIPBUF_SIZE characters, we drop them. */
 			if(tty->flip.count >= TTY_FLIPBUF_SIZE) {

      reply	other threads:[~2003-09-16 17:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-15 14:46 [Bug 1227] New: Oops with SynCE and Compaq iPAQ 3600 Martin J. Bligh
2003-09-16 17:41 ` Greg KH [this message]

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=20030916174119.GB3893@kroah.com \
    --to=greg@kroah.com \
    --cc=felipe_alfaro@linuxmail.org \
    --cc=linux-kernel@vger.kernel.org \
    /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