Unable to handle kernel paging request at virtual address

From: CherieWang (ycwang7_at_winbond.com.tw)
Date: 03/29/04


Date: Mon, 29 Mar 2004 17:52:41 +0800

Hi,
  We are writing a driver for Scsi Disk using DMA.
  But there are error messages below.

Unable to handle kernel paging request at virtual address d5cebe82
 printing eip:
c013a211
*pde = 00000000
Oops: 0002
w528sdDriver sd_mod scsi_mod parport_pc lp parport autofs 8139too mii
microcode keybdev mousedev hid input

usb-uhci ehci-hcd usbcore
CPU: 0
EIP: 0060:[<c013a211>] Not tainted
EFLAGS: 00010046

EIP is at kmem_cache_free_one [kernel] 0x71 (2.4.20-8)
eax: d5cebe7e ebx: c1544f58 ecx: c2227000 edx: c2df4000
esi: 00000018 edi: c2227d00 ebp: c1077768 esp: c3377ea4
ds: 0068 es: 0068 ss: 0068
Process cp (pid: 4238, stackpage=c3377000)
Stack: 00000282 00000296 c2227d00 c0139aae c1544f58 c2227d00 c2227c80
c01491c7
       c1544f58 c2227d00 c014b576 c2227d00 c1077768 c31201a8 00000031
00000071
       c013ae23 c1077768 00000030 0000006a c31201a8 00000031 c0133b77
c3120100
Call Trace: [<c0139aae>] kmem_cache_free [kernel] 0x1e (0xc3377eb0))
[<c01491c7>] __put_unused_buffer_head [kernel] 0x57 (0xc3377ec0))
[<c014b576>] try_to_free_buffers [kernel] 0x66 (0xc3377ecc))
[<c013ae23>] drop_page [kernel] 0x453 (0xc3377ee4))
[<c0133b77>] drop_behind [kernel] 0x87 (0xc3377efc))
[<c01341e1>] do_generic_file_read [kernel] 0x371 (0xc3377f0c))
[<c01345c0>] file_read_actor [kernel] 0x0 (0xc3377f38))
[<c0134750>] generic_file_read [kernel] 0xb0 (0xc3377f58))
[<c01345c0>] file_read_actor [kernel] 0x0 (0xc3377f68))
[<c0146d53>] sys_read [kernel] 0xa3 (0xc3377f94))
[<c0109537>] system_call [kernel] 0x33 (0xc3377fc0))

   We use pci_map_single and pci_unmap_single to map DMA buffer. What caused
the error?
   Thanks in advance.
Cherie



Relevant Pages

  • Re: Too Slow - whatd I break?
    ... > do see some error messages regarding VFS mounts. ... Have you enabled DMA on your disk? ...
    (Debian-User)
  • Re: Too Slow - whatd I break?
    ... >> to Debian. ... >> do see some error messages regarding VFS mounts. ... > Have you enabled DMA on your disk? ...
    (Debian-User)
  • Re: [9fans] Running plan 9 on a Toshiba laptop
    ... There are no error messages at all, it just freezes in the DMA ... Have you read the wiki? ...
    (comp.os.plan9)
  • ide-cd: cmd 0x28 timed out
    ... But, when I try to play DVD using 'xine', I get into infinite loop, with ... DMA is pretty useless. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: ATAng no PIO fallback?
    ... On Tuesday 26 August 2003 10:27 pm, Anish Mistry wrote: ... > After removing atapicam from my kernel, so no panics on boot I decided to ... > access my cdrom drive, and got the following error messages, which is very ... > similar to the messages when trying to dma before ATAng: ...
    (freebsd-current)