Skip to contentSkip to conversation

call for 2.6.6

DISCUSSION Mark D. Studebaker 2 participants 8 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Let's set a deadline of Sunday night 11/24 to get stuff checked in. Then a couple of days to look for problems.
Then Phil can release sometime over the long Thanksgiving weekend? (11/28-12/1)

I want to again raise the question of dependency on i2c-2.6.6 because of SENSORS_INSMOD_8 in adm1021. If we leave this in, we will require users
to upgrade i2c as well which will lead to more support issues. We can attempt to minimize by putting big fat warnings on the home page and download page. We may also wish to bump up to 2.7.0 instead of 2.6.6?

The advantage is we can remove some #ifndef cruft in the drivers. Our current dependency is on i2c-2.6.1 which is 15 months old.

Would like to hear opinions on these issues.

mds

#1 lore raw
Quoted 4 lines

Let's set a deadline of Sunday night 11/24 to get stuff checked in. Then a couple of days to look for problems.
Then Phil can release sometime over the long Thanksgiving weekend? (11/28-12/1)

It's OK for me.

Quoted 11 lines

I want to again raise the question of dependency on i2c-2.6.6 because of SENSORS_INSMOD_8 in adm1021. If we leave this in, we will require users to upgrade i2c as well which will lead to more support issues. We can attempt to minimize by putting big fat warnings on the home page and download page. We may also wish to bump up to 2.7.0 instead of 2.6.6?

The advantage is we can remove some #ifndef cruft in the drivers. Our current dependency is on i2c-2.6.1 which is 15 months old.

Would like to hear opinions on these issues.

I don't know about the adm1021 module. What would it cost not to use the SENSORS_INSMOD_8 thing?

I don't think we have to care about the dependency issue. 15 months is really much, there were many fixes to i2c since, and having people upgrade can't hurt. If for any reason they don't want to, 2.6.3 to 2.6.5 are working for almost everyone (at least, one of these is working for each one).

Does 2.7.0 mean "developement/unstable tree" for you? I think it will sound like that for almost everyone, including me. And if this means less support issues, it also means less feedback IMHO, so it's worth discussing.

I am not actively maintaining any driver, nor am I answering tickets, so I can't really say.

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

(Resending.)

Quoted 5 lines
Quoted 2 lines

I don't know about the adm1021 module. What would it cost not to use the SENSORS_INSMOD_8 thing?

It was added for mc1066 support in adm1021. The only way around it is to combine support for some of the 8 different chips and report only 7 different chip types max.

OK I get it. This workaround isn't acceptable IMHO (makes things more complex to understand with no benefit except the dependency issue).

The fact that you need to have one macro for each possible number of chips associated with one driver is weird. What if there's another chip supported by adm1021? And then another again? We break the dependencies each time. Could we find some cleaner method? I have no idea for now, but there's a need.

Quoted 6 lines
Quoted 4 lines

Does 2.7.0 mean "developement/unstable tree" for you? I think it will sound like that for almost everyone, including me. And if this means less support issues, it also means less feedback IMHO, so it's worth discussing.

Doesn't mean unstable to me. We don't use the odd/even system, we've been stable for years :)

Well, the SENSORS_INSMOD_42 issue together with the need for dynamic allocations for bmcsensors makes me think that we could want a 2.7.0 release, with the unstable meaning associated. Try to move back to cleaner code (I read that there are a lot of hacks in the recent code you commited, right?), even if it means a one-on-one dependency between i2c and lm_sensors releases for some time. When we're OK, we move to 2.8.0. Simple suggestion of course, my knowledge of the code and possibilities to enhance it is really thin. If there is no way to clean the code or you don't think we (globally) have the time/manpower required to do so, we keep the things the way they are.

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

The fact that you need to have one macro for each possible number of chips associated with one driver is weird. What if there's another chip supported by adm1021? And then another again? We break the dependencies each time. Could we find some cleaner method? I have no idea for now, but there's a need.

good idea, I don't know how either though.

