2004-11-06 01:29:17

by Bernhard Rosenkraenzer

[permalink] [raw]
Subject: 2.6.10-rc1-mm3: modprobe oopses [x86]

modprobe ohci1394 leads to:

Unable to handle kernel paging request at virtual address e0c00000
printing eip:
*pde=00000000
Oops: 0002 [ #1]
PREEMPT
Modules linked in: ehci_hcd uhci_hcd usbcore rtc
CPU: 0
EIP: 0060:[<c0137d8d>] Not tainted VLI
EFLAGS: 00010216 (2.6.10-rc1-mm1)
EIP is at load_module+0x51d/0xb60
eax: 00000000 ebx: e0b91000 ecx: 0000ef8d edx: 0004be34
esi: 0004be34 edi: e0c00000 ebp: e0bf0000 esp: dfdddf0c
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 490, threadinfo=dfddd000 task=df978560)
Stack: 0004be34 e0b91000 e0bd38cc e0bd37a0 c0318ca4 df7228d8 df7228cc
00000000 0005e000 00000000 c0151656 c152b280 df1fdbe0 e0bd3480 00000016
00000000 00000011 00000000 0000000c 00000000 00000019 00000014 00000000
Call Trace:
[<c0151656>] do_mmap_pgoff+0x586/0x7d0
[<c0138423>] sys_init_module+0x53/0x220
[<c0106181>] sysenter_past_esp+0x52/0x71
Code: 00 00 89 04 24 e8 d4 ef fd ff 85 c0 89 c5 0f 84 a1 01 00 00 8b 7c 24 38
8b b7 80 00 00 00 89 c7 8b 44 24 20 89 f1 89 f2 c1 e9 02 <f3> ab f6 c2 02 74
02 66 ab f6 c2 01 74 01 aa 8b 4c 24 38 8b 41

Turning off firewire allows the boot process to proceed a bit further, to hang
after a similar oops when loading snd-intel8x0:

Unable to handle kernel paging request at virtual address e0c00000
printing eip:
c02e886a
*pde = 00000000
Oops: 0002 [#1]
PREEMPT
Modules linked in: soundcore psmouse pcmcia yenta_socket pcmcia_core af_packet
ehci_hcd uhci_hcd usbcore video thermal processor fan button battery
asus_acpi ac rtc
CPU: 0
EIP: 0060:[<c02e886a>] Not tainted VLI
EFLAGS: 00010246 (2.6.10-0.rc1.2ark)
EIP is at __lock_text_end+0xb67/0x1056
eax: 00000000 ebx: 000112a8 ecx: 000022a8 edx: b7fff2a8
esi: b7ffd000 edi: e0c00000 ebp: 00000000 esp: dfb70ed0
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 997, threadinfo=dfb70000 task=de4a9060)
Stack: 00000000 000022a8 df428ca0 00000163 dfb70ee4 00000000 e0bf1000 c01dd192
e0bf1000 b7fee000 000112a8 e0bf1000 fffffff2 00000000 c0137928 e0bf1000
b7fee000 000112a8 df822e34 de563f10 df68285c df68287c df682874 df822e34
Call Trace:
[<c01dd192>] copy_from_user+0x42/0x70
[<c0137928>] load_module+0xb8/0xb60
[<c0151656>] do_mmap_pgoff+0x586/0x7d0
[<c0138423>] sys_init_module+0x53/0x220
[<c0106181>] sysenter_past_esp+0x52/0x71
Code: 88 00 51 50 31 c0 f3 aa 58 59 e9 a1 47 ef ff 01 c1 e9 f3 47 ef ff 8d 4c
88 00 e9 ea 47 ef ff 01 c1 eb 04 8d 4c 88 00 51 50 31 c0 <f3> aa 58 59 e9 55
48 ef ff b8 f2 ff ff ff e9 bf a2 ef ff ba f2


2004-11-06 02:26:00

by Dominik Karall

[permalink] [raw]
Subject: Re: 2.6.10-rc1-mm3: modprobe oopses [x86]

