Posts Tagged ‘ubuntu’

mythfrontend.real: error while loading shared libraries: libvdpau.so.1

December 21, 2010

UPDATE Dec 2010: I ran into this same problem when updating from 10.4 Lucid to 10.10 Maverick.
The trick is just to reinstall libvdpau1 using synaptic. End update.

There are many users posting reports about this problem and I could not find any real resolutions… Here is a good example:

http://ubuntu-ky.ubuntuforums.org/showthread.php?p=8048972

I think this is what fixed it on my system (I did not take real notes about this):

Uninstall libvdpau

Uninstall nvidia drivers (if any)

Reinstall nvidia drivers

Reinstall libvdpau.

My working pkgs (Ubuntu 10.4 Lucid mythtv 0.23):

root@hippo:~# dpkg -l libvdpau*

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name Version Description

ii libvdpau-doc 0.3-2build1 Video Decode and Presentation API for Unix (documentation)

ii libvdpau1 0.3-2build1 Video Decode and Presentation API for Unix (libraries)

root@hippo:~# dpkg -l nvdia*

No packages found matching nvdia*.

root@hippo:~# dpkg -l nvidia*

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name Version Description

ii nvidia-173 173.14.22-0ubuntu11 NVIDIA binary Xorg driver, kernel module and VDPAU library

rc nvidia-current 195.36.15-0ubuntu3 NVIDIA binary Xorg driver, kernel module and VDPAU library

ii nvidia-current-modaliases 195.36.15-0ubuntu3 Modaliases for the NVIDIA binary X.Org driver

un nvidia-libvdpau (no description available)

un nvidia-libvdpau-ia32 (no description available)

un nvidia-libvdpau1 (no description available)

ii nvidia-settings 195.36.08-0ubuntu2 Tool of configuring the NVIDIA graphics driver

un nvidia-vdpau-driver (no description available)

root@hippo:~# dpkg -l libvdpau*

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name Version Description

ii libvdpau-doc 0.3-2build1 Video Decode and Presentation API for Unix (documentation)

ii libvdpau1 0.3-2build1 Video Decode and Presentation API for Unix (libraries)

root@hippo:~# dpkg -l mythtv*

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name Version Description

ii mythtv 0.23.0+fixes24158-0ubuntu2 A personal video recorder application (client and server)

ii mythtv-backend 0.23.0+fixes24158-0ubuntu2 A personal video recorder application (server)

ii mythtv-common 0.23.0+fixes24158-0ubuntu2 A personal video recorder application (common data)

ii mythtv-database 0.23.0+fixes24158-0ubuntu2 A personal video recorder application (database)

un mythtv-doc (no description available)

ii mythtv-frontend 0.23.0+fixes24158-0ubuntu2 A personal video recorder application (client)

ii mythtv-theme-arclight 1:0.23.0+fixes23872-0ubuntu1 The arclight MythTV Theme

un mythtv-theme-blootube (no description available)

ii mythtv-theme-blootube-osd 1:0.23.0+fixes23872-0ubuntu1 The blootube-osd MythTV Theme

un mythtv-theme-blootube-wide (no description available)

un mythtv-theme-blootubelite-wide (no description available)

ii mythtv-theme-blueosd 1:0.23.0+fixes23872-0ubuntu1 The blueosd MythTV Theme

un mythtv-theme-glass-wide (no description available)

ii mythtv-theme-graphite 1:0.23.0+fixes23872-0ubuntu1 The graphite MythTV Theme

un mythtv-theme-gray-osd (no description available)

un mythtv-theme-isthmus (no description available)

un mythtv-theme-iulius (no description available)

ii mythtv-theme-iulius-osd 1:0.23.0+fixes23872-0ubuntu1 The iulius-osd MythTV Theme

ii mythtv-theme-metallurgy 1:0.23.0+fixes23872-0ubuntu1 The metallurgy MythTV Theme

un mythtv-theme-minimalist-wide (no description available)

ii mythtv-theme-mono-osd 1:0.23.0+fixes23872-0ubuntu1 The mono-osd MythTV Theme

ii mythtv-theme-mythbuntu 1:0.23.0+fixes23872-0ubuntu1 The mythbuntu MythTV Theme

un mythtv-theme-mythcenter (no description available)

un mythtv-theme-mythcenter-wide (no description available)

un mythtv-theme-neon-wide (no description available)

un mythtv-theme-proejctgrayhem-wide (no description available)

un mythtv-theme-projectgrayhem (no description available)

ii mythtv-theme-projectgrayhem-osd 1:0.23.0+fixes23872-0ubuntu1 The projectgrayhem-osd MythTV Theme

un mythtv-theme-retro (no description available)

ii mythtv-theme-retro-osd 1:0.23.0+fixes23872-0ubuntu1 The retro-osd MythTV Theme

un mythtv-theme-titivillus (no description available)

ii mythtv-theme-titivillus-osd 1:0.23.0+fixes23872-0ubuntu1 The titivillus-osd MythTV Theme

ii mythtv-themes 1:0.23.0+fixes23872-0ubuntu1 Themes for MythTV

ii mythtv-transcode-utils 0.23.0+fixes24158-0ubuntu2 Utilities used for transcoding MythTV tasks

root@hippo:~#

ACPI/APIC/IRQ/Transmit timed out blues with Ubuntu 8.04

January 16, 2009

My mythbackend kept rebooting randomly (about after 5-15 mins since starting to view recording) when viewing recordings while it was recording a new show.

Interestingly enough it did not reboot while not recording a show and when I was watching the show…

Another nasty symptom was classic NETDEV WATCHDOG: eth0: transmit timed out.
System does not crash, IP stack just goes to lala land.

I’m have Abit VT-7 motherboard (VIA PT880 / VT8237 chipset) , 478 socket P4 HT 3.0Ghz CPU and on-board eth (VIA).

root@hippo:~# lspci |grep Eth
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
root@hippo:~#

VIA eth module:

root@hippo:~# modinfo via_rhine
filename: /lib/modules/2.6.24-21-generic/kernel/drivers/net/via-rhine.ko
license: GPL
description: VIA Rhine PCI Fast Ethernet driver
author: Donald Becker
srcversion: 8158094F4B64FDC36073DA7
alias: pci:v00001106d00003053sv*sd*bc*sc*i*
alias: pci:v00001106d00003106sv*sd*bc*sc*i*
alias: pci:v00001106d00003065sv*sd*bc*sc*i*
alias: pci:v00001106d00003043sv*sd*bc*sc*i*
depends: mii
vermagic: 2.6.24-21-generic SMP mod_unload 586
parm: max_interrupt_work:VIA Rhine maximum events handled per interrupt (int)
parm: debug:VIA Rhine debug level (0-7) (int)
parm: rx_copybreak:VIA Rhine copy breakpoint for copy-only-tiny-frames (int)
parm: avoid_D3:Avoid power state D3 (work-around for broken BIOSes) (bool)

Kernel and ubuntu info:

root@hippo:~# uname -a
Linux hippo 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux
root@hippo:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.1"
root@hippo:~#

I tried several boot options from these links:

https://help.ubuntu.com/community/BootOptions#Common%20Boot%20Options

https://help.ubuntu.com/community/DebuggingIRQProblems

https://help.ubuntu.com/community/ReschedulingInterrupts

Finally it seems that noapic kernel option works (excerpt from /boot/grub/menu.lst):

title Ubuntu 8.04.1, kernel 2.6.24-21-generic (noapic)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=2479d97c-58e1-4958-8340-3302beab8202 noapic ro quiet splash
initrd /boot/initrd.img-2.6.24-21-generic

Uptime is now 3 days:

root@hippo:~# uptime
12:43:02 up 3 days, 14:26, 7 users, load average: 0.02, 0.02, 0.00
root@hippo:~#

Interestingly many IRQs are shared now (that was not the case before), but still backend is stable.

root@hippo:~# cat /proc/interrupts
CPU0 CPU1
0: 161 0 XT-PIC-XT timer
1: 1337 0 XT-PIC-XT i8042
2: 0 0 XT-PIC-XT cascade
8: 3 0 XT-PIC-XT rtc
9: 0 0 XT-PIC-XT acpi
10: 40262825 0 XT-PIC-XT ehci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3, eth1, ivtv1, VIA8237
11: 8216376 0 XT-PIC-XT sata_via, uhci_hcd:usb4, uhci_hcd:usb5, ivtv0
12: 112 0 XT-PIC-XT i8042
14: 1211069 0 XT-PIC-XT libata
15: 0 0 XT-PIC-XT libata
NMI: 0 0 Non-maskable interrupts
LOC: 40120197 43631526 Local timer interrupts
RES: 240304 951646 Rescheduling interrupts
CAL: 179 428 function call interrupts
TLB: 41068 48883 TLB shootdowns
TRM: 0 0 Thermal event interrupts
SPU: 0 0 Spurious interrupts
ERR: 0
MIS: 0

lspci:

root@hippo:~# lspci
00:00.0 Host bridge: VIA Technologies, Inc. PT880 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. PT880 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. PT880 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. PT880 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. PT880 Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. PT880 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:09.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
00:0c.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
root@hippo:~#

I also blacklisted ipv6 (some blog suggested it):

root@hippo:/etc/modprobe.d# tail -4 blacklist

blacklist ipv6

blacklist pcspkr
root@hippo:/etc/modprobe.d#

I think there is not universal solution to this. You just need to try different command line options.
Google is your friend… Hope this post helps somebody.

Day 1: Ubuntu RAID-1 and LVM enabled filer on a USB stick with backuppc

January 9, 2008

Ok for the time being I decided to abandon freenas and openfiler (since I could not get backuppc installed in them) and install Ubuntu Gutsy Gibbon on 4GB A-Data USB stick ($20 from Fry’s).

It is super easy to install Ubuntu on USB stick. Make sure CDROM is the first boot device. Pop-in Ubuntu cdrom and reboot.

I used Ubuntu 7.10 alternate cd image (so no Ubuntu server or Ubuntu desktop cd image). This alternate has no X11 and supports LVM/RAID configs. During install I just picked /dev/sda as drive to partition and install on. It might be good idea to disconnect IDE drives during install no prevent accidentally installing on /dev/hdX drive.

No special usb modules loading andor rebuilding initrd.img tricks were required. Even though initially I thought so that I need to follow instructions outlined at http://www.pendrivelinux.com/

After reboot change boot device to USB HDD in BIOS settings and remove cd from cdrom drive. It takes a while to boot up…

Then just update Ubuntu and install swat, backuppc, samba, nfs, sshd, apache, webmin etc to help admin etc work.

In my box (Shuttle SK41G AMD Athlon XP 1800+) I have:

  • 2x160GB Hitachi Deskstars in RAID-1 array (file system: ext3 – mounted as /nasse)
  • 1x400GB Seagate (filesystem: ReiserFS – mounted as /storage)

Mount and df from box:

root@nasse:~# mount /dev/sda1 on / type ext3 (rw,errors=remount-ro)

proc on /proc type proc (rw,noexec,nosuid,nodev)

/sys on /sys type sysfs (rw,noexec,nosuid,nodev)

varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)

varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)

udev on /dev type tmpfs (rw,mode=0755)

devshm on /dev/shm type tmpfs (rw)

devpts on /dev/pts type devpts (rw,gid=5,mode=620)

lrm on /lib/modules/2.6.22-14-generic/volatile type tmpfs (rw)

/dev/hda1 on /storage type reiserfs (rw)

securityfs on /sys/kernel/security type securityfs (rw)

nfsd on /proc/fs/nfsd type nfsd (rw)

/dev/mapper/nasse-nasse_store on /nasse type ext3 (rw,noatime)
root@nasse:~#

root@nasse:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 3.5G 762M 2.6G 23% / varrun 236M 184K 236M 1% /var/run varlock 236M 0 236M 0% /var/lock udev 236M 88K 236M 1% /dev devshm 236M 0 236M 0% /dev/shm lrm 236M 34M 203M 15% /lib/modules/2.6.22-14-generic/volatile /dev/hda1 373G 35M 373G 1% /storage /dev/mapper/nasse-nasse_store 154G 2.2G 152G 2% /nasse root@nasse:~#

This link https://help.ubuntu.com/community/Installation/RAID1+LVM was super useful for me.

More on backuppc set up and config later.