Upgrade from Ubuntu 10.04lts to 12.04lts


We are running our Cloudmin Master on Ubuntu 10.04lts 64-bit and are wondering if there is something we need to do before upgrading to Ubuntu 12.04lts (besides a backup of everything =)), is this something that will work straight off or do we need to make some adjustments after upgrading?

Best regards, Jakob



Howdy -- it shouldn't be a problem to upgrade to a new Ubuntu version.

While we agree, you should definitely back everything up (as a lot of stuff changes during a distribution upgrade) -- it's possible to upgrade from Ubuntu 10.04 to 12.04.

There isn't anything in particular that you should have to adjust beforehand or afterwards.

If you run into any problems, let us know and we can assist you in troubleshooting.


After we upgraded our Cloudmin Master to 12.04lts we started receiving some strange errors,

After the system has booted up we receive the following error, and it keeps repeating several times -> Buffer I/O error on device loop0 logical block

It is possible to access the server from webmin login bot not on the psyicall station, all VMs start and are working normally.

All available updates are installed for both Ubuntu and Cloundmin/Webmin/Usermin etc, I'm also including the systemlogs, let me know if you need some other logs or information.


Can you clarify whether you're having problems with your setup, outside of the log entries you're seeing?

That is, if not looking at the logs, are you seeing any additional symptoms?

Not that we can't still look into the log messages, we just wanted to understand the problems you're having exactly.

Sorry, I'll try to explain.

When we boot the system we first get to a menu where we get a list with different systems, like 12.04 lts 3.2 pea (or something like that) in the end, one with recovery mode in the end, two more but without the "pea" in the end and so on. If we choose one of the two the "pea" in the end the screen goes black and nothing happens, if we choose the one without "pea" in the end it boots up but never reaches the login prompt but as I mentioned we can access it with ssh and webmin.

I don't remember exactly what it said, but i was something like pea at the end of the two choices and we don't want to reboot the server right now so we can't check exactly what i said.

I hope this clarifies it a bit for you? =)


Thanks for the additional info.

You're definitely seeing some unusual issues there, I hadn't run into any of those when performing upgrades to Ubuntu 12.04. I don't think it's anything you did wrong, but there could be something different about your hardware or software setup that's triggering those.

One error I see is this one:

program smartctl is using a deprecated SCSI ioctl

Digging around a bit, it doesn't sound like that's anything but a noisy warning, and that's not a cause for concern. Apparently newer smartctl versions correct that.

You may have done this already, but I'd suggest verifying that you're using the latest packages for your distro. You can do that with this command:

apt-get update && apt-get upgrade

Another error I see a lot of in your logs is this one:

xhci_hcd 0000:06:00.0: WARN: Stalled endpoint

Doing some Googling on that, that sounds like a USB device of some kind. Do you have an external storage device or USB mouse plugged into this system? You could be seeing problems with either the device itself, or the kernel support for that device.

The kernels you're referring to... I suspect what you were seeing was the PAE mode kernel, which allows a 32 bit system to make use of RAM above the 3GB mark (usually, if you have a 32 bit system, you can make use of at most 3GB of RAM).

What do these two commands show:

ldd /bin/ls
uname -a
free -m

That will show what kernel you have, whether the files on your system are 32 or 64 bit, and how much RAM you have.

Lastly, I see some errors related to your RAID system. What is the output of this command:

cat /proc/mdstat

datortjanst@bfg:~$ sudo apt-get update
[sudo] password for datortjanst:
Ign http://se.archive.ubuntu.com precise InRelease
Ign http://se.archive.ubuntu.com precise-updates InRelease                    
Hit http://se.archive.ubuntu.com precise Release.gpg                          
Ign http://archive.canonical.com precise InRelease                            
Hit http://se.archive.ubuntu.com precise-updates Release.gpg                  
Ign http://security.ubuntu.com precise-security InRelease                     
Hit http://se.archive.ubuntu.com precise Release                              
Hit http://archive.canonical.com precise Release.gpg                          
Hit http://se.archive.ubuntu.com precise-updates Release                      
Hit http://security.ubuntu.com precise-security Release.gpg                   
Hit http://se.archive.ubuntu.com precise/main Sources                         
Hit http://se.archive.ubuntu.com precise/restricted Sources                   
Hit http://archive.canonical.com precise Release                              
Hit http://se.archive.ubuntu.com precise/universe Sources                     
Hit http://se.archive.ubuntu.com precise/multiverse Sources                   
Hit http://se.archive.ubuntu.com precise/main amd64 Packages                  
Hit http://se.archive.ubuntu.com precise/restricted amd64 Packages            
Hit http://se.archive.ubuntu.com precise/universe amd64 Packages              
Hit http://se.archive.ubuntu.com precise/multiverse amd64 Packages            
Hit http://se.archive.ubuntu.com precise/main i386 Packages                   
Hit http://se.archive.ubuntu.com precise/restricted i386 Packages             
Hit http://se.archive.ubuntu.com precise/universe i386 Packages               
Hit http://security.ubuntu.com precise-security Release                       
Hit http://se.archive.ubuntu.com precise/multiverse i386 Packages             
Hit http://se.archive.ubuntu.com precise/main TranslationIndex                
Hit http://se.archive.ubuntu.com precise/multiverse TranslationIndex          
Hit http://se.archive.ubuntu.com precise/restricted TranslationIndex          
Hit http://se.archive.ubuntu.com precise/universe TranslationIndex            
Hit http://archive.canonical.com precise/partner amd64 Packages               
Hit http://se.archive.ubuntu.com precise-updates/main Sources                 
Hit http://se.archive.ubuntu.com precise-updates/restricted Sources           
Hit http://se.archive.ubuntu.com precise-updates/universe Sources             
Hit http://se.archive.ubuntu.com precise-updates/multiverse Sources           
Hit http://se.archive.ubuntu.com precise-updates/main amd64 Packages          
Hit http://se.archive.ubuntu.com precise-updates/restricted amd64 Packages    
Hit http://se.archive.ubuntu.com precise-updates/universe amd64 Packages      
Hit http://se.archive.ubuntu.com precise-updates/multiverse amd64 Packages    
Hit http://se.archive.ubuntu.com precise-updates/main i386 Packages           
Hit http://se.archive.ubuntu.com precise-updates/restricted i386 Packages     
Hit http://se.archive.ubuntu.com precise-updates/universe i386 Packages       
Hit http://archive.canonical.com precise/partner i386 Packages                
Hit http://security.ubuntu.com precise-security/main Sources                  
Ign http://archive.canonical.com precise/partner TranslationIndex             
Hit http://se.archive.ubuntu.com precise-updates/multiverse i386 Packages     
Hit http://se.archive.ubuntu.com precise-updates/main TranslationIndex        
Hit http://se.archive.ubuntu.com precise-updates/multiverse TranslationIndex  
Hit http://se.archive.ubuntu.com precise-updates/restricted TranslationIndex  
Hit http://se.archive.ubuntu.com precise-updates/universe TranslationIndex    
Hit http://se.archive.ubuntu.com precise/main Translation-en                  
Hit http://se.archive.ubuntu.com precise/multiverse Translation-en            
Hit http://se.archive.ubuntu.com precise/restricted Translation-en            
Hit http://se.archive.ubuntu.com precise/universe Translation-en              
Hit http://se.archive.ubuntu.com precise-updates/main Translation-en          
Hit http://se.archive.ubuntu.com precise-updates/multiverse Translation-en    
Hit http://security.ubuntu.com precise-security/restricted Sources            
Hit http://security.ubuntu.com precise-security/universe Sources              
Hit http://security.ubuntu.com precise-security/multiverse Sources            
Hit http://security.ubuntu.com precise-security/main amd64 Packages           
Hit http://security.ubuntu.com precise-security/restricted amd64 Packages     
Hit http://security.ubuntu.com precise-security/universe amd64 Packages       
Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages     
Hit http://security.ubuntu.com precise-security/main i386 Packages            
Hit http://security.ubuntu.com precise-security/restricted i386 Packages      
Hit http://security.ubuntu.com precise-security/universe i386 Packages        
Hit http://se.archive.ubuntu.com precise-updates/restricted Translation-en    
Hit http://se.archive.ubuntu.com precise-updates/universe Translation-en      
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages      
Hit http://security.ubuntu.com precise-security/main TranslationIndex         
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex   
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex   
Hit http://security.ubuntu.com precise-security/universe TranslationIndex     
Hit http://security.ubuntu.com precise-security/main Translation-en           
Hit http://security.ubuntu.com precise-security/multiverse Translation-en     
Hit http://security.ubuntu.com precise-security/restricted Translation-en     
Ign http://download.webmin.com sarge InRelease                                
Hit http://security.ubuntu.com precise-security/universe Translation-en       
Ign http://archive.canonical.com precise/partner Translation-en_US            
Ign http://archive.canonical.com precise/partner Translation-en               
Ign http://cloudmin.virtualmin.com binary/ InRelease                         
Hit http://download.webmin.com sarge Release.gpg                             
Hit http://cloudmin.virtualmin.com binary/ Release.gpg 
Hit http://download.webmin.com sarge Release           
Hit http://cloudmin.virtualmin.com binary/ Release     
Hit http://download.webmin.com sarge/contrib amd64 Packages                 
Hit http://cloudmin.virtualmin.com binary/ Packages    
Hit http://download.webmin.com sarge/contrib i386 Packages
Ign http://download.webmin.com sarge/contrib TranslationIndex                
Ign http://cloudmin.virtualmin.com binary/ Translation-en_US                  
Ign http://cloudmin.virtualmin.com binary/ Translation-en                     
Ign http://download.webmin.com sarge/contrib Translation-en_US
Ign http://download.webmin.com sarge/contrib Translation-en
Reading package lists... Done
datortjanst@bfg:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
datortjanst@bfg:~$ sudo ldd /bin/ls
linux-vdso.so.1 =>  (0x00007fff0b7aa000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f71bed89000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f71beb81000)
libacl.so.1 => /lib/x86_64-linux-gnu/libacl.so.1 (0x00007f71be978000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f71be5b9000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f71be3b5000)
/lib64/ld-linux-x86-64.so.2 (0x00007f71befb8000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f71be197000)
libattr.so.1 => /lib/x86_64-linux-gnu/libattr.so.1 (0x00007f71bdf92000)
datortjanst@bfg:~$ sudo uname -a
Linux bfg 3.2.0-33-generic #52-Ubuntu SMP Thu Oct 18 16:29:15 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
datortjanst@bfg:~$ sudo free -m
             total       used       free     shared    buffers     cached
Mem:         16027       7974       8052          0         29        284
-/+ buffers/cache:       7660       8366
Swap:        15257        407      14850
datortjanst@bfg:~$ sudo cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md13 : active raid1 sdz1[1] sdy1[0]
      2930133824 blocks super 1.2 [2/2] [UU]
md12 : active raid1 sdx1[1] sdaa1[0]
      2930133824 blocks super 1.2 [2/2] [UU]
md7 : active raid1 sdm1[1] sda1[0]
      1953513408 blocks [2/2] [UU]
md9 : active raid1 sdl1[1] sdk1[0]
      1953514432 blocks [2/2] [UU]
md0 : active raid1 sdi1[0] sdj1[1]
      1953514432 blocks [2/2] [UU]
md10 : active raid1 sdf1[1] sde1[0]
      1953513408 blocks [2/2] [UU]
md11 : active raid1 sdh1[1] sdg1[0]
      1953513408 blocks [2/2] [UU]
md8 : active raid1 sdn1[0] sdo1[1]
      1953514432 blocks [2/2] [UU]
md5 : active raid1 sdt1[0] sdu1[1]
      1953514432 blocks [2/2] [UU]
md2 : active raid1 sdr1[0] sds1[1]
      1953514432 blocks [2/2] [UU]
md6 : active raid1 sdv1[0] sdw1[1]
      1953514432 blocks [2/2] [UU]
md1 : active raid1 sdp1[0] sdq1[1]
      1953514432 blocks [2/2] [UU]
md4 : active raid1 sdc2[2](S) sdb2[1] sdd2[0]
      472760256 blocks [2/2] [UU]
md3 : active raid1 sdc1[2](S) sdb1[1] sdd1[0]
      15624128 blocks [2/2] [UU]
unused devices: <none>

Your RAID looks okay, and you definitely have a 64 bit system.

I would recommend continuing to boot a normal 64 bit kernel, and not a PAE mode kernel.

But none of that explains why you aren't seeing a login prompt at the console.

I don't see anything unusual in your dmesg log, which sometimes can explain a bootup problem.

Could you attach the file "/var/log/boot.log"?

That contains all the bootup messages, even those by daemons, it's possible something in there will make it more clear what problem you're running into.

How can we make that as the default boot instead of PAE mode?

The server has been running for several days now and we still can't see the console. Boot.log is attached.