2007/05/01

Ya instale el Kernel Multimedia a Mandriva 2007 Spring

Hoy tuve que usar mi escaner y recorde que solo funcionaba con el kernel multimedia asi que lo instale facilito con urpmi. Solo un comando en una terminal y listo lo bajo e instalo solito mientras navegaba.



[root@MandrivaSpring2007 dalfa]# urpmi kernel-multimedia


Uno de los paquetes siguientes es necesario:
1-kernel-multimedia-desktop-2.6.17.14-5mdv-1-1mdv2007.1.i586: Linux kernel for desktop use with i686-up-4GB (para instalar)

2-kernel-multimedia-desktop-smp-2.6.17.14-5mdv-1-1mdv2007.1.i586: Linux kernel for desktop use with i386-smp (para instalar)

3-kernel-multimedia-laptop-2.6.17.14-5mdv-1-1mdv2007.1.i586: Linux kernel for laptop use with i686-up-4GB (para instalar)

4-kernel-multimedia-laptop-smp-2.6.17.14-5mdv-1-1mdv2007.1.i586: Linux kernel for laptop use with i386-smp (para instalar)


¿Qué elige? (1-4) 1

http://ftp.kddlabs.co.jp/Linux/distributions/Mandrake/official/2007.1/
i586/media/contrib/release/kernel-multimedia-desktop-2.6.17.14-5mdv-1-1mdv2007.1.i586.rpm

instalando kernel-multimedia-desktop-2.6.17.14-5mdv-1-1mdv2007.1.i586.rpm desde

/var/cache/urpmi/rpms
Preparando...

1/1: kernel-multimedia-desktop-2.6.17.14-5mdv

Looking for deps of module initramfs
Looking for deps of module uhci-hcd usbcore
Looking for deps of module usbcore
Looking for deps of module ehci-hcd usbcore
Looking for deps of module usbhid usbcore
Looking for deps of module ata_piix libata scsi_mod
Looking for deps of module libata scsi_mod
Looking for deps of module scsi_mod
Looking for deps of module ahci libata scsi_mod
Looking for deps of module sd_mod scsi_mod
Looking for deps of module ext3 jbd
Looking for deps of module jbd
Looking for deps of module lzf

Using modules:
./kernel/drivers/usb/core/usbcore.ko
./kernel/drivers/usb/host/uhci-hcd.ko
./kernel/drivers/usb/host/ehci-hcd.ko
./kernel/drivers/usb/input/usbhid.ko
./kernel/drivers/scsi/scsi_mod.ko
./kernel/drivers/scsi/libata.ko
./kernel/drivers/scsi/ata_piix.ko
./kernel/drivers/scsi/ahci.ko
./kernel/drivers/scsi/sd_mod.ko
./kernel/fs/jbd/jbd.ko
./kernel/fs/ext3/ext3.ko
./kernel/crypto/lzf.ko

Using /root/tmp as temporary directory.
/sbin/nash -> /root/tmp/initrd.GD6782/bin/nash
/lib/modules/2.6.17.14-mm-desktop-5mdv/./kernel/drivers/usb/core/usbcore.ko.gz: 59.2%
copy from `/root/tmp/initrd.GD6782/lib/usbcore.ko' [elf32-i386] to `/root/tmp/initrd.GD6782/lib/stXXXX0RDhkR' [elf32-i386]
/lib/modules/2.6.17.14-mm-desktop-5mdv/./kernel/drivers/usb/host/uhci-hcd.ko.gz: 54.6%
copy from `/root/tmp/initrd.GD6782/lib/uhci-hcd.ko' [elf32-i386] to `/root/tmp/initrd.GD6782/lib/stXXXXIDZNXT' [elf32-i386]
/lib/modules/2.6.17.14-mm-desktop-5mdv/./kernel/drivers/usb/host/ehci-hcd.ko.gz: 50.6%
copy from `/root/tmp/initrd.GD6782/lib/ehci-hcd.ko' [elf32-i386] to `/root/tmp/initrd.GD6782/lib/stXXXXYJhjhY' [elf32-i386]
/lib/modules/2.6.17.14-mm-desktop-5mdv/./kernel/drivers/usb/input/usbhid.ko.gz: 56.1%
copy from `/root/tmp/initrd.GD6782/lib/usbhid.ko' [elf32-i386] to `/root/tmp/initrd.GD6782/lib/stXXXXvM7enT' [elf32-i386]
/lib/modules/2.6.17.14-mm-desktop-5mdv/./kernel/drivers/scsi/scsi_mod.ko.gz: 62.2%
copy from `/root/tmp/initrd.GD6782/lib/scsi_mod.ko' [elf32-i386] to `/root/tmp/initrd.GD6782/lib/stXXXX1kh4dU' [elf32-i386]
/lib/modules/2.6.17.14-mm-desktop-5mdv/./kernel/drivers/scsi/libata.ko.gz: 57.5%
copy from `/root/tmp/initrd.GD6782/lib/libata.ko' [elf32-i386] to `/root/tmp/initrd.GD6782/lib/stXXXXRFe74W' [elf32-i386]
/lib/modules/2.6.17.14-mm-desktop-5mdv/./kernel/drivers/scsi/ata_piix.ko.gz: 67.7%
copy from `/root/tmp/initrd.GD6782/lib/ata_piix.ko' [elf32-i386] to `/root/tmp/initrd.GD6782/lib/stXXXXhd8cx5' [elf32-i386]
/lib/modules/2.6.17.14-mm-desktop-5mdv/./kernel/drivers/scsi/ahci.ko.gz: 63.1%
copy from `/root/tmp/initrd.GD6782/lib/ahci.ko' [elf32-i386] to `/root/tmp/initrd.GD6782/lib/stXXXX799Nn7' [elf32-i386]
/lib/modules/2.6.17.14-mm-desktop-5mdv/./kernel/drivers/scsi/sd_mod.ko.gz: 57.6%
copy from `/root/tmp/initrd.GD6782/lib/sd_mod.ko' [elf32-i386] to `/root/tmp/initrd.GD6782/lib/stXXXXj2J606' [elf32-i386]
/lib/modules/2.6.17.14-mm-desktop-5mdv/./kernel/fs/jbd/jbd.ko.gz: 62.0%
copy from `/root/tmp/initrd.GD6782/lib/jbd.ko' [elf32-i386] to `/root/tmp/initrd.GD6782/lib/stXXXX1mP1rc' [elf32-i386]
/lib/modules/2.6.17.14-mm-desktop-5mdv/./kernel/fs/ext3/ext3.ko.gz: 57.9%
copy from `/root/tmp/initrd.GD6782/lib/ext3.ko' [elf32-i386] to `/root/tmp/initrd.GD6782/lib/stXXXXFSBCNj' [elf32-i386]
/lib/modules/2.6.17.14-mm-desktop-5mdv/./kernel/crypto/lzf.ko.gz: 60.0%
copy from `/root/tmp/initrd.GD6782/lib/lzf.ko' [elf32-i386] to `/root/tmp/initrd.GD6782/lib/stXXXXLPcmgm' [elf32-i386]


