LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-25-2013, 09:42 PM   #1
mainam
LQ Newbie
 
Registered: Aug 2006
Posts: 16

Rep: Reputation: 1
slackware-current-boot fails with linux-3.10*


In slackware-current with linux-3.10 series boot comes to dead end with fsck.ext2:exec format error-emergency shell no help. Compiled 3.10* several times.Please help
 
Old 07-25-2013, 09:58 PM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Did you compile the kernel with the EXT 2/3/4 file system loading driver built into the kernel itself or as separate modules?
 
Old 07-25-2013, 10:41 PM   #3
parcox
LQ Newbie
 
Registered: Jan 2007
Location: Pontianak, Indonesia
Distribution: Slackware64-14.0
Posts: 26

Rep: Reputation: 5
I've this problem too recently. I first thought that this problem comes from e2fsprogs. Rebuilding e2fsprogs didn't solve the problem. You would check your kernel config, make sure CONFIG_BINFMT_SCRIPT is configured to Y (not M / N).

Code:
...
#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
CONFIG_COMPAT_BINFMT_ELF=y
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
CONFIG_BINFMT_SCRIPT=y
# CONFIG_HAVE_AOUT is not set
CONFIG_BINFMT_MISC=y
...
From kernel help menu:
Quote:
CONFIG_BINFMT_SCRIPT: │
│ │
│ Say Y here if you want to execute interpreted scripts starting with │
│ #! followed by the path to an interpreter. │
│ │
│ You can build this support as a module; however, until that module │
│ gets loaded, you cannot run scripts. Thus, if you want to load this │
│ module from an initramfs, the portion of the initramfs before loading │
│ this module must consist of compiled binaries only. │
│ │
│ Most systems will not boot if you say M or N here. If unsure, say Y.

Last edited by parcox; 07-25-2013 at 10:43 PM. Reason: Added kernel help info
 
2 members found this post helpful.
Old 07-26-2013, 04:34 AM   #4
mainam
LQ Newbie
 
Registered: Aug 2006
Posts: 16

Original Poster
Rep: Reputation: 1
Parcox your reply solved the problem.boots new compiled kernel.many thanks

Quote:
Originally Posted by parcox View Post
I've this problem too recently. I first thought that this problem comes from e2fsprogs. Rebuilding e2fsprogs didn't solve the problem. You would check your kernel config, make sure CONFIG_BINFMT_SCRIPT is configured to Y (not M / N).

Code:
...
#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
CONFIG_COMPAT_BINFMT_ELF=y
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
CONFIG_BINFMT_SCRIPT=y
# CONFIG_HAVE_AOUT is not set
CONFIG_BINFMT_MISC=y
...
From kernel help menu:

Hullo Parcox,
You have solved the problem for me.Recompiled kernel with suggested changes and now boots normally. Many thanks
 
Old 07-26-2013, 07:39 AM   #5
parcox
LQ Newbie
 
Registered: Jan 2007
Location: Pontianak, Indonesia
Distribution: Slackware64-14.0
Posts: 26

Rep: Reputation: 5
Don't forget to mark this thread as solved then
 
Old 07-26-2013, 03:27 PM   #6
torimus
Member
 
Registered: Apr 2013
Distribution: Slackware
Posts: 81

Rep: Reputation: Disabled
I do really recommend to use, at least as the initial point, configuration file offered directly by Slackware
Btw, it already has CONFIG_BINFMT_SCRIPT option set to yes.
 
Old 07-27-2013, 12:56 AM   #7
mainam
LQ Newbie
 
Registered: Aug 2006
Posts: 16

Original Poster
Rep: Reputation: 1
Problem solved
 
Old 07-27-2013, 01:25 AM   #8
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by mainam View Post
Problem solved
Marking a problem/post as SOLVED means using the "Thread Tools" menu at the top of the page and selecting the solved option.

The solved status will then appear next to the title in the list of threads.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Slackware Current (13.37) iso fails to boot on Asus P8Z68-V LE with 3506/3702 BIOS TracyTiger Slackware - Installation 4 04-18-2012 01:02 PM
[SOLVED] setup fails on most current Slackware-current March 26, 2012 AlleyTrotter Slackware 15 04-09-2012 06:05 AM
[SOLVED] Slackware64-current usbboot.img fails to boot disturbed1 Slackware 11 02-19-2010 01:12 AM
mirror-slackware-current fails to create iso's BCarey Slackware 5 08-15-2009 09:42 AM
Slackware 10.0 - Direct Boot Fails, Cannot Create Linux Bootdisk Ffi Slackware - Installation 9 07-20-2004 05:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:00 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