On Saturday 06 November 2004 02:23, Bernhard Rosenkraenzer wrote:
> modprobe ohci1394 leads to:
>
> Unable to handle kernel paging request at virtual address e0c00000
> printing eip:
> *pde=00000000
> Oops: 0002 [ #1]
> PREEMPT
> Modules linked in: ehci_hcd uhci_hcd usbcore rtc
> CPU: 0
> EIP: 0060:[<c0137d8d>] Not tainted VLI
> EFLAGS: 00010216 (2.6.10-rc1-mm1)
> EIP is at load_module+0x51d/0xb60
>...

my kernel also oopses when trying to load the nvidia driver with insmod:

Unable to handle kernel paging request at virtual address d1400000
printing eip:
c02dc73f
*pde = 00000000
Oops: 0002 [#1]
PREEMPT
Modules linked in: sd_mod tda9887 tuner saa7134 video_buf v4l2_common
v4l1_compat ir_common videodev 8139too sis900 crc32 ehci_hcd usb_storage
scsi_mod ohci_hcd usbcore snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd
soundcore snd_page_alloc ohci1394 ieee1394 i2c_sis96x i2c_core
CPU: 0
EIP: 0060:[__lock_text_end+3019/4642] Not tainted VLI
EFLAGS: 00010246 (2.6.10-rc1-mm3)
EIP is at __lock_text_end+0xbcb/0x1222
eax: 00000000 ebx: 004f0b9a ecx: 004c3b9a edx: b6ecd008
esi: b6efa008 edi: d1400000 ebp: d13d3000 esp: cc296f08
ds: 007b es: 007b ss: 0068
Process insmod (pid: 3889, threadinfo=cc296000 task=cf821510)
Stack: 00000002 004c3b9a d13d3000 b6ecd008 c01cecce 004f0b9a fffffff2 b7f071bb
c012f62f 004f0b9a 00000000 cfca8a6c b76ce000 cf824800 00000801 c0146278
cf821510 00000000 cc296f50 cc296f50 00100077 cf84cc7c 00401000 b6ecd000
Call Trace:
[copy_from_user+52/98] copy_from_user+0x34/0x62
[load_module+130/2324] load_module+0x82/0x914
[move_vma+232/460] move_vma+0xe8/0x1cc
[__fput+213/365] __fput+0xd5/0x16d
[sys_init_module+70/509] sys_init_module+0x46/0x1fd
[filp_close+72/138] filp_close+0x48/0x8a
[syscall_call+7/11] syscall_call+0x7/0xb
Code: 88 00 51 50 31 c0 f3 aa 58 59 e9 64 24 ef ff 01 c1 e9 a8 24 ef ff 8d 4c
88 00 e9 9f 24 efff 01 c1 eb 04 8d 4c 88 00 51 50 31 c0 <f3> aa 58 59 e9 ea
24 ef ff b8 f2 ff ff ff e9 e7 d6 ef ff ba f2

best regards,
dominik


Attachments:
(No filename) (1.99 kB)
(No filename) (307.00 B)
Download all attachments

2004-11-06 05:03:50

by Andi Kleen

[permalink] [raw]
Subject: Re: 2.6.10-rc1-mm3: modprobe oopses [x86]

Bernhard Rosenkraenzer <[email protected]> writes:

> modprobe ohci1394 leads to:

Apply this patch.

-Andi

diff -up linux-2.6.10rc1-mm3/mm/vmalloc.c-o linux-2.6.10rc1-mm3/mm/vmalloc.c
--- linux-2.6.10rc1-mm3/mm/vmalloc.c-o 2004-11-05 11:42:00.000000000 +0100
+++ linux-2.6.10rc1-mm3/mm/vmalloc.c 2004-11-05 14:49:25.000000000 +0100
@@ -213,7 +213,7 @@ int map_vm_area(struct vm_struct *area,
err = -ENOMEM;
break;
}
- next = (address + PGDIR_SIZE) & PGDIR_MASK;
+ next = (address + PML4_SIZE) & PML4_MASK;
if (next < address || next > end)
next = end;
if (map_area_pgd(pgd, address, next, prot, pages)) {