SliTaz SliTaz Forum

You are not logged in.

#1 2011-09-17 04:52:28

nolanjurgens
Member
Registered: 2011-09-17
Posts: 3

Can't compile kernel for OPTi support.

I am having the exact same issue as this thread: http://forum.slitaz.org/topic/live-cd-does-not-recognize-hdd

I'm trying to install SliTaz on my old Compaq laptop, but it won't see the HDD, apparently because support wasn't compiled into the kernel. I tried following the guide mentioned to build a new kernel with those options turned on, but I'm getting stuck at [c]# /usr/bin/get-linux-source[/c]. It seems that even after installing linux-source, that command doesn't exist. Was something changed or could some one help me get back on track? Thanks.

Offline

#2 2011-09-17 06:24:21

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Can't compile kernel for OPTi support.

Stable and Cooking linux-source.tazpkg are different

3.0 stable kernel 2.6.30.6 has no get-linux-source script and is automated,retrieves linux source with wget post install

cooking kernel 2.6.37 installs /usr/bin/get-linux-source and requires manually running get-linux-source script as root

Offline

#3 2011-09-17 16:07:16

nolanjurgens
Member
Registered: 2011-09-17
Posts: 3

Re: Can't compile kernel for OPTi support.

Thanks for the reponse. It looks like the source is still not downloading because kernel.org is down. I looked on GitHub for 2.6.30.6.tar.bz2, but all I see is 2.6.30 and 2.6.30-rc6. Is there another place I can download the right kernel from?

Offline

#4 2011-09-17 20:11:01

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Can't compile kernel for OPTi support.

kernel.org had a security breach, down for maintenance.

Thanks to google cache I found a kernel.org mirror in the US.

You will have to edit 2 text files to add the new address and reconfigure to start the install script.

This address is for stable kernel.

Open Xterm,become root:

#nano /usr/src/linux-2.6.30.6-slitaz/slitaz/url

Replace the existing address with:

http://mirror.anl.gov/pub/linux/kernel/v2.6/linux-2.6.30.6.tar.bz2

Save and close out nano.

Make sure linux.tazpkg is installed, it is Depends of linux-source

#tazpkg get-install linux

#nano /var/lib/tazpkg/installed/linux/receipt

Change the existing address to:

WGET_URL="http://mirror.anl.gov/pub/linux/kernel/v${VERSION:0:3}/$TARBALL"

Save and close out nano.

#tazpkg reconfigure linux-source

This should start the script,download,patch,and install linux-source.

I didn't test this.

Offline

#5 2011-09-18 22:51:25

nolanjurgens
Member
Registered: 2011-09-17
Posts: 3

Re: Can't compile kernel for OPTi support.

Thanks for hunting down that mirror for me. It almost seems like something is off with the script because when I install linux-source it puts all the files, like url, in /usr/src/linux-2.6.30.6-slitaz/, but the script is looking for the files to be in /usr/src/linux-2.6.30.6-slitaz/slitaz/. I tried moving stuff around, but then when I try to reconfigure it would delete everything. Oh well. I'll give cooking a try or just wait for kernel.org to come back online. Thanks again.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]