LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-14-2010, 11:34 PM   #1
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 292

Rep: Reputation: 39
Building Kernel using older config - Slack Current


Hi there,

I've been updating regularly to -current on my laptop. Except for the kernel. The kernel that works for my laptop was:

2.6.29 - huge smp
2.6.33 - huge smp

all the others from dec 2009 until the current, even the rebuild of 2.6.33 does not work. So my question is:

Is is okay to build the current kernel 2.6.33.1 using the config of 2.6.33? I tried a diff and reveals that there are few lines that are changed, more or less 10.

I'm now copying the source and will build them at home. Anyway, I have a test partition to break things

TIA...
 
Old 04-15-2010, 01:26 AM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,456

Rep: Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886
yes: you have to unpack the kernel tarball, copy the config file in the root of the unpacked sources as .config and then issue a
Code:
make oldconfig
but triple-check the ide/sata driver section to use the new drivers with an additional
Code:
make menuconfig
related to this, remember that if you got ide disks their name won't be /dev/hda, for example, but /dev/sda, so you have to fix /etc/lilo.conf-/etc/fstab accordingly.
 
Old 04-15-2010, 03:25 AM   #3
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 292

Original Poster
Rep: Reputation: 39
I will be using the 2.6.33 (first build) config. How was it possible with a slackbuild?

I want to use the slackbuild at source/kernel/. Anyway, I did that slackbuild before (it was 2.6.29) and I read the README on kernel source. Anyway, I will post tomorrow the result if it works.

Yes, I'm aware of the /dev/sd*, /dev/sr* thing since 2.6.33 works for my laptop. What disappoints me was that during the rebuild of 2.6.33 few days after the update in march, the ChangeLog.txt says that it was rebuild for compatibility with other hardwares. But what happened is the opposite for me.
 
Old 04-15-2010, 04:18 AM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,489

Rep: Reputation: 567Reputation: 567Reputation: 567Reputation: 567Reputation: 567Reputation: 567
I wish you luck.I went to 2.6.33.2 for the radeon drm stuff. I used make oldconfig, and had the following issues

1. Screen went off during bootup. Eventually sorted this - experimental options that work for all others don't work for me.
2. It did something funny with the swap, and it started taking loads of time loading the swap. Older kernels would not load it at all. I eventually ran 'dd if=/dev/zero of=/dev/swap skip=1024" and then mkswap
3. I lost wifi, or to be precise, wpa_supplicant no longer works it's magic. Haven't sorted this yet despite several rebuilds (See my thread in this forum)
4. It started taking quite a while mounting ext3 partitions

I suggest reading the help carefully, and know your box
 
Old 04-15-2010, 10:19 AM   #5
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 292

Original Poster
Rep: Reputation: 39
Thanks for wishing me luck

I did it! I'm posting this 11PM Philippine time. Too sleepy now.

I've been carefully studying every kernel updates available in -current and I have tested all of them and I know what worked and what not. This is what I did so far:

The first release of kernel-huge-smp-2.6.33_smp-i686-1.txz worked for me.

I installed the kernel 2.6.33.1. Copied the config of 2.6.33 to /usr/src/2.6.33.1/.config and run

make oldconfig
make bzImage

Go to source/k/kernel-huge-smp and run the slackbuild
Install the 2.6.33.1-smp module package from slackware/a packages.
Run the slackbuild for kernel modules smp

Then install the two. Fix the rc.modules symlink and reboot.
It boots and X works out of the box (same as 2.6.33).

After learning so, I copied to packages to my main slackware and installed them.

Thanks all, marking this solved.
 
Old 04-15-2010, 10:19 AM   #6
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 292

Original Poster
Rep: Reputation: 39
Thanks for wishing me luck

I did it! I'm posting this 11PM Philippine time. Too sleepy now.

I've been carefully studying every kernel updates available in -current and I have tested all of them and I know what worked and what not. This is what I did so far:

The first release of kernel-huge-smp-2.6.33_smp-i686-1.txz worked for me.

I installed the kernel 2.6.33.1. Copied the config of 2.6.33 to /usr/src/2.6.33.1/.config and run

make oldconfig
make bzImage

Go to source/k/kernel-huge-smp and run the slackbuild
Install the 2.6.33.1-smp module package from slackware/a packages.
Run the slackbuild for kernel modules smp

Then install the two. Fix the rc.modules symlink and reboot.
It boots and X works out of the box (same as 2.6.33).

After learning so, I copied to packages to my main slackware and installed them.

Thanks all, marking this solved.
 
  


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] Building 2.6.34-rc1 kernel on current (BOB's way) ...... LILO ran automatically? damgar Slackware 5 03-14-2010 02:14 PM
errors building kernel 2.6.29-1 in slackware-current about not defined BITS_PER_LONG leptom Slackware 6 04-11-2009 07:32 PM
Kernel Building on Slack-8 Agent69 Slackware 1 06-05-2002 12:27 PM
Where can I see current kernel config? kernelclink Linux - Newbie 3 03-07-2002 02:51 AM
Instal/config postfix @ slack current distro t163r Linux - General 4 09-03-2001 02:58 AM


All times are GMT -5. The time now is 07:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration