RE: Betr: RE: dib0700 can't enable debug messages

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

 



Hello,
indeed if you are using media build repository, you just need to do make menuconfig, config, gconfig or xconfig in the media build directory and then select "Enable extended debug support for all DVB-USB devices". No need to build the full kernel with media build.

regards,
Olivier

________________________________________
From: cedric.dewijs@xxxxxxxxxx [cedric.dewijs@xxxxxxxxxx]
Sent: Sunday, July 01, 2012 8:52 PM
To: Olivier GRENIE; linux-media@xxxxxxxxxxxxxxx
Subject: Betr: RE: dib0700 can't enable debug messages

>-- Oorspronkelijk bericht --
>Date: Sat, 30 Jun 2012 12:42:29 +0200
>From: cedric.dewijs@xxxxxxxxxx
>Subject: Betr: RE: dib0700 can't enable debug messages
>To: "Olivier GRENIE" <olivier.grenie@xxxxxxxxxx>,
> "linux-media@xxxxxxxxxxxxxxx" <linux-media@xxxxxxxxxxxxxxx>
>
>
>
>>-- Oorspronkelijk bericht --
>>From: Olivier GRENIE <olivier.grenie@xxxxxxxxxx>
>>To: "cedric.dewijs@xxxxxxxxxx" <cedric.dewijs@xxxxxxxxxx>,
>>      "linux-media@xxxxxxxxxxxxxxx" <linux-media@xxxxxxxxxxxxxxx>
>>Date: Fri, 29 Jun 2012 15:25:00 +0100
>>Subject: RE: dib0700 can't enable debug messages
>>
>>
>>Hello,
>>did you enable the DVB USB debugging (CONFIG_DVB_USB_DEBUG) in your kernel
>>configuration?
>>
Hi Olivier,

I see in the INSTALL file make xconfig needs the full kernel source. I have
fiddled around some with symlinks, but I can't get make xconfig to work:


In the media_build directory I have first created a symlink to the freshly
downloaded kernel source:
$ ls -l
scripts -> /home/cedric/downloads/linux-3.4.3/scripts/

Then I issued the following command:
$ make xconfig
make -C /storage/home/cedric/tmp/linuxtv-mediabuild/media_build/v4l xconfig
make[1]: Entering directory `/storage/home/cedric/tmp/linuxtv-mediabuild/media_build/v4l'
make -C /lib/modules/3.3.7-1-ARCH/build -f /storage/home/cedric/tmp/linuxtv-mediabuild/media_build/v4l/Makefile.kernel
config-targets=1 mixed-targets=0 dot-config=0 SRCDIR=/lib/modules/3.3.7-1-ARCH/build
v4l-qconf
make[2]: Entering directory `/usr/src/linux-3.3.7-1-ARCH'
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c:433:1: fatal error: opening dependency file scripts/basic/.fixdep.d:
Permission denied
compilation terminated.
make[3]: *** [scripts/basic/fixdep] Error 1
make[2]: *** [scripts_basic] Error 2
make[2]: Leaving directory `/usr/src/linux-3.3.7-1-ARCH'
make[1]: *** [/lib/modules/3.3.7-1-ARCH/build/scripts/kconfig/qconf] Error
2
make[1]: Leaving directory `/storage/home/cedric/tmp/linuxtv-mediabuild/media_build/v4l'
make: *** [xconfig] Error 2

The directory scripts/basic/.fixdep.d is not present:
$ ls -lA scripts/basic/
total 20
-rw-r--r-- 1 cedric cedric 10782 Jun 17 20:21 fixdep.c
-rw-r--r-- 1 cedric cedric     7 Jun 17 20:21 .gitignore
-rw-r--r-- 1 cedric cedric   671 Jun 17 20:21 Makefile

Next I goto my kernel directory, and run make xconfig from here:
$ cd downloads/linux-3.4.3
[cedric@cedric linux-3.4.3]$ make xconfig
  HOSTCC  scripts/basic/fixdep
  CHECK   qt
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
/usr/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc
  HOSTCXX scripts/kconfig/qconf.o
  HOSTLD  scripts/kconfig/qconf
scripts/kconfig/qconf Kconfig
#
# using defaults found in arch/x86/configs/x86_64_defconfig
#

and now back in the media-build directory I run make xconfig again:
$ cd tmp/linuxtv-mediabuild/media_build/
[cedric@cedric media_build]$ make xconfig
make -C /storage/home/cedric/tmp/linuxtv-mediabuild/media_build/v4l xconfig
make[1]: Entering directory `/storage/home/cedric/tmp/linuxtv-mediabuild/media_build/v4l'
make -C /lib/modules/3.3.7-1-ARCH/build -f /storage/home/cedric/tmp/linuxtv-mediabuild/media_build/v4l/Makefile.kernel
config-targets=1 mixed-targets=0 dot-config=0 SRCDIR=/lib/modules/3.3.7-1-ARCH/build
v4l-qconf
make[2]: Entering directory `/usr/src/linux-3.3.7-1-ARCH'
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c:433:1: fatal error: opening dependency file scripts/basic/.fixdep.d:
Permission denied
compilation terminated.
make[3]: *** [scripts/basic/fixdep] Error 1
make[2]: *** [scripts_basic] Error 2
make[2]: Leaving directory `/usr/src/linux-3.3.7-1-ARCH'
make[1]: *** [/lib/modules/3.3.7-1-ARCH/build/scripts/kconfig/qconf] Error
2
make[1]: Leaving directory `/storage/home/cedric/tmp/linuxtv-mediabuild/media_build/v4l'
make: *** [xconfig] Error 2

I don't have the directory .fixdep.d:
$ ls -lA scripts/basic/
total 40
-rwxr-xr-x 1 cedric cedric 14561 Jul  1 20:45 fixdep
-rw-r--r-- 1 cedric cedric 10782 Jun 17 20:21 fixdep.c
-rw-r--r-- 1 cedric cedric  2836 Jul  1 20:45 .fixdep.cmd
-rw-r--r-- 1 cedric cedric     7 Jun 17 20:21 .gitignore
-rw-r--r-- 1 cedric cedric   671 Jun 17 20:21 Makefile

What did I miss?
Best regards,
Cedric





--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux