Ubuntu :: Marking A Thread As Solved?

Apr 21, 2011

I have a few Threads that have been solved but I do not know how to add that Prefix. How do I change that on an existing thread.

View 3 Replies


ADVERTISEMENT

Ubuntu :: Mark My Thread As Solved?

May 25, 2011

My problem has been solved in another thread but I cannot figure out how to mark it as solved.
How do I do this?

View 3 Replies View Related

Debian :: Mark A Thread As Solved?

May 5, 2011

How do you mark a thread as solved?

View 5 Replies View Related

Programming :: How To Bind Thread To Specific Thread In Multithread Application?

Dec 25, 2010

I am going to use "pthread_setaffinity_np" to bind a thread to a specific core. My application has two threads. I have used mutex to assign a specific id to each thread and then bind that thread to a core different from another core. but it seems that the os assigns both thread to one core.What should I do to bind each thread to a specific core?

View 4 Replies View Related

General :: NTFS - Marking Sectors Bad ?

Feb 20, 2011

I have a massive ZFS array on my fileserver. Whenever a disk reports bad sectors to smartmon, I order a replacement, and I shelve the failing one.

And by "shelving the failing one", I mean that I give it a low-level format if applicable, or a destructive badblocks run to possible claim spare sectors to replace the bad ones, then use it to dump my DVDs (and lately BluRays) on, so that I can use it with my HTPC and bring it with me when going to my friends to watch movies. It's just a really easy and portable way to watch movies with XBMC. I have the stuff on pressed discs already, so I'm not dependent on their reliance, and the dying drive just gets a hospice life serving as quick-access media storage. Keeping in mind Google's reports that drives are 39x more likely to die within 60 days after their first SMART error, I'm expanding that period by the fact that these drives mostly remain on their shelves and are only plugged into the SATA bay once or twice every year.

I'm just saying this to make clear that I'm not confused about these drives dying, and I'm not looking to elongate their lives ;)

So. Sometimes these drives, after a badblocks run, simply claim fresh sectors from the spare pool, but sometimes there aren't any left, and I face the fact that there are bad sectors in my FS. That's not a problem if you use one of a set of linux filesystems, as mkfs.* often takes a badblocks list as input. But seeing as I sometimes bring a drive or two to my girlfriend's (Mac) or one of my friends (usually Windows), I've decided to use NTFS for these things. Up untill now, when a drive had unrelocatable bad sectors, I've just written data to it, re-read it, and files that were bad were put in a "BAD_SECTOR_FILES" folder on the drive.

Sure, it works, but it would be really nice to be able to just mark those sectors bad instead. It's a lot of hassle the other way around.

So I read some posts, of which most quickly switch subject to the often accurate one of "replace your drive!", and some suggest spinrite, but really, I don't see why I should pay that much money for such a trivial task.

The alternative is to use ext3, but I'd like to hear if someone knows how I can feed badblocks output to mkfs.ntfs, so that the bad blocks aren't used. Or if there are other tools (I could use Windows in a VM) that do the same. I'm confused about chkdsk, it seems the bad sectors thing is FAT only?

View 1 Replies View Related

General :: Manually Marking A Filesystem As Clean

Dec 24, 2010

I run Linux Slackware 13.1. I have a hard drive with a ext2 filesystem, and I would like to mark the filesystem as Clean without running FSCK on it. I think I can do that with the debugfs command, but in the help there seem to be only a command to mark the filesystem as Dirty?? Is there a way to manually mark a ext2/ext3/ext4 filesystem as Clean?

View 2 Replies View Related

CentOS 5 :: Yum Suddenly Not Marking Packages For Update

Feb 6, 2011

I have checked the yum.log file and the last time an update was performed was Jan 6, 2011. I am the only person who administers this server and I do it remotely via SSH. No one has GUI access to this. At a minimum, the kernel version is older than the latest release. This is the first time since I brought this server online in 2009 that a monthly yum update didn't produce at least a dozen package updates. I've tried disabling the Priorities plugin (as well as rearranging priorities) and I get the same result: no updates available. For the record, I did spend quite a bit of time Googling this problem and doing a forum search here. I found nothing applicable to my particular situation. Here's the output of yum update:

[root@copeland2 log]# yum update
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* addons: mirror.5ninesolutions.com
* base: mirrors.easynews.com
* extras: mirrors.usc.edu
* rpmforge: ftp-stud.fht-esslingen.de
* updates: centos.mirror.facebook.net
0 packages excluded due to repository priority protections
Setting up Update Process
No Packages marked for Update

View 4 Replies View Related

