Bug 90386

Summary: appeared twice with different sysfs path
Product: systemd Reporter: Wallance Lee <halyx>
Component: generalAssignee: systemd-bugs
Status: RESOLVED MOVED QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Wallance Lee 2015-05-10 03:53:27 UTC
Hello,whenever I boot my gentoo linux system with systemd,it displays these error information.
[    9.141155] systemd[1]: Device dev-disk-by\x2dpartlabel-Basic\x5cx20data\x5cx20partition.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda3 and /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda4
[   10.786173] systemd[1]: Device dev-disk-by\x2dpartlabel-Basic\x5cx20data\x5cx20partition.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda3 and /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda5
[   10.928329] systemd[1]: Device dev-disk-by\x2dpartlabel-Basic\x5cx20data\x5cx20partition.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda3 and /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda6

And the following is my /etc/fstab file:

/dev/sda7               /               ext4            noatime         0 1
/dev/sda1               /boot/efi       vfat            defaults        0 0
/dev/sda8               /home           ext4            defaults        0 0
/dev/sda4              /mnt/software   ntfs-3g         uid=wallance,gid=disk,dmask=022,fmask=133,noauto        0 0
/dev/sda5               /mnt/data       ntfs-3g         uid=wallance,gid=disk,dmask=022,fmask=133,noauto        0 0
/dev/sda3               /mnt/system     ntfs-3g         uid=wallance,gid=disk,dmask=022,fmask=133,noauto        0 0


I'm new to this bug reporting system,and my English is not very good.Sorry so badly.Whatever the result is, thank you for your time.
Comment 1 Charles Van 2015-05-13 02:27:02 UTC
needinfo
Pls put your whole log message as a file into the attachment,
and give the message of lsblk.
Thank you,
Chao Fan
Comment 2 Charles Van 2015-05-13 02:44:43 UTC
Hi Wallance Lee,
I don't know much about the ntfs-3g,but I change the fourth field (fs_mntops) of fstab to "defaults",the device mouted auto suceesfully.So maybe something in your fstab has problems.
Hope it is helpful.
Thanks,
Chao Fan
Comment 4 Wallance Lee 2015-05-27 07:04:54 UTC
(In reply to Lennart Poettering from comment #3)
> Already fixed in git:
> 
> http://cgit.freedesktop.org/systemd/systemd/commit/
> ?id=5259bcf6a638d8d489db1ddefd55327aa15f3e51

Thanks.I have forgotten the reply so far.I'm sorry.
Comment 5 tpmajer 2016-02-22 15:22:42 UTC
Hello,
I see the same error message for about 2 days, and I can't find a solution. I had tried to downgrade systemd to 228, and boot up Linux-lts (4.1.18-1), but it didn't help.
I have Windows 10 and Arch Linux installed (Dual Boot, UEFI, GRUB).

[tpmajer@archlinux ~]$ dmesg -l err
[   18.494168] systemd[1]: dev-disk-by\x2dpartlabel-Basic\x5cx20data\x5cx20partition.device: Dev dev-disk-by\x2dpartlabel-Basic\x5cx20data\x5cx20partition.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/4:0:0:0/block/sda/sda1 and /sys/devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/4:0:0:0/block/sda/sda4
[tpmajer@archlinux ~]$ lsblk -f
NAME   FSTYPE LABEL        UUID                                 MOUNTPOINT
sda                                                             
├─sda1 ntfs   Recovery     EE2ACE172ACDDCA9                     
├─sda2 vfat                16D0-E2DB                            /boot/efi
├─sda3                                                          
├─sda4 ntfs   Windows10_OS 3EDCEF66DCEF1745                     
├─sda5 swap   Linux Swap   01aeffe8-b085-4b7a-bf00-02f9101fca9a [SWAP]
└─sda6 ext4   Arch Linux   616dab8d-710d-4853-8ca9-6845a0411e5e /
sr0
[tpmajer@archlinux ~]$ pacman -Q systemd
systemd 229-2
[tpmajer@archlinux ~]$ uname -a
Linux archlinux 4.4.2-1-ARCH #1 SMP PREEMPT Thu Feb 18 12:11:13 CET 2016 x86_64 GNU/Linux

My system boots up very slow.
Comment 6 Wallance Lee 2016-02-23 07:04:06 UTC
I have the same problem above.
Comment 7 Wallance Lee 2016-02-23 07:48:21 UTC
(In reply to tpmajer from comment #5)
> Hello,
> I see the same error message for about 2 days, and I can't find a solution.
> I had tried to downgrade systemd to 228, and boot up Linux-lts (4.1.18-1),
> but it didn't help.
> I have Windows 10 and Arch Linux installed (Dual Boot, UEFI, GRUB).
> 
> [tpmajer@archlinux ~]$ dmesg -l err
> [   18.494168] systemd[1]:
> dev-disk-by\x2dpartlabel-Basic\x5cx20data\x5cx20partition.device: Dev
> dev-disk-by\x2dpartlabel-Basic\x5cx20data\x5cx20partition.device appeared
> twice with different sysfs paths
> /sys/devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/4:0:0:0/block/
> sda/sda1 and
> /sys/devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/4:0:0:0/block/
> sda/sda4
> [tpmajer@archlinux ~]$ lsblk -f
> NAME   FSTYPE LABEL        UUID                                 MOUNTPOINT
> sda                                                             
> ├─sda1 ntfs   Recovery     EE2ACE172ACDDCA9                     
> ├─sda2 vfat                16D0-E2DB                            /boot/efi
> ├─sda3                                                          
> ├─sda4 ntfs   Windows10_OS 3EDCEF66DCEF1745                     
> ├─sda5 swap   Linux Swap   01aeffe8-b085-4b7a-bf00-02f9101fca9a [SWAP]
> └─sda6 ext4   Arch Linux   616dab8d-710d-4853-8ca9-6845a0411e5e /
> sr0
> [tpmajer@archlinux ~]$ pacman -Q systemd
> systemd 229-2
> [tpmajer@archlinux ~]$ uname -a
> Linux archlinux 4.4.2-1-ARCH #1 SMP PREEMPT Thu Feb 18 12:11:13 CET 2016
> x86_64 GNU/Linux
> 
> My system boots up very slow.

I use arch linux too recently. I have this problem with the version of 229-3 too, but I don't have this on 229-2
Comment 8 Lennart Poettering 2016-02-23 12:15:18 UTC
Let's please track this here:

https://github.com/systemd/systemd/issues/2677

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.