Google
  Web www.spinics.net

Re: [Bugme-new] [Bug 11546] New: Kernel panic in s3c2410_udc when gadget driver registration was failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Fri, 12 Sep 2008 08:52:31 -0700 (PDT) bugme-daemon@xxxxxxxxxxxxxxxxxxx wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=11546
> 
>            Summary: Kernel panic in s3c2410_udc when gadget driver
>                     registration was failed
>            Product: Drivers
>            Version: 2.5
>      KernelVersion: 2.6.27-rc6
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: USB
>         AssignedTo: greg@xxxxxxxxx
>         ReportedBy: jekhor@xxxxxxxxx
> 
> 
> Hardware Environment:
> S3C2410 board (electronic book), very closely to SMDK2410
> 
> Problem Description:
> 
> When gadget driver registration was failed, kernel panics after some time.
> 
> Steps to reproduce:
> Boot device with Ethernet gadget driver and NFS root enabled. Gadget driver
> will fail to register due USB speed mismatch.
> Disconnect anf connect USB cord some times (probably this is not needed).
> 
> Kernel OOPS:
> 
> [21474537.260000] s3c2410_udc: debugfs dir creation failed -19
> [21474537.390000] Invalid driver: bind c0015f7c setup c013f3f4 speed 3
> ...
> [21474543.380000] Unable to handle kernel NULL pointer dereference at virtual
> address 00000010
> [21474543.380000] pgd = c0004000
> [21474543.380000] [00000010] *pgd=00000000
> [21474543.380000] Internal error: Oops: 5 [#1]
> [21474543.380000] Modules linked in:
> [21474543.380000] CPU: 0    Not tainted  (2.6.27-v3-armel #227)
> [21474543.380000] PC is at s3c2410_udc_irq+0x564/0x708
> [21474543.380000] LR is at s3c2410_udc_irq+0x568/0x708
> [21474543.380000] pc : [<c013dc7c>]    lr : [<c013dc80>]    psr: a0000093
> [21474543.380000] sp : c022be90  ip : 00000000  fp : c022bed4
> [21474543.380000] r10: 00000000  r9 : c025f064  r8 : 00000000
> [21474543.380000] r7 : c025f064  r6 : 00000000  r5 : c023e9d8  r4 : 00000008
> [21474543.380000] r3 : 00000000  r2 : c2c00000  r1 : c022bea0  r0 : c023eb08
> [21474543.380000] Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment
> kernel
> [21474543.380000] Control: c000717f  Table: 30004000  DAC: 00000017
> [21474543.380000] Process swapper (pid: 0, stack limit = 0xc022a268)
> [21474543.380000] Stack: (0xc022be90 to 0xc022c000)
> [21474543.380000] be80:                                     c0042d34 20000093
> 00000000 00000001 
> [21474543.380000] bea0: 01000680 00400000 c022bea8 c1d14f68 00000000 00000000
> 00000029 c025a754 
> [21474543.380000] bec0: 41129200 3001ba8c c022bef4 c022bed8 c005d81c c013d728
> c02351a8 00000029 
> [21474543.380000] bee0: c1d14f68 c02351d8 c022bf1c c022bef8 c005eca8 c005d7e8
> 41129200 00000029 
> [21474543.380000] bf00: c02351a8 00000000 c0243a24 3001bac0 c022bf3c c022bf20
> c0020048 c005ebc0 
> [21474543.380000] bf20: c1c15040 ffffffff f4000000 02000000 c022bf94 c022bf40
> c0020884 c0020010 
> [21474543.380000] bf40: f4100000 00000032 f4100000 60000013 c0022460 c022a000
> c0022460 c0243a24 
> [21474543.380000] bf60: 3001bac0 41129200 3001ba8c c022bf94 c022bf88 c022bf88
> c00224c0 c00224cc 
> [21474543.380000] bf80: 60000013 ffffffff c022bfb4 c022bf98 c00222ac c0022470
> c025aa78 c02439e4 
> [21474543.380000] bfa0: c001cda8 c022dd70 c022bfc4 c022bfb8 c01b7478 c002227c
> c022bff4 c022bfc8 
> [21474543.380000] bfc0: c0008b88 c01b7434 c0008534 00000000 00000000 c001cda8
> 00000000 c0007175 
> [21474543.380000] bfe0: c0243a8c c001d1ac 00000000 c022bff8 30008034 c0008958
> 00000000 00000000 
> [21474543.380000] Backtrace: 
> [21474543.380000] [<c013d718>] (s3c2410_udc_irq+0x0/0x708) from [<c005d81c>]
> (handle_IRQ_event+0x44/0x80)
> [21474543.380000] [<c005d7d8>] (handle_IRQ_event+0x0/0x80) from [<c005eca8>]
> (handle_edge_irq+0xf8/0x17c)
> [21474543.380000]  r7:c02351d8 r6:c1d14f68 r5:00000029 r4:c02351a8
> [21474543.380000] [<c005ebb0>] (handle_edge_irq+0x0/0x17c) from [<c0020048>]
> (__exception_text_start+0x48/0x64)
> [21474543.380000]  r8:3001bac0 r7:c0243a24 r6:00000000 r5:c02351a8 r4:00000029
> [21474543.380000] [<c0020000>] (__exception_text_start+0x0/0x64) from
> [<c0020884>] (__irq_svc+0x24/0xa0)
> [21474543.380000] Exception stack(0xc022bf40 to 0xc022bf88)
> [21474543.380000] bf40: f4100000 00000032 f4100000 60000013 c0022460 c022a000
> c0022460 c0243a24 
> [21474543.380000] bf60: 3001bac0 41129200 3001ba8c c022bf94 c022bf88 c022bf88
> c00224c0 c00224cc 
> [21474543.380000] bf80: 60000013 ffffffff                                       
> [21474543.380000]  r6:02000000 r5:f4000000 r4:ffffffff
> [21474543.380000] [<c0022460>] (default_idle+0x0/0x78) from [<c00222ac>]
> (cpu_idle+0x40/0x5c)
> [21474543.380000] [<c002226c>] (cpu_idle+0x0/0x5c) from [<c01b7478>]
> (rest_init+0x54/0x68)
> [21474543.380000]  r7:c022dd70 r6:c001cda8 r5:c02439e4 r4:c025aa78
> [21474543.380000] [<c01b7424>] (rest_init+0x0/0x68) from [<c0008b88>]
> (start_kernel+0x240/0x2a0)
> [21474543.380000] [<c0008948>] (start_kernel+0x0/0x2a0) from [<30008034>]
> (0x30008034)
> [21474543.380000]  r6:c001d1ac r5:c0243a8c r4:c0007175
> [21474543.380000] Code: e5853344 e24b1034 e59532c8 e1a0e00f (e593f010) 
> [21474543.385000] Kernel panic - not syncing: Fatal exception in interrupt
> 
> 
> It raises because dev->driver field in s3c2410_udc_handle_ep0_idle() (line 739)
> is NULL.
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

Add to Google Powered by Linux