Kernel panic with usbtest t5

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

 



Hi,

I am getting below kernel panic (A) while running USBTEST t-5 on OMAP3EVM.

I found below two recent patches on usb sg list.
1. USB: Change the scatterlist type in struct urb [910f8d0]
2. USB: simplify usb_sg_init()                           [0ba169a]

If I revert the patch -1 alone then I get another kernel panic-B

Reverting both the above patches doesn't cause any panic.

-Ajay

---------------------------------- Kernel-Panic-A ----------------
proc/bus/usb/001/002 test 3,    0.251770 secs
unknown speedusbtest 1-2:3.0: TEST 5:  write 1000 sglists 32 entries of 512 bytes
        /proc/bus/usb/001/002
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = cfee4000
[00000000] *pgd=8ffd8031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
last sysfs file: /sys/kernel/uevent_seqnum
Modules linked in:
CPU: 0    Not tainted  (2.6.35-rc3-00010-g8f4ed29-dirty #23)
PC is at sg_next+0x0/0x24
LR is at usb_sg_init+0x198/0x218
---
--
[<c01829b8>] (sg_next+0x0/0x24) from [<c0200a80>] (usb_sg_init+0x198/0x218)
[<c0200a80>] (usb_sg_init+0x198/0x218) from [<c0217ba8>] (perform_sglist+0x58/0xd0)
[<c0217ba8>] (perform_sglist+0x58/0xd0) from [<c02189ac>] (usbtest_ioctl+0x42c/0x1620)
[<c02189ac>] (usbtest_ioctl+0x42c/0x1620) from [<c0208d80>] (usbdev_ioctl+0x1300/0x14f8)
[<c0208d80>] (usbdev_ioctl+0x1300/0x14f8) from [<c00aec24>] (vfs_ioctl+0x2c/0x70)
[<c00aec24>] (vfs_ioctl+0x2c/0x70) from [<c00af338>] (do_vfs_ioctl+0x4f8/0x538)
[<c00af338>] (do_vfs_ioctl+0x4f8/0x538) from [<c00af3ac>] (sys_ioctl+0x34/0x54)
[<c00af3ac>] (sys_ioctl+0x34/0x54) from [<c002ce80>] (ret_fast_syscall+0x0/0x30)

------------------------------------------------------------------

---------------------------------- Kernel-Panic-B ------------
usbtest 1-2:3.0: TEST 5:  write 1000 sglists 32 entries of 512 bytes
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = cfd3c000
[00000000] *pgd=8fde1031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
last sysfs file: /sys/kernel/uevent_seqnum
Modules linked in:
CPU: 0    Not tainted  (2.6.35-rc3-00004-g050dd15 #26)
PC is at dma_map_sg+0x20/0xe8
LR is at usb_hcd_submit_urb+0x6c0/0x924
----
[<c00329e0>] (dma_map_sg+0x20/0xe8) from [<c01ff478>] (usb_hcd_submit_urb+0x6c0/0x924)
[<c01ff478>] (usb_hcd_submit_urb+0x6c0/0x924) from [<c02007e8>] (usb_sg_wait+0x34/0x134)
[<c02007e8>] (usb_sg_wait+0x34/0x134) from [<c0217ca8>] (perform_sglist+0x68/0xd0)
[<c0217ca8>] (perform_sglist+0x68/0xd0) from [<c0218a9c>] (usbtest_ioctl+0x42c/0x1620)
[<c0218a9c>] (usbtest_ioctl+0x42c/0x1620) from [<c0208e70>] (usbdev_ioctl+0x1300/0x14f8)
[<c0208e70>] (usbdev_ioctl+0x1300/0x14f8) from [<c00aec24>] (vfs_ioctl+0x2c/0x70)
[<c00aec24>] (vfs_ioctl+0x2c/0x70) from [<c00af338>] (do_vfs_ioctl+0x4f8/0x538)
[<c00af338>] (do_vfs_ioctl+0x4f8/0x538) from [<c00af3ac>] (sys_ioctl+0x34/0x54)
[<c00af3ac>] (sys_ioctl+0x34/0x54) from [<c002ce80>] (ret_fast_syscall+0x0/0x30)
-------------------------------------------------------------
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux