[SOLVED] Enabling debug for ath9k in compat-drivers-patched from AUR

Wireless card: TP-LINK TL-WN951N. lspci says that it is an Atheros AR5416 adapter [AR5008].
Some background: I'm having the same issues as the OP in this thread, which references this bug report. The problem is that I get a 2000 ms ping every 30 seconds. So 2 seconds of inactivity every 30 seconds. I have the same wireless PCI card, as well. I need to fix this, because it's making online gaming impossible. I should also note that the card is working just fine in Windows 8, however. I am using net-auto-wireless. I have tried using wicd, enabling ath9k's nohwcrypt option, toggling the card's power save, installing the latest compat-drivers-patched from the AUR, toggling different settings in my motherboard's BIOS, and removing the antennae from the card. But nothing has made a significant difference.
I think I'm really close now. I just have to disable ANI. But in order to do that, it seems that I need to enable debugging for ath9k. But this means that I need to either recompile a custom kernel, or somehow enable debug for ath9k in compat-drivers-patched from the AUR. I'd prefer the latter, as that means that I will have a more bleeding-edge driver. That, and I won't have to touch the kernel as much. What I want is described on this page. But it seems too complicated to me. Please let me explain.
I've installed things from the AUR before, as mentioned above, and have properly configured my makepkg.conf for my system. So I'd like to use the CFLAGS and such that I've set. I don't understand how everything works in the PKGBUILD; I don't have much experience with sed and awk and regular expressions, and haven't done much shell scripting at all. It seems that at some point in the PKGBUILD, I need to enable debugging for ath9k before it is compiled. Apparently on the last page I linked to, I need to add:
export CONFIG_ATH_DEBUG=y
export CONFIG_ATH9K_DEBUG=y
export CONFIG_ATH9K_DEBUGFS=y
to some config.mk file. I can only get access to the config.mk file after I install the package with pacman. I've tried adding those lines to my /etc/profile file, and checked, after a reboot, with "set", that those variables are indeed set. But the thing is, with these variables set in /etc/profile, when I run makepkg, makepkg fails with an error 2. I tried again and got the same error. I removed those lines from my /etc/profile, rebooted, tried makepkg again, and everything worked. So putting those lines in my /etc/profile is not the solution, and I feel like I'm doing something very stupid. What am I doing wrong?
I should also note that I've tried to read the wiki page on compiling a custom kernel using ABS, but it seems to just say "get your custom configuration files" and then just continue (so it assumes that I should already be familiar with the configuration part). The PKGBUILD and Creating Packages wiki pages also seem to be a little... too advanced for me at this point in time.
So how do I enable debugging for ath9k in compat-drivers-patched from the AUR? I'd prefer to stick with only editing the PKGBUILD and using makepkg, if possible.
I've really tried to search the web and the arch forums on how to fix this problem myself, but alas, it seems that I need help this time. I greatly appreciate your time for reading my long post.
UPDATE:
I've made a lot of progress. I ended up removing the AUR package with pacman by invoking "pacman -Rsn compat-drivers-patched".
Instructions for [almost] success: First, download compat-drivers-patched from AUR. Then move it to the "builds" directory (or "local", if using ABS). Extract the tarball. After the new directory is created, cd into it. Now here's the important part: run
$ makepkg -so
Then cd into src, cd into the directory inside src, then edit the config.mk file. Make sure these lines are uncommented (or created, if not already there):
export CONFIG_CFG80211_DEBUGFS=y
export CONFIG_MAC80211_DEBUGFS=y
export CONFIG_ATH_DEBUG=y
export CONFIG_ATH9K_DEBUG=y
export CONFIG_ATH9K_DEBUGFS=y
(source)
Now run "cd ../.." to go back up two directories. Now run:
$ makepkg -e
# pacman -U <file that was produced>
And I ran "mkinitcpio -p linux" just in case, but I'm not sure if that is necessary at all. I'm... not touching the kernel, right?
Now I ran:
echo 1 > /sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani
But bash would say that the file or directory doesn't exist. Even if I prepend it with "sudo", I get the same results. I was only able to get the command to work if I logged in as root. I even put the line in my /etc/profile. The 2000 ms ping every 30 seconds is now GONE. HOWEVER! If I reboot and log in as a normal user, the problem is there again. If I reboot and log in as root, the problem is gone. If I then log out and then log back in as a normal user, the problem does not come back.
So really, I can avoid the problem if I first log in as root, log out, and then log back in as a normal user. But this is a great inconvenience. I would much prefer if I could just log in as a normal user right after boot, and have everything working.
Now, how do I get the command to automatically run at boot as root (without me having to log in as root), and work?
UPDATE 2:
I got it working. Putting the line in /etc/profile is not the solution. I created a custom systemd .service file.
Put this into /etc/systemd/service (name it "disable_ani.service"):
EDIT: Wow. I made a glaring typo here. It should be /etc/systemd/system/disable_ani.service
[Unit]
Description=disable_ani
[Service]
Type=oneshot
ExecStart=/bin/sh -c "echo 1 > /sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani"
[Install]
WantedBy=multi-user.target
Then make sure to "sudo chmod 755 /etc/systemd/service/disable_ani.service", since root owns this file.
Then run "sudo systemctl enable disable_ani.service".
EDIT: It has been brought to my attention that there is a much simpler way than creating a custom service.
Using a tmpfile:
/etc/tmpfiles.d/disable_ani.conf
w /sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani - - - - 1
Done.
Now ANI is persistently disabled between boots, even if I log in as a normal user right after boot.
Thanks for reading.
Last edited by vyu223 (2013-03-12 10:20:19)

So zsh is telling you that the command didn't work, since it claims that there is no such file or directory. I had a lot of trouble with getting the echo command to work, as well. I found that if out of these lines:
export CONFIG_CFG80211_DEBUGFS=y
export CONFIG_MAC80211_DEBUGFS=y
export CONFIG_ATH_DEBUG=y
export CONFIG_ATH9K_DEBUG=y
export CONFIG_ATH9K_DEBUGFS=y
If the first and second line above were not uncommented in the config.mk file, I couldn't leave the last line above uncommented as well, or else makepkg would fail and give me an error. So originally I had only the 3rd and 4th lines above uncommented/inserted in my config.mk. With that configuration, I could not get the echo command to work, no matter what. Have you uncommented or inserted all of the above 5 lines into your config.mk?
After making sure all of the above 5 lines were in my config.mk, the echo command still didn't work, even if I preceded the command with sudo, or entered a su session. Bash would tell me that there was no such file or directory. I found that if I actually logged out of my normal user, and then logged back into the computer as root, the command would work. If your shell does not give you any feedback (particularly, "no such file or directory"), then the command worked. In order to get the command to run every time the computer boots, I used a systemd service, so that the command is issued as root. For some reason, it doesn't work if you put the command into /etc/profile.
Oh, and it would probably be helpful to mention that for the compat-drivers-patched package from the AUR, the PKGBUILD checks to see what your _selected_drivers variable is before compilation. If you set _selected_drivers=ath9k, your compile times will be much shorter.

