Fix for linux-3.x support in phc-k8

Discuss about PHC here. For problems please use the PHC Help forum
User avatar
DavidG
Posts: 180
Joined: Fri 18. Jul 2008, 11:25
Contact:

Re: Fix for linux-3.x support in phc-k8

Post by DavidG » Thu 24. Jul 2014, 23:17

Thanks for the feedback! I'm already working on a fix. I will contact you when it is ready to be tested ;)
A bank is a place where they lend you an umbrella in fair weather and ask for it back when it begins to rain -- R. Frost

ryszardzonk
Posts: 19
Joined: Sat 2. Oct 2010, 14:27

Re: Fix for linux-3.x support in phc-k8

Post by ryszardzonk » Sat 4. Oct 2014, 18:22

hi DavidG. Have You got a chance to work on driver changes? If not perhaps now is a good time hence 3.17 kernel is around the corner ;)

leycec
Posts: 3
Joined: Wed 10. Jul 2013, 02:33

Re: Fix for linux-3.x support in phc-k8

Post by leycec » Thu 6. Nov 2014, 23:08

I'd like to second the request for modern kernel support. phc-k8 currently fails to compile under kernels 3.15 through 3.17 – which is a problem.

Gentoo recently bumped kernel 3.16.5 to stable, implying phc-k8 to be unusable under Gentoo without explicitly blocking all post-3.15 kernels. (For obvious reasons, that isn't happening.)

phc-k8 was last updated nearly a year ago, suggesting the project to be on hiatus if not life support. While I accept that DavidG and company are probably quite busy with other (probably paid) projects, some semblance of a status update would be helpful.

Whether the project ultimately lives or dies, thanks for all the undervolted fish. :cry:

User avatar
DavidG
Posts: 180
Joined: Fri 18. Jul 2008, 11:25
Contact:

Re: Fix for linux-3.x support in phc-k8

Post by DavidG » Thu 13. Nov 2014, 23:57

I uploaded a new beta driver in the Test Release topic: http://www.linux-phc.org/forum/viewtopic.php?f=13&t=38

Please report whether it works or not, at the moment I don't have anything to test on (temporarily).

lula32
Posts: 1
Joined: Wed 19. Nov 2014, 02:00

Re: Fix for linux-3.x support in phc-k8

Post by lula32 » Wed 19. Nov 2014, 02:04

Just tried 0.4.6b1 on 3.18-rc5. Had to replace strict_strtoul() with kstrtoul() in phc-k8.c, but then it worked like a charm! thanks!

User avatar
DavidG
Posts: 180
Joined: Fri 18. Jul 2008, 11:25
Contact:

Re: Fix for linux-3.x support in phc-k8

Post by DavidG » Thu 20. Nov 2014, 15:55

Thanks for testing and your feedback! :) I'll fix it and hopefully I'll be able to release a stable version ASAP. There have been a couple of downloads, but you are the first confirming it works, so thanks!

leycec
Posts: 3
Joined: Wed 10. Jul 2013, 02:33

Re: Fix for linux-3.x support in phc-k8

Post by leycec » Sun 30. Nov 2014, 02:05

Cheers, Dave. Like lula32, I recently compiled 0.4.6b1 against a 3.16.5 kernel. Unlike lula32, compilation succeeded without requiring hand modification to "phc-k8.c", (hopefully) implying 0.4.6b1 to be compatible as is with at least the 3.16.x kernel line.

Thanks again! You're awesome.

User avatar
DavidG
Posts: 180
Joined: Fri 18. Jul 2008, 11:25
Contact:

Re: Fix for linux-3.x support in phc-k8

Post by DavidG » Mon 29. Dec 2014, 01:34

FWIW, I just released phc-k8 0.4.6. Thanks to everyone who tested the beta driver!
A bank is a place where they lend you an umbrella in fair weather and ask for it back when it begins to rain -- R. Frost

Post Reply