Hello all, 

I have compiled a kernel module but when I go to load
it the function call res = register_chrdev( 120,
"x10device", &device_fops );  causes the
initialization process to stall because the function
seg faults. I am running system 2.6.1-1.65.  The Oops
file looks like this:

Apr 21 19:53:05 TestUSB kernel: Unable to handle
kernel NULL pointer dereference at virtual address
00000000
Apr 21 19:53:05 TestUSB kernel:  printing eip:
Apr 21 19:53:05 TestUSB kernel: c0182807
Apr 21 19:53:05 TestUSB kernel: *pde = 00000000
Apr 21 19:53:05 TestUSB kernel: Oops: 0000 [#1]
Apr 21 19:53:05 TestUSB kernel: CPU:    0
Apr 21 19:53:05 TestUSB kernel: EIP:   
0060:[<c0182807>]    Tainted: GF
Apr 21 19:53:05 TestUSB kernel: EFLAGS: 00210282
Apr 21 19:53:05 TestUSB kernel: EIP is at
register_chrdev+0x47/0x110
Apr 21 19:53:05 TestUSB kernel: eax: cbfcc794   ebx:
cbfcc794   ecx: c0362e80   edx: c0362e80
Apr 21 19:53:05 TestUSB kernel: esi: c035f158   edi:
00000000   ebp: c28ee2b8   esp: cb30bf3c
Apr 21 19:53:05 TestUSB kernel: ds: 007b   es: 007b  
ss: 0068
Apr 21 19:53:05 TestUSB kernel: Process insmod (pid:
2101, threadinfo=cb30a000 task=cbe3a420)
Apr 21 19:53:05 TestUSB kernel: Stack: c035f158
00000000 fffffff4 00000081 00000000 d0b5bf80 d0b5c994
c0361a20
Apr 21 19:53:05 TestUSB kernel:        d09b715e
00000078 d0b5aaa4 d0b5bbe0 d0b5a3f0 00000078 00000079
ffffffff
Apr 21 19:53:05 TestUSB kernel:        ffffffff
00000000 00000000 c0361a60 c0361a20 c0147bcc cfe76854
c0176cb8
Apr 21 19:53:05 TestUSB kernel: Call Trace:
Apr 21 19:53:05 TestUSB kernel:  [<d09b715e>]
x10_init+0x15e/0x322 [x10]
Apr 21 19:53:05 TestUSB kernel:  [<c0147bcc>]
sys_init_module+0x1ac/0x320
Apr 21 19:53:05 TestUSB kernel:  [<c0176cb8>]
__fput+0x98/0xf0
Apr 21 19:53:05 TestUSB kernel:  [<c017515f>]
filp_close+0x4f/0x80
Apr 21 19:53:05 TestUSB kernel:  [<c010c49f>]
syscall_call+0x7/0xb
Apr 21 19:53:05 TestUSB kernel:
Apr 21 19:53:05 TestUSB kernel: Code: 8b 07 89 7b 38
89 43 34 8d 43 04 89 c7 89 44 24 04 ac aa 84


Has anybody else encountered this or maybe read
something.  I don't believe my parameters are the
problem, and I have tried researching but have had no
luck.  Any help is appreciated. 

Thanks


ps I think I accidently sent a copy of this message to
the "users"  list please disregard.


        
                
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25�
http://photos.yahoo.com/ph/print_splash


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to