WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Custom kernel problem  (Read 2495 times)

Offline oldpig

  • Newbie
  • *
  • Posts: 5
Custom kernel problem
« on: May 25, 2014, 10:44:11 PM »
hi TCers,

I am running corepure64 and it is flawless and awesome. Now I need a customized kernel which is going to remove the unnecessary device driver, especially Silicon Image 3124/3123 ATA driver. I followed the instruction to rebuild the kernel:

1. extract linux-3.8.13-patched.txz
2. copy config-3.8.13-tinycore64 to .config
3. make oldconfig
4. make menuconfig
5. uncheck that driver (default is built-in)
6. save and exit
7. make bzImage (original file is under arch/x86/boot, it is a softlink in arch/x86_64/boot/)
8. replace to vmlinuz64

After reboot, I got a kenel panic, the last error message is said "fixing recursive blablabla, need reboot". I did this rebuild under:
*. Ubuntu 14.01 x86_64
*. gcc 4.8.2 amd64

Then I have tried to compile inside TC.
1. Start original, corepure64 + vmlinuz
2. tc-load compiletc ncurses-dev bash perl5
3.repeat the same steps above

I got same problem, KP and same error message.

Then I gave a try to re-compile kernel 3.14.4. This time I got a little progress during boot. It said "blabla modprobe error" due to kernel signature is 3.14.4 and I was using modules64.gz which has indicated all modules are stay in /lib/modues/3.8.13-tinycore64.

My question is, I only want to remove unnecessary device drivers, and not add any new. I consider what I need is a new kernel without those drivers and probably I don't need to remaster modules.gz.

I used to be successful by this way on 32 bits earlier TC version many long before. I remember I compiled the kernel in VirtualBox using 32 bits Ubuntu 12.01.

Does anyone has similar isuuse? Any suggestion will be very appreciated.

Thanks in advance.
   
« Last Edit: May 25, 2014, 10:48:33 PM by oldpig »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Custom kernel problem
« Reply #1 on: May 26, 2014, 02:06:31 PM »
Duplicate post.