Fedora :: [15] Won't Restart- Kind Of Complicated?

May 28, 2011

When I shut down the computer, then turn it back on- everything goes fine- system loads, no errors.BUTWhen I am in a turned on system, and I ask it to restart (reboot), when the machine restarts and the system starts loading- I get a kernel panic. Every single time- but only when I ask the machine to restart. If it helps, the error didn't appear on Fedora 14.

To make it more colorful- the same situation happens with my Ubuntu 11.04 (I have triple boot- Fedora, Windows and Ubuntu- I am learning Fedora to switch from Ubuntu). When I had Ubuntu 10.10- all was ok- when put 11.04- the error is the same- I can't restart my PC properly. The only system that loads as it should every time is Windows 7.Could anyone pls help me? My guess is that it's some kind of kernel change, because the error didn't show up in the previous versions of both systems (Fedora and Ubuntu).Did memtest (after 12 passes there were still no errors), tried acpi options, modeset, nomodeset (using grub2)- all for nothing.

View 2 Replies


ADVERTISEMENT

Programming :: Pass Complicated Commands As Argument To Another Script?

Apr 21, 2010

I am attempting to script some tasks I have to do, but I have no control over one of the scripts I have to use... and they output all kinds of useless things on the screen. My goal is simple: Capture all output from their scripts, and create a progress line that only shows the most recent output from their stuff. So, here was my first solution; a file I called "spin":

Code:
#!/bin/bash
spinX(){
PROC=$1
STRT='date "+%s"'
while [ -d /proc/$PROC ];do
last3=" 'getLine $2' "

To use it, you pass it a process ID and a file that contains the output from that process. As the process continues, a kurby dances on the screen (To let you know that the process has not hanged), and the tail of the output is shown (To let you know what it is doing). When the process ends, the kurby stops dancing and the time it took is displayed.

And here is the file I call "noise":
Code:
#!/bin/bash
while [ i -lt 100 ];do
i=1
echo "Look at me count!$"
sleep 1
let "i=$i+1"
done

This does nothing but create random output, for testing. It counts from 1 to 99 on the screen. To run my test, I do the following:
Code:
(noise) &>tmp.txt & spin $! tmp.txt

It works relatively well, but it is messy. I don't like creating a temp file, and I don't like the messy syntax for calling my program. I decided that I would rather move everything into the spin program, to make using it less messy:
Code:
#Spin Psuedo code
#$1 = command I am about to run
(exec $1) &>tmp.txt & spinX $! tmp.txt

By executing the process inside of the spin code, I can get rid of the tmp file later on without changing a lot of scripts (Or move it, or whatever). I can also call it by passing the command to the script, which I find more elegant.

So here is what I would like to know:
1) If possible, I would love to get rid of the tmp file all together, and store the most recent line of output from script 1 into a variable that script 2 can print out instead... is it possible?
2) How can I run a random command that is passed as an argument? Basic ones work fine, but anything with a pipe fails me.

Example of a script:
Code:
#!/bin/bash
#myEcho.sh
echo;echo "Recieved command: ";echo $1;echo;
echo "Attempting to run command: ";echo
exec $1

Example code for passing commands to script:
> myEcho.sh "ls -al" #works
> myEcho.sh 'ls -al' #works
> myEcho.sh "ls -al|grep *.sh" #fail
# Output:
#ls: invalid option -- |
#Try 'ls --help' for more information.
> myEcho.sh "ls -al|grep "*.sh"" #fail
# Output:
#ls: invalid option -- |
#Try ls --help' for more information.
> myEcho.sh 'ls -al|grep *.sh' #fail
# Output:
#ls: invalid option -- |
#Try 'ls --help' for more information.

View 8 Replies View Related

General :: Minimalist Server - LFS Too Complicated And Time Consuming For End Result

Oct 7, 2010

I am wanting to create the smallest server I can possible. I have a small server I use as a print server and for file sharing. The hard drive is about 80GB. Since I only run cups and samba, I see no reason to take up an addition few GBs with major distros just to run the OS. I know it is possible to get a small distro around 50MB or so. I would even be happy with an OS running around 200MB. what would be the best way to go about doing this? LFS is just too complicated and time consuming for the end result. Would something like Gentoo be better? Anything else that I may not know about?

View 11 Replies View Related

Fedora :: F12 K3b Error - Can't Burn Any Kind Of Disc Using Internal Sata Burner (sr0)

Mar 3, 2010

It seems I can't burn any kind of disc (cd/dvd, audio/video/data) usgin my internal sata burner (sr0). I treied googling around and reinstalling everything from dvd+rw-tools up but the error is still there. the burner works fine with windows on the very same pc (dual boot). I tried different media and different speeds. when using an usb burner everything's fine...

[Code]....

View 5 Replies View Related

Fedora :: Download Multimedia Codecs Which Enables To Play All Kind Of Audio And Video Files?

Dec 5, 2009

How can I download multimedia codecs which enables me to play all kind of audio and video files. I am using 64 bit F12.

View 3 Replies View Related

Ubuntu :: Use Ssh To Execute Such Kind Of Script?

Mar 10, 2010

I have such kind of problem recently. I need to run a command in the remote machine. The script's first line contains "source profile.xxx"

#!/bin/sh
. ${CONF_XXX}/profile.perf

Therefore, when I run it this way: ssh root@pprh4 /scratch/pa/pa701/path/1.2/bin/plcclient.sh -s it says "profile.xxx No such file or directory" And another one is how can I use a specific file for storing my password so that I don't have to type it?

View 2 Replies View Related

Programming :: What Kind Of Code Has Shapes In It?

Sep 10, 2010

When I open program files in windows some of them are almost nothing but boxes and triangles. I was always curious what the hell it was.

View 2 Replies View Related

General :: What Kind Of Chip To Use For Underwater Robotics

Jul 5, 2010

I have no experience with embedded systems hardware and am looking to build a micro-budget underwater robot for exploring the bottom of a lake on the family homestead. I don't have much money to spend on this, but I want to run Debian Linux (I have lots of Linux Admin experience and am right at home with a terminal) or something like that on a small chip which needs to be able to:

Connect to the control computer via ethernet. Get digital or analog data from a GPS module, pressure sensor, etc. Control a few thrusters. Do various other hardware IO functions. Possibly control a robotic arm (this is a long shot, I know). And costs less than about 100 dollars. I have no experience with embedded systems hardware so I really don't know what to buy or where to start, aside from the fact that I heard that this would be a good place for something ARM-related. I am a software developer with time to burn as far as writing the programs to support this goes.

View 3 Replies View Related

Ubuntu :: Kind Of Hardware For Better Integration / Functionality

Nov 2, 2010

Ubuntu works pretty well on most of the desktop computer (drivers support), the basic functionality like, keyboard, sound card, network card generally works well. But when it comes to laptop computer, really need luck. Some laptop's keyboard works weird, some cannot play music. I am recently thinking of buying a new laptop. Is there any website shows you which brand of laptop recommends which version of linux? or ubuntu works better on which brand of laptop?

View 3 Replies View Related

Debian :: Disable Any Kind Of Automounting In Gnome

May 4, 2011

I have squeeze with gnome (gdm3) desktop.How to disable any kind of device automounting in gnome?

View 6 Replies View Related

Programming :: Some Kind Of Certification Or Certificate For Python?

May 12, 2010

Is there some kind of certification or certificate for Python?

View 2 Replies View Related

CentOS 5 :: Can't Seem To Locate Any Kind Of Admin Guide

Aug 20, 2009

I am trying to setup and Oracle cluster with RHCS on CentOS 5.3. I am trying to find any documentation for RHCS. I can't seem to locate any kind of admin guide etc for it. I'm used to ServiceGuard for clustering and can navigate through Luci fairly well for the basic setups of the machine, but would like more info on how RHCS works and its nuances. Does anyone know any good online resources for RHCS?

View 1 Replies View Related

OpenSUSE :: Gnome - Installing Kind Of Desktop Menu?

Oct 29, 2010

It is possible to install this kind of menu on suse? I watched several movies on yt and it seems to be nice usability improvement comparing to standard OS menu - clean,simple, accessible.

View 2 Replies View Related

Ubuntu Multimedia :: Cannot Get Sounds Of Any Kind To Play On Machine

Aug 27, 2010

