[SOLVED]Yajl 2.0 disabled yaourt

after upgrading to yajl 2.0 today every yaourt operation about package results in:
package-query: error while loading shared libraries: libyajl.so.1: cannot open shared object file: No such file or directory
is there any temporary way to workaround it without downgrading yajl to 1.x?
Last edited by felixonmars (2011-04-26 09:04:39)

nrempel wrote:
I've encountered the same problem.  I fixed it until yaourt is updated by linking /usr/lib/libyajl.so.2 to /usr/lib/libyajl.so.1.
sudo ln /usr/lib/libyajl.so.2 /usr/lib/libyajl.so.1
Not a particularly good idea. Nevertheless, doing so here results in:
/usr/lib/yaourt/util.sh: line 165: 17233 Segmentation fault package-query "${PKGQUERY_C_ARG[@]}" "$@"
Allan wrote:rebuild the package depending on yajl
Doesn't work.
make all-recursive
make[1]: Entering directory `/home/chris/src/package-query/package-query/src/package-query-0.7'
Making all in src
make[2]: Entering directory `/home/chris/src/package-query/package-query/src/package-query-0.7/src'
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -MT aur.o -MD -MP -MF .deps/aur.Tpo -c -o aur.o aur.c
aur.c: In function ‘aur_json_parse’:
aur.c:427:2: error: unknown type name ‘yajl_parser_config’
aur.c:427:2: warning: excess elements in scalar initializer [enabled by default]
aur.c:427:2: warning: (near initialization for ‘cfg’) [enabled by default]
aur.c:428:2: warning: passing argument 2 of ‘yajl_alloc’ from incompatible pointer type [enabled by default]
/usr/include/yajl/yajl_parse.h:107:26: note: expected ‘struct yajl_alloc_funcs *’ but argument is of type ‘int *’
aur.c:428:2: error: too many arguments to function ‘yajl_alloc’
/usr/include/yajl/yajl_parse.h:107:26: note: declared here
aur.c:430:40: error: ‘yajl_status_insufficient_data’ undeclared (first use in this function)
aur.c:430:40: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [aur.o] Error 1
make[2]: Leaving directory `/home/chris/src/package-query/package-query/src/package-query-0.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chris/src/package-query/package-query/src/package-query-0.7'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Last edited by neurolysis (2011-04-26 05:47:04)

Similar Messages

  • [SOLVED] Alsa: How to disable auto-mute when plugging in headphones?

    I have a set of headphones plugged into my workstation permanently (the headphone jack is hard to reach so I don't want to plug those headphones in and out) as well as some speakers. Jack sensing works perfectly - when I unplug the headphones, the speakers are unmuted and when I plug the headphones back in the speakers are muted. Now as I said, my headphones are plugged in permanently and occasionally I want to have sound on the speakers at the same time. So far I have not found a way to have both headphones and speakers unmuted simultaneously.
    I originally thought this was a problem with Pulseaudio (I am using Cinnamon as my desktop) but when I directly go to the Alsa hw device I get exactly the same behavior. The sound chip is a built-in VIA VT1818S and aplay displays the correct cards and devices:
    $ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: SB [HDA ATI SB], device 0: VT1818S Analog [VT1818S Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: SB [HDA ATI SB], device 1: VT1818S Digital [VT1818S Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: SB [HDA ATI SB], device 2: VT1818S HP [VT1818S HP]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    I verified with "mpg123 -a hw:0,0" that I get no sound on the speakers when the headphones are plugged in and vice versa. I tried a lot of different settings with alsamixer and amixer to no avail. These are my current settings:
    $ amixer -c 0 contents
    numid=42,iface=CARD,name='Front Headphone Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=on
    numid=44,iface=CARD,name='Front Mic Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=off
    numid=46,iface=CARD,name='HDMI Phantom Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=on
    numid=45,iface=CARD,name='Line Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=off
    numid=40,iface=CARD,name='Line Out CLFE Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=off
    numid=38,iface=CARD,name='Line Out Front Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=on
    numid=41,iface=CARD,name='Line Out Side Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=off
    numid=39,iface=CARD,name='Line Out Surround Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=off
    numid=43,iface=CARD,name='Rear Mic Jack'
    ; type=BOOLEAN,access=r-------,values=1
    : values=off
    numid=47,iface=CARD,name='SPDIF Phantom Jack',index=1
    ; type=BOOLEAN,access=r-------,values=1
    : values=on
    numid=37,iface=MIXER,name='Master Playback Switch'
    ; type=BOOLEAN,access=rw------,values=1
    : values=on
    numid=36,iface=MIXER,name='Master Playback Volume'
    ; type=INTEGER,access=rw---R--,values=1,min=0,max=42,step=0
    : values=23
    | dBscale-min=-63.00dB,step=1.50dB,mute=0
    numid=13,iface=MIXER,name='Headphone Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=12,iface=MIXER,name='PCM Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=11,iface=MIXER,name='PCM Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=31,31
    | dBscale-min=-34.50dB,step=1.50dB,mute=0
    numid=28,iface=MIXER,name='Front Mic Boost Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
    : values=0,0
    | dBscale-min=0.00dB,step=10.25dB,mute=0
    numid=24,iface=MIXER,name='Front Mic Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=23,iface=MIXER,name='Front Mic Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=31,31
    | dBscale-min=-34.50dB,step=1.50dB,mute=0
    numid=2,iface=MIXER,name='Front Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=1,iface=MIXER,name='Front Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=42,step=0
    : values=42,42
    | dBscale-min=-63.00dB,step=1.50dB,mute=0
    numid=4,iface=MIXER,name='Surround Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=3,iface=MIXER,name='Surround Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=42,step=0
    : values=42,42
    | dBscale-min=-63.00dB,step=1.50dB,mute=0
    numid=6,iface=MIXER,name='Center Playback Switch'
    ; type=BOOLEAN,access=rw------,values=1
    : values=on
    numid=5,iface=MIXER,name='Center Playback Volume'
    ; type=INTEGER,access=rw---R--,values=1,min=0,max=42,step=0
    : values=42
    | dBscale-min=-63.00dB,step=1.50dB,mute=0
    numid=8,iface=MIXER,name='LFE Playback Switch'
    ; type=BOOLEAN,access=rw------,values=1
    : values=on
    numid=7,iface=MIXER,name='LFE Playback Volume'
    ; type=INTEGER,access=rw---R--,values=1,min=0,max=42,step=0
    : values=42
    | dBscale-min=-63.00dB,step=1.50dB,mute=0
    numid=26,iface=MIXER,name='Line Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=25,iface=MIXER,name='Line Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=31,31
    | dBscale-min=-34.50dB,step=1.50dB,mute=0
    numid=16,iface=MIXER,name='Capture Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=18,iface=MIXER,name='Capture Switch',index=1
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=15,iface=MIXER,name='Capture Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=0,0
    | dBscale-min=-16.50dB,step=1.50dB,mute=0
    numid=17,iface=MIXER,name='Capture Volume',index=1
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=0,0
    | dBscale-min=-16.50dB,step=1.50dB,mute=0
    numid=14,iface=MIXER,name='Loopback Mixing'
    ; type=ENUMERATED,access=rw------,values=1,items=2
    ; Item #0 'Disabled'
    ; Item #1 'Enabled'
    : values=0
    numid=35,iface=MIXER,name='IEC958 Default PCM Playback Switch'
    ; type=BOOLEAN,access=rw------,values=1
    : values=off
    numid=31,iface=MIXER,name='IEC958 Playback Con Mask'
    ; type=IEC958,access=r-------,values=1
    : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
    numid=32,iface=MIXER,name='IEC958 Playback Pro Mask'
    ; type=IEC958,access=r-------,values=1
    : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
    numid=33,iface=MIXER,name='IEC958 Playback Default'
    ; type=IEC958,access=rw------,values=1
    : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00]
    numid=34,iface=MIXER,name='IEC958 Playback Switch'
    ; type=BOOLEAN,access=rw------,values=1
    : values=off
    numid=30,iface=MIXER,name='Dynamic Power-Control'
    ; type=ENUMERATED,access=rw------,values=1,items=2
    ; Item #0 'Disabled'
    ; Item #1 'Enabled'
    : values=0
    numid=29,iface=MIXER,name='Independent HP'
    ; type=ENUMERATED,access=rw------,values=1,items=2
    ; Item #0 'OFF'
    ; Item #1 'ON'
    : values=0
    numid=19,iface=MIXER,name='Input Source'
    ; type=ENUMERATED,access=rw------,values=1,items=4
    ; Item #0 'Rear Mic'
    ; Item #1 'Front Mic'
    ; Item #2 'Line'
    ; Item #3 'Stereo Mixer'
    : values=1
    numid=20,iface=MIXER,name='Input Source',index=1
    ; type=ENUMERATED,access=rw------,values=1,items=4
    ; Item #0 'Rear Mic'
    ; Item #1 'Front Mic'
    ; Item #2 'Line'
    ; Item #3 'Stereo Mixer'
    : values=0
    numid=27,iface=MIXER,name='Rear Mic Boost Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
    : values=0,0
    | dBscale-min=0.00dB,step=10.25dB,mute=0
    numid=22,iface=MIXER,name='Rear Mic Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=off,off
    numid=21,iface=MIXER,name='Rear Mic Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=23,23
    | dBscale-min=-34.50dB,step=1.50dB,mute=0
    numid=10,iface=MIXER,name='Side Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=9,iface=MIXER,name='Side Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=42,step=0
    : values=42,42
    | dBscale-min=-63.00dB,step=1.50dB,mute=0
    numid=49,iface=PCM,name='Capture Channel Map'
    ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
    : values=0,0
    | | TLV size error (257, 8, 0)!
    numid=50,iface=PCM,name='Capture Channel Map',index=1
    ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
    : values=0,0
    | | TLV size error (257, 8, 0)!
    numid=48,iface=PCM,name='Playback Channel Map'
    ; type=INTEGER,access=r----R--,values=8,min=0,max=36,step=0
    : values=0,0,0,0,0,0,0,0
    | | TLV size error (257, 8, 0)!
    numid=51,iface=PCM,name='Playback Channel Map',device=1
    ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
    : values=0,0
    | | TLV size error (257, 8, 0)!
    numid=52,iface=PCM,name='Playback Channel Map',device=2
    ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
    : values=0,0
    | | TLV size error (257, 8, 0)!
    If I read the Alsa kernel docs right, the VIA driver simply does not provide any option to disable auto-muting: http://git.alsa-project.org/?p=alsa-ker … xt;hb=HEAD.
    I would be glad if I had misread/misunderstood something or there were any other means of achieving what I am after? All I found so far is lots of posts where auto-muting did not work but very few people seem to want the opposite. FWIW, my old installation of Ubuntu 11.10 was working fine in that regard, i.e. it probably did not support auto-muting for my hardware.
    Last edited by fax (2013-03-24 20:20:19)

    Solved, well, good enough for me anyway. In alsamixer, I enabled "Independent HP". Independent HP means that two of the six surround channels get diverted to the headphones. Alsa creates a second device, one for line out and the other one for the headphones. It is a very neat feature that is meant to allow you to e.g. do a voice call with your headphones while you play music through the speakers at the same time. I can now choose in PulseAudio whether I want output to my headphones or the speakers. It required that in /etc/pulse/default.pa, I added the line "load-module module-alsa-sink device=hw:0,2" after this paragraph:
    ### Automatically load driver modules depending on the hardware available
    .ifexists module-udev-detect.so
    load-module module-udev-detect
    .else
    ### Use the static hardware detection module (for systems that lack udev support)
    load-module module-detect
    .endif
    # Take Independent HP into use.
    load-module module-alsa-sink device=hw:0,2
    All this really is a work-around for two bugs:
    Call it a bug or a missing feature, but it does not look like the Alsa snd_hda_codec_via driver allows to disable auto-muting.
    Before the change to default.pa, PulseAudio already allows me to switch between two output devices - "analog output" and "analog headphones". "Analog headphones" however does the same thing as "analog output" and plays sound on the external speakers and not the headphones. I suspect that the PulseAudio module-udev-detect detects both Alsa devices but wires them wrongly.
    The above still doesn't give me what I originally asked, i.e. sound on both speakers and headphones at the same time, but I realized that I don't really need that. I just need a way to switch on speakers occasionally while my headphones are plugged in.
    Last edited by fax (2013-03-24 23:06:27)

  • [SOLVED] How do I disable enp0s3?

    I am trying to remove unwanted services from boot, specifically enp0s3 which I don't use as I don't have a ethernet card.
    This is my start up time analysis:
    $ systemd-analyze blame
    24.503s [email protected]
    1.625s systemd-logind.service
    1.580s alsa-restore.service
    1.579s iptables.service
    684ms updatedb.service
    626ms man-db.service
    375ms systemd-journal-flush.service
    62ms systemd-journald.service
    53ms systemd-udevd.service
    From the journal I see this - Timed out waiting for device sys-subsystem-net-devices-enp0s3.device.
    Jan 19 10:30:51 arch network[273]: Starting network profile 'fisher'...
    Jan 19 10:30:51 arch systemd-logind[223]: Watching system buttons on /dev/input/event3 (Power Button)
    Jan 19 10:30:51 arch systemd-logind[223]: Watching system buttons on /dev/input/event6 (Video Bus)
    Jan 19 10:30:51 arch kernel: random: nonblocking pool is initialized
    Jan 19 10:30:51 arch kernel: b43-phy0: Loading firmware version 784.2 (2012-08-15 21:35:19)
    Jan 19 10:30:52 arch kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0b1: link is not ready
    Jan 19 10:30:52 arch systemd[1]: Started Update man-db cache.
    Jan 19 10:30:52 arch systemd[1]: Started Update locate database.
    Jan 19 10:30:53 arch kernel: wlp3s0b1: authenticate with 00:25:15:1d:7b:34
    Jan 19 10:30:53 arch kernel: wlp3s0b1: direct probe to 00:25:15:1d:7b:34 (try 1/3)
    Jan 19 10:30:53 arch kernel: wlp3s0b1: send auth to 00:25:15:1d:7b:34 (try 2/3)
    Jan 19 10:30:53 arch kernel: wlp3s0b1: authenticated
    Jan 19 10:30:53 arch kernel: wlp3s0b1: associate with 00:25:15:1d:7b:34 (try 1/3)
    Jan 19 10:30:53 arch kernel: wlp3s0b1: RX AssocResp from 00:25:15:1d:7b:34 (capab=0x411 status=0 aid=1)
    Jan 19 10:30:53 arch kernel: wlp3s0b1: associated
    Jan 19 10:30:53 arch kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0b1: link becomes ready
    Jan 19 10:30:53 arch dhcpcd[390]: version 6.6.7 starting
    Jan 19 10:30:53 arch dhcpcd[390]: DUID 00:01:00:01:1c:0d:93:4d:08:00:27:34:83:28
    Jan 19 10:30:53 arch dhcpcd[390]: wlp3s0b1: IAID 96:d0:29:ff
    Jan 19 10:30:53 arch dhcpcd[390]: wlp3s0b1: rebinding lease of 192.168.1.65
    Jan 19 10:30:58 arch dhcpcd[390]: wlp3s0b1: DHCP lease expired
    Jan 19 10:30:59 arch dhcpcd[390]: wlp3s0b1: soliciting a DHCP lease
    Jan 19 10:31:10 arch dhcpcd[390]: wlp3s0b1: offered 192.168.1.65 from 192.168.1.1
    Jan 19 10:31:16 arch dhcpcd[390]: wlp3s0b1: leased 192.168.1.65 for 86400 seconds
    Jan 19 10:31:16 arch dhcpcd[390]: wlp3s0b1: adding route to 192.168.1.0/24
    Jan 19 10:31:16 arch dhcpcd[390]: wlp3s0b1: adding default route via 192.168.1.1
    Jan 19 10:31:16 arch dhcpcd[390]: forked to background, child pid 468
    Jan 19 10:31:16 arch network[273]: Started network profile 'fisher'
    Jan 19 10:31:16 arch systemd[1]: Started A simple WPA encrypted wireless connection.
    Jan 19 10:32:19 arch systemd[1]: Job sys-subsystem-net-devices-enp0s3.device/start timed out.
    Jan 19 10:32:19 arch systemd[1]: Timed out waiting for device sys-subsystem-net-devices-enp0s3.device.
    Jan 19 10:32:19 arch systemd[1]: Dependency failed for dhcpcd on enp0s3.
    Jan 19 10:32:19 arch systemd[1]: Job [email protected]/start failed with result 'dependency'.
    Jan 19 10:32:19 arch systemd[1]: Job sys-subsystem-net-devices-enp0s3.device/start failed with result 'timeout'.
    Jan 19 10:32:19 arch systemd[1]: Starting Network.
    Jan 19 10:32:19 arch systemd[1]: Reached target Network.
    Jan 19 10:32:19 arch systemd[1]: Starting OpenSSH Daemon...
    Jan 19 10:32:19 arch systemd[1]: Started OpenSSH Daemon.
    Jan 19 10:32:19 arch systemd[1]: Starting Multi-User System.
    Jan 19 10:32:19 arch systemd[1]: Reached target Multi-User System.
    Jan 19 10:32:19 arch systemd[1]: Starting Graphical Interface.
    Jan 19 10:32:19 arch systemd[1]: Reached target Graphical Interface.
    Jan 19 10:32:19 arch systemd[1]: Startup finished in 1.025s (kernel) + 1min 30.574s (userspace) = 1min 31.599s.
    As I don't have ethernet can I turn it off?  I saw this https://bbs.archlinux.org/viewtopic.php?id=158885 which is almost the opposite of my issue so I tried
    systemctl disable dhcpcd
    (I'm unsure if that is wise or even relevant) but still the device is trying to start and I don't know why
    $ systemctl status dhcpcd
    ● dhcpcd.service - dhcpcd on all interfaces
    Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; disabled; vendor preset: disabled)
    Active: inactive (dead)
    [adam@arch rules.d]$
    $ systemctl status sys-subsystem-net-devices-enp0s3.device
    ● sys-subsystem-net-devices-enp0s3.device
    Loaded: loaded
    Active: inactive (dead)
    Jan 19 10:32:19 arch systemd[1]: Job sys-subsystem-net-devices-enp0s3.device/start timed out.
    Jan 19 10:32:19 arch systemd[1]: Timed out waiting for device sys-subsystem-net-devices-enp0s3.device.
    Jan 19 10:32:19 arch systemd[1]: Job sys-subsystem-net-devices-enp0s3.device/start failed with result 'timeout'.
    Last edited by halasz (2015-01-19 14:35:53)

    lsmod | grep tg shows nothing at all (why tg btw?  did you mean th for ethernet?). 
    $ sudo lsmod | grep th
    bluetooth 403639 2 btusb
    rfkill 18867 3 cfg80211,bluetooth
    x86_pkg_temp_thermal 12951 0
    thunderbolt 48817 0
    crc16 12343 2 ext4,bluetooth
    lspci-vv doesn't show kernel modules either for ethernet. 
    02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM57786 Gigabit Ethernet PCIe (rev 21)
    Subsystem: Broadcom Corporation NetXtreme BCM57786 Gigabit Ethernet PCIe
    Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Interrupt: pin A routed to IRQ 0
    Region 0: Memory at a0400000 (64-bit, prefetchable) [disabled] [size=64K]
    Region 2: Memory at a0410000 (64-bit, prefetchable) [disabled] [size=64K]
    Expansion ROM at 8fa00000 [disabled] [size=2K]
    Capabilities: [48] Power Management version 3
    Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
    Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=1 PME-
    Capabilities: [50] Vital Product Data
    Product Name: Broadcom NetXtreme Gigabit Ethernet Controller
    Read-only fields:
    [PN] Part number: BCM957766
    [EC] Engineering changes: 106679-15
    [SN] Serial number: 0123456789
    [MN] Manufacture ID: 31 34 65 34
    [RV] Reserved: checksum good, 27 byte(s) reserved
    End
    Capabilities: [58] MSI: Enable- Count=1/8 Maskable- 64bit+
    Address: 0000000000000000 Data: 0000
    Capabilities: [a0] MSI-X: Enable- Count=5 Masked-
    Vector table: BAR=2 offset=00000000
    PBA: BAR=2 offset=00000120
    Capabilities: [ac] Express (v2) Endpoint, MSI 00
    DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 <64us
    ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
    DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
    RlxdOrd+ ExtTag- PhantFunc- AuxPwr+ NoSnoop+
    MaxPayload 128 bytes, MaxReadReq 512 bytes
    DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+ TransPend-
    LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <2us, L1 <64us
    ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
    LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
    ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
    LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
    DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR+, OBFF Not Supported
    DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
    LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
    Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
    Compliance De-emphasis: -6dB
    LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
    EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
    Capabilities: [100 v1] Advanced Error Reporting
    UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
    UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
    UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
    CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
    CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
    AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
    Capabilities: [13c v1] Device Serial Number 00-00-00-10-18-00-00-00
    Capabilities: [150 v1] Power Budgeting <?>
    Capabilities: [160 v1] Virtual Channel
    Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
    Arb: Fixed- WRR32- WRR64- WRR128-
    Ctrl: ArbSelect=Fixed
    Status: InProgress-
    VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
    Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
    Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
    Status: NegoPending- InProgress-
    Capabilities: [1b0 v1] Latency Tolerance Reporting
    Max snoop latency: 0ns
    Max no snoop latency: 0ns
    02:00.1 SD Host controller: Broadcom Corporation BCM57765/57785 SDXC/MMC Card Reader (rev 21) (prog-if 01)
    It does for other things.  In fact ethernet is the only thing on lspci that *doesn't* have an associated Kernel Driver or Module.
    sudo lspci -k
    00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
    Subsystem: Apple Inc. Device 0102
    Kernel driver in use: ivb_uncore
    libkmod: kmod_config_parse: /etc/modprobe.d/xhci-reset-on-suspend.conf line 1: ignoring bad line starting with '#'
    00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
    00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
    00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
    Subsystem: Apple Inc. Device 0102
    Kernel driver in use: i915
    Kernel modules: i915
    00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
    Subsystem: Intel Corporation Device 7270
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci
    00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
    Subsystem: Intel Corporation Device 7270
    Kernel driver in use: mei_me
    Kernel modules: mei_me
    00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
    Subsystem: Intel Corporation Device 7270
    Kernel driver in use: ehci-pci
    Kernel modules: ehci_pci
    00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
    Subsystem: Intel Corporation Device 7270
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
    00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
    00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
    00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
    Subsystem: Intel Corporation Device 7270
    Kernel driver in use: ehci-pci
    Kernel modules: ehci_pci
    00:1f.0 ISA bridge: Intel Corporation QS77 Express Chipset LPC Controller (rev 04)
    Subsystem: Intel Corporation Device 7270
    Kernel driver in use: lpc_ich
    Kernel modules: lpc_ich
    00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
    Subsystem: Intel Corporation Device 7270
    Kernel driver in use: ahci
    Kernel modules: ahci
    00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
    Subsystem: Intel Corporation Device 7270
    Kernel modules: i2c_i801
    02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM57786 Gigabit Ethernet PCIe (rev 21)
    Subsystem: Broadcom Corporation NetXtreme BCM57786 Gigabit Ethernet PCIe
    02:00.1 SD Host controller: Broadcom Corporation BCM57765/57785 SDXC/MMC Card Reader (rev 21)
    Subsystem: Broadcom Corporation Device 96bc
    Kernel driver in use: sdhci-pci
    Kernel modules: sdhci_pci
    03:00.0 Network controller: Broadcom Corporation BCM4331 802.11a/b/g/n (rev 02)
    Subsystem: Apple Inc. AirPort Extreme
    Kernel driver in use: bcma-pci-bridge
    Kernel modules: bcma
    04:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Port [Cactus Ridge] (rev 03)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
    05:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Port [Cactus Ridge] (rev 03)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
    05:03.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Port [Cactus Ridge] (rev 03)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
    05:04.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Port [Cactus Ridge] (rev 03)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
    05:05.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Port [Cactus Ridge] (rev 03)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
    05:06.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Port [Cactus Ridge] (rev 03)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
    06:00.0 System peripheral: Intel Corporation DSL3510 Thunderbolt Port [Cactus Ridge] (rev 03)
    Subsystem: Device 2222:1111
    Kernel driver in use: thunderbolt
    Kernel modules: thunderbolt
    I don't have a bios  (have a macbook) - I am booting EFI.  I could pass a kernel parameter but it is same issue - I need to know what module to disable.  Or how to disable the driver.
    Last edited by halasz (2015-01-19 13:35:42)

  • [SOLVED] Bumblebee/bbswitch Not Disabling Nvidia Card

    Hello all.  I've been able to resolve a wide variety of problems by searching through the posts here, but it seems I've come up empty on this one.
    I'm running Arch on a Sager NP5160 (Clevo W150HN), i7-2630 QM, 8 GB RAM, running Optimus with an Nvidia GT 540M Optimus setup.
    I've had Bumblebee and bbswitch running fine in the past, but recently I needed to reinstall Arch (my own fault).
    I installed bumblebee and bbswitch again, as described on the wiki. 
    However, once everything is installed and configured, bbswitch is still unable to deactivate my Nvidia card.
    I'm using the proprietary Nvidia driver.
    I have verified that bumblebee.conf has the driver set to Nvidia (not nouveau), and uses bbswitch.
    I have also tried blacklisting both nouveau and nvidia, as well as adding bbswitch to the modules section of my mkinitcpio.conf file (and regenerating the initramfs).
    A curious point that I have noted is that the Nvidia card is disabled during boot, and up until I login.
    Once my information loads, the Nvidia card is activated and I cannot deactivate it, even manually.
    Here is the dmesg output when I run glxspheres64 using bumblebee:
    [ 777.827743] [drm] Module unloaded
    [ 777.829410] bbswitch: disabling discrete graphics
    [ 777.829423] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 777.842135] pci 0000:01:00.0: Refused to change power state, currently in D0
    [ 778.625647] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
    [ 778.625799] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
    [ 778.626884] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
    [ 778.626906] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 346.35 Sat Jan 10 21:27:15 PST 2015
    [ 778.629748] nvidia 0000:01:00.0: irq 38 for MSI/MSI-X
    [ 778.635579] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 778.635666] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 778.635703] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 778.635734] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 778.635762] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 778.635790] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 778.636064] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 778.636096] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 782.694911] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    Part of my systemd journal from a recent boot:
    Feb 04 15:26:04 gondolin acpid[322]: client connected from 6944[0:997]
    Feb 04 15:26:04 gondolin acpid[322]: 1 client rule loaded
    Feb 04 15:26:05 gondolin bumblebeed[320]: [ 368.404917] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    Feb 04 15:26:05 gondolin bumblebeed[320]: [ 368.404963] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    Feb 04 15:26:05 gondolin bumblebeed[320]: [ 368.404979] [ERROR][XORG] (EE) systemd-logind: failed to get session: PID 6944 does not belong to any known session
    Feb 04 15:26:05 gondolin bumblebeed[320]: [ 368.404989] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
    Feb 04 15:26:05 gondolin bumblebeed[320]: [ 368.405031] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
    Feb 04 15:26:05 gondolin bumblebeed[320]: [ 368.405056] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
    Feb 04 15:26:08 gondolin logger[6979]: ACPI group/action undefined: thermal_zone / LNXTHERM:00
    Feb 04 15:26:12 gondolin kernel: [drm] Module unloaded
    Feb 04 15:26:12 gondolin kernel: bbswitch: disabling discrete graphics
    Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    Feb 04 15:26:12 gondolin kernel: pci 0000:01:00.0: Refused to change power state, currently in D0
    Feb 04 15:26:12 gondolin bumblebeed[320]: [ 375.273427] [ERROR][XORG] (EE) Server terminated successfully (0). Closing log file.
    Feb 04 15:26:12 gondolin acpid[322]: client 6944[0:997] has disconnected
    Feb 04 15:26:12 gondolin acpid[322]: client 6944[0:997] has disconnected
    Feb 04 15:26:12 gondolin kernel: nvidia 0000:01:00.0: enabling device (0006 -> 0007)
    Feb 04 15:26:12 gondolin kernel: vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
    Feb 04 15:26:12 gondolin kernel: [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
    Feb 04 15:26:12 gondolin kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 346.35 Sat Jan 10 21:27:15 PST 2015
    Feb 04 15:26:12 gondolin kernel: nvidia 0000:01:00.0: irq 38 for MSI/MSI-X
    Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    Feb 04 15:26:12 gondolin logger[6997]: ACPI group/action undefined: PNP0C14:00 / 000000d0
    Finally, the Xorg.8.log:
    X.Org X Server 1.16.3
    Release Date: 2014-12-20
    [ 366.573] X Protocol Version 11, Revision 0
    [ 366.573] Build Operating System: Linux 3.18.1-1-ARCH x86_64
    [ 366.573] Current Operating System: Linux gondolin 3.18.5-1-ARCH #1 SMP PREEMPT Fri Jan 30 07:31:50 CET 2015 x86_64
    [ 366.573] Kernel command line: initrd=\initramfs-linux.img root=/dev/sda3 rw
    [ 366.573] Build Date: 29 December 2014 01:09:58PM
    [ 366.573]
    [ 366.573] Current version of pixman: 0.32.6
    [ 366.573] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 366.573] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 366.573] (==) Log file: "/var/log/Xorg.8.log", Time: Wed Feb 4 15:26:03 2015
    [ 366.573] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
    [ 366.573] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
    [ 366.573] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [ 366.574] (==) ServerLayout "Layout0"
    [ 366.574] (**) |-->Screen "Default Screen" (0)
    [ 366.574] (**) | |-->Monitor "<default monitor>"
    [ 366.574] (**) | |-->Device "DiscreteNvidia"
    [ 366.574] (==) No monitor specified for screen "Default Screen".
    Using a default monitor configuration.
    [ 366.574] (**) Option "AutoAddDevices" "false"
    [ 366.574] (**) Option "AutoAddGPU" "false"
    [ 366.574] (**) Not automatically adding devices
    [ 366.574] (==) Automatically enabling devices
    [ 366.574] (**) Not automatically adding GPU devices
    [ 366.574] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 366.574] Entry deleted from font path.
    [ 366.574] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 366.574] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 366.574] Entry deleted from font path.
    [ 366.574] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 366.574] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/Type1/
    [ 366.574] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
    [ 366.575] (==) |-->Input Device "<default pointer>"
    [ 366.575] (==) |-->Input Device "<default keyboard>"
    [ 366.575] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
    [ 366.575] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
    [ 366.575] (II) Loader magic: 0x818d80
    [ 366.575] (II) Module ABI versions:
    [ 366.575] X.Org ANSI C Emulation: 0.4
    [ 366.575] X.Org Video Driver: 18.0
    [ 366.575] X.Org XInput driver : 21.0
    [ 366.575] X.Org Server Extension : 8.0
    [ 366.577] (EE) systemd-logind: failed to get session: PID 6944 does not belong to any known session
    [ 366.578] (II) xfree86: Adding drm device (/dev/dri/card1)
    [ 366.578] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 366.578] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
    [ 366.581] (--) PCI:*(0:1:0:0) 10de:0df4:1558:5140 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00005000/128
    [ 366.581] (II) Open ACPI successful (/var/run/acpid.socket)
    [ 366.581] (II) LoadModule: "glx"
    [ 366.581] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
    [ 366.599] (II) Module glx: vendor="NVIDIA Corporation"
    [ 366.599] compiled for 4.0.2, module version = 1.0.0
    [ 366.599] Module class: X.Org Server Extension
    [ 366.599] (II) NVIDIA GLX Module 346.35 Sat Jan 10 20:53:39 PST 2015
    [ 366.599] (II) LoadModule: "nvidia"
    [ 366.599] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 366.600] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 366.600] compiled for 4.0.2, module version = 1.0.0
    [ 366.600] Module class: X.Org Video Driver
    [ 366.600] (II) LoadModule: "mouse"
    [ 366.600] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
    [ 366.600] (II) Module mouse: vendor="X.Org Foundation"
    [ 366.600] compiled for 1.16.0, module version = 1.9.1
    [ 366.600] Module class: X.Org XInput Driver
    [ 366.600] ABI class: X.Org XInput driver, version 21.0
    [ 366.600] (II) LoadModule: "kbd"
    [ 366.601] (WW) Warning, couldn't open module kbd
    [ 366.601] (II) UnloadModule: "kbd"
    [ 366.601] (II) Unloading kbd
    [ 366.601] (EE) Failed to load module "kbd" (module does not exist, 0)
    [ 366.601] (II) NVIDIA dlloader X Driver 346.35 Sat Jan 10 20:32:18 PST 2015
    [ 366.601] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 366.601] (--) using VT number 7
    [ 366.601] (II) Loading sub module "fb"
    [ 366.601] (II) LoadModule: "fb"
    [ 366.601] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 366.601] (II) Module fb: vendor="X.Org Foundation"
    [ 366.601] compiled for 1.16.3, module version = 1.0.0
    [ 366.601] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 366.601] (II) Loading sub module "wfb"
    [ 366.601] (II) LoadModule: "wfb"
    [ 366.601] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 366.602] (II) Module wfb: vendor="X.Org Foundation"
    [ 366.602] compiled for 1.16.3, module version = 1.0.0
    [ 366.602] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 366.602] (II) Loading sub module "ramdac"
    [ 366.602] (II) LoadModule: "ramdac"
    [ 366.602] (II) Module "ramdac" already built-in
    [ 366.615] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen" for depth/fbbpp 24/32
    [ 366.615] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
    [ 366.615] (==) NVIDIA(0): RGB weight 888
    [ 366.615] (==) NVIDIA(0): Default visual is TrueColor
    [ 366.616] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 366.616] (**) NVIDIA(0): Option "NoLogo" "true"
    [ 366.616] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
    [ 366.616] (**) NVIDIA(0): Option "UseEDID" "false"
    [ 366.616] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
    [ 366.616] (**) NVIDIA(0): Enabling 2D acceleration
    [ 366.616] (**) NVIDIA(0): Ignoring EDIDs
    [ 366.616] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
    [ 366.616] (**) NVIDIA(0): mode
    [ 366.964] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
    [ 366.965] (II) NVIDIA(0): NVIDIA GPU GeForce GT 540M (GF108) at PCI:1:0:0 (GPU-0)
    [ 366.965] (--) NVIDIA(0): Memory: 1048576 kBytes
    [ 366.965] (--) NVIDIA(0): VideoBIOS: 70.08.53.00.05
    [ 366.965] (II) NVIDIA(0): Detected PCI Express Link width: 16X
    [ 366.965] (--) NVIDIA(0): Valid display device(s) on GeForce GT 540M at PCI:1:0:0
    [ 366.965] (--) NVIDIA(0): none
    [ 366.966] (II) NVIDIA(0): Validated MetaModes:
    [ 366.966] (II) NVIDIA(0): "NULL"
    [ 366.966] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
    [ 366.966] (WW) NVIDIA(0): Unable to get display device for DPI computation.
    [ 366.966] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
    [ 366.966] (--) Depth 24 pixmap format is 32 bpp
    [ 366.966] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
    [ 366.966] (II) NVIDIA: access.
    [ 367.798] (II) NVIDIA(0): Setting mode "NULL"
    [ 367.841] (==) NVIDIA(0): Disabling shared memory pixmaps
    [ 367.842] (==) NVIDIA(0): Backing store enabled
    [ 367.842] (==) NVIDIA(0): Silken mouse enabled
    [ 367.842] (==) NVIDIA(0): DPMS enabled
    [ 367.842] (II) Loading sub module "dri2"
    [ 367.842] (II) LoadModule: "dri2"
    [ 367.842] (II) Module "dri2" already built-in
    [ 367.842] (II) NVIDIA(0): [DRI2] Setup complete
    [ 367.842] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
    [ 367.842] (--) RandR disabled
    [ 367.852] (II) Initializing extension GLX
    [ 367.928] (II) Using input driver 'mouse' for '<default pointer>'
    [ 367.928] (**) Option "CorePointer" "on"
    [ 367.928] (**) <default pointer>: always reports core events
    [ 367.928] (WW) <default pointer>: No Device specified, looking for one...
    [ 368.010] (II) <default pointer>: Setting Device option to "/dev/input/mice"
    [ 368.010] (--) <default pointer>: Device: "/dev/input/mice"
    [ 368.010] (==) <default pointer>: Protocol: "Auto"
    [ 368.010] (**) <default pointer>: always reports core events
    [ 368.010] (**) Option "Device" "/dev/input/mice"
    [ 368.090] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
    [ 368.090] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
    [ 368.090] (**) <default pointer>: Buttons: 9
    [ 368.090] (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE, id 6)
    [ 368.090] (**) <default pointer>: (accel) keeping acceleration scheme 1
    [ 368.090] (**) <default pointer>: (accel) acceleration profile 0
    [ 368.090] (**) <default pointer>: (accel) acceleration factor: 2.000
    [ 368.090] (**) <default pointer>: (accel) acceleration threshold: 4
    [ 368.090] (II) <default pointer>: Setting mouse protocol to "ExplorerPS/2"
    [ 368.384] (II) <default pointer>: ps2EnableDataReporting: succeeded
    [ 368.384] (II) LoadModule: "kbd"
    [ 368.385] (WW) Warning, couldn't open module kbd
    [ 368.385] (II) UnloadModule: "kbd"
    [ 368.385] (II) Unloading kbd
    [ 368.385] (EE) Failed to load module "kbd" (module does not exist, 0)
    [ 368.385] (EE) No input driver matching `kbd'
    [ 368.388] (II) config/udev: Adding input device Power Button (/dev/input/event3)
    [ 368.388] (II) AutoAddDevices is off - not adding device.
    [ 368.388] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
    [ 368.388] (II) AutoAddDevices is off - not adding device.
    [ 368.389] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
    [ 368.389] (II) AutoAddDevices is off - not adding device.
    [ 368.389] (II) config/udev: Adding input device Power Button (/dev/input/event0)
    [ 368.389] (II) AutoAddDevices is off - not adding device.
    [ 368.390] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
    [ 368.390] (II) AutoAddDevices is off - not adding device.
    [ 368.390] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
    [ 368.390] (II) AutoAddDevices is off - not adding device.
    [ 368.391] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 368.391] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 368.391] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
    [ 368.391] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event9)
    [ 368.392] (II) AutoAddDevices is off - not adding device.
    [ 368.392] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event10)
    [ 368.392] (II) AutoAddDevices is off - not adding device.
    [ 368.392] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event11)
    [ 368.392] (II) AutoAddDevices is off - not adding device.
    [ 368.393] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event12)
    [ 368.393] (II) AutoAddDevices is off - not adding device.
    [ 368.394] (II) config/udev: Adding input device Areson USB Device (/dev/input/event7)
    [ 368.394] (II) AutoAddDevices is off - not adding device.
    [ 368.394] (II) config/udev: Adding input device Areson USB Device (/dev/input/mouse0)
    [ 368.394] (II) AutoAddDevices is off - not adding device.
    [ 368.395] (II) config/udev: Adding input device BisonCam, NB Pro (/dev/input/event13)
    [ 368.395] (II) AutoAddDevices is off - not adding device.
    [ 368.395] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
    [ 368.395] (II) AutoAddDevices is off - not adding device.
    [ 368.396] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event14)
    [ 368.396] (II) AutoAddDevices is off - not adding device.
    [ 368.396] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
    [ 368.396] (II) AutoAddDevices is off - not adding device.
    [ 368.397] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
    [ 368.397] (II) AutoAddDevices is off - not adding device.
    [ 375.131] (II) UnloadModule: "mouse"
    [ 375.153] (II) NVIDIA(GPU-0): Deleting GPU-0
    [ 375.154] (EE) Server terminated successfully (0). Closing log file.
    I am unsure what else to try.
    If there is any other information needed that I have neglected to provide, I will do my best to post it right away.
    Thanks in advance for your assistance.
    Last edited by StateOfBlind (2015-03-08 13:46:49)

    Sorry to bump this, but I've found some more information.
    Unfortunately, I'm not sure what to do with it yet.
    I've uninstalled and reinstalled the relevant packages outlined in the Bumblebee wiki.
    When my laptop boots, the Nvidia card is disabled up until I log in, at which point it appears to be perpetually enabled, unless the Optimus indicator lights are showing incorrectly.
    This is the log output I receive when I run optimus glxspheres64:
    Mar 02 10:15:03 gondolin kernel: ------------[ cut here ]------------
    Mar 02 10:15:03 gondolin kernel: WARNING: CPU: 1 PID: 16254 at fs/proc/generic.c:315 proc_register+0xc8/0x150()
    Mar 02 10:15:03 gondolin kernel: proc_dir_entry 'driver/nvidia' already registered
    Mar 02 10:15:03 gondolin kernel: Modules linked in: nvidia(PO+) ctr ccm hid_generic usbhid hid bbswitch(O) joydev mousedev uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media snd_hda_codec_hdmi iTCO_wdt i
    Mar 02 10:15:03 gondolin kernel: intel_gtt i2c_algo_bit libata drm_kms_helper xhci_pci ehci_pci scsi_mod drm xhci_hcd atkbd ehci_hcd libps2 sdhci_pci sdhci led_class usbcore mmc_core usb_common i2c_core i8042 serio video button [last unl
    Mar 02 10:15:03 gondolin kernel: CPU: 1 PID: 16254 Comm: modprobe Tainted: P W O 3.18.6-1-ARCH #1
    Mar 02 10:15:03 gondolin kernel: Hardware name: CLEVO CO. W150HNM/W170HN /W150HNM/W170HN , BIOS HR_2.1.0.128 X64 04/01
    Mar 02 10:15:03 gondolin kernel: 0000000000000000 00000000970ffdf0 ffff88021233fb08 ffffffff8154fb74
    Mar 02 10:15:03 gondolin kernel: 0000000000000000 ffff88021233fb60 ffff88021233fb48 ffffffff81072c41
    Mar 02 10:15:03 gondolin kernel: ffffffff81b11838 ffff880208fdab80 ffff88022e2b15f3 ffff88022e2b1580
    Mar 02 10:15:03 gondolin kernel: Call Trace:
    Mar 02 10:15:03 gondolin kernel: [<ffffffff8154fb74>] dump_stack+0x4e/0x71
    Mar 02 10:15:03 gondolin kernel: [<ffffffff81072c41>] warn_slowpath_common+0x81/0xa0
    Mar 02 10:15:03 gondolin kernel: [<ffffffff81072cb5>] warn_slowpath_fmt+0x55/0x70
    Mar 02 10:15:03 gondolin kernel: [<ffffffff8123aed4>] ? proc_alloc_inum+0x54/0xe0
    Mar 02 10:15:03 gondolin kernel: [<ffffffff8123b028>] proc_register+0xc8/0x150
    Mar 02 10:15:03 gondolin kernel: [<ffffffff8123b1b2>] proc_mkdir_data+0x52/0x80
    Mar 02 10:15:03 gondolin kernel: [<ffffffff8123b1f3>] proc_mkdir_mode+0x13/0x20
    Mar 02 10:15:03 gondolin kernel: [<ffffffffa0c88ffc>] nv_register_procfs+0x5c/0x210 [nvidia]
    Mar 02 10:15:03 gondolin kernel: [<ffffffffa178c2e2>] nvidia_init_module+0x2e2/0x7c2 [nvidia]
    Mar 02 10:15:03 gondolin kernel: [<ffffffffa178c7d7>] ? nv_drm_init+0x15/0x15 [nvidia]
    Mar 02 10:15:03 gondolin kernel: [<ffffffffa178c85d>] nvidia_frontend_init_module+0x86/0x829 [nvidia]
    Mar 02 10:15:03 gondolin kernel: [<ffffffff81002148>] do_one_initcall+0xd8/0x210
    Mar 02 10:15:03 gondolin kernel: [<ffffffff81196c52>] ? __vunmap+0xa2/0x100
    Mar 02 10:15:03 gondolin kernel: [<ffffffff810f6bd6>] load_module+0x1ea6/0x27d0
    Mar 02 10:15:03 gondolin kernel: [<ffffffff810f2fb0>] ? store_uevent+0x70/0x70
    Mar 02 10:15:03 gondolin kernel: [<ffffffff810f75cd>] SyS_init_module+0xcd/0x120
    Mar 02 10:15:03 gondolin kernel: [<ffffffff815556e9>] system_call_fastpath+0x12/0x17
    Mar 02 10:15:03 gondolin kernel: ---[ end trace 1a8b41591c71f998 ]---
    Mar 02 10:15:03 gondolin kernel: NVRM: This is a 64-bit BAR mapped above 4GB by the system
    NVRM: BIOS or the Linux kernel, but the PCI bridge
    NVRM: immediately upstream of this GPU does not define
    NVRM: a matching prefetchable memory window.
    Mar 02 10:15:03 gondolin kernel: NVRM: This may be due to a known Linux kernel bug. Please
    NVRM: see the README section on 64-bit BARs for additional
    NVRM: information.
    Mar 02 10:15:03 gondolin kernel: nvidia: probe of 0000:01:00.0 failed with error -1
    Mar 02 10:15:03 gondolin kernel: Error: Driver 'nvlink' is already registered, aborting...
    Mar 02 10:15:03 gondolin kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
    Mar 02 10:15:03 gondolin kernel: NVRM: None of the NVIDIA graphics adapters were initialized!
    Mar 02 10:15:03 gondolin kernel: [drm] Module unloaded
    Mar 02 10:15:03 gondolin kernel: NVRM: NVIDIA init module failed!
    Mar 02 10:15:03 gondolin systemd-udevd[15488]: Failed to apply ACL on /dev/dri/card1: No such file or directory
    Mar 02 10:15:03 gondolin systemd-udevd[15488]: Failed to apply ACL on /dev/dri/card1: No such file or directory
    Mar 02 10:15:04 gondolin systemd-udevd[15488]: Failed to apply ACL on /dev/dri/card1: No such file or directory
    Mar 02 10:15:04 gondolin systemd-udevd[15488]: Failed to apply ACL on /dev/dri/card1: No such file or directory
    Any thoughts?

  • [Solved] Xfce : Want to disable save session

    Hello everyone. New to Arch.
    Here's my problem. I want to disable save session feature of Xfce, but unable to do it. I also have tried,
    1. Settings manager > Session and startup - Unticking "Automatically save session on logout"
    2. Removing session cache.
    But no luck. Is there any other way to that? Thanks in advance.
    Last edited by Enindu (2014-05-01 19:16:48)

    I Think I didn't describe my problem well in above post.
    I already disabled automatically save session on logout from Xfce settings manger. Because I don't want it. But in every time going to logout "Save session for future logins" ticked. I must to untick it always on logout dialog. Otherwise session will be saved. That's what I want to be disabled.
    EDIT : Never mind. Fixed it my own. Just logged in as root and removed session cache folder. [~/.cache/session]
    Last edited by Enindu (2014-05-01 19:16:27)

  • [SOLVED] ADF - How to disable/enable CommandButton from JavaScript

    CommandButton is rendered as a image in HTML and image does not have disabled property in JavaScript. Is there some other way to dynamically change render property of ADF/CommandButton without auto submitting?

    - if you don't mind that it doesn't 'look' disabled, you can have an onClick return false
    - you might be able to hide it by putting it in the custom 'div' tag someone recently posted on this forum and then using visibility:hidden from the javascript
    - or you could put it in the div tag, or use a seperate div tag and float that on top, and play around with opacities
    - or you could just grit your teeth and do the partial submit. Hmm, speed vs. maintainability :-p

  • [solved]After upgrading to [testing] , yaourt gives errors (permision)

    (continued as far up as the terminal will scroll)
    error:
    error:
    error:
    error:
    error:
    error:
    error:
    picasa-beta-3.0_57.2401.0-2: description file is missing
    picasa-beta-3.0_57.2401.0-2: dependency file is missing
    picasa-beta-3.0_57.2401.0-2: file list is missing
    flashplugin-10.0.d20.7-3: description file is missing
    flashplugin-10.0.d20.7-3: dependency file is missing
    flashplugin-10.0.d20.7-3: file list is missing
    ttf-vista-fonts-1-2: description file is missing
    ttf-vista-fonts-1-2: dependency file is missing
    ttf-vista-fonts-1-2: file list is missing
    Is what shows up after I install something with Yaourt. The weird thing is it only shows packages I've recently installed (flashplugin from [testin], picasa from AUR and the fonts from AUR). Doesn't make sense because I don't think it upgraded pacman or anything when I upgraded to [testing]. BTW everything still installs fine, just that's pretty annoying still.
    EDIT: IN attempt to reinstall yaourt, I get this, potentially a permissions problem?
    % makepkg
    ==> Making package: yaourt-git 20081119-1 x86_64 (Wed Nov 19 19:06:30 PST 2008)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Missing Dependencies:
    -> error:
    -> could
    -> not
    -> open
    -> file
    -> /var/lib/pacman/local/flashplugin-10.0.d20.7-3/depends:
    -> Permission
    -> denied
    -> error:
    -> could
    -> not
    -> open
    -> file
    -> /var/lib/pacman/local/picasa-beta-3.0_57.2401.0-2/depends:
    -> Permission
    -> denied
    -> error:
    -> could
    -> not
    -> open
    -> file
    -> /var/lib/pacman/local/ttf-vista-fonts-1-2/depends:
    -> Permission
    -> denied
    -> git
    ==> ERROR: Could not resolve all dependencies.
    austin@austin-desktop ~/Desktop/yaourt-git
    I'll try root and see if it helps things out.
    And no problems as root...why are the permissions defaulting to the wrong thing?
    Also, every thing I try, pacman always sets the permissions wrong (tried as root, with youart, wihout it, with sudo, etc). I gotta run chmod -R 755 /usr/local/pacman/local every time to fix it, why isn't it setting it right by default?
    EDIT: Looks like a bug to me, so I bugreported it http://bugs.archlinux.org/task/12187
    Last edited by doorknob60 (2008-11-22 02:02:53)

    Boot with the failsafe image, which should have all possible modules included. All that needs to be done during this process is to load the modules needed to initiate the hard disk controller and then read from the filesystem.
    Unfortunately, that is not what you're facing. It looks to me like hardware incompatibility, possibly the cpufreq module. Paste your lspci, rc.conf and mkinitcpio.conf and hope for further assistance. It will also be good if you could include the output of mkinitcpio -p kernel26 and mkinitcpio -vp kernel26 (pastebin this one; it'll be very long).
    Last edited by schivmeister (2010-06-17 02:07:22)

  • [Solved] Systemd: how to disable core dumps on application crashes?

    Hi,
    I'm sorry if this is the wrong forum, but I just couldn't find a place that's really suitable for such a question.
    I have a really annoying problem with systemd: I'm developing software, which sometimes crashes. And when it crashes, I sometimes want to examine core dumps.
    The problem is that systemd seems to force coredumps, but saves them in some kind of obscure internal storage, where I don't have a clue about how to extract them from.
    The only hint that I could find was http://lists.freedesktop.org/archives/s … 04643.html which isn't really helpful.
    The problem is that systemd installs its coredump handler on boot:
    [root@neptun ~]# cat /proc/sys/kernel/core_pattern
    |/usr/lib/systemd/systemd-coredump %p %u %g %s %t %e
    Is there any way to disable this? I don't want core dumps to be generated unless I need them. Just clearing that file on boot seems too hackish for me, does anybody know if there is a systemd
    configuration option to turn coredumps off?
    Cheers,
    andr3as
    Last edited by andr3as (2012-12-15 01:42:24)

    The .conf file was recently renamed so the symlink must be called different as well. But I found it needs to contain something to actually overload systemd's default
    # echo kernel.core_pattern= > /etc/sysctl.d/50-coredump.conf
    # /lib/systemd/systemd-sysctl
    # cat /proc/sys/kernel/core_pattern # should be empty
    Last edited by Spider.007 (2013-07-13 10:06:41)

  • [SOLVED] Networkmanager - Network Managment Disabled

    I had a bad resume from suspend and had to restart computer, After that my networkmanager cant connect and KDE icon says viz subject. Trying to find some solution here I used google to find this : http://osdir.com/ml/debian-bugs-dist/20 … 07864.html
    Stopping networkmanager daemon, rm /var/lib/NetworkManager/NetworkManager.state and starting again solved this problem.
    However, this behavior looks very bad for me. If every daemon works like this, after bad resume u can throw the computer from window... And BTW I think this should be at wiki in Troubleshooting 'cause this can happen to everyone
    Last edited by LukynZ (2010-02-22 20:29:35)

    I fix it myself by adding rm line to /etc/rc.d/networkmanager where start script is, now its fixed automatically
    PID=`pidof -o %PPID $NETWORKMANAGER_BIN`
    case "$1" in
    start)
    rm /var/lib/NetworkManager/NetworkManager.state
    stat_busy "Starting NetworkManager"
    if [ -z "$PID" ]; then
    $NETWORKMANAGER_BIN
    fi
    if [ ! -z "$PID" -o $? -gt 0 ]; then
    stat_fail
    else
    add_daemon networkmanager
    stat_done
    fi
    stop)
    I am not sure how much is this solution clear, but it works and thats all I need

  • [SOLVED]Installing oraclejdk8u20 64bit using yaourt

    I installed oraclejdk8u20 using yaourt command.   It shows installed as shown belocw in the code.
    $ yaourt oraclejdk
    1 aur/oraclejdk6-32 6u45-1 (0)
    Non-conflicting 32-bit Oracle JDK 6 for servers
    2 aur/oraclejdk6-64 6u45-1 (0)
    Non-conflicting 64-bit Oracle JDK 6 for servers
    3 aur/oraclejdk7-32 7u67-1 (0)
    Non-conflicting 32-bit Oracle JDK 7 for servers
    4 aur/oraclejdk7-64 7u67-1 (0)
    Non-conflicting 64-bit Oracle JDK 7 for servers
    5 aur/oraclejdk8-32 8u20-1 (1)
    Non-conflicting 32-bit Oracle JDK 8 for servers
    6 aur/oraclejdk8-64 8u20-1 [installed] (1)
    Non-conflicting 64-bit Oracle JDK 8 for servers
    ==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
    ==> -------------------------------------------------------
    ==>
    I am unable to use java what to do??
    i used the following command to install oraclejdk
    yaourt -S oraclejdk8
    NOTE: THERE WAS NO PREVIOUS INSTALLATION OF ANY JDK OR JRE ON MY SYSTEM
    Last edited by ashhar24 (2014-09-29 21:27:45)

    mrunion wrote:When you say you are "unable to use Java", I assume you mean run java apps on your system? Have you rebooted/re-logged out/in/re-sourced environment variables on your system so the Java environment variables can be read? What error(s) are you getting that lead to being "unable to use Java"?
    Yeah I restarted but there was no "java" command also I was unable to find where the package was installed, it was neither in /usr or /opt..
    EDIT PROBLEM FIXED READ THE PREVIOUS POST

  • [SOLVED]How can I disable ehci_hcd kernel module?

    How can I disable ehci_hcd kernel module loading?
    I have up to date archlinux.
    I tried add 'modprobe -r ehci_hcd' to '/etc/rc.local' but this broke net-profiles - ppp connection at bootup(I have USB modem (which of course work with uhci_hcd module) connected).
    I also tried with '/etc/modprobe.d/modprobe.conf' and 'blacklist ehci_hcd' but ehci_hcd still loading at bootup.
    Last edited by amen (2010-01-27 17:48:45)

    bangkok_manouel wrote:http://wiki.archlinux.org/index.php/Rc.conf#Hardware
    Thanks, but:
    1) blacklist module in /etc/rc.conf not work:
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(floppy !snd-pcsp !ehci_hcd)
    2) this not work also:
    MOD_AUTOLOAD="no"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(long_long_list_of_modules_without_ehci_hcd)
    I found solution:
    1) comments 2 lines in /etc/modprobe.d/usb-load-ehci-first.conf
    #install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe --ignore-install ohci_hcd $CMDLINE_OPTS
    #install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe --ignore-install uhci_hcd $CMDLINE_OPTS
    2) and blacklist module ehci_hcd in /etc/rc.conf.

  • [solved ... :P] yaourt - 'm' is not a valid root path

    [root@pwn etc]# yaourt -noconfirm -Sybu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    local database is up to date
    error: 'm' is not a valid root path
    Aaahhh!!!
    Noooo!!!
    Don't!!!!
    How can I fix it?
    Last edited by synthead (2007-09-24 02:23:18)

    it's --noconfirm, with '2' hyphens

  • [SOLVED] idle headless arch, disables wired lan

    Hey,
    I've recently installed a headless arch linux thats works near-perfectly.
    Although, once its booted I have about 5 minutes to ssh to it without the network disconnecting
    I say disconnecting, because I can't ping it, and as it boot headless i can't connect a monitor to it.
    I've got the same hardware configuration on another arch linux, with a gui - and it runs fine.
    I've set the following in both ssh_config, sshd_config (server and client):
    TCPKeeplAlive yes
    ServerAliveInterval 5
    I dont know if this matters but the computer only has power and network connected to it.
    How do I keep the network alive?
    [X@redhat ~]$ ssh 192.168.1.100 -l root
    [email protected]'s password:
    Last login: Thu Jun 17 23:40:19 2010 from 192.168.1.109
    [root@Archer ~]#Timeout, server not responding. //left idle for 5 minutes
    [X@redhat ~]$ ssh 192.168.1.100 -l root
    ssh: connect to host 192.168.1.100 port 22: No route to host
    [X@redhat ~]$ ping 192.168.1.100
    PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.
    From 192.168.1.109 icmp_seq=1 Destination Host Unreachable
    From 192.168.1.109 icmp_seq=2 Destination Host Unreachable
    From 192.168.1.109 icmp_seq=3 Destination Host Unreachable
    ^C
    --- 192.168.1.100 ping statistics ---
    5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4427ms
    pipe 3
    [X@redhat ~]$
    Last edited by scarletxfi (2010-07-19 02:48:10)

    more info :
    dmesg before drop
    Jun 20 00:58:18 Archer init: Entering runlevel: 3
    Jun 20 00:58:18 Archer dhcpcd: version 5.2.2 starting
    Jun 20 00:58:18 Archer dhcpcd: eth0: rebinding lease of 192.168.1.102
    Jun 20 00:58:18 Archer dhcpcd: eth0: acknowledged 192.168.1.102 from 192.168.1.1
    Jun 20 00:58:18 Archer dhcpcd: eth0: checking for 192.168.1.102
    Jun 20 00:58:23 Archer dhcpcd: eth0: leased 192.168.1.102 for 86400 seconds
    Jun 20 00:58:23 Archer dhcpcd: forking to background
    Jun 20 16:04:36 Archer kernel: Initializing cgroup subsys cpuset
    syslog
    Jun 20 00:54:40 Archer syslog-ng[2173]: syslog-ng shutting down; version='3.1.1'
    Jun 20 00:58:18 Archer syslog-ng[1431]: syslog-ng starting up; version='3.1.1'
    Jun 20 16:04:36 Archer syslog-ng[1443]: syslog-ng starting up; version='3.1.1'
    Jun 20 16:10:10 Archer syslog-ng[1443]: Termination requested via signal, terminating;
    Jun 20 16:10:10 Archer syslog-ng[1443]: syslog-ng shutting down; version='3.1.1'
    Jun 20 16:10:45 Archer syslog-ng[1432]: syslog-ng starting up; version='3.1.1'
    kernel.log
    Jun 20 00:58:18 Archer kernel: e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
    Jun 20 00:58:18 Archer kernel: e100: Copyright(c) 1999-2006 Intel Corporation
    Jun 20 00:58:18 Archer kernel: e100 0000:05:08.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
    Jun 20 00:58:18 Archer kernel: [drm] set up 15M of stolen space
    Jun 20 00:58:18 Archer kernel: [drm] initialized overlay support
    Jun 20 00:58:18 Archer kernel: e100 0000:05:08.0: PME# disabled
    Jun 20 00:58:18 Archer kernel: e100: eth0: e100_probe: addr 0xf8900000, irq 20, MAC addr 00:08:02:c2:53:99
    Jun 20 00:58:18 Archer kernel: No connectors reported connected with modes
    Jun 20 00:58:18 Archer kernel: [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
    Jun 20 00:58:18 Archer kernel: EXT4-fs (sda4): mounted filesystem with ordered data mode
    Jun 20 00:58:18 Archer kernel: Adding 265064k swap on /dev/sda2. Priority:-1 extents:1 across:265064k
    Jun 20 00:58:18 Archer kernel: e100: eth0 NIC Link is Up 100 Mbps Full Duplex
    Jun 20 16:04:36 Archer kernel: Initializing cgroup subsys cpuset
    messages
    Jun 20 00:58:18 Archer init: Entering runlevel: 3
    Jun 20 00:58:18 Archer dhcpcd: version 5.2.2 starting
    Jun 20 00:58:18 Archer dhcpcd: eth0: rebinding lease of 192.168.1.102
    Jun 20 00:58:18 Archer dhcpcd: eth0: acknowledged 192.168.1.102 from 192.168.1.1
    Jun 20 00:58:18 Archer dhcpcd: eth0: checking for 192.168.1.102
    Jun 20 00:58:23 Archer dhcpcd: eth0: leased 192.168.1.102 for 86400 seconds
    if needed i will provide more info.

  • [Solved] "An unknown error" with yaourt

    Hi,
    I'm reinstalling Arch 2010.05 to my ThinkPad,
    Everything is working fine but AUR...
    When I try to install package, en error occures as below.
    It happens on all AUR packages.
    Just a week ago, they were all installable though...
    Any idea or workaround?
    $ yaourt -Sy PACKAGE_NAME
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort) N
    ==> Continue building shorewall ? [Y/n] Y
    ==> Building and installing package
    ==> ERROR: An unknown error has occurred. Exiting...
    ==> ERROR: Makepkg was unable to build PACKAGE_NAME.
    Thank you.
    MSMHRO from Tokyo
    Last edited by MSMHRO (2010-06-29 10:12:43)

    I've found a workaround.
    vi /etc/makepkg.conf
    # Original # BUILDENV=(fakeroot !distcc color !ccache)
    # Modified # BUILDENV=(fakeroot !distcc !color !ccache)
    It's working perfectly fine.
    Not certain for root cause though...
    > tomk
    Thanks for your advice.
    I've just change the title....
    Last edited by MSMHRO (2010-06-29 10:10:49)

  • [ SOLVED ] pkg-config package and yaourt fails

    hi,
    I am using yaourt to install packages from the AUR.
    Everytime i try to install a package that requires pkgconfig as a dependancy yaourt downloads pkg-config and installs it even though I already have this package installed.
    After installing pkg-config, yaourt outputs the message:
    Install or build missing dependencies for <packagename>:
    were packagename is the name of the package i was trying to install. It then goes back to the prompt
    I am running arch64. How can i fix this?
    This is an example of the entire process. I am trying to install gnome-globalmenu.
    [abes@Archlinux ~]$ yaourt -S gnome-globalmenu
    ==> Resuming previous build
    ==> Downloading gnome-globalmenu PKGBUILD from AUR...
    --2010-11-18 20:18:46-- http://aur.archlinux.org/packages/gnome-globalmenu/gnome-globalmenu.tar.gz
    Resolving aur.archlinux.org... 208.92.232.29
    Connecting to aur.archlinux.org|208.92.232.29|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1408 (1.4K) [application/x-tgz]
    Saving to: "gnome-globalmenu.tar.gz"
    100%[======================================>] 1,408 --.-K/s in 0s
    2010-11-18 20:18:47 (58.0 MB/s) - "gnome-globalmenu.tar.gz" saved [1408/1408]
    bsdtar: Removing leading '/' from member names
    x gnome-globalmenu.install
    x PKGBUILD
    Comment by: dottorblaster on Fri, 23 Apr 2010 17:34:53 +0000
    looks like this project is dead :(
    Comment by: gartz on Tue, 11 May 2010 12:56:13 +0000
    xfce4 supported. Just edit in the PKGBUILD (configure line): from '--with-gnome-panel' to '--without-gnome-panel --with-xfce4-panel'.
    Will work fine! :) Tkx dottorblaster!
    Comment by: dottorblaster on Tue, 11 May 2010 13:39:58 +0000
    Yeah, there is the XFCE package for this.
    Comment by: JPEC on Sun, 12 Sep 2010 16:23:30 +0000
    gartz, for xfce, after installing the PKG and adding the applet in the panel, is it something more to do?
    Comment by: scorpfa on Thu, 07 Oct 2010 18:04:59 +0000
    Dependency 'gnome-panel-bonobo' missing
    First Submitted: Tue, 10 Feb 2009 00:06:36 +0000
    gnome-globalmenu 0.7.10-1 : Global Menu Bar for GNOME
    ( Unsupported package: Potentally dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ----------------------------------------------
    ==>n
    ==> gnome-globalmenu dependencies:
    - gnome-panel (already installed)
    - libnotify (already installed)
    - gnome-panel-bonobo (already installed)
    - vala (already installed)
    - libtool (already installed)
    - pkgconfig (building from AUR)
    - intltool (already installed)
    ==> Edit gnome-globalmenu.install ? [Y/n] ("A" to abort)
    ==> ----------------------------------------------
    ==>n
    ==> Continue the building of gnome-globalmenu ? [Y/n]
    ==> ----------------------------------------------
    ==>y
    ==> Building missing dependencies from AUR:
    Password:
    warning: provider package was selected (pkg-config provides pkgconfig)
    warning: pkg-config-0.25-2 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): pkg-config-0.25-2
    Total Download Size: 0.00 MB
    Total Installed Size: 0.18 MB
    Proceed with installation? [Y/n] y
    checking package integrity...
    (1/1) checking for file conflicts [######################] 100%
    (1/1) upgrading pkg-config [######################] 100%
    ==> Install or build missing dependencies for gnome-globalmenu:
    [abss@Archlinux ~]$
    Last edited by Abraham Salloum (2011-06-11 23:32:18)

    Updating yaourt fixed it. What happened was that before i knew what the AUR was - i had installed a lot of community supported repos. After installing youart i removed the community supported repos because i thought i didn't need them.
    I didn't realise that yaourt was not in the official repositories, so the package was never able to upgrade.
    yaourt should be in the official repos.
    Thanks a lot for your help.

Maybe you are looking for