Seems impossible with the C preprocessor only. We would need something more powerful and flexible such as m4, but I don't think we want to rely on one more tool.

The question I ask myself now is: "Why are these macros in the i2c tree while they are used only in the lm_sensors2 tree?" I guess there are historical reasons, and also this helps other people to create i2c clients
more easily. But is it worth the dependency problem? We could define these macros on the lm_sensors2 side (if they are not already defined by some older i2c) and remove them from i2c. It doesn't cause any dependency problem for now (until the new i2c code reaches the kernel, but it will take months). And even then, what will it break? i2c clients we don't control, there aren't that many as far as I know.

Does it sound OK to you? (I doubt it, but who knows...)

Quoted 3 lines

a) the dynamic allocations are isolated to ipmi. Our core code is stable. new drivers come in all the time, that doesn't make the existing drivers or core code unstable.

Agreed.

Quoted 3 lines

b) is my opinion. I know the kernel does it - but do _most_ projects do it?
If I'm wrong, then let's skip 2.7 and go to 2.8.

I can't say if most do or not. Gtk+, Gimp, XMMS, SDL, Galeon do. Some others do, many others don't. And so many never leave the 0.x stage, we can't say ;) Indeed there's no obligation. Probably what matters here is wether i2c and lm_sensors 2.1, 2.3 and 2.5 have been considered unstable or not. If they have been, then 2.7, if it exists, will mean unstable, and we better skip it. If they have not, we are free to decide.

Anyway, if we decide to go for 2.7, I want us to explain on the download page that it doesn't have the unstable meaning, just in case people would think it has.

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

I don't know about the adm1021 module. What would it cost not to use the SENSORS_INSMOD_8 thing?

It was added for mc1066 support in adm1021. The only way around it is to combine support for some of the 8 different chips and report only 7 different chip types max.

Quoted 11 lines

I don't think we have to care about the dependency issue. 15 months is really much, there were many fixes to i2c since, and having people upgrade can't hurt. If for any reason they don't want to, 2.6.3 to 2.6.5 are working for almost everyone (at least, one of these is working for each one).

Does 2.7.0 mean "developement/unstable tree" for you? I think it will sound like that for almost everyone, including me. And if this means less support issues, it also means less feedback IMHO, so it's worth discussing.

Doesn't mean unstable to me. We don't use the odd/even system, we've been
stable for years :)

#5 lore raw
In reply to Mark D. Studebaker
Quoted 8 lines · Jean Delvare

(Resending.)

Quoted 5 lines
Quoted 2 lines

I don't know about the adm1021 module. What would it cost not to use the SENSORS_INSMOD_8 thing?

It was added for mc1066 support in adm1021. The only way around it is to combine support for some of the 8 different chips and report only 7 different chip types max.

Quoted 8 lines

OK I get it. This workaround isn't acceptable IMHO (makes things more complex to understand with no benefit except the dependency issue).

The fact that you need to have one macro for each possible number of chips associated with one driver is weird. What if there's another chip supported by adm1021? And then another again? We break the dependencies each time. Could we find some cleaner method? I have no idea for now, but there's a need.

good idea, I don't know how either though.

Quoted 8 lines
Quoted 7 lines
Quoted 5 lines

Does 2.7.0 mean "developement/unstable tree" for you? I think it will sound like that for almost everyone, including me. And if this means less support issues, it also means less feedback IMHO, so it's worth discussing.

Doesn't mean unstable to me. We don't use the odd/even system, we've been stable for years :)

Quoted 11 lines

Well, the SENSORS_INSMOD_42 issue together with the need for dynamic allocations for bmcsensors makes me think that we could want a 2.7.0 release, with the unstable meaning associated. Try to move back to cleaner code (I read that there are a lot of hacks in the recent code you commited, right?), even if it means a one-on-one dependency between i2c and lm_sensors releases for some time. When we're OK, we move to 2.8.0. Simple suggestion of course, my knowledge of the code and possibilities to enhance it is really thin. If there is no way to clean the code or you don't think we (globally) have the time/manpower required to do so, we keep the things the way they are.

