Bug#575552: error: no mapping exists for `md0'

2010-11-01 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 03/26/2010 10:04 PM, Russell Coker wrote:
> Package: grub-common
> Version: 1.98-1
> Severity: normal
>
> I get the following error when installing a new kernel package on a testing
> system.  Should I add something to my device.map file?
>
>   
> Running update-grub.
> Generating grub.cfg ...
> /usr/sbin/grub-probe: error: no mapping exists for `md0'.
> User postinst hook script [update-grub] exited with value 1
> dpkg: error processing linux-image-2.6.32-3-686 (--configure):
>  subprocess installed post-installation script returned error exit status 1
>
>   
This bug looks a lot like trying to use 1.x metadata with older version.
Can you retest with recent packages?
> # cat /proc/mdstat
> Personalities : [raid1]
> md1 : active raid1 sda2[0] sdb2[1]
>   38981632 blocks [2/2] [UU]
>   bitmap: 4/149 pages [16KB], 128KB chunk
>
> md0 : active raid1 sda1[0] sdb1[1]
>   96256 blocks [2/2] [UU]
>   bitmap: 0/12 pages [0KB], 4KB chunk
>
> unused devices: 
>
> # cat /boot/grub/device.map
> (hd0)   /dev/hda
> (hd1)   /dev/hdb
>
>
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.32-4-xen-686 (SMP w/1 CPU core)
> Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages grub-common depends on:
> ii  base-files  5.1  Debian base system miscellaneous 
> f
> ii  dpkg1.15.5.6 Debian package management system
> ii  gettext-base0.17-10  GNU Internationalization 
> utilities
> ii  install-info4.13a.dfsg.1-5   Manage installed documentation 
> in 
> ii  libc6   2.10.2-6 Embedded GNU C Library: Shared 
> lib
> ii  libfreetype62.3.11-1 FreeType 2 font engine, shared 
> lib
> ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime
>
> Versions of packages grub-common recommends:
> pn  os-prober  (no description available)
>
> Versions of packages grub-common suggests:
> pn  grub-emu   (no description available)
> pn  multiboot-doc  (no description available)
>
> -- no debconf information
>
>
>
> ___
> Pkg-grub-devel mailing list
> pkg-grub-de...@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel
>
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko




signature.asc
Description: OpenPGP digital signature


Bug#575552: error: no mapping exists for `md0'

2010-03-26 Thread Russell Coker
Package: grub-common
Version: 1.98-1
Severity: normal

I get the following error when installing a new kernel package on a testing
system.  Should I add something to my device.map file?

Running update-grub.
Generating grub.cfg ...
/usr/sbin/grub-probe: error: no mapping exists for `md0'.
User postinst hook script [update-grub] exited with value 1
dpkg: error processing linux-image-2.6.32-3-686 (--configure):
 subprocess installed post-installation script returned error exit status 1

# cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sda2[0] sdb2[1]
  38981632 blocks [2/2] [UU]
  bitmap: 4/149 pages [16KB], 128KB chunk

md0 : active raid1 sda1[0] sdb1[1]
  96256 blocks [2/2] [UU]
  bitmap: 0/12 pages [0KB], 4KB chunk

unused devices: 

# cat /boot/grub/device.map
(hd0)   /dev/hda
(hd1)   /dev/hdb


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-4-xen-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-common depends on:
ii  base-files  5.1  Debian base system miscellaneous 
f
ii  dpkg1.15.5.6 Debian package management system
ii  gettext-base0.17-10  GNU Internationalization 
utilities
ii  install-info4.13a.dfsg.1-5   Manage installed documentation in 
ii  libc6   2.10.2-6 Embedded GNU C Library: Shared 
lib
ii  libfreetype62.3.11-1 FreeType 2 font engine, shared 
lib
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages grub-common recommends:
pn  os-prober  (no description available)

Versions of packages grub-common suggests:
pn  grub-emu   (no description available)
pn  multiboot-doc  (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org