yusefnapora / pixelbook-linux

257 stars 50 forks source link

5.4 #44

Open psycik opened 4 years ago

psycik commented 4 years ago

Anyone try building this yet?

omfgnuts commented 4 years ago

Why? Pixelbook doesn't have it, we're still on 4.4.215

mcdowellmountains commented 4 years ago

can anyone tell me how to upgrade my pixelbook to the newer 4.4.215 Kernel? I am a noob and currently on the original 4.4.178 chromium kernel. Any help would be appreciated, link to an explanation, etc.

Thank you.

Regards,

[image: Picture]

John Longobardo 480-748-9530 (m)

On Tue, Mar 10, 2020 at 11:39 AM Nikita notifications@github.com wrote:

Why? Pixelbook doesn't have it, we're still on 4.4.215

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yusefnapora/pixelbook-linux/issues/44?email_source=notifications&email_token=ANDBAIXZ4OO5RZ3B6XVCVUDRGZNJRA5CNFSM4LDD4A3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOL5YUI#issuecomment-597154897, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANDBAIQJ5SA6A3PJATFJHKDRGZNJRANCNFSM4LDD4A3A .

psycik commented 4 years ago

Why? Pixelbook doesn't have it, we're still on 4.4.215

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/refs/heads/release-R81-12871.B-chromeos-5.4

can anyone tell me how to upgrade my pixelbook to the newer 4.4.215 Kernel? I am a noob and currently on the original 4.4.178 chromium kernel. Any help would be appreciated, link to an explanation, etc.

https://github.com/daemonp/pixelbook-linux/tree/kernel-upgrade Install from that repo and it will upgrade you.

mcdowellmountains commented 4 years ago

While trying to install the kernel upgrade I got the following error message:

TASK [eve-recovery-files : Find mapper device to use for mounting image]


fatal: [localhost]: FAILED! => {"msg": "Unexpected templating type error occurred on ({{ kpartx_output.stdout | regex_search(regexp, '\\1') | first }}): 'NoneType' object is not iterable"}

Can anyone help me determine why this has happened, and how I can correct it?

Regards,

[image: Picture]

John Longobardo 480-748-9530 (m)

On Tue, Mar 10, 2020 at 1:29 PM psycik notifications@github.com wrote:

Why? Pixelbook doesn't have it, we're still on 4.4.215

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/refs/heads/release-R81-12871.B-chromeos-5.4

can anyone tell me how to upgrade my pixelbook to the newer 4.4.215 Kernel? I am a noob and currently on the original 4.4.178 chromium kernel. Any help would be appreciated, link to an explanation, etc.

https://github.com/daemonp/pixelbook-linux/tree/kernel-upgrade Install from his repo and it will upgrade you.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/yusefnapora/pixelbook-linux/issues/44?email_source=notifications&email_token=ANDBAIVMBZVJJY6YKDSK4Z3RGZ2IDA5CNFSM4LDD4A3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOMMH6Q#issuecomment-597214202, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANDBAISLNP2EL63UB677MMTRGZ2IDANCNFSM4LDD4A3A .

flantel commented 4 years ago

@mcdowellmountains See pull request #4 or try using the flantel fork which includes this and other fixes.

mcdowellmountains commented 4 years ago

Worked!! Thank you so much for your help!

John Longobardo 480-748-9530

On Tue, Mar 10, 2020, 8:24 PM Barry Flanagan notifications@github.com wrote:

@mcdowellmountains https://github.com/mcdowellmountains See pull request #4 https://github.com/yusefnapora/pixelbook-linux/pull/4 or try using the flantel fork which includes this and other fixes.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/yusefnapora/pixelbook-linux/issues/44?email_source=notifications&email_token=ANDBAIQRFST5ZYCE4VTMJ7LRG3K5NA5CNFSM4LDD4A3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEONVUQA#issuecomment-597383744, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANDBAIWLXLLBCXO67DNKNNTRG3K5NANCNFSM4LDD4A3A .

omfgnuts commented 4 years ago

@psycik

https://chromium.googlesource.com/chromiumos/third_party/kernel/+/refs/heads/release-R81-12871.B-chromeos-5.4

That's not a pixelbook one, and you probably won't be able to get stuff from this repo working on 5.4

mcdowellmountains commented 4 years ago

psycik,

I have been trying to install the 4.4.205 kernel upgrade for the pixelbook authored by Damonp. I cannot get this pixelbook-linux-kernel-upgrade script to install the newer Kernel, it just keeps re-installing the 4.4.175 kernel. Can you explain to me what I might be doing wrong, as i am following the script and running the revised ansible scripts Damonp has developed, but it does not work. i have tried asking Damonp for help, but he does not respond to my requests. you have been very responsive, and so hoping you might be able to help me determine how to make this happen correctly? Thanks much.

psycik commented 4 years ago

@mcdowellmountains Delete whatever folder you were using before, freshly install from https://github.com/daemonp/pixelbook-linux/tree/kernel-upgrade It will install from 4.4.205, you can then use a grub editor like: https://tipsonubuntu.com/2018/03/11/install-grub-customizer-ubuntu-18-04-lts/ to set 4.4.205 as the default for startup.

mcdowellmountains commented 4 years ago

Psycik,

worked perfectly, thank you!!

On Tue, Mar 24, 2020 at 8:53 PM psycik notifications@github.com wrote:

@mcdowellmountains https://github.com/mcdowellmountains Delete whatever folder you were using before, freshly install from https://github.com/daemonp/pixelbook-linux/tree/kernel-upgrade It will install from 4.4.205, you can then use a grub editor like: https://tipsonubuntu.com/2018/03/11/install-grub-customizer-ubuntu-18-04-lts/ to set 4.4.205 as the default for startup.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/yusefnapora/pixelbook-linux/issues/44#issuecomment-603580442, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANDBAIXSN4UMWIFSSHLGBATRJFIY5ANCNFSM4LDD4A3A .

mcdowellmountains commented 4 years ago

Psycik,

My pixelbook says I'm booting from 4.4.205 I see my butt after I followed your instructions about how to do the upgrade. but I don't seem to have any headers installed that I can tell. I tried a number of different commands at the terminal to see if the Linux image is installed for ,4.4.205, but also indications seem to tell me that it's not. If grub says I'm booting from 4. 4. 205 how can I determine if the headers and the rest of the kernel are really installed properly? Is there something I'm missing here? I installed it directly from the Damonp scripts as you indicated and used grub customizer to move 4.4. 205 into the default boot position but I'm still not sure I have the proper kernel installed? If Ubuntu says on booting from 4.4.205 at the boot up screen, is that really the case?Thank you in advance for any hints you may give me as to what's really going on here.

Mcdowellmountains

On Tue, Mar 24, 2020, 8:53 PM psycik notifications@github.com wrote:

@mcdowellmountains https://github.com/mcdowellmountains Delete whatever folder you were using before, freshly install from https://github.com/daemonp/pixelbook-linux/tree/kernel-upgrade It will install from 4.4.205, you can then use a grub editor like: https://tipsonubuntu.com/2018/03/11/install-grub-customizer-ubuntu-18-04-lts/ to set 4.4.205 as the default for startup.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/yusefnapora/pixelbook-linux/issues/44#issuecomment-603580442, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANDBAIXSN4UMWIFSSHLGBATRJFIY5ANCNFSM4LDD4A3A .

psycik commented 4 years ago

@mcdowellmountains if grub says it then yes, to be sure you can use uname -r to check.

mcdowellmountains commented 4 years ago

Psycik,

trying to install fedora 31 with the script, but keep getting this error:

ASK [eve-kernel : Install kernel image package]


[WARNING]: Updating cache and auto-installing missing dependency: python3-apt fatal: [localhost]: FAILED! => {"changed": false, "cmd": "apt-get update", "msg": "[Errno 2] No such file or directory: b'apt-get': b'apt-get'", "rc": 2}

