-
Notifications
You must be signed in to change notification settings - Fork 11
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
soft lockup cpu on galaxy book s #16
Comments
Could you solve this? I got similar problems too, even though I tried newer kernels too (which should theoretically support the Snapdragon 8cx). |
Finally installed it, and got it to boot I to multiuser target |
For me, this didn't work. Could you maybe add some more words on what you did before? In my case, the Grub simply reboots - even when having the second USB drive connected. Did you use the Debian image linked in the release https://github.com/aarch64-laptops/debian-cdimage/releases/tag/v0.4? What device tree blob did you load? Did you change any settings in the UEFI settings? |
Yes, I used debian-unstable-arm64-DVD-1_20210314.iso Edit: |
Ah, I found my problem: Using a USB 3 drive simply didn't work. Switching to a USB 2 drive did the trick. |
How did you manage to use I dd'ed it to a flash drive and my boot menu doesn't pick up on it. I tried dd'ing a raw (not ISO) Fedora image and it detects it, but as noted above doesn't work. Seems like my Book S doesn't detect any isohybrid images. |
I committed some horrible sins and dumped the ISO contents all onto a vfat partition, and that at least got me to the soft lockup |
The double USB trick worked here too, haha amazing! |
I got the error "Failed to determine the codename for the release" but worked around by plugging in an ethernet cable to my Dock. |
thanks for sharing the double usb trick !! here are some newbie notes/questions : apparently I still need the double usb trick to boot from internal ssd ... also gdm3 was giving me a black screen but I managed to open an alternative console (with "Ctrl Alt F2") and I installed the openssh-server to work more easily from another PC ... but I needed an ethernet cable to connect to the galaxy book S ... anybody has found how to connect the galaxy book S through wifi ?? also as @Systemscape said the charger doesn't seem to charge ... anybody found a solution to get the galaxy book S to charge ??? also from https://github.com/aarch64-laptops/debian-cdimage "Firmware installation" it looks like we need to load some kind of firmware for the galaxy book S to get some hardware blocks working ?? but how do we do that ?? thanks folks for any help !! ... oops ... sound doesn t seem to work ... did anybody find a way to make it work ?? PS1 : installed the linux arm64 thorium browser (with google sync) from https://github.com/Alex313031/Thorium-Special/releases ... only 6725 in octane v2 (got about 32500 with Edge on Windows ...) ... chromium only 6493 ... firefox feels slow too ... anybody has an idea how to improve performance ?? PS2 2022 08 11 : here is an answer I got on https://webchat.oftc.net/?channels=%23aarch64-laptops (archive : https://oftc.irclog.whitequark.org/aarch64-laptops/2022-08-11 ) (not sure I understand everything) (see also comment below) : 15:39 <jenneron[m]> pierro78: i started to work on samsung galaxy book s, but it needs multi port usb for keyboard/touchpad, there are 5.19-based branches with support for it, but on 5.19 pmic arbiter fails.. |
Something broke for me and now I always get dumped straight into grub minimal on the same flash drive I had working before argh |
here is an answer I got on https://webchat.oftc.net/?channels=%23aarch64-laptops (archive : https://oftc.irclog.whitequark.org/aarch64-laptops/2022-08-11 ) (not sure I understand everything) : 15:39 <jenneron[m]> pierro78: i started to work on samsung galaxy book s, but it needs multi port usb for keyboard/touchpad, there are 5.19-based branches with support for it, but on 5.19 pmic arbiter fails.. PS : |
progress as seen on https://oftc.irclog.whitequark.org/aarch64-laptops/2022-08-17 : 20:11 <jenneron[m]> qzed: thank you, disabling pmic@a and pmic@2 does the trick |
progress thanks to jenneron and the aarch64-laptops group : newer kernel 5.19.0 with patches, dtb, firmware ... still working on it to add stuff (like, for example, wifi) ... octane v2 28228 on thorium instead of 6725 with debian-cdimage kernel ... can boot with an empty usb slot ... all the "dirty details" are in the irc archive, for example https://oftc.irclog.whitequark.org/aarch64-laptops/2022-08-21 ... just adding some notes here : |
progress : wifi working (but no touchscreen, and no charging) (dirty details in https://oftc.irclog.whitequark.org/aarch64-laptops/2022-08-23 ) |
Hi everyone, i'm also trying to make linux working on the samsung galaxy book S 2020. Mine is with intel lakefield, and I noticed that Fedora 36 and Pop!_OS work on the computer (touchpad, touchscreen and keyboard). Pop!_OS is better because Fedora 36 crashes a lot of time. 2 things do not work:
|
Same here, I'm able to boot to grub but its just restarts into windows past that |
you need to add DtbLoader.efi as explained in https://github.com/aarch64-laptops/debian-cdimage I could build an iso with jenneron's kernel, dtb and firmware but I don t know how to do it ... need to find some instructions ... PS : here are some instructions to build a debian iso installer : https://github.com/Mani-Sadhasivam/debian-cdimage/tree/main/doc ( as seen on https://oftc.irclog.whitequark.org/aarch64-laptops/2022-09-01 ) |
in the meantime I am "releasing" the packages made from jenneron's kernel v5.19 sources here : https://github.com/pierro78/galaxybooks8cxkerneldeb/releases/tag/v0.1 i am going to explain how to install these below |
these kernel v5.19 packages and files bring the following avantages over the 5.11custom kernel that is included in the debian-unstable-arm64-DVD-1_20210314.iso : however it is still very much a work in progress : Installation : I hope this will bring some attention to the remarkable work that jenneron has done with the help of the aarch64-laptops group and that we'll have a better functionning linux on our snapdragon galaxy book S in the future ... 2022 09 14 CAUTION NOTE @Joshua-Ashton tried to use these files/packages but it didn t work for him. I don't know why (I ve got debian installed with these files/packages (I think) on 2 partitions and these 2 installations work) but according to https://oftc.irclog.whitequark.org/aarch64-laptops/2022-09-13 , if I get it right, @Joshua-Ashton was able to get a working 5.19 kernel on his galaxy book s ... |
I'm grateful that there is progress on this laptop. @pierro78 you should add a word of caution for using those packages you assembled. Like you said this is testing quality. Jenneron device is also starting to suffer permanent display glitches. |
I didn't get that automatically placed for me when I used the installer :/ |
I copied the DTBLoader from the deb and it still doesn't boot... Maybe its missing the dtb files or something idk. |
@Joshua-Ashton : you need to follow the instructions in the "AArch64 quirks" section of https://github.com/aarch64-laptops/debian-cdimage to get the "AArch64 EFI" to load/boot linux ... this implies starting Shell.efi to run a bcfg command to modify the linux EFI boot entry ... |
No what I mean is there was no dtbloader for the bcfg to use. It was not present after install. I will try re-installing today and maybe it'll work. |
Okay I reinstalled it and got it to kinda boot. It gets onto kernel cmdline, I keep the two sticks in so it doesn't lockup and it hangs on a black screen with a |
It seems stuff goes to crap when it starts graphical session for me... I can get a bit of tty by spamming |
Managed to use |
Hey guys! Any updates? I'm really looking forward to use linux in this machine. Is any linux distro working fine on Book S with the latest kernel updates?? I really need for my school/work. Also do you recommend making a Dual Boot to not delete windows if any thing goes wrong with the linux OS? |
I am following the devs work on the aarch64-laptops irc and to my understanding there has not been notable progress lately although jenneron has worked on his Snapdragon Book S recently |
@pierro78 @matdomis Unfortunately nothing from my end; My Galaxy Book S has been loaned out for the foreseeable future, and I haven't quite been able to stomach the cost of buying a second unit yet. It is a device I am keen to return to when I am able to. It does look like jenneron has done some work lately, although I haven't touched base with them in a while. |
Hey all Just wondering about the potential NAS applications with the work being done here. At this stage from my understanding is that the charging has issues but I'm wondering if enough power is delievered to keep the device on indefinitely as long as it remains plugged in ? If thats the case does anyone know of any potential issues running things like docker or OMV, any virtual machines and shares etc. It wouldn't require graphical desktops and the like, aswell touchscreen and similar features, acting only as a low powered NAS just for the sake of it. |
@SNF444 : the kernel provided in #16 (comment) is minimal and some features are not activated ... like, for example, network bridge needed by docker ... so you'd need to recompile your kernel if you want to do docker stuff with an up-to-date kernel ... |
Thanks for the quick reply , and alright I think thats doable I'll give it ago. |
comment from "agl7" on the aarch64-laptops irc : https://oftc.irclog.whitequark.org/aarch64-laptops/2023-04-08 |
Hey I'm very much a novice when it comes to regular linux let alone talking about kernels and what not. I've followed this page in a regular x64 Ubuntu vm: https://github.com/Mani-Sadhasivam/debian-cdimage/tree/main/doc And this error appeared in the very first of the Build kernel deb When I look for the lexer.lex.c it isn't in the respoitory if thats correct. Can anyone point in the right direction ? |
are you trying to cross compile your ARM Snapdragon Galaxy Book S kernel ? you have requirements (see https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel ) before compiling your kernel |
Yes I think, I'm trying to build an installer for both your version and the battery fork, to install either alongside windows or standalone on the galaxy book s. I did originally begin under wsl on the device itself but encountered the same issue (thanks lots for the answer) I'm not entirely sure how to specifically target those source packages so I was going to start by following the guide I linked above. Thanks for the help, and do you see any issues with my current path? I had thought that building those sources into an image alone might mean that I could skip most of the steps but I'm thinking they will all still need to be done. |
not really, myself I just followed the "Kernel Upgrade" section of https://github.com/aarch64-laptops/debian-cdimage and did not have any issue building my kernel packages from jenneron's sources ( aarch64-laptops irc ) |
Ah this crossed my mind, perhaps I should just do this instead. So instead of I might do this. When following your instructions on copying the dtb and installing the .deb etc. Do I intially boot from the latest iso under https://github.com/aarch64-laptops/debian-cdimage/releases and follow those instructions with the your resource ? here https://github.com/pierro78/galaxybooks8cxkerneldeb/releases/tag/v0.1 Reading those instructions it talks about firmware related to the flex 5g, guessing I just skip over those parts. |
I'd like to help out with the coding stuff, i dont have much experience with these things, but i can code, and if someone could help me a little initially i think that i could dedicate some time to code stuff for this wonderful device |
All done under galaxy book s w767? |
sure, you are in the AArch64-laptops github project here .... |
did you try to talk about your project in the aarch64-laptops irc ?? |
I have encountered the same problem as you, and I also need a random FAT32 USB drive to start. Otherwise, there will still be lockup issues. How did you solve it later? |
I think he re-compiled the kernel ( I have also recompiled it and made it available, see #16 (comment) ) |
In my case, the 5.11 kernel you compiled must have two typec HUBs plugged in to boot properly from the UFS disk. |
I compiled Jenneron's kernel sources and they are 5.19 and no need for USB sticks to boot, see #16 (comment) , see also the comment below for more details : #16 (comment) |
Is your DTB compiled from the 5.19 kernel? |
Exactly ! ( as I said in #16 (comment) ) |
Following your steps, the 5.19 kernel you compiled will display the following boot time: Using ISO default kernel(5.11): |
add 'console=tty0' under linux kernel line. |
The 5.19 kernel you compiled requires the DTB file you provided to boot properly, and the DTB in this kernel cannot be used. The DTB in the 5.19 kernel that I compiled myself can boot the system normally. Some issues:
Tomorrow, I will try the 6.0.6-battery kernel again and perhaps solve the above problems. |
Debian 12 came out, did anyone try? |
It's auto upgrade to Debian 12. |
So you had Debian 11 and now you have Debian 12? how is it? (aka did you try Debian 12) |
For me, just like 11, there's no big difference. |
Linux still doesn't work on this laptop? |
The text was updated successfully, but these errors were encountered: