Skip to contentSkip to conversation

2.6.21-rc4: mmc fails to work, then oopses

DISCUSSION Pavel Machek 2 participants 3 messages Mar 22, 2007 – Mar 29, 2007

lore
Share & tools
lore
#0 lore raw

Hi!

(Machine was suspended/resumed before this).

mount /dev/mmc1 /mnt

Buffer I/O error on device mmcblk0p1, logical block 1

BUG: unable to handle kernel NULL pointer dereference at virtual

address 00000024
printing eip:
c04cb2ec
*pde = 00000000

Oops: 0000 [#1]
SMP
Modules linked in:
CPU:    0
EIP:    0060:[<c04cb2ec>]    Not tainted VLI
EFLAGS: 00010097   (2.6.21-rc4 #413)

EIP is at mmc_prep_request+0x2c/0x50
eax: 00000000 ebx: ecad6134 ecx: 00000000 edx: ecad6134
esi: ecad6134 edi: f797369c ebp: c04cb490 esp: ecb89f98
ds: 007b es: 007b fs: 00d8 gs: 0000 ss: 0068
Process mmcqd (pid: 7143, ti=ecb88000 task=c230c570 task.ti=ecb88000)

Stack: f7bd5470 c02450f8 00000003 00000000 00000000 ecad6134 f797369c
f7bd5470
       f797369c c04cb547 fffffffc f7fc1d08 c013cfbc ffffffff ffffffff
c013ced0
       00000000 00000000 00000000 c0104beb f7fc1d00 00000000 00000000
00000000
Call Trace:
 [<c02450f8>] elv_next_request+0x88/0x140
 [<c04cb547>] mmc_queue_thread+0xb7/0xe0
 [<c013cfbc>] kthread+0xec/0xf0
 [<c013ced0>] kthread+0x0/0xf0
 [<c0104beb>] kernel_thread_helper+0x7/0x1c
 =======================

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw
Quoted 6 lines · Pavel Machek

Hi!

(Machine was suspended/resumed before this).

mount /dev/mmc1 /mnt

Driver? Reproducable? Vanilla git kernel?

Rgds

Signature · 5 lines
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  PulseAudio, core developer          http://pulseaudio.org
  rdesktop, core developer          http://www.rdesktop.org
#2 lore raw

Hi!

Quoted 7 lines
Quoted 5 lines

(Machine was suspended/resumed before this).

mount /dev/mmc1 /mnt

Driver? Reproducable? Vanilla git kernel?

It was driver for

15:00.2 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter

...but problem is either gone in -rc5, or not reproducible. I'll play with it some more.
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html