[Solved] Hauppauge PVR-250 + Lirc = Kernel Oops & Pain

Using:
- Hauppauge PVR-250
--- ivtv
--- lirc_dev
--- lirc_i2c
Modprobe ivtv?  Fine.
Modprobe the lirc modules?  Fine.
Start lircd service?  Fine.
Try to use lirc?  FAIL.
This will be my own little self dialog as I get reintroduced to all the pain I use to experience trying to setup MythTV.
lirc_dev: IR Remote Control driver registered, major 61
bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
lirc_dev: lirc_register_plugin: sample_rate: 10
BUG: unable to handle kernel paging request at 52492071
IP: [<c01832e6>] do_sys_open+0x76/0xf0
*pde = 00000000
Oops: 0000 [#1] PREEMPT SMP
Modules linked in: cx8800 cx88xx bttv ir_common compat_ioctl32 videobuf_dma_sg videobuf_core btcx_risc lirc_i2c lirc_dev ipv6 usb_storage msp3400 saa7115 tuner tea5767 tda8290 tda18271 tda827x tuner_xc2028 xc5000 tda9887 firewire_ohci tuner_simple mt20xx tea5761 firewire_core crc_itu_t psmouse ivtv pcspkr serio_raw emu10k1_gp i2c_algo_bit cx2341x v4l2_common tveeprom ppp_generic ohci1394 gameport ieee1394 nvidia(P) i2c_i801 intel_agp i2c_core agpgart ehci_hcd shpchp pci_hotplug uhci_hcd sg thermal evdev processor fan button battery ac snd_usb_audio snd_usb_lib snd_intel8x0 snd_emu10k1 snd_rawmidi snd_ac97_codec snd_util_mem snd_hwdep snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd soundcore ac97_bus slhc skge gspca usbcore videodev v4l1_compat rtc_cmos rtc_core rtc_lib reiserfs sr_mod cdrom sd_mod ata_piix ata_generic pata_acpi libata scsi_mod dock
Pid: 3412, comm: lircd Tainted: P         (2.6.25-ARCH #1)
EIP: 0060:[<c01832e6>] EFLAGS: 00010287 CPU: 0
EIP is at do_sys_open+0x76/0xf0
EAX: 52492065 EBX: 40000020 ECX: 00000043 EDX: f5d83260
ESI: ffffff9c EDI: f5072000 EBP: 00000007 ESP: f5d99f84
DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process lircd (pid: 3412, ti=f5d98000 task=f543c000 task.ti=f5d98000)
Stack: bfe01a98 00000000 f5d83260 bfe01a98 00000002 bfe0392f f5d98000 c01833dc
       bfe01a98 bfe0392f 00000000 00000002 c01050d8 bfe0392f 00000002 bfe01a98
       00000000 00000002 bfe01af8 00000005 0000007b 0000007b c0100000 00000005
Call Trace:
[<c01833dc>] sys_open+0x2c/0x40
[<c01050d8>] sysenter_past_esp+0x6d/0xa5
=======================
Code: 78 78 8b 44 24 20 89 d9 89 fa 89 04 24 89 f0 e8 31 ff ff ff 3d 00 f0 ff ff 89 44 24 08 77 6e 8b 54 24 08 bb 20 00 00 40 8b 42 0c <8b> 70 0c 0f b7 56 72 81 e2 00 f0 00 00 81 fa 00 40 00 00 ba 20
EIP: [<c01832e6>] do_sys_open+0x76/0xf0 SS:ESP 0068:f5d99f84
---[ end trace fbdc5cf39936cc8f ]---
Last edited by georgia_tech_swagger (2008-07-29 17:45:56)

This is indeed a problem in the lirc 0.8.2 package in extra.   I have submitted a bug with a fixed PKGBUILD of lirc 0.8.3.
http://bugs.archlinux.org/task/11041

Similar Messages

  • [SOLVED] Hauppauge PVR-500 - Cannot request encoder memory region.

    Hello all
    I need some help getting this card to work on my two year old mythbox that's been tunerless since day one.
    I installed the card, ivtv-utils and did pacman -Syu
    but, I have no video devices in /dev
    This is whats happening during startup.
    [family@htpc ~]$ dmesg | egrep -i '(ivtv|tveeprom|tuner)'
    [ 5.732675] ivtv: Start initialization, version 1.4.3
    [ 5.732726] ivtv0: Initializing card 0
    [ 5.732728] ivtv0: Autodetected Hauppauge card (cx23416 based)
    [ 5.732846] ivtv0: Cannot request encoder memory region.
    [ 5.738901] ivtv0: Error -5 on initialization
    [ 5.745007] ivtv: probe of 0000:04:08.0 failed with error -5
    [ 5.745031] ivtv1: Initializing card 1
    [ 5.745033] ivtv1: Autodetected Hauppauge card (cx23416 based)
    [ 5.745142] ivtv1: Cannot request encoder memory region.
    [ 5.751061] ivtv1: Error -5 on initialization
    [ 5.756869] ivtv: probe of 0000:04:09.0 failed with error -5
    [ 5.757015] ivtv: End initialization
    [ 666.818438] fuse snd_hda_codec_hdmi ivtv cx2341x nvidia(PO) tveeprom v4l2_common videodev snd_hda_intel snd_hda_codec snd_hwdep hid_generic snd_pcm media usbhid hid snd_page_alloc snd_timer i2c_algo_bit snd shpchp psmouse kvm sp5100_tco pci_hotplug i2c_piix4 r8169 soundcore mii serio_raw pcspkr evdev button i2c_core k10temp wmi ir_lirc_codec lirc_dev microcode ir_mce_kbd_decoder ir_sanyo_decoder ir_sony_decoder ir_jvc_decoder ir_rc6_decoder ir_rc5_decoder ir_nec_decoder rc_rc6_mce mceusb rc_core cpufreq_powersave powernow_k8 mperf processor ext4 crc16 jbd2 mbcache sr_mod cdrom sd_mod ata_generic pata_acpi usb_storage ohci_hcd pata_atiixp ahci libahci ehci_hcd libata scsi_mod usbcore usb_common
    Shows up in lspci
    [family@htpc ~]$ lspci |grep video
    04:08.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) Video Decoder (rev 01)
    04:09.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) Video Decoder (rev 01)
    and the firmware already seems to be there.
    [family@htpc ~]$ ls /lib/firmware/ |grep v4l
    v4l-cx231xx-avcore-01.fw
    v4l-cx23418-apu.fw
    v4l-cx23418-cpu.fw
    v4l-cx23418-dig.fw
    v4l-cx2341x-dec.fw
    v4l-cx2341x-enc.fw
    v4l-cx2341x-init.mpg
    v4l-cx23885-avcore-01.fw
    v4l-cx23885-enc.fw
    v4l-cx25840.fw
    v4l-pvrusb2-24xxx-01.fw
    v4l-pvrusb2-29xxx-01.fw
    [family@htpc ~]$ uname -a
    Linux htpc 3.6.10-1-ARCH #1 SMP PREEMPT Tue Dec 11 10:19:36 CET 2012 i686 GNU/Linux
    Some hardware information:
    CPU AMD Athlon II X3 435
    MB   GIGABYTE GA-MA78LM-S2
    GPU SPARKLE GeForce GT 220 1GB
    2 GB of RAM
    I just got this tuner card used off eBay so I don't know if something is wrong with the card itself or not.  It seems to be in pretty good shape, it came with all the original packaging.  If all else fails I can drag out an old system and install Windows Xp on it to test it.
    Any help with this problem would be appreciated.  Thanks.
    Last edited by Vortalex (2012-12-31 01:11:12)

    Your problem looked interesting, so I thought I'd dig down underneath the covers. But this is a single person's opinion as a driver developer, but not a Linux driver developer... A massive difference... So take it with a healthy dose of skepticism.
    But the bottom line is my opinion is that you might want to head on over to the LinuxTV.org folks and see what they have to say.
    The tldr; version follows:
    I drilled down on this error message: "ivtv0: Cannot request encoder memory region."
    That comes from the drivers/media/pci/ivtv/ivtv-driver.c file... and here's the snippet of code from the latest "linux-stable" code tree in the "ivtv_setup_pci" function:
    if (!request_mem_region(itv->base_addr, IVTV_ENCODER_SIZE, "ivtv encoder
    IVTV_ERR("Cannot request encoder memory region.\n");
    return -EIO;
    It appears that call is attempting to map the PCI IO memory for your PCI adapter... and it fails with that -EIO (-5) error code.
    There can be multiple reasons for the failure, but the LinuxTV folks may be able to determine the reason for your particular instance.

  • [SOLVED] mythtv - No picture using Hauppauge pvr-150

    Hi All,
      I have just set up mythtv but cannot get a live picture using the Hauppauge pvr 150.  The card is working (thanks to enrique) and can both stream video and record video either live or in a cron job. I am attaching the cable directly to the card instead of using a digital cable box.  This limits the available channels but thats OK since this connection probably won't be used that often.
      I don't recall seeing any options specifying whether the cable connection is analog or digital, nor do I recall seeing any options pertaining to the video card.   I don't know what I'm doing wrong so any and all tips will be appreciated.   
    Thanks
      Larry
    Last edited by ljshap (2008-05-27 11:02:32)

    Problem Solved:
       The dodo (Me), kept putting the card in as "analog v4l device" which is how myth set it up.
       It should be MPEG-2 encoder card (PVR-x50,500).
       I just wasn't being careful enough to check all possibilities.
       Seems to be working.   
       Maybe that will help someone.
       Larry

  • Help with a Kernel Oops that I don't understand

    I'm in the process of installing Arch on a new setup based on a Zotac-IONITX-b motherboard.
    I have pretty much come to the end of the initial set up of Arch but I am experiencing something that makes me clueless, A kernel Oops.
    This is the output from dmesg as it happens:
    BUG: unable to handle kernel paging request at 000d8a0b
    IP: [<c016bfbc>] m_show+0x9c/0x1a0
    *pde = 00000000
    Oops: 0000 [#1] PREEMPT SMP
    last sysfs file: /sys/module/mbcache/initstate
    Modules linked in: ext3 jbd ipt_REJECT xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables x_tables arc4 ecb snd_hda_codec_nvhdmi rt73usb crc_itu_t rt2x00usb rt2x00lib snd_hda_codec_realtek led_class snd_seq_dummy input_polldev lirc_mceusb2 lirc_dev snd_seq_oss mac80211 snd_seq_midi_event snd_hda_intel usbhid snd_seq snd_seq_device snd_hda_codec hid nvidia(P) cfg80211 snd_pcm_oss snd_mixer_oss snd_hwdep agpgart snd_pcm snd_timer ohci_hcd snd soundcore i2c_nforce2 shpchp ehci_hcd psmouse snd_page_alloc pci_hotplug pcspkr usbcore sg serio_raw i2c_core forcedeth wmi evdev thermal processor fan button battery ac rtc_cmos rtc_core rtc_lib ext2 mbcache sd_mod pata_acpi ata_generic ahci libata scsi_mod
    Pid: 1947, comm: lsmod Tainted: P (2.6.30-ARCH #1) To Be Filled By O.E.M.
    EIP: 0060:[<c016bfbc>] EFLAGS: 00010282 CPU: 0
    EIP is at m_show+0x9c/0x1a0
    EAX: 00000000 EBX: f6a615a0 ECX: 00000e76 EDX: 00000000
    ESI: f98de6e0 EDI: 000d8a0b EBP: f98de810 ESP: f69edeb4
    DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
    Process lsmod (pid: 1947, ti=f69ec000 task=f6556800 task.ti=f69ec000)
    Stack:
    f6a615a0 c0457a4c f9b76bec 00011824 f98de6e4 f69edf30 c03d28a8 88e01f5c
    c03e0768 f6a615a0 f98de6e4 f69edf30 c01ee703 c012d160 00000000 00000174
    00000000 b807c014 f6a615c8 000003ec 00000014 f65b2780 f69edf90 0000001f
    Call Trace:
    [<c03d28a8>] ? mutex_lock+0x18/0x40
    [<c01ee703>] ? seq_read+0x263/0x470
    [<c012d160>] ? __wake_up+0x50/0x80
    [<c01ee4a0>] ? seq_read+0x0/0x470
    [<c0219b59>] ? proc_reg_read+0x79/0xc0
    [<c01d1923>] ? vfs_read+0xc3/0x1a0
    [<c0219ae0>] ? proc_reg_read+0x0/0xc0
    [<c01d1b08>] ? sys_read+0x58/0xb0
    [<c0103c73>] ? sysenter_do_call+0x12/0x28
    Code: 10 31 c0 81 c5 2c 01 00 00 39 ef 74 2d 66 90 8b 47 08 89 1c 24 c7 44 24 04 4c 7a 45 c0 83 c0 0c 89 44 24 08 e8 d6 22 08 00 8b 3f <8b> 07 0f 18 00 90 39 ef 75 da b8 01 00 00 00 8b 96 d4 00 00 00
    EIP: [<c016bfbc>] m_show+0x9c/0x1a0 SS:ESP 0068:f69edeb4
    CR2: 00000000000d8a0b
    ---[ end trace a2e72733227d6c47 ]---
    My kernel skills are next to zero so I don't even know where to begin to look for things to fix. The only thing I know is that if I set the runlevel to 5 at boot I get the Oops straight at boot. It appears that xorg (with nvidia module) starts loading but only makes it to about half a deacent log file. And when I try to issue lsmod the terminal just hangs.
    Runlevel 3 boots fine witout the Oops but as soons as I try to do something module related (like lsmod again) the Oops is right there.
    Any ideas what to do about this or am I down the reinstall route again?

    I'm still having problems with this
    I don't really know where to begin when it comes to prevent modules being loaded. Which ones are safe to remove etc?
    This is what I get at boot trying to get straight into X.
    Can anyone make something out of the dump? Any ideas what might be wrong is much appreciated.
    BUG: unable to handle kernel paging request at 000d8a0b
    IP: [<c016bfbc>] m_show+0x9c/0x1a0
    *pde = 00000000
    Oops: 0000 [#1] PREEMPT SMP
    last sysfs file: /sys/devices/pci0000:00/0000:00:10.0/0000:03:00.0/resource
    Modules linked in: ext3 jbd ipt_REJECT xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables x_tables arc4 ecb snd_hda_codec_nvhdmi rt73usb crc_itu_t rt2x00usb rt2x00lib led_class lirc_mceusb2 snd_seq_dummy snd_hda_codec_realtek input_polldev lirc_dev snd_seq_oss joydev mac80211 snd_seq_midi_event snd_seq usbhid snd_hda_intel snd_seq_device hid snd_hda_codec cfg80211 nvidia(P) snd_pcm_oss snd_mixer_oss snd_hwdep snd_pcm snd_timer agpgart ohci_hcd snd psmouse ehci_hcd soundcore shpchp serio_raw i2c_nforce2 pcspkr usbcore snd_page_alloc pci_hotplug sg forcedeth i2c_core wmi evdev thermal processor fan button battery ac rtc_cmos rtc_core rtc_lib ext2 mbcache sd_mod pata_acpi ata_generic ahci libata scsi_mod
    Pid: 2023, comm: X Tainted: P (2.6.30-ARCH #1) To Be Filled By O.E.M.
    EIP: 0060:[<c016bfbc>] EFLAGS: 00210282 CPU: 0
    EIP is at m_show+0x9c/0x1a0
    EAX: 00000000 EBX: f73a5540 ECX: 00000e31 EDX: 00000000
    ESI: f98ac6e0 EDI: 000d8a0b EBP: f98ac810 ESP: ec821eb4
    DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
    Process X (pid: 2023, ti=ec820000 task=ec96bc00 task.ti=ec820000)
    Stack:
    f73a5540 c0457a4c f9bfcc2c 00011824 f98ac6e4 ec821f30 c03d28a8 9f0f8b2b
    c03e0768 f73a5540 f98ac6e4 ec821f30 c01ee703 00000000 9f0f8b2b 000001b9
    00000000 b7f54014 f73a5568 000003ec 00000014 ec990900 ec821f90 00000021
    Call Trace:
    [<c03d28a8>] ? mutex_lock+0x18/0x40
    [<c01ee703>] ? seq_read+0x263/0x470
    [<c01ee4a0>] ? seq_read+0x0/0x470
    [<c0219b59>] ? proc_reg_read+0x79/0xc0
    [<c01d1923>] ? vfs_read+0xc3/0x1a0
    [<c0219ae0>] ? proc_reg_read+0x0/0xc0
    [<c01d1b08>] ? sys_read+0x58/0xb0
    [<c0103c73>] ? sysenter_do_call+0x12/0x28
    Code: 10 31 c0 81 c5 2c 01 00 00 39 ef 74 2d 66 90 8b 47 08 89 1c 24 c7 44 24 04 4c 7a 45 c0 83 c0 0c 89 44 24 08 e8 d6 22 08 00 8b 3f <8b> 07 0f 18 00 90 39 ef 75 da b8 01 00 00 00 8b 96 d4 00 00 00
    EIP: [<c016bfbc>] m_show+0x9c/0x1a0 SS:ESP 0068:ec821eb4
    CR2: 00000000000d8a0b
    ---[ end trace c0390704e02a5e60 ]---
    edit:
    I hope this is solved now. I couldn't figure out what module that was acting up so I reinstalled and started slowly to install and activate my devices. As soon as I reached the point of installing X, and specifically the nvidia drivers, it all went bonkers again.
    I uninstalled the nvidia oackage and built the beta drivers from AUR, but had the same result. I ten turned to nvidia directly and installed their driver (the.run file) and after that everything seems to run smoothly.
    So, probably there is something in the pacman package that doesn't work with my Zotac IONitx board.
    Edit again:
    The error is back and I have filed a bug report to nvidia. I'm keeping my fingers crossed that they can solve this for me.
    Last edited by antis (2009-07-28 14:55:34)

  • Hauppauge PVR-150 Capture, Audio Static/Noise IVTV Composite input

    Hello,
    This is my first post.
    I have been migrating from Gentoo to Arch after 7-8 years using gentoo, I think Arch is great. even though precompiled packages have there downside. anyway.
    I have problem with static/noise audio when capturing from Composite using IVTV, im running kernel 3.0.4 arch kernel.
    I have 10  Hauppauge PVR-150 (+1 PVR-500) Cards running, the problem occurs in a random card after reboot.
    Video is fine on all cards, but sometimes the audio on either one of the 11 cards get static/noise in the audio background.. sometimes allot, other times just a little bit noise/static.
    I tried the wiki, and searched the forum, but can't find a solution, can anyone help me??
    I can provide sample (cat /dev/videoX > sample.mpeg) if interested.
    See dmesg: http://pastebin.com/U2JnJ0Zr
    Thank you

    Hello,
    changing to constant bitrate seems to correct the problem,
    v4l2-ctl -d /dev/videoX --set-ctrl=video-bitrate-mode=1
    and then remember to not have the capture source audio volume to more than 75%.

  • WinTV PVR 250 compatibility ?

    Hello,
    Does anyone know if the PCI card WinTV PVR 250 from Hauppauge is compatible with a SIS 655 chipset based mainboard like the 655 MAX ?
    At this time it is not even recognized by the system, it worked rather fine on a VIA system Abit board.

    I also am having this issue, tried the PVR-250 in different slots, removed each PCI devie and tried.  My system beeps an error code whenever the card is inserted, and never posts. I have the GNB Max MS-6565 Board.  If anyone can figure this out please email me at [email protected]

  • [SOLVED] LIRC no input with Hauppauge PVR-350

    Hey guys
    I have the hardware mentioned in the title in a computer connected with the tv (for xbmc)
    I recently have re-setup archlinux on this machine to get a clean systemd setup but now Im really stuck getting my remote working again. Sady I forgot to backup my configuration (theres always something that you forget isnt it)^^
    configs
    /etc/systemd/system/lircd.service
    [Unit]
    Description=Linux Infrared Remote Control
    [Service]
    EnvironmentFile=/etc/conf.d/lircd.conf
    ExecStartPre=/usr/bin/ln -sf /run/lirc/lircd /dev/lircd
    ExecStart=/usr/sbin/lircd --pidfile=/run/lirc/lircd.pid --device=${LIRC_DEVICE} --driver=${LIRC_DRIVER}
    Type=forking
    PIDFile=/run/lirc/lircd.pid
    [Install]
    WantedBy=multi-user.target
    /etc/conf.d/lircd.conf
    LIRC_DEVICE="/dev/input/event11"
    LIRC_DRIVER="devinput"
    LIRC_MODULES="ir-kbd-i2c lirc_dev"
    LIRC_EXTRAOPTS=""
    LIRC_CONFIGFILE="/etc/lirc/lircd.conf
    /etc/lirc/lirc.conf
    # this config file was automatically generated
    # using lirc-0.7.0(any) on Sun Nov 28 20:25:09 2004
    # contributed by
    # brand:   Hauppauge 350
    # Created: G.J. Werler (The Netherlands)
    # Project: Mythtv Fedora Pundit-R www.mythtvportal.com
    # Date:    2004/11/28
    # model no. of remote control: Hauppauge A415-HPG
    # devices being controlled by this remote: PVR-350
    begin remote
      name  Hauppauge_350
      bits           13
      flags RC5|CONST_LENGTH
      eps            30
      aeps          100
      one           969   811
      zero          969   811
      plead        1097
      gap          114605
      toggle_bit      2
          begin codes
              Go                       0x00000000000017BB
              Power                    0x00000000000017BD
              TV                       0x000000000000179C
              Videos                   0x0000000000001798
              Music                    0x0000000000001799
              Pictures                 0x000000000000179A
              Guide                    0x000000000000179B
              Radio                    0x000000000000178C
              Up                       0x0000000000001794
              Left                     0x0000000000001796
              Right                    0x0000000000001797
              Down                     0x0000000000001795
              OK                       0x00000000000017A5
              Back/Exit                0x000000000000179F
              Menu/i                   0x000000000000178D
              Vol+                     0x0000000000001790
              Vol-                     0x0000000000001791
              Prev.Ch                  0x0000000000001792
              Mute                     0x000000000000178F
              Ch+                      0x00000000000017A0
              Ch-                      0x00000000000017A1
              Record                   0x00000000000017B7
              Stop                     0x00000000000017B6
              Rewind                   0x00000000000017B2
              Play                     0x00000000000017B5
              Forward                  0x00000000000017B4
              Replay/SkipBackward      0x00000000000017A4
              Pause                    0x00000000000017B0
              SkipForward              0x000000000000179E
              1                        0x0000000000001781
              2                        0x0000000000001782
              3                        0x0000000000001783
              4                        0x0000000000001784
              5                        0x0000000000001785
              6                        0x0000000000001786
              7                        0x0000000000001787
              8                        0x0000000000001788
              9                        0x0000000000001789
              Asterix                  0x000000000000178A
              0                        0x0000000000001780
              #                        0x000000000000178E
              Red                      0x000000000000178B
              Green                    0x00000000000017AE
              Yellow                   0x00000000000017B8
              Blue                     0x00000000000017A9
          end codes
    end remote
    $ sudo systemctl restart lircd.service
    $ irw
    [I can press what I want, nothing]
    $ sudo ir-keytable
    Found /sys/class/rc/rc0/ (/dev/input/event11) with:
        Driver ir-kbd-i2c, table rc-hauppauge
        Supported protocols: RC-5
        Enabled protocols: RC-5
        Name: i2c IR (Hauppauge WinTV PVR-350
        bus: 24, vendor/product: 0000:0000, version: 0x0000
        Repeat delay = 500 ms, repeat period = 125 ms
    Any help is appreciated!
    Last edited by chnuebi (2013-02-12 12:20:01)

    Hell YEAH!!
    /etc/systemd/system/lircd.service
    [Unit]
    Description=LIRC Daemon
    After=network.target
    [Service]
    Type=forking
    EnvironmentFile=/etc/conf.d/lircd.conf
    PIDFile=/run/lirc/lircd.pid
    ExecStartPre=/bin/mkdir -p /run/lirc
    ExecStartPre=/bin/rm -f /dev/lircd
    ExecStartPre=/bin/rm -f /run/lirc/lircd
    ExecStartPre=/bin/ln -s /run/lirc/lircd /dev/lircd
    ExecStart=/usr/sbin/lircd -d $LIRC_DEVICE -P /run/lirc/lircd.pid -H $LIRC_DRIVER $LIRC_CONFIGFILE
    ExecStopPost=/bin/rm -f /dev/lircd
    ExecStopPost=/bin/rm -fR /run/lirc
    [Install]
    WantedBy=multi-user.target
    In addition it seems i loaded the wrong driver.
    /etc/conf.d/lircd.conf
    LIRC_DEVICE="/dev/lirc0"
    LIRC_DRIVER="default"
    #LIRC_MODULES="ir-kbd-i2c lirc_dev"
    #LIRC_MODULES="lirc_i2c lirc_dev"
    LIRC_EXTRAOPTS=""
    LIRC_CONFIGFILE="/etc/lirc/lircd.conf"
    /etc/modules-load.d/lirc.conf
    #ir-kbd-i2c
    lirc_i2c
    lirc_dev
    so /dev/lirc0 gets created (did it over /dev/input)
    Thank you soo much -> moving forward to xbmc mappings (8

  • [SOLVED]Tuner stoped working after kernel update (2.6.25)

    I upgraded kernel 2.6.24 to 2.6.25 and my Hauppauge WINTV tuner stopped working. Although it was recognized as I show in dmesg I had the following error "tuner 1-0061: tuner type not set". I downgraded to kernel 2.6.24 (and also downgraded nvidia and lirc packages which were dependencies) and the tuner works fine. This time tuner type is set correctly "tuner 1-0061: type set to Philips PAL/SECAM m" What should I do to make it work with newest kernel?
    This is some info from dmesg relevant to my tuner card.
    cx88[0]: subsystem: 0070:3401, board: Hauppauge WinTV 34xxx models [card=1,autodetected]
    cx88[0]: TV tuner type -1, Radio tuner type -1
    cx2388x alsa driver version 0.0.6 loaded
    tveeprom 1-0050: Hauppauge model 34519, rev J260, serial# 10439851
    tveeprom 1-0050: tuner model is LG S001D MK3 (idx 60, type 38)
    tveeprom 1-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
    tveeprom 1-0050: audio processor is CX880 (idx 30)
    tveeprom 1-0050: has radio
    cx88[0]: hauppauge eeprom: model=34519
    input: cx88 IR (Hauppauge WinTV 34xxx as /devices/pci0000:00/0000:00:1e.0/0000:05:00.0/input/input6
    lp0: using parport0 (interrupt-driven).
    cx88[0]/0: found at 0000:05:00.0, rev: 5, irq: 23, latency: 32, mmio: 0xfa000000
    tuner 1-0043: chip found @ 0x86 (cx88[0])
    tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner)
    tuner 1-0043: type set to tda9887
    tuner 1-0061: chip found @ 0xc2 (cx88[0])
    tuner-simple 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
    tuner 1-0061: type set to Philips PAL/SECAM m
    tuner-simple 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
    tuner 1-0061: type set to Philips PAL/SECAM m
    cx88[0]/0: registered device video0 [v4l2]
    cx88[0]/0: registered device vbi0
    cx88[0]/0: registered device radio0
    cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
    NVRM: loading NVIDIA UNIX x86 Kernel Module 169.12 Thu Feb 14 17:53:07 PST 2008
    Last edited by axel (2008-06-16 18:13:23)

    I tried the latest 2.26.5.6 kernel and I get the same tuner 1-0061: tuner type not set message. This time when I open xawtv I can watch the first channel in my list, but I can't change between channels. Radio doesn't work at all.
    Below I include modules that are loaded in kernel .25 and after that those loaded with the working .24 one. Any ideas?
    kernel 2.6.25
    Module Size Used by
    ac 4484 0
    acpi_cpufreq 7692 0
    agpgart 28244 2 intel_agp,nvidia
    ahci 25224 0
    ata_generic 5636 0
    ata_piix 17668 5
    battery 10372 0
    btcx_risc 4488 3 cx8800,cx88_alsa,cx88xx
    button 6416 0
    cdrom 33952 1 sr_mod
    compat_ioctl32 1536 1 cx8800
    coretemp 6400 0
    cpufreq_ondemand 7180 2
    crc_itu_t 2304 1 firewire_core
    cx8800 28956 0
    cx88_alsa 10504 1
    cx88xx 59560 2 cx8800,cx88_alsa
    dock 7952 1 libata
    ehci_hcd 33804 0
    evdev 9472 4
    ext3 124040 4
    fan 4356 0
    ff_memless 5128 1 usbhid
    firewire_core 36928 1 firewire_ohci
    firewire_ohci 16512 0
    freq_table 4112 2 cpufreq_ondemand,acpi_cpufreq
    hid 39296 1 usbhid
    hwmon_vid 3328 1 it87
    i2c_algo_bit 6020 1 cx88xx
    i2c_core 19348 17 tuner,tea5767,tda8290,tda18271,tda827x,tuner_xc2028,xc5000,tda9887,tuner_simple,mt20xx,tea5761,cx88xx,i2c_algo_bit,tveeprom,v4l2_common,i2c_i801,nvidia
    i2c_i801 9232 0
    ieee1394 79288 1 ohci1394
    intel_agp 23740 0
    ipv6 256196 10
    ir_common 32772 1 cx88xx
    it87 19856 0
    jbd 44052 1 ext3
    libata 142096 5 pata_acpi,ata_piix,ahci,ata_generic,pata_jmicron
    lp 9444 0
    mbcache 7172 1 ext3
    mt20xx 12040 1 tuner
    nvidia 7096356 30
    ohci1394 28720 0
    parport 31596 3 parport_pc,ppdev,lp
    parport_pc 34884 1
    pata_acpi 4992 0
    pata_jmicron 4224 0
    pcspkr 2816 0
    ppdev 7556 0
    ppp_generic 24348 0
    processor 32096 2 thermal,acpi_cpufreq
    r8169 25476 0
    rtc_cmos 9120 0
    rtc_core 15516 1 rtc_cmos
    rtc_lib 2944 1 rtc_core
    scsi_mod 92204 4 sg,sd_mod,sr_mod,libata
    sd_mod 23320 6
    sg 27188 0
    slhc 6016 1 ppp_generic
    snd 46628 14 cx88_alsa,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
    snd_hda_intel 336440 1
    snd_hwdep 7428 1 snd_hda_intel
    snd_mixer_oss 14848 1 snd_pcm_oss
    snd_page_alloc 8072 2 snd_hda_intel,snd_pcm
    snd_pcm 68228 3 cx88_alsa,snd_hda_intel,snd_pcm_oss
    snd_pcm_oss 38656 0
    snd_seq 48432 4 snd_seq_oss,snd_seq_midi_event
    snd_seq_device 6796 2 snd_seq_oss,snd_seq
    snd_seq_midi_event 6656 1 snd_seq_oss
    snd_seq_oss 30336 0
    snd_timer 19848 2 snd_seq,snd_pcm
    soundcore 6496 1 snd
    sr_mod 15300 0
    tda18271 31496 1 tda8290
    tda827x 10116 1 tda8290
    tda8290 12676 1 tuner
    tda9887 9348 1 tuner
    tea5761 4868 1 tuner
    tea5767 6404 1 tuner
    thermal 15260 0
    tuner 35296 0
    tuner_simple 8712 1 tuner
    tuner_xc2028 19984 1 tuner
    tveeprom 14608 1 cx88xx
    uhci_hcd 22288 0
    usbcore 129776 4 usbhid,ehci_hcd,uhci_hcd
    usbhid 42944 0
    v4l1_compat 13956 1 videodev
    v4l2_common 10624 2 tuner,cx8800
    videobuf_core 15876 3 cx8800,cx88xx,videobuf_dma_sg
    videobuf_dma_sg 11396 3 cx8800,cx88_alsa,cx88xx
    videodev 31616 3 tuner,cx8800,cx88xx
    xc5000 10244 1 tuner
    kernel 2.6.24
    Module Size Used by
    ac 4612 0
    acpi_cpufreq 11292 0
    agpgart 28120 2 nvidia,intel_agp
    ahci 23812 0
    ata_generic 5380 0
    ata_piix 14852 5
    battery 10756 0
    btcx_risc 4488 3 cx88_alsa,cx8800,cx88xx
    button 6544 0
    cdrom 34080 1 sr_mod
    compat_ioctl32 1536 1 cx8800
    cpufreq_ondemand 7180 2
    crc_itu_t 2304 1 firewire_core
    cx8800 29104 0
    cx88_alsa 10376 1
    cx88xx 58792 2 cx88_alsa,cx8800
    ehci_hcd 33804 0
    evdev 9344 4
    ext3 124040 4
    fan 3844 0
    ff_memless 5128 1 usbhid
    firewire_core 36800 1 firewire_ohci
    firewire_ohci 16000 0
    freq_table 4112 2 cpufreq_ondemand,acpi_cpufreq
    hid 38272 1 usbhid
    hwmon_vid 3328 1 it87
    i2c_algo_bit 6020 1 cx88xx
    i2c_core 19584 11 tuner,tea5767,tda8290,tuner_simple,mt20xx,tea5761,cx88xx,i2c_algo_bit,tveeprom,i2c_i801,nvidia
    i2c_i801 8848 0
    ieee1394 81464 1 ohci1394
    intel_agp 22164 0
    ipv6 253764 10
    ir_common 30724 1 cx88xx
    it87 18060 0
    jbd 44308 1 ext3
    libata 141424 5 pata_acpi,ata_piix,ahci,ata_generic,pata_jmicron
    lp 9220 0
    mbcache 7168 1 ext3
    mt20xx 11912 1 tuner
    nvidia 7817696 28
    ohci1394 28976 0
    parport 31560 3 parport_pc,ppdev,lp
    parport_pc 35300 1
    pata_acpi 5248 0
    pata_jmicron 4352 0
    pcspkr 2944 0
    ppdev 7556 0
    ppp_generic 24596 0
    processor 29144 2 thermal,acpi_cpufreq
    r8169 25732 0
    rtc_cmos 7712 0
    rtc_core 15752 1 rtc_cmos
    rtc_lib 3072 1 rtc_core
    sd_mod 23168 6
    sg 26896 0
    slhc 6016 1 ppp_generic
    snd 46436 14 cx88_alsa,snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
    snd_hda_intel 292000 1
    snd_hwdep 7556 1 snd_hda_intel
    snd_mixer_oss 14848 1 snd_pcm_oss
    snd_page_alloc 8072 2 snd_hda_intel,snd_pcm
    snd_pcm 70404 3 cx88_alsa,snd_hda_intel,snd_pcm_oss
    snd_pcm_oss 38432 0
    snd_seq 48464 4 snd_seq_oss,snd_seq_midi_event
    snd_seq_device 6796 2 snd_seq_oss,snd_seq
    snd_seq_midi_event 6656 1 snd_seq_oss
    snd_seq_oss 30336 0
    snd_timer 19588 2 snd_seq,snd_pcm
    soundcore 6496 1 snd
    sr_mod 15268 0
    tda8290 11140 1 tuner
    tea5761 4740 1 tuner
    tea5767 5636 1 tuner
    thermal 12956 0
    tuner 40224 0
    tuner_simple 8584 1 tuner
    tveeprom 14736 1 cx88xx
    uhci_hcd 23312 0
    usbcore 128620 4 usbhid,uhci_hcd,ehci_hcd
    usbhid 42560 0
    v4l1_compat 13828 1 videodev
    v4l2_common 16256 4 tuner,cx8800,cx88xx,videodev
    videobuf_core 15620 3 cx8800,cx88xx,videobuf_dma_sg
    videobuf_dma_sg 11524 3 cx88_alsa,cx8800,cx88xx
    videodev 26624 2 cx8800,cx88xx

  • [SOLVED]problem with Bumblebee and Kernel 3.11-1-2

    Hi!
    I'm having problems with Bumblebee from Kernel 3.10 but I read that Kernel 3.11 solved the problem, I searched and tried possible solutions to my problem unsuccessfully
    The message shows me when I run "optirun":
    [ 5454.262739] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.
    [ 5454.262776] [ERROR]Aborting because fallback start is disabled.
    I've tried with wiki's solutions, forums solutions...
    Configurations files:
    /etc/bumblebee/bumblebee.conf:
    # Configuration file for Bumblebee. Values should **not** be put between quotes
    ## Server options. Any change made in this section will need a server restart
    # to take effect.
    [bumblebeed]
    # The secondary Xorg server DISPLAY number
    VirtualDisplay=:8
    # Should the unused Xorg server be kept running? Set this to true if waiting
    # for X to be ready is too long and don't need power management at all.
    KeepUnusedXServer=false
    # The name of the Bumbleblee server group name (GID name)
    ServerGroup=bumblebee
    # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
    # server exits.
    TurnCardOffAtExit=false
    # The default behavior of '-f' option on optirun. If set to "true", '-f' will
    # be ignored.
    NoEcoModeOverride=false
    # The Driver used by Bumblebee server. If this value is not set (or empty),
    # auto-detection is performed. The available drivers are nvidia and nouveau
    # (See also the driver-specific sections below)
    Driver=
    # Directory with a dummy config file to pass as a -configdir to secondary X
    XorgConfDir=/etc/bumblebee/xorg.conf.d
    ## Client options. Will take effect on the next optirun executed.
    [optirun]
    # Acceleration/ rendering bridge, possible values are auto, virtualgl and
    # primus.
    Bridge=virtualgl
    # The method used for VirtualGL to transport frames between X servers.
    # Possible values are proxy, jpeg, rgb, xv and yuv.
    VGLTransport=proxy
    # List of paths which are searched for the primus libGL.so.1 when using
    # the primus bridge
    PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
    # Should the program run under optirun even if Bumblebee server or nvidia card
    # is not available?
    AllowFallbackToIGC=false
    # Driver-specific settings are grouped under [driver-NAME]. The sections are
    # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
    # detection resolves to NAME).
    # PMMethod: method to use for saving power by disabling the nvidia card, valid
    # values are: auto - automatically detect which PM method to use
    # bbswitch - new in BB 3, recommended if available
    # switcheroo - vga_switcheroo method, use at your own risk
    # none - disable PM completely
    # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
    ## Section with nvidia driver specific options, only parsed if Driver=nvidia
    [driver-nvidia]
    # Module name to load, defaults to Driver if empty or unset
    KernelDriver=nvidia
    PMMethod=auto
    # colon-separated path to the nvidia libraries
    LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
    # comma-separated path of the directory containing nvidia_drv.so and the
    # default Xorg modules path
    XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules
    XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
    ## Section with nouveau driver specific options, only parsed if Driver=nouveau
    [driver-nouveau]
    KernelDriver=nouveau
    PMMethod=auto
    XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
    /etc/bumblebee/xorg.conf.nvidia
    Section "ServerLayout"
    Identifier "Layout0"
    Option "AutoAddDevices" "false"
    Option "AutoAddGPU" "false"
    EndSection
    Section "Device"
    Identifier "DiscreteNvidia"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    # If the X server does not automatically detect your VGA device,
    # you can manually set it here.
    # To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
    # as you see in the commented example.
    # This Setting may be needed in some platforms with more than one
    # nvidia card, which may confuse the proprietary driver (e.g.,
    # trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
    BusID "PCI:01:00.0"
    # Setting ProbeAllGpus to false prevents the new proprietary driver
    # instance spawned to try to control the integrated graphics card,
    # which is already being managed outside bumblebee.
    # This option doesn't hurt and it is required on platforms running
    # more than one nvidia graphics card with the proprietary driver.
    # (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
    # If this option is not set, the new Xorg may blacken the screen and
    # render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
    EndSection
    lspci |grep NVIDIA:
    01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 640M] (rev a1)
    I hope can help me
    Thanks!
    Last edited by surrealistic (2013-11-04 18:46:35)

    My /var/log/Xorg.8.log:
    [ 337.161]
    X.Org X Server 1.14.4
    Release Date: 2013-10-31
    [ 337.161] X Protocol Version 11, Revision 0
    [ 337.161] Build Operating System: Linux 3.11.6-1-ARCH x86_64
    [ 337.161] Current Operating System: Linux h131h-laptop 3.11.6-1-ARCH #1 SMP PREEMPT Fri Oct 18 23:22:36 CEST 2013 x86_64
    [ 337.161] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=4eb69984-2228-4aba-9863-28a7fa854e51 rw quiet
    [ 337.161] Build Date: 01 November 2013 05:10:48PM
    [ 337.161]
    [ 337.161] Current version of pixman: 0.30.2
    [ 337.161] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 337.161] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 337.161] (==) Log file: "/var/log/Xorg.8.log", Time: Mon Nov 4 14:20:04 2013
    [ 337.161] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
    [ 337.161] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
    [ 337.161] (==) ServerLayout "Layout0"
    [ 337.161] (==) No screen section available. Using defaults.
    [ 337.161] (**) |-->Screen "Default Screen Section" (0)
    [ 337.161] (**) | |-->Monitor "<default monitor>"
    [ 337.161] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
    [ 337.161] (**) | |-->Device "DiscreteNvidia"
    [ 337.161] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 337.161] (**) Option "AutoAddDevices" "false"
    [ 337.161] (**) Option "AutoAddGPU" "false"
    [ 337.161] (**) Not automatically adding devices
    [ 337.161] (==) Automatically enabling devices
    [ 337.161] (**) Not automatically adding GPU devices
    [ 337.161] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 337.162] Entry deleted from font path.
    [ 337.162] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 337.162] Entry deleted from font path.
    [ 337.162] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 337.162] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 337.162] Entry deleted from font path.
    [ 337.162] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 337.162] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/
    [ 337.162] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
    [ 337.162] (==) |-->Input Device "<default pointer>"
    [ 337.162] (==) |-->Input Device "<default keyboard>"
    [ 337.162] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
    [ 337.162] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
    [ 337.162] (II) Loader magic: 0x7fdc20
    [ 337.162] (II) Module ABI versions:
    [ 337.162] X.Org ANSI C Emulation: 0.4
    [ 337.162] X.Org Video Driver: 14.1
    [ 337.162] X.Org XInput driver : 19.1
    [ 337.162] X.Org Server Extension : 7.0
    [ 337.162] (II) xfree86: Adding drm device (/dev/dri/card1)
    [ 337.162] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 337.162] setversion 1.4 failed
    [ 337.163] (--) PCI:*(0:1:0:0) 10de:0fd2:1025:0648 rev 161, Mem @ 0xb2000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00002000/128
    [ 337.163] Initializing built-in extension Generic Event Extension
    [ 337.163] Initializing built-in extension SHAPE
    [ 337.163] Initializing built-in extension MIT-SHM
    [ 337.163] Initializing built-in extension XInputExtension
    [ 337.163] Initializing built-in extension XTEST
    [ 337.163] Initializing built-in extension BIG-REQUESTS
    [ 337.163] Initializing built-in extension SYNC
    [ 337.163] Initializing built-in extension XKEYBOARD
    [ 337.163] Initializing built-in extension XC-MISC
    [ 337.163] Initializing built-in extension SECURITY
    [ 337.163] Initializing built-in extension XINERAMA
    [ 337.163] Initializing built-in extension XFIXES
    [ 337.163] Initializing built-in extension RENDER
    [ 337.163] Initializing built-in extension RANDR
    [ 337.164] Initializing built-in extension COMPOSITE
    [ 337.164] Initializing built-in extension DAMAGE
    [ 337.164] Initializing built-in extension MIT-SCREEN-SAVER
    [ 337.164] Initializing built-in extension DOUBLE-BUFFER
    [ 337.164] Initializing built-in extension RECORD
    [ 337.164] Initializing built-in extension DPMS
    [ 337.164] Initializing built-in extension X-Resource
    [ 337.164] Initializing built-in extension XVideo
    [ 337.164] Initializing built-in extension XVideo-MotionCompensation
    [ 337.164] Initializing built-in extension XFree86-VidModeExtension
    [ 337.164] Initializing built-in extension XFree86-DGA
    [ 337.164] Initializing built-in extension XFree86-DRI
    [ 337.164] Initializing built-in extension DRI2
    [ 337.164] (II) LoadModule: "glx"
    [ 337.164] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
    [ 337.172] (II) Module glx: vendor="NVIDIA Corporation"
    [ 337.172] compiled for 4.0.2, module version = 1.0.0
    [ 337.172] Module class: X.Org Server Extension
    [ 337.172] (II) NVIDIA GLX Module 325.15 Wed Jul 31 18:12:00 PDT 2013
    [ 337.172] Loading extension GLX
    [ 337.172] (II) LoadModule: "nvidia"
    [ 337.172] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 337.172] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 337.172] compiled for 4.0.2, module version = 1.0.0
    [ 337.172] Module class: X.Org Video Driver
    [ 337.172] (II) LoadModule: "mouse"
    [ 337.172] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
    [ 337.172] (II) Module mouse: vendor="X.Org Foundation"
    [ 337.172] compiled for 1.14.0, module version = 1.9.0
    [ 337.172] Module class: X.Org XInput Driver
    [ 337.172] ABI class: X.Org XInput driver, version 19.1
    [ 337.172] (II) LoadModule: "kbd"
    [ 337.173] (WW) Warning, couldn't open module kbd
    [ 337.173] (II) UnloadModule: "kbd"
    [ 337.173] (II) Unloading kbd
    [ 337.173] (EE) Failed to load module "kbd" (module does not exist, 0)
    [ 337.173] (II) NVIDIA dlloader X Driver 325.15 Wed Jul 31 17:50:57 PDT 2013
    [ 337.173] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 337.173] (--) using VT number 1
    [ 337.173] (II) Loading sub module "fb"
    [ 337.173] (II) LoadModule: "fb"
    [ 337.173] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 337.173] (II) Module fb: vendor="X.Org Foundation"
    [ 337.173] compiled for 1.14.4, module version = 1.0.0
    [ 337.173] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 337.173] (WW) Unresolved symbol: fbGetGCPrivateKey
    [ 337.173] (II) Loading sub module "wfb"
    [ 337.173] (II) LoadModule: "wfb"
    [ 337.173] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 337.173] (II) Module wfb: vendor="X.Org Foundation"
    [ 337.173] compiled for 1.14.4, module version = 1.0.0
    [ 337.173] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 337.173] (II) Loading sub module "shadow"
    [ 337.173] (II) LoadModule: "shadow"
    [ 337.173] (II) Loading /usr/lib/xorg/modules/libshadow.so
    [ 337.173] (II) Module shadow: vendor="X.Org Foundation"
    [ 337.173] compiled for 1.14.4, module version = 1.1.0
    [ 337.173] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 337.173] (II) Loading sub module "ramdac"
    [ 337.173] (II) LoadModule: "ramdac"
    [ 337.173] (II) Module "ramdac" already built-in
    [ 337.174] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 337.174] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
    [ 337.174] (==) NVIDIA(0): RGB weight 888
    [ 337.174] (==) NVIDIA(0): Default visual is TrueColor
    [ 337.174] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 337.174] (**) NVIDIA(0): Option "NoLogo" "true"
    [ 337.174] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
    [ 337.174] (**) NVIDIA(0): Option "UseEDID" "false"
    [ 337.174] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
    [ 337.174] (**) NVIDIA(0): Enabling 2D acceleration
    [ 337.174] (**) NVIDIA(0): Ignoring EDIDs
    [ 337.174] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
    [ 337.174] (**) NVIDIA(0): mode
    [ 341.309] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
    [ 341.309] (EE) NVIDIA(0): check your system's kernel log for additional error
    [ 341.309] (EE) NVIDIA(0): messages and refer to Chapter 8: Common Problems in the
    [ 341.309] (EE) NVIDIA(0): README for additional information.
    [ 341.309] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
    [ 341.309] (EE) NVIDIA(0): Failing initialization of X screen 0
    [ 341.309] (II) UnloadModule: "nvidia"
    [ 341.309] (II) UnloadSubModule: "shadow"
    [ 341.309] (II) UnloadSubModule: "wfb"
    [ 341.309] (II) UnloadSubModule: "fb"
    [ 341.309] (EE) Screen(s) found, but none have a usable configuration.
    [ 341.309] (EE)
    Fatal server error:
    [ 341.309] (EE) no screens found(EE)
    [ 341.309] (EE)
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 341.309] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
    [ 341.309] (EE)
    [ 341.309] (EE) Server terminated with error (1). Closing log file.
    dmesg |grep bbswitch:
    [ 13.570577] bbswitch: version 0.7
    [ 13.570585] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
    [ 13.570591] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
    [ 13.570687] bbswitch: detected an Optimus _DSM function
    [ 13.570741] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
    [ 13.572354] bbswitch: disabling discrete graphics
    [ 261.419114] bbswitch: enabling discrete graphics
    [ 278.445698] bbswitch: disabling discrete graphics
    [ 279.055257] bbswitch: enabling discrete graphics
    [ 286.292315] bbswitch: disabling discrete graphics
    [ 291.911052] bbswitch: enabling discrete graphics
    [ 310.011289] bbswitch: disabling discrete graphics
    [ 336.982794] bbswitch: enabling discrete graphics
    [ 349.526470] bbswitch: enabling discrete graphics
    I used "rcutree" option as shown in the post that you put, but I've deleted all changes made to use default configurations, because the solution of the post didn't work

  • [SOLVED] XBMC-standalone and LIRC

    Hello everyone,
    I have been fiddling around with a minimal Arch setup to just run XBMC. So I installed it and enabled the systemd service. Everything works just fine. So I installed lird and a self-compiled kernel module for the XboxDVDDongle which works just fine with lird, when I test it with 'irw'. But how can I tell XBMC to use my xbox dongle as input? Since I don't really know how to manually confgure XBMC because in standalone mode one does not have a '~/.xbmc' folder anywhere. I am a bitepuzzled here. Can anyone shed some light on this matter? Thanks in advance!
    Last edited by Labello (2013-11-19 19:11:55)

    I recently fussed with getting this working myself, and in my case apparently the issue lies in XBMC itself; it expects a /dev/lircd when there isn't one in newer LIRC versions such as Arch use.
    Try copying the stock lirc.service to /etc/systemd/system/ and modifying it as follows:
    [Unit]
    Description=Linux Infrared Remote Control
    After=network.target
    [Service]
    Type=forking
    ExecStartPre=/usr/bin/mkdir -p /run/lirc
    ExecStartPre=/usr/bin/ln -sf /run/lirc/lircd /dev/lircd
    PIDFile=/run/lirc/lircd.pid
    ExecStart=/usr/sbin/lircd --driver=default --device=/dev/lirc0
    [Install]
    WantedBy=multi-user.target
    Then try rebooting and/or restarting XBMC and the LIRC service.
    Relevant bit is only this one.
    ExecStartPre=/usr/bin/ln -sf /run/lirc/lircd /dev/lircd
    I added the other ExecStartPre due to some odd issues with /run/lirc not being created like 1 out of every 10 boots, not entirely relevant to this specific issue.
    Thanks go to this thread for the original solution!
    Last edited by aqtrans (2013-11-19 10:39:37)

  • Kernel oops, then panic, then catastrophic crash when using ethernet

    I'm running arch on my laptop, using netcfg to manage networks. I can connect with no problems using wireless, to any kind of wireless network, which is what I've been doing most of the time, as my house until recently only had wireless in the first place.
    A few months ago I was at a friend's house, and we hooked up my computer to their wired internet. Within about a minute or two, while I was still in tty1, the screen flickered briefly, dumped out a bunch of messages (three or so, I didn't get a chance to look clearly) that said "uuuhhhh... Dazed and trying to continue." Then it did a panic, and dumped the panic message. About a second after that, the screen became frenetic and staticy and it starting blurring and stretching the display (hopefully someone else knows what I'm talking about because i can't really describe it any better). Never before have I had THAT part happen on a kernel panic.
    I just ignored it because wireless works fine, so I figured maybe something was odd about their network. That was a few months ago.
    Recently I installed wired connections in my own house and connected it... Same thing. Every time. It could take thirty seconds to happen, it could wait about twenty minutes... But eventually, the computer WILL go down.
    I thought it might have something to do with hardware interrupts, because when I logged dmesg and tried to make it happen again it kept mentioning irqs and PS1 (my mouse i think). But I don't know. It doesn't mention a panic in the log, nor an oops... Nothing. The log just ends.
    Here is a link to the file I dumped it into: http://pastebin.com/kXp3P3GG
    Anything else I should check?
    --Scott
    Edit: There's a good chance this belongs in hardware.
    Last edited by scott_fakename (2013-04-01 04:56:12)

    So I tried upgrading my BIOS with a CD i got from the toshiba website. I tried numerous different kernel options... Turning off ACPI in various ways (pci=noacpi, acpi=noirq...) prevent it from crashing but disable network access.
    I did notice a more clear look at the oops. It said that it was due to "unknown reason 3d." Does that mean anything? And it said "do you have a strange power management setup?" or something very like that. I do have laptop-mode-utils installed, but I don't see any mention of any problem like this around the documentation of laptopmodeutils. Is that a possibility?
    Does it make sense to install something like irqbalance, or isapnp? Does that have any chance of changing anything?
    Also, I don't know if it's normal but when I boot the usual way, and then cat /proc/interrupts, I get:
    CPU0 CPU1
    0: 54 0 IO-APIC-edge timer
    1: 76 3990 IO-APIC-edge i8042
    7: 1 0 IO-APIC-edge
    8: 0 1 IO-APIC-edge rtc0
    9: 0 0 IO-APIC-fasteoi acpi
    12: 1767 55866 IO-APIC-edge i8042
    16: 325 8747 IO-APIC-fasteoi snd_hda_intel, rtlwifi
    17: 2 105 IO-APIC-fasteoi ehci_hcd:usb1, ehci_hcd:usb2, ehci_hcd:usb3
    18: 0 0 IO-APIC-fasteoi ohci_hcd:usb4, ohci_hcd:usb5, ohci_hcd:usb6
    19: 189 18898 IO-APIC-fasteoi ahci
    40: 67 1526 PCI-MSI-edge radeon
    NMI: 9 11 Non-maskable interrupts
    LOC: 103574 108430 Local timer interrupts
    SPU: 0 0 Spurious interrupts
    PMI: 9 11 Performance monitoring interrupts
    IWI: 0 0 IRQ work interrupts
    RTR: 0 0 APIC ICR read retries
    RES: 132336 108518 Rescheduling interrupts
    CAL: 40 26 Function call interrupts
    TLB: 5690 2069 TLB shootdowns
    TRM: 0 0 Thermal event interrupts
    THR: 0 0 Threshold APIC interrupts
    MCE: 0 0 Machine check exceptions
    MCP: 5 5 Machine check polls
    ERR: 1
    MIS: 0
    Then if I plug in the ethernet (still booted the normal way) it adds a line directly below radeon (video card) that says 41 blah blah PCI-MSI=edge eth0 where blah blah are numbers. These are the only two devices like that, but I don't know if that's normal.
    I'm grateful for the help.
    Thanks,
    --Scott

  • [SOLVED] Device not found and kernel panic

    Hi,
    I'm having an issue with the kernel. I get this weird error while booting:
    Booting the kernel.
    :: running early hook [udev]
    :: running hook [udev]
    :: Triggering uevents...
    ERROR: device '' not found. Skipping fsck.
    ERROR: Unable to find root device ''.
    You are being dropped to a recovery shell
    Type 'exit' to try and continue booting
    sh: can't access tty: job control turned off
    [rootfs /]# _
    I don't have the slightest idea what to type in that shell, so I exit (^D) and get an error with its shell, another one and finally a kernel panic. Do I have to report the other two error as well? I think this might be related to a recent change in my syslinux.cfg. I wanted to add hibernation cabability to my arch, so I added "resume=/dev/sda2" (my swap) to kernel options. It should not yield such a result though. As a matter of fact, I get it even if I remove that parameter at runtime. For now, I managed to boot with Fallback Initramfs.
    Here is syslinux.cfg, as well:
    # Config file for Syslinux -
    # /boot/syslinux/syslinux.cfg
    # Comboot modules:
    # * menu.c32 - provides a text menu
    # * vesamenu.c32 - provides a graphical menu
    # * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
    # * hdt.c32 - hardware detection tool
    # * reboot.c32 - reboots the system
    # * poweroff.com - shutdown the system
    # To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
    # If /usr and /boot are on the same file system, symlink the files instead
    # of copying them.
    # If you do not use a menu, a 'boot:' prompt will be shown and the system
    # will boot automatically after 5 seconds.
    # Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
    # The wiki provides further configuration examples
    DEFAULT arch
    PROMPT 1 # Set to 1 if you always want to display the boot: prompt
    TIMEOUT 50
    # You can create syslinux keymaps with the keytab-lilo tool
    #KBDMAP de.ktl
    # Menu Configuration
    # Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
    UI menu.c32
    #UI vesamenu.c32
    # Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
    MENU TITLE Arch Linux
    #MENU BACKGROUND splash.png
    MENU COLOR border 30;44 #40ffffff #a0000000 std
    MENU COLOR title 1;36;44 #9033ccff #a0000000 std
    MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all
    MENU COLOR unsel 37;44 #50ffffff #a0000000 std
    MENU COLOR help 37;40 #c0ffffff #a0000000 std
    MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std
    MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std
    MENU COLOR msg07 37;40 #90ffffff #a0000000 std
    MENU COLOR tabmsg 31;40 #30ffffff #00000000 std
    # boot sections follow
    # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
    # (0) Arch Linux
    LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/disk/by-uuid/dc891acc-9ff7-4d95-bba4-bc2e502301e7 ro
    APPEND resume=/dev/sda2
    INITRD ../initramfs-linux.img
    # (1) Arch Linux Fallback
    LABEL archfallback
    MENU LABEL Arch Linux Fallback
    LINUX ../vmlinuz-linux
    APPEND root=/dev/disk/by-uuid/dc891acc-9ff7-4d95-bba4-bc2e502301e7 ro
    INITRD ../initramfs-linux-fallback.img
    # (2) Windows
    #LABEL windows
    #COM32 chain.c32
    #APPEND hd0 0
    LABEL hdt
    MENU LABEL HDT (Hardware Detection Tool)
    COM32 hdt.c32
    LABEL reboot
    MENU LABEL Reboot
    COM32 reboot.c32
    LABEL off
    MENU LABEL Power Off
    COMBOOT poweroff.com
    Any ideas?
    Thank you,
    rubik
    Last edited by rubik (2012-07-22 10:03:59)

    Also, don't use "root=/dev/disk/by-uuid/...", that's just wrong. Udev kicks in after the bootloader phase.
    https://wiki.archlinux.org/index.php/Sy … nux_Config
    Here's mine:
    LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=UUID=978e3e81-8048-4ae1-8a06-aa727458e8ff ro quiet vga=current
    INITRD ../initramfs-linux.img
    And don't forget to mark it as solved.

  • [SOLVED] nfsroot install broken after kernel upgrade 3.5.6 to 3.6.2

    It seems my nfsroot installations have broken after the kernel upgrade to 3.6.2.
    This is as far as the boot process gets now (hand copied from the screen):
    IP-Config: eth0 complete (from 10.48.50.20):
    address: 10.48.50.240 broadcast: 10.48.50.255 netmask: 255.255.255.0
    gateway: 0.0.0.0 dns0 : 0.0.0.0 dns1: 0.0.0.0
    domain : local
    rootserver: 10.48.50.20 rootpath:
    filename : /var/tftpboot/pxelinux.0
    NFS-Mount: 10.48.50.20:/srv/nfs4/kvmhost0-rootfs
    Waiting 10 seconds for device /dev/nfs ...
    mount: Protocol not supported
    :: running cleanup hook [udev]
    ERROR: Failed to mount the real root device.
    Bailing out, you are on your own. Good luck.
    sh: can't access tty; job control turned off
    [rootfs /]#
    On the server this is what is logged:
    Oct 16 21:10:04 tuon dhcpd: DHCPDISCOVER from 00:21:70:eb:02:25 via san
    Oct 16 21:10:04 tuon dhcpd: DHCPOFFER on 10.48.50.240 to 00:21:70:eb:02:25 via san
    Oct 16 21:10:04 tuon dhcpd: DHCPREQUEST for 10.48.50.240 (10.48.50.20) from 00:21:70:eb:02:25 via san
    Oct 16 21:10:04 tuon dhcpd: DHCPACK on 10.48.50.240 to 00:21:70:eb:02:25 via san
    Oct 16 21:10:14 tuon rpc.mountd[1323]: authenticated mount request from 10.48.50.240:684 for /srv/nfs4/kvmhost0-rootfs (/srv/nfs4/kvmhost0-rootfs)
    Oct 16 21:10:14 tuon rpc.mountd[1323]: refused unmount request from 10.48.50.240 for /new_root (/): not exported
    It looks to me like the client is sending the mount request, the server accepts and then for some reason the client thinks it has failed. I can't even see anything strange in the wireshark traces comparing the working client (3.5.6) to the broken one (3.6.2).
    Anyone else using nfsroot successfully with the latest kernel?
    Any other ideas?
    (by the way - despite my directory names, this is using nfs v3 for the rootfs)
    Last edited by kmshanah (2012-10-18 03:18:07)

    mikep wrote:
    Just to confirm that I also have this problem with nfsroot (nfs4 this time) with 3.6.2. Downgrading the kernel does make it go away.
    When it is working normally I do seem to get refused unmount messages at shutdown for some reason
    refused unmount request from 192.168.1.86 for / (/): not exported
    , but the /new_root bit is new and I have no idea where it comes from.
    refused unmount request from 192.168.1.86 for /new_root (/): not exported
    So I wonder if it asking for the wrong path.
    That unmount issue will be solved by FS#32021.
    Unfortunately, that doesn't help with mounting in the first place with 3.6.2

  • [SOLVED] Where to find older kernel headers

    Hi,
    I'm currently stuck on kernel 3.8.11-1 x64 on my netbook as kernel 3.9.2 won't boot - basically hangs while grub tries to start the kernel. Had the same issue with Fedora so I know that it's kernel specific....
    Unfortunately my NIC requires that I build the compat-wireless drivers in order to get the alx module in my system. Using the older kernel however, where do I find the headers for it?
    Basically I need to populate my /lib/modules with the 3.8.11-1-ARCH bunch; unfortunately my USB boot stick has version 3.8.10 which won't work.
    Can anyone help me out?
    Also why do the older kernels and related modules etc... get removed so fast from the repo? Shouldn't the older ones be kept for a while at least so if anyone (like me and plenty of others) have issues they can revert back easily without needing to downgrade by finding an older package from somewhere?
    Thanks.
    Last edited by JohnnySSH (2013-05-19 06:22:12)

    Excellent. Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
    Ok did a bit of "housekeeping" and appended [SOLVED] to all my 3 threads so far :-)
    P.s. I like Arch it seems a lot as it's kinda hackery since you have to build from scrach and the chroot install is cool too - I think it suites my style of being very CLI heavy
    Coupled with a 'real' DEC VTxxx terminal not emulation I think Arch would be the best thing since Ethernet!!
    Last edited by JohnnySSH (2013-05-19 06:27:43)

  • [SOLVED]How to load the kernel?

    Hi all
    First I should say that I found the same as my question in the internet bot there were no answer can solve my problem too.
    I just installed my Arch on my new laptop and I can say I am new.
    after all installations and reboot I have grub menu but when I want to boot I face with below error
    "error no such device" ad4103....."
    "loading linux core repo kernel"
    "error: no such partition"
    "loading initial ramdisk"
    "error: you need to load the kernel first"
    I have no access to command line but grub command line.
    How can I get rid of this error?
    Last edited by qaderzade (2014-12-12 18:57:28)

    uh...post your fstab as well as your bootloader configuration. I believe your initramfs is loaded from /boot - if you have that on a separate partition you need to make sure that a) it's specified correctly with the correct device name or UUID in fstab and that b) grub picked up the correct location of your initramfs and kernel when running grub-mkconfig (I'm assuming you did run grub-mkconfig before rebooting). Hopefully I'm not too off base here, but your problem lies somewhere in that area.

Maybe you are looking for

  • Current Patch Set for Oracle Database Release 11.2

    Hi I am upgrading oracle 10G to 11GR2 in AIX 5.3 Environment with SAP ECC6 , I have just just installled Oracle 11.2.0.1.0 according to the "Database Upgrade Guide -Upgrade to Oracle Database 11g Release 2 (11.2): UNIX". After database software insta

  • Another Final Cut Studio 2 question...

    Hey guys, I'm hoping this is the right place to ask this question. A little while ago I had the Academic version of the Production Suite then last year, I bought my MacBook Pro. I upgraded for the Final Cut Studio when they had the promotion to upgra

  • My idvd is not completing multiplexing and writting

    my idvd is not working anymore, as when i burn it cannot complete multiplexing and writing

  • Klipsch D-5.1 with Audigy 2 ZS is

    I've got the Klipsch D-5. surround speakers, and bought a new comptuer equipped with an Audigy 2 ZS card. The back of the control pod only has a left and right analog input, a digital input, and an optical input. When I run the THX surround test in t

  • A issue about iOS7 photo album share

    Hopfuly you guys might understand my English! I am a iOS7 user from china, recently I found a difficult time to use new photo alumb share, when I set up a new share I need select some photos or videos to my share, but every time when i try to select