[Mageia-dev] Issues with dracut

JA Magallon jamagallon at ono.com
Fri Dec 16 13:06:08 CET 2011


Hi...

After those couple previous thread it looks like move to dracut is
ongoing, so I decided to try it.

I found a couple problems:

- dracut inists on loading nouveau driver. With mknitrd, just booting with nokmsboot
  works. Booting with a dracut generated initrd ignores that. I think it is plymouth
  that forces it, even if I added 'blacklist nouveau' in a .conf file in modprobe.d:

dracut -f:

dash
i18n
rpmversion
plymouth
W: Possible missing firmware "nouveau/fuc41ad" for kernel module "nouveau.ko"
W: Possible missing firmware "nouveau/fuc41ac" for kernel module "nouveau.ko"
W: Possible missing firmware "nouveau/fuc409d" for kernel module "nouveau.ko"
W: Possible missing firmware "nouveau/fuc409c" for kernel module "nouveau.ko"
W: Possible missing firmware "nouveau/nvc4_fuc41ad" for kernel module "nouveau.ko"
W: Possible missing firmware "nouveau/nvc4_fuc41ac" for kernel module "nouveau.ko"
W: Possible missing firmware "nouveau/nvc4_fuc409d" for kernel module "nouveau.ko"
W: Possible missing firmware "nouveau/nvc4_fuc409c" for kernel module "nouveau.ko"
W: Possible missing firmware "nouveau/nvc3_fuc41ad" for kernel module "nouveau.ko"
W: Possible missing firmware "nouveau/nvc3_fuc41ac" for kernel module "nouveau.ko"
W: Possible missing firmware "nouveau/nvc3_fuc409d" for kernel module "nouveau.ko"
W: Possible missing firmware "nouveau/nvc3_fuc409c" for kernel module "nouveau.ko"
W: Possible missing firmware "nouveau/nvc0_fuc41ad" for kernel module "nouveau.ko"
W: Possible missing firmware "nouveau/nvc0_fuc41ac" for kernel module "nouveau.ko"
W: Possible missing firmware "nouveau/nvc0_fuc409d" for kernel module "nouveau.ko"
W: Possible missing firmware "nouveau/nvc0_fuc409c" for kernel module "nouveau.ko"
E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
kernel-modules
E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
E: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
...

- initrd from dracut fails to detect one of my drives, and booting stops:

systemd[1]: Job dev-sdd1.device/start timed out.
systemd[1]: Job fedora-autorelabel.service/start failed with result 'dependency'.
systemd[1]: Job fedora-autorelabel-mark.service/start failed with result 'dependency'.
systemd[1]: Job mandriva-boot-links.service/start failed with result 'dependency'.
systemd[1]: Job local-fs.target/start failed with result 'dependency'.
systemd[1]: Triggering OnFailure= dependencies of local-fs.target.
systemd[1]: Job export-video.mount/start failed with result 'dependency'.
systemd[1]: Job home-shared-media-video.mount/start failed with result 'dependency'.
systemd[1]: Job dev-sdd1.device/start failed with result 'timeout'.

  If I rengerate initrd with mkinitrd, system boots fine. fstab is like:

/dev/sda1  /                        ext4 acl,relatime 1 1
none       /proc                    proc defaults 0 0
/dev/sda2  /opt                     ext4 acl,relatime 1 2
/dev/sda3  swap                     swap defaults 0 0
/dev/sdb1  /home                    ext4 acl,relatime 1 2
/dev/sdc1  /home/shared/media/music ext4 acl,relatime 1 2
/dev/sdd1  /home/shared/media/video ext4 acl,relatime 1 2

/home/shared/media/music /export/music bind bind 0 0
/home/shared/media/video /export/video bind bind 0 0
/home/shared/in          /export/in    bind bind 0 0
/opt/soft                /export/soft  bind bind 0 0

lsscsi:
werewolf:~# lsscsi
[0:0:0:0]    disk    ATA      ST3250310AS      3.AA  /dev/sda 
[1:0:0:0]    disk    ATA      WDC WD3200AVJS-6 12.0  /dev/sdb 
[2:0:0:0]    disk    ATA      ST3320620AS      3.AA  /dev/sdc 
[3:0:0:0]    disk    ATA      ST3500418AS      CC38  /dev/sdd 

werewolf:~# grep ata dm.txt (from dracut boot)
 BIOS-e820: 00000000cff70000 - 00000000cff7e000 (ACPI data)
Memory: 8172432k/9175040k available (4214k kernel code, 787464k absent, 215144k reserved, 5225k data, 732k init)
PEBS disabled due to CPU errata.
Write protecting the kernel read-only data: 8192k
libata version 3.00 loaded.
ata1: SATA max UDMA/133 abar m2048 at 0xf9ffe800 port 0xf9ffe900 irq 43
ata2: SATA max UDMA/133 abar m2048 at 0xf9ffe800 port 0xf9ffe980 irq 43
ata3: SATA max UDMA/133 abar m2048 at 0xf9ffe800 port 0xf9ffea00 irq 43
ata4: SATA max UDMA/133 abar m2048 at 0xf9ffe800 port 0xf9ffea80 irq 43
ata5: SATA max UDMA/133 abar m2048 at 0xf9ffe800 port 0xf9ffeb00 irq 43
ata6: SATA max UDMA/133 abar m2048 at 0xf9ffe800 port 0xf9ffeb80 irq 43
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-7: ST3250310AS, 3.AAC, max UDMA/133
ata1.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-8: WDC WD3200AVJS-63WDA0, 12.01B02, max UDMA/133
ata2.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
ata2.00: configured for UDMA/133
ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata3.00: ATA-7: ST3320620AS, 3.AAK, max UDMA/133
ata3.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata3.00: configured for UDMA/133
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.00: ATA-8: ST3500418AS, CC38, max UDMA/133
ata4.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata4.00: configured for UDMA/133
ata5: SATA link down (SStatus 0 SControl 300)
ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata6.00: ATAPI: HL-DT-ST DVDRAM GH22NS50, TN01, max UDMA/100
ata6.00: configured for UDMA/100

werewolf:~# grep sdd dm.txt
sd 6:0:0:0: [sdd] Attached SCSI removable disk
systemd[1]: Job dev-sdd1.device/start timed out.
systemd[1]: Job dev-sdd1.device/start failed with result 'timeout'.

Any ideas ?

TIA


More information about the Mageia-dev mailing list