Skip to contentSkip to conversation

i2c-core CVS oopsing 2.4; velleman won't compile

DISCUSSION Mark Studebaker 2 participants 3 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

i2c-core oopsing for last couple of weeks.
Also, velleman won't compile.

Are these my problem or are we in the middle of changes or...?

Below are velleman compile output, and ksymoops from i2c-core.

----------------------------------------

kernel/i2c-velleman.c:172: variable bit_velle_ops' has initializer but incomplete type kernel/i2c-velleman.c:173: warning: excess elements in struct initializer kernel/i2c-velleman.c:173: warning: (near initialization for bit_velle_ops') kernel/i2c-velleman.c:174: HW_B_LP' undeclared here (not in a function) kernel/i2c-velleman.c:174: warning: excess elements in struct initializer kernel/i2c-velleman.c:174: warning: (near initialization for bit_velle_ops') kernel/i2c-velleman.c:175: warning: excess elements in struct initializer kernel/i2c-velleman.c:175: warning: (near initialization for bit_velle_ops') kernel/i2c-velleman.c:176: warning: excess elements in struct initializer kernel/i2c-velleman.c:176: warning: (near initialization for bit_velle_ops') kernel/i2c-velleman.c:177: warning: excess elements in struct initializer kernel/i2c-velleman.c:177: warning: (near initialization for bit_velle_ops') kernel/i2c-velleman.c:178: warning: excess elements in struct initializer kernel/i2c-velleman.c:178: warning: (near initialization for bit_velle_ops') kernel/i2c-velleman.c:179: warning: excess elements in struct initializer kernel/i2c-velleman.c:179: warning: (near initialization for bit_velle_ops') kernel/i2c-velleman.c:180: warning: excess elements in struct initializer kernel/i2c-velleman.c:180: warning: (near initialization for bit_velle_ops') kernel/i2c-velleman.c:181: warning: excess elements in struct initializer kernel/i2c-velleman.c:181: warning: (near initialization for bit_velle_ops') kernel/i2c-velleman.c:182: warning: excess elements in struct initializer kernel/i2c-velleman.c:182: warning: (near initialization for bit_velle_ops') kernel/i2c-velleman.c:182: warning: excess elements in struct initializer kernel/i2c-velleman.c:182: warning: (near initialization for bit_velle_ops') kernel/i2c-velleman.c:182: warning: excess elements in struct initializer kernel/i2c-velleman.c:182: warning: (near initialization for bit_velle_ops') kernel/i2c-velleman.c: In function `bitvelle_init':
kernel/i2c-velleman.c:190: invalid use of undefined type struct bit_adapter' kernel/i2c-velleman.c:192: warning: passing arg 1 of i2c_bit_add_bus_R789861dc' from incompatible pointer type kernel/i2c-velleman.c:197: invalid use of undefined type struct bit_adapter' kernel/i2c-velleman.c:199: warning: passing arg 1 of i2c_bit_add_bus_R789861dc' from incompatible pointer type kernel/i2c-velleman.c: In function `cleanup_module':
kernel/i2c-velleman.c:222: warning: passing arg 1 of `i2c_bit_del_bus_Rb0ef5531' from incompatible pointer type
make: *** [kernel/i2c-velleman.o] Error 1

----------------------------------------

Unable to handle kernel paging request at virtual address 00050028
d0af1a3e
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<d0af1a3e>]    Tainted: P 
EFLAGS: 00010296
eax: 00050000   ebx: 00000006   ecx: fffffffb   edx: d0af33ff
esi: ce4f7000   edi: 00000000   ebp: 00000000   esp: ceb95f50
ds: 0018   es: 0018   ss: 0018
Process sensors (pid: 334, stackpageÎb95000)
Stack: 00000000 00000400 ce4f7000 00000400 c014eb5a ce4f7000 ceb95f98 00000000 
       00000400 ceb95f94 00000000 00000000 ce714a80 ffffffea 00000400 ce50c780 
       00000000 00000000 00000000 c0131d06 ce714a80 40015000 00000400 ce714aa0 
Call Trace:    [<c014eb5a>] [<c0131d06>] [<c0108547>]
Code: 83 78 28 00 74 14 83 78 24 00 74 07 68 00 34 af d0 eb 19 68 
Quoted 1 line
Quoted 1 line

EIP; d0af1a3e <[i2c-core]read_bus_i2c+3e/b0> <==Trace; c014eb5a <proc_file_read+f2/194>

Trace; c0131d06 <sys_read+96/f0>
Trace; c0108546 <system_call+32/38>
Code; d0af1a3e <[i2c-core]read_bus_i2c+3e/b0>
00000000 <_EIP>:
Code; d0af1a3e <[i2c-core]read_bus_i2c+3e/b0> <== 0: 83 78 28 00 cmpl $0x0,0x28(%eax) <==Code; d0af1a42 <[i2c-core]read_bus_i2c+42/b0>
4: 74 14 je 1a <_EIP+0x1a> d0af1a58 <[i2c-core]read
_bus_i2c+58/b0>
Code; d0af1a44 <[i2c-core]read_bus_i2c+44/b0>
6: 83 78 24 00 cmpl $0x0,0x24(%eax)
Code; d0af1a48 <[i2c-core]read_bus_i2c+48/b0>
a: 74 07 je 13 <_EIP+0x13> d0af1a50 <[i2c-core]read
_bus_i2c+50/b0>
Code; d0af1a4a <[i2c-core]read_bus_i2c+4a/b0>
c: 68 00 34 af d0 push $0xd0af3400
Code; d0af1a4e <[i2c-core]read_bus_i2c+4e/b0>
11: eb 19 jmp 2c <_EIP+0x2c> d0af1a6a <[i2c-core]read
_bus_i2c+6a/b0>
Code; d0af1a50 <[i2c-core]read_bus_i2c+50/b0>
13: 68 00 00 00 00 push $0x0

#1 lore raw
Quoted 6 lines

i2c-core oopsing for last couple of weeks.
Also, velleman won't compile.

Are these my problem or are we in the middle of changes or...?

Below are velleman compile output, and ksymoops from i2c-core.

I think it's you. Velleman compiles here, and i2c-core doesn't oops (although if you explain how you get it to oops I could give it a try).

I suspect your hard disk drive is having problems, or you are trying to compile against broken headers (2.6? you wouldn't dare...). Maybe you could try a fresh checkout from CVS and see if it works any better.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#2 lore raw
In reply to Mark Studebaker

thanks. both were my foolish problems.
no need for details :)

Quoted 15 lines · Jean Delvare
Quoted 6 lines

i2c-core oopsing for last couple of weeks.
Also, velleman won't compile.

Are these my problem or are we in the middle of changes or...?

Below are velleman compile output, and ksymoops from i2c-core.

I think it's you. Velleman compiles here, and i2c-core doesn't oops (although if you explain how you get it to oops I could give it a try).

I suspect your hard disk drive is having problems, or you are trying to compile against broken headers (2.6? you wouldn't dare...). Maybe you could try a fresh checkout from CVS and see if it works any better.