Well, I disagree a) that we are unstable, and b) that it is prevailing usage
in the linux community that odd numbers imply unstable.

a) the dynamic allocations are isolated to ipmi. Our core code is stable.
new drivers come in all the time, that doesn't make the existing
drivers
or core code unstable.

b) is my opinion. I know the kernel does it - but do _most_ projects do it?
If I'm wrong, then let's skip 2.7 and go to 2.8.

#6 lore raw
In reply to Mark D. Studebaker
Quoted 24 lines · Jean Delvare
Quoted 8 lines
Quoted 6 lines

The fact that you need to have one macro for each possible number of chips associated with one driver is weird. What if there's another chip supported by adm1021? And then another again? We break the dependencies each time. Could we find some cleaner method? I have no idea for now, but there's a need.

good idea, I don't know how either though.

Seems impossible with the C preprocessor only. We would need something more powerful and flexible such as m4, but I don't think we want to rely on one more tool.

The question I ask myself now is: "Why are these macros in the i2c tree while they are used only in the lm_sensors2 tree?" I guess there are historical reasons, and also this helps other people to create i2c clients
more easily. But is it worth the dependency problem? We could define these macros on the lm_sensors2 side (if they are not already defined by some older i2c) and remove them from i2c. It doesn't cause any dependency problem for now (until the new i2c code reaches the kernel, but it will take months). And even then, what will it break? i2c clients we don't control, there aren't that many as far as I know.

Quoted 2 lines

Does it sound OK to you? (I doubt it, but who knows...)

i2c-proc.[ch] were moved from lm_sensors to i2c in 2.6.0. This allowed other drivers (particularly non-sensors drivers) to easily use our /proc interface.

One unfortunate consequence was increased dependencies on i2c. But I don't think we want to take i2c-proc back.

Quoted 16 lines
Quoted 3 lines

a) the dynamic allocations are isolated to ipmi. Our core code is stable. new drivers come in all the time, that doesn't make the existing drivers or core code unstable.

Agreed.

Quoted 3 lines

b) is my opinion. I know the kernel does it - but do _most_ projects do it?
If I'm wrong, then let's skip 2.7 and go to 2.8.

I can't say if most do or not. Gtk+, Gimp, XMMS, SDL, Galeon do. Some others do, many others don't. And so many never leave the 0.x stage, we can't say ;) Indeed there's no obligation. Probably what matters here is wether i2c and lm_sensors 2.1, 2.3 and 2.5 have been considered unstable or not. If they have been, then 2.7, if it exists, will mean unstable, and we better skip it. If they have not, we are free to decide.

Quoted 4 lines

Anyway, if we decide to go for 2.7, I want us to explain on the download page that it doesn't have the unstable meaning, just in case people would think it has.

2.1, 2.3, 2.5 were not considered unstable for us.

#7 lore raw
In reply to Mark D. Studebaker
Quoted 7 lines

i2c-proc.[ch] were moved from lm_sensors to i2c in 2.6.0. This allowed other drivers (particularly non-sensors drivers) to easily use our /proc interface.

One unfortunate consequence was increased dependencies on i2c. But I don't think we want to take i2c-proc back.

Not i2c-proc in its whole, only the incriminated macros.

Maybe a good solution to prevent us from breaking the dependencies for a single macro would be to define it in both i2c (for the long term) and lm_sensors (in some compatibility header file, for the short term, with the appropriate #ifndef to prevent redundant declarations). The same header file could serve the same puprose if the occasion arise again.

Anyway, I am simply suggesting this in case we *don't* want to break dependencies. If we decide we don't care, all this makes little sense. Personaly I don't care, I'll always have an up-to-date i2c ;)

Quoted 1 line

2.1, 2.3, 2.5 were not considered unstable for us.

OK, so the debate is over for this part. Now it's between 2.6.6 and 2.7.0, and I am definitely not the one who can decide. I think we've been discussing enough and it's time to make our mind and prepare for the release.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/