[Ilugc] Oops in usb_register()

  • From: ajosephantony@xxxxxxxxxxx (Joseph Antony)
  • Date: Mon Jun 21 16:18:29 2004

Hi,

I was trying to compile and load the usb-skeleton.c
present in the drivers source. It compiled fine (after
making the reqd changes in version.h and irq.h). but,
when loading it gave the following oops. I googled for
a possible solution but came up with none. Anyone
faced a similar situation. What am i missing here.

-------------
Jun 21 16:15:51 Joe-Linux kernel: Unable to handle
kernel NULL pointer dereference at virtual address
00000024
Jun 21 16:15:51 Joe-Linux kernel:  printing eip:
Jun 21 16:15:51 Joe-Linux kernel: 0221182d
Jun 21 16:15:51 Joe-Linux kernel: *pde = 00000000
Jun 21 16:15:51 Joe-Linux kernel: Oops: 0002 [#1]
Jun 21 16:15:51 Joe-Linux kernel: CPU:    0
Jun 21 16:15:51 Joe-Linux kernel: EIP:   
0060:[<0221182d>]    Not tainted
Jun 21 16:15:51 Joe-Linux kernel: EFLAGS: 00210246  
(2.6.5-1.358)
Jun 21 16:15:51 Joe-Linux kernel: EIP is at
usb_register+0x14/0x76
Jun 21 16:15:51 Joe-Linux kernel: eax: 00000000   ebx:
00000000   ecx: 022c9994   edx: 00000000
Jun 21 16:15:51 Joe-Linux kernel: esi: 0a7f7f80   edi:
022c997c   ebp: 03825fac   esp: 03825f88
Jun 21 16:15:51 Joe-Linux kernel: ds: 007b   es: 007b 
 ss: 0068
Jun 21 16:15:51 Joe-Linux kernel: Process insmod (pid:
2999, threadinfo=03825000 task=024eacb0)
Jun 21 16:15:51 Joe-Linux kernel: Stack: 022c9994
0a7f7f80 0a7c5013 0a7f7e60 0a856000 00200246 0a7f7f80
022c9994
Jun 21 16:15:51 Joe-Linux kernel:        0a7f7f80
03825000 02127eac 03825fc4 00000000 00000000 ffff3200
09de8018
Jun 21 16:15:51 Joe-Linux kernel:        0000e7bd
09de8008 00000000 00000000 feeb13b8 00000080 0000007b
0000007b
Jun 21 16:15:51 Joe-Linux kernel: Call Trace:
Jun 21 16:15:51 Joe-Linux kernel:  [<0a7c5013>]
usb_skel_init+0x13/0x60 [usb_skeleton]
Jun 21 16:15:51 Joe-Linux kernel:  [<02127eac>]
sys_init_module+0xe7/0x1bd
Jun 21 16:15:51 Joe-Linux kernel:
Jun 21 16:15:51 Joe-Linux kernel: Code: c7 43 24 a0 28
2e 02 8b 40 04 c7 43 74 8e 17 21 02 c7 43 78

---------

am using fedora core 2 kernel 2.6.5-1.358

thx in advance
Joe


        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail ;

Other related posts:

  • » [Ilugc] Oops in usb_register() - Joseph Antony