thinkliberty
-
Posts
94 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by thinkliberty
-
-
Place the script in ~/.kde/Autostart
It will start when kde does.
or do what devries said in the kde control panel... that works for me.
-
GCC should know, but it depends on how it is set up. In 10.0 gcc did not compile c++ (qt) code I had to specify g++ to get it to compile.
-
yep but the easiest is just maybe create a link from
/usr/lib/cpp to /bin/gcc (im at work but I think gcc is in /bin)
ln -s /usr/lib/cpp /bin/gcc
Shouldn't that be /usr/bin/g++
As he wants to use c++ and not c
-
2.6.8 brakes scsi-ide. In my experience with 2.6.8 and 2.6.8.1, anything that uses scsi-ide will not work. This includes cdrom burning apps that still use scsi-ide and wineX 3.x
-
What ISP are you using? there is most likely a linux how-to.
The realtek 8139 is an ethernet card which means you most likely will have to use pppoe to connect to your ISP.
Have you thought about buying a cheap linksys or dlink router to do this for you? It will also protect you from portscans from people looking to do other nasty things to you out there on the net.
If supported by your ISP would allow you to use dhcp to connect to your router, which connects to your dsl modem.
-
1Try passing 'pci=routeirq' to the kernel at boot time. (by typing it in at the boot prompt without the quote marks)
2 Try installing the nvida driver from run level 1 (type: init 1 <as root>)
Make sure it is not already loaded using lsmod to check
3 If that does not work there is a patch that nvidia posted to the lkml by Terence Ripperda on Mon, 23 Aug 2004...
nv_enable_pci.patch
--- nv/nv.c 2004-08-23 13:58:15.000000000 -0500 +++ nv.new/nv.c 2004-08-23 13:58:35.000000000 -0500 @@ -1225,6 +1225,7 @@ { nv_state_t *nv = NV_STATE_PTR(&nv_linux_devices[i]); release_mem_region(nv->bar.regs.address, nv->bar.regs.size); + pci_disable_device(nv_linux_devices[i].dev); } } @@ -3516,6 +3517,28 @@ return -1; } + // enable io, mem, and bus-mastering in pci config space + if (pci_enable_device(dev) != 0) + { + nv_printf(NV_DBG_ERRORS, + "NVRM: pci_enable_device failed, aborting\n"); + return -1; + } + + // request ownership of our bars + // keeps other drivers from banging our registers. + // only do this for registers, as vesafb requests our framebuffer and will + // keep us from working properly + if (!request_mem_region(dev->resource[0].start, + dev->resource[0].end - dev->resource[0].start + 1, + "nvidia")) + { + nv_printf(NV_DBG_ERRORS, + "NVRM: pci_request_regions failed, aborting\n"); + goto err_disable_dev; + } + pci_set_master(dev); + /* initialize bus-dependent config state */ nvl = &nv_linux_devices[num_nv_devices]; nv = NV_STATE_PTR(nvl); @@ -3545,7 +3568,7 @@ nv_printf(NV_DBG_ERRORS, "NVRM: Please check your BIOS settings. \n"); nv_printf(NV_DBG_ERRORS, "NVRM: [Plug & Play OS ] should be set to NO \n"); nv_printf(NV_DBG_ERRORS, "NVRM: [Assign IRQ to VGA] should be set to YES \n"); - return -1; + goto err_zero_dev; } /* sanity check the IO apertures */ @@ -3569,39 +3592,9 @@ nv->bar.fb.address, nv->bar.fb.size); } - /* Clear out the data */ - os_mem_set(nvl, 0, sizeof(nv_linux_state_t)); - - return -1; - } - - // request ownership of our bars - // keeps other drivers from banging our registers. - // only do this for registers, as vesafb requests our framebuffer and will - // keep us from working properly - if (!request_mem_region(nv->bar.regs.address, nv->bar.regs.size, "nvidia")) - { - nv_printf(NV_DBG_ERRORS, - "NVRM: pci_request_regions failed, aborting\n"); - - /* Clear out the data */ - os_mem_set(nvl, 0, sizeof(nv_linux_state_t)); - - return -1; + goto err_zero_dev; } - // enable io, mem, and bus-mastering in pci config space - if (pci_enable_device(dev) != 0) - { - nv_printf(NV_DBG_ERRORS, - "NVRM: pci_enable_device failed, aborting\n"); - - pci_release_regions(dev); - os_mem_set(nvl, 0, sizeof(nv_linux_state_t)); - - return -1; - } - pci_set_master(nvl->dev); #if defined(NV_BUILD_NV_PAT_SUPPORT) if (nvos_find_pci_express_capability(nvl->dev)) @@ -3618,13 +3611,7 @@ if (nv->bar.regs.map == NULL) { nv_printf(NV_DBG_ERRORS, "NVRM: failed to map registers!!\n"); - - pci_release_regions(dev); - - /* Clear out the data */ - os_mem_set(nvl, 0, sizeof(nv_linux_state_t)); - - return -1; + goto err_zero_dev; } nv->flags |= NV_FLAG_MAP_REGS_EARLY; #endif @@ -3641,6 +3628,15 @@ num_nv_devices++; return 0; + +err_zero_dev: + os_mem_set(nvl, 0, sizeof(nv_linux_state_t)); + release_mem_region(dev->resource[0].start, + dev->resource[0].end - dev->resource[0].start + 1); + +err_disable_dev: + pci_disable_device(dev); + return -1; } int NV_API_CALL nv_no_incoherent_mappings
-
I was only joking. I was comparing lilo and grub to the emacs vs. vi flamewars of the past on usenet.
I hope you don't harbor any hard feelings against me for saying what I did in my previous post.
Wrong thinkliberty.I am not an emacs user and I wouldn't know what it was if it hit me. I am simply one who follows a set of instructions that have been laid out by people who know a whole lot more about a subject than I do.
Maybe you don't, but I am one who was trained to READ THE MANUAL FIRST and don't presume you ( meaning me) know. When an instruction says use vim then that is what I use. In another thread involving an NVIDIA driver install problem, (which you are probably alluding to) a poster had no end of trouble because he made what seemed a minor insignificant change to the procedure, namely using vi instead of the advised vim. I have NEVER had a problem installing or reinstalling the nvidia driver on my machine or two other friends machines which have different nvidia video cards. I do not think good luck had anything to do with it and I am not a trained and certified computer tech so I follow instructions exactly.
Grub is rapidly becoming the default for LINUX OSs from what I am hearing. The fact that LILO has been out much longer does NOT make it superior, only older.
It is not as user friendly as Grub but this would not matter to a geek who thinks user friendly is sissy woosses stuff. To them if it isn't difficult to use then it cannot be any good.
Like most computer users, I like to use my machine for actual work and playing with it is only sideline interest.
John.
-
My vote goes to eroaster
-
If this is for non-commercial use, why not just use borland's free compiler? If it is for windows see
http://borland.com/products/downloads/down..._cbuilder.html#
Cross-Compiling usually has to do with using a different arch, but still running in linux. Like compiling a linux program on your x86 to run on an linux PDA that uses an ARM processor.
Compling code in linux to run in windows can be done with winelib, but it can be a PITA.
[copy of preceding post removed by spinynorman - please use 'add reply' button]
-
All that mucking around. Wow.
I am glad I use MCC and use Grub as bootloader. It doesn't appear as pretty as Lilo but is a hellava lot easier to use (and far more reliable).
When ever you select a new kernel to boot in to you must always check that the boot settings are what you want with that kernel. The system does not automatically apply pre-chosen boot settings to all kernel choices. Try adding some boot themes. There are some nice ones around and when installed you can select the one you want from within MCC ---> Boot
Cheers. John.
Grub is not easier to use... and lilo has been around alot longer than grub has, I have never had problems with lilo not being reliable. *tsk* you are probably one of those emacs users too when everyone knows vi is better.
-
When doing 'emerge kde' in gentoo it took 9 and a half hours on a 2500 amd with 1gb ram
-
I've seen the same thing happening in mdk10.0. I put an alias in .bash_profile, and .bashrc without success. Let me know if you figure out a solution.
You need to making a file .alias in your home directory...
See the file /etc/profile.d/alias.sh
# Linux-Mandrake configuration: Chmouel Boudjnah <chmouel@mandrakesoft.com>
#
# Common Aliases for a system.
#
# The Semantic is :
# If exist a ~/.alias and the user hasn't specified a
# LOAD_SYSTEM_ALIAS variables then don't do any system aliases
# If there is no ~/.alias but the user has specified a
# IGNORE_SYSTEM_ALIASES then don't do any system aliases.
Use it as a template for your /home/<your user name here>/.alias file
-
Buy a Cheap linksys hardware router.. they can be bought for 50 dollars at walmart. Even less money if you buy them online...
Then use IPtables to secure your port forwarding... (like only allowing the IP block(s) from work to access the port your ssh server runs on.)
Another good program to run for security sake is PortSentry.
-
What is the task you are trying to accomplish? There is most likely an easier solution using ssh and xforwarding..
Here is a link that answers all of your questions:
-
You might be running extra services at boot and it sounds like you might be having an issue with harddrake scanning for new hardware. There is really no need to run harddrake on every boot.
Sorry if this is in the wrong place, feel free to move it. My question is quick, and hopefully simple enough to answer :)When I boot mandrake 10 with 2.6 it takes an extraordinary amount of time to boot, it takes for ever checking or mounting the partitions. I don't know why, any ideas? Also, it won't shut down when I'm using 2.6. I can reboot, but if I tell it to shut down it doesn't correctly power down the computer.
-
Use "QT designer" instead of kdevelop. IMHO kdevelop is lacking
here is a link to a good example using the Qt Designers IDE
http://doc.trolltech.com/3.3/designer-manual-2.html
you can see more examples here http://doc.trolltech.com/3.3/examples.html
-
Not sure how old this is, but it's related, and you may have not seen it...
http://www.redhat.com/about/presscenter/20...atehearing.html
2001/press_senatehearing... it's pretty old. :lol:
-
Look where it came from.... Forbes.com Which has consititantly printed false information about linux, they are a microsoft shill.
Anything printed from Forbes.com is taken from the point of veiw of the highest bidder.
Groklaw has some nice things to say about forbes here:
http://www.groklaw.net/article.php?story=20031014204258580
Here is what slashdot has to say about forbes.com
http://slashdot.org/articles/03/10/14/1317...?tid=117&tid=99
-
Are you using the CD do the install? It sounds like you're trying to do it from the hard drive and your kernel does not have the loop module compiled in the kernel or as a module. Maybe the CD's kernel doesn't have the loop module in it?
Your other option is to use mandrakemove or knoppix with the loop module in it(or a rescue floppy if you have a floppy drive) and chroot in to your mandrake installation and run lilo from there.
The installation goes perfectly fine until it is time to install the boot loader.Now it doesn't matter whether I choose LILO* or Grub I get the following error.
"insmod'ing module loop failed"
I've tried various different ways to get around this to no avail*
I know Mandrake had a problem around 9.2 I think with installing boot loaders on scsi and SATA drives... Is this still an unfixed problem?
The only option I have for installing the bootloader is on one of my two SATA drives. The PATA drive listed in my sig is used for another OS that only recognizes PATA.
So my question is if this is a known problem (Installing bootloaders onto a SATA MBR) What do you suggest using in place of GRUB or LILO? And how would that work into the install? (I did not see an option to skip the bootloader install, but was very late when I did this. B) )
Edit:
I may have been alittle to hasty to blame SATA. During the setup between createing a user and displaying the bootloader screen is when this error happens.
During the setup of the bootloader I can setup the bootloader for windows, but if I try to select an option for linux(whether I do linux by itself or linux and windows option) I get the error again after hitting ok/next.
-
Some motherboards require you to turn off antivirus protection in the bios before updating the MBR
Hello All,Just installed 10 on my machine for dual boot with 2000. After having 10 install LiLo, when I reboot I get 0's and 1's on the screen and no boot. I have 2 seperate drives that the OS's are on.
Win 2000
Drive 1 (hda) C:\ (Partition 1) 40GB
Drive 1 (hda) D:\ ( Partition 2) 40 GB
MDK10 (K:\)
Drive 2 (hdb) All MDK 40 GB
Any thoughts?....I restored the origional MBR and rebooted back into Win, but would like to have access to MDK. Haven't found a way to even access the drive. MDK restore found the install, but will not boot????
Thanks !
JAzz
-
I see this being useful in 3 situations.
gaming
computing for the blind
assigning the sound to a virtual windows.
until computer UI's start to work like in the movie the minority report. :)
Sure thing:Say you had a large monitor (it just makes the effect better) and you are tweaking something in a console window somewhere in the center of the screen and off to the right you have your chat client open, but it's been relatively inactive for a while. When someone sends a message to the chat room the normal alert sound/chime will make noise, but you will hear it to the right of you. Similarly if your chat client is to the left, you will hear alerts to the left of you.
There are some ideas floating arround that the efficiency one gains from such a thing increases as the amount of tasks increases. So for someone typing a document and periodically checking a chat the efficiency increase will be barely noticeable. For someone watching 10 stocks, chatting and typing up a report the benefit would be great. Instead of looking at all the stocks when an alert is sounded one could easily zero in on the stock making the alert.
-
You should ask the user what speed their CD burner is, also have an option if unsure to press enter and go with a default of 4.
just my 2 cents
Ok, I made some changes and the cdrom closes. Unfortunatly it doesn't recognize the rawread command even though I put the script the in the directory and it made it exectuable.I gotta download the Mandrake Isos again to test if my script burns them right. Here are my modifications. Thanks for the help everyone.
#!/bin/bashecho Burn Script Started
echo Created by SwiftDeath
cdrecord -scanbus
echo Please enter the 3 numbers corresponding to your burner. Example 0,1,0 or 0,0,0
read BURNER
echo Please enter the mount point of your buner. Usually /mnt/cdrom or /mnt/cdrom2
read MOUNT
echo Please tell the directory of your Mandrake Isos
read DIR
cd $DIR
echo Moving to $DIR
echo Please wait... Checking Intergrity of Mandrake ISO Images. Please check a site to see if these checksums match the sites, to insure a good quality burn.
md5sum Mandrake*.iso
cdrecord dev=$BURNER speed=10 blank=fast -v -eject
eject $MOUNT
echo Please insert a Blank Disc into your $MOUNT. Press any key to continue
read key
eject -t $MOUNT
cdrecord dev=$BURNER speed=10 -pad -v -eject Mandrakelinux10.0-Official-Download-CD1.i586.iso
md5sum Mandrakelinux10.0-Official-Download-CD1.i586.iso
rawread $MOUNT | md5sum
echo If those 2 keys match your burn of this cd was sucessfull.
eject $MOUNT
echo Please insert a Blank Disc into your $MOUNT. Press any key to continue
read key
eject -t $MOUNT
cdrecord dev=$BURNER speed=10 -pad -v -eject Mandrakelinux10.0-Official-Download-CD2.i586.iso
md5sum Mandrakelinux10.0-Official-Download-CD1.i586.iso
rawread $MOUNT | md5sum
echo If those 2 keys match your burn of this cd was sucessfull.
eject $MOUNT
echo Please insert a Blank Disc into your $MOUNT. Press any key to continue
read key
eject -tt $MOUNT
cdrecord dev=$BURNER speed=10 -pad -v -eject Mandrakelinux10.0-Official-Download-CD3.i586.iso
md5sum Mandrakelinux10.0-Official-Download-CD1.i586.iso
rawread $MOUNT | md5sum
echo If those 2 keys match your burn of this cd was sucessfull.
echo Congratulations! It appears you have downloaded and burned all 3 Mandrake CDS.
exit 0
Thanks Everyone,
SwiftDeath
-
I have a linux box (Red Hat 7) running at my ISP. I would like to know if there is a way to backup an entire linux installation to a remote location using only a ssh terminal?And also how to restore it
you can use dd via netcat (Tunneled through ssh of course, unless it's on a local netowrk)
google is your friend too. here are some quick links on how to do what you are asking (it saves me from typing it out ;) )
http://www.rajeevnet.com/hacks_hints/os_cl...os_cloning.html
-
then realized you couldn't install by double clicking, and pirated windoze.
Yeah you can't double click to install a virus in Linux.
Perhaps Gentoo - SOLVED
in Other Linux and Unix Distributions
Posted
Gentoo is not that hard to install at stage 3... just follow the steps and you are done.
Compile time take awhile, but once you have it installed getting the latest packages for whatever is cake.
If you already have a linux on one of your harddrives I'd suggest using that extra hard drive for something else like FreeBSD or openBSD