Bug 16492

Summary: drakboot -boot crashes (unknown device mapper/sil_cbahbibgbjcc1) (real device is cbahbibgbjccp1)
Product: Mageia Reporter: papoteur <yvesbrungard>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: c934w-xavm493b, marja11, tmb
Version: 5   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
See Also: https://bugs.mageia.org/show_bug.cgi?id=19917
Whiteboard:
Source RPM: drakboot CVE:
Status comment:
Attachments: fstab of Pierre's machine

Description papoteur 2015-07-29 14:06:56 CEST
Description of problem:
# drakboot --boot
Ignore the following Glib::Object::Introspection & Gtk3 warnings
Too late to run INIT block at /usr/lib/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi/Glib/Object/Introspection.pm line 257.
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.20.1/Gtk3.pm line 296.
INTERNAL ERROR: unknown device mapper/sil_cbahbibgbjcc1
MDK::Common::Various::internal_error() called from /usr/lib/libDrakX/devices.pm:131
devices::entry() called from /usr/lib/libDrakX/devices.pm:146
devices::make() called from /usr/lib/libDrakX/fs/type.pm:254
fs::type::call_blkid() called from /usr/lib/libDrakX/fs/type.pm:262
fs::type::type_subpart_from_magic() called from /usr/lib/libDrakX/fsedit.pm:284
fsedit::get_hds() called from /usr/libexec/drakboot:48

/boot is on a separate partition

Reported in MLO:
http://www.mageialinux-online.org/forum/topic-20632.php#m197463

Reproducible: 

Steps to Reproduce:
Comment 1 David Walser 2015-07-30 18:35:57 CEST
I'm not sure if it's related to this issue, but this will happen when /boot/grub/device.map is missing or empty, which our tools cause to happen sometimes.  I'm not sure why.

Assignee: bugsquad => thierry.vignaud

Comment 2 Thierry Vignaud 2015-07-31 09:24:56 CEST
What's the output of ls -l /dev/mapper/sil*
Can you attach (not paste) your /etc/fstab

Keywords: (none) => NEEDINFO
Summary: drakboot -boot crashes not finding a device => drakboot -boot crashes (unknown device mapper/sil_cbahbibgbjcc1)

Comment 3 papoteur 2015-08-01 18:13:34 CEST
The user reported:
[root@localhost ~]# ls -l /dev/mapper/sil*
brw-rw---- 1 root disk 252, 0 août 1 14:23 /dev/mapper/sil_cbahbibgbjcc
lrwxrwxrwx 1 root root 7 août 1 14:23 /dev/mapper/sil_cbahbibgbjccp1 -> ../dm-1

And I add the fstab file.
Comment 4 papoteur 2015-08-01 18:16:43 CEST
Created attachment 6878 [details]
fstab of Pierre's machine
Comment 5 Xavier Matz 2016-12-09 08:42:30 CET
possibly related:
https://bugs.mageia.org/show_bug.cgi?id=19917

CC: (none) => c934w-xavm493b

papoteur 2016-12-09 09:42:28 CET

Keywords: NEEDINFO => (none)

Marja Van Waes 2016-12-11 11:15:41 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=19917

Comment 6 Thierry Vignaud 2016-12-12 17:42:50 CET
So we've sil_cbahbibgbjcc1 vs sil_cbahbibgbjccp1
(aka "1" vs "p1")
The path in /etc/fstab doesn't match the real device name

Was it a fresh mga5 install or an older install (eg: mga4) later upgraded to mga5 ?

Ccing Thomas as we've had issues regarding this in the past

CC: (none) => tmb
Summary: drakboot -boot crashes (unknown device mapper/sil_cbahbibgbjcc1) => drakboot -boot crashes (unknown device mapper/sil_cbahbibgbjcc1) (real device is cbahbibgbjccp1)

Comment 7 Marja Van Waes 2018-07-12 11:55:10 CEST
(In reply to Thierry Vignaud from comment #6)

> 
> Was it a fresh mga5 install or an older install (eg: mga4) later upgraded to
> mga5 ?
> 
 @ papoteur

*If* you can still reproduce this issue, can you please reply to that question? (replace 5 with 6 if you still have this on Mga6)

Please close this bug as FIXED if it got fixed in Mga5, and as OLD if it got fixed in Mga6 :-)

CC: (none) => marja11

Comment 8 papoteur 2018-07-19 15:53:59 CEST
@ Marja
No news from the reporter. We close.

Resolution: (none) => OLD
Status: NEW => RESOLVED