[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #36572] unable to install bootloader on SAS storage
From: |
Isao Shimizu |
Subject: |
[bug #36572] unable to install bootloader on SAS storage |
Date: |
Fri, 01 Jun 2012 07:06:19 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5 |
URL:
<http://savannah.gnu.org/bugs/?36572>
Summary: unable to install bootloader on SAS storage
Project: GNU GRUB
Submitted by: isao
Submitted on: 2012年06月01日 16時06分18秒
Category: Configuration
Severity: Major
Priority: 5 - Normal
Item Group: Software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name: Isao Shimizu
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release:
Release: Bazaar - trunk
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
* I already posted https://bugzilla.redhat.com/show_bug.cgi?id=826833
unable to install bootloader on SAS storage.
anaconda stopped after install rpm packege from repository. and show error
message.
"There was an error installing the bootloader. The system may not be
bootable."
/tmp/program.log
19:14:37,207 INFO program: Running... grub2-install --no-floppy /dev/sda
19:14:39,134 ERR program: Installtion finished. No error reported.
19:14:39,295 INFO program: Running... grub2-set-default Fedora Linux, with
Linux 3.3.4-5.fc17.x86_64
19:14:39,385 INFO program: Running... grub2-mkconfig -o /boot/grub2/grub.cfg
19:14:39,552 ERR program: Generating grub.cfg ...
stopped.
grub2-mkconfig stopped at /usr/share/grub/grub-mkconfig_lib,
prepare_grub_to_access_device().
problem line:
hints="`"${grub_probe}" --device "${device}" --target=hints_string 2>
/dev/null`"
I executed this command on anaconda console.
but occured error "No such file or directory".
grub2-probe --device /dev/sda --target=hints_string
grub2-probe: error: cannot open
`/sys/devices/pci0000:00/0000:00:03.0/0000:02:00.0/host4/port-4:0/end_device-4:0/sas_device:end_device-4:0/phy_identifier':
No such file or directory.
the path is wrong. correct path is
/sys/devices/pci0000:00/0000:00:03.0/0000:02:00.0/host4/port-4:0/end_device-4:0/sas_device/end_device-4:0/phy_identifier
(colon or slash)
and I found problem code in grub source.
http://alpha.gnu.org/gnu/grub/grub-2.00~beta4.tar.gz
check_sas() util/ieee1275/ofpath.c
snprintf (path, path_size, "%s/sas_device:%s/phy_identifier", p, ed);
to
snprintf (path, path_size, "%s/sas_device/%s/phy_identifier", p, ed);
Probably, this code is executed only machine attached SAS devices.
I fixed this code,and built rpm package. and include my rpm package by Fedora
17 anaconda.
And it works. (bootloader installation is successfully!)
I don't know who commit this patch. me or other commiter?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36572>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #36572] unable to install bootloader on SAS storage,
Isao Shimizu <=