Skip to contentSkip to conversation

Regarding ticket #955

DISCUSSION Pontus Edvardsson 2 participants 4 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

I've been trying to figure out what makes the difference between your and mine configuration, since you were able to compile the p4b_smbus.o

I tried to compile on a 2.4.18 Debian system which failed, I also tried compiling on a 2.4.18 Mandrake system, which failed as well.

Could you maybe send me your .config file for me to examine if you think it could have anything to do with my problem. If I could compile with yours unmodified .config it would be easier to isolate the problem, right? I have a PCI Promise TX2-133 IDE controller, for which I must at the moment patch my kernel to 2.4.19-rc3 to get working.

Thanks, Pontus

#1 lore raw

Ticket #958 tells us that it's related to SMP.
With SMP off it will compile.

Can you add -D__SMP__ to the compile line and see if that works?

Quoted 16 lines · Pontus Edvardsson

Hi,

I've been trying to figure out what makes the difference between your and mine configuration, since you were able to compile the p4b_smbus.o

I tried to compile on a 2.4.18 Debian system which failed, I also tried compiling on a 2.4.18 Mandrake system, which failed as well.

Could you maybe send me your .config file for me to examine if you think it could have anything to do with my problem. If I could compile with yours unmodified .config it would be easier to isolate the problem, right? I have a PCI Promise TX2-133 IDE controller, for which I must at the moment patch my kernel to 2.4.19-rc3 to get working.

Thanks, Pontus

#2 lore raw
In reply to Pontus Edvardsson

Hi,
I have successfully compiled p4b_smbus.o thanks to your mail. Insmod fails however, something about the i801smbus already active??

Thanks, Pontus

Quoted 21 lines · Mark D. Studebaker

Ticket #958 tells us that it's related to SMP.
With SMP off it will compile.

Can you add -D__SMP__ to the compile line and see if that works?

Quoted 15 lines · Pontus Edvardsson

Hi,

I've been trying to figure out what makes the difference between your and mine configuration, since you were able to compile the p4b_smbus.o

I tried to compile on a 2.4.18 Debian system which failed, I also tried compiling on a 2.4.18 Mandrake system, which failed as well.

Could you maybe send me your .config file for me to examine if you think it could have anything to do with my problem. If I could compile with yours unmodified .config it would be easier to isolate the problem, right? I have a PCI Promise TX2-133 IDE controller, for which I must at the moment patch my kernel to 2.4.19-rc3 to get working.

Thanks, Pontus

#3 lore raw
In reply to Pontus Edvardsson

Great.
I'll fix up the makefile.

If it says i801smbus is already active, then you didn't need p4b_smbus at all.
You should be able to modprobe i2c-i801.
If it fails, you probably need the parameter force=1 or the force_addr=xxx parameter.

It looks like the driver could use a little fixing up to make this easier
and automatically enable without force=1 like we do with other drivers. I'll work on it.

mds

Quoted 29 lines · Pontus Edvardsson

Hi,
I have successfully compiled p4b_smbus.o thanks to your mail. Insmod fails however, something about the i801smbus already active??

Thanks, Pontus

Quoted 21 lines · Mark D. Studebaker

Ticket #958 tells us that it's related to SMP.
With SMP off it will compile.

Can you add -D__SMP__ to the compile line and see if that works?

Quoted 15 lines · Pontus Edvardsson

Hi,

I've been trying to figure out what makes the difference between your and mine configuration, since you were able to compile the p4b_smbus.o

I tried to compile on a 2.4.18 Debian system which failed, I also tried compiling on a 2.4.18 Mandrake system, which failed as well.

Could you maybe send me your .config file for me to examine if you think it could have anything to do with my problem. If I could compile with yours unmodified .config it would be easier to isolate the problem, right? I have a PCI Promise TX2-133 IDE controller, for which I must at the moment patch my kernel to 2.4.19-rc3 to get working.

Thanks, Pontus