You are not logged in.

#1 2013-08-04 09:57:19

bernd_b
Member
Registered: 2013-07-30
Posts: 183

compiling of dvbksy-driver fails on xfs file system

-Since noone answered so far post edited because of new occurrences -

I try to get my Mystique Satix S2 PCI Card running on my fresh installed archlinux.

So I tried:
media-build-dvbsky 20130709-2

And ran into this kind of problem:

makepkg -p PKGBUILD 
==> Making package: media-build-dvbsky 20130709-2 (Tue  6 Aug 12:52:29 CEST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading media_build-bst-130709.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 8339k  100 8339k    0     0   979k      0  0:00:08  0:00:08 --:--:-- 1023k
  -> Found 3-10-fix.patch
==> Validating source files with md5sums...
    media_build-bst-130709.tar.gz ... Passed
    3-10-fix.patch ... Passed
==> Extracting sources...
  -> Extracting media_build-bst-130709.tar.gz with bsdtar
==> Starting prepare()...
patching file linux/drivers/media/pci/bt8xx/bttv-input.c
patching file linux/drivers/media/pci/mantis/mantis_i2c.c
patching file linux/drivers/media/pci/ttpci/av7110_ir.c
patching file linux/drivers/media/pci/zoran/zoran_procfs.c
==> Starting build()...
make -C /extern/arch_build/media-build-dvbsky/src/media_build-bst/v4l 
make[1]: Entering directory `/extern/arch_build/media-build-dvbsky/src/media_build-bst/v4l'
No version yet, using 3.10.3-1-ARCH
make[1]: Leaving directory `/extern/arch_build/media-build-dvbsky/src/media_build-bst/v4l'
make[1]: Entering directory `/extern/arch_build/media-build-dvbsky/src/media_build-bst/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 3.10.3

***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.

If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.

Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:

cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install

Please see your distro's web site for instructions to build a new kernel.

WARNING: This is the V4L/DVB backport tree, with experimental drivers
         backported to run on legacy kernels from the development tree at:
                http://git.linuxtv.org/media-tree.git.
         It is generally safe to use it for testing a new driver or
         feature, but its usage on production environments is risky.
         Don't use it in production. You've been warned.
Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Leaving directory `/extern/arch_build/media-build-dvbsky/src/media_build-bst/v4l'
make[1]: Entering directory `/extern/arch_build/media-build-dvbsky/src/media_build-bst/v4l'
perl scripts/make_config_compat.pl /lib/modules/3.10.3-1-ARCH/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/extern/arch_build/media-build-dvbsky/src/media_build-bst/v4l/firmware'
ln: failed to access '../../linux/firmware/dabusb//*': No such file or directory
make[2]: Leaving directory `/extern/arch_build/media-build-dvbsky/src/media_build-bst/v4l/firmware'
make -C firmware
make[2]: Entering directory `/extern/arch_build/media-build-dvbsky/src/media_build-bst/v4l/firmware'
  CC  ihex2fw
Generating vicam/firmware.fw
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory `/extern/arch_build/media-build-dvbsky/src/media_build-bst/v4l/firmware'
Kernel build directory is /lib/modules/3.10.3-1-ARCH/build
make -C /lib/modules/3.10.3-1-ARCH/build SUBDIRS=/extern/arch_build/media-build-dvbsky/src/media_build-bst/v4l  modules
make[2]: Entering directory `/usr/src/linux-3.10.3-1-ARCH'
  CC [M]  /extern/arch_build/media-build-dvbsky/src/media_build-bst/v4l/altera-lpt.o
/extern/arch_build/media-build-dvbsky/src/media_build-bst/v4l/altera-lpt.o: Value too large for defined data type
make[3]: *** [/extern/arch_build/media-build-dvbsky/src/media_build-bst/v4l/altera-lpt.o] Error 1
make[2]: *** [_module_/extern/arch_build/media-build-dvbsky/src/media_build-bst/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-3.10.3-1-ARCH'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/extern/arch_build/media-build-dvbsky/src/media_build-bst/v4l'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

More by accident than py purpose I had some successes with the sources compiling it on a reiserfs3-file system.
So finally I tried the same here and the PKGBUILD ran through without errors.

Here is the underlying fstab with the mount options used for "/extern" - do I miss an option? On the same filesystem, I build cxxtools and tntnet with the help of makepkg and compiled a vdr with a set of plugins but the v4l-driver fail to compile as shown above.

#
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
# /dev/sda1
UUID=4dd34818-7384-4302-b6da-fd99badec9d1       /               ext2            rw,noatime      0 1

#swap
UUID=9024ae5b-67a1-4797-bc68-9d313f07412b none   swap    sw     0       0
#/extern
#UUID=262764dd-8e06-499f-9f15-366c3003082c   /extern  xfs   noatime,users,exec,rw 0 0
UUID=262764dd-8e06-499f-9f15-366c3003082c   /extern  xfs   noatime,exec,rw 0 0

Last edited by bernd_b (2013-08-06 11:41:49)

Offline

#2 2013-08-06 20:55:37

bernd_b
Member
Registered: 2013-07-30
Posts: 183

Re: compiling of dvbksy-driver fails on xfs file system

Sorry for making noise again.

Today the same thing happened with other sources:
I compiled them on a reiserfs filesystem without problem whereas the same sources won't compile on my xfs-mount. The software I want to compile was avidemux-2.6-cli.

So it turns out that I have a totally different problem from what I thought at the start of my postings - it seems not related to Hardware and Kernel in particular.

Offline

Board footer

Powered by FluxBB