Re: [Bug 9160] New: kernel oops in firewire_ohci

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

 



For the linux1394-devel and sparclinux mailinglists to see:

Since Linux 2.6.23, the firewire-ohci driver oopses on startup when it
sets up its AR DMA contexts (AR = asynchronous reception).  See quote
from bugzilla below.

The last modification that directly affected firewire-ohci's AR DMA was
already before 2.6.22 (firewire: fix async reception on big endian
machines).
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=history;f=drivers/firewire/fw-ohci.c

Patches to fw-ohci.c in 2.6.23 which are not in 2.6.22.9:

	firewire: missing newline in printk
	firewire: fw-ohci: flush MMIO write before msleep
	firewire: fw-ohci: dma_free_coherent needs IRQs enabled

They are all obviously unrelated to the bug.

bugme-daemon@xxxxxxxxxxxxxxxxxxx wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=9160
> 
>            Summary: kernel oops in firewire_ohci
>            Product: Drivers
>            Version: 2.5
>      KernelVersion: 2.6.23.1
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: IEEE1394
>         AssignedTo: drivers_ieee1394@xxxxxxxxxxxxxxxxxxxx
>         ReportedBy: seraph@xxxxxxxxx
> 
> 
> Most recent kernel where this bug did not occur: 2.6.22.9
> Distribution: Gentoo
> Hardware Environment: Sparc64 (Blade 100 UltraSPARC 2e)
> Software Environment:
> Problem Description:
> 
> I found a kernel oops in /var/log/messages after booting both my Blade 100s.
> The oops appears to have triggered by firewire_ohci, but I'm no kernel hacker
> and could be mistaken.
> 
> Here is the text of one of them. The one from the other machine is identical
> except for the timestamps and machine name.
> 
> Oct 13 20:26:04 succubus OOPS: Bogus kernel PC [0000000000000000] in fault handler
> Oct 13 20:26:04 succubus OOPS: RPC [0000000010068cd0]
> Oct 13 20:26:04 succubus RPC: <ar_context_add_page+0xd8/0x160 [firewire_ohci]>
> Oct 13 20:26:04 succubus OOPS: Fault was to vaddr[1004e000]
> Oct 13 20:26:04 succubus Call Trace:
> Oct 13 20:26:04 succubus [00000000004076f4] sparc64_realfault_common+0x18/0x20
> Oct 13 20:26:04 succubus [0000000010068cd0] ar_context_add_page+0xd8/0x160 [firewire_ohci]
> Oct 13 20:26:04 succubus [0000000010068d90] ar_context_init+0x38/0x60 [firewire_ohci]
> Oct 13 20:26:04 succubus [000000001006ac50] pci_probe+0xf8/0x340 [firewire_ohci]
> Oct 13 20:26:04 succubus [00000000005299bc] pci_device_probe+0x64/0xa0
> Oct 13 20:26:04 succubus [0000000000550a28] driver_probe_device+0x90/0x1c0
> Oct 13 20:26:04 succubus [0000000000550bc0] __driver_attach+0x68/0x80
> Oct 13 20:26:04 succubus [000000000054fe5c] bus_for_each_dev+0x44/0x80
> Oct 13 20:26:04 succubus [0000000000550218] bus_add_driver+0x80/0x1c0
> Oct 13 20:26:04 succubus [0000000000529b7c] __pci_register_driver+0x44/0xa0
> Oct 13 20:26:04 succubus [000000000047d5cc] sys_init_module+0x134/0x1400
> Oct 13 20:26:04 succubus [0000000000406094] linux_sparc_syscall32+0x3c/0x40
> Oct 13 20:26:04 succubus [00000000000133d8] 0x133e0
> Oct 13 20:26:04 succubus Unable to handle kernel NULL pointer dereference
> Oct 13 20:26:04 succubus tsk->{mm,active_mm}->context = 00000000000001f9
> Oct 13 20:26:04 succubus tsk->{mm,active_mm}->pgd = fffff8004f9f8000
> Oct 13 20:26:04 succubus \|/ ____ \|/
> Oct 13 20:26:04 succubus "@'/ .. \`@"
> Oct 13 20:26:04 succubus /_| \__/ |_\
> Oct 13 20:26:04 succubus \__U_/
> Oct 13 20:26:04 succubus modprobe(648): Oops [#1]
> Oct 13 20:26:04 succubus TSTATE: 0000001911009601 TPC: 0000000000000000 TNPC: 0000000000000004 Y: 00000000    Not tainted
> Oct 13 20:26:04 succubus TPC: <0x8>
> Oct 13 20:26:04 succubus g0: 0000000000470a40 g1: 00000000005d2b28 g2: 0000000000000000 g3: 0000000000000000
> Oct 13 20:26:04 succubus g4: fffff8004f393480 g5: 0000000000000098 g6: fffff8004fa74000 g7: 00c06500180065c0
> Oct 13 20:26:04 succubus o0: fffff8004effb870 o1: 00000000c0650000 o2: 0000000000002000 o3: 0000000000000000
> Oct 13 20:26:04 succubus o4: 0000000000000004 o5: 000001ff00420000 sp: fffff8004fa76e71 ret_pc: 0000000010068cd0
> Oct 13 20:26:04 succubus RPC: <ar_context_add_page+0xd8/0x160 [firewire_ohci]>
> Oct 13 20:26:04 succubus l0: fffff8004fba4000 l1: 00000000c0650000 l2: fffff8004effb870 l3: fffff8004f608d90
> Oct 13 20:26:04 succubus l4: 000000000063cc00 l5: 0000000000ff0000 l6: fffff8004fa776e0 l7: fffffffffffffff0
> Oct 13 20:26:04 succubus i0: 000000000000ff00 i1: 0000000010069cc0 i2: fffff8004f608d90 i3: 0000000000000000
> Oct 13 20:26:04 succubus i4: 0000000000000040 i5: 0000000000000000 i6: fffff8004fa76f31 i7: 0000000010068d90
> Oct 13 20:26:04 succubus I7: <ar_context_init+0x38/0x60 [firewire_ohci]>
> Oct 13 20:26:04 succubus Caller[0000000010068d90]: ar_context_init+0x38/0x60 [firewire_ohci]
> Oct 13 20:26:04 succubus Caller[000000001006ac50]: pci_probe+0xf8/0x340 [firewire_ohci]
> Oct 13 20:26:04 succubus Caller[00000000005299bc]: pci_device_probe+0x64/0xa0
> Oct 13 20:26:04 succubus Caller[0000000000550a28]: driver_probe_device+0x90/0x1c0
> Oct 13 20:26:04 succubus Caller[0000000000550bc0]: __driver_attach+0x68/0x80
> Oct 13 20:26:04 succubus Caller[000000000054fe5c]: bus_for_each_dev+0x44/0x80
> Oct 13 20:26:04 succubus Caller[0000000000550218]: bus_add_driver+0x80/0x1c0
> Oct 13 20:26:04 succubus Caller[0000000000529b7c]: __pci_register_driver+0x44/0xa0
> Oct 13 20:26:04 succubus Caller[000000000047d5cc]: sys_init_module+0x134/0x1400
> Oct 13 20:26:04 succubus Caller[0000000000406094]: linux_sparc_syscall32+0x3c/0x40
> Oct 13 20:26:04 succubus Caller[00000000000133d8]: 0x133e0
> Oct 13 20:26:04 succubus Instruction DUMP: 01000000  01000000  01000000
> <1>Unable to handle kernel NULL pointer dereference
> Oct 13 20:26:04 succubus tsk->{mm,active_mm}->context = 00000000000001f9
> Oct 13 20:26:04 succubus tsk->{mm,active_mm}->pgd = fffff8004f9f8000
> Oct 13 20:26:04 succubus \|/ ____ \|/
> Oct 13 20:26:04 succubus "@'/ .. \`@"
> Oct 13 20:26:04 succubus /_| \__/ |_\
> Oct 13 20:26:04 succubus \__U_/
> Oct 13 20:26:04 succubus modprobe(648): Oops [#2]
> Oct 13 20:26:04 succubus TSTATE: 0000004480009605 TPC: 0000000000428a5c TNPC: 0000000000428a60 Y: 00000000    Tainted: G      D
> Oct 13 20:26:04 succubus TPC: <instruction_dump+0x44/0xa0>
> Oct 13 20:26:04 succubus g0: 78745f6164645f70 g1: 000000000063def0 g2: 0000000000000000 g3: 000000000063dc00
> Oct 13 20:26:04 succubus g4: fffff8004f393480 g5: 0000000000000098 g6: fffff8004fa74000 g7: 000000000063def0
> Oct 13 20:26:04 succubus o0: 00000000006050d0 o1: 000000000000003c o2: 0000000001000000 o3: 000000000000003e
> Oct 13 20:26:04 succubus o4: 0000000010068d90 o5: 000000000068d168 sp: fffff8004fa76aa1 ret_pc: 0000000000428a80
> Oct 13 20:26:04 succubus RPC: <instruction_dump+0x68/0xa0>
> Oct 13 20:26:04 succubus l0: 0000000000000000 l1: 0000000000605000 l2: 0000000000000000 l3: 0000001911009601
> Oct 13 20:26:04 succubus l4: 0000000000000000 l5: 000000000063dc00 l6: 000000000063dc00 l7: 0000000000000000
> Oct 13 20:26:04 succubus i0: 0000000000000000 i1: 00000000000133e0 i2: fffff8004fa775d0 i3: 0000000000000000
> Oct 13 20:26:04 succubus i4: 00000000000000ff i5: 000000000000000b i6: fffff8004fa76b61 i7: 00000000004294b8
> Oct 13 20:26:04 succubus I7: <die_if_kernel+0x160/0x2c0>
> Oct 13 20:26:04 succubus Caller[00000000004294b8]: die_if_kernel+0x160/0x2c0
> Oct 13 20:26:04 succubus Caller[000000000044d130]: unhandled_fault+0x78/0xe0
> Oct 13 20:26:04 succubus Caller[00000000004076f4]: sparc64_realfault_common+0x18/0x20
> Oct 13 20:26:04 succubus Caller[0000000010068cd0]: ar_context_add_page+0xd8/0x160 [firewire_ohci]
> Oct 13 20:26:04 succubus Caller[0000000010068d90]: ar_context_init+0x38/0x60 [firewire_ohci]
> Oct 13 20:26:04 succubus Caller[000000001006ac50]: pci_probe+0xf8/0x340 [firewire_ohci]
> Oct 13 20:26:04 succubus Caller[00000000005299bc]: pci_device_probe+0x64/0xa0
> Oct 13 20:26:04 succubus Caller[0000000000550a28]: driver_probe_device+0x90/0x1c0
> Oct 13 20:26:04 succubus Caller[0000000000550bc0]: __driver_attach+0x68/0x80
> Oct 13 20:26:04 succubus Caller[000000000054fe5c]: bus_for_each_dev+0x44/0x80
> Oct 13 20:26:04 succubus Caller[0000000000550218]: bus_add_driver+0x80/0x1c0
> Oct 13 20:26:04 succubus Caller[0000000000529b7c]: __pci_register_driver+0x44/0xa0
> Oct 13 20:26:04 succubus Caller[000000000047d5cc]: sys_init_module+0x134/0x1400
> Oct 13 20:26:04 succubus Caller[0000000000406094]: linux_sparc_syscall32+0x3c/0x40
> Oct 13 20:26:04 succubus Caller[00000000000133d8]: 0x133e0
> Oct 13 20:26:04 succubus Instruction DUMP: 80a42000  12480005  9610203e <d4060000> 4000cf10  a0102001  833c2000  901460d0  83287002
> 
> 

-- 
Stefan Richter
-=====-=-=== =-=- -==-=
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux