Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: mention required OS changes in the release notes #18610

Closed
khm opened this issue Jan 11, 2017 · 7 comments
Closed

doc: mention required OS changes in the release notes #18610

khm opened this issue Jan 11, 2017 · 7 comments

Comments

@khm
Copy link

khm commented Jan 11, 2017

What version of Go are you using (go version)?

Go 1.8 release candidate 1.

What operating system and processor architecture are you using (go env)?

Plan 9 from Bell Labs, any supported architecture.

What did you do?

Attempted to run net_test.go

What did you expect to see?

Overwhelming and unrelenting success

What did you see instead?

FAIL: TestConnClose because of an unknown control request

Epilogue

In the draft release notes for Go 1.8[1], we get the following:

The Plan 9 port's networking support is now much more complete and matches the behavior of Unix and Windows with respect to deadlines and cancelation.

Sounds great! but it fails to mention that this change requires modification of the OS itself; specifically, as described in a Go commit message[2], which refers to (but does not specify) a different Github repository entirely, as 'the' Plan 9 kernel[3]. This change is not present in the latest ISO made available by Bell Labs.

In the end, it's a simple change that other Plan 9 kernels can easily accomodate, but it would be very kind of you if this sort of OS-scope change were at least mentioned somewhere in the release notes, even if it's just a tiny asterisk with an href to a changelog somewhere. It would save us some detective work, and make it easier for us to use Go.

[1] https://beta.golang.org/doc/go1.8
[2] 3d1ae4b
[3] 0intro/9legacy@390a902

@ALTree ALTree changed the title Please mention required OS changes in the release notes doc: mention required OS changes in the release notes Jan 11, 2017
@andlabs
Copy link
Contributor

andlabs commented Jan 11, 2017

Are the ISOs "made available by Bell Labs" even current anymore? Does it work with an ISO from 9p.io?

@ALTree
Copy link
Member

ALTree commented Jan 11, 2017

According to the documentation (assuming that the Plan9 wiki page is not outdated), we support:

I read your report, but it's not clear to me whether that commit actually broke go on one of the supported kernels, or just on some other kernel/fork. There're builders for those 3, and although the x64 one does not feel very well at the moment, it succeeded at least once the last week, so I assume that the net change didn't broke it.

What's "the latest ISO made available by Bell Labs", exactly? Is it something different than https://9p.io/plan9 ?

@ALTree ALTree added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Jan 11, 2017
@bradfitz bradfitz added this to the Go1.8Maybe milestone Jan 11, 2017
@bradfitz
Copy link
Contributor

Sure, we could add some text to the Go 1.8 release notes.

I have no clue what to say. The Plan 9 community at least from my perspective doesn't look very organized, with code and kernels scattered all over the place. Maybe I have the wrong perspective.

@0intro, I can write the text if you tell me what to say. Or you can send a CL.

@khm
Copy link
Author

khm commented Jan 11, 2017 via email

@ALTree
Copy link
Member

ALTree commented Jan 11, 2017

Thanks for the clarification. Leaving for brad and/or 0intro.

@ALTree ALTree removed the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Jan 11, 2017
@0intro
Copy link
Member

0intro commented Jan 17, 2017

Sorry for the delay. It seems I've missed this conversation for some reason.

Following the change in CL 31271, you have to apply a change to the Plan 9 kernel to be able to handle the "close" message on the TCP connection control file. The "close" message in analogous to the "hangup" message, but closes the TCP connection gracefully with a FIN instead of a RST.

The patch is available here: 9-tcp-close

This is already documented on the Plan 9 wiki page, which is up-to-date.

I'll propose a CL to document the new requirement in the Go 1.8 release notes.

@gopherbot
Copy link
Contributor

CL https://golang.org/cl/35333 mentions this issue.

@golang golang locked and limited conversation to collaborators Jan 18, 2018
@rsc rsc unassigned 0intro Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants