[Oracleasm-devel] Help with Oracle ASMLib 2.0 and Fedora 9

Frank Berger Frank.Berger at fm-berger.de
Tue Jul 1 04:05:18 PDT 2008


Hello Tina,

well, getting the Kernel Driver to COMPILE against 2.6.25-14.fc9.i686 is 
not that hard. Making it work correctly after loading the module into 
the kernel seams to be much harder...

For your environment I would try to work without ASMLib. Using the 
ASMLib Kernel Module in your environment makes only sense if you are 
interested in development of that kernel module.


My current state about the ASMLib Kernel Module is as follows:

I can compile the Module using my patch:
http://www.fm-berger.de/download/oracleasm.c-2.6.24.patch

But I am currently having problems to get the kernel module initialize 
correctly. When I have the time I will setup an test environment to have 
a deeper look into that problem.

Currently I receive stack traces like this:

-------------------------------------------------------------------------------------
BUG: unable to handle kernel NULL pointer dereference at 00000004
IP: [<c047f1e9>] __slab_alloc+0x2c6/0x529
*pde = 3b422067
Oops: 0000 [#1] SMP
Modules linked in: oracleasm(+) ... [last unloaded: scsi_wait_scan]

Pid: 5497, comm: modprobe Not tainted (2.6.25-14.fc9.i686 #1)
EIP: 0060:[<c047f1e9>] EFLAGS: 00010082 CPU: 0
EIP is at __slab_alloc+0x2c6/0x529
EAX: 00000000 EBX: c732c000 ECX: c732c000 EDX: f3f72a80
ESI: c10e6580 EDI: f3f72a80 EBP: e924bdc4 ESP: e924bd9c
  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process modprobe (pid: 5497, ti=e924b000 task=e90aae90 task.ti=e924b000)
Stack: ffffffff 000000d0 f3f72a80 00000010 f3f72a94 000000d0 c732c000 
00000000
        00000286 c17e8ef0 e924bde8 c047f8fa f8ea5633 00000000 000000d0 
f3f72a80
        f8eada48 e936fa00 e924be30 e924bdf4 f8ea5633 f8eada48 e924be08 
c0493642
Call Trace:
  [<c047f8fa>] ? kmem_cache_alloc+0x55/0x97
  [<f8ea5633>] ? asmdisk_alloc_inode+0x13/0x61 [oracleasm]
  [<f8ea5633>] ? asmdisk_alloc_inode+0x13/0x61 [oracleasm]
  [<c0493642>] ? alloc_inode+0x15/0x199
  [<c04937dd>] ? new_inode+0x17/0x6a
  [<c049aa5b>] ? get_sb_pseudo+0x90/0x122
  [<f8ea9cad>] ? asmdisk_get_sb+0x1a/0x1c [oracleasm]
  [<c04849b6>] ? vfs_kern_mount+0x82/0xf5
  [<f8ea9d02>] ? init_asmdisk_once+0x0/0x29 [oracleasm]
  [<c0484a39>] ? kern_mount_data+0x10/0x12
  [<f893e081>] ? init_asmfs_fs+0x81/0x184 [oracleasm]
  [<c0446f93>] ? sys_init_module+0x17be/0x18f6
  [<c0480760>] ? kmem_cache_destroy+0x0/0x108
  [<c04cc41c>] ? security_file_permission+0xf/0x11
  [<c040b261>] ? do_syscall_trace+0x126/0x16d
  [<c0405bf2>] ? syscall_call+0x7/0xb
  [<c0620000>] ? acpi_pci_root_add+0x22f/0x2a0
  =======================
Code: 89 4e 14 83 7d e4 00 74 0a fa 0f 1f 84 00 00 00 00 00 90 85 f6 0f 
84 90 00 00 00 8b 7d e0 64 a1 04 f0 78 c0 8b 44 87 78 89 45 0c <8b> 50 
04 85 d2 75 09 eb 5e f3 90 f6 02 01 75 f9 90 0f ba 2a 00
EIP: [<c047f1e9>] __slab_alloc+0x2c6/0x529 SS:ESP 0068:e924bd9c
---[ end trace 02a4ef6f9ffadf53 ]---
-------------------------------------------------------------------------------------

Bye
Frank

-- 
Frank Berger, IT-Services
Bergstrasse 22
D-89349 Burtenbach
Germany
Tel: +49 (0) 8285 / 9289660
Fax: +49 (0) 8285 / 9289661
www.fm-berger.de

Company-Owner: Frank Berger / Tax.-IDNr. DE241745516



More information about the Oracleasm-devel mailing list