Networking :: Route Type Unreachable Overriding Local Packet Generation For Marking Packets

Jun 16, 2010

My issue is with linux routing tables using iproute2, coupled with the iptables MARK target. When I create a rule to lookup a table with iproute2, and the routing table routes an address as type unreachable (or blackhole, or prohibit), if a higher priority rule does a lookup to another table that routes the address as type unicast but that higher priority rule also matches on a fwmark, the packet to that address is never generated locally to even go through iptables packet filtering/mangling in order to mark it, because the lower priority rule that doesn't match on a fwmark says it's unreachable. For example, I have 2 rules installed with ip:

Code:

10: from all fwmark 0x1000 lookup routeit
20: from all lookup unreach
ip route list table routeit

[code]....

Now, in the packet filter, I have an iptables rule to mark packets to destination 10.0.0.5 with 0x1000 in the mangle table and OUTPUT chain. When I generate a packet locally to 10.0.0.5, all programs get ENETUNREACH (tested with strace). However, if I take out the route entry that 10.0.0.0/8 is unreachable, it all works fine and the routes in the routeit table get applied to marked packets (I know because my default gateway would not be 1.2.3.4, but wireshark shows packets being sent to the MAC address of 1.2.3.4).

The best I can surmise is that when generating a packet locally, the kernel tests the routing tables in priority order but without any mark to see if it is unreachable/blackhole/prohibit, and doesn't even bother generating the packet and traversing iptables rules to see if it would eventually be marked and thus routed somewhere. Then I assume after that step, it traverses iptables rules, then traverses the routing tables again to find a route. So is there any way around this behavior besides adding fake routes to the routing table (e.g. routing 10.0.0.5 to dev lo in the unreach table in this example)?

View 2 Replies View Related

Debian :: Editing A Pdf File-SOLVED

Jul 20, 2011

I had/have an old program which works on XP called PaperPort. It allows me to edit and fill in blank forms. I have been searching for something like that for Linux, and to date found nothing, Chances are that I am looking in the wrong places.

View 2 Replies View Related

OpenSUSE :: Firefox 3.6.8 New Tab Position (solved)?

Sep 8, 2010

I was going to post a question, but I (think?) I have found the solution (For once!) Firefox for opensuse has auto updated itself to 3.6.8... OK, but now if I click a link, it opens in a new tab NEXT TO THE CURRENTLY OPEN ONE. I am used to the new tab opening as the last of the open tabs, ie on the far right. Nothing refers to this in the edit>preferences AFAICS. However in about:config, there is a key I can set to make it behave like it used to: browser.tabs.insertRelatedAfterCurrent, set this to FALSE and Bob's your Unc

View 1 Replies View Related

Ubuntu :: Low Graphics Mode After Upgrade; Solved, But Reset On Every Reboot?

May 12, 2010

I'm using Ubuntu 9.10. Recently after an upgrade my Ubuntu started running in low graphics mode. After searching through forums, I could finally fix it.I'm not sure what exactly fixed it. I first changed the window manager to metacity. Run the following command:Code:sudo nvidia-xconfig --composite --render-accel --add-argb-glx-visualsAnd then changed window manager to compiz and desktop effects could be enabled.The problem is, everytime I reboot, its again running in low graphics mode, desktop effects cannot be enabled, and I have to do all the troubleshooting again! Any idea how to permanently fix this?EDIT: I found that the graphics is reset even without typing the command everytime. But I still have to switch back and forth from compiz window manager to set it all right!

View 7 Replies View Related

Software :: Cautious About Rsync After Re-install Of OS SOLVED?

Jan 5, 2010

I am using a simple rsync script to backup a directory on my home computer that is it's own partition of the hard drive. The sync computer is remote via ssh. Now, i want to upgrade my operating system, i would not touch the partition that i have my stuff mounted on, but want to be able to continue to sync with the remote backup computer.

The first time i used rsync to sync the two drives, it took forever, even though there was almost no change between them. I guess my question is... what files or configs do i need to backup so that when i run my rsync program after i boot into the new OS, rsync does not think it is the first time running, and instead just syncs as normal?

View 2 Replies View Related

Debian :: Solved - Grub2 Cannot Find Root Device?

Jul 23, 2011

I have a raid array using mdadm made up of two drives. The drives have two parts, the first for boot information and the 2nd for LVM. Everything but /boot is under LVM management. Originly the two drives were hooked up to a sata controller in a computer with no on-board sata. However I was not able to get the computer to boot to a sata drive off of that controller. So there was an IDE drive with the MBR that loaded grub.

