Bug#708123: [grub-pc] grub2 (2.00-14) fails to install on RAID arrays (rescue, boot is broken)
Hey, On Friday, December 06, 2013 12:28:40 PM Colin Watson wrote: Gleb, if you can still reproduce this, could you please run this command I recently reinstalled my Debian (moved i386 - amd64) and the bug is not reproduced any more. Right before that i found out that 'delay' parameter helped me so i suppose the key of problem here is a long time needed by kernel (or somewhat else?) to detect my RAID. Dunno, maybe the bug should be closed as unreproducible. -- WBR, Gleb Golubitsky AKA Sectoid Jabber ID: sect...@gnolltech.com signature.asc Description: This is a digitally signed message part.
Bug#708123: [grub-pc] grub2 (2.00-14) fails to install on RAID arrays (rescue, boot is broken)
for Debian GNU/Linux' 'gnulinux- advanced-/dev/mapper/isw_hbghdbjgf_SYSTEM5' { menuentry 'Debian GNU/Linux, with Linux 3.8-1-686-pae' --class debian -- class gnu-linux --class gnu --class os 'gnulinux-3.8-1-686-pae- advanced-/dev/mapper/isw_hbghdbjgf_SYSTEM5' { load_video insmod gzio echo'Loading Linux 3.8-1-686-pae ...' linux /vmlinuz-3.8-1-686-pae root=/dev/mapper/isw_hbghdbjgf_SYSTEM5 ro quiet echo'Loading initial ramdisk ...' initrd /initrd.img-3.8-1-686-pae } menuentry 'Debian GNU/Linux, with Linux 3.8-1-686-pae (recovery mode)' -- class debian --class gnu-linux --class gnu --class os 'gnulinux-3.8-1-686- pae-recovery-/dev/mapper/isw_hbghdbjgf_SYSTEM5' { load_video insmod gzio echo'Loading Linux 3.8-1-686-pae ...' linux /vmlinuz-3.8-1-686-pae root=/dev/mapper/isw_hbghdbjgf_SYSTEM5 ro single echo'Loading initial ramdisk ...' initrd /initrd.img-3.8-1-686-pae } menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-686-pae' --class debian --class gnu-linux --class gnu --class os 'gnulinux-3.2.0-4-686-pae- advanced-/dev/mapper/isw_hbghdbjgf_SYSTEM5' { load_video insmod gzio echo'Loading Linux 3.2.0-4-686-pae ...' linux /vmlinuz-3.2.0-4-686-pae root=/dev/mapper/isw_hbghdbjgf_SYSTEM5 ro quiet echo'Loading initial ramdisk ...' initrd /initrd.img-3.2.0-4-686-pae } menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os 'gnulinux-3.2.0-4-686-pae-recovery-/dev/mapper/isw_hbghdbjgf_SYSTEM5' { load_video insmod gzio echo'Loading Linux 3.2.0-4-686-pae ...' linux /vmlinuz-3.2.0-4-686-pae root=/dev/mapper/isw_hbghdbjgf_SYSTEM5 ro single echo'Loading initial ramdisk ...' initrd /initrd.img-3.2.0-4-686-pae } } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_memtest86+ ### menuentry Memory test (memtest86+) { linux16 /memtest86+.bin } menuentry Memory test (memtest86+, serial console 115200) { linux16 /memtest86+.bin console=ttyS0,115200n8 } menuentry Memory test (memtest86+, experimental multiboot) { multiboot /memtest86+_multiboot.bin } menuentry Memory test (memtest86+, serial console 115200, experimental multiboot) { multiboot /memtest86+_multiboot.bin console=ttyS0,115200n8 } ### END /etc/grub.d/20_memtest86+ ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/30_uefi-firmware ### ### END /etc/grub.d/30_uefi-firmware ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f /custom.cfg ]; then source /custom.cfg elif [ -z -a -f /custom.cfg ]; then source /custom.cfg; fi ### END /etc/grub.d/41_custom ### *** END /boot/grub/grub.cfg *** BEGIN /proc/mdstat cat: /proc/mdstat: No such file or directory *** END /proc/mdstat -- WBR, Gleb Golubitsky Gnolltech signature.asc Description: This is a digitally signed message part.
Bug#707653: grub2-common: After Grub 2.00-14 upgrade, system failed to boot (rescue, old grub 1.99 still in mbr)
Hi all, This (or maybe another?) bug also affects RAID-based systems. I have my system installed on RAID 1 (fakeraid). After upgrading 1.99-27.1 - 2.00-14 it was impossible to boot system. Workaround for those who met this: boot from livecd, chroot, downgrade grub to 1.99-27.1 (from Wheezy repo), manually grub-install update-grub2. Details for Debian developers maintainer (please let me know if u need any futher information or help to locate and fix this issue): Attempt to install grub 2.00-14 root@dagon:/var/lib/schroot/mount# grub-install /dev/mapper/isw_hbghdbjgf_SYSTEM Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting. --- Mounted FSes root@dagon:/var/lib/schroot/mount# mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=196894,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1247016k,mode=755) /dev/dm-3 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=2494020k) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) /dev/mapper/isw_hbghdbjgf_SYSTEM1 on /boot type ext2 (rw,relatime,errors=continue) /dev/mapper/isw_hbghdbjgf_SYSTEM6 on /home type ext4 (rw,relatime,data=ordered) /dev/mapper/isw_hbghdbjgf_SYSTEM6 on /var/lib/mysql type ext4 (rw,relatime,data=ordered) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) --- Attempt to update-grub2 root@dagon:/var/lib/schroot/mount# update-grub2 Generating grub.cfg ... /usr/sbin/grub-probe: error: unknown filesystem. Found background image: .background_cache.png Found linux image: /boot/vmlinuz-3.8-1-686-pae Found initrd image: /boot/initrd.img-3.8-1-686-pae /usr/sbin/grub-probe: error: unknown filesystem. /usr/sbin/grub-probe: error: unknown filesystem. /usr/sbin/grub-probe: error: unknown filesystem. Found linux image: /boot/vmlinuz-3.2.0-4-686-pae Found initrd image: /boot/initrd.img-3.2.0-4-686-pae /usr/sbin/grub-probe: error: unknown filesystem. /usr/sbin/grub-probe: error: unknown filesystem. /usr/sbin/grub-probe: error: unknown filesystem. Found memtest86+ image: /memtest86+.bin Found memtest86+ multiboot image: /memtest86+_multiboot.bin File descriptor 8 (pipe:[34]) leaked on lvs invocation. Parent PID 29937: /bin/sh No volume groups found grub-probe: error: unknown filesystem. rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy Found Debian GNU/Linux (jessie/sid) on /dev/mapper/isw_hbghdbjgf_SYSTEM5 done --- Grub2 versions ii grub-common 2.00-14i386 GRand Unified Bootloader (common files) ii grub-pc 2.00-14i386 GRand Unified Bootloader, version 2 (PC/BIOS version) ii grub-pc-bin 2.00-14i386 GRand Unified Bootloader, version 2 (PC/BIOS binaries) ii grub2 2.00-14i386 GRand Unified Bootloader, version 2 (dummy package) ii grub2-common 2.00-14i386 GRand Unified Bootloader (common files for version 2) -- WBR, Gleb Golubitsky Gnolltech signature.asc Description: This is a digitally signed message part.
Bug#684949: php5-memcached: Fails PHP to start (unresolved symbol memcached_server_micro_version
Package: php5-memcached Version: 2.1.0-1 Severity: grave Justification: renders package unusable Dear Maintainer, php5-memcached extension fails to load with the following message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/memcached.so' - /usr/lib/php5/20100525+lfs/memcached.so: undefined symbol: memcached_server_micro_version in Unknown on line 0 I've checked -- indeed no library exports memcached_server_micro_version symbol. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.2.0-1-686-pae (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages php5-memcached depends on: ii libapache2-mod-php5 [phpapi-20100525+lfs] 5.4.4-4 ii libc6 2.13-35 ii libmemcached10 1.0.8-1 ii php5-cli [phpapi-20100525+lfs] 5.4.4-4 ii php5-fpm [phpapi-20100525+lfs] 5.4.4-4 ii ucf3.0025+nmu3 ii zlib1g 1:1.2.7.dfsg-13 php5-memcached recommends no packages. php5-memcached suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#684949: Additional information
Here is symbol dumps of both plugin and libmemcached.so sectoid@dagon:~$ ldd /usr/lib/php5/20100525+lfs/memcached.so linux-gate.so.1 = (0xb7775000) libmemcached.so.10 = /usr/lib/i386-linux-gnu/libmemcached.so.10 (0xb76ff000) libz.so.1 = /lib/i386-linux-gnu/libz.so.1 (0xb76e6000) libc.so.6 = /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb7588000) librt.so.1 = /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xb757f000) libstdc++.so.6 = /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb7493000) libm.so.6 = /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xb746d000) libgcc_s.so.1 = /lib/i386-linux-gnu/libgcc_s.so.1 (0xb745) /lib/ld-linux.so.2 (0xb7776000) libpthread.so.0 = /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb7436000) sectoid@dagon:~$ ldd /usr/lib/i386-linux-gnu/libmemcached.so.10 linux-gate.so.1 = (0xb7752000) librt.so.1 = /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xb76e8000) libstdc++.so.6 = /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb75fc000) libm.so.6 = /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xb75d5000) libc.so.6 = /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb7478000) libgcc_s.so.1 = /lib/i386-linux-gnu/libgcc_s.so.1 (0xb745b000) libpthread.so.0 = /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb7442000) /lib/ld-linux.so.2 (0xb7753000) sectoid@dagon:~$ readelf -W -s --dyn-syms /usr/lib/php5/20100525+lfs/memcached.so | grep version 41: 0 FUNCGLOBAL DEFAULT UND memcached_version 71: 0 FUNCGLOBAL DEFAULT UND memcached_lib_version 96: 0 NOTYPE GLOBAL DEFAULT UND memcached_server_micro_version 138: 0 NOTYPE GLOBAL DEFAULT UND memcached_server_major_version 139: 0 NOTYPE GLOBAL DEFAULT UND memcached_server_minor_version sectoid@dagon:~$ readelf -W -s --dyn-syms /usr/lib/i386-linux- gnu/libmemcached.so.10 | grep version 216: 00023ad0 861 FUNCGLOBAL DEFAULT 12 memcached_version 361: 00023ab018 FUNCGLOBAL DEFAULT 12 memcached_lib_version -- WBR, Gleb Golubitsky Gnolltech signature.asc Description: This is a digitally signed message part.
Bug#684949: patch fixing issue
Here is a patch that fixed the issue for me. -- WBR, Gleb Golubitsky Gnolltechdiff --git a/memcached-2.1.0/php_memcached.c b/memcached-2.1.0/php_memcached.c index 90ea8ab..8c097e7 100644 --- a/memcached-2.1.0/php_memcached.c +++ b/memcached-2.1.0/php_memcached.c @@ -2643,9 +2643,9 @@ static memcached_return php_memc_do_version_callback(const memcached_st *ptr, me hostport_len = spprintf(hostport, 0, %s:%d, memcached_server_name(instance), memcached_server_port(instance)); version_len = snprintf(version, sizeof(version), %d.%d.%d, -memcached_server_major_version(instance), -memcached_server_minor_version(instance), -memcached_server_micro_version(instance)); +instance-major_version, +instance-minor_version, +instance-micro_version); add_assoc_stringl_ex(context-return_value, hostport, hostport_len+1, version, version_len, 1); efree(hostport); signature.asc Description: This is a digitally signed message part.