LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   Trouble installing Slackware 11/huge26/modules (https://www.linuxquestions.org/questions/slackware-installation-40/trouble-installing-slackware-11-huge26-modules-498577/)

Sevo 11-04-2006 10:58 AM

Trouble installing Slackware 11/huge26/modules
 
I have been through a few Linuxdistros, but new to Slackware.I installed ver.11 with the 2.4 kernel, and everything worked fine. Now I reinstalled and used the 2.6.17.13 kernel.
I find the "extra" on the DVD. Trying to install, as root with installpkg<filename>.tgz, I always get: Cannot install <filename>.tgz -package does not end in .tgz.
I then tried to install the package with Kpackage and it looks to me that they are installed. They are among the other installed progs in Kpackages list. My NIC and soundcard is not found. What is wrong? I've looked around on several foorums. Anybody has a link or could give the solution to me, using a teaspoon?!

titopoquito 11-04-2006 12:28 PM

A quite simple way to solve your problem:

- look in /etc/rc.d: make sure that rc.modules is a symlink to modules-2.6.17.13. If you intend to run 2.6.x soley, delete rc.modules-2.4.33

- make sure /etc/rc.d/rc.udev is executable (chmod 755 /etc/rc.d/rc.udev)

- compile your own 2.6.x kernel. compile all IDE/SATA controllers and file systems (reiserfs? ext3? xfs?) in that you need to start your machine. If you are not sure, start with the config file for the huge26.s kernel (you find it in /kernels/huge26.s on the Slackware CD). This way you don't need any additional initrd image.

Sevo 11-07-2006 09:23 AM

Thank You titopoquito! It all works now and I'm happy.

I still do not understand why I get the "cannot install<packagename>.tgz : package does not end in .tgz"

titopoquito 11-07-2006 09:30 AM

Quote:

Originally Posted by Sevo
Thank You titopoquito! It all works now and I'm happy.

You're welcome :)

Quote:

I still do not understand why I get the "cannot install<packagename>.tgz : package does not end in .tgz"
Are you sure there is no typo and no space in the name? What happens if you don't type the name completely but just type the first characters and use <tab> for auto-completion?

Sevo 11-08-2006 04:02 PM

Well, how long was Adam in Paradise?
I had a fully functional Slackware going, until I rebooted. Lilo stopped an nothing more happened. I have reinstalled and everything works just fine now. (I am using Slackware to visit here now) However I don't dare to turn off again! What have I missed this time?
This is my /etc/lilo.conf if that could tell You anything.
Code:

# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda1
  label = Slackware
  read-only
# Linux bootable partition config ends


titopoquito 11-08-2006 04:20 PM

Did you run /sbin/lilo if you compiled your own kernel? Is your lilo.conf complete? I always had at least two lilo parts to boot different Linux/Win installs, but I think there was some other stuff at the top of my lilo.conf -- How did you create it? I would backup the file and call "liloconfig" as root. Start with the first menu choice (new lilo header I think) and then add your linux partition. Last "Install LILO".

hrp2171 11-08-2006 05:24 PM

Quote:

Originally Posted by titopoquito
You're welcome :)


Are you sure there is no typo and no space in the name? What happens if you don't type the name completely but just type the first characters and use <tab> for auto-completion?

Funny you mention the autocompletion thing. I was using autocompletion when installing the kernel, but it would not add 'gz' at the end. The reason for it is that there are 'txt' files in the same directory. Also files that end in '.tgz.asc'.

Sevo 11-09-2006 05:40 PM

When I tried to put in : image = /boot/vmlinuz-generic 2.6.17.13 in my lilo.config I got the message:"No filesystem could mount root, tried ext 2. Kernel panic-not syncing:VFS:unable to mount root fs on unknown-block (8.1)

I have just installed the 2.6.17.13 kernel (huge26.s) and the kernel-modules from "extra"(no changes)

Could it be something with initrd? Reading the "readme initrd" it says:
Change into the /boot directory:

cd /boot

Now you'll want to run "mkinitrd". I'm using reiserfs for my root
filesystem, and since it's an IDE system the reiserfs module will be
the only one I need to load:

mkinitrd -c -k 2.6.13 -m reiserfs

What if it is a SATA system?

titopoquito 11-10-2006 03:56 AM

Then you should make sure that SATA support and your controller is build in (or again, included with initrd).
I had some minor problems in the past too, although the kernel should have included all things like reiserfs support. I would start with the huge26.s kernel's config file and compile my own kernel with reiserfs, SATA support ... compiled in. After that you could try to strip down the included stuff to the stuff you really need for your hardware/setup.
Compiling the kernel myself blew my problems right away :) I compiled it, linked /etc/rc.d/rc.modules to /etc/rc.d/rc.modules-2.6.17.13 and deleted all files concerning 2.4.33 (for example the modules, /lib/modules/2.4.33) that I didn't need anyway.

Sevo 11-10-2006 04:36 PM

I made a:
Code:

cd /boot
mkinitrd -c -k 2.6.17.13 -m reiserfs

edited my /etc/lilo.conf:
Code:

# Linux bootable partition config begins
image = /boot/vmlinuz-generic-2.6.17.13
  root = /dev/sda1
  initrd = /boot/initrd.gz
  label = Linux
  read-only
# Linux bootable partition config ends

And it all works fine,- thanks for help so far (I will probably be back with new questions)


All times are GMT -5. The time now is 02:42 AM.