[SOLVED] kernel26-selinux "ugly" release string

I am maintainer of kernel26-selinux in AUR. Recently I noticed that built kernel sais (uname -r) 2.6.35-selinux-gd4918f4-dirty instead just 2.6.35-selinux, which I would expect. I found option CONFIG_LOCALVERSION_AUTO which I think should solve it if set to no, but in that case the release string is actualy 2.6.35-selinux+ (note the plus symbol).
Would someone kindly tell me, what to change, so that uname -r would show just 2.6.35-selinux? Or give some arguments why the other way is better, in case it is?
PS Here is link for up-to-date tarball, as AUR doesn't yet support splitpackages: http://profi.edisk.cz/stahnout-soubor/1 … 1.9KB.html
PPS I am quite new to building kernel stuff, so please speak slowly to me.
Last edited by Nicky726 (2010-08-19 17:49:14)

Nicky726 wrote:
Well the sed line used in kernel26-ice is in fact wrong.
instead of:
sed 's/head=$(git rev-parse --verify --short HEAD 2>\/dev\/null)/0/' \
${srcdir}/linux-${_basekernel}/scripts/setlocalversion > \
${srcdir}/linux-${_basekernel}/scripts/setlocalversion
there should be:
sed -i 's/head=$(git rev-parse --verify --short HEAD 2>\/dev\/null)/0/' \
${srcdir}/linux-${_basekernel}/scripts/setlocalversion
as the former deletes contents of whole file.
EDIT:
And the contents of the if to be changed by the sed did changed too. So hopefully last modification of the hack is:
sed -i -e "s/head=\`git rev-parse --verify --short HEAD 2>\/dev\/null\`/0/" \
${srcdir}/linux-${_basekernel}/scripts/setlocalversion
Yes, if you read the comments I commented that I'd already fixed that, but in git. The maintainer just hasn't gotten around to updating my fix to the AUR PKGBUILD.

