WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Boot slow down at "Loading extensions..." - TC 5.0.1  (Read 12946 times)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Since you're only changing core code, the instructions are much simpler than for a full custom kernel.

1. Unpack source, copy config file into it (.config), apply the new patch
2. make bzImage
3. Copy arch/x86/boot/bzImage into your boot folder
4. Point your bootloader to this new bzImage instead of the shipped vmlinuz
The only barriers that can stop you are the ones you create yourself.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Wohoo - Success!
The patch does work. No delay at all.

Total amount of time needed to boot into a desktop is now 29 seconds (according to conky) which is about the half of the time that was needed before.

Thanks.

--

PS:
Do I need to apply the patch on the sources if I want to compile something else which depends on linux headers etc.?
Download a copy and keep it handy: Core book ;)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: [SOLVED] Boot slow down at "Loading extensions..." - TC 5.0.1
« Reply #17 on: October 17, 2013, 04:24:29 PM »
The patch also works for me.
I have 4 mdadm  RAID 1  drives and boot time was reduced from 23 minutes to less than 2 minutes.
I was debugging my pretce raid scripts when this topic caught my attention.

I am happy to report that the TC4 mdadm.tcz works fine with TC5.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: [SOLVED] Boot slow down at "Loading extensions..." - TC 5.0.1
« Reply #18 on: October 17, 2013, 05:03:29 PM »
mdadm coped over

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: [SOLVED] Boot slow down at "Loading extensions..." - TC 5.0.1
« Reply #19 on: October 18, 2013, 03:07:15 AM »
Thanks for testing. We'll be including this patch in 5.1.

Quote
Do I need to apply the patch on the sources if I want to compile something else which depends on linux headers etc.?

No, it does not change the module interface, so external modules can use the unmodified source/headers extension (if there is any).
The only barriers that can stop you are the ones you create yourself.