http://bugzilla.novell.com/show_bug.cgi?id=567475 http://bugzilla.novell.com/show_bug.cgi?id=567475#c0 Summary: /dev/disk/by-uuid and by-label are not created Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: lucisandor@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 GTB6 Folders /dev/disk/by-uuid and /dev/disk/by-label disappeared, during either: - kernel upgrade from default, 2.6.31-3.4 from Oss repo to default, 2.6.32.5-5.5, from Kernel repo or - kernel downgrade from default, 2.6.32.5-5.5, from Kernel repo to desktop, 2.6.31-5.5 from Oss repo. Udev seems to be running. It creates, at boot time or upon hot-plugging, symbolic links in the folders /by-path and /by-id. Example of hotplugging: battlecruiser:~ # udevadm monitor monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent KERNEL[1262052984.308899] add /devices/pci0000:00/0000:00:02.1/usb1/1-2 (usb) KERNEL[1262052984.310386] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0 (usb) KERNEL[1262052984.310769] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16 (scsi) KERNEL[1262052984.310808] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/scsi_host/host16 (scsi_host) UDEV [1262052984.335761] add /devices/pci0000:00/0000:00:02.1/usb1/1-2 (usb) UDEV [1262052984.335829] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0 (usb) UDEV [1262052984.336651] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16 (scsi) UDEV [1262052984.337003] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/scsi_host/host16 (scsi_host) KERNEL[1262052985.312376] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/target16:0:0 (scsi) KERNEL[1262052985.312676] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/target16:0:0/16:0:0:0 (scsi) KERNEL[1262052985.312894] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/target16:0:0/16:0:0:0/scsi_disk/16:0:0:0 (scsi_disk) UDEV [1262052985.313111] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/target16:0:0 (scsi) KERNEL[1262052985.313250] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/target16:0:0/16:0:0:0/scsi_device/16:0:0:0 (scsi_device) UDEV [1262052985.313949] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/target16:0:0/16:0:0:0 (scsi) KERNEL[1262052985.316704] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/target16:0:0/16:0:0:0/scsi_generic/sg9 (scsi_generic) UDEV [1262052985.316751] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/target16:0:0/16:0:0:0/scsi_device/16:0:0:0 (scsi_device) UDEV [1262052985.317304] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/target16:0:0/16:0:0:0/scsi_disk/16:0:0:0 (scsi_disk) KERNEL[1262052985.323662] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/target16:0:0/16:0:0:0/bsg/16:0:0:0 (bsg) UDEV [1262052985.323722] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/target16:0:0/16:0:0:0/scsi_generic/sg9 (scsi_generic) UDEV [1262052985.324133] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/target16:0:0/16:0:0:0/bsg/16:0:0:0 (bsg) KERNEL[1262052985.347100] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/target16:0:0/16:0:0:0/block/sdi (block) KERNEL[1262052985.347172] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/target16:0:0/16:0:0:0/block/sdi/sdi1 (block) KERNEL[1262052985.347209] add /devices/virtual/bdi/8:128 (bdi) UDEV [1262052985.347694] add /devices/virtual/bdi/8:128 (bdi) UDEV [1262052985.512293] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/target16:0:0/16:0:0:0/block/sdi (block) UDEV [1262052985.546175] add /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host16/target16:0:0/16:0:0:0/block/sdi/sdi1 (block) Resulting in: ls -al /dev/disk/by-id [...] lrwxrwxrwx 1 root root 9 Dec 28 21:16 usb-Maxtor_7_H500F0_281AF7122222-0:0 -> ../../sdi lrwxrwxrwx 1 root root 10 Dec 28 21:16 usb-Maxtor_7_H500F0_281AF7122222-0:0-part1 -> ../../sdi1 ls -al /dev/disk/by-path[...] lrwxrwxrwx 1 root root 9 Dec 28 21:16 pci-0000:00:02.1-usb-0:2:1.0-scsi-0:0:0:0 -> ../../sdi lrwxrwxrwx 1 root root 10 Dec 28 21:16 pci-0000:00:02.1-usb-0:2:1.0-scsi-0:0:0:0-part1 -> ../../sdi1 This has a catastrofic effect of hanging at boot if menu.lst or fstab were based on UUIDs. Reproducible: Always Steps to Reproduce: 1. Boot the system. Alternatively, hot plug SATA HDD or USB-via-adaptor SATA HDD. 2. "ls -al /dev/disk/" Actual Results: Symbolic links in by-uuid and by-label folders are not created. Expected Results: Symbolic links in by-uuid and by-label folders are expected. Could be something else? When upgrading the kernel, I saw a fleeting error about UnixDev2GrubDev. In perl-BL-standalone-log I got plenty of: 2009-12-24 08:45:25 MILESTONE: Core::ResolveCrossDeviceSymlinks: path: /initrd-2.6.32-5-default, $1: /, $&: /boot 2009-12-24 08:45:25 MILESTONE: Core::ResolveCrossDeviceSymlinks: here: /boot, resolved: 2009-12-24 08:45:25 MILESTONE: Core::ResolveCrossDeviceSymlinks: resolved: /initrd-2.6.32-5-default, $&: /boot 2009-12-24 08:45:25 MILESTONE: Core::ResolveCrossDeviceSymlinks: path: , $1: /, $&: /initrd-2.6.32-5-default 2009-12-24 08:45:25 MILESTONE: Core::ResolveCrossDeviceSymlinks: here: /boot/initrd-2.6.32-5-default, resolved: /boot 2009-12-24 08:45:25 MILESTONE: Core::ResolveCrossDeviceSymlinks: resolved: , $&: /initrd-2.6.32-5-default 2009-12-24 08:45:25 MILESTONE: Core::ResolveCrossDeviceSymlinks: returns resolved: /boot/initrd-2.6.32-5-default, path: 2009-12-24 08:45:25 MILESTONE: Core::CanonicalPath: ret path: /boot/initrd-2.6.32-5-default 2009-12-24 08:45:25 MILES2009-12-24 08:45:25 ERROR: GRUB::UnixDev2GrubDev: Empty device to translate 2009-12-24 08:45:25 WARNING: GRUB::UnixDev2GrubDev: Not translating device (hd0,4) TONE: Core::RealFileName: Filename /boot/initrd-2.6.32-5-default after resolving symlinks: /boot/initrd-2.6.32-5-default 2009-12-24 08:45:25 MILESTONE: Core::SplitDevPath: /boot/initrd-2.6.32-5-default was split to + /boot/initrd-2.6.32-5-default 2009-12-24 08:45:25 ERROR: GRUB::UnixDev2GrubDev: Empty device to translate 2009-12-24 08:45:25 MILESTONE: GRUB::UnixPath2GrubPath: Path (hd0,4)/boot/message looks like in GRUB form, special treatment 2009-12-24 08:45:25 WARNING: GRUB::UnixDev2GrubDev: Not translating device (hd0,4) 2009-12-24 08:45:25 MILESTONE: Core::WriteFiles: Not writing /etc/grub.conf 2009-12-24 08:45:25 MILESTONE: Core::WriteFiles: Not writing /boot/grub/device.map 2009-12-24 08:45:25 MILESTONE: Library::UpdateBootloader: TRACE avoid_init 1 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.