Similar Messages

  • [SOLVED]kernel26-ck-core2 help

    Hi,
    This may seem blatantly obvious to some, however, I have not been able to find the answer. Sorry if this seems obvious but this is my first month working with Linux legitimately ever and am unable to get my modules to load after installing kernel26-ck. They fail on boot. I have found the modules directory residing in /lib/modules/2.6.39-ck. How do I use this with my boot up instead of the standard ARCH one?
    Last edited by johan1391 (2011-07-17 08:34:12)

    @op - try an experiment for me:  remove all entries from your MODULES array, reboot.  Once rebooted, manually modprobe each one by hand and see if you get an error... i.e.
    # modprobe wl
    # modprobe acpi-cpufreq
    ... etc
    BTW, as others have mentioned, the nvidia module doesn't need to go in the array, and it's simply named, 'nvidia' not 'nvidia-ck' or anything else.
    Also, vboxdrv needs the kernel26-ck-core2-headers packages and you must rebuild it manually whenever there is a new release via "/etc/rc.d/vboxdrv setup"
    All of the other modules in your array should be just fine to load.  Please report back either way in this thread.

  • SOLVED: kernel26 2.6.30 - laptop LCD brightness stuck on max

    Hello,
    I upgraded to kernel26 2.6.30 from testing today, and now my laptop screen is with the brightness stuck on the 100% setting (which is too much for me, in fact it gives me a headache). The Fn-Arrow keys (which control the brightness) are unresponsive.
    EDIT: Solved by placing options video brightness_switch_enabled=1 on /etc/modprobe.d/video.conf (create it if it doesn't exist).
    I use Intel i965 video chipset on a laptop Acer Aspire 7720.
    Solutions?
    Thanks.
    Last edited by Renan Birck (2009-06-12 01:56:20)

    TheSaint wrote:
    I followed this thread and looking others too.
    Nothing can work for my Aspire 6935, unfotunately.
    Fn+F5 brings brightness to maximum, but no solution to dim it a little.
    This is my vga card:
    lspci |grep -i vga
    01:00.0 VGA compatible controller: nVidia Corporation GeForce 9600M GT (rev a1
    Strangely the BIOS can control the brightness as expected, but Arch might not look into that.
    F
    I posted a bash script workaround here:
    http://bbs.archlinux.org/viewtopic.php?id=74914
    It uses the setpci command, and dc (part of bc package) to do hex conversion.
    But to warn you I've only tried it on my intel 945GM, I don't know if it will work with an nvidia card.

  • [solved]Fontconfig problems (Ugly GTK Apps)

    So I just installed the LCD filter patched packages on my new comp, but I'm trying to determine why some of my GTK apps still look really bad..
    Firefox looks great, but pretty much any other app looks like crap, the fonts are barely readable. Below is my font configuration..
    My .fonts.conf
    <?xml version="1.0"?>
    <fontconfig>
    <match target="font" >
    <edit mode="assign" name="rgba"><const>rgb</const></edit>
    <edit mode="assign" name="hinting"><bool>true</bool></edit>
    <edit mode="assign" name="hintstyle"><const>hintslight</const></edit>
    <edit mode="assign" name="antialias"><bool>true</bool></edit>
    <edit mode="assign" name="lcdfilter"><const>lcddefault</const></edit>
    </match>
    </fontconfig>
    /etc/fonts/conf.d directory:
    # ls -l /etc/fonts/conf.d
    lrwxrwxrwx 1 root root 30 Mar 3 16:01 10-autohint.conf -> ../conf.avail/10-autohint.conf
    lrwxrwxrwx 1 root root 32 Mar 3 16:01 10-lcd-filter.conf -> ../conf.avail/10-lcd-filter.conf
    lrwxrwxrwx 1 root root 35 Mar 3 16:01 10-sub-pixel-rgb.conf -> ../conf.avail/10-sub-pixel-rgb.conf
    lrwxrwxrwx 1 root root 42 Mar 3 16:01 29-replace-bitmap-fonts.conf -> ../conf.avail/29-replace-bitmap-fonts.conf
    lrwxrwxrwx 1 root root 27 Mar 3 16:01 45-latin.conf -> ../conf.avail/45-latin.conf
    lrwxrwxrwx 1 root root 31 Mar 3 16:01 49-sansserif.conf -> ../conf.avail/49-sansserif.conf
    lrwxrwxrwx 1 root root 26 Mar 3 16:02 50-user.conf -> ../conf.avail/50-user.conf
    lrwxrwxrwx 1 root root 27 Mar 3 16:02 60-latin.conf -> ../conf.avail/60-latin.conf
    I feel like I'm missing one, but I've attempted to link all the configurations from conf.avail and it still doesn't look good. Anyone?
    Edit: Heres a screenshot:
    Last edited by brenix (2010-03-04 04:39:30)

    Hey there.
    When I first installed arch, x11, xmonad, and gtk, the fonts looked like crap on my screen too. I ran over a ~/.Xdefaults setup that included:
    ! Xft settings ---------------------------------------------------------------
    Xft.dpi: 96
    Xft.antialias: true
    Xft.rgba: rgb
    Xft.hinting: true
    Xft.hintstyle: hintslight
    After restarting X, the ugly fonts were gone. I also switched the fonts used in gtk (using lxappearance) to the microsoft cleartype fonts (yeah yeah freedom hater). Don't forget you have to source ~/.Xdefaults from ~/.xinitrc like so:
    # make sure the X Defaults gets loaded
    xrdb ~/.Xdefaults
    Also note, lxappearance is a great app for changing gtk+ themes.

  • [SOLVED]CompizStandalone-GDM,ugly theme,keyboard and desktop handling

    Hi, i believe i have successfully installed compiz as standalone but i have a few issues;
    1. Fist of all i cannot change my keyboard layout. I tried this https://wiki.archlinux.org/index.php/Xo … t-Plugging and i have following in my xorg.conf but no luck
    Section "InputClass"
    Identifier "Keyboard Defaults"
    MatchIsKeyboard "yes"
    Option "XkbLayout" "tr"
    Option "XkbVariant" "alt"
    EndSection
    2. Second, i have to do Ctrl+Alt+F1 then startx to get compiz working. Is there any way that i can add this to GDM just like any desktop environment ?
    3. How do i use the desktop ? I have set up a wallpaper in CCSM and folders are opening in Firefox.
    4. Lastly, themes look ugly. Is this normal or did i miss something ?
    Last edited by Selo (2012-03-12 19:08:34)

    1. I'm not sure how to help here; I think xmodmap migh tbe involved? I use the standard keyboard layout and switch to kana input with Anthy through IBUS.
    2. I use a .desktop file with LXDM and a script to accomplish this.
    The .desktop file (/usr/share/xsessions/compiz.desktop):
    [Desktop Entry]
    Encoding=UTF-8
    Type=XSession
    Exec=/usr/bin/start-compiz
    TryExec=/usr/bin/start-compiz
    Name=Compiz Standalone
    The script:
    #!/bin/bash
    # Wallpaper
    nitrogen --restore
    # Sound
    SOUND_THEME='ootw'
    jackd -rd alsa -Hs &
    amixer set Master 80%
    xset -b&
    # PATH fix
    PATH=${PATH}$(grep ^PATH /home/mouse/.bashrc | cut -d \} -f 2)
    export PATH
    # TZ
    TZ='GMT'
    export TZ
    # VST path
    VST_PATH='/home/mouse/.vst/'
    export VST_PATH
    # Dockbar
    avant-window-navigator &
    # Tray applets
    pnmixer&
    wicd-gtk -t&
    batti&
    # Once!
    #urxvt -tr -sh 10 -e tmux
    # Keys
    xbindkeys&
    # Beep!
    mplayer "/usr/share/sounds/${SOUND_THEME}/stereo/desktop-login.ogg"&
    # Compiz
    fusion-icon # NOTE: The script stops here, and picks up when I select 'Quit' in Fusion-Icon
    # Boop!
    mplayer "/usr/share/sounds/${SOUND_THEME}/stereo/desktop-logout.ogg" # After this, the script exits and returns me to LXDM
    3. You can set up wallpaper either through CCSM or Nitrogen, Feh, what-have-you. I assume you mean desktop icons when you say "use the desktop". For those you can use community/idesk.
    4. You need to set the GTK theme. Try community/lxappearance.

  • [SOLVED] In need of an String formatter

    Hi!
    Is the a string format feature in Flex that can:
    1) Capitalize first letters of words
    2) Replace special characters with other characters or spaces
    Ex:
    station_name --> Station Name
    Please answer if you know,
    Christo

    Thanks Greg, that's just what Ive been looking for!
    Best Regards,
    Kenwio

  • [SOLVED] Kernel26-BFS - Is there a how to?

    Hi Folks,
    I would not consider myself a beginner, but I am no expert either. I have never compiled a kernel to order and have only ever used the stock kernel ... but hey, you have to learn somewhere.
    My question is, is there some kind of how to? There are several options when you install the Kernel26-bfs and after an exhaustive search I cannot find explanations of what they mean in real terms (at least in the context of a Y / N question when installing a kernel). I decided I would stop compiling and work on answering these questions before I start again.
    Any help with this would be greatly appreciated.
    Also, what is the difference between Kernel26-bfs and kernel26-ck, are they by the same developer?
    Regards,
    ScottArch
    Last edited by ScottArch (2010-01-06 19:42:37)

    Hi folks,
    I don't think I explained myself correctly. When I was compiling the Kernel26-bfs it asked me a few questions about how I wanted to configure my kernel. The questions were about whether I wanted hierarchical or symmetrical scheduling (or something like that), etc, etc.
    Anyways, I installed the Kernel26-ck anyway and it only asked my my required cycle speed and compiled and installed fine. Does anyone have an example entry (for me to edit) for this kernel. I have never written my own entry and dont wnat to make a mistake.
    Where can I look to get the correct name for the kernel as it installed on my system so I can do this myself.
    Cheers,
    Scott
    Last edited by ScottArch (2009-12-20 14:03:58)

  • [Solved]kernel26-2.6.34.2-1 upgrade fails

    Proceed with installation? [Y/n] y
    :: Retrieving packages from core...
    kernel26-2.6.34.2-... 22.2M 62.2K/s 00:06:05 [----------------------] 100%
    kernel26-docs-2.6.... 5.3M 53.9K/s 00:01:42 [----------------------] 100%
    kernel26-headers-2... 3.7M 59.8K/s 00:01:04 [----------------------] 100%
    kernel26-manpages-... 2020.0K 59.9K/s 00:00:34 [----------------------] 100%
    :: Retrieving packages from extra...
    nvidia-utils-256.4... 14.1M 52.1K/s 00:04:37 [----------------------] 100%
    nvidia-256.44-1-i686 2.1M 77.9K/s 00:00:28 [----------------------] 100%
    checking package integrity...
    (6/6) checking for file conflicts [----------------------] 100%
    error: failed to commit transaction (conflicting files)
    kernel26: /lib/modules/2.6.34-ARCH/modules.devname exists in filesystem
    kernel26: /lib/modules/2.6.34-ARCH/modules.softdep exists in filesystem
    Errors occurred, no packages were upgraded.
    is it safe to use -f switch.
    thanks
    Note: thanks pressh. As I did not subscribe to dev public, I am not aware of the solution also not in the home page. The cobalt  theme prevent me to switch to home from the forum page .
    Last edited by kgas (2010-08-03 15:24:20)

    O_O
    Hmm, waiting a week or so before doing an update does not seem like a bad idea...
    :: Synchronizing package databases...
    testing is up to date
    archlinuxfr is up to date
    catalyst is up to date
    core is up to date
    extra is up to date
    community-testing is up to date
    community is up to date
    error: failed to prepare transaction (could not satisfy dependencies)
    :: Starting full system upgrade...
    :: tiacx: requires kernel26<2.6.35
    Oh. tiacx...not needed. /no more error.
    Last edited by Skyalmian (2010-08-04 00:57:56)

  • [SOLVED] Compton drawing ugly Notify-OSD shadow

    I have Openbox installed in my machine. For compositing I installed compton-git from AUR and everything is working fine. The problem is that I cannot prevent compton from drawing a shadow to the notification window (notify-osd). Here's a screenshot:
    http://i.imgur.com/3oHHJis.png
    and this is my ~/.compton.conf file:
    # Shadow
    shadow = true;
    no-dnd-shadow = true;
    no-dock-shadow = false;
    clear-shadow = true;
    shadow-radius = 7;
    shadow-offset-x = -7;
    shadow-offset-y = -7;
    # shadow-opacity = 0.7;
    # shadow-red = 0.0;
    # shadow-green = 0.0;
    # shadow-blue = 0.0;
    shadow-exclude = [ "n:e:Notification", "name = 'Notification'", "class_g = 'Conky'" ];
    # shadow-exclude = "n:e:Notification";
    shadow-ignore-shaped = false;
    # Opacity
    menu-opacity = 0.9;
    inactive-opacity = 0.9;
    frame-opacity = 1.0;
    inactive-opacity-override = false;
    alpha-step = 0.06;
    # inactive-dim = 0.2;
    # inactive-dim-fixed = true;
    # blur-background = true;
    # blur-background-frame = true;
    blur-background-fixed = false;
    # Fading
    fading = true;
    # fade-delta = 30;
    fade-in-step = 0.1;
    fade-out-step = 0.1;
    # no-fading-openclose = true;
    # Other
    mark-wmwin-focused = true;
    mark-ovredir-focused = true;
    use-ewmh-active-win = false;
    detect-rounded-corners = true;
    detect-client-opacity = true;
    refresh-rate = 0;
    vsync = "none";
    dbe = false;
    paint-on-overlay = false;
    sw-opti = false;
    unredir-if-possible = false;
    focus-exclude = [ ];
    detect-transient = true;
    detect-client-leader = true;
    invert-color-include = [ ];
    # Window type settings
    wintypes:
    tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
    How can I fix this? I tried with the shadow-exclude value, but it didn't work.
    Regards.
    Edit: I was playing around with the configuration file and found that the option 'clear-shadow = false' makes the trick, but now the shadow rendered behind notify-osd is too dark, check here. Is there any way to add an exception rule to the notification window?
    Edit 2: The problem gets solved by adding the following exclusion rule to the 'shadow-exclude' variable:
    "class_g ?= 'Notify-osd'"
    Including quotes.
    Last edited by AurosGamma (2013-02-23 17:04:31)

    valr wrote:
    Stupid question: are you sure that the window name of the notification is "Notification" ?
    Have you checked with xwininfo ?
    If all seems correct, you could ask on IRC in the chan #compton
    That's the problem, I'm not sure about that. And I'm not sure how I should use xwininfo to get the values for notify-osd, and how should I put those values in the config file. I searched for documentation and found nothing. I'll try to ask in the IRC channel and report back.
    Best regards.

  • [SOLVED] Networkmanager prints ugly errors to console on shutdown

    When shutting down or rebooting, the system goes to the console for some seconds, and then networkmanager prints a lot of errors, which make the normal shutdown sequence look ugly. How can I fix that?
    EDIT: Adding quiet to the boot line in grub fixed it
    Last edited by fifafrazer (2008-08-25 19:14:55)

    After I'm finally connected, dmesg gives me this:
    eileen@vaio ~ $ dmesg | grep iwlwifi
    [ 15.089340] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
    [ 15.089499] iwlwifi 0000:02:00.0: irq 44 for MSI/MSI-X
    [ 15.190528] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
    [ 15.190531] iwlwifi 0000:02:00.0: Falling back to user helper
    [ 75.324699] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
    [ 75.324705] iwlwifi 0000:02:00.0: Falling back to user helper
    [ 135.843224] iwlwifi 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532 op_mode iwldvm
    [ 135.926866] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
    [ 135.926874] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
    [ 135.926879] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
    [ 135.926885] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6200 AGN, REV=0x74
    [ 135.926991] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
    [ 136.063045] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
    [ 136.069775] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
    [ 136.288670] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
    [ 136.295360] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
    Notice the firmware load failures at 15 and 75 seconds after boot, and the fact that it's not until 135 seconds that the firmware for the wireless card is finally loaded.
    This suggests to me that the culprit is either the kernel (and/or its iwlwifi module) or the actual firmware. I will try different versions of these packages (linux, linux-lts, and linux-firmware) and will report back.
    Last edited by bdantas (2014-12-09 12:31:55)

  • [SOLVED] Opera is UGLY. (certain fonts and menus)

    I usually install Opera after I have KDE installed and running, but this time I decided not to, and I'm paying for it. the SS shows the ugly (look like gtk1) menu's, and choppy text on the AUR page.
    edit: I thought I followed the font wiki pretty well... I have ttf, and *-lcd packages installed
    Last edited by heleos (2008-06-13 09:50:00)

    heleos wrote:
    I usually install Opera after I have KDE installed and running, but this time I decided not to, and I'm paying for it. the SS shows the ugly (look like gtk1) menu's, and choppy text on the AUR page.
    http://img392.imageshack.us/img392/9936 … mt6.th.png
    edit: I thought I followed the font wiki pretty well... I have ttf, and *-lcd packages installed
    That opera screen reminds me the first time i installed arch and tried opera (and of course the second time the next night -> nobody learns at the first attempt)

  • How to solve space problem at URL String ?

    Hi,
    When I sent to data , with URL, like this
    (targetURL = new URL("http://localhost:8988/wsVasc/VascServlet"?name=erkan hel");
    spaces are problem, for example "name=erkan hel";
    how to solve this problem?
    browser recover this problem as erkan%20hel, but how can I solve this problem ?
    thanks..

    But , I have a problem to get connection ;
    System.out.println("URL-------**" + URLEncoder.encode(url,"UTF-8"));
    targetURL = new URL(URLEncoder.encode(url,"UTF-8"));
    URL-------**http%3A%2F%2Flocalhost%3A8988%2FwsVasc%2FVascServlet%3FserviceName%3Dtest
    Connection error :java.net.MalformedURLException: no protocol: http%3A%2F%2Flocalhost%3A8988%2FwsVasc%2FVascServlet%3FserviceName%3Dtest
    Process exited with exit code 0.

  • [Solved] Kernel26-2.6.21-8 alsa problem

    Hi all,
    with the last kernel update my audio card doesn't work anymore.
    I obtain these error messages (dmesg output):
    snd_pcm: Unknown symbol snd_dma_reserve_buf
    snd_pcm: Unknown symbol snd_dma_free_pages
    snd_pcm: Unknown symbol snd_malloc_pages
    snd_pcm: Unknown symbol snd_dma_get_reserved_buf
    snd_pcm: Unknown symbol snd_dma_alloc_pages
    snd_pcm: Unknown symbol snd_free_pages
    snd_ac97_codec: Unknown symbol snd_interval_refine
    snd_ac97_codec: Unknown symbol snd_pcm_hw_rule_add
    snd_intel8x0: Unknown symbol snd_ac97_pcm_close
    snd_intel8x0: Unknown symbol snd_ac97_resume
    snd_intel8x0: Unknown symbol snd_pcm_new
    snd_intel8x0: Unknown symbol snd_pcm_limit_hw_rates
    snd_intel8x0: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
    snd_intel8x0: Unknown symbol snd_ac97_pcm_open
    snd_intel8x0: Unknown symbol snd_ac97_set_rate
    snd_intel8x0: Unknown symbol snd_ac97_update_bits
    snd_intel8x0: Unknown symbol snd_ac97_mixer
    snd_intel8x0: Unknown symbol snd_ac97_bus
    snd_intel8x0: Unknown symbol snd_dma_free_pages
    snd_intel8x0: Unknown symbol snd_ac97_pcm_double_rate_rules
    snd_intel8x0: Unknown symbol snd_ac97_update_power
    snd_intel8x0: Unknown symbol snd_ac97_suspend
    snd_intel8x0: Unknown symbol snd_pcm_lib_malloc_pages
    snd_intel8x0: Unknown symbol snd_pcm_lib_ioctl
    snd_intel8x0: Unknown symbol snd_pcm_lib_free_pages
    snd_intel8x0: Unknown symbol snd_pcm_set_ops
    snd_intel8x0: Unknown symbol snd_pcm_hw_constraint_list
    snd_intel8x0: Unknown symbol snd_ac97_get_short_name
    snd_intel8x0: Unknown symbol snd_pcm_suspend_all
    snd_intel8x0: Unknown symbol snd_ac97_pcm_assign
    snd_intel8x0: Unknown symbol snd_pcm_hw_constraint_integer
    snd_intel8x0: Unknown symbol snd_pcm_hw_constraint_msbits
    snd_intel8x0: Unknown symbol snd_dma_alloc_pages
    snd_intel8x0: Unknown symbol snd_pcm_period_elapsed
    snd_intel8x0: Unknown symbol snd_ac97_tune_hardware
    My audio card is:
    Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
    With the previous kernel there was not problem at all.
    Last edited by luca (2007-05-15 19:05:21)

    I don't get those error messages, but don't get any sound as well. I own an HP DC7100SFF with integrated chipset on an Intel motherboard.
    # lspci -v | grep -i audio
    00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
    # lsmod | grep snd
    snd_seq_oss 29056 0
    snd_seq_midi_event 6528 1 snd_seq_oss
    snd_seq 46800 4 snd_seq_oss,snd_seq_midi_event
    snd_seq_device 6796 2 snd_seq_oss,snd_seq
    snd_pcm_oss 38816 0
    snd_mixer_oss 14336 1 snd_pcm_oss
    snd_intel8x0 28700 0
    snd_ac97_codec 95396 1 snd_intel8x0
    ac97_bus 2432 1 snd_ac97_codec
    snd_pcm 68484 4 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
    snd_timer 19076 2 snd_seq,snd_pcm
    snd 44388 10 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
    soundcore 6496 1 snd
    snd_page_alloc 7816 3 snd_intel8x0,snd_pcm
    # dmesg | grep intel8x0
    intel8x0_measure_ac97_clock: measured 54858 usecs
    intel8x0: clocking to 48000
    As this is the first time I installed Linux on this machine, I cannot say whether the onboard chipset works with an earlier kernel (or alsa) version. I am in the audio group, sound (even 'headphones') is unmuted... Alsamixer says "Chip: Analog Devices AD1981B", is this correct?
    The Alsa-site suggests putting some options in modules.conf. Is this method still supported in Arch Linux? Or has this nothing to do with my sound chipset? At least it doesn't solve the problem.
    Any help would be appreciated.
    Last edited by Marcel- (2007-05-22 23:28:16)

  • [SOLVED] kdemod with ugly cyan boarders / can't start kdm at boot?

    I followed the directions to install kdemod from a clean installation of Arch Linux. Specifically I:
    Installed from CD
    Setup DHCP and configured my ethernet
    Updated Arch Linux ( pacman -Syu )
    Installed xorg
    installed hdw and configured xorg
    setup repositories to include kdemod repos
    installed kdemod, as well as some recommended additions
    if I follow any of the directions here ( http://chakra-project.org/download-kdemod-step6.html ) to start kdemod at boot then it gives me a login prompt but immediately crashes and restarts kdm whenever I login. I can only get into kdemod by typing, in the console: startx
    and then: startkde
    ...and then all of my windows are surrounded by ugly monotone cyan window decorations which look like they came out of Windows 3.1 that I can't seem to get rid of, as well as a few other oddities involving the color cyan.
    I am, incidentally, running it in VirtualBox with the vesa video driver in xorg.conf.
    Does anyone know what's going on? Am I missing something? Is this normal?
    I've found one mention of this problem on the forums before [ http://bbs.archlinux.org/viewtopic.php?pid=494261 ] but no solution. Thanks in advance.
    Last edited by thorjelly (2009-02-15 03:48:05)

    Alright, I figured out where those ugly cyan borders come from. It's because I didn't make an .xinitrc file in my user's directory and specify what window manager to use, so it defaulted to xterm, and I was running kde through xterm and the borders were xterm's window borders (Right, well, I figured they were a biproduct of running kde in such an unusual way)... but I still don't know why I can't start kdm at boot. Anyone know how I can figure that out...?
    Last edited by thorjelly (2009-02-15 03:35:44)

  • [SOLVED]C some ugly code

    #include <stdio.h>
    #define N 4
    void main(){
    int a[][N] = {{2},{3,3,1},{1,8,8,2},{3,1}},*b = *a,*c = *(a+N-1),i,j;
    while(b < c) *b++ += *c--;
    for(i = N; i > 0;i--) printf("%d ",(*a)[i-1]);
    Can somebody explain to me wtf is this? :v
    is b type of ( int *b ) and i,j are ( int ), how this works?
    Last edited by ZoLA (2015-04-30 14:59:46)

    I expanded the code a bit:
    #include <stdio.h>
    #define N 4
    void main(){
    int a[][N] = {{2},{3,3,1},{1,8,8,2},{3,1}};
    int * b = a[0];
    int * c = a[3];
    int i;
    int j;
    while(b < c) {
    i = c[0];
    c -= 1;
    b[0] += i;
    b += 1;
    for(i = N; i > 0;i--) {
    printf("%d ",a[0][i-1]);

Maybe you are looking for

  • Form Creation in Acrobat X Pro - unable to save as Reader Extended PDF

    I am using Acrobat X Pro on the Windows 7 OS. I have created a document in Word (Office 2010), saved it as a PDF and added form fields. When I try to Save As Reader Extended PDF, the options are grayed out. How do I create a form from a Word document

  • Back Button on JSP page

    Dear All; I am new to JSF. I have built a small sample application on JSF that is integrated with jetspeed which takes user name and password. If password is true it goes to successPage else goes to errorPage. This functionality is working fine. I wa

  • 10g connect to 9i db

    I have installed 9.2 db and 10g Forms in my machine locally with different home. I cannot connect the db from forms. Any ideas why is that? Thanks,

  • ITunes can't read its own library/claims damaged

    I'm running iTunes 11.1.1 on OSX 10.8.5 on a late 2012 Mac Mini. iTunes 10.x started complaining on startup that the library file is damaged and can't be read. This persists today after upgrading iTunes. After starting and renaming the old library, i

  • Installation of EDGE with DI

    Hello all:   Trying to download a the proper software for EDGE with Data Integrator. Following the download Central link, I thought I was downloading the right package. Software name as 51036670_1 to 51036670_6.   But when I installing it I only got