I cannot get sounds of any kind to play on my machine. I tried the Comprehensive Sound Guide, but did not get very far. (I'm not very proficient with these things.) I did lspci -v and got:

Code: Audio device: nVidia Corporation MCP79 High Definition Audio (rev b1)
Subsystem: Micro-Star International Co., Ltd. Device 4570
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
Memory at fae78000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

but I cannot find my sound card on the ASLA site. I tried to follow the Sound Guide instructions after that, but I got lost.

View 9 Replies View Related

Apple :: What Kind Of Video Card(s) Should Work With Ubuntu?

Mar 10, 2011

What kind of video card(s) should work with Ubuntu?I have a Power Mac G4 (AGP Graphics) with it's original card (ATY,Rage128Pro), which apparently doesn't work well with Ubuntu. I'm considering upgrading the card but don't want to spend a fortune on it.I would also like to know what the minimum HD or partition size for a Maverick installation and running is. Is 10 GB enough?

View 6 Replies View Related

Debian :: Disable Any Kind Of Stanby-mode Under Gnome?

Apr 25, 2011

I have squeeze with Gnome installed. My problem is the monitor goes into "black" and I'd like to disable any kind of of stanby-mode. If I search for screensaver using Synaptic, I have these packages installed:

xdg-utils
gnome-settings-daemon

but in gnome menu cannot find any screensaver options. Power Manager I've disabled already in the "Startup Programs". Howto disable all screensaver and power-save options from the command line?

View 7 Replies View Related

Ubuntu Installation :: Can't Get Internet Connection Of Any Kind / Wired Or Wireless

Oct 11, 2010

I've just updated my Dell Inspiron Mini to Maverick Meerkat (10.10), and I've very quickly run into quite a few problems. First, it took an awful long time to install all of the updates. Is that normal? Perhaps it's just because I'm using a puny netbook?

When the updates were finished and I rebooted, I logged in without any problems, but then got a gray screen. I've seen that screen before, when Ubuntu loads (especially with Lucid), but it doesn't go away. I rebooted using Desktop Edition instead of Netbook Edition, and there was an improvement, but the top toolbar is blank.Additionally, and most importantly, I can't get an Internet connection of any kind, wired or wireless.

View 9 Replies View Related

Software :: XSnow And KDE4 - Desktop Icons Kind Of Distorted

Dec 2, 2010

Just installed xsnow on my sisters Ubuntu pc and it runs ok, however it seems not to work properly with the desktop icons. When a snowflake falls over the icon it kind of cuts a jagged line through it. The icon is then restored when you hover over it.

View 3 Replies View Related

Programming :: Java Package To Use For Playing Music With Different Kind Of Instruments?

Jul 23, 2009

Does anybody know any Java package that can be used for playing music with different kind of instruments. Is any package which implements the java.sound api http://java.sun.com/products/java-me.../doc-midi.html

View 1 Replies View Related

Debian Multimedia :: Iceweasel Browser Not Playing Videos Of Any Kind At Full Volume

Aug 2, 2015

I am running debian linux wheezy, and recently, all of a sudden, all videos in my iceweasel browser have been refusing to play videos of any kind at full volume. I am, however, able to download the video and play it at full volume on vlc player or sytem video player.Why iceweasel is acting this way?

View 0 Replies View Related

Ubuntu Installation :: System Automatically Tried To Restart But On The Restart Got The 'terminal' View

Apr 30, 2011

I have just finished the upgrade of the latest version and I'm at the point of my system restating.

My system automatically tried to restart but on the restart I got the 'terminal' view. It stopped when asking for my username (it never normally asks for this before the grub menu) and then password. I didn't get any further than that.

I now have on my screen (still in the terminal view before the grub menu)

"name@name-desktop:...$ "

I'm on my phone now so I don't actually have the symbol for before the dollar sign but your know what it is. The raised S on a 90 degree angle.

View 6 Replies View Related

Ubuntu Multimedia :: Use Older Toshiba Satellite 1800 As A Kind Of Internet Radio Kiosk?

Feb 6, 2011

I've been trying to get this sorted for days. I'm trying to use this older Toshiba Satellite 1800 as a kind of Internet Radio kiosk. Sound was working in Xubuntu but everything was too slow so I switched to fresh minimal install from the mini cd and used the guide from psychocats to install IceWM. No I have _no_ sound. (It works perfectly off of Knoppix 6.0.1 live cd.)

[Code]...

View 1 Replies View Related

Ubuntu :: How To Restart Network Adapter (not Service) Without Restart?

Mar 13, 2010

I have a suspend problem in my laptop. Sometimes, when resuming from suspend, the network adapter is down (that is, the network does not work and the light of the network adapter is off). Restarting the network service doesn't work, because I think that the system forgot about the hardware, and probably the driver should be reloaded.Does anyone knows how to do that?(ps. /etc/init.d/networking restart does not work, because the hardware driver is not being recognized anymore).

View 5 Replies View Related

General :: Restart Dhcp From /etc/init.d/dhcpd Restart

Feb 27, 2010

i have installed dhcp,there i declared the subnet and network,i used command include "/etc/dhcpd.conf.jutu1"; to start and other files, but it show me this error when i want to restart the DHCP, if you need more information contact me, i have configured this file too jutu1, but it don't let me to restart dhcp from /etc/init.d/dhcpd restart, this show me this message

[Code]..

View 3 Replies View Related

Debian Multimedia :: GDM Goes To Tty On Restart / Doesn't Restart

Apr 5, 2010

Whenever I choose "Restart" from the GDM screen, GDM appears to shutdown, and the first TTY is displayed with a login prompt at the bottom (assuming I haven't used that TTY). I am by no estimation a patient individual, but I waited a solid minute or two for something to happen, but nothing ever did. I end up logging in as root on that TTY and running "shutdown -r now" to get the job done. This is a shared computer, and ideally any user should be able to perform shutdown options graphically from GDM.The only mentioned workaround doesn't apply to me as I am using the nvidia driver, not intel.

View 1 Replies View Related

Ubuntu Installation :: Get "upgraded" Right Into Another Distribution Kind Of Idiocy Continues

Mar 7, 2010

This new feature of either making me wait a full minute or yet a confirmation of what I have already prompted the machine to do, ie. reboot or shut down, is a brainless waste of code. If it were a little easier to "accidentally" reboot it would be a different story. But to manually open the shutdown menu and click "shutdown" or "reboot" and then have the machine make me wait or manually instruct it to proceed with the command I have already issued is just, ... well, it's just plain dumb.

It's probably derived from the same logic which "upgraded" the package manager to only allow one package selection at a time. Yet another brain fart. I'm going to get "upgraded" right into another linux distribution if this kind of idiocy continues!

View 1 Replies View Related

Fedora :: How To Restart Gdm In 12

Dec 4, 2009

I installed GNOME shell and now I can't login after restarting the computer. It brings up the login screen and I can enter my password, but it just goes back to the login screen. I would like to stop GDM and run X -config to see if that straightens out the problem

View 2 Replies View Related

General :: Difference Between Restarting/stopping Apache Using 'service Httpd Restart/stop' And Apachectl Restart/stop

Oct 11, 2010

whats the difference between restarting/stopping apache using 'service httpd restart/stop' and apachectl restart/stop. I know that using 'service httpd restart' is actually a script in /etc/init.d/httpd but what about apachectl?

View 1 Replies View Related

Slackware :: Any Kind Of Package Manager / Slap-get / Sbopkg For Slackware ARM?

Feb 13, 2011

I am very happy to announce that today I succeeded to install full Slackware ARM on the pandaboard: URL...I did the following:

* sd with 2 partitions, one (vfat) for bootloaders (MLO, u-boot.bin) and uImage and the other one (ext2) for minirootfs
* copy xloader (MLO), uboot and uImage from Angstrom distro on the first partition
* copy Slackware ARM minirootfs on the second partition with Angstrom modules in the usual path (/lib/modules/...)
* boot in ARMedslack
* install all the others packages via NFS

I had to make some changes to configuration files as indicated here:URL...The next step is to build a kernel and modules for omap4 by myself and use them instead of the Angstrom ones.One question: is there any kind of package manager, such as slap-get, sbopkg, etc. for Slackware ARM? If not, can I use the SlackBuilds from slackbuilds.org? How to modify them?

View 6 Replies View Related

OpenSUSE :: Copy - Paste - KMail - Not Only The Marked Text Will Be Pasted But A Kind Of HTML Code Including The Text

Jan 10, 2011

since some days I have a strange problem with KMail (1.13.5) in KDE4.5.5. When I try to copy some text from an email and past it to any other program (e.g. Openoffice), not only the marked text will be pasted, but a kind of HTML code including the text.

This bug is not OpenSuse specific. I found the same bug in a Fedora mailing list (of course, whithout an answer): Strange Copy/Paste behavior in KMail 1.13.5/Kontact 4.4.8

View 6 Replies View Related







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