Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

SOLVED ugrd : [/dev/md126p8] Unable to find device mapper

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
linux_os2
Apprentice
Apprentice
Posts: 278
Joined: Wed Aug 29, 2018 8:00 am
Location: Zedelgem Belgium

SOLVED ugrd : [/dev/md126p8] Unable to find device mapper

  • Quote

Post by linux_os2 » Fri Feb 21, 2025 9:53 am

compiled dist kernel using installkernel.
dracut was used to create the initrd file.
During boot hangs for some minutes.
Then a lot of messages by dracut.
Then after some time system enters the recovery mode.
the raid device entries are missing.
Looking at the .cofig of the new kernel all raid options are set.

So tried to use ugrd to create an initrd.
During generation following msg is posted:

Code: Select all

ERROR    | [/dev/md126p8] Unable to find device mapper device with maj: 259 min: 27
Last edited by linux_os2 on Wed Mar 26, 2025 7:51 am, edited 1 time in total.
Top
linux_os2
Apprentice
Apprentice
Posts: 278
Joined: Wed Aug 29, 2018 8:00 am
Location: Zedelgem Belgium

  • Quote

Post by linux_os2 » Fri Feb 21, 2025 3:21 pm

Was able to create a working initrd with genkernel.

Code: Select all

genkernel --mdadm initramfs
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56080
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri Feb 21, 2025 3:42 pm

linux_os2,


/dev/md126p8 is a partition on a software raid set. It should not belong to device mapper.

That looks like a bug in ugrd.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
zen_desu
Guru
Guru
Posts: 501
Joined: Fri Oct 25, 2024 3:14 pm
Location: your area

Re: ugrd : [/dev/md126p8] Unable to find device mapper

  • Quote

Post by zen_desu » Fri Feb 21, 2025 3:53 pm

linux_os2 wrote:compiled dist kernel using installkernel.
dracut was used to create the initrd file.
During boot hangs for some minutes.
Then a lot of messages by dracut.
Then after some time system enters the recovery mode.
the raid device entries are missing.
Looking at the .cofig of the new kernel all raid options are set.

So tried to use ugrd to create an initrd.
During generation following msg is posted:

Code: Select all

ERROR    | [/dev/md126p8] Unable to find device mapper device with maj: 259 min: 27
Can you share the output of "lsblk -f" please?

If you can use a paste service and run "ugrd -d", that would help, especially with the latest 9999 (git) version (v2). I think this may be happening because a that mdraid device with a partition is listed as the "slave" for another volume, which could possibly be a mistake.
µgRD dev
Wiki writer
Top
linux_os2
Apprentice
Apprentice
Posts: 278
Joined: Wed Aug 29, 2018 8:00 am
Location: Zedelgem Belgium

Re: ugrd : [/dev/md126p8] Unable to find device mapper

  • Quote

Post by linux_os2 » Sat Feb 22, 2025 12:19 pm

zen_desu wrote:
linux_os2 wrote:compiled dist kernel using installkernel.
dracut was used to create the initrd file.
During boot hangs for some minutes.
Then a lot of messages by dracut.
Then after some time system enters the recovery mode.
the raid device entries are missing.
Looking at the .cofig of the new kernel all raid options are set.

So tried to use ugrd to create an initrd.
During generation following msg is posted:

Code: Select all

ERROR    | [/dev/md126p8] Unable to find device mapper device with maj: 259 min: 27
Can you share the output of "lsblk -f" please?

If you can use a paste service and run "ugrd -d", that would help, especially with the latest 9999 (git) version (v2). I think this may be happening because a that mdraid device with a partition is listed as the "slave" for another volume, which could possibly be a mistake.
lsblk -f:

Code: Select all

NAME         FSTYPE            FSVER    LABEL            UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                                                          
└─sda1       linux_raid_member 1.2      marc:124         a6f4693e-1554-697b-5c93-edf466ac4f07                
  └─md125    ext4              1.0                       05eeba2c-9ab4-4bb2-93ca-85c29bc9d852   66.5T    13% /srv/nfs/home
                                                                                                             /home
sdb                                                                                                          
└─sdb1       linux_raid_member 1.2      marc:124         a6f4693e-1554-697b-5c93-edf466ac4f07                
  └─md125    ext4              1.0                       05eeba2c-9ab4-4bb2-93ca-85c29bc9d852   66.5T    13% /srv/nfs/home
                                                                                                             /home
sdc                                                                                                          
└─sdc1       linux_raid_member 1.2      marc:124         a6f4693e-1554-697b-5c93-edf466ac4f07                
  └─md125    ext4              1.0                       05eeba2c-9ab4-4bb2-93ca-85c29bc9d852   66.5T    13% /srv/nfs/home
                                                                                                             /home
sdd          ddf_raid_member   01.00.00                  LSI     \x80\x86'\xc3                               
├─md126                                                                                                      
│ ├─md126p1  ntfs                       Recovery         46B0C283B0C27947                                    
│ ├─md126p2  vfat              FAT32    SYSTEM           9030-2F6D                                           
│ ├─md126p3                                                                                                  
│ ├─md126p4  ntfs                       Windows_10       109ED0469ED025CE                                    
│ ├─md126p5  ext4              1.0      Gentoo 1         ceffaa4b-695c-4490-9f9a-38aed1bc40a8                
│ ├─md126p6  vfat              FAT32    EFI_Gentoo1      3883-62B1                              93.7M     1% /boot/efi
│ ├─md126p7  ext4              1.0      Gentoo 2         c9247467-374b-41c2-a72f-57a37d3e6d7b                
│ ├─md126p8  ext4              1.0      Gentoo 3         2b656b1f-599a-484c-a4e3-bccd1d540764   46.6G    46% /
│ ├─md126p9  ext4              1.0      LFS sysd 12.0    e6001dff-27e9-4388-b622-26c59ce80085                
│ ├─md126p10 ext4              1.0      Ubuntu 24.04     dd12ff4e-9ed6-4d5b-a391-cce9bdcb264d                
│ ├─md126p11 ext4              1.0      Ubuntu 22.04     036f6f20-6b01-4d5e-8f42-e55ab46a9009                
│ ├─md126p12 ext4              1.0      ISO Sytems       d2290b79-34a7-4251-80b7-9f8b024348c2                
│ ├─md126p13 ext4              1.0      Clonezilla       e102e1d8-37ee-48c9-966e-4dc815b24ee1                
│ ├─md126p14 ext4              1.0      Ubuntu Home      a6ebbfa2-b4f0-4701-9b69-5e680a245dcc                
│ ├─md126p15 vfat              FAT32    EFI_W11          62D0-9530                                           
│ ├─md126p16                                                                                                 
│ ├─md126p17 ntfs                                        D66A58B46A58935B                                    
│ ├─md126p18 ntfs                                        802EB1582EB14844                                    
│ ├─md126p19 ext4              1.0      LFS sysd 12.0 DE 6342936d-140d-4051-ad74-fed61623178a                
│ ├─md126p20 ext4              1.0      LFS sysd 12.0 NE 6aff57b4-bc71-4e93-8807-db85c7e72d92                
│ └─md126p21 ext4              1.0                       3f67975d-adfe-461c-8aa3-5446b2c0ea68                
├─md127                                                                                                      
├─sdd16                                                                                                      
├─sdd17      ntfs                                        D66A58B46A58935B                                    
├─sdd18      ntfs                                        802EB1582EB14844                                    
├─sdd19      ext4              1.0      LFS sysd 12.0 DE 6342936d-140d-4051-ad74-fed61623178a                
├─sdd20      ext4              1.0      LFS sysd 12.0 NE 6aff57b4-bc71-4e93-8807-db85c7e72d92                
└─sdd21      ext4              1.0                       3f67975d-adfe-461c-8aa3-5446b2c0ea68                
sde          ddf_raid_member   01.00.00                  LSI     \x80\x86'\xc3                               
├─md126                                                                                                      
│ ├─md126p1  ntfs                       Recovery         46B0C283B0C27947                                    
│ ├─md126p2  vfat              FAT32    SYSTEM           9030-2F6D                                           
│ ├─md126p3                                                                                                  
│ ├─md126p4  ntfs                       Windows_10       109ED0469ED025CE                                    
│ ├─md126p5  ext4              1.0      Gentoo 1         ceffaa4b-695c-4490-9f9a-38aed1bc40a8                
│ ├─md126p6  vfat              FAT32    EFI_Gentoo1      3883-62B1                              93.7M     1% /boot/efi
│ ├─md126p7  ext4              1.0      Gentoo 2         c9247467-374b-41c2-a72f-57a37d3e6d7b                
│ ├─md126p8  ext4              1.0      Gentoo 3         2b656b1f-599a-484c-a4e3-bccd1d540764   46.6G    46% /
│ ├─md126p9  ext4              1.0      LFS sysd 12.0    e6001dff-27e9-4388-b622-26c59ce80085                
│ ├─md126p10 ext4              1.0      Ubuntu 24.04     dd12ff4e-9ed6-4d5b-a391-cce9bdcb264d                
│ ├─md126p11 ext4              1.0      Ubuntu 22.04     036f6f20-6b01-4d5e-8f42-e55ab46a9009                
│ ├─md126p12 ext4              1.0      ISO Sytems       d2290b79-34a7-4251-80b7-9f8b024348c2                
│ ├─md126p13 ext4              1.0      Clonezilla       e102e1d8-37ee-48c9-966e-4dc815b24ee1                
│ ├─md126p14 ext4              1.0      Ubuntu Home      a6ebbfa2-b4f0-4701-9b69-5e680a245dcc                
│ ├─md126p15 vfat              FAT32    EFI_W11          62D0-9530                                           
│ ├─md126p16                                                                                                 
│ ├─md126p17 ntfs                                        D66A58B46A58935B                                    
│ ├─md126p18 ntfs                                        802EB1582EB14844                                    
│ ├─md126p19 ext4              1.0      LFS sysd 12.0 DE 6342936d-140d-4051-ad74-fed61623178a                
│ ├─md126p20 ext4              1.0      LFS sysd 12.0 NE 6aff57b4-bc71-4e93-8807-db85c7e72d92                
│ └─md126p21 ext4              1.0                       3f67975d-adfe-461c-8aa3-5446b2c0ea68                
├─md127                                                                                                      
├─sde16                                                                                                      
├─sde17      ntfs                                        D66A58B46A58935B                                    
├─sde18      ntfs                                        802EB1582EB14844                                    
├─sde19      ext4              1.0      LFS sysd 12.0 DE 6342936d-140d-4051-ad74-fed61623178a                
├─sde20      ext4              1.0      LFS sysd 12.0 NE 6aff57b4-bc71-4e93-8807-db85c7e72d92                
└─sde21      ext4              1.0                       3f67975d-adfe-461c-8aa3-5446b2c0ea68                
sdf                                                                                                          
└─sdf1       linux_raid_member 1.2      marc:124         a6f4693e-1554-697b-5c93-edf466ac4f07                
  └─md125    ext4              1.0                       05eeba2c-9ab4-4bb2-93ca-85c29bc9d852   66.5T    13% /srv/nfs/home
                                                                                                             /home
sdg                                                                                                          
└─sdg1       swap              1                         b4b1cbec-4e1f-4da7-88d7-5ebc50492090                [SWAP]
sdh                                                                                                          
└─sdh1       linux_raid_member 1.2      marc:124         a6f4693e-1554-697b-5c93-edf466ac4f07                
  └─md125    ext4              1.0                       05eeba2c-9ab4-4bb2-93ca-85c29bc9d852   66.5T    13% /srv/nfs/home
                                                                                                             /home
sdi                                                                                                          
└─sdi1       linux_raid_member 1.2      marc:124         a6f4693e-1554-697b-5c93-edf466ac4f07                
  └─md125    ext4              1.0                       05eeba2c-9ab4-4bb2-93ca-85c29bc9d852   66.5T    13% /srv/nfs/home
                                                                                                             /home
sdj                                                                                                          
sr0                                                                                                          
nvme0n1                                                                                                      
├─nvme0n1p1  vfat              FAT32                     E256-F414                                           
├─nvme0n1p2                                                                                                  
├─nvme0n1p3  ntfs                                        D66A58B46A58935B                                    
├─nvme0n1p4  ntfs                                        802EB1582EB14844                                    
├─nvme0n1p5  ext4              1.0      Ubuntu Home      a6ebbfa2-b4f0-4701-9b69-5e680a245dcc                
├─nvme0n1p6  ext4              1.0                       37424a31-ede7-4e94-8636-4d5cfd37785a                
└─nvme0n1p7  ext4              1.0                       4c886474-e36e-4922-a219-76b290862e0d                
same result with ugrd 9999
Top
linux_os2
Apprentice
Apprentice
Posts: 278
Joined: Wed Aug 29, 2018 8:00 am
Location: Zedelgem Belgium

  • Quote

Post by linux_os2 » Sat Feb 22, 2025 1:00 pm

NeddySeagoon wrote:linux_os2,


/dev/md126p8 is a partition on a software raid set. It should not belong to device mapper.

That looks like a bug in ugrd.
Opened https://github.com/desultory/ugrd/issues/225
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56080
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Feb 22, 2025 2:06 pm

linux_os2,

The maintainer knows :)
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
linux_os2
Apprentice
Apprentice
Posts: 278
Joined: Wed Aug 29, 2018 8:00 am
Location: Zedelgem Belgium

  • Quote

Post by linux_os2 » Wed Mar 26, 2025 7:50 am

Problem is solved see:
https://github.com/desultory/ugrd/issues/225#
Top
Post Reply

8 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic