The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [Bug 1227] New: Oops with SynCE and Compaq iPAQ 3600
@ 2003-09-15 14:46 Martin J. Bligh
  2003-09-16 17:41 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Martin J. Bligh @ 2003-09-15 14:46 UTC (permalink / raw)
  To: linux-kernel

http://bugme.osdl.org/show_bug.cgi?id=1227

           Summary: Oops with SynCE and Compaq iPAQ 3600
    Kernel Version: 2.6.0-test5-bk3
            Status: NEW
          Severity: normal
             Owner: greg@kroah.com
         Submitter: felipe_alfaro@linuxmail.org


Distribution: 
SuSE Linux 8.2 
 
Hardware Environment: 
Pentium V 2.0Ghz 
Intel 845 motherboard (uhci-hcd) 
Compaq iPAQ 3660 with USB craddle 
 
Software Environment: 
SynCE 0.8.3 
 
Problem Description: 
Performing the following steps causes the kernel to oops and freeze. The 
kernel oops is attached to this bug report. I have also attached the .config 
file used to compile the kernel. 
 
Steps to reproduce: 
1. boot 2.6.0-test5-bk3 
2. modprobe ipaq 
3. synce-serial-config ttyUSB0 
4. dccm 
5. synce-serial-start

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

Code: e8 8c a7 8a df eb 9f 8b 56 30 85 c0 89 54 24 10 89 d5 0f 85 ed 00 00 00 8b
 44 24 10 8b 5f 08 85 c0 74 6a 31 ed 3b 6c 24 10 7d 51 <8b> 83 0c 01 00 00 3d ff
 01 00 00 0f 8f b6 00 00 00 8b 4c 24 14
 <0>Kernel panic: Fata; exception in interruppt
In interrupt handler - not syncing



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bug 1227] New: Oops with SynCE and Compaq iPAQ 3600
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-09-16 17:41 UTC (permalink / raw)
  To: felipe_alfaro; +Cc: linux-kernel

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) {

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-16 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox