Pages

Showing posts with label solved. Show all posts
Showing posts with label solved. Show all posts

Friday, April 13, 2012

[Solved] Ubuntu 12.04 blinking screen on startup

After installing Ubuntu 12.04 beta version, if you are getting a blinking screen, probably it will be the problem with hardware. it is advised to choose try ubuntu before installing it to check whether the OS is working without any problem.


try the following steps if you are facing this issue. 


nomodeset, which is needed for some graphic cards that otherwise boot in to a black screen or corrupted splash, acpi_osi= to fix lcd backlight and other problems, and noapic and nolapic to work around various ACPI BIOS issues. In this how to I will explain briefly what this is and how to do it. 


nomodeset
The newest kernels have moved the video mode setting into the kernel. So all the programming of the hardware specific clock rates and registers on the video card happen in the kernel rather than in the X driver when the X server starts.. This makes it possible to have high resolution nice looking splash (boot) screens and flicker free transitions from boot splash to login screen. Unfortunately, on some cards this doesnt work properly and you end up with a black screen. Adding the nomodeset parameter instructs the kernel to not load video drivers and use BIOS modes instead until X is loaded. 

Note that this option is sometimes needed for nVidia cards when using the default "nouveau" drivers. Installing proprietary nvidia drivers usually makes this option no longer necessary, so it may not be needed to make this option permanent, just for one boot until you installed the nvidia drivers.

acpi_osi=
This option frequently solves problems with LCD backlight, fan control problems and misreporting of thermal events. What I understand it does (but corrections are welcome), is prevent the kernel from reporting to the bios that its any windows version the bios asks for. By default, the kernel pretends to be all windows versions, that way we are certain the bios executes all the code needed to initialize the hardware. Unfortunately, some bioses contain fixes to fix problems with specific windows versions (notably vista) that arent needed or dont work for other OS's. Setting

Code:
acpi_osi=
(nothing behind the = sign) as boot option makes the kernel not respond to osi queries.

If the bios has provisions for Linux, you can also try

Code:
acpi_osi="Linux"
Or you can try 
Code:
acpi_osi="Windows 2006"
To make the kernel pretend its vista and make the bios execute routines on machines that require them.

acpi=off
This disables ACPI completely. 
Note: this may not work with all computers and will disable a lot of useful (or even needed) features. In some cases it may even disable some crucial features, like.. fans. Be careful with this option, it might cause your machine to overheat if the fans no longer turn. Think of this as a last resort. Also note some machines requireacpi=ht instead.

Noapic and nolapic
noapic and nolapic kernel options instruct the kernel to not use certain programmable interrupt controllers. To understand what that means exactly requires a deep knowledge of PC hardware, I will not go in to that here, Ill limit myself to saying on some bioses, especially for older systems, there are problems in the implementation of this and it may be necessary to disable either or both to cure a wide range of obscure problems, often but not always related to keyboard and mouse and power management (standby/resume issues).

vmalloc=xxxM 
In some cases kernel drivers can not be loaded due to a lack of virtual addressing space on 32 bit systems. Logs will show errors like. 


Code:
allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.

thanks for p4man who explained this here.

http://ubuntuforums.org/showthread.php?t=1613132 


Wednesday, January 11, 2012

[Solved] Ubuntu Hibernate not working

For some laptop models, ubuntu installations show up by not hibernate in expected way. I have dug up in google about this issue and found some solutions.

this post.was the most relevant one thanks to the author,

make a script under /etc/pm/sleep.d/. 

sudo gedit /etc/pm/sleep.d/20_custom-ehci_hcd
paste the following code into the file you have just created:

#!/bin/sh
#inspired by http://art.ubuntuforums.org/showpost.php?p=9744970&postcount=19
#...and www.ubutnusolved.blogspot.com    


VERSION=1.1
DEV_LIST=/tmp/usb-dev-list
DRIVERS_DIR=/sys/bus/pci/drivers
DRIVERS="ehci xhci" # ehci_hcd, xhci_hcd
HEX="[[:xdigit:]]"
MAX_BIND_ATTEMPTS=2
BIND_WAIT=0.1

unbindDev() {
  echo -n > $DEV_LIST 2>/dev/null
  for driver in $DRIVERS; do
    DDIR=$DRIVERS_DIR/${driver}_hcd
    for dev in `ls $DDIR 2>/dev/null | egrep "^$HEX+:$HEX+:$HEX"`; do
      echo -n "$dev" > $DDIR/unbind
      echo "$driver $dev" >> $DEV_LIST
    done
  done
}

bindDev() {
  if [ -s $DEV_LIST ]; then
    while read driver dev; do
      DDIR=$DRIVERS_DIR/${driver}_hcd
      while [ $((MAX_BIND_ATTEMPTS)) -gt 0 ]; do
          echo -n "$dev" > $DDIR/bind
          if [ ! -L "$DDIR/$dev" ]; then
            sleep $BIND_WAIT
          else
            break
          fi
          MAX_BIND_ATTEMPTS=$((MAX_BIND_ATTEMPTS-1))
      done  
    done < $DEV_LIST
  fi
  rm $DEV_LIST 2>/dev/null
}

case "$1" in
  hibernate|suspend) unbindDev;;
  resume|thaw)       bindDev;;
esac
save the file and exit back to terminal.
Give execution permission:
sudo chmod 755 /etc/pm/sleep.d/20_custom-ehci_hcd
Now your system must work well with hibernate option.


Tuesday, January 10, 2012

[Solved] ubuntu asks for keyring password whenever user log in.

Problem: Ubuntu gnome(especially ubuntu 10.04) keeps on asking me to enter keyring password for each time I log in to my system. It is irritating to enter password twice as prt of the login process. Here is the solution.

solution:
You may be asked for a password every time you log in so that you can connect to a network. You can stop this from happening like so:

Right click the Network Manager icon and go to Edit Connections.

Go to the Wireless tab, select the connection you are using and click Edit.

Check Available to all users and click Apply. Enter your password when asked.

The next time you log in, you should not need to enter your password in order to connect to your network connection.

Monday, January 2, 2012

[Solved] connecting your Samsung Galaxy Tab with ubuntu

Like all other android devices, galaxy tab also  can be connected with Ubuntu Linux. you can simply connect your galaxy tab via its data cable provided. you can connect your tab in mass storage mode as well as you can tether your galaxy tabs internet connection through USB. unlike ipad, contents can be simply copied from your computer running Ubuntu to you tablet, if you connected your tab in mass storage mode.



Another awesome feature comes with your Android tablet is, you can tether you internet connection using the internal WiFi device, that turns your tablet into a mobile AP, this link provides more info about android to Ubuntu internet sharing.

Thursday, December 29, 2011

[SOLVED] DBus error :ipad WITH UBUNTU

While plug in iPad via USB, an error window pop up with “DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply…”


you can fix this isue by geting iPad to sync with gtkpod(Rhythmbox works too) by upgrading “libimobiledevice” to the latest.



Check libimobiledevice version in System -> Administration -> Synaptic Package Manager, it’s recommended to uninstall libimobiledevice0 if installed.


Add ppa:pmcenery/ppa and install the latest libimobiledevice1 package. 

Use the following commands:

sudo add-apt-repository ppa:pmcenery/ppa
sudo apt-get update
sudo apt-get install libimobiledevice1

Now, plug-in your iTouch or iPad device and it should appear in gtkpod(Rhythmbox):

source: ubuntuforums.org

Wednesday, November 30, 2011

[Solved]Ubuntu 11.10 battery indicator missing

If you are using ubuntu 11.xx version , you might be wondered why the battery indicator icon is missing. a number of users reported this missing of battery icon and here is the solution for the problem.
Problem
The Above bug, or the absence of battery indicator on the upper panel is a commonly found issue with ubuntu 11.10 installations. cause of this issue is different machine to machine
Solutions
There are a handful of ways to solve the battery indicator problem. and my solutions are listed below

1.  Purge and re-install indicator-power
     
    sudo apt-get purge indicator-power

     sudo apt-get install indicator-power


2. Change theme to  'Radiance'.or change away from Radiance,
    to  Make sure this is not an icon issue.

3.  Remove revenants from Unity if any,




  1. (get settings, for curiosity's sake)
    gsettings get com.canonical.Unity.Panel systray-whitelist
    
    (should look something like:)
    ['JavaEmbeddedFrame', 'Wine', 'scp=-dbus-service', 'Update-notifier']
    
    (clear whitelist)
    gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"
  4. Try an alternative battery monitor package




Friday, November 18, 2011

No Sound in Ubuntu 11.10 : SOLVED

PROBLEM: Number of users are reporting that after upgrading to ubuntu 11.10 . there is no sound at all.

Solution 1: Many of them solved it by simply updating the OS once. or at most twice. try updating it for solving the issue.

Problem still persists?. here is another solution, which is related to pulse audio.

Solution 2: Deleting the /home/username/.pulse directory fixed the problem for another ones


Solution3: If you still can't hear anything from your machine try the following command,



rm -rvf ~/.pulse/



hope your sound issue is fixed

Thursday, November 17, 2011

Ubuntu 11.10 problem: Waiting for network configuration : Solved

Hi all! Here is another critical problem solved.

Problem: Many of the newly installed ubuntu machines reporting the following issue. A message " Waiting for network conffiguration"  followed by “Waiting up to 60 seconds more for network”? This then might be accompanied by a black blank screen.


Solution:
  • Press Ctrl+Alt+F1 at the blank screen to get you to a non-X terminal (tty1)

  • enter your username and password when prompted
  • Change to root with: sudo -i and enter your password when asked.
  • then type each of the lines followed by enter.
  • mkdir -p /run /run/lock
  • rm -rf /var/run /var/lock
  • ln -s /run /var
  • ln -s /run/lock /var
  • reboot your system and you should get your Ubuntu 11.10 back in action
refer these links to see the original fixes



thank you

Wednesday, November 16, 2011

UBUNTU 11.10 .deb file installation issues

Problem: Many of new users of ubuntu 11.10 is facing errors while installing downloaded .deb files. i don't know what is the exact issue with ubuntu 11.10, but generally it is behaving rough to .deb files i hope the problem will get fixed soon because already there are so many error reports raised in the ubuntu community. meanwhile we can install software's through ubuntu software center or via synaptic.

thank you

Ubuntu 11.10 wireless problem: Solved

Ubuntu 11.10 is awesome but the following issue is found in many installations

Problem: When I try to connect to the internet using wi-fi a pop-up message asks the password as usual and after I type it correctly it shows a notification box telling me that I'm disconnected. If I connect the cable directly it works perfectly


Solution: This issue is hardware dependent .most of the machines are coming with wireless device which will require installation of additional drivers, once you update the ubuntu 11.10 OS , it will start prompting you to install additional drivers for wireless device. click OK, and authenticate the request the OS will automatically find the appropriate driver. after a restart the issue will be fixed.


In many cases the problem gets fixed in the above described way, If the problem still persists
follow this link for similar solutions.