installpkg filename.txz
Note: this may or may not be the best way to do it, but it worked for me.
Scenario:
This kernel requires the following features not present on the CPU: pae Unable to boot - please use a kernel appropriate for your CPU.
Fix (when using the huge.s kernel):
huge.s root=/dev/sda1 rdinit= ro
Change /dev/sda1 to the hard disk where Slackware is installed.
cd /boot
If you execute ls -l here you'll see that System.map, config, and vmlinuz are symbolic links to the huge-smp kernel, which is not the kernel you want.
rm System.map config vmlinuz
ln -s System.map-huge-3.2.45 System.map ln -s config-huge-3.2.45 config ln -s vmlinuz-huge-3.2.45 vmlinuz
Change 3.2.45 to the new kernel version.
lilo
Don't forget to do this as it will still boot the old kernel if you don't.
Fix (when using the generic kernel and a custom initrd):
For example when you followed README_LVM.TXT for enabling LVM support.
huge.s
setup
mount /dev/mapper/root--vg-root /mnt mount /dev/mapper/root--vg-usr /mnt/usr mount /dev/mapper/root--vg-var /mnt/var mount /dev/mapper/root--vg-tmp /mnt/tmp mount /dev/mapper/root--vg-home /mnt/home mount /dev/sda1 /mnt/boot
chroot /mnt
cd /boot
If you execute ls -l here you'll see that System.map, config, and vmlinuz are symbolic links to the huge-smp kernel, which is not the kernel you want.
rm System.map config vmlinuz
ln -s System.map-generic-3.10.103 System.map ln -s config-huge-3.10.103 config ln -s vmlinuz-huge-3.10.103 vmlinuz
Change 3.10.103 to the new kernel version.
mkinitrd -c -k 3.10.103 -m ext4 -f ext4 -r /dev/root--vg-root -L
Change 3.10.103 to the new kernel version.
image = /boot/vmlinuz-generic-3.10.103 initrd = /boot/initrd.gz root = /dev/root--vg-root label = Slackware read-only
Change 3.10.103 to the new kernel version.
lilo
Don't forget to do this as it will still boot the old kernel if you don't.
slackpkg update
slackpkg upgrade-all
slackpkg install-new
slackpkg install multilib
Reinstalling multitlib this way requires that slackpkg+ is installed.
See: NVIDIA - What's a legacy driver? for a list of which driver version to use for which graphics card.
Download the NVIDIA-Linux-x86-304.125.run (or NVIDIA-Linux-x86_64-304.125.run for Slackware64).
Don't use the 304.88 version. It will not compile the NVIDIA kernel module and complain about “Kernel configuration invalid” and missing include/generated/autoconf.h and include/config/auto.conf files in nvidia-installer.log.
Install with:
sh NVIDIA-Linux-x86-304.125.run
Answer the questions asked by the ncurses based NVIDIA installer.
The HM703UT is a 17“ CRT monitor capable of more than the defualt 1024×768 resolution that the NVIDIA driver sets.
Edit /etc/X11/xorg.conf after installing the NVIDIA drivers.
Add a Modes line to the Screen section specifying the desired resolutions, like the Modes line in the following example:
Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" EndSubSection EndSection
Slackpkg+ allows installing packages on Slackware from several unofficial repositories.
Download the latest version of Slackpkg+ from Slackpkg+ - A slackpkg plugin for third-party repositories.
Install with:
installpkg slackpkg+-1.4.0-noarch-2mt.txz
Update:
slackpkg update gpg slackpkg update
The card:
[ 4.563370] saa7134[0]: found at 0000:02:08.0, rev: 1, irq: 19, latency: 64, mmio: 0xfeaffc00 [ 4.563526] saa7134[0]: subsystem: 11bd:002b, board: Pinnacle PCTV Stereo (saa7134) [card=26,autodetected] [ 4.563694] saa7134[0]: board init: gpio is 6000 [ 4.702029] saa7134[0]: i2c eeprom 00: bd 11 2b 00 f8 f8 1c 00 43 43 a9 1c 55 d2 b2 92 [ 4.702669] saa7134[0]: i2c eeprom 10: 00 f0 00 00 ff 20 ff ff ff ff ff ff ff ff ff ff [ 4.703309] saa7134[0]: i2c eeprom 20: 01 40 01 03 03 ff 03 01 08 ff 00 1c ff ff ff ff [ 4.703938] saa7134[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 4.704569] saa7134[0]: i2c eeprom 40: ff 07 00 c0 86 ff 01 01 ff ff ff ff ff ff ff ff [ 4.705199] saa7134[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 4.705828] saa7134[0]: i2c eeprom 60: 0c 22 17 4d 03 07 41 d2 ff ff ff ff ff ff ff ff [ 4.706459] saa7134[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff 74 50 ff ff ff ff ff ff [ 4.707090] saa7134[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 4.707718] saa7134[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 4.708350] saa7134[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 4.708979] saa7134[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 4.709609] saa7134[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 4.710240] saa7134[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 4.710868] saa7134[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 4.711499] saa7134[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 5.130089] saa7134[0]: registered device video0 [v4l2] [ 5.130243] saa7134[0]: registered device vbi0 [ 5.169108] saa7134 ALSA driver for DMA sound loaded [ 5.169234] saa7134[0]/alsa: saa7134[0] at 0xfeaffc00 irq 19 registered as card -1
Steps in VLC (tested with VLC 2.1.5 from alienbob's slackware repo):
This results in the following MRL and options: MRL:
v4l2:///dev/video0
Options:
:v4l2-standard=PAL :input-slave=alsa://hw:2,0 :v4l2-dev=/dev/video0 :v4l2-chroma=YUYV :v4l2-input=0 :v4l2-audio-input=-1 :v4l2-width=0 :v4l2-height=0 :v4l2-aspect-ratio=4\:3 :v4l2-radio-dev=/dev/radio0 :v4l2-tuner-frequency=591000 :v4l2-tuner-audio-mode=3 :no-v4l2-controls-reset :v4l2-brightness=-1 :v4l2-brightness-auto=-1 :v4l2-contrast=-1 :v4l2-saturation=-1 :v4l2-hue=-1 :v4l2-hue-auto=-1 :v4l2-white-balance-temperature=-1 :v4l2-auto-white-balance=-1 :v4l2-red-balance=-1 :v4l2-blue-balance=-1 :v4l2-gamma=-1 :v4l2-autogain=-1 :v4l2-gain=-1 :v4l2-sharpness=-1 :v4l2-chroma-gain=-1 :v4l2-chroma-gain-auto=-1 :v4l2-power-line-frequency=-1 :v4l2-backlight-compensation=-1 :v4l2-band-stop-filter=-1 :no-v4l2-hflip :no-v4l2-vflip :v4l2-rotate=-1 :v4l2-color-killer=-1 :v4l2-color-effect=-1 :v4l2-audio-volume=-1 :v4l2-audio-balance=-1 :no-v4l2-audio-mute :v4l2-audio-bass=-1 :v4l2-audio-treble=-1 :no-v4l2-audio-loudness :v4l2-set-ctrls= :live-caching=300
Steps/settings used to convert:
Convert -> Profile: Video MPEG-2 + MPGA (TS) -> Destination file -> Start.
After choosing your Windows Manager during installation or with xwmconfig.
# Default runlevel. (Do not set to 0 or 6) id:3:initdefault:
# Default runlevel. (Do not set to 0 or 6) id:4:initdefault:
On a clean Slackware64 14.2 installation don't forget to install ffmpeg to support the playback of mp4 files (needed for Disney+).
su installpkg slackpkg+-1.7.0-noarch-10mt.txz
slackpkg update gpg slackpkg update
slackpkg install ffmpeg