Hi Jan, this issue doesn't happen always here. But sometimes the installer hangs about 1 minute while detecting the hard disk freezing the GUI completely. It seems to happen here only if the hard disk is completely uninitialized. I tested it also with 10 disks attached but they all had a partition with ZFS and the installer detected them immediately (the spinning circle didn't showed up).
The guest configuration is: RAM: 1024MB ACPI: enabled IO-APIC: disabled AMD-V/VT-x: disabled PAE/NX: disabled My host is a Dell Inspiron 1520 RAM: 4GB OS: 64bit Linux (Ubuntu Intrepid Ibex) I created a log of the installer with LS_DBG_LVL=4. It is attached to this mail. Kind regards, Alexander Eichner Am Dienstag, den 18.11.2008, 18:28 +0100 schrieb jan damborsky: > Hi Achim, > > > Achim Hasenmueller wrote: > > I can reproduce the iostat -En issue (SATA is reported as ATA). I am > > not sure that this is what's causing the installer to take several > > minutes discovering the SATA disk. > > It is unlikely this is the reason why you see > the installer hanging in disk discovery. > > I have upgraded from 2.0.2 to 2.0.4 and I am able to > boot LiveCD in VB guest with SATA disk attached - now > with VT-x/AMD-V enabled > (fix for http://www.virtualbox.org/ticket/2292 works fine) > and install on SATA drive. I didn't encounter delay during > the disk discovery phase as installer Disk screen was brought > up almost immediately. > > Then I tried several combinations of VT-x/AMD-V, IO APIC, > ... options and could see the delay when following configuration > was used: > > ACPI: Enabled > IO APIC: Disabled > VT-x/AMD-v: Disabled > PAE/NX: Enabled > > So it seems that the problem with hang might be specific > to particular host/guest configuration or/and VB version. > > Do you happen to know in which configuration you are seeing > the hang ? > Is there any difference if you enable 'IO APIC' or play > with other options ? > > Thank you, > Jan > > > > If it is, I'd strongly suggest to get the fix into 2008.11. > > > > Achim. > > > > On Nov 18, 2008, at 3:15 PM, jan damborsky wrote: > > > >> Hi Achim, Alexander, > >> > >> as far as problem seen in VirtualBox is concerned, could you please > >> provide more details about configuration you used when encountering > >> that issue (HW, host operating system, how much memory you > >> dedicated to the guest, other settings - VT-x/AMD-V,ACPI, ...) ? > >> > >> There were couple of SATA issues reported in 2.0.2, which are fixed > >> in 2.0.4: > >> > >> http://www.virtualbox.org/ticket/2292 > >> http://www.virtualbox.org/ticket/2182 > >> > >> I have tried to launch the installer on VB 2.0.2 guest (1GB memory) > >> with one SATA disk attached and I haven't seen that hang in disk > >> discovery - > >> Disk screen was displayed immediately. > >> I haven't tried the installation. > >> > >> I have used following configuration: > >> > >> host: > >> ----- > >> HW: Lenovo Thinkpad X61 (4GB RWM) > >> SW: OpenSolaris build 101a > >> VB: 2.0.2 > >> > >> guest: > >> ------ > >> base memory: 1024 MB > >> OS Type: OpenSolaris > >> ACPI: Enabled > >> IO APIC: Enabled > >> VT-x/AMD-v: disabled (workaround for bug 2292) > >> PAE/NX: Enabled > >> > >> > >> With respect to problems with SATA disk discovery hanging on bare metal, > >> do you happen to know, which HW configuration might be suffering > >> from this issue ? > >> > >> Thank you, > >> Jan > >> > >> > >> William Schumann wrote: > >>> There are two separate bugs that are addressing problems with > >>> library libdiskmgt correctly reporting type on SATA drives for real > >>> hardware: > >>> > >>> 6558646 DM_CTYPE attribute is set to "unknown" for SATA controllers > >>> handled by "sata" driver > >>> http://monaco.sfbay/detail.jsf?cr=6558646 > >>> > >>> auto-installer can not identify SATA disk type (most likely a > >>> duplicate of the former) > >>> http://defect.opensolaris.org/bz/show_bug.cgi?id=4387 > >>> > >>> The former has been in the 'accept' state since June. If libdiskmgt > >>> bugs are now affecting VirtualBox, they should perhaps be escalated > >>> (currently P3). > >>> > >>> I will inquire about status of fixes for libdiskmgt - they are not > >>> presently being handled by the install group. > >>> William Schumann > >>> > >>> Dave Miner wrote: > >>>> Vincent Murphy wrote: > >>>>> Achim, > >>>>> > >>>>> Best person to contact is Dave Miner - however, I would also send > >>>>> mail to indiana-eng as this may be a known issue. If not then > >>>>> raise a bug :-) > >>>>> > >>>> > >>>> Achim, Alexander: William Schumann on the install team is the best > >>>> person to work with on disk discovery issues; he's in Prague and > >>>> should be back in the office tomorrow since today's a holiday > >>>> there. I've copied him. > >>>> > >>>> I believe I've seen this issue, though I rarely have used SATA in > >>>> my vbox instances, and I'm not aware of any existing bug reports > >>>> related to it. > >>>> > >>>> Dave > >>>> > >>>>> Thanks > >>>>> Vincent > >>>>> > >>>>> On 11/17/08 12:46, Achim Hasenmueller wrote: > >>>>>> Hi Vincent, > >>>>>> > >>>>>> when installing OpenSolaris (2008.5 or .11) in a VirtualBox VM > >>>>>> with a SATA disk configured for the VM, the installer takes > >>>>>> several minutes to discover the disk. > >>>>>> > >>>>>> We have been trying to debug this from our end but without > >>>>>> success. Also we have found reports on the web about people > >>>>>> having the same issue with physical hardware. Therefore, we now > >>>>>> need help from the OS team. Who in your team could Alexander work > >>>>>> with? > >>>>>> > >>>>>> Thanks! > >>>>>> -- > >>>>>> Achim Hasenmueller > >>>>>> Director Engineering, VirtualBox > >>>>>> Sun Microsystems GmbH > >>>>>> Werkstrasse 24 > >>>>>> 71384 Weinstadt, Germany > >>>>>> phone: +49 7151 604050 > >>>>>> > >>>>>> > >>>>>> ================================================ > >>>>>> Sitz der Gesellschaft: Sun Microsystems GmbH, > >>>>>> Sonnenallee 1, 85551 Kirchheim-Heimstetten > >>>>>> Amtsgericht Muenchen: HRB 161028 > >>>>>> Geschaeftsfuehrer: Thomas Schroeder, > >>>>>> Wolfgang Engels, Dr. Roland Boehmer > >>>>>> Vorsitzender des Aufsichtsrates: Martin Haering > >>>>>> ================================================ > >>>>>> > >>>>>> > >>>>> > >>>> > >> > > > -------------- next part -------------- <OM Nov 16 23:26:03> Timezone setting will be TZ=UTC <OM Nov 16 23:26:03> Set timezone <TDDM_I Nov 16 23:26:03> -> ddm_get_disks() <TDDM_I Nov 16 23:26:03> Controller name: ide <TDDM_I Nov 16 23:26:03> Controller type: 1 <TDDM_I Nov 16 23:26:03> Drive name: sd <TDDM_I Nov 16 23:26:03> ddm_drive_is_cdrom(): Removable: Yes <TDDM_I Nov 16 23:26:03> ddm_drive_is_cdrom(): CD:Yes <TDDM_I Nov 16 23:26:03> Controller name: pciclass,010601 <TDDM_I Nov 16 23:26:03> Controller type: 13 <TDDM_I Nov 16 23:26:03> Drive name: sd <TDDM_I Nov 16 23:26:03> ddm_drive_is_cdrom(): Removable: No <TDDM_I Nov 16 23:26:03> ddm_drive_is_cdrom(): CD:No <TDDM_E Nov 16 23:26:03> ddm_drive_get_name(): Can't get alias name, err=9 <TDMG_I Nov 16 23:26:03> got disks nfound=1 <TDMG_I Nov 16 23:26:03> disks 0 nfound=1 <GUI:Gtk_W Nov 16 23:26:03> GtkSpinButton: setting an adjustment with non-zero page size is deprecated <GUI:Gtk_W Nov 16 23:26:03> GtkSpinButton: setting an adjustment with non-zero page size is deprecated <GUI:Gtk_W Nov 16 23:26:03> GtkSpinButton: setting an adjustment with non-zero page size is deprecated <GUI:Gtk_W Nov 16 23:26:03> GtkSpinButton: setting an adjustment with non-zero page size is deprecated <GUI:Gtk_W Nov 16 23:26:03> GtkSpinButton: setting an adjustment with non-zero page size is deprecated <GUI:Gtk_W Nov 16 23:26:03> GtkSpinButton: setting an adjustment with non-zero page size is deprecated <GUI:Gtk_W Nov 16 23:26:03> GtkSpinButton: setting an adjustment with non-zero page size is deprecated <GUI:Gtk_W Nov 16 23:26:03> GtkSpinButton: setting an adjustment with non-zero page size is deprecated <GUI:Gtk_W Nov 16 23:26:03> GtkSpinButton: setting an adjustment with non-zero page size is deprecated <OM_I Nov 16 23:26:03> Got image size: 2677943 <OM_I Nov 16 23:26:03> Size of physical memory: 1023 MiB <OM Nov 16 23:26:03> System reports enough physical memory for installation, swap is optional <GUI:Gtk_W Nov 16 23:26:03> GtkSpinButton: setting an adjustment with non-zero page size is deprecated <TDDM_I Nov 16 23:26:04> ddm_get_disk_attributes():Current bootdisk: c4t0d0 <TDDM_I Nov 16 23:26:13> ddm_conv_attr_list(): fdisk not in table <TDDM_I Nov 16 23:26:13> ddm_conv_attr_list(): start not in table <TDDM_I Nov 16 23:26:13> ddm_conv_attr_list(): naccessible not in table <TDDM_I Nov 16 23:26:13> ddm_conv_attr_list(): ncylinders not in table <TDDM_I Nov 16 23:26:13> ddm_conv_attr_list(): nphys_cylinders not in table <TDDM_I Nov 16 23:26:13> ddm_conv_attr_list(): nalt_cylinders not in table <TDDM_I Nov 16 23:26:13> ddm_conv_attr_list(): nactual_cylinders not in table <TDMG_I Nov 16 23:26:21> >>> discover partition by diskname=c4t0d0 <TDMG_I Nov 16 23:26:25> got partitions <TDMG_I Nov 16 23:26:25> got disks nfound=0 <TDMG_I Nov 16 23:26:25> >>> object count=0 <TDMG_I Nov 16 23:26:25> >>> discover partition by diskname=c4t0d0 <TDMG_I Nov 16 23:26:28> got slices <TDMG_I Nov 16 23:26:28> got disks nfound=4 <TDMG_I Nov 16 23:26:28> >>> object count=4 <TDMG_I Nov 16 23:26:28> >>> obj 0 handle=0x89e11a8 <TDDM_I Nov 16 23:26:28> ddm_conv_attr_list(): used_by not in table <TDDM_I Nov 16 23:26:28> ddm_conv_attr_list(): used_name not in table <TDDM_I Nov 16 23:26:28> ddm_get_slice_attributes(): Can't get last mntpt for /dev/dsk/c3t0d0s2 <TDMG_I Nov 16 23:26:28> obj=c3t0d0s2 search disk=c4t0d0 <TDMG_I Nov 16 23:26:28> >>> obj 1 handle=0x89e16a8 <TDDM_I Nov 16 23:26:28> ddm_get_slice_attributes(): Can't get last mntpt for /dev/dsk/c3t0d0s0 <TDMG_I Nov 16 23:26:28> obj=c3t0d0s0 search disk=c4t0d0 <TDMG_I Nov 16 23:26:28> >>> obj 2 handle=0x89e16d0 <TDDM_I Nov 16 23:26:36> ddm_get_slice_attributes(): Can't get last mntpt for /dev/dsk/c4t0d0s8 <TDMG_I Nov 16 23:26:36> obj=c4t0d0s8 search disk=c4t0d0 <TDMG_I Nov 16 23:26:36> >>> partition/slice 2 c4t0d0s8 NDISKS=1 <TDMG_I Nov 16 23:26:36> >>> partition/slice match 0 c4t0d0 c4t0d0s8 <TDMG_I Nov 16 23:26:36> >>> obj 3 handle=0x89e1298 <TDDM_I Nov 16 23:26:44> ddm_get_slice_attributes(): Can't get last mntpt for /dev/dsk/c4t0d0s2 <TDMG_I Nov 16 23:26:44> obj=c4t0d0s2 search disk=c4t0d0 <TDMG_I Nov 16 23:26:44> >>> partition/slice 3 c4t0d0s2 NDISKS=1 <TDMG_I Nov 16 23:26:44> >>> partition/slice match 1 c4t0d0 c4t0d0s2 <TDMG_I Nov 16 23:26:44> Opening /etc/mnttab... <TDDM_I Nov 16 23:26:44> ddm_conv_attr_list(): used_by not in table <TDDM_I Nov 16 23:26:44> ddm_conv_attr_list(): used_name not in table <TDDM_I Nov 16 23:26:44> ddm_get_slice_attributes(): Can't get last mntpt for /dev/dsk/c3t0d0s2 <TDDM_I Nov 16 23:26:44> ddm_get_slice_attributes(): Can't get last mntpt for /dev/dsk/c3t0d0s0 <TDDM_I Nov 16 23:26:52> ddm_get_slice_attributes(): Can't get last mntpt for /dev/dsk/c4t0d0s8 <TDDM_I Nov 16 23:26:53> ddm_get_slice_attributes(): Can't get last mntpt for /dev/dsk/c4t0d0s2 <TDMG_I Nov 16 23:26:53> executing /usr/sbin/zpool import <TDMG_I Nov 16 23:26:54> finishing td_be_list <TDMG_I Nov 16 23:26:54> td_discovery_release <TDDM_I Nov 16 23:26:54> -> ddm_free_handle_list() <TDDM_I Nov 16 23:26:54> -> ddm_free_handle_list() <TDDM_I Nov 16 23:26:54> -> ddm_free_handle_list() <TDMG_I Nov 16 23:26:54> td_discovery_release ends <GUI_I Nov 16 23:26:54> Can't find disks partitions on device: c4t0d0 <TDMG_I Nov 16 23:26:54> Opening /etc/mnttab... <TDDM_I Nov 16 23:26:54> ddm_conv_attr_list(): used_by not in table <TDDM_I Nov 16 23:26:54> ddm_conv_attr_list(): used_name not in table <TDDM_I Nov 16 23:26:54> ddm_get_slice_attributes(): Can't get last mntpt for /dev/dsk/c3t0d0s2 <TDDM_I Nov 16 23:26:54> ddm_get_slice_attributes(): Can't get last mntpt for /dev/dsk/c3t0d0s0 <TDDM_I Nov 16 23:26:55> ddm_get_slice_attributes(): Can't get last mntpt for /dev/dsk/c4t0d0s8 <TDDM_I Nov 16 23:26:56> ddm_get_slice_attributes(): Can't get last mntpt for /dev/dsk/c4t0d0s2 <TDMG_I Nov 16 23:26:56> executing /usr/sbin/zpool import <TDMG_I Nov 16 23:26:57> finishing td_be_list <GUI:Gtk_W Nov 16 23:26:57> GtkSpinButton: setting an adjustment with non-zero page size is deprecated <GUI:Gtk_W Nov 16 23:26:57> GtkSpinButton: setting an adjustment with non-zero page size is deprecated <GUI:Gtk_W Nov 16 23:26:57> GtkSpinButton: setting an adjustment with non-zero page size is deprecated <GUI:Gtk_W Nov 16 23:26:57> GtkSpinButton: setting an adjustment with non-zero page size is deprecated