Loading module usbcore.ko
Loading module uhci-hcd.ko
Loading module ehci-hcd.ko
Loading module usbhid.ko
Loading module scsi_mod.ko
Loading module libata.ko
Loading module ata_piix.ko
Loading module ahci.ko
Loading module sd_mod.ko
Loading module jbd.ko
Loading module ext3.ko
Loading module lzf.ko

/usr/sbin/resume -> /root/tmp/initrd.GD6782/bin
Contents of RCFILE:

#!/bin/nash

echo "Loading usbcore.ko module"
insmod /lib/usbcore.ko
echo "Loading uhci-hcd.ko module"
insmod /lib/uhci-hcd.ko
echo "Loading ehci-hcd.ko module"
insmod /lib/ehci-hcd.ko
echo "Loading usbhid.ko module"
insmod /lib/usbhid.ko
echo "Loading scsi_mod.ko module"
insmod /lib/scsi_mod.ko
echo "Loading libata.ko module"
insmod /lib/libata.ko
echo "Loading ata_piix.ko module"
insmod /lib/ata_piix.ko
echo "Loading ahci.ko module"
insmod /lib/ahci.ko
echo "Loading sd_mod.ko module"
insmod /lib/sd_mod.ko
echo "Loading jbd.ko module"
insmod /lib/jbd.ko
echo "Loading ext3.ko module"
insmod /lib/ext3.ko
echo "Loading lzf.ko module"
insmod /lib/lzf.ko
echo Mounting /proc filesystem
mount -t proc /proc /proc
echo Mounting sysfs
mount -t sysfs none /sys
echo Creating device files
mountdev size=32M,mode=0755
echo -n /sbin/hotplug > /proc/sys/kernel/hotplug
mkdir /dev/.udevdb
mkdevices /dev
echo Creating root device
mkrootdev /dev/root
resume
echo > /proc/suspend2/do_resume
echo Mounting root filesystem /dev/root
mount -o defaults --ro -t ext3 /dev/root /sysroot
echo Switching to new root
switchroot --movedev /sysroot
echo Initrd finished


Más información sobre el paquete kernel-multimedia-desktop-2.6.17.14-5mdv-1-1mdv2007.1.i586

For more info about the kernel-multimedia series, check out:

http://tmb.kkc.fi/Multimedia_Kernels/

* If you want to activate realtime capabilities in the kernel,
remove the line (if present):

capability

and add the line:

realtime

in the file /etc/modprobe.preload and adjust the realtime module
options in /etc/modprobe.conf by adding:

options realtime any=<0|1> mlock=<0|1> gid=



any: grant realtime privileges to any process (0=disabled, 1=enabled).
gid: the group ID with access to realtime privileges (group ID).
mlock: enable memory locking privileges (0=disabled, 1=enabled).

* For software suspend2 support you need to install the "hibernate"
package.


!! Attention !!

Beginning from 2.6.17.14-3mdv the autoconf stuff has been reworked:
- we dont rely on /etc/init.d/kheader and /boot/kernel.h anymore
- dropped all of the old autoconf hacks
- dropped kernel-multimedia-source-stripped(-latest) rpms
- introduced kernel-multimedia-$flavour-devel(-latest) rpms to build 3rdparty
drivers against (survives test: make mrproper oldconfig prepare scripts)
- kernel-multimedia-source rpm does not include any autoconf stuff anymore




[root@MandrivaSpring2007 dalfa]#

2 comentarios:

Anónimo dijo...

Hola!

También lo instalé ayer para usar Rosegarden, un programa de música (MIDI), el cual pedía un kernel con tiempo real.

Según algunas de las últimas líneas de la instalación, existen unos parámetros para especificar ello. ¿Lo has utilizado alguna vez?, si así es, ¿cómo lo has hecho?.

Salu2!

Dalfa dijo...

Es facil: *

Si esta presente la linea:

capability

remuevela y agrega:

realtime

en el archivo /etc/modprobe.preload y ajusta el realtime con las siguientes opciones en el /etc/modprobe.conf:

options realtime any=<0|1> mlock=<0|1> gid=

any: Le da privilegios de tiempo real a cualquier proceso (0=desactivado, 1=activado).

gid: ID del grupo al cual quieres darle privilegios de tiempo real (ID de grupo).

mlock: activas el cerrojo de memoria (0=desactivado, 1=activado).