Skip to contentSkip to conversation

dib0700 can't enable debug messages

DISCUSSION [email protected] 2 participants 5 messages Jun 28, 2012 – Jul 2, 2012 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi all,

I would like to see some debug messages from the dib0700 driver. I have tried to enable debug messages like this, following the instructions found here:
http://www.linuxtv.org/wiki/index.php/Template:Making-it-work:dvb-usb-dib0700

# rmmod dvb_usb_dib0700
# insmod /lib/modules/3.3.7-1-ARCH/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dib0700.ko.gz
debug=1
# rmmod dvb_usb_dib0700
# insmod /lib/modules/3.3.7-1-ARCH/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dib0700.ko.gz
debug=2
# rmmod dvb_usb_dib0700
# insmod /lib/modules/3.3.7-1-ARCH/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dib0700.ko.gz
debug=4
# rmmod dvb_usb_dib0700
# insmod /lib/modules/3.3.7-1-ARCH/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dib0700.ko.gz
debug=8
# rmmod dvb_usb_dib0700
# insmod /lib/modules/3.3.7-1-ARCH/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dib0700.ko.gz
debug 8
Error: could not insert module /lib/modules/3.3.7-1-ARCH/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dib0700.ko.gz:
Invalid parameters
# insmod /lib/modules/3.3.7-1-ARCH/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dib0700.ko.gz
debug=15
# rmmod dvb_usb_dib0700
# modprobe dvb_usb_dib0700 debug=15

The messaegs in /var/log/messages are the same in all the above cases:

Jun 28 00:46:27 localhost kernel: [29669.758363] dvb-usb: found a 'Pinnacle
PCTV 73e SE' in warm state.
Jun 28 00:46:27 localhost kernel: [29669.758428] dvb-usb: will pass the complete
MPEG2 transport stream to the software demuxer.
Jun 28 00:46:27 localhost kernel: [29669.758619] DVB: registering new adapter
(Pinnacle PCTV 73e SE)
Jun 28 00:46:27 localhost kernel: [29669.970031] DVB: registering adapter
0 frontend 0 (DiBcom 7000PC)...
Jun 28 00:46:28 localhost kernel: [29670.177652] DiB0070: successfully identified
Jun 28 00:46:28 localhost kernel: [29670.177669] Registered IR keymap rc-dib0700-rc5
Jun 28 00:46:28 localhost kernel: [29670.177887] input: IR-receiver inside
an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/rc/rc6/input31
Jun 28 00:46:28 localhost kernel: [29670.178061] rc6: IR-receiver inside
an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/rc/rc6
Jun 28 00:46:28 localhost kernel: [29670.178274] dvb-usb: schedule remote
query interval to 50 msecs.
Jun 28 00:46:28 localhost kernel: [29670.178278] dvb-usb: Pinnacle PCTV 73e
SE successfully initialized and connected.
Jun 28 00:46:28 localhost kernel: [29670.178426] usbcore: registered new
interface driver dvb_usb_dib0700
Jun 28 00:47:25 localhost kernel: [29727.435215] usbcore: deregistering interface
driver dvb_usb_dib0700
Jun 28 00:47:25 localhost acpid: input device has been disconnected, fd 20
Jun 28 00:47:25 localhost kernel: [29727.444744] dvb-usb: Pinnacle PCTV 73e
SE successfully deinitialized and disconnected.
Jun 28 00:47:27 localhost kernel: [29729.807075] dvb-usb: found a 'Pinnacle
PCTV 73e SE' in warm state.
Jun 28 00:47:27 localhost kernel: [29729.807151] dvb-usb: will pass the complete
MPEG2 transport stream to the software demuxer.
Jun 28 00:47:27 localhost kernel: [29729.807828] DVB: registering new adapter
(Pinnacle PCTV 73e SE)
Jun 28 00:47:27 localhost kernel: [29730.023174] DVB: registering adapter
0 frontend 0 (DiBcom 7000PC)...
Jun 28 00:47:28 localhost kernel: [29730.230923] DiB0070: successfully identified
Jun 28 00:47:28 localhost kernel: [29730.230940] Registered IR keymap rc-dib0700-rc5
Jun 28 00:47:28 localhost kernel: [29730.231159] input: IR-receiver inside
an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/rc/rc7/input32
Jun 28 00:47:28 localhost kernel: [29730.231336] rc7: IR-receiver inside
an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/rc/rc7
Jun 28 00:47:28 localhost kernel: [29730.231543] dvb-usb: schedule remote
query interval to 50 msecs.
Jun 28 00:47:28 localhost kernel: [29730.231547] dvb-usb: Pinnacle PCTV 73e
SE successfully initialized and connected.
Jun 28 00:47:28 localhost kernel: [29730.231692] usbcore: registered new
interface driver dvb_usb_dib0700
Jun 28 00:48:08 localhost kernel: [29770.891230] usbcore: deregistering interface
driver dvb_usb_dib0700
Jun 28 00:48:08 localhost acpid: input device has been disconnected, fd 20
Jun 28 00:48:08 localhost kernel: [29770.902035] dvb-usb: Pinnacle PCTV 73e
SE successfully deinitialized and disconnected.
Jun 28 00:48:11 localhost kernel: [29773.181745] dvb-usb: found a 'Pinnacle
PCTV 73e SE' in warm state.
Jun 28 00:48:11 localhost kernel: [29773.181812] dvb-usb: will pass the complete
MPEG2 transport stream to the software demuxer.
Jun 28 00:48:11 localhost kernel: [29773.182044] DVB: registering new adapter
(Pinnacle PCTV 73e SE)
Jun 28 00:48:11 localhost kernel: [29773.390057] DVB: registering adapter
0 frontend 0 (DiBcom 7000PC)...
Jun 28 00:48:11 localhost kernel: [29773.594311] DiB0070: successfully identified
Jun 28 00:48:11 localhost kernel: [29773.594328] Registered IR keymap rc-dib0700-rc5
Jun 28 00:48:11 localhost kernel: [29773.594544] input: IR-receiver inside
an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/rc/rc8/input33
Jun 28 00:48:11 localhost kernel: [29773.594722] rc8: IR-receiver inside
an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/rc/rc8
Jun 28 00:48:11 localhost kernel: [29773.594931] dvb-usb: schedule remote
query interval to 50 msecs.
Jun 28 00:48:11 localhost kernel: [29773.594935] dvb-usb: Pinnacle PCTV 73e
SE successfully initialized and connected.
Jun 28 00:48:11 localhost kernel: [29773.595109] usbcore: registered new
interface driver dvb_usb_dib0700
Jun 28 00:48:40 localhost kernel: [29802.539224] usbcore: deregistering interface
driver dvb_usb_dib0700
Jun 28 00:48:40 localhost acpid: input device has been disconnected, fd 20
Jun 28 00:48:40 localhost kernel: [29802.550560] dvb-usb: Pinnacle PCTV 73e
SE successfully deinitialized and disconnected.
Jun 28 00:48:43 localhost kernel: [29805.197557] dvb-usb: found a 'Pinnacle
PCTV 73e SE' in warm state.
Jun 28 00:48:43 localhost kernel: [29805.197634] dvb-usb: will pass the complete
MPEG2 transport stream to the software demuxer.
Jun 28 00:48:43 localhost kernel: [29805.198406] DVB: registering new adapter
(Pinnacle PCTV 73e SE)
Jun 28 00:48:43 localhost kernel: [29805.413323] DVB: registering adapter
0 frontend 0 (DiBcom 7000PC)...
Jun 28 00:48:43 localhost kernel: [29805.620944] DiB0070: successfully identified
Jun 28 00:48:43 localhost kernel: [29805.620961] Registered IR keymap rc-dib0700-rc5
Jun 28 00:48:43 localhost kernel: [29805.621177] input: IR-receiver inside
an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/rc/rc9/input34
Jun 28 00:48:43 localhost kernel: [29805.624556] rc9: IR-receiver inside
an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/rc/rc9
Jun 28 00:48:43 localhost kernel: [29805.624986] dvb-usb: schedule remote
query interval to 50 msecs.
Jun 28 00:48:43 localhost kernel: [29805.624991] dvb-usb: Pinnacle PCTV 73e
SE successfully initialized and connected.
Jun 28 00:48:43 localhost kernel: [29805.625292] usbcore: registered new

interface driver dvb_usb_dib0700

What am I missing?

Best regards,
Cedric

#1 lore raw

Hello,
did you enable the DVB USB debugging (CONFIG_DVB_USB_DEBUG) in your kernel configuration?

regards,
Olivier

________________________________________
From: [email protected] [[email protected]] On Behalf Of [email protected] [[email protected]]
Sent: Thursday, June 28, 2012 7:18 AM
To: [email protected]
Subject: dib0700 can't enable debug messages

Hi all,

I would like to see some debug messages from the dib0700 driver. I have tried to enable debug messages like this, following the instructions found here:
http://www.linuxtv.org/wiki/index.php/Template:Making-it-work:dvb-usb-dib0700

# rmmod dvb_usb_dib0700
# insmod /lib/modules/3.3.7-1-ARCH/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dib0700.ko.gz
debug=1
# rmmod dvb_usb_dib0700
# insmod /lib/modules/3.3.7-1-ARCH/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dib0700.ko.gz
debug=2
# rmmod dvb_usb_dib0700
# insmod /lib/modules/3.3.7-1-ARCH/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dib0700.ko.gz
debug=4
# rmmod dvb_usb_dib0700
# insmod /lib/modules/3.3.7-1-ARCH/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dib0700.ko.gz
debug=8
# rmmod dvb_usb_dib0700
# insmod /lib/modules/3.3.7-1-ARCH/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dib0700.ko.gz
debug 8
Error: could not insert module /lib/modules/3.3.7-1-ARCH/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dib0700.ko.gz:
Invalid parameters
# insmod /lib/modules/3.3.7-1-ARCH/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dib0700.ko.gz
debug=15
# rmmod dvb_usb_dib0700
# modprobe dvb_usb_dib0700 debug=15

The messaegs in /var/log/messages are the same in all the above cases:

