bugGNU GRUB - Bugs: bug #46826, grub 2.02_beta2 with HP Smart...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #46826: grub 2.02_beta2 with HP Smart Array P400: grub-probe: error: failed to get canonical path of `/dev/cciss!c0d0p3'

Submitter:  Roman Petrov <nwhisper2016>
Submitted:  Tue 05 Jan 2016 10:05:48 PM UTC
Votes: 1
 
Category:  Configuration Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Wont Fix Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  2.02~beta1
Release:  Reproducibility:  Every Time
Planned Release:  None

Jump to the original submission

Thu 07 Jan 2016 07:53:42 AM UTC, comment #8: 

It is really kernel bug that needs to be fixed in kernel. In your specific case you could

- manually create /dev/cciss!c0d0p3 link as part of startup

and then one of

- use initrd and UUID
- explicitly set root= option in GRUB_CMDLINE_LINUX_DEFAULT. grub-mkconfig will prepend autogenerated root=, but the last one wins
- modify /etc/grub.d/10_linux to do what you think is the right one

But you are bound to have problems with any program that assumes device in /proc/mounts is correct; so this should really be fixed in the right place.

Closing it; sorry.

Andrei Borzenkov <arvidjaar>
Group Member
Wed 06 Jan 2016 03:36:03 PM UTC, comment #7: 

Interesting bug in kernel.org tracker:

https://bugzilla.kernel.org/show_bug.cgi?id=54101

Roman Petrov <nwhisper2016>
Wed 06 Jan 2016 02:34:34 PM UTC, comment #6: 

I am afraid I am at a loss. I do not understand how this "device" could appear. Device node clearly does not exist, it is not possible to "mount" it, nor do I see it in (upstream) kernel source.

I would suggest creating a link /dev/cciss!c0d0p3 -> /dev/cciss/c0d0p3; does it help?

Andrei Borzenkov <arvidjaar>
Group Member
Wed 06 Jan 2016 12:03:07 PM UTC, comment #5: 

# ls -la /etc/mtab
lrwxrwxrwx 1 root root 17 Jan  5 18:15 /etc/mtab -> /proc/self/mounts

# ls -la /proc/mounts
lrwxrwxrwx 1 root root 11 Jan  6 15:02 /proc/mounts -> self/mounts

# cat /proc/self/mounts
/dev/cciss!c0d0p3 / xfs rw,noatime,inode64,noquota 0 0
devtmpfs /dev devtmpfs rw,nosuid,relatime,size=10240k,nr_inodes=1021912,mode=755 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /run tmpfs rw,nodev,relatime,size=817616k,mode=755 0 0
mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
cgroup_root /sys/fs/cgroup tmpfs rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
openrc /sys/fs/cgroup/openrc cgroup rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release-agent.sh,name=openrc 0 0
cpuset /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cpu /sys/fs/cgroup/cpu cgroup rw,nosuid,nodev,noexec,relatime,cpu 0 0
cpuacct /sys/fs/cgroup/cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpuacct 0 0
blkio /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
memory /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
devices /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
freezer /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
net_cls /sys/fs/cgroup/net_cls cgroup rw,nosuid,nodev,noexec,relatime,net_cls 0 0
perf_event /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
hugetlb /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0
pids /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0
/dev/cciss/c0d0p4 /var xfs rw,noatime,inode64,noquota 0 0
/dev/cciss/c0d0p4 /home xfs rw,noatime,inode64,noquota 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
/dev/cciss/c0d0p1 /boot ext4 rw,relatime,data=ordered 0 0

Roman Petrov <nwhisper2016>
Wed 06 Jan 2016 11:23:22 AM UTC, comment #4: 

Is /etc/mtab regular file or link? If it is regular file - what is content of /proc/mounts?

Andrei Borzenkov <arvidjaar>
Group Member
Wed 06 Jan 2016 10:41:16 AM UTC, comment #3: 

I do not use initrd.

# ls -lR /dev/cciss*
/dev/cciss:
total 0
brw-rw---- 1 root disk 104,  0 Jan  5 18:10 c0d0
brw-rw---- 1 root disk 104,  1 Jan  5 18:15 c0d0p1
brw-rw---- 1 root disk 104,  2 Jan  5 18:10 c0d0p2
brw-rw---- 1 root disk 104,  3 Jan  5 18:10 c0d0p3
brw-rw---- 1 root disk 104,  4 Jan  5 18:10 c0d0p4
brw-rw---- 1 root disk 104, 16 Jan  5 18:10 c0d1
brw-rw---- 1 root disk 104, 17 Jan  5 18:10 c0d1p1

udevadm.txt attached.

(file #35934)

Roman Petrov <nwhisper2016>
Wed 06 Jan 2016 07:37:07 AM UTC, comment #2: 

Do you use initrd? Linux kernel replaces "/" in root= argument with "!" when looking it up, so it should be entirely equivalent; it sounds more like your initrd fails to handle it.

Could you attach "udevadm info --export-db"? Also what

ls -lR /dev/cciss*

shows?

Andrei Borzenkov <arvidjaar>
Group Member
Wed 06 Jan 2016 06:47:39 AM UTC, comment #1: 

# lsblk
NAME           MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sr0             11:0    1  1024M  0 rom 
cciss!c0d0     104:0    0   205G  0 disk
├─cciss!c0d0p1 104:1    0 517,7M  0 part /boot
├─cciss!c0d0p2 104:2    0   1,5G  0 part
├─cciss!c0d0p3 104:3    0   9,3G  0 part /
└─cciss!c0d0p4 104:4    0 193,7G  0 part /home

Roman Petrov <nwhisper2016>
Tue 05 Jan 2016 10:05:48 PM UTC, original submission:  

# grub-probe -t device /
grub-probe: error: failed to get canonical path of `/dev/cciss!c0d0p3'.

# grub-mkconfig
/usr/sbin/grub-probe: error: failed to get canonical path of `/dev/cciss!c0d0p3'.

# mount
/dev/cciss!c0d0p3 on / type xfs (rw,noatime,inode64,noquota)
/dev/cciss/c0d0p4 on /var type xfs (rw,noatime,inode64,noquota)
/dev/cciss/c0d0p1 on /boot type ext4 (rw,relatime,data=ordered)

# cat /proc/cmdline
BOOT_IMAGE=/kernel-4.3-1 root=/dev/cciss!c0d0p3 ro rootfstype=xfs vga=0x305 panic=15 quiet

# grub-probe -t device /boot
/dev/cciss/c0d0p1

grub does not work with /dev/cciss!c0d0p3, but with root=/dev/cciss/c0d0p3 server does not start.

Roman Petrov <nwhisper2016>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #35934:  udevadm.txt added by nwhisper2016 (172KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arvidjaar (Posted a comment)
  • -email is unavailable- added by nwhisper2016 (Voted in favor of this item)
  • -email is unavailable- added by nwhisper2016 (Submitted the item)
  •  

    There is 1 vote so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-01-07 arvidjaar StatusNone Wont Fix
        Open/ClosedOpen Closed
    2016-01-06 nwhisper2016 Attached File- Added udevadm.txt, #35934
    2016-01-06 nwhisper2016 Carbon-Copy- Added nwhisper2016

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code