#34 Fails to Install on x230 ThinkPad with Skulls/Coreboot

Open
opened 2 years ago by myrcy · 7 comments
myrcy commented 2 years ago

Issue: It appears to load the ISOLinux: Dragora Start Menu but when selecting Live Mode it appears to freeze/hang on a blank black screen.

Theories: Could it be that Dragora doesn't have support for SeaVGABIOS? [1]

ISO Image Used: dragora-3.0-x86_64-beta1-live.iso

Exact command to write the ISO: sudo dd if=dragora-3.0-x86_64-beta1-live.iso of=/dev/sdb status=progress

Thanks for your help

**Issue**: It appears to load the `ISOLinux: Dragora Start Menu` but when selecting `Live Mode` it appears to freeze/hang on a blank black screen. **Theories**: Could it be that Dragora doesn't have support for [SeaVGABIOS](https://www.seabios.org/SeaVGABIOS)? [[1](https://github.com/merge/skulls/blob/master/x230/README.md#release-images-to-choose-from)] **ISO Image Used**: [dragora-3.0-x86_64-beta1-live.iso](https://mirror.fsf.org/dragora/current/iso/beta1/dragora-3.0-x86_64-beta1-live.iso) **Exact command to write the ISO**: `sudo dd if=dragora-3.0-x86_64-beta1-live.iso of=/dev/sdb status=progress` Thanks for your help
Matías Fonzo commented 2 years ago
Owner

Could you try passing the kernel parameter:

nomodeset

To the boot "Live mode" entry, pressing [Tab] and adding nomodeset on the final line?.

Could you try passing the kernel parameter: nomodeset To the boot "Live mode" entry, pressing [Tab] and adding nomodeset on the final line?.
myrcy commented 2 years ago
Poster

It appears I can edit the parameters, however it still shows a blank screen when I select Live Mode

Command line does appear to work however.
I have both USB ISO images plugged in as well.

Thanks for your help

It appears I can edit the parameters, however it still shows a blank screen when I select `Live Mode` Command line does appear to work however.<br> I have both USB ISO images plugged in as well. Thanks for your help
Matías Fonzo commented 2 years ago
Owner

Thanks!..

It would be good to try from the current development (bootstrapping for example), or wait up to the next beta (-beta2). Because we are going to switch to the LTS kernel (5.15), the support for your hardware should be better supported, and also much better to cover if you have the latest versions of Coreboot/LibreBoot...

Thanks!.. It would be good to try from the current development (bootstrapping for example), or wait up to the next beta (-beta2). Because we are going to switch to the LTS kernel (5.15), the support for your hardware should be better supported, and also much better to cover if you have the latest versions of Coreboot/LibreBoot...
myrcy commented 2 years ago
Poster

@selk Thank you so much for your help.
I was able to follow the cheatsheet and was able to make the ISO image.

However, it appears to still produce a blank black screen.
I did not run this command when building it:

 qi order /usr/src/qi/recipes/*.order | grep -v "xf86-video-vmware" | qi build -S -p -i - 2>&1 | tee build-log.txt

I can make one to test it with this ran as well.

@selk Thank you so much for your help.<br> I was able to follow the [cheatsheet](https://notabug.org/dragora/dragora/src/master/CHEATSHEET.md) and was able to make the ISO image. However, it appears to still produce a blank black screen. <br> I did not run this command when building it: ``` qi order /usr/src/qi/recipes/*.order | grep -v "xf86-video-vmware" | qi build -S -p -i - 2>&1 | tee build-log.txt ``` I can make one to test it with this ran as well.
myrcy commented 2 years ago
Poster

Log files from process as well: https://notabug.org/myrcy/miscellaneous_files/src/master/dragora/logs/nov2021

A few error messages appeared, sorry I didn't message these earlier.

Log files from process as well: https://notabug.org/myrcy/miscellaneous_files/src/master/dragora/logs/nov2021 A few error messages appeared, sorry I didn't message these earlier.
myrcy commented 2 years ago
Poster

@selk

In stage 2

mksquashfs.c:424:3: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
   ftruncate(fd, bytes);
   ^~~~~~~~~~~~~~~~~~~~

state 0:

../../gcc-10-20211105/libcpp/macro.c: In member function 'vaopt_state::update_type vaopt_state::update(const cpp_token*)':
../../gcc-10-20211105/libcpp/macro.c:184:23: warning: format not a string literal and no format arguments [-Wformat-security]
      vaopt_paste_error);
                       ^
../../gcc-10-20211105/libcpp/macro.c:213:24: warning: format not a string literal and no format arguments [-Wformat-security]
       vaopt_paste_error);
                        ^
../../gcc-10-20211105/libcpp/macro.c: In function 'cpp_macro* create_iso_definition(cpp_reader*)':
../../gcc-10-20211105/libcpp/macro.c:3490:58: warning: format not a string literal and no format arguments [-Wformat-security]
        cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
                                                          ^
../../gcc-10-20211105/libcpp/macro.c:3505:58: warning: format not a string literal and no format arguments [-Wformat-security]
        cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);

there are a lot more instances of cpp_errors in stage 0 as well ( try using grep for cpp_error and you can see many more )

Makefile:1733: recipe for target 'x86_64-linux-musl/bits/largefile-config.h' failed
make[2]: [x86_64-linux-musl/bits/largefile-config.h] Error 1 (ignored)
Makefile:1733: recipe for target 'x86_64-linux-musl/bits/largefile-config.h' failed
make[2]: [x86_64-linux-musl/bits/largefile-config.h] Error 1 (ignored)

stage 1:

echo timestamp > stamp-pb
echo timestamp > stamp-host
Makefile:1733: recipe for target 'x86_64-linux-musl/bits/largefile-config.h' failed
make[2]: [x86_64-linux-musl/bits/largefile-config.h] Error 1 (ignored)
Makefile:1733: recipe for target 'x86_64-linux-musl/bits/largefile-config.h' failed
make[2]: [x86_64-linux-musl/bits/largefile-config.h] Error 1 (ignored)
echo 0 > stamp-namespace-version
 INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none \
 PERL_CORE=1 LIBPERL_A=libperl.a PERL="../../miniperl_top"
WARNING: Setting ABSTRACT via file 'lib/Pod/Simple.pm' failed
 at /home/n4089/Desktop/Dragora/git/dragora/OUTPUT.bootstrap/sources/perl-5.32.1/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm line 756.
Generating a Unix-style Makefile
Writing Makefile for Pod::Simple
 PERL_CORE=1 LIBPERL_A=libperl.a PERL="../../miniperl_top"
WARNING: Setting ABSTRACT via file 'lib/IO/Socket/IP.pm' failed
 at /home/n4089/Desktop/Dragora/git/dragora/OUTPUT.bootstrap/sources/perl-5.32.1/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm line 756.
Generating a Unix-style Makefile
Writing Makefile for IO::Socket::IP
 INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none \
 PERL_CORE=1 LIBPERL_A=libperl.a PERL="../../miniperl_top"
WARNING: Setting ABSTRACT via file 'lib/perlfaq.pm' failed
 at /home/n4089/Desktop/Dragora/git/dragora/OUTPUT.bootstrap/sources/perl-5.32.1/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm line 756.
Generating a Unix-style Makefile
 PERL_CORE=1 LIBPERL_A=libperl.a PERL="../../miniperl_top"
WARNING: Setting ABSTRACT via file 'lib/version.pm' failed
 at /home/n4089/Desktop/Dragora/git/dragora/OUTPUT.bootstrap/sources/perl-5.32.1/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm line 756.
Generating a Unix-style Makefile
 PERL_CORE=1 LIBPERL_A=libperl.a PERL="../../miniperl_top"
WARNING: Setting ABSTRACT via file 'lib/ExtUtils/ParseXS.pm' failed
 at /home/n4089/Desktop/Dragora/git/dragora/OUTPUT.bootstrap/sources/perl-5.32.1/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm line 756.
Generating a Unix-style Makefile
 PERL_CORE=1 LIBPERL_A=libperl.a PERL="../../miniperl_top"
WARNING: Setting ABSTRACT via file 'lib/Locale/Maketext.pm' failed
 at /home/n4089/Desktop/Dragora/git/dragora/OUTPUT.bootstrap/sources/perl-5.32.1/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm line 756.
Generating a Unix-style Makefile
Writing Makefile for Locale::Maketext
TestXS.xs:4:10: fatal error: EXTERN.h: No such file or directory
    4 | #include "EXTERN.h"
      |          ^~~~~~~~~~
compilation terminated.
Makefile:1250: recipe for target 'TestXS.lo' failed
make: *** [TestXS.lo] Error 1
no fallback module for TestXS
TestXS.xs:4:10: fatal error: EXTERN.h: No such file or directory
    4 | #include "EXTERN.h"
      |          ^~~~~~~~~~
compilation terminated.
Makefile:1250: recipe for target 'TestXS.lo' failed
make: *** [TestXS.lo] Error 1
no fallback module for TestXS
unset the TEXINFO_XS and TEXINFO_XS_PARSER environment variables to use the pure Perl modules
BEGIN failed--compilation aborted at ../../Texinfo/XS/TestXS.pm line 31.
Compilation failed in require at -e line 1.
checking whether we can build Perl extension (XS) modules... no
######################################################
#                                                    #
#       You'll now need to modify the Makefile       #
#      variables to suit your local conditions.      #
#                                                    #
######################################################

Makefile.dist:232: recipe for target 'Makefile' failed
make: *** [Makefile] Error 1
/tools/bin/perl -wc graft.pl
graft.pl syntax OK
sed			

Most of these were found via me just using grep to search for keywords.
I'll try and help as much as I can to look through them more as well.

Its worth noting running grep -r "warning" stage* shows a lot of results as well.
Too many to list.

@selk In stage 2 ``` mksquashfs.c:424:3: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, bytes); ^~~~~~~~~~~~~~~~~~~~ ``` state 0: ``` ../../gcc-10-20211105/libcpp/macro.c: In member function 'vaopt_state::update_type vaopt_state::update(const cpp_token*)': ../../gcc-10-20211105/libcpp/macro.c:184:23: warning: format not a string literal and no format arguments [-Wformat-security] vaopt_paste_error); ^ ../../gcc-10-20211105/libcpp/macro.c:213:24: warning: format not a string literal and no format arguments [-Wformat-security] vaopt_paste_error); ^ ../../gcc-10-20211105/libcpp/macro.c: In function 'cpp_macro* create_iso_definition(cpp_reader*)': ../../gcc-10-20211105/libcpp/macro.c:3490:58: warning: format not a string literal and no format arguments [-Wformat-security] cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg); ^ ../../gcc-10-20211105/libcpp/macro.c:3505:58: warning: format not a string literal and no format arguments [-Wformat-security] cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg); ``` there are a lot more instances of `cpp_error`s in stage 0 as well ( try using grep for cpp_error and you can see many more ) ``` Makefile:1733: recipe for target 'x86_64-linux-musl/bits/largefile-config.h' failed make[2]: [x86_64-linux-musl/bits/largefile-config.h] Error 1 (ignored) Makefile:1733: recipe for target 'x86_64-linux-musl/bits/largefile-config.h' failed make[2]: [x86_64-linux-musl/bits/largefile-config.h] Error 1 (ignored) ``` stage 1: ``` echo timestamp > stamp-pb echo timestamp > stamp-host Makefile:1733: recipe for target 'x86_64-linux-musl/bits/largefile-config.h' failed make[2]: [x86_64-linux-musl/bits/largefile-config.h] Error 1 (ignored) Makefile:1733: recipe for target 'x86_64-linux-musl/bits/largefile-config.h' failed make[2]: [x86_64-linux-musl/bits/largefile-config.h] Error 1 (ignored) echo 0 > stamp-namespace-version ``` ``` INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none \ PERL_CORE=1 LIBPERL_A=libperl.a PERL="../../miniperl_top" WARNING: Setting ABSTRACT via file 'lib/Pod/Simple.pm' failed at /home/n4089/Desktop/Dragora/git/dragora/OUTPUT.bootstrap/sources/perl-5.32.1/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm line 756. Generating a Unix-style Makefile Writing Makefile for Pod::Simple ``` ``` PERL_CORE=1 LIBPERL_A=libperl.a PERL="../../miniperl_top" WARNING: Setting ABSTRACT via file 'lib/IO/Socket/IP.pm' failed at /home/n4089/Desktop/Dragora/git/dragora/OUTPUT.bootstrap/sources/perl-5.32.1/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm line 756. Generating a Unix-style Makefile Writing Makefile for IO::Socket::IP ``` ``` INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none \ PERL_CORE=1 LIBPERL_A=libperl.a PERL="../../miniperl_top" WARNING: Setting ABSTRACT via file 'lib/perlfaq.pm' failed at /home/n4089/Desktop/Dragora/git/dragora/OUTPUT.bootstrap/sources/perl-5.32.1/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm line 756. Generating a Unix-style Makefile ``` ``` PERL_CORE=1 LIBPERL_A=libperl.a PERL="../../miniperl_top" WARNING: Setting ABSTRACT via file 'lib/version.pm' failed at /home/n4089/Desktop/Dragora/git/dragora/OUTPUT.bootstrap/sources/perl-5.32.1/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm line 756. Generating a Unix-style Makefile ``` ``` PERL_CORE=1 LIBPERL_A=libperl.a PERL="../../miniperl_top" WARNING: Setting ABSTRACT via file 'lib/ExtUtils/ParseXS.pm' failed at /home/n4089/Desktop/Dragora/git/dragora/OUTPUT.bootstrap/sources/perl-5.32.1/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm line 756. Generating a Unix-style Makefile ``` ``` PERL_CORE=1 LIBPERL_A=libperl.a PERL="../../miniperl_top" WARNING: Setting ABSTRACT via file 'lib/Locale/Maketext.pm' failed at /home/n4089/Desktop/Dragora/git/dragora/OUTPUT.bootstrap/sources/perl-5.32.1/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm line 756. Generating a Unix-style Makefile Writing Makefile for Locale::Maketext ``` ``` TestXS.xs:4:10: fatal error: EXTERN.h: No such file or directory 4 | #include "EXTERN.h" | ^~~~~~~~~~ compilation terminated. Makefile:1250: recipe for target 'TestXS.lo' failed make: *** [TestXS.lo] Error 1 no fallback module for TestXS ``` ``` TestXS.xs:4:10: fatal error: EXTERN.h: No such file or directory 4 | #include "EXTERN.h" | ^~~~~~~~~~ compilation terminated. Makefile:1250: recipe for target 'TestXS.lo' failed make: *** [TestXS.lo] Error 1 no fallback module for TestXS unset the TEXINFO_XS and TEXINFO_XS_PARSER environment variables to use the pure Perl modules BEGIN failed--compilation aborted at ../../Texinfo/XS/TestXS.pm line 31. Compilation failed in require at -e line 1. checking whether we can build Perl extension (XS) modules... no ``` ``` ###################################################### # # # You'll now need to modify the Makefile # # variables to suit your local conditions. # # # ###################################################### Makefile.dist:232: recipe for target 'Makefile' failed make: *** [Makefile] Error 1 /tools/bin/perl -wc graft.pl graft.pl syntax OK sed ``` Most of these were found via me just using `grep` to search for keywords. <br> I'll try and help as much as I can to look through them more as well. Its worth noting running `grep -r "warning" stage*` shows a lot of results as well.<br> Too many to list.
myrcy commented 2 years ago
Poster

I'm using skulls 1.0.3. which is its latest release.

I will look more into manually updating to coreboot or osboot as well.


Also, links to log files:

stage0: https://notabug.org/myrcy/miscellaneous_files/raw/master/dragora/logs/nov2021/stage0-log.txt

stage1: https://notabug.org/myrcy/miscellaneous_files/raw/master/dragora/logs/nov2021/stage1-log.txt

stage2: https://notabug.org/myrcy/miscellaneous_files/raw/master/dragora/logs/nov2021/stage2-log.txt

Thank you so much for your help

I'm using `skulls 1.0.3.` which is its latest release. I will look more into manually updating to coreboot or osboot as well. ______________________ Also, links to log files: stage0: https://notabug.org/myrcy/miscellaneous_files/raw/master/dragora/logs/nov2021/stage0-log.txt stage1: https://notabug.org/myrcy/miscellaneous_files/raw/master/dragora/logs/nov2021/stage1-log.txt stage2: https://notabug.org/myrcy/miscellaneous_files/raw/master/dragora/logs/nov2021/stage2-log.txt Thank you so much for your help
Sign in to join this conversation.
No Label
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.