Similar Messages

  • Enable debug for pl/sql

    i want to enable the debug for pl/sql . and also the debug output stored in "FND_LOG_MESSAGES" table

    i want to enable the debug for pl/sql . Please see these docs.
    Debugging PL/SQL Programs Using DBMS_OUTPUT [ID 1005663.6]
    What Tools can be Used to Debug PL/SQL Program Units on the Database [ID 566668.1]
    How To Debug a PL/SQL Package Using JDeveloper [ID 300252.1]
    How To Obtain PL/SQL Object Information Regarding Debugging and Compilation [ID 793492.1]
    FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
    and also the debug output stored in "FND_LOG_MESSAGES" table11.5.10/12: How To Enable and Retrieve FND Debug Log File Messages for Oracle iStore? [ID 789172.1]
    How to Obtain Debug Log in R12 [ID 787727.1]
    (Pics) How Can Trace and Debug Be Turned On For A Concurrent Request? [ID 759389.1]
    Thanks,
    Hussein

  • [SOLVED] Extra resolutions for games with Nvidia drivers

    When using the nouveau drivers, games and other such applications will allow me to select any resolution my screens (one 1920x1080, the other 1680x1050-- the latter of which is to the left of the first) will support, as well as 3600x1080, the combined total (spanning both screens). For instance, I can make something like Tux Racer 1280x800, and either windowed or fullscreen. However, with the Nvidia proprietary drivers, the only resolutions that I can select are 1920x1080, 1680x1050, and 3600x1080. This prevents me from playing windowed games in such a way that they don't cover my whole screen, or playing fullscreen games at lower resolutions for higher performance. How can I use the Nvidia drivers and the "extra" resolutions? (Ideally, all those listed in the Xinerama output below)
    Xrandr outputs this:
    Screen 0: minimum 8 x 8, current 3600 x 1080, maximum 16384 x 16384
    DVI-I-0 connected 1920x1080+1680+0 (normal left inverted right x axis y axis) 510mm x 287mm
    1920x1080 60.0*+
    1680x1050 60.0
    1600x1200 60.0
    1440x900 59.9
    1400x1050 74.8 60.0
    1280x1024 75.0 60.0
    1280x960 60.0
    1280x800 59.8
    1152x864 75.0
    1024x768 75.0 70.1 60.0
    832x624 74.6
    800x600 75.0 72.2 60.3 56.2
    700x525 149.5 120.0
    640x480 75.0 72.8 59.9
    512x384 140.1 120.0
    400x300 144.4
    320x240 145.6 120.1
    DVI-I-1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm
    1680x1050 59.9*+ 60.0
    1440x900 75.0 59.9
    1400x1050 60.0
    1280x1024 75.0 60.0
    1280x960 60.0
    1152x864 75.0
    1024x768 75.0 70.1 60.0
    832x624 74.6
    800x600 75.0 72.2 60.3 56.2
    700x525 149.5 120.0
    640x480 75.0 72.8 59.9
    512x384 140.1 120.0
    400x300 144.4
    320x240 145.6 120.1
    DVI-I-2 disconnected (normal left inverted right x axis y axis)
    HDMI-0 disconnected (normal left inverted right x axis y axis)
    DVI-I-3 disconnected (normal left inverted right x axis y axis)
    My xorg.conf is:
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    Option "Xinerama" "0"
    EndSection
    Section "Files"
    FontPath "/usr/share/fonts/local"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Acer G235H"
    HorizSync 30.0 - 83.0
    VertRefresh 56.0 - 75.0
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce GTS 450"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "Stereo" "0"
    Option "nvidiaXineramaInfoOrder" "CRT-0"
    Option "TwinViewOrientation" "CRT-1 LeftOf CRT-0"
    Option "metamodes" "CRT-0: nvidia-auto-select, CRT-1: nvidia-auto-select"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    Last edited by DrKillPatient (2012-07-06 19:29:15)

    brebs wrote:
    Maybe these help:
    http://www.nvnews.net/vbulletin/showthread.php?t=184711
    http://www.nvnews.net/vbulletin/showthread.php?t=184968
    Thanks. The first link worked, in the sense that my games now have all those resolution options, but now there's a new bug.
    To future readers: a solution has been found for this bug as well, see below.
    My metamodes setting now reads:
    Option "metamodes" "CRT-0: nvidia-auto-select, CRT-1: nvidia-auto-select; nvidia-auto-select {ViewPortI n=1920x1080}; nvidia-auto-select {ViewPortIn=1680x1050}; [b]nvidia-auto-select {ViewPortIn=1600x1200};[/b] nvidia-auto-sele ct {ViewPortIn=1440x900}; nvidia-auto-select {ViewPortIn=1400x1050}; nvidia-auto-select {ViewPortIn=1280x1024}; nvi dia-auto-select {ViewPortIn=1280x960}; nvidia-auto-select {ViewPortIn=1280x800}; nvidia-auto-select {ViewPortIn=115 2x864}; nvidia-auto-select {ViewPortIn=1024x768}; nvidia-auto-select {ViewPortIn=832x624}; nvidia-auto-select {View PortIn=800x600}; nvidia-auto-select {ViewPortIn=700x525}; nvidia-auto-select {ViewPortIn=640x480}; nvidia-auto-sele ct {ViewPortIn=512x384}; nvidia-auto-select {ViewPortIn=400x300}; nvidia-auto-select {ViewPortIn=320x240}
    Because I now have included a resolution whose height is 1200 (or so I suppose-- if I remove that part, the issue does not occur), this happens:
    Xrandr output:
    Screen 0: minimum 8 x 8, current 3600 x 1200, maximum 16384 x 16384
    My X screen has the right length, but the wrong height! Now, my desktop seems to span the right area (3600x1080), but if I move my mouse to the bottom of that area, it pans down another 120 pixels. In that area, there's just graphical gibberish, often whatever I had on the screen last time.
    If I use Xrandr to set my screens' output, it works again, butthere a solution within the Nvidia driver settings...
    EDIT: It occurs to me that the setting seems to be taking the largest possible resolution for the X screen based on those metamodes.
    EDIT 2: This is likely intended behavior. The proper virtual resolution (X screen resolution) may be restored by adding
    Virtual 3600 1080
    to the "Display" subsection under the "Screen" section.
    I'll mark this as solved.
    Here's my working xorg.conf, by the way. I've posted only the "Screen" section because that's all I've changed. The rest is in my first post.
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "Stereo" "0"
    Option "nvidiaXineramaInfoOrder" "CRT-0"
    Option "TwinViewOrientation" "CRT-1 LeftOf CRT-0"
    Option "metamodes" "CRT-0: nvidia-auto-select, CRT-1: nvidia-auto-select; nvidia-auto-select {ViewPortIn=1920x1080}; nvidia-auto-select {ViewPortIn=1680x1050}; nvidia-auto-select {ViewPortIn=1600x1200}; nvidia-auto-select {ViewPortIn=1440x900}; nvidia-auto-select {ViewPortIn=1400x1050}; nvidia-auto-select {ViewPortIn=1280x1024}; nvidia-auto-select {ViewPortIn=1280x960}; nvidia-auto-select {ViewPortIn=1280x800}; nvidia-auto-select {ViewPortIn=1152x864}; nvidia-auto-select {ViewPortIn=1024x768}; nvidia-auto-select {ViewPortIn=832x624}; nvidia-auto-select {ViewPortIn=800x600}; nvidia-auto-select {ViewPortIn=700x525}; nvidia-auto-select {ViewPortIn=640x480}; nvidia-auto-select {ViewPortIn=512x384}; nvidia-auto-select {ViewPortIn=400x300}; nvidia-auto-select {ViewPortIn=320x240}"
    SubSection "Display"
    Virtual 3600 1080
    Depth 24
    EndSubSection
    EndSection
    Last edited by DrKillPatient (2012-07-06 19:31:18)

  • Enable debug for jsp.

    Hi,
    I have downloaded OEPE for Eclipse Galileo and I am able to keep break points in the jsp. when ever it comes to that line it says attach source which i don't have as it is looking for a .class file. Or if I have made changes to an existing jsp after the server is started, it says jsp is out of sync. :( every time i make changes to a jsp I have to restart the server which takes 30 minutes. I want to do hot code replacement like how its done for java for jsps and xmls. We are using struts and weblogic 9.2 MP3.Please help.
    Regards,
    Acharya

    Hi Raj,
    Thanks for ur response. I am able to keep break points etc in my jsp but i am not able to watch or inspect any java variable. I have also tried the keep generated and attached the generated code under admin server, tried attaching the web content alone in the add source, no use .. can you tell me what cold be the issue? atleast i am prepared to copy paste my jsp anywhere so that the change is reflected. every time i make changes I need to take a build deploy it which is very irritating.
    Another major major issue I face is if i land in a java file which i havent landed before or made changes, I need to give a space and save or else it is not staying n the break points which is given. this makes this plugin all the more annoying. The Galileo which i downloaded is the one released from eclise and not any of the previous versions.
    I am thinkin of movin out of oepe. before I was using com.bea.weblogic.eclipse_1.1.1 a plugin i fond some where and thats better. only issue i face is out of sync wfor which i need to restart the server.
    am I missing something? I downloaded the eclipse 5.0, i downloaded oepe-previewgalileo-11.1.1.1.1.200904131351 as it is from the server provider itself I installed oepe-previewgalileo-11.1.1.1.1.200904131351 successfully and i have so many issues?
    Please advice & help....
    Regards,
    Acharya

  • [solved] Python issues when trying to run tpfanco-svn from AUR

    I installed tpfanco-svn [1] from the AUR, and all that went smoothly. However, I do get some serious Python related errors when I actually try to run tpfand or tpfan-admin, and I do not know whether they are actually Python 2 or Python 3 related.
    Here are the error messages:
    $ tpfand
    Traceback (most recent call last):
    File "/usr/sbin/tpfand", line 26, in <module>
    import tpfand.control
    File "/usr/lib/python2.7/site-packages/tpfand/control.py", line 27, in <module>
    import dbus, dbus.service, dbus.mainloop.glib, dbus.glib
    File "/usr/lib/python3.3/site-packages/dbus/__init__.py", line 82, in <module>
    import dbus.types as types
    File "/usr/lib/python3.3/site-packages/dbus/types.py", line 6, in <module>
    from _dbus_bindings import (
    ImportError: /usr/lib/python3.3/site-packages/_dbus_bindings.so: undefined symbol: PyBytes_Type
    And for the other command:
    $ tpfan-admin
    Traceback (most recent call last):
    File "/usr/bin/tpfan-admin", line 21, in <module>
    import tpfanadmin.globals
    File "/usr/lib/python2.7/site-packages/tpfanadmin/globals.py", line 24, in <module>
    import gtk, gtk.glade, gobject, gtk.gdk
    File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
    from gtk import _gtk
    File "/usr/lib/python3.3/site-packages/cairo/__init__.py", line 2
    SyntaxError: Non-ASCII character '\xc2' in file /usr/lib/python3.3/site-packages/cairo/__init__.py on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
    Any ideas how to debug this? Maybe I am missing some package?
    1: https://aur.archlinux.org/packages/tpfanco-svn/
    EDIT/Solution: The scripts, both tpfand and the tpfan-admin GUI, are only meant to be run as root. If done so, no errors are thrown.
    Last edited by Stalafin (2013-04-19 14:12:01)

    clfarron4 wrote:A possible related bug is this, referenced in this thread.
    clfarron4: It looks like it could be however the suggested solution in the bug report did not solve the problem.
    As I did not want to solve it dirty as Thorsten Reinbold did to build his package I downgraded automake from 1.15 to 1.14 temporarily and built the package with no errors. I then installed the package and all is working properly. I then reupgraded to version 1.15.

  • Intel 4965 compat-drivers

    Hi,
    My wifi card is Intel 4965 a/b/g/n and I need compat-drivers to fix "fixed channel: -1" bug.
    I have question about installing compat-drivers-patched from AUR.
    I dont know how to load driver after i installed it.
    Im currently using standard drivers (iwl4965). Should I uninstall them before installing new drivers? What is package name of this driver?
    I have installed compat-drivers-patched by makepkg and makepkg -i.
    Last edited by nerexis (2013-05-18 17:58:15)

    It seems the next release of patch 109401-04 will add support for
    intel 810/815 graphics: <a
    href="http://www.sun.com/io_technologies/upcoming-patches.html#Video
    ">http://www.sun.com/io_technologies/upcoming-patches.html</a>

  • Compat-drivers broke my video

    Hello guys.
    I have arch linux updated to this date (3/3/2013). A few days ago I've installed compat drivers patched from the AUR in order to get best wireless support. But it seems to have been update some of my video drivers (i915, i have a msi wind u100x) and now mi video doesn't work quite right. basically, when I boot, it start well, and when it load all my udev modules, the window blink a little ligher (as usually) and then it should change my resolution (it doesn't). then the system starts well, but i'm unable to start any xorg-server, startx or xrandr. anything else works fine, as it works on console mode.
    Then, I try a distro, who boots from usb, and "restore" my arch instalation. It boots fine, and restore my usual config, i can start xorg and stuff. bun when i boot from original boot it work wrong again.
    Looking un my dmesg ouput, i find this:
    [ 7.721285] ------------[ cut here ]------------
    [ 7.721383] kernel BUG at arch/x86/mm/pat.c:279!
    [ 7.721455] invalid opcode: 0000 [#1] PREEMPT SMP
    [ 7.721636] Modules linked in: i915(O+) ath9k_htc(O) drm_kms_helper(O) ath9k_common(O) ath9k_hw(O) ath(O) snd_hda_codec_realtek mac80211(O) cfg80211(O) snd_hda_intel snd_hda_codec snd_hwdep intel_agp iTCO_wdt iTCO_vendor_support r8187se(C) gpio_ich drm(O) r8169 i2c_algo_bit i2c_core snd_pcm snd_page_alloc snd_timer snd rfkill compat(O) intel_gtt eeprom_93cx6(O) ums_realtek acpi_cpufreq mii lpc_ich soundcore agpgart mperf ac wmi psmouse evdev video thermal battery coretemp button pcspkr serio_raw processor microcode fuse nfs lockd sunrpc fscache ext4 crc16 jbd2 mbcache usb_storage sd_mod ata_generic pata_acpi ata_piix libata uhci_hcd ehci_hcd scsi_mod usbcore usb_common
    [ 7.724283] Pid: 135, comm: systemd-udevd Tainted: G C O 3.7.9-2-ARCH #1 MICRO-STAR INTERNATIONAL CO., LTD U-100/U-100
    [ 7.724283] EIP: 0060:[<c01319cf>] EFLAGS: 00010286 CPU: 1
    [ 7.724283] EIP is at reserve_memtype+0x1f/0x470
    [ 7.724283] EAX: f88cd5b4 EBX: f88cd5b4 ECX: f56c5bf4 EDX: 00000000
    [ 7.724283] ESI: 00000000 EDI: 00000000 EBP: f56c5c08 ESP: f56c5bc8
    [ 7.724283] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
    [ 7.724283] CR0: 80050033 CR2: f955f25c CR3: 354e0000 CR4: 000007c0
    [ 7.724283] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
    [ 7.724283] DR6: ffff0ff0 DR7: 00000400
    [ 7.724283] Process systemd-udevd (pid: 135, ti=f56c4000 task=f5533a70 task.ti=f56c4000)
    [ 7.724283] Stack:
    [ 7.724283] dfefffff 000dfeff 000dfe80 f960003c dfeff173 00000573 f4af9240 f9580000
    [ 7.724283] 088cd5b3 000088cd 000f88cd 0000003c 00000010 f88cd5b4 f88cd5b4 00000000
    [ 7.724283] f56c5c44 c01323ee 088cd5b4 00000000 00000008 f56c5c34 dfe80000 f56c5c4c
    [ 7.724283] Call Trace:
    [ 7.724283] [<c01323ee>] io_reserve_memtype+0x5e/0x130
    [ 7.724283] [<c0133faf>] iomap_create_wc+0x1f/0x40
    [ 7.724283] [<f94f4675>] i915_driver_load+0x395/0xc90 [i915]
    [ 7.724283] [<c03c46cd>] ? pm_runtime_init+0xcd/0xe0
    [ 7.724283] [<f8a0729b>] drm_get_pci_dev+0x13b/0x260 [drm]
    [ 7.724283] [<f94f05e9>] i915_pci_probe+0x39/0x90 [i915]
    [ 7.724283] [<c0328049>] pci_device_probe+0x79/0xb0
    [ 7.724283] [<c03b9ad9>] driver_probe_device+0x79/0x360
    [ 7.724283] [<c03b9e51>] __driver_attach+0x91/0xa0
    [ 7.724283] [<c03b9dc0>] ? driver_probe_device+0x360/0x360
    [ 7.724283] [<c03b7fe2>] bus_for_each_dev+0x42/0x80
    [ 7.724283] [<c03b95fe>] driver_attach+0x1e/0x20
    [ 7.724283] [<c03b9dc0>] ? driver_probe_device+0x360/0x360
    [ 7.727913] [<c03b91a7>] bus_add_driver+0x177/0x280
    [ 7.727913] [<c0327f00>] ? pci_dev_put+0x20/0x20
    [ 7.727913] [<c0327f00>] ? pci_dev_put+0x20/0x20
    [ 7.727913] [<c03ba46a>] driver_register+0x6a/0x160
    [ 7.727913] [<f83e9000>] ? 0xf83e8fff
    [ 7.727913] [<c0328113>] __pci_register_driver+0x33/0x40
    [ 7.727913] [<f8a074bd>] drm_pci_init+0xfd/0x110 [drm]
    [ 7.727913] [<f83e9000>] ? 0xf83e8fff
    [ 7.727913] [<f83e9063>] __init_compat+0x63/0x65 [i915]
    [ 7.727913] [<c0101242>] do_one_initcall+0x112/0x160
    [ 7.727913] [<c01617da>] ? __blocking_notifier_call_chain+0x4a/0x80
    [ 7.727913] [<c019a10d>] sys_init_module+0x9bd/0x1f60
    [ 7.727913] [<c02bdd23>] ? security_mmap_file+0x33/0x70
    [ 7.727913] [<c04ffd0d>] sysenter_do_call+0x12/0x28
    [ 7.727913] Code: 00 0f 0b 89 f6 8d bc 27 00 00 00 00 55 89 e5 83 ec 40 89 5d f4 89 75 f8 89 7d fc 3e 8d 74 26 00 3b 55 0c 89 c3 89 d6 72 10 76 09 <0f> 0b 8d b4 26 00 00 00 00 3b 45 08 73 f2 a1 a0 88 69 c0 85 c0
    [ 7.727913] EIP: [<c01319cf>] reserve_memtype+0x1f/0x470 SS:ESP 0068:f56c5bc8
    [ 7.732741] ---[ end trace 4eabe61f064e621a ]---
    and when i boot from usb whis doesn't appears.
    I've uninstalled compat-drivers-patched (all from pacman), and the problem was gone. BUT, I am a stupid user, so my best idea was to install manually compat-drivers, version v3.8-rc7 (make; make install)
    Then, again, the same problem. make uninstall doesn't do anything, so now I'm stuck. Installing xf86-video-linux doesn't help. so, anyone have some idea about what could I do?
    Thanks
    Sorry for my bad english

    You need to upgrade both of xorg-server and all its drivers, including the mga driver. Maybe the newer version is not yet in repository??
    slackhack wrote:
    um, i am upgraded, that's what broke everything. do you mean upgrade from testing or something? :?:
    [25] root:/home/sero # X -version
    X Window System Version 7.1.1
    Release Date: 12 May 2006
    X Protocol Version 11, Revision 0, Release 7.1.1
    [26] root:/home/sero # pacman -S xf86-video-mga
    :: xf86-video-mga-1.4.1-2: is up to date. Upgrade anyway? [Y/n] n
    [27] root:/home/sero # pacman -S xf86-video-vga
    :: xf86-video-vga-4.1.0-1: is up to date. Upgrade anyway? [Y/n] n
    [28] root:/home/sero # pacman -S xf86-video-vesa
    :: xf86-video-vesa-1.2.1-1: is up to date. Upgrade anyway? [Y/n] n

  • Enabling Debug Exceptions from OpenCV in VS2012 c++/cli

    I am using VS2012 c++/cli on a Win 8.1 machine, 64 bit with OpenCV 2.4.9.
    One issue I have is catching exceptions issued by OpenCV in try/catch blocks.
    When I run my app in Debug mode from within VS2012, I never get an OpenCV exception.
    However, when I run the exe generated by VS2012 in Debug mode outside of VS2012 (by just navigating in Explorer to the exe), exceptions are being generated by OpenCV and caught by mt try/catch blocks.
    What do I need to set so that I can see these exceptions when running in Debug mode form within VS2012?
    Any help greatly appreciated.
    Regards,
    James

    So zsh is telling you that the command didn't work, since it claims that there is no such file or directory. I had a lot of trouble with getting the echo command to work, as well. I found that if out of these lines:
    export CONFIG_CFG80211_DEBUGFS=y
    export CONFIG_MAC80211_DEBUGFS=y
    export CONFIG_ATH_DEBUG=y
    export CONFIG_ATH9K_DEBUG=y
    export CONFIG_ATH9K_DEBUGFS=y
    If the first and second line above were not uncommented in the config.mk file, I couldn't leave the last line above uncommented as well, or else makepkg would fail and give me an error. So originally I had only the 3rd and 4th lines above uncommented/inserted in my config.mk. With that configuration, I could not get the echo command to work, no matter what. Have you uncommented or inserted all of the above 5 lines into your config.mk?
    After making sure all of the above 5 lines were in my config.mk, the echo command still didn't work, even if I preceded the command with sudo, or entered a su session. Bash would tell me that there was no such file or directory. I found that if I actually logged out of my normal user, and then logged back into the computer as root, the command would work. If your shell does not give you any feedback (particularly, "no such file or directory"), then the command worked. In order to get the command to run every time the computer boots, I used a systemd service, so that the command is issued as root. For some reason, it doesn't work if you put the command into /etc/profile.
    Oh, and it would probably be helpful to mention that for the compat-drivers-patched package from the AUR, the PKGBUILD checks to see what your _selected_drivers variable is before compilation. If you set _selected_drivers=ath9k, your compile times will be much shorter.

  • How to install compat-drivers ?

    Ok guys, I am an arch user for a good while now (1 month, ehehe), but I am not even close to a tech savy for now. I wanted to try today the aircrack injection in arch. It works flawlessly in backtrack 5. Now ... I get an error something about mon0 channel and access point channel. A bit of research, gave me some results from google.
    First one:
    http://hacklab.cl/wireless/aircrack-y-f … -problema/
    I've followed the tutorial even though I don't speak that language, but google translate helped me.
    When I wrote in the terminal
    make
    I got this
    make[1]: Leaving directory `/usr/src/linux-3.7.3-1-ARCH/build'
    make: *** [modules] Error 2
    I couldn't bypass this error, so I've made another search on google, and I found a similar thread from this forum, but it was the same thing, and I got the same error.
    Second thing:
    I tried to install the compat-drivers with yaourt, they seem to be installed
    Packages (1): compat-drivers-frag+ack-0-2
    Total Installed Size: 0.00 MiB
    Net Upgrade Size: 0.00 MiB
    But the size is 0.00, which is nothing I guess.
    In yaourt there are two packages, this is the first one, the second one is this one https://aur.archlinux.org/packages/comp … mments=all
    I read almost all the comments, but I haven't understood what the guys were talking about.
    If somebody could take a look at what's going on with the drivers, what to install, or why I get that error, I would really appreciate it.
    I know that the USB dongle works good with the drivers that are already in arch, but I can't do the pentesting for my home router.

    The description https://aur.archlinux.org/packages/comp … rag%2Back/ says
    mac80211.compat08082009.wl_frag+ack_v1.patch for compat-drivers-patched
    Maybe you need to install https://aur.archlinux.org/packages/comp … s-patched/ ?
    Edit:
    $ pacman -Ql compat-drivers-frag+ack
    compat-drivers-frag+ack /etc/
    compat-drivers-frag+ack /etc/makepkg.d/
    compat-drivers-frag+ack /etc/makepkg.d/compat-drivers-patched/
    compat-drivers-frag+ack /etc/makepkg.d/compat-drivers-patched/patches/
    compat-drivers-frag+ack /etc/makepkg.d/compat-drivers-patched/patches/50-1-mac80211.compat08082009.wl_frag+ack_v1.patch
    The package does install something. The patch is over a kilobyte :-)
    PKGBUILD seems OK to me.
    Last edited by karol (2013-09-27 16:12:22)

  • Enable Debug on Startup?

    Hi Everyone: is there a way to configure the J2EE engine to enable debugging on startup? Thanks!

    Ian,
    Use the Config tool and expand cluser-data -> instace_idxxxxx -> server_idxxx and left-click on this node.
    In the right had pane you should see a bunch of tabs, the last one being debug. Check the Debugable checkbox and the Enable debug mode one.
    Apply the settings from the File menu, then exit and restart the server process.
    Cheers,
    Steve
    PS - Config tool is launched from go.bat in the directory
    \usr\sap\J2E\JC00\j2ee\configtool\

  • [SOLVED] Makepkg, install dependencies from AUR.

    Is it possible for makepkg to install the dependencies from AUR with makepkg -si?
    Last edited by lemanski6 (2012-09-20 18:05:38)

    Nope.  Many "AUR helpers" do this though.  In my limited experience yaourt seems to be one that handles this seemlessly, but I'd say it comes with some costs of hiding what is doing from the user.

  • Compiling gstreamer0.10-pitfdll-cvs from AUR [SOLVED]

    I am trying to compile the pitfdll plugin for gstreamer0.10 with the PKGBUILD from AUR:
    http://aur.archlinux.org/packages.php?d … s=0&SeB=nd
    The build fails duirng the configure stage. I am not sitting in front of my workstation now, and can't quote the exact error at the moment. It basically can't parse the produced configure script produced by autoconf.
    Has anyone had success compiling it recently?
    Thanks in advance

    that package has no use: the pitfdll code hasn't been touched since we packaged it, so the official package is the same as the CVS version.

  • How to enable remote debugging for a session other than the current one

    Hi all,
    I am trying to figure out how to enable remote debugging for a session other than the one I am currently using.
    More specifically, we have an application that is making database calls to Oracle 11gR2. Something is causing an exception during this invocation. My system is currently not set up to recompile said application, so I can't just add the debug call to the code and recompile. Therefore I would like to be able to log into the database (as sys, if necessary) and invoke dbms_debug_jdwp.connect_tcp on the desired session.
    The docs indicate that I should be able to do so:
    dbms_debug_jdwp.connect_tcp(
    host IN VARCHAR2,
    port IN VARCHAR2,
    session_id IN PLS_INTEGER := NULL,
    session_serial IN PLS_INTEGER := NULL,
    debug_role IN VARCHAR2 := NULL,
    debug_role_pwd IN VARCHAR2 := NULL,
    option_flags IN PLS_INTEGER := 0,
    extensions_cmd_set IN PLS_INTEGER := 128);
    But when I try (even as sys), I get the following:
    exec dbms_debug_jdwp.connect_tcp('1.2.3.4',5678,<session id>,<session serial>);ORA-00022: invalid session ID; access denied
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    00022. 00000 - "invalid session ID; access denied"
    *Cause:    Either the session specified does not exist or the caller
    does not have the privilege to access it.
    *Action:   Specify a valid session ID that you have privilege to access,
    that is either you own it or you have the CHANGE_USER privilege.
    I've tried granting the 'BECOME USER' privilege for the relevant users, but that didn't help. I read something about having to set some kind of ACL as of 11gR1, but the reference documentation was very confusing.
    Would someone be able to point me in the right direction? Is this even possible, or did I misread the documentation?

    Interesting deduction, that would be very useful indeed. I hate recompiling just to add the debug call, and it can't be done in our production environment. But it seems unlikely to me it would be implemented this way.
    I would cross-post this in the SQL AND PL/SQL forum though, as this is really a database issue, not with the SQL Developer tool. Do add the links to the other posts in each.
    Regards,
    K.

  • It there a way to enable debugging to view SQL details for database adapter

    The adapter guide seems to allude to the possibility with the following statement:
    "To monitor performance, you can enable debug logging and then watch the SQL for various inputs."
    There is no information, however, to indicate how to enable this feature. It would be nice to be able to view details in domain.log.
    Thanks,
    RM

    The switch to tab feature is only available when you are typing in the Location (a.k.a. Awesome) bar. Clicking on a bookmark will always open the bookmarked page in either the current tab or a new tab.

  • Problems trying to enable Debug Mode on WLS 6.1 For WinNT

    that`s what i`m getting.
    Someone knows what i`m doing wrong ?
    C:\bea\wlserver6.1>"C:\bea\jdk131\bin\java" -hotspot -Xdebug -Xnoagent -Xrunjdwp:transpo
    rt=dt_socket server=y suspend=n -Djava.compiler=NONE -ms64m -mx64m -classpath
    .;.\lib\we
    blogic_sp.jar;.\lib\weblogic.jar;c:\bea -Dweblogic.Domain=SRV_HNemarich -Dweblogic.Name=
    AdminServer "-Dbea.home=C:\bea" -Dweblogic.management.password=weblogic -Dweblogic.Produ
    ctionModeEnabled=false "-Djava.security.policy==C:\bea\wlserver6.1/lib/weblogic.policy"
    weblogic.Server
    ERROR: Non-server transport dt_socket must have a connection address specified
    through t
    hre 'address=' option
    Invalid JDWP options: transport=dt_socket
    Error occurred during initialization of VM
    -Xrun library failed to init: jdwp

    - JDK 1.3
    The Java Platform Debugging Architecture software is already included with JDK
    1.3, so similar to JDK 1.2.2 you can use:
    java -Xdebug -Xnoagent -Xrunjdwp:transport=dt_shmem,address=debugaddr,server=y,suspend=n
    .. weblogic.Server
    and
    jdb -attch debugaddr
    "Teju Ajani" <[email protected]> wrote:
    >
    OOOPS!! I apologize for the misleading information.
    Here are some suggestions for this issue.
    How can WebLogic Server be started to attach with a remote debugger to
    the java
    process?
    - JDK 1.2.2
    To enable remote debugging for JDK 1.2.2 you have to install the Java
    Platform
    Debugging Architecture. You can also use (for NT) jdwp.dll, dt_shmem.dll
    and dt_socket.dll
    from the JDK 1.3.
    Start the java process with the following properties:
    java -Xdebug -Djava.compiler=NONE -Xnoagent -Xrunjdwp:transport=dt_shmem,address=debugaddr,server=y,suspend=n
    ... weblogic.Server
    To attach with jdc to the java process, use:
    jdb -attch debugaddr
    If you need to debug across a network, you may also use transport=dt_socket
    instead
    of dt_shmem.
    "Teju Ajani" wrote:
    Hans,
    did you remember to export the java library path?
    I also noticed the address option was missing from your startup string.
    If using a Solaris platform, change the LD_LIBRARY_PATH environmentvariable
    to
    prepend $JAVA_HOME/lib/sparc:
    export LD_LIBRARY_PATH=$JAVA_HOME/lib/sparc:$LD_LIBRARY_PATH
    See:
    http://e-docs.bea.com/wls/docs61//faq/server.html
    for additional details on starting your server in this mode. note the
    "Address"
    option given.
    "Hans Nemarich" <[email protected]> wrote:
    that`s what i`m getting.
    Someone knows what i`m doing wrong ?
    C:\bea\wlserver6.1>"C:\bea\jdk131\bin\java" -hotspot -Xdebug -Xnoagent
    -Xrunjdwp:transpo
    rt=dt_socket server=y suspend=n -Djava.compiler=NONE -ms64m -mx64m
    -classpath
    .;.\lib\we
    blogic_sp.jar;.\lib\weblogic.jar;c:\bea -Dweblogic.Domain=SRV_HNemarich
    -Dweblogic.Name=
    AdminServer "-Dbea.home=C:\bea" -Dweblogic.management.password=weblogic
    -Dweblogic.Produ
    ctionModeEnabled=false "-Djava.security.policy==C:\bea\wlserver6.1/lib/weblogic.policy"
    weblogic.Server
    ERROR: Non-server transport dt_socket must have a connection address
    specified
    through t
    hre 'address=' option
    Invalid JDWP options: transport=dt_socket
    Error occurred during initialization of VM
    -Xrun library failed to init: jdwp

Maybe you are looking for

  • Upgrade 9.2.0.8 to 11gR2 optimizer plan stability

    Hi, We plan in upgading our Oracle 9.2.0.8 to 11g R2 soon. We are using HP-UX Itanium. We have concern about our applications and reports performance after upgrade, and we are preparing test plan for this. On of the plan is collecting all of the exec

  • WRVS4400n questions

    Hi Every1, i had brought a brand new WRVS4400n SMB router, and i have some question to make better its performance and usability... 1, I have made the FW upgrade to 2.0.0.8 from 2.0.0.7, BUT the IPS signature is still almost 2 years old. Would this u

  • Issue with 'open with' bridge cc

    hey all, i've searched and all the discussions that 'start' with a similar question, get diverted, or people who are 'trying' to help don't really read the question, so here i hope to make is clear so the correct answer will be provided. specs - wind

  • Execute sqlldr inside store procedure

    Dear all, Is possible call a command complete like that: # /bin/bash export ORACLE_SID=plelpp export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1 sqlldr USERID=SYSTEM/password, CONTROL=T03DJCAB.ctl, LOG=T03DJCAB.log, data=7pemvx_infocabecera_20080

  • OCP Exam Question

    Hi Folks, My employer had sent me for the Oracle 10g DBA workshop in 2009. Now, I have some time on my hands and I am planing on writing my OCA and OCP exams. My question is, since I had attended the 10g workshop, do I qualify to write the 10g OCP ex