Jun 28 00:46:27 localhost kernel: [29669.758363] dvb-usb: found a 'Pinnacle
PCTV 73e SE' in warm state.
Jun 28 00:46:27 localhost kernel: [29669.758428] dvb-usb: will pass the complete
MPEG2 transport stream to the software demuxer.
Jun 28 00:46:27 localhost kernel: [29669.758619] DVB: registering new adapter
(Pinnacle PCTV 73e SE)
Jun 28 00:46:27 localhost kernel: [29669.970031] DVB: registering adapter
0 frontend 0 (DiBcom 7000PC)...
Jun 28 00:46:28 localhost kernel: [29670.177652] DiB0070: successfully identified
Jun 28 00:46:28 localhost kernel: [29670.177669] Registered IR keymap rc-dib0700-rc5
Jun 28 00:46:28 localhost kernel: [29670.177887] input: IR-receiver inside
an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/rc/rc6/input31
Jun 28 00:46:28 localhost kernel: [29670.178061] rc6: IR-receiver inside
an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/rc/rc6
Jun 28 00:46:28 localhost kernel: [29670.178274] dvb-usb: schedule remote
query interval to 50 msecs.
Jun 28 00:46:28 localhost kernel: [29670.178278] dvb-usb: Pinnacle PCTV 73e
SE successfully initialized and connected.
Jun 28 00:46:28 localhost kernel: [29670.178426] usbcore: registered new
interface driver dvb_usb_dib0700
Jun 28 00:47:25 localhost kernel: [29727.435215] usbcore: deregistering interface
driver dvb_usb_dib0700
Jun 28 00:47:25 localhost acpid: input device has been disconnected, fd 20
Jun 28 00:47:25 localhost kernel: [29727.444744] dvb-usb: Pinnacle PCTV 73e
SE successfully deinitialized and disconnected.
Jun 28 00:47:27 localhost kernel: [29729.807075] dvb-usb: found a 'Pinnacle
PCTV 73e SE' in warm state.
Jun 28 00:47:27 localhost kernel: [29729.807151] dvb-usb: will pass the complete
MPEG2 transport stream to the software demuxer.
Jun 28 00:47:27 localhost kernel: [29729.807828] DVB: registering new adapter
(Pinnacle PCTV 73e SE)
Jun 28 00:47:27 localhost kernel: [29730.023174] DVB: registering adapter
0 frontend 0 (DiBcom 7000PC)...
Jun 28 00:47:28 localhost kernel: [29730.230923] DiB0070: successfully identified
Jun 28 00:47:28 localhost kernel: [29730.230940] Registered IR keymap rc-dib0700-rc5
Jun 28 00:47:28 localhost kernel: [29730.231159] input: IR-receiver inside
an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/rc/rc7/input32
Jun 28 00:47:28 localhost kernel: [29730.231336] rc7: IR-receiver inside
an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/rc/rc7
Jun 28 00:47:28 localhost kernel: [29730.231543] dvb-usb: schedule remote
query interval to 50 msecs.
Jun 28 00:47:28 localhost kernel: [29730.231547] dvb-usb: Pinnacle PCTV 73e
SE successfully initialized and connected.
Jun 28 00:47:28 localhost kernel: [29730.231692] usbcore: registered new
interface driver dvb_usb_dib0700
Jun 28 00:48:08 localhost kernel: [29770.891230] usbcore: deregistering interface
driver dvb_usb_dib0700
Jun 28 00:48:08 localhost acpid: input device has been disconnected, fd 20
Jun 28 00:48:08 localhost kernel: [29770.902035] dvb-usb: Pinnacle PCTV 73e
SE successfully deinitialized and disconnected.
Jun 28 00:48:11 localhost kernel: [29773.181745] dvb-usb: found a 'Pinnacle
PCTV 73e SE' in warm state.
Jun 28 00:48:11 localhost kernel: [29773.181812] dvb-usb: will pass the complete
MPEG2 transport stream to the software demuxer.
Jun 28 00:48:11 localhost kernel: [29773.182044] DVB: registering new adapter
(Pinnacle PCTV 73e SE)
Jun 28 00:48:11 localhost kernel: [29773.390057] DVB: registering adapter
0 frontend 0 (DiBcom 7000PC)...
Jun 28 00:48:11 localhost kernel: [29773.594311] DiB0070: successfully identified
Jun 28 00:48:11 localhost kernel: [29773.594328] Registered IR keymap rc-dib0700-rc5
Jun 28 00:48:11 localhost kernel: [29773.594544] input: IR-receiver inside
an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/rc/rc8/input33
Jun 28 00:48:11 localhost kernel: [29773.594722] rc8: IR-receiver inside
an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/rc/rc8
Jun 28 00:48:11 localhost kernel: [29773.594931] dvb-usb: schedule remote
query interval to 50 msecs.
Jun 28 00:48:11 localhost kernel: [29773.594935] dvb-usb: Pinnacle PCTV 73e
SE successfully initialized and connected.
Jun 28 00:48:11 localhost kernel: [29773.595109] usbcore: registered new
interface driver dvb_usb_dib0700
Jun 28 00:48:40 localhost kernel: [29802.539224] usbcore: deregistering interface
driver dvb_usb_dib0700
Jun 28 00:48:40 localhost acpid: input device has been disconnected, fd 20
Jun 28 00:48:40 localhost kernel: [29802.550560] dvb-usb: Pinnacle PCTV 73e
SE successfully deinitialized and disconnected.
Jun 28 00:48:43 localhost kernel: [29805.197557] dvb-usb: found a 'Pinnacle
PCTV 73e SE' in warm state.
Jun 28 00:48:43 localhost kernel: [29805.197634] dvb-usb: will pass the complete
MPEG2 transport stream to the software demuxer.
Jun 28 00:48:43 localhost kernel: [29805.198406] DVB: registering new adapter
(Pinnacle PCTV 73e SE)
Jun 28 00:48:43 localhost kernel: [29805.413323] DVB: registering adapter
0 frontend 0 (DiBcom 7000PC)...
Jun 28 00:48:43 localhost kernel: [29805.620944] DiB0070: successfully identified
Jun 28 00:48:43 localhost kernel: [29805.620961] Registered IR keymap rc-dib0700-rc5
Jun 28 00:48:43 localhost kernel: [29805.621177] input: IR-receiver inside
an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/rc/rc9/input34
Jun 28 00:48:43 localhost kernel: [29805.624556] rc9: IR-receiver inside
an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/rc/rc9
Jun 28 00:48:43 localhost kernel: [29805.624986] dvb-usb: schedule remote
query interval to 50 msecs.
Jun 28 00:48:43 localhost kernel: [29805.624991] dvb-usb: Pinnacle PCTV 73e
SE successfully initialized and connected.
Jun 28 00:48:43 localhost kernel: [29805.625292] usbcore: registered new

