LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-20-2018, 12:30 AM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,972

Rep: Reputation: 271Reputation: 271Reputation: 271
kernel crashes on boot 'Unexpected reschdule of offline CPU#0!'


I copied my hard drive's kernel and modules to a flash drive. It crashes on boot, reporting:
Quote:
sched: Unexpected reschedule of offline CPU#0!
WARNING: CPU: 1 PID: 1 at arch/x86/kernel/smp.c 128 native_smp_send_reschedule+0x35/0x40
Modules linked in:
CPU: 1 PID: 1 Comm: swapper not tainted 4.17.2 #30
It gave a similar error when I used the package kernel.
 
Old 06-20-2018, 10:19 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I need a bit more info. How exactly are you using the flash drive in relation to '/'? Are you mounting it to /boot? /lib? It can't be both.
 
Old 06-21-2018, 07:16 AM   #3
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,972

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
I try to boot from the flash drive: it's /. It passes e2fsck; running diff on the kernel and modules, comparing them to those on the hard drive, find no differences.
 
Old 06-25-2018, 02:59 PM   #4
X-LFS-2010
Member
 
Registered: Apr 2016
Posts: 510

Rep: Reputation: 58
it may be that some of the APM type modules were not loaded properly (cpu slept, some module not loaded was supposed to wake it not present, etc)

your main system might use an "initrd" to load modules during boot time (ugh, rather have a kernel with all the stuff my pc does compiled in). it could be you have some support in kernel but some essential support "compiled as module". having modules isn't enough. linux can't load them until it mounts root which in your case appears to be too late. (that's what initrd is for)

i think you need to learn more about making an "OS DISK". you can't just copy a few things and expect it all to work.

or try a different OS/kernel. there are some where doing a copy like that would work.

all depends on what you like doing and how you like doing it. but rtfm
 
  


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
Tickless kernel / Configure boot cpu? smudge Linux - Server 1 05-20-2017 05:31 PM
[SOLVED] Oracle Linux 6.6 will not boot UEK3 kernel, crashes to EL kernel davisko Linux - Enterprise 1 03-26-2015 06:45 PM
X crashes unexpected on mandriva 2010 x64 WiseDraco Mandriva 11 03-23-2010 08:17 AM
nexenta:release cd boot crashes at kernel start from cd pbflyingdutchman Solaris / OpenSolaris 0 03-19-2008 06:48 AM
Gimp crashes suddenly LibGimp-WARNING **: script-fu: wire_read: unexpected EOF anorman Linux - Software 0 03-12-2004 12:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 09:58 AM.

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