当前位置: 代码迷 >> 综合 >> 内存错误:allocation failed: out of vmalloc space - use vmalloc= to increase size.
  详细解决方案

内存错误:allocation failed: out of vmalloc space - use vmalloc= to increase size.

热度:36   发布时间:2023-12-09 03:23:00.0

不晓得是不是我的驱动的错误,导致内存访问失效,2440使用的是linux的2.6.13内核,开机运行6,7个小时后,便报此错误,贴于此,我再看看问题是怎么来的。

allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.

allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.

Unable to handle kernel NULL pointer dereference at virtual address 00000000

pgd = c3854000

[00000000] *pgd=3003d031, *pte=00000000, *ppte=00000000

Internal error: Oops: 17 [#1]

Modules linked in: callts lcdc

CPU: 0

PC is at s3c24xx_serial_start_tx+0x48/0xac

LR is at 0x1

pc : [<c017a3ac>]    lr : [<00000001>]    Tainted: P    

sp : c331fe40  ip : 60000093  fp : c331fe58

r10: a0000013  r9 : c300c000  r8 : 00000014

r7 : c3808014  r6 : c0225c58  r5 : 00000001  r4 : 00000000

r3 : 00000064  r2 : 00000000  r1 : 00002793  r0 : 00000000

Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  Segment user

Control: C000717F  Table: 33854000  DAC: 00000015

Process proxt (pid: 360, stack limit = 0xc331e194)

Stack: (0xc331fe40 to 0xc3320000)

fe40: 60000013 c3c1b3a4 00000000 c331fe68 c331fe5c c0174dd0 c017a374 c331fe7c

fe60: c331fe6c c0174df0 c0174d88 00000000 c331fea8 c331fe80 c01753e8 c0174de4

fe80: c3808000 c300c000 00000014 fffffff2 00000000 c331fecc c331e000 c331ff08

fea0: c331feac c0165e54 c0175338 c300c934 c3808000 c37efd20 00000000 c3e60300

fec0: c0074b5c 00000000 00000000 00000000 c3e60300 c0074b5c c300c934 c300c934

fee0: 00000014 c300c000 00000014 fffffff2 412ab000 c331e000 c300cbe4 c331ff4c

ff00: c331ff0c c0160724 c0165b6c 00000000 00000000 00000014 c0165b5c c300c00c

ff20: c37efd20 00000014 00000000 c37efd20 412ab000 c331e000 c331e000 c331ff78

ff40: c331ff74 c331ff50 c00b1154 c0160554 c37efd44 c37efd20 c331ff78 00000000

ff60: 00000000 4081f64c c331ffa4 c331ff78 c00b128c c00b10a4 00000000 00000000

ff80: 00000001 00000014 412ab000 00094050 00000004 c0062004 00000000 c331ffa8

ffa0: c0061e80 c00b1250 00000014 c01def10 00000009 412ab000 00000014 00000000

ffc0: 00000014 412ab000 00094050 00000014 00087e10 00088c5c 4081f64c be3ffb3c

ffe0: 00000000 be3ffab4 407d8f58 407c0554 60000010 00000009 00000000 00008000

Backtrace:

[<c017a364>] (s3c24xx_serial_start_tx+0x0/0xac) from [<c0174dd0>] (__uart_start+0x58/0x5c)

 r6 = 00000000  r5 = C3C1B3A4  r4 = 60000013

[<c0174d78>] (__uart_start+0x0/0x5c) from [<c0174df0>] (uart_start+0x1c/0x24)

[<c0174dd4>] (uart_start+0x0/0x24) from [<c01753e8>] (uart_write+0xc0/0xc8)

 r4 = 00000000

[<c0175328>] (uart_write+0x0/0xc8) from [<c0165e54>] (write_chan+0x2f8/0x36c)

[<c0165b5c>] (write_chan+0x0/0x36c) from [<c0160724>] (tty_write+0x1e0/0x298)

[<c0160544>] (tty_write+0x0/0x298) from [<c00b1154>] (vfs_write+0xc0/0x138)

[<c00b1094>] (vfs_write+0x0/0x138) from [<c00b128c>] (sys_write+0x4c/0x74)

[<c00b1240>] (sys_write+0x0/0x74) from [<c0061e80>] (ret_fast_syscall+0x0/0x2c)

 r8 = C0062004  r7 = 00000004  r6 = 00094050  r5 = 412AB000

 r4 = 00000014

Code: e3a01004 e3a02000 e59f0060 ebfbbab4 (e5903000)

 

  相关解决方案