interface driver dvb_usb_dib0700

What am I missing?

Best regards,
Cedric

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

#2 lore raw

Betr: RE: dib0700 can't enable debug messages

Quoted 9 lines

-- Oorspronkelijk bericht --
From: Olivier GRENIE <[email protected]>
To: "[email protected]" <[email protected]>,
"[email protected]" <[email protected]>
Date: Fri, 29 Jun 2012 15:25:00 +0100
Subject: RE: dib0700 can't enable debug messages

Quoted 7 lines

Hello,
did you enable the DVB USB debugging (CONFIG_DVB_USB_DEBUG) in your kernel configuration?

regards,
Olivier

Hi Olivier,

I have used the basic instructions from here, I think CONFIG_DVB_USB_DEBUG is not set.
http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers

git clone git://linuxtv.org/media_build.git
cd media_build
./build
su
make install
make unload
and then the modprobe commands.

I am not at my devel machine now, so I can't test now. I will try enabling the debug symbol.

Thanks,
Cedric

#3 lore raw

Betr: RE: dib0700 can't enable debug messages

Quoted 22 lines

-- Oorspronkelijk bericht --
Date: Sat, 30 Jun 2012 12:42:29 +0200
From: [email protected]
Subject: Betr: RE: dib0700 can't enable debug messages
To: "Olivier GRENIE" <[email protected]>, "[email protected]" <[email protected]>

Quoted 12 lines

-- Oorspronkelijk bericht --
From: Olivier GRENIE <[email protected]>
To: "[email protected]" <[email protected]>,
"[email protected]" <[email protected]>
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

#4 lore raw

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

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: [email protected] [[email protected]]
Sent: Sunday, July 01, 2012 8:52 PM
To: Olivier GRENIE; [email protected]
Subject: Betr: RE: dib0700 can't enable debug messages

Quoted 21 lines

-- Oorspronkelijk bericht --
Date: Sat, 30 Jun 2012 12:42:29 +0200
From: [email protected]
Subject: Betr: RE: dib0700 can't enable debug messages
To: "Olivier GRENIE" <[email protected]>, "[email protected]" <[email protected]>

Quoted 12 lines

-- Oorspronkelijk bericht --
From: Olivier GRENIE <[email protected]>
To: "[email protected]" <[email protected]>,
"[email protected]" <[email protected]>
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