Home
Linux Community's Journal
 
[Most Recent Entries] [Calendar View] [Friends]

Below are the 20 most recent journal entries recorded in Linux Community's LiveJournal:

    [ << Previous 20 ]
    Saturday, December 5th, 2009
    9:08 pm
    [budhaboy]
    I finally got around to checking this solution

    To refresh, the machine seems to function perfectly in every way (this is why it's taken me so long to get around to the issue)... As long as I'm not using X locally. The machine appeared to crash when booting, but if I ssh in all programs work perfectly, even those in X).

    I started the procedure to address what I was convinced was a HD issue. I started a liveCD boot, the machine started, got to X, then when I fired up a console to run fsck, it froze. Just prior to this there were freaky 'ghosty' images on some objects on the screen. Figuring the issue wasn't a HD issue (the box ran flawlessly as a file server for weeks) I tried booting in the 'safe' mode. I had the mode fix any issues, then try to fix X... They all worked perfectly. When I rebooted, I could actually get to the regular screen, then when I fired up, say a console and moved the window, screen froze. I still had the same freaky 'ghosty' images.

    Here's my question(s):

    1) I'm guessing it's a failing graphics card... I'm not sure why it's not crashing the box, and only the video... that's my question, I guess.
    2) While I can yank the thing easily enough is it difficult to get ubuntu to recognize whatever ubuntu compatible one I buy?

    Any comments, help would be appreciated.
    Thursday, December 3rd, 2009
    5:24 pm
    [simbab]
    Input (trackpoint, hdaps) in 2.6.32
    Just upgraded to 2.6.32 and I notice two problems (so far). I have a Thinkpad T61. I notice that my custom sysfs settings for my TrackPoint don't work: the entries which set settings such as sensitivity are missing from /sys/devices/platform/i8042/serio0/serio1, and this might be because the mouse is detected as a Generic PS/2 Mouse instead of having the TPPS/2 protocol extension.

    Possibly related is the fact that the hdapsd daemon cannot find the hdaps input device. Any clues what happened with input in the 2.6.32 cycle that might be causing this?

    I note also that udev spit out a metric fuckton of deprecation warnings for configuration file syntax on bootup.

    My .config is here if anyone thinks that I might have answered some oldconfig questions wrong.

    Update: Oh, also, I have UltraNav so I have both the TrackPoint and a Touchpad. The touchpad still works and is detected correctly as before.

    Update 2: Additionally, the hdaps input device is registered—

    [ 10.666730] hdaps: inverting axis (3) readings.
    [ 10.666733] hdaps: LENOVO ThinkPad T61 detected.
    [ 10.667382] input: hdaps as /devices/platform/hdaps/input/input8
    [ 10.667441] hdaps: driver successfully loaded.


    —it's just that userspace can't detect it.

    Current Mood: frustrated
    Wednesday, December 2nd, 2009
    11:02 am
    [pkbarbiedoll]
    I've successfully mounted a network share with mount.cifs for the past 2 years using fstab with credfile.
    //server/share                   /mnt/mycooldir         cifs    credentials=/etc/credfile,dom=mydomain,uid=123,gid=123,file_mode=0666,dir_mode=0755 0 0 
    credfile:

    Code:
    username=foobar
    password=1234  (ends here no line return after '4')


    Yesterday I moved this system to a new datacenter, but did not alter fstab or the credfile. The //server/share directory has IP rules in place, but this was updated with the new system IP while we moved the system.

    Now, I am mysteriously unable to automount //server/share. The local error is 13 (permission denied). The Windows server we are mounting returned a code that is defined as "username is valid but password is incorrect"

    Again - no changes (content or permissions) were made to my credfile or fstab entry. I've restarted netfs a few times, including rebooting the system twice.

    What is baffling is I can successfully mount //server/share via command line:

    Code:
    mount -t cifs //server/share /mnt/mycooldir -o username=foobar,password=1234


    The username and passwords are identical in credfile and the mount options - I copied & pasted username / password from the credfile itself.

    I'm at a loss. Help?
    Monday, November 16th, 2009
    11:01 am
    [darkmatterhari]
    Union Filesystems headache
    I'm trying to set up a union filesystem to serve up a boot image for PXE thin clients. So far I've been completely unsuccessful in anything more that beating my head against my desk.

    I'll be running it on Debian (lenny) and for now I'm just working with the union idea in a test VM. The PXE and NFS stuff will come after I prove that this can reasonably work.

    I'm working with unionfs-fuse but I'm also open to funionfs. I looked at aufs but I think it's more complexity than we need. I'm pretty sure I've got the basic idea here but it doesn't seem to be working so I could be wrong in my understanding.

    Can anyone tell me what I'm doing wrong? )

    Update: Okay, I've got the union working but the copy-on-write/editing part is still screwed up. I think I was getting confused between unionfs-fuse, funionfs, and unionfs as I was struggling to find documentation for any. I rolled back my vm to the base Debian image, installed unionfs-fuse through apt-get, and am now here:
    Updated issue )

    Current Mood: frustrated
    Friday, November 13th, 2009
    10:44 pm
    [simbab]
    [ot] Static Linking
    I have a Qt application I need to run on Mac OS X. It's going to be a "portable" application, as in, download the .app bundle inside a ZIP file and run it. No installs, no admin privileges assumed. Due to the way Mac OS X works, it is possible to take a regular, dynamically-linked executable that is linked to Qt and put the .dylib binaries (libQtCore.4.dylib, etc.) inside the bundle and the linker will find them.

    This is pretty expensive in terms of application size, however, considering I am download the app from my home server which only has a 1Mbps uplink. If I split the Universal binaries into separate bundles and compress them in ZIP files, a single (i386 or ppc) download weighs in at about 6MB. This is not bad, but I wondered if I could go one better by using static linking to include Qt.

    My question is this—is static linking intelligent enough to jettison functions of Qt that I don't touch at all, thus potentially further reducing the size of the resultant binary? I tried static linking on Linux and came up with a binary that was about 6MB, or around 3MB compressed using gzip or ZIP.

    I can also configure out things I don't need (e.g. WebKit, SQL support, Qt3 compatibility) since I have to self-compile Qt anyway to get statically-linkable binaries on Mac OS X.

    Thoughts?

    Current Mood: curious
    Monday, November 9th, 2009
    8:03 am
    [budhaboy]
    Is there an easy way to track people who access files on an NFS share? I'd like to know who's accessed a file, and when. I'm hoping there's a way to get an http style usage log.
    Sunday, November 8th, 2009
    12:12 pm
    [bad_machination]
    Suppose I have a bunch of a particular kind of file with scrambled names (ABCD.jpg CDBA.jpg BBCA.jpg, etc) all from www.website.com/foo/

    Suppose then I would like to wget replacements for all of the files.
    Who knows why? Maybe they're growing mold. Not the important part of the scenario.

    Is it possible to make a bash script using grep to get the file names and insert them into a wget command? I am not very familiar with bash or grep, so assuming this scenario is possible how might one do it?

    Thanks.
    -bmach
    Wednesday, November 4th, 2009
    10:53 am
    [budhaboy]
    I've got a box running Hardy Heron I've been using as a file server. It's been acting a little flaky lately, and today for some peculiar reason when it reboots the machine seems to just die. I can log in remotely, the shares still work, I just can't access the box locally.

    When it does boot, just before the orange line gets to the end (on the splash screen) there's a peculiar system beep (i.e. not through the audio port), then nothing.

    I've tried restarting in recovery mode, and there don't appear to be any obvious problems... until you get to the login screen, and the video gets wonky and it appears to hang.

    I've tried booting from the live CD, but the options on what to repair aren't obvious... I strongly suspect a boot drive is failing, but what do I know?

    I'd like to keep all the configurations as I've got a rather large OS RAID I'd hate to reconfigure, as well as the server settings. Is there an easy way to back up the relevant boot drive settings remotely, replace the boot drive, and install a more recent version of ubuntu (while still retaining the settings)?
    Tuesday, November 3rd, 2009
    9:33 pm
    [zenten]
    [Fixed] Sound not working in VLC, mplayer, totem, works fine in madplay
    So I just updated my Ubuntu install to 9.10 and sound seems to not work in any of my video players (yes, I checked the sound levels both in the programs and with the alsa mixer). I tried installing ubuntu-restricted-extras but all that did was turn all my videos blue.

    I tried also opening several mp3s in each of those programs and the sound does not play as well. However madplay can play those mp3s just fine. I also tried with a .ogg, the video players won't play it either.

    When I view the mp3 in totem with visualizations on it does seem to be basing them on the music, instead of just sitting there flat like it does with dead air.

    I tried running each program from the command line, but I didn't get any sound related errors. I can post the output if anyone thinks it would be useful.

    Any ideas? I tried searching through the forums for something related, but nothing popped up.

    EDIT: The issue was pulseaudio. Rather than trying to figure out what was wrong with it I just bypassed it and use ALSA now. Since I don't use any of the advanced stuff that pulseaudio does that should meet my needs.
    Saturday, October 24th, 2009
    5:10 pm
    [moonloop]
    Text editor.
    Hello all. I want to know if anyone can recommend a text editor that has code folding (ie folding trees) like Notepad ++? I use gedit but I'm finding that I'm producing longer programs and editing larger html files than usual and I found the code folding a nice touch while working on various projects.

    I don't know if there are any available for Linux but I had to try. :) Thanks!

    PS: I'm in Fedora Linux 11 on GNOME.

    ETA: Thanks to everyone and [info]clupea_rufus suggested Geany which was in the Fedora repository. It had what I'm looking for. Thanks for the other suggestions (edited for my bad grammar)
    Thursday, October 22nd, 2009
    8:41 am
    [budhaboy]
    removable media in ubuntu...
    It isn't so much a problem, as a nuisence. My USB drive mounts perfectly to the /media/drive mount point. My problem is that it defaults to having 'root' be the group, and it keeps this assignment to all children files and directories.

    I've tried changing this using:

    sudo chown user:group /media/drive/

    but, it won't let me. At first I thought this was because it was mounted, but it won't let me change subsequent directories (i.e. /media/drive/subsequentdirectory/) either. This only became apparent to me when I tried to use rsync to backup some stuff to a removable drive, and rsync wasn't able to retain the file/directory attributes.

    I even went so far as to look for an entry in the /etc/fstab table see if there is some way address the issue here, but there isn't an obvious entry for removable media...

    Comments? Suggestions?
    Wednesday, October 21st, 2009
    2:14 pm
    [blindgeek]
    Cardbus Expresscard adapters
    Hi all. I'm getting a new laptop soon, and I'll need an Expresscard to Cardbus
    adapter to use this Atheros-based wireless card I have here. Does anyone
    recommend any particular adapter to use with a 2.6 kernel? I found several on
    Newegg, including this
    one.
    I'm just trying to make sure I don't end up with something that
    requires obscure Windows-only drivers to work. Thanks.
    11:21 am
    [bad_machination]
    Crypto
    Hey everyone.

    I was wondering if anyone had a suggestion for a (classic pen/paper) cipher toy?
    I am not familiar with cryptology at all, but it has recently become intriguing, and has been sneaking it's way into my interest.

    What I am looking for is something that will take input, apply a cipher of my choice, and display the encrypted result.
    An encoder, decoder, I know, but I don't want it for anything serious; Just a "I wonder what this will look like with such and such cipher applied!" toy.

    Thanks,
    -BMACH

    Current Mood: curious
    Current Music: Unreal Tournament - SKYWARD.UMX
    Friday, October 16th, 2009
    7:16 pm
    [wackydave]
    RAM failure?
    I am having some occasional system freezes.

    If I run Memtest86+ immediately after a crash, Memtest86+ finds faults, if however, I Memtest86+ at a different time (>10min after a crash) the RAM passes.

    Does this sound like a typical RAM problem or is there likely to be an underlying problem.
    Friday, October 9th, 2009
    10:56 am
    [illubrious]
    Image current linux install for reinstallation
    Hello all,

    Used Acronis TrueImage for Linux to image a current linux install for reinstallation. However, didn't quite like the results.

    Anyone have a good solution they perfer, which they can share?
    Thursday, October 8th, 2009
    6:34 pm
    [kagomeshuko]
    Oh dear, I am sad, so many Ubuntu errors!
    Hi all,

    Ugh. I just wanted to thank you for all the help and then also tell you that I may end up having to ask for all that help yet again! I had my computer set on the arm of the chair where I was sitting and it fell off and onto the ground. It didn't have the battery in it, just the A/C adapter. Anyway, when it fell, I just picked it up and everything seemed like it was fine. However, only about a minute later, it turned off and then I saw that the A/C adapter had fallen out of the A/C port, so it wasn't really charging. I tried to restart my computer with Ubuntu and everything seemed fine until after the main start up where it says "Ubuntu" on the screen and has the little bar under it.

    Well, after that, it started giving me tons of errors. There were a lot of long numbers with a decimal point in each. Then there were things like I/O not found and initrd errors and such. It was crazy! It was always five minutes worth of errors that appeared on the screen. I could still type "help" to get directory commands, but nothing seemed to do anything else.

    So, now, it looks like I am just going to have to reinstall Ubuntu, which I'll probably do a bit later tonight.

    I'll try to get files saved online or e-mailed to myself, but I'm not sure what I can and can't do.

    After all, Windows Vista doesn't really seem to like me all that much. I can do things like use notepad, but when it comes to using the Internet, it doesn't like to cooperate with browsers.
    Tuesday, October 6th, 2009
    10:10 am
    [amaena]
    Auditd
    Ok!

    So auditd, or rather the Red Hat linux auditing system is configured so that if the auditd service is disabled, it still logs some messages to /var/log/messages.

    My question is how do I know which rules it is using to log to messages:
    - does it read some of my audit.rules
    - does it read none of my rules and has a preconfigured listing of things it logs for
    - does it just use whatever daemons use to access the audit subsystem by default

    Better yet, where the heck do I find that information?
    Monday, October 5th, 2009
    5:09 pm
    [kagomeshuko]
    Linux Ubutu troubles
    Oh, Linux community, I really need your help!!!

    I am such a n00b at Linux that I have no idea what I am doing at all! I downloaded Ubuntu and all I know is that it does run and lets me access the Internet and do my work. Okay, I also know how to download things from the repository, but that's it. I don't understand any more than that. I try to read some of the things about what to do, but nothing is in layman's terms! I don't understand all this, "Oh, just go to the terminal and tell it such and such and then you'll be okay." I really need it spelled out for me. I've got tons of problems at the moment.

    My sister tells me that the Ubuntu runs off the back of windows? It doesn't really matter how it runs, just that it does run.

    I don't know exactly what I have on my computer, either. I know it is all built in and the computer is a Toshiba Satellite.

    The first problem I have is that I cannot record sounds or talk over the microphone to people.

    Then, also, my built in webcam does not work.

    While I did download something about Java from the repository and as a firefox add on, when I try to play any games on pogo, I still get the following message:

    Pogo.com games use the Java plug-in. You either do not have Java installed or you have a version that is incompatible with our games. It does not cost you anything to install Java.
    Do you want to install the Java plug-in now?


    If I put yes, I get the download thing. I downloaded it once and I tried to follow the instructions. I finally found my terminal, but when I typed "su" and then my password (should be the same password as I type to log onto ubuntu, right?), it didn't do anything but give me some error.

    Today, I tried to watch a DVD. I toldit to open in the media player. Instead, it gave me a bunch of errors. I tried downloading other media players, including VLC. Even VLC gave me a big list of errors! Note, however, that ubuntu did recognize my DVD drive and that a DVD was in the drive.

    Then, I also need to set up our wireless Artisan 700 printer with Ubuntu and I have no idea how to do that.

    I'm thinking that this may have to do a lot with drivers? I have no clue what I need to do.

    Can you please help?

    If you need me to get on a messenger and chat, comment to me. I can use either AIM or Yahoo! to chat and we can set up a time to make sure that I'm online.

    Thanks so much,
    [info]kagomeshuko
    Monday, September 28th, 2009
    2:30 pm
    [amaena]
    Remind me
    I keep forgetting this. This time I will write it down :P

    How do you pass answers to programs so that they can run unattended?

    ie. if I want to run fdisk I can pass "n p 3 enter enter w q > fdisk" and it will create a new partition for me.

    Edited to add: I am not actually interested in fdisk, this is only an example. I cant use TCL/expect either.

    Edited to add: Got it thank you :)
    Sunday, September 27th, 2009
    12:23 pm
    [stroopfaced]
    Help request on behalf of my very stressed boyfriend
    He has a new network thing. It's fine with windows but doesn't like linux.

    Using wicd to connect. Netgear WG111v3. Ndiswrapper. 'unable to obtain ip' seems to try to connect without encryption. Iwconfig shows it as connected without encryption, wicd says it couldn't get ip. Sometimes it does connect but last time it connected it was unable to ping net or router.

    Has anyone had the same problems? Is this a standard problem or are we just doing something stupid? How do we fix it?

    Thanks x
[ << Previous 20 ]
About LiveJournal.com

Advertisement