Now the computer in that setup seems to have died. So the drives were moved to another computer with an on-board sata controller and now the bootup works as far as getting to the grub menu. However after the grub menu the error message "Cannot find root device"

I found the boot info script [URL].. note at the time that was run the computer was running with one drive that has a full Debian install with the raid drive in question mounted and chrooted into. The script was ran from the chroot envirment.[URL]..

View 2 Replies View Related

Debian :: Can't Mount Floppy Drive In Squeeze SOLVED

Mar 14, 2011

Just installed 64 bit Squeeze on a new build system Athlon quad core 3 GHz and 4 GB of ddr3 in a Gygabyte GA-870A-UD3 rev 2.1 mobo and I can't mount the floppy disk. The onboard controller is an ITE IT8720 chip. The floppy is a generic internal drive - Sony I think.I know the hardware is ok as various versions of Puppy linux mount and unmount it ok and.When I saved I got the message "Unable to mount floppy dev/fd0 is not a valid block device" editing back and saving got "Unable to mount floppy0 dev/fd0 is not a valid block device".Can anyone point me in the right direction?

View 4 Replies View Related

Debian Multimedia :: Update Manager In KDE4 (Solved)?

Jan 8, 2011

So far I have just used the CLI to upgrade KDE, and I get notified of upgrades once a day, where a popup shows when new upgrades are available. However, when I push the "install upgrades" button, nothing happens. In Gnome, all I had to do was click the update notifier and click install. I am pretty confident the same is posible in KDE4. I have searched the web trying to find a solution, but I can't find anything. I am probably missing some packages. Can someone help me configure:

1. Update intervals for the KDE update manager, and
2. GUI updates for the KDE4 desktop.

View 2 Replies View Related

OpenSUSE Install :: Booting 11.2 On HP Dv4 1548dx - Partly Solved?

Dec 22, 2009

I've been running Ubuntu 9.10 on the notebook for a week. The OpenSuSE 11.2 install goes fine, but on first boot it only goes 8-9 seconds into the bootup and hangs. Sometimes I can get it to boot by adding "acpi=off" to the FAILSAFE options.

To be fair, I seemed to have an intermittent problem with Ubuntu 9.10 in a very similar way... But it was temporary, I have not had it since around the time I ran updates. I never needed acpi=off. Appears to have the newest BIOS. Several items on the "firmware test" on the CD boot display "fail".

View 2 Replies View Related

Ubuntu Installation :: Boot From Usb - "marking TSC Unstable Due To TSC Halts In Idle"?

Mar 16, 2011

Im new to the forum and to Ubuntu. I have a HP 'tablet' laptop which has no operating system installed and I was hoping to install Ubuntu. I downloaded ubuntu and the software to make it possible to boot from usb. I started the laptop up selected the option to boot from the usb. But now it says "marking TSC unstable due to TSC halts in idle" and then on the next line it says "switching to clocksource hpet" and it has been like this for hours. The laptop specs are: Intel Core 2 CPU T5600 @ 1833MHz with 1GB of RAM.

View 3 Replies View Related

Debian Multimedia :: (Solved) Evolution Crashes In Squeeze After Recent Update?

May 19, 2010

After recent update (yesterday) Evolution became almost unusable: if I am going to create a new e-mail or just select a person from Contacts or reply to someone it simply crashes. The update also didn't go very smooth - 15 updates were not applied because of a broken dependency - evolution-exchange, which depended on evolution prior to 2.30.0 but 2.30.1.2-2 was to be installed. Is there a way to make Evolution to work or upgrade solving dependencies?

View 1 Replies View Related

Debian Hardware :: TP-Link TL-WN821N V2 Doesn't Work With Kernel 3.0 (Solved)

Jul 25, 2011

I'm running Kernel 3.0 and i cannot use my TP-Link TL-WN821N v2. # lsusb Bus 001 Device 003: ID 0cf3:1002 Atheros Communications, Inc. TP-Link TL-WN821N v2 [Atheros AR9001U-(2)NG]

[Code]....

ifconfig wlan0 up doesn't work. With kernel 2.6.39 I can use it.

View 3 Replies View Related

OpenSUSE Hardware :: Plasma Crash Solved By Downgrading NVIDIA Drivers

Jan 30, 2011

It's been mentioned several times in this forum already that downgrading to NVIDIA driver version 256.53 can solve random-seeming plasma crashes (the error dialog box usually mentions a "floating point error").So, I upgraded openSUSE 11.3 to KDE 4.5.5 today and couldn't add a clock - any clock - to my desktop or panel without a plasma crash. I had been using the latest NVIDIA kernel modules (v260.19) from the openSUSE NVIDIA repo. I uninstalled them, installed the gcc, make, and kernel-devel packages, and manually installed the latest NVIDIA driver (270.18). No joy; same crash. So I installed version 256.53. And...it solved the problem.

So, to underscore the point, if you have a recent NVIDIA card and you're having random plasma widget crashes, try downgrading your NVIDIA driver.

View 1 Replies View Related

Ubuntu :: Marking Forwarded Emails As Forwarded In Mutt?

Mar 23, 2011

One inconvenience I face now, though, is that I cannot tell if I have already forwarded certain messages or not, because the message is not automatically tagged as forwarded. how to set it up, so it would indicate in the list that the message has been forwarded?

View 2 Replies View Related

Software :: Courier IMAP Functionality - Delete W/o Marking - Similar To Gmail IMAP ?

Apr 23, 2010

I've been running Courier IMAP for many years now, but when I added gmail's IMAP to my Outlook I noticed something interesting: when you delete a message, it gets thrown into the trash instantly.

With Courier IMAP (or any other IMAP server, for that matter), when you delete, it first marks it for deletion. Then after you Purge Deleted Messages it either gets rid of them or moves them to trash.

Is there a way to implement this in Courier IMAP?

View 1 Replies View Related

Debian Hardware :: {Solved}Intel Driver Errors Black Screen With Trunk Kernel?

Jan 29, 2010

I see this at boot:

fb: conflicting fb hw usage inteldrmfb vs EFI VGA - removing generic driver
Console: switching to colour dummy device 80x25
fbcon: inteldrmfb (fb0) is primary device

[code]....

View 10 Replies View Related

Debian Installation :: "SOLVED" Input Out Of Range?

Oct 3, 2010

I am using my wifes comp to post thisI just installed debian but now when i boot up i get a black screen and a message from my monitor saying: input out of rangechange settings to 1280x1024 60hzas i boot up i can get into my root and get adebian~#:what code/command do i need to change the settings

View 5 Replies View Related

Ubuntu :: When Does The POSIX Thread Start

Feb 3, 2010

i'm trying to understand the POSIX threads and i can't understand when does the thread start: does it start when i do

pthread_create()
or when i do
pthread_join()

or maybe i'm missing something. i do understand that pthread_join() causes the calling thread to wait till the called thread is finished.

View 2 Replies View Related

Ubuntu :: Test - How To Delete Thread

Jan 6, 2011

Just a test, how to delete the thread...

View 3 Replies View Related

Ubuntu Installation :: Looking For A Grub2 Thread?

Feb 10, 2011

i know i should look more through the forum, but i've been stuck on installing ubuntu on my computer for 3 days now, reinstalling, manual grub installing and so on, but no go. but i found a good thread on my still no fully functional ubuntu computer that explained very well for a complete linux noob how to install grub2 on ubuntu via the livecd. but since i was booting from the live cd meant that i couldn't bookmark it, and very little on this forum, as far as i can see, gets sticky, makes it very hard to find.

the basic problem is, i completly reinstalled ubuntu 10.10, and the bootloader (that i now know is named grub2) could not be installed. so i've found several guides, including the wiki, but it haven't really worked. now instead of explaining all of this over again, like all of you have probably done a million times, can you just post the most informative links here, so i can pick and choose,

View 9 Replies View Related

Ubuntu :: Can't Start New Thread In Community Cafe

Feb 1, 2011

I can't start a new thread in the community cafe because there is no 'new thread' button to be clicked.

View 2 Replies View Related

Programming :: Quickest Way To Get Thread Id

Jun 24, 2010

What is the quickest way to get the thread id(tid) of the current thread in linux? Specifically I use fedora 13. ...and I am talking about inside a C++ program.

View 2 Replies View Related

Programming :: Determine What CPU Thread Is On?

Jul 2, 2010

Is there a library/system call that will return to me what CPU core a thread of execution is running on? I've looked for a bit on the net already and also in /usr/include and couldn't find one.

getcpu() and sched_getcpu() are two that I found, but when I include the appropriate header files (linux/getcpu.h, and sys/sched.h respectively), gcc says getcpu.h doesn't exist and the linker complains it cannot find the implementation in sched.h.

I'm sure I'm doing something really stupid or overthinking...

What I am doing is running an OpenMP application and specifying a list of cpu cores to run on with GOMP_CPU_AFFINITY. I want to make sure that each core is getting the same number of threads.

**UPDATE**

It seems that this code works, but only with glibc >= 2.6, and my machine has 2.5:

Code:
#define _GNU_SOURCE
#include <stdio.h>
#include <utmpx.h>
int main( void )

[Code].....

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved