linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* New bug?
@ 2014-02-19  7:32 Alexander Shiyan
       [not found] ` <1392795133.984411895-P0ORxJMC3jVsdVUOrk1QfQ@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Shiyan @ 2014-02-19  7:32 UTC (permalink / raw)
  To: linux-spi-u79uwXL29TY76Z2rM5mHXA, Mark Brown

Hello.

During testing functions transfer_one(), stumbled upon an error.
I'm using kernel 3.13, so I had to apply a patch from upstream
(spi: core: Fix transfer failure when master->transfer_one returns positive value).
After applying all becomes normal with probing, but where did the error
"Unable to handle kernel NULL pointer dereference" ?
Did someone have similar bugs?

Thanks.

spi_master spi0: failed to transfer one message from queue: 1
74x164 spi0.1: Failed writing: 1
74x164: probe of spi0.1 failed with error 1
Unable to handle kernel NULL pointer dereference at virtual address 00000020
CAN device driver interface
pgd = c0024000
[00000020] *pgd=00000000
Internal error: Oops: 63c11805 [#1] PREEMPT ARM
CPU: 0 PID: 22 Comm: spi0 Not tainted 3.13.3 #1
task: c396b260 ti: c396e000 task.ti: c396e000
PC is at spi_pump_messages+0x150/0x194
LR is at spi_pump_messages+0x148/0x194
pc : [<c02b690c>]    lr : [<c02b6904>]    psr: 60000013
sp : c396ff20  ip : c04806c4  fp : 00000000
r10: 00000000  r9 : 00000000  r8 : c396b19c
r7 : 00000001  r6 : c396b020  r5 : 00000001  r4 : c396b1b0
r3 : 00000000  r2 : 00000000  r1 : 20000093  r0 : c396b020
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 0000217f  Table: c0024017  DAC: 00000017
Process spi0 (pid: 22, stack limit = 0xc396e1c0)
Stack: (0xc396ff20 to 0xc3970000)
ff20: c396b1b0 c396b18c c396e000 c004a93c 00000000 c396ad60 00000000 c396b18c
ff40: c004a8a0 00000000 00000000 c004a318 ffefb1cc 00000000 ffff3348 c396b18c
ff60: 00000000 00000001 dead4ead ffffffff ffffffff c396ff74 c396ff74 00000000
ff80: 00000001 dead4ead ffffffff ffffffff c396ff90 c396ff90 c396ffac c396ad60
ffa0: c004a264 00000000 00000000 c0029330 00000000 00000000 00000000 00000000
ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 efff23cc fd5f33cc
[<c02b690c>] (spi_pump_messages+0x150/0x194) from [<c004a93c>] (kthread_worker_fn+0x9c/0xf0)
[<c004a93c>] (kthread_worker_fn+0x9c/0xf0) from [<c004a318>] (kthread+0xb4/0xd0)
[<c004a318>] (kthread+0xb4/0xd0) from [<c0029330>] (ret_from_fork+0x14/0x24)
Code: e1a02005 ebfef650 e5943040 e1a00006 (e5835020)
---[ end trace 3e93175567c311da ]---

---

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

end of thread, other threads:[~2014-02-20 19:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-19  7:32 New bug? Alexander Shiyan
     [not found] ` <1392795133.984411895-P0ORxJMC3jVsdVUOrk1QfQ@public.gmane.org>
2014-02-19  7:45   ` Geert Uytterhoeven
     [not found]     ` <CAMuHMdUTVAey=9rmU0xRomEomBk1erMoH-jnu8Szg=OcZWbLog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-19 11:20       ` Alexander Shiyan
     [not found]         ` <1392808849.211941090-PR9Oqn8FVc1sdVUOrk1QfQ@public.gmane.org>
2014-02-19 11:46           ` Mark Brown
2014-02-19 12:06           ` Geert Uytterhoeven
     [not found]             ` <CAMuHMdVBY7M=dkegw_3pQ7yFSLLEe2T6pXidY=eL7oiYAXXoPQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-20 19:51               ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).