can't seem to find a fix. You have been very helpful in the past, can you help me determine what I need to do to fix this? Thanks in advance for your help!

Regards,

[image: Picture]

John Longobardo 480-748-9530 (m)

On Wed, Mar 25, 2020 at 10:09 AM John Longobardo john.longobardo@gmail.com wrote:

Psycik,

worked perfectly, thank you!!

On Tue, Mar 24, 2020 at 8:53 PM psycik notifications@github.com wrote:

@mcdowellmountains https://github.com/mcdowellmountains Delete whatever folder you were using before, freshly install from https://github.com/daemonp/pixelbook-linux/tree/kernel-upgrade It will install from 4.4.205, you can then use a grub editor like: https://tipsonubuntu.com/2018/03/11/install-grub-customizer-ubuntu-18-04-lts/ to set 4.4.205 as the default for startup.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/yusefnapora/pixelbook-linux/issues/44#issuecomment-603580442, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANDBAIXSN4UMWIFSSHLGBATRJFIY5ANCNFSM4LDD4A3A .

duckunix commented 4 years ago

Well, that would be due to the fact the ansible playbook is set up to use apt-get to install packages, and Fedora used dnf. Oh, and the package names might be different between the two.

I would read the ansible and understand what each play is doing, and then try to port that to Fedora. Sorry, I cannot be more help, I have not used Fedora since before Fedora 20.

soppelmann commented 4 years ago

Here, I hope my notes can be of help. Writing this from a pixelbook running the chromium 5.4.35 build of the Linux kernel. https://github.com/GetzMikalsen/pixelbook-chromium5.4-kernel

psycik commented 4 years ago

@GetzMikalsen we owe you a shot for all that work.

mcdowellmountains commented 4 years ago

psycik,

trying to install the pixelbook script with linux mint. All works well until the very end when cras refuses to cooperate and throws the following error message:

TASK [eve-audio : configure cras] ** fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["env", "CFLAGS=-I/usr/include/iniparser", "./configure", "--disable-dbus", "--disable-webrtc-apm", "--with-socketdir=/var/run/cras"], "delta": "0:00:00.001918", "end": "2020-05-08 15:52:14.141969", "msg": "non-zero return code", "rc": 126, "start": "2020-05-08 15:52:14.140051", "stderr": "env: ‘./configure’: Permission denied", "stderr_lines": ["env: ‘./configure’: Permission denied"], "stdout": "", "stdout_lines": []} to retry, use: --limit @/home/john/pixelbook-linux-kernel-upgrade/ansible/playbook.retry

all other features work well, except for sound, can you help me determine what I need to do to correct the above to get Cras to work and provide sound. As usual, thanks for any help you can provide.

Mcdowellmountains

Elara6331 commented 4 years ago

psycik,

trying to install the pixelbook script with linux mint. All works well until the very end when cras refuses to cooperate and throws the following error message:

TASK [eve-audio : configure cras] ** fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["env", "CFLAGS=-I/usr/include/iniparser", "./configure", "--disable-dbus", "--disable-webrtc-apm", "--with-socketdir=/var/run/cras"], "delta": "0:00:00.001918", "end": "2020-05-08 15:52:14.141969", "msg": "non-zero return code", "rc": 126, "start": "2020-05-08 15:52:14.140051", "stderr": "env: ‘./configure’: Permission denied", "stderr_lines": ["env: ‘./configure’: Permission denied"], "stdout": "", "stdout_lines": []} to retry, use: --limit @/home/john/pixelbook-linux-kernel-upgrade/ansible/playbook.retry

all other features work well, except for sound, can you help me determine what I need to do to correct the above to get Cras to work and provide sound. As usual, thanks for any help you can provide.

Mcdowellmountains

Can you try chmod +x ./configure? I know it is obvious, but I have had many issues with executable permissions before