Yeonki Choi
2013-May-09 12:52 UTC
I got en error during update-grup after install xen 4.3 rc
Hi all, I downloaded xen tarball source and build it yesterday for the purpose of testing.I use Ubuntu 12.04 and kernel version is 3.2.0-23-generic (x86_64)I had successively built and made to install it. $ sudo wget http://bits.xensource.com/oss-xen/release/4.3.0-rc1/xen-4.3.0-rc1.tar.gz...$ sudo ./configure$ sudo make dist $ sudo make install Files related to boot were created here: $ ls -al /boot/xen*lrwxrwxrwx 1 root root 19 May 9 21:10 /boot/xen-4.3.gz -> xen-4.3-unstable.gz-rw-r--r-- 1 root root 821375 May 9 21:10 /boot/xen-4.3-unstable.gzlrwxrwxrwx 1 root root 19 May 9 21:10 /boot/xen-4.gz -> xen-4.3-unstable.gzlrwxrwxrwx 1 root root 19 May 9 21:10 /boot/xen.gz -> xen-4.3-unstable.gz-rw-r--r-- 1 root root 14005014 May 9 21:10 /boot/xen-syms-4.3-unstable But I had failed with update-grup:$ sudo update-grubGenerating grub.cfg ...Found linux image: /boot/vmlinuz-3.2.0-23-genericFound initrd image: /boot/initrd.img-3.2.0-23-genericdpkg: warning: version 'syms-4.3-unstable' has bad syntax: version number does not start with digitdpkg: warning: version '/boot/xen.gz' has bad syntax: version number does not start with digitdpkg: warning: version 'syms-4.3-unstable' has bad syntax: version number does not start with digitFound linux image: /boot/vmlinuz-3.2.0-23-genericFound initrd image: /boot/initrd.img-3.2.0-23-genericdpkg: warning: version 'syms-4.3-unstable' has bad syntax: version number does not start with digitFound linux image: /boot/vmlinuz-3.2.0-23-genericFound initrd image: /boot/initrd.img-3.2.0-23-genericFound linux image: /boot/vmlinuz-3.2.0-23-genericFound initrd image: /boot/initrd.img-3.2.0-23-genericFound linux image: /boot/vmlinuz-3.2.0-23-genericFound initrd image: /boot/initrd.img-3.2.0-23-genericFound linux image: /boot/vmlinuz-3.2.0-23-genericFound initrd image: /boot/initrd.img-3.2.0-23-genericFound memtest86+ image: /memtest86+.bindone and It couldn't update grub file (/etc/default/grub) at all. How can I to make "update-grup" work? Regards,Yeonki. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Ian Campbell
2013-May-09 13:06 UTC
Re: [Xen-users] I got en error during update-grup after install xen 4.3 rc
On Thu, 2013-05-09 at 13:52 +0100, Yeonki Choi wrote:> How can I to make "update-grup" work?update-grub cannot cope with the naming scheme for the symlinks which Xen installs. Debian/Ubuntu packages DTRT here but for source installs you should be able to nuke the problematic symlinks, as long as the real file still exists it should be fine. Ian.
Ian Campbell
2013-May-09 13:06 UTC
Re: I got en error during update-grup after install xen 4.3 rc
On Thu, 2013-05-09 at 13:52 +0100, Yeonki Choi wrote:> How can I to make "update-grup" work?update-grub cannot cope with the naming scheme for the symlinks which Xen installs. Debian/Ubuntu packages DTRT here but for source installs you should be able to nuke the problematic symlinks, as long as the real file still exists it should be fine. Ian.
Yeonki Choi
2013-May-10 03:52 UTC
Re: I got en error during update-grup after install xen 4.3 rc
Hi, Ian.Thanks for the reply. Did you mean I had to delete that symlink? After I removed 'boot/xen.gz', one of messages was appreciated: $ sudo rm /boot/xen.gz $ sudo update-grub Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.2.0-23-generic Found initrd image: /boot/initrd.img-3.2.0-23-generic dpkg: warning: version 'syms-4.3-unstable' has bad syntax: version number does not start with digit Found linux image: /boot/vmlinuz-3.2.0-23-generic Found initrd image: /boot/initrd.img-3.2.0-23-generic Found linux image: /boot/vmlinuz-3.2.0-23-generic Found initrd image: /boot/initrd.img-3.2.0-23-generic Found linux image: /boot/vmlinuz-3.2.0-23-generic Found initrd image: /boot/initrd.img-3.2.0-23-generic Found linux image: /boot/vmlinuz-3.2.0-23-generic Found initrd image: /boot/initrd.img-3.2.0-23-generic Found memtest86+ image: /memtest86+.bin done However, it still indicate warning about 'syms-4.3-unstable'When looking at files at /boot/ diectory, there is no such file. Here is my files at /boot/.$ ls -al /boottotal 37968drwxr-xr-x 4 root root 1024 May 10 12:47 ./drwxr-xr-x 27 root root 4096 May 8 20:27 ../-rw-r--r-- 1 root root 791023 Apr 11 2012 abi-3.2.0-23-generic-rw-r--r-- 1 root root 140279 Apr 11 2012 config-3.2.0-23-genericdrwxr-xr-x 3 root root 5120 May 10 11:03 grub/-rw-r--r-- 1 root root 14728252 Mar 14 15:35 initrd.img-3.2.0-23-genericdrwxr-xr-x 2 root root 12288 Mar 14 15:18 lost+found/-rw-r--r-- 1 root root 176764 Nov 27 2011 memtest86+.bin-rw-r--r-- 1 root root 178944 Nov 27 2011 memtest86+_multiboot.bin-rw------- 1 root root 2884358 Apr 11 2012 System.map-3.2.0-23-generic-rw------- 1 root root 4965840 Apr 11 2012 vmlinuz-3.2.0-23-genericlrwxrwxrwx 1 root root 19 May 9 21:10 xen-4.3.gz -> xen-4.3-unstable.gz-rw-r--r-- 1 root root 821375 May 9 21:10 xen-4.3-unstable.gzlrwxrwxrwx 1 root root 19 May 9 21:10 xen-4.gz -> xen-4.3-unstable.gz-rw-r--r-- 1 root root 14005014 May 9 21:10 xen-syms-4.3-unstable How can I find this file and fix the problem? Regards, Yeonki> From: Ian.Campbell@citrix.com > To: yeonki_choi@hotmail.com > Date: Thu, 9 May 2013 14:06:12 +0100 > CC: xen-users@lists.xen.org; xen-devel@lists.xen.org > Subject: Re: [Xen-users] I got en error during update-grup after install xen 4.3 rc > > On Thu, 2013-05-09 at 13:52 +0100, Yeonki Choi wrote: > > > > How can I to make "update-grup" work? > > update-grub cannot cope with the naming scheme for the symlinks which > Xen installs. Debian/Ubuntu packages DTRT here but for source installs > you should be able to nuke the problematic symlinks, as long as the real > file still exists it should be fine. > > Ian. > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Ian Campbell
2013-May-10 07:23 UTC
Re: I got en error during update-grup after install xen 4.3 rc
On Fri, 2013-05-10 at 04:52 +0100, Yeonki Choi wrote:> However, it still indicate warning about ''syms-4.3-unstable'' > When looking at files at /boot/ diectory, there is no such file.That is the version, not the filename:> -rw-r--r-- 1 root root 14005014 May 9 21:10 xen-syms-4.3-unstableThis is the file. You can safely delete it. You may want to file a bug with grub upstream regarding its handling of the default Xen versioning. Ian.
Yeonki Choi
2013-May-10 09:42 UTC
Re: I got en error during update-grup after install xen 4.3 rc
Hi, Ian.Thanks you. It worked. $ cd /boot$ sudo rm xen-syms-4.3-unstable $ sudo update-grub Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.2.0-23-generic Found initrd image: /boot/initrd.img-3.2.0-23-generic Found linux image: /boot/vmlinuz-3.2.0-23-generic Found initrd image: /boot/initrd.img-3.2.0-23-generic Found linux image: /boot/vmlinuz-3.2.0-23-generic Found initrd image: /boot/initrd.img-3.2.0-23-generic Found linux image: /boot/vmlinuz-3.2.0-23-generic Found initrd image: /boot/initrd.img-3.2.0-23-generic Found memtest86+ image: /memtest86+.bin done $ cat /boot/grub/grub.cfg | grep Xensubmenu "Xen 4" {menuentry 'Ubuntu GNU/Linux, with Xen 4 and Linux 3.2.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen { echo 'Loading Xen 4 ...'menuentry 'Ubuntu GNU/Linux, with Xen 4 and Linux 3.2.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --class xen { echo 'Loading Xen 4 ...'submenu "Xen 4.3" {menuentry 'Ubuntu GNU/Linux, with Xen 4.3 and Linux 3.2.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen { echo 'Loading Xen 4.3 ...'menuentry 'Ubuntu GNU/Linux, with Xen 4.3 and Linux 3.2.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --class xen { echo 'Loading Xen 4.3 ...'submenu "Xen 4.3-unstable" {menuentry 'Ubuntu GNU/Linux, with Xen 4.3-unstable and Linux 3.2.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen { echo 'Loading Xen 4.3-unstable ...'menuentry 'Ubuntu GNU/Linux, with Xen 4.3-unstable and Linux 3.2.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --class xen { echo 'Loading Xen 4.3-unstable ...' So, how do I file a bug report about this? Could you let me know that? Regards,Yeonki.> From: Ian.Campbell@citrix.com > To: yeonki_choi@hotmail.com > Date: Fri, 10 May 2013 08:23:57 +0100 > CC: xen-users@lists.xen.org > Subject: Re: [Xen-users] I got en error during update-grup after install xen 4.3 rc > > On Fri, 2013-05-10 at 04:52 +0100, Yeonki Choi wrote: > > However, it still indicate warning about 'syms-4.3-unstable' > > When looking at files at /boot/ diectory, there is no such file. > > That is the version, not the filename: > > > -rw-r--r-- 1 root root 14005014 May 9 21:10 xen-syms-4.3-unstable > > This is the file. You can safely delete it. > > You may want to file a bug with grub upstream regarding its handling of > the default Xen versioning. > > Ian. > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Ian Campbell
2013-May-10 09:51 UTC
Re: I got en error during update-grup after install xen 4.3 rc
On Fri, 2013-05-10 at 10:42 +0100, Yeonki Choi wrote:> So, how do I file a bug report about this? > Could you let me know that?You''ll have to find the upstream website, I''m sure it will explain. Ian.