LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 02-24-2017, 01:52 PM   #1
MrSquigy
LQ Newbie
 
Registered: Feb 2017
Posts: 5

Rep: Reputation: Disabled
Failed tests during e2fsprogs


Hello,

I am in section 6.49 (E2fsprogs-1.43.1) of the LFS book v7.10. I am getting three failed tests for
Code:
make LD_LIBRARY_PATH=/tools/lib check
. The three failed tests are: m_minrootdir, m_rootdir and r_32to64bit.

Does anyone know how to fix these errors, or if they are normal. If additional information is required please ask. Thank you all!
 
Old 02-24-2017, 10:37 PM   #2
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
m_minrootdir, m_rootdir might be failing because you're in chroot. I have seen that error several times and ignored it without issue.

I don't know about r_32to64bit, but I'm going to speculate that it has to do with a binary translation option not being selected in the kernel.

Edit: Specifically...

Executable file formats / Emulations --->
[ ] x32 ABI for 64-bit Mode

Try plopping an asterisk in there and running the check again.

Last edited by Luridis; 02-24-2017 at 10:44 PM.
 
Old 02-25-2017, 03:29 AM   #3
MrSquigy
LQ Newbie
 
Registered: Feb 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Sorry, I am quite a beginner at the whole LFS system, where can I find the kernel to edit that? I know I built it for the tools/ dir earlier but have no idea where it was installed to.
 
Old 02-25-2017, 09:07 AM   #4
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
You don't edit the kernel you edit the config file and then rebuild the kernel, see here:

http://www.linuxfromscratch.org/lfs/...08/kernel.html
 
Old 02-25-2017, 09:47 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Quote:
Originally Posted by MrSquigy View Post
Sorry, I am quite a beginner at the whole LFS system, where can I find the kernel to edit that? I know I built it for the tools/ dir earlier but have no idea where it was installed to.
What you built for /tools wasn't the kernel itself, only the kernel headers, because the glibc build needed them. You don't have a kernel yet. And the kernel you would need to rebuild is the one on your host system because that's the one you use in chroot. Frankly that would be using a sledgehammer to crack a nut.

You can find example logs of all the tests at http://www.linuxfromscratch.org/lfs/...00MQ/test-logs. That's always the first place to go if you are worried about errors. Generally speaking a single error (plus those that the book describes as expected) is nothing to worry about. Three, I agree, is a bit more serious. You can always post a question on the LFS mailing list if you are really worried.
 
Old 02-25-2017, 10:14 AM   #6
MrSquigy
LQ Newbie
 
Registered: Feb 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
What you built for /tools wasn't the kernel itself, only the kernel headers, because the glibc build needed them. You don't have a kernel yet. And the kernel you would need to rebuild is the one on your host system because that's the one you use in chroot. Frankly that would be using a sledgehammer to crack a nut.

You can find example logs of all the tests at http://www.linuxfromscratch.org/lfs/...00MQ/test-logs. That's always the first place to go if you are worried about errors. Generally speaking a single error (plus those that the book describes as expected) is nothing to worry about. Three, I agree, is a bit more serious. You can always post a question on the LFS mailing list if you are really worried.
Thanks for the response. It was only one proper failed test as the other two are failed as well in the logs, which you provided (Thank you!). Weirdly there are four tests which convert from 32 to 64 bit but the other three passed, so think I will remake the package and if the error persists, will just move on, because as you said it's using my host kernel, and as that wouldn't be on my LFS system there shouldn't be a problem.
 
Old 02-25-2017, 10:36 AM   #7
MrSquigy
LQ Newbie
 
Registered: Feb 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
After re-making the package all the usual tests passed, will do that next time! Thanks to everyone that helped.
 
Old 02-25-2017, 12:38 PM   #8
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by MrSquigy View Post
After re-making the package all the usual tests passed, will do that next time! Thanks to everyone that helped.
Then you've learned another valuable lesson about building LFS: Test results are ephemeral. Many of the "torture" tests assume they're running on a dedicated test machine. When you're building in a virtual machine, or on a desktop and decide to play music, watch youtube, etc. while the tests are running it, can cause some to fail. In other words a failing test might not be an issue. A consistently failing test could be a problem, but not necessarily. A whole lot of tests failing on within the same test suite is a much better indication that something is wrong.
 
Old 02-25-2017, 12:41 PM   #9
MrSquigy
LQ Newbie
 
Registered: Feb 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Luridis View Post
Then you've learned another valuable lesson about building LFS: Test results are ephemeral. Many of the "torture" tests assume they're running on a dedicated test machine. When you're building in a virtual machine, or on a desktop and decide to play music, watch youtube, etc. while the tests are running it, can cause some to fail. In other words a failing test might not be an issue. A consistently failing test could be a problem, but not necessarily. A whole lot of tests failing on within the same test suite is a much better indication that something is wrong.
Yes I have, and glad I learned it on my first LFS system!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ns2 - some validation tests failed shojaru Linux - Newbie 73 02-01-2017 06:59 PM
ns2.35 but last part of validation message shows some tests failed aruns Linux - Newbie 2 04-21-2015 02:38 AM
validate overall report:some tests failed aicaicai Linux - Newbie 1 08-26-2011 07:04 AM
Updating e2fsprogs Prasanna_Adhikari Slackware 19 03-07-2011 12:39 AM
5.19 E2fsprogs-1.41.3 chmod jpeters Linux From Scratch 2 03-28-2009 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration