RE: reconfiguring sound after kernel upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




-----Original Message-----
From: Michael Schwendt [mailto:fedora@xxxxxxxxxxxxxxxxx]
Sent: Monday, February 28, 2005 10:05 PM
To: bhamal@xxxxxxxxxxxx; Discussion of Red Hat Linux 9 (Shrike)
Subject: Re: reconfiguring sound after kernel upgrade


On Mon, 28 Feb 2005 11:01:50 +0545, bj wrote:

> Hi !
>
> I am using Red Hat 8.0 .
>
> When I installed it , it had kernel 2.4.18-14 .
>
> I downloaded and did a rpm -uvh .

First mistake. Never use -Uvh for kernel packages. Always use -ivh to
install them in addition to existing kernel packages. That way you make
sure you keep the currently running kernel and its modules complete. Once
you rebooted a new kernel and are satisfied with it, you can rpm --erase
old kernel packages. Run  rpm --query kernel  to list the installed
kernel packages.

> Currently is has kernel version 2.4.20-30.8 legacy .
>
> Now as I try to re-install sound by install the  following , I get library
> error .
>
> I have downloaded and unzipped the below files.
>
>
> alsa-driver-1.0.8
> alsa-lib-1.0.8
> alsa-oss-1.0.8
> alsa-tools-1.0.8
> alsa-utils-1.0.8
> oss
>
>
>
> Now when I run make command it gives the following error.
>
> cd alsa-driver-1.0.8
> ./configure -->no error
> ./make ----> the following error
> make[1]: *** No rule to make target

Not enough information.

> `/lib/modules/2.4.18-14/build/include/linux/config.h', needed by
> `memalloc.o'.  Stop.
> make: *** [compile] Error 1

Somewhere it took the old kernel version from. What does
"uname -a" return?

> Running ls command on my /lib/modules gives the following :-
> 2.4.18-14
> 2.4.18-19.8.0uml
> 2.4.20-30.8.legacy
> 2.4.20-30.8.legacybigmem
> 2.4.20-30.8.legacyBOOT
> 2.4.20-30.8.legacysmp
>
> I guess each directory is for the each kernel rpm I ran .

What does "ls -la /boot" say?

--
Fedora Core release Rawhide (Rawhide) - Linux 2.6.10-1.1155_FC4
loadavg: 0.10 0.06 0.07

Hi !

Thank you for the prompt reply .

I did "ls -la /boot "

The result is as follows :-

total 22048
drwxr-xr-x    3 root     root         4096 Feb 25 10:49 .
drwxr-xr-x   19 root     root         4096 Mar  1 09:15 ..
-rw-r--r--    1 root     root         5824 Sep  5  2002 boot.b
-rw-r--r--    1 root     root          612 Sep  5  2002 chain.b
-rw-r--r--    1 root     root        38724 Dec 12  2002
config-2.4.18-19.8.0uml
-rw-r--r--    1 root     root        44762 Feb 20  2004
config-2.4.20-30.8.legacy
-rw-r--r--    1 root     root        44855 Feb 20  2004
config-2.4.20-30.8.legacybigmem
-rw-r--r--    1 root     root        54321 Feb 20  2004
config-2.4.20-30.8.legacyBOOT
-rw-r--r--    1 root     root        44814 Feb 20  2004
config-2.4.20-30.8.legacysmp
drwxr-xr-x    2 root     root         4096 Feb  4 23:02 grub
-rw-r--r--    1 root     root       133424 Feb  4 23:00
initrd-2.4.20-30.8.legacybigmem.img
-rw-r--r--    1 root     root       125898 Feb  4 23:01
initrd-2.4.20-30.8.legacyBOOT.img
-rw-r--r--    1 root     root       130032 Feb  4 22:59
initrd-2.4.20-30.8.legacy.img
-rw-r--r--    1 root     root       132904 Feb  4 23:02
initrd-2.4.20-30.8.legacysmp.img
-rw-r--r--    1 root     root          473 Feb 25 10:49 kernel.h
-rw-r--r--    1 root     root        23108 Sep  6  2002 message
-rw-r--r--    1 root     root        21282 Sep  6  2002 message.ja
lrwxrwxrwx    1 root     root           30 Feb  4 22:59 module-info ->
module-info-2.4.20-30.8.legacy
-rw-r--r--    1 root     root        15436 Dec 12  2002
module-info-2.4.18-19.8.0uml
-rw-r--r--    1 root     root        15438 Feb 20  2004
module-info-2.4.20-30.8.legacy
-rw-r--r--    1 root     root        15438 Feb 20  2004
module-info-2.4.20-30.8.legacybigmem
-rw-r--r--    1 root     root        15438 Feb 20  2004
module-info-2.4.20-30.8.legacysmp
-rw-r--r--    1 root     root          640 Sep  5  2002 os2_d.b
lrwxrwxrwx    1 root     root           29 Feb 25 10:49 System.map ->
System.map-2.4.20-30.8.legacy
-rw-r--r--    1 root     root       342101 Dec 12  2002
System.map-2.4.18-19.8.0uml
-rw-r--r--    1 root     root       519482 Feb 20  2004
System.map-2.4.20-30.8.legacy
-rw-r--r--    1 root     root       545075 Feb 20  2004
System.map-2.4.20-30.8.legacybigmem
-rw-r--r--    1 root     root       329824 Feb 20  2004
System.map-2.4.20-30.8.legacyBOOT
-rw-r--r--    1 root     root       545040 Feb 20  2004
System.map-2.4.20-30.8.legacysmp
-rw-r--r--    1 root     root      3175842 Feb 20  2004
vmlinux-2.4.20-30.8.legacy
-rw-r--r--    1 root     root      3543628 Feb 20  2004
vmlinux-2.4.20-30.8.legacybigmem
-rw-r--r--    1 root     root      2121837 Feb 20  2004
vmlinux-2.4.20-30.8.legacyBOOT
-rw-r--r--    1 root     root      3539492 Feb 20  2004
vmlinux-2.4.20-30.8.legacysmp
lrwxrwxrwx    1 root     root           26 Feb  4 22:59 vmlinuz ->
vmlinuz-2.4.20-30.8.legacy
-rwxr-xr-x    1 root     root      2496380 Dec 12  2002
vmlinuz-2.4.18-19.8.0uml
-rw-r--r--    1 root     root      1122342 Feb 20  2004
vmlinuz-2.4.20-30.8.legacy
-rw-r--r--    1 root     root      1208342 Feb 20  2004
vmlinuz-2.4.20-30.8.legacybigmem
-rw-r--r--    1 root     root       852938 Feb 20  2004
vmlinuz-2.4.20-30.8.legacyBOOT
-rw-r--r--    1 root     root      1206648 Feb 20  2004
vmlinuz-2.4.20-30.8.legacysmp


I also did "rpm -query kernel " & "rpm -q  kernel-source "

both gives kernel-2.4.20-30.8.legacy and kernel-2.4.20-30.8.legacy source .

The uname -a does return   Linux home 2.4.20-30.8.legacy #1 Fri Feb 20
17:47:48 PST 2004 i686 i686 i386 GNU/Linux .


So everything does point to  kernel -2.4.20-30.8 legacy .

I did boot in the new kernel.

So why do you think the error occured .

I plan to try out rpm -ivh instead of the upgrade.

Cheers,
bj
'



-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux