LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-09-2009, 04:55 AM   #1
dmitcalf
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
Acer One Boot problem. How to investigate?


Just toasted my Acer One which I think happened after a power fail. The machine boots without any error messages and show the desktop ok but:

- Connection Manager does not find any wireless networks.
- Terminal window opens but hangs without showing a command prompt.
- Thunar show the file system ok but the shortcuts in the left panel have vanished (Documents, Downloads etc).

I think that one or more processes are failing to start. Hal does not seem to be running and there are no gtty processes. Before rebuilding Linux I would like to do some investigation. How can I find out which processes have failed to start?. Is there any way of switching on logging (nothing in /var/boot.log). It seems rather fragile that a power fail can toast your OS?
Any help would be much appreciated.
 
Old 06-14-2009, 07:58 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,335
Blog Entries: 55

Rep: Reputation: 3535Reputation: 3535Reputation: 3535Reputation: 3535Reputation: 3535Reputation: 3535Reputation: 3535Reputation: 3535Reputation: 3535Reputation: 3535Reputation: 3535
For the kernel and the majority of system services syslog is the central logging facilitator (see /etc/syslog.conf for log destinations), some services may be configured to use their own logfiles, X11/Xorg may log to /var/log/X.*.$displaynumber.log depending on the server "-audit" setting and user applications may log to file or not or just dump info on stdout/stderr (which may or may not be caught by a say ~/.xsession-errors.* log). System logging usually ends up in /var/log. But in devices where logging was considered superfluous and any disk I/O has a severe impact wrt draining available power, logging may be reduced strongly by 0) logging to temporary storage like say /dev/shm or 1) not logging at all.

So you will need to open up a terminal window (maybe first read Getting Root Terminal with Acer One Netbook? and also note Farslayers sig containing more Acer One information) and su to root. User preferences can be considered expendable as they can be reconfigured easily so the first thing would be to look at /etc/syslog.conf. If things are commented out then it would be easy to enable, restart syslog and get logging. Since you experienced a power failure before it should be most practical to have the device on net power and not battery. In some cases restarting services may yield information, else a reboot could show more. Unfortunately if logging wasn't enabled before or logfiles weren't saved then there is no way to retrieve information from the time of the incident.

If su'ing to root doesn't work then rebooting the machine into runlevel 1 (hoping that gets you root access) or booting a Live CD or from an USB stick (though I doubt the device has a CDROM drive anyway or the BIOS would allow to boot from an external CDROM drive) might work. If that doesn't work either then you may be tempted to install a full distribution on it instead of using the system rescue CD.
 
Old 06-15-2009, 09:33 AM   #3
dmitcalf
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the info. I got it going eventually. I could not open a terminal as you suggested despite trying several different methods. The Advanced Menu is enabled but the Terminal app just hangs.

I made a Fedora 11 Live image on a USB stick. There is a 'Liveusb Creator' utility to do it which you can find here

Once up and running in Fedora I did

fsck /dev/sda1

Just to make sure the filesystem is ok. The filesystem check returned errors. Then mount the hd with

mkdir /mnt/sda1
mount /dev/sda1 /mnt/sda1

I could see the Linpus filesystem so I edited /etc/syslog.conf as you suggested to switch on the syslog.

Reboot to Linpus and everything works!

I have left syslog running as I suspect there may be some underlying problem which may even be related to the WiFi and HAL problems discussed elsewhere in this forum. Thanks again for the info.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to investigate a shutdown which is not working? ade05fr Linux - General 2 12-21-2007 04:35 AM
Need help to investigate/understand file access problem tonypm Fedora 3 08-13-2007 05:48 AM
Boot problem, ACER Aspire 3100 FC5 English_Man Linux - Laptop and Netbook 16 11-29-2006 04:30 PM
Fedora Core 4 boot problem in Acer Aspire 1691 kurre Linux - Laptop and Netbook 2 01-16-2006 09:03 AM
How to investigate a system lockup kvtournh Linux - Security 2 12-09-2005 05:48 AM


All times are GMT -5. The time now is 04:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration