Public bug reported:

== Comment: #0 - Haren Myneni <hb...@us.ibm.com> - 2015-01-07 21:34:09 ==
---Problem Description---
Using preseed partman/early-command to select the disk based on user selection 
with location ID. But the 'iprconfig show-config' command could not see all 
expected disks. Looking at the dmesg at the time of this command execution, all 
disks are not probed. On our system, only HDD disks are probed and SDD disks 
are not available.  

After some time, the dmesg shows the kernel found other disks. we are
seeing the same behavior even with kernel parameter 'scsi_mod.scan=sync'

So with this issue, user can not select some disks with automated installation. 
 
Contact Information = hb...@us.ibm.com 
 
---uname output---
14.10 release
 
Machine Type = Any power system with more disks 
 
---Debugger---
A debugger is not configured
 
---Steps to Reproduce---
 Select system which has more disks. Select last disk in automated installation
 
Install method: NFS
 
Install disk info: SDD
 
Install ISO Information: Ubuntu Utopia

== Comment: #3 - Haren Myneni <hb...@us.ibm.com> - 2015-01-07 21:42:54 ==
preseed file:

d-i partman/early_command string \
        mkdir /tmp/updates; cd  /tmp/updates; \
        wget -o /tmp/wget_log 
http://9.18.10.27/install/ppc/Ubuntu14_1410/preload_updates.tar.gz; \
        tar zxvf preload_updates.tar.gz; \
        /bin/sh /tmp/updates/preload/hooks/preseed/pre.sh;  \
        DISKA=; \
        debconf-set partman-auto/disk "$DISKA"; 

We execute ipcronfig comamnd as part of pre.sh. As we see in the log
file, only disks sda-sdf are listed.

(In reply to comment #6)
> (In reply to comment #5)
...
> But it is installer issue - means all disks should be probed first, then the
> installer should start downloading preseed file and execute
> partman/early-command. As  I mentioned before, 'scsi_mod.scan=sync' dis not
> solve the issue. Please note that even now we can install the default disk
> sda since it is already probed, but we should be able to select any disk for
> install which is requirement for preload  in manufacturing. 

== Comment: #8 - Haren Myneni <hb...@us.ibm.com> - 2015-01-16 11:40:32 ==
It is not the issue of not recognizing some disks. As you see in the final 
dmesg output, all disks are probed and recognized. But the issue here is only 
few are probed before the installer started. So the problem is why the 
installer started before probing all storage devices.

== Comment: #10 - Haren Myneni <hb...@us.ibm.com> - 2015-01-21 15:24:51 ==
As mentioned in the bug description, first dmesg was collected at the time of 
partman/early-command execution. It shows only sda-sdf disks are probed. We 
were attempting to install on sdh and set this disk as install disk with 
partman/early-command. Since the iprconfig command could not list sdh (since it 
is not probed at this time), the installer could not set this disk and then 
failed.

We collected the final dmesg later when we noticed the the failure. The
final dmesg shows all expected disks sda- sdl are probed and we verified
with iprconfig command.

So this issue could be timing of starting the installer before all
devices are probed. We should expect that the kernel boot should be
completed and then the installer should start.

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: architecture-ppc64le bugnameltc-120044 severity-high 
targetmilestone-inin---

** Tags added: architecture-ppc64le bugnameltc-120044 severity-high
targetmilestone-inin---

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1413687

Title:
  All disks are not showed at the time of partman/early-command
  execution

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1413687/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to