* generic question @ 2009-09-05 16:15 Jed 2009-09-05 16:24 ` Jed 0 siblings, 1 reply; 7+ messages in thread From: Jed @ 2009-09-05 16:15 UTC (permalink / raw) To: Linux Media Mailing List I installed _all_ dvb-v4l modules after compiling latest source because at the time I couldn't use "make menuconfig" (didn't have ncurses installed) Is there a way I can retrospectively remove some compiled/installed modules so that I'm only using the ones I need? I only need modules associated with: http://www.linuxtv.org/wiki/index.php/Saa7162_devices#DNTV_PCI_Express_cards Cheers, Jed ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: generic question 2009-09-05 16:15 generic question Jed @ 2009-09-05 16:24 ` Jed 2009-09-05 19:04 ` Jed 0 siblings, 1 reply; 7+ messages in thread From: Jed @ 2009-09-05 16:24 UTC (permalink / raw) To: Linux Media Mailing List Actually I just realised... I think when the system reboots it will only load the modules it needs from /lib/modules/[kernel version]/kernel/drivers/media... It won't load everything in that directory into the kernel/memory right? So the only reason one might want to use "make menuconfig"; is to prevent irrelevant compiled modules ending up in... /lib/modules/[kernel version]/kernel/drivers/media Feel free to correct if this understanding is wrong. Cheers Jed wrote: > I installed _all_ dvb-v4l modules after compiling latest source > because at the time I couldn't use "make menuconfig" (didn't have > ncurses installed) > Is there a way I can retrospectively remove some compiled/installed > modules so that I'm only using the ones I need? > I only need modules associated with: > http://www.linuxtv.org/wiki/index.php/Saa7162_devices#DNTV_PCI_Express_cards > > > Cheers, > Jed > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: generic question 2009-09-05 16:24 ` Jed @ 2009-09-05 19:04 ` Jed 2009-09-05 19:47 ` Jed 0 siblings, 1 reply; 7+ messages in thread From: Jed @ 2009-09-05 19:04 UTC (permalink / raw) To: Linux Media Mailing List The compile & install completed without issue then I rebooted but.... jed@jed-desktop:/var/log$ sudo lsmod Module Size Used by binfmt_misc 18572 1 bridge 63776 0 stp 11140 1 bridge bnep 22912 2 video 29204 0 output 11648 1 video input_polldev 12688 0 lp 19588 0 snd_hda_intel 557492 4 snd_pcm_oss 52352 0 snd_mixer_oss 24960 1 snd_pcm_oss snd_pcm 99464 2 snd_hda_intel,snd_pcm_oss snd_seq_dummy 11524 0 snd_seq_oss 41984 0 snd_seq_midi 15744 0 snd_rawmidi 33920 1 snd_seq_midi snd_seq_midi_event 16512 2 snd_seq_oss,snd_seq_midi snd_seq 66272 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_timer 34064 2 snd_pcm,snd_seq iTCO_wdt 21712 0 snd_seq_device 16276 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq pcspkr 11136 0 ppdev 16904 0 iTCO_vendor_support 12420 1 iTCO_wdt snd 78920 17 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 16800 1 snd snd_page_alloc 18704 2 snd_hda_intel,snd_pcm parport_pc 45096 1 parport 49584 3 lp,ppdev,parport_pc usbhid 47040 0 intel_agp 39408 0 ohci1394 42164 0 ieee1394 108288 1 ohci1394 r8169 46596 0 mii 14464 1 r8169 fbcon 49792 0 tileblit 11264 1 fbcon font 17024 1 fbcon bitblit 14464 1 fbcon softcursor 10368 1 bitblit ...Where's the module I need? And this is all that's in /etc/modules... lp rtc udev has not created any devices nodes for DVB & V4L: jed@jed-desktop:/var/log$ ls -l /dev/dvb ls: cannot access /dev/dvb: No such file or directory jed@jed-desktop:/var/log$ ls -l /dev/v4l ls: cannot access /dev/v4l: No such file or directory I can't see anything relating to 7162 devices here: http://linuxtv.org/hg/v4l-dvb?cmd=file;file=linux/Documentation/video4linux/CARDLIST.tuner;filenode=-1;style=raw Perhaps the module for 7162 devices is not in the main source tree yet? Admittedly I'm not quite sure what I'm looking for! I've got a copy of various logs from /var/log, many extraneous, but just trying to cover all bases, lemme know & I can send! Any advice/help greatly appreciated. Cheers, Jed Jed wrote: > Actually I just realised... > > I think when the system reboots it will only load the modules it needs > from /lib/modules/[kernel version]/kernel/drivers/media... > It won't load everything in that directory into the kernel/memory right? > > So the only reason one might want to use "make menuconfig"; is to > prevent irrelevant compiled modules ending up in... > /lib/modules/[kernel version]/kernel/drivers/media > > Feel free to correct if this understanding is wrong. > > Cheers > > Jed wrote: >> I installed _all_ dvb-v4l modules after compiling latest source >> because at the time I couldn't use "make menuconfig" (didn't have >> ncurses installed) >> Is there a way I can retrospectively remove some compiled/installed >> modules so that I'm only using the ones I need? >> I only need modules associated with: >> http://www.linuxtv.org/wiki/index.php/Saa7162_devices#DNTV_PCI_Express_cards >> >> >> Cheers, >> Jed >> > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: generic question 2009-09-05 19:04 ` Jed @ 2009-09-05 19:47 ` Jed 0 siblings, 0 replies; 7+ messages in thread From: Jed @ 2009-09-05 19:47 UTC (permalink / raw) To: Linux Media Mailing List I think I know why this was not working... I was using main hg source tree instead of: http://www.jusst.de/hg/saa716x/ My bad, still quite a n00b I guess, but at least I'm learning! :-) I will take it from there.... Jed wrote: > The compile & install completed without issue then I rebooted but.... > > jed@jed-desktop:/var/log$ sudo lsmod > Module Size Used by > binfmt_misc 18572 1 > bridge 63776 0 > stp 11140 1 bridge > bnep 22912 2 > video 29204 0 > output 11648 1 video > input_polldev 12688 0 > lp 19588 0 > snd_hda_intel 557492 4 > snd_pcm_oss 52352 0 > snd_mixer_oss 24960 1 snd_pcm_oss > snd_pcm 99464 2 snd_hda_intel,snd_pcm_oss > snd_seq_dummy 11524 0 > snd_seq_oss 41984 0 > snd_seq_midi 15744 0 > snd_rawmidi 33920 1 snd_seq_midi > snd_seq_midi_event 16512 2 snd_seq_oss,snd_seq_midi > snd_seq 66272 6 > snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event > snd_timer 34064 2 snd_pcm,snd_seq > iTCO_wdt 21712 0 > snd_seq_device 16276 5 > snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq > pcspkr 11136 0 > ppdev 16904 0 > iTCO_vendor_support 12420 1 iTCO_wdt > snd 78920 17 > snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device > > soundcore 16800 1 snd > snd_page_alloc 18704 2 snd_hda_intel,snd_pcm > parport_pc 45096 1 > parport 49584 3 lp,ppdev,parport_pc > usbhid 47040 0 > intel_agp 39408 0 > ohci1394 42164 0 > ieee1394 108288 1 ohci1394 > r8169 46596 0 > mii 14464 1 r8169 > fbcon 49792 0 > tileblit 11264 1 fbcon > font 17024 1 fbcon > bitblit 14464 1 fbcon > softcursor 10368 1 bitblit > > ...Where's the module I need? > > And this is all that's in /etc/modules... > > lp > rtc > > udev has not created any devices nodes for DVB & V4L: > > jed@jed-desktop:/var/log$ ls -l /dev/dvb > ls: cannot access /dev/dvb: No such file or directory > jed@jed-desktop:/var/log$ ls -l /dev/v4l > ls: cannot access /dev/v4l: No such file or directory > > I can't see anything relating to 7162 devices here: > http://linuxtv.org/hg/v4l-dvb?cmd=file;file=linux/Documentation/video4linux/CARDLIST.tuner;filenode=-1;style=raw > > Perhaps the module for 7162 devices is not in the main source tree > yet? Admittedly I'm not quite sure what I'm looking for! > > I've got a copy of various logs from /var/log, many extraneous, but > just trying to cover all bases, lemme know & I can send! > Any advice/help greatly appreciated. > > Cheers, > Jed > > > Jed wrote: >> Actually I just realised... >> >> I think when the system reboots it will only load the modules it >> needs from /lib/modules/[kernel version]/kernel/drivers/media... >> It won't load everything in that directory into the kernel/memory right? >> >> So the only reason one might want to use "make menuconfig"; is to >> prevent irrelevant compiled modules ending up in... >> /lib/modules/[kernel version]/kernel/drivers/media >> >> Feel free to correct if this understanding is wrong. >> >> Cheers >> >> Jed wrote: >>> I installed _all_ dvb-v4l modules after compiling latest source >>> because at the time I couldn't use "make menuconfig" (didn't have >>> ncurses installed) >>> Is there a way I can retrospectively remove some compiled/installed >>> modules so that I'm only using the ones I need? >>> I only need modules associated with: >>> http://www.linuxtv.org/wiki/index.php/Saa7162_devices#DNTV_PCI_Express_cards >>> >>> >>> Cheers, >>> Jed >>> >> >> > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Generic question @ 2013-12-06 4:34 Vipul Jain 2013-12-06 4:53 ` Rajat Sharma 2013-12-07 6:55 ` Sanjay Das 0 siblings, 2 replies; 7+ messages in thread From: Vipul Jain @ 2013-12-06 4:34 UTC (permalink / raw) To: kernelnewbies Hi All, A quick question: If any of user space process is hanged or not responding, does it means kernel is also hung in some part? I trying to understand why hang happens and what triggers it.happening ? How to go about recover a hang process, apart from restarting it. Regards, Vipul. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131205/4d237050/attachment.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* Generic question 2013-12-06 4:34 Generic question Vipul Jain @ 2013-12-06 4:53 ` Rajat Sharma 2013-12-07 6:55 ` Sanjay Das 1 sibling, 0 replies; 7+ messages in thread From: Rajat Sharma @ 2013-12-06 4:53 UTC (permalink / raw) To: kernelnewbies Usually a user process can hang inside kernel if it makes a system call and is blocked inside kernel waiting on a semaphore (where it would leave CPU) or spinning for a spinlock which might lock down the CPU core. You can examine where process is stuck by: # echo w > /proc/sysrq-trigger This sysrq will show you hung tasks and their stack trace in /var/log/messages or dmesg output. But a process might as well hang in user mode e.g. on user mode semaphore. Most of the time there are some logical bugs in the program or kernel subsystems for which hang occurs which needs to be fixed instead of just restarting the process. Might work for user mode hang, but may not for hang inside kernel. Rajat On Thu, Dec 5, 2013 at 8:34 PM, Vipul Jain <vipulsj@gmail.com> wrote: > Hi All, > > A quick question: > > If any of user space process is hanged or not responding, does it means > kernel is also hung in some part? I trying to understand why hang happens > and what triggers it.happening ? How to go about recover a hang process, > apart from restarting it. > > Regards, > Vipul. > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131205/19558bb8/attachment.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* Generic question 2013-12-06 4:34 Generic question Vipul Jain 2013-12-06 4:53 ` Rajat Sharma @ 2013-12-07 6:55 ` Sanjay Das 1 sibling, 0 replies; 7+ messages in thread From: Sanjay Das @ 2013-12-07 6:55 UTC (permalink / raw) To: kernelnewbies Hi Vipul, Although you havent provided any technical info regarding your hand issue But anyways I would sugegst you to perform very basic debugging techniques: 1) raise the kernel log level to highest "echo 8 > /proc/sys/kernel/printk" 2) try to reproduce it and narrowdown your issue to a perticular scenario at which this hang happens or it happens randomly. 3) Then try to log inside user code that is responsible in that perticular scenario and then post your exact execution code point of problem. Otherwise it is hard to say where the issue lies and it will just be bluffing nothing else. Regards Sanjay On Fri, Dec 6, 2013 at 10:04 AM, Vipul Jain <vipulsj@gmail.com> wrote: > Hi All, > > A quick question: > > If any of user space process is hanged or not responding, does it means > kernel is also hung in some part? I trying to understand why hang happens > and what triggers it.happening ? How to go about recover a hang process, > apart from restarting it. > > Regards, > Vipul. > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131207/d03f34f2/attachment.html ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-12-07 6:55 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-09-05 16:15 generic question Jed 2009-09-05 16:24 ` Jed 2009-09-05 19:04 ` Jed 2009-09-05 19:47 ` Jed -- strict thread matches above, loose matches on Subject: below -- 2013-12-06 4:34 Generic question Vipul Jain 2013-12-06 4:53 ` Rajat Sharma 2013-12-07 6:55 ` Sanjay Das
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.