Skip to contentSkip to conversation

i2c patch out of 2.6.4-rc1-mm1

DISCUSSION Jean Delvare 3 participants 11 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi Andrew, hi Greg,

I just saw that the i2c stuff from Greg's tree have been backed out from 2.6.4-rc1-mm1. Quoting the release notes:

"bk-i2c.patch was dropped pending it getting its lmsensors act together."

I don't quite understand what I am (well, what we are...) supposed to do (actually, I do not even get the meaning of the sentence itself). I clearly exposed my reasons for an interface change and as far as I know, nobody objected to that particular point.

The only complaint we got was from Mike Fedyk, and does not concern the kernel part directly. He simply thinks that libsensors should support all 2.6 kernels, while I think it's not worth it. This is not fundamentally linked to the i2c interface change that was in 2.6.3-mm4, since the problem already exists with all versions of the kernel starting from 2.6.0 (lm_sensors 2.8.2 only supports Linux 2.6.0, lm_sensors 2.8.3 only supports Linux 2.6.1, lm_sensors 2.8.4 only supports 2.6.2). So, whether my interface change proposal is accepted or
not, Mike's objection already applies.

So I don't think that Greg's i2c stuff should have been backed out from Andrew's tree just because of Mike's objection. If we were to accept Mike's objection (which I do not plan to do at the moment, but I may change my mind if more people agree with him), the changes would take place in libsensors, not in the kernel source tree anyway.

If there were other objections I am not aware of, please let me know.

Thanks.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#1 lore raw
Quoted 9 lines · Jean Delvare

I just saw that the i2c stuff from Greg's tree have been backed out from 2.6.4-rc1-mm1. Quoting the release notes:

"bk-i2c.patch was dropped pending it getting its lmsensors act together."

I don't quite understand what I am (well, what we are...) supposed to do (actually, I do not even get the meaning of the sentence itself).

It's no big deal. The current misfit between i2c and the rest of Linus's tree means that -mm users have non-working sensors code. I don't want -mm users to have to deal with (and report) problems like that, so I leave out the i2c changes until things have sorted themselves out.

I don't think there's any rush on fixing this up - whenever you guys are ready.

#2 lore raw
In reply to Jean Delvare
Quoted 5 lines · Jean Delvare

Hi Andrew, hi Greg,

I just saw that the i2c stuff from Greg's tree have been backed out from 2.6.4-rc1-mm1. Quoting the release notes:

Quoted 7 lines

"bk-i2c.patch was dropped pending it getting its lmsensors act together."

I don't quite understand what I am (well, what we are...) supposed to do (actually, I do not even get the meaning of the sentence itself). I clearly exposed my reasons for an interface change and as far as I know, nobody objected to that particular point.

The problem is that there is no way a user can get a working libsensors to work with the -mm kernel right now, correct? I thought you were going to make a new release for the 2.6.3 kernel, and then commit your changes to cvs to allow users running the -mm tree to use that version.

Is this the case?

thanks,

greg k-h

#3 lore raw
In reply to Jean Delvare
Quoted 11 lines · Jean Delvare
Quoted 11 lines
Quoted 10 lines

I just saw that the i2c stuff from Greg's tree have been backed out from 2.6.4-rc1-mm1. Quoting the release notes:

"bk-i2c.patch was dropped pending it getting its lmsensors act together."

I don't quite understand what I am (well, what we are...) supposed to do (actually, I do not even get the meaning of the sentence itself). I clearly exposed my reasons for an interface change and as far as I know, nobody objected to that particular point.

Quoted 8 lines
Quoted 2 lines

The problem is that there is no way a user can get a working libsensors to work with the -mm kernel right now, correct?

Not quite. The necessary patches are available on my personal server, as advertised here:
http://marc.theaimsgroup.com/?l=linux-kernel&m7787111318197

Maybe the address should have been advertised more.

Yes it should have :)

Quoted 4 lines

I was a bit surprised that the changes went into Andrew's tree for testing (although I now understand and agree that it was the right thing to do) and we suddenly had to support two incompatible trees with one single CVS repository.

Andrew is picking up my usb, pci, driver, and i2c trees in the -mm series to get them more testing before they go into the mainline kernel. It's working out quite well so far, thanks for doing this Andrew!

Quoted 4 lines

I thought we wanted to have our CVS repository always compatible with the latest Linus' tree, this is why I had not commited the sysfs interface change yet. And also because I did not want to "force" the kernel patch to be accepted.

Ok, how about doing this:
- make a lmsensors release now. I'm not going to send any i2c patches to Linus until after 2.6.4 is out, so you can cut a release today if you want to.
- add your fixes to the lmsensors cvs tree, so that users of the -mm kernel can get them if they want to. Idealy you could also make another lmsensors release, as these patches will go into Linus's tree after 2.6.4 is out.

Sound good? That way the i2c patches can go back into the -mm kernel, and users can test them and the lmsenors changes out.

thanks,

greg k-h

#4 lore raw
In reply to Jean Delvare
Quoted 6 lines
Quoted 6 lines

I just saw that the i2c stuff from Greg's tree have been backed out from 2.6.4-rc1-mm1. Quoting the release notes:

"bk-i2c.patch was dropped pending it getting its lmsensors act together."

Quoted 7 lines
Quoted 4 lines

I don't quite understand what I am (well, what we are...) supposed to do (actually, I do not even get the meaning of the sentence itself). I clearly exposed my reasons for an interface change and as far as I know, nobody objected to that particular point.

The problem is that there is no way a user can get a working libsensors to work with the -mm kernel right now, correct?

Not quite. The necessary patches are available on my personal server, as advertised here:
http://marc.theaimsgroup.com/?l=linux-kernel&m7787111318197

Maybe the address should have been advertised more. I was a bit surprised that the changes went into Andrew's tree for testing (although I now understand and agree that it was the right thing to do) and we suddenly had to support two incompatible trees with one single CVS repository.

I thought we wanted to have our CVS repository always compatible with the latest Linus' tree, this is why I had not commited the sysfs interface change yet. And also because I did not want to "force" the kernel patch to be accepted.

Quoted 5 lines

I thought you were going to make a new release for the 2.6.3 kernel, and then commit your changes to cvs to allow users running the -mm tree to use that version.

Is this the case?

To the light of today's "incident", we should have been (remember I was in favor of a release from the beginning). Now that Linux 2.6.4-rc1 is out, releasing now is a bit odd (since we would more likely have to release again within a week or so). So the 2.8.5 release of lm_sensors will be for Linux 2.6.4. Linux 2.6.3 will be unsupported (only affects w83l785ts users).

Anyway...

Is it correct to provide the libsensors update as patches for mm kernel users (more publicly advertised, granted), or is it necessary to commit them to our CVS repository?

I admit that I usually don't much like setting things up for temporary situations, but it looks like this is how you kernel folks expect things to be done...

Let me know how you expect us to give people access to a mm compatible version of lm_sensors (basically: CVS or patches?) and we'll do juste that.

Thanks and sorry for the trouble.

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

Ok, how about doing this:
- make a lmsensors release now. I'm not going to send any i2c patches to Linus until after 2.6.4 is out, so you can cut a release today if you want to.

Aha. This sounds good indeed. You always end up with a fine solution even when I feel like everything's bloated, don't you? :)

Yes, if 2.6.3 and 2.6.4 are compatible i2c-wise, releasing now makes sense, and solves problems.

You might want to validate this with 2.6.4-rc1, but I'm pretty sure no i2c changes made it into there. If not, great, release away!

Quoted 10 lines
Quoted 7 lines

- add your fixes to the lmsensors cvs tree, so that users of the -mm kernel can get them if they want to. Idealy you could also make another lmsensors release, as these patches will go into Linus's tree after 2.6.4 is out.

Sound good? That way the i2c patches can go back into the -mm kernel, and users can test them and the lmsenors changes out.

I don't think we would make two releases. But pointing -mm people to the CVS makes sense.

Ok, that's fine with me.

Quoted 3 lines

The next release would occur as Linux 2.6.5 will be released, providing that the i2c changes have been successful in their -mm series life and have made it into Linus' tree.

Again, that's acceptable to me too.

thanks,

greg k-h

#6 lore raw
In reply to Jean Delvare
Quoted 4 lines

Ok, how about doing this:
- make a lmsensors release now. I'm not going to send any i2c patches to Linus until after 2.6.4 is out, so you can cut a release today if you want to.

Aha. This sounds good indeed. You always end up with a fine solution even when I feel like everything's bloated, don't you? :)

Yes, if 2.6.3 and 2.6.4 are compatible i2c-wise, releasing now makes sense, and solves problems.

Quoted 7 lines

- add your fixes to the lmsensors cvs tree, so that users of the -mm kernel can get them if they want to. Idealy you could also make another lmsensors release, as these patches will go into Linus's tree after 2.6.4 is out.

Sound good? That way the i2c patches can go back into the -mm kernel, and users can test them and the lmsenors changes out.

I don't think we would make two releases. But pointing -mm people to the CVS makes sense.

The next release would occur as Linux 2.6.5 will be released, providing that the i2c changes have been successful in their -mm series life and have made it into Linus' tree.

Thanks again.

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

Hi Greg, Andrew,

We followed the plan and here's the current state:

* lm_sensors 2.8.5 has been released. It supports 2.6.3 and 2.6.4 kernels.

* CVS has been updated to work with 2.6.3-mm4. This is advertised on our main page and kernel 2.6 specific page. I'll update these pages as needed.

Could you please send me a diff against Linus's current tree?

#8 lore raw
In reply to Jean Delvare

Hi Greg, Andrew,

We followed the plan and here's the current state:

* lm_sensors 2.8.5 has been released. It supports 2.6.3 and 2.6.4 kernels.

* CVS has been updated to work with 2.6.3-mm4. This is advertised on our main page and kernel 2.6 specific page. I'll update these pages as needed.

So I think that Greg's i2c stuff could be back into Andrew's kernels for testing now.

Thanks.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#9 lore raw
In reply to Jean Delvare
Quoted 6 lines · Andrew Morton
Quoted 5 lines · Jean Delvare

Hi Greg, Andrew,

We followed the plan and here's the current state:

Quoted 8 lines
Quoted 6 lines

* lm_sensors 2.8.5 has been released. It supports 2.6.3 and 2.6.4 kernels.

* CVS has been updated to work with 2.6.3-mm4. This is advertised on our main page and kernel 2.6 specific page. I'll update these pages as needed.

Could you please send me a diff against Linus's current tree?

I've merged my bk tree with Linus's and now it should have no conflicts if you want to pull from there for your next -mm release.

thanks,

greg k-h

#10 lore raw
In reply to Jean Delvare
Quoted 2 lines

I've merged my bk tree with Linus's and now it should have no conflicts if you want to pull from there for your next -mm release.

Thanks Greg :')

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