Re: 10.0-BETA1 i386 on VirtualBox

2013-11-05 Thread Boris Bobrov
В сообщении от Tuesday 05 of November 2013 11:06:09 Gleb написал:
 On Tue, Nov 05, 2013 at 09:02:22AM +0200, Konstantin Belousov wrote:
 K First, all reported instances have ata attachment for the ada0,
 except K of milu (possibly). So this means that kernel does transient
 remapping, K and very different code path is executed comparing with
 what I thought K initially. The path is simpler than the pure
 unmapped i/o.
 K
 K Second, I use QEMU with the ata0 attachment for the disks regularly,
 and K I do not have an issue.  I also did not see a report from the
 real h/w. K
 K Third point is that all reports are i386.  Is there anybody with
 amd64, K vbox, ata and the same corruption hiddent by disabling
 unmapped i/o ? K
 K In what way the non-working images were installed ?  Is it possible
 to K produce the problematic installs by doing it one way, and
 non-problematic K by another ?
 
 The only known way to get FreeBSD working is to turn off unmapped io
 in loader. Any tweaking of hardware in VB or changes in the install
 process do not affect.

Disabling VT-x in VB helps too.

-- 
С наилучшими пожеланиями, 
Boris


signature.asc
Description: This is a digitally signed message part.


Re: 10.0-BETA1 i386 on VirtualBox

2013-11-03 Thread Boris Bobrov
В сообщении от Sunday 03 of November 2013 13:54:20 Maciej написал:
 On 02.11.2013 08:06, Boris Bobrov wrote:
  В сообщении от Thursday 31 of October 2013 17:54:32 Gleb написал:
  On Thu, Oct 31, 2013 at 05:48:43PM +0400, Gleb Smirnoff wrote:
  T B 1. The bug disappeares if I disable VT-x/AMD-V in my virtual
  machine T B settings (Settings - System - Acceleration) and
  appeares if I enable it T B (thanks to Gleb for inspiration
  yesterday). It disappeares everywhere, on T B all revisions.
  T B
  T B 2. r244315 seems to be not buggy even with VT-x enabled. So we
  have to T B look somewhere between r244315 and r248935.
  T
  T Good news! Thanks Boris.
  T
  T Can you track this down to a particular revision?
  
  I have suspision that it is very close to the bhyve checkin:
  
  
  --- - r245652 | neel | 2013-01-19 08:18:52 +0400 (сб, 19 янв 2013) |
  9 lines
  
  Merge projects/bhyve to head.
  
  'bhyve' was developed by grehan@ and myself at NetApp (thanks!).
  
  Special thanks to Peter Snyder, Joe Caradonna and Michael Dexter for
  their support and encouragement.
  
  Obtained from:  NetApp
  
  
  --- -
  
  since this is the code that started to utilize VT-x.
  
  Can you please check this revision and -1 revision to it?
  
  r245652 is not buggy.
 
 I traced this down to r248521:
 svn log -r248521
 ---
 - r248521 | kib | 2013-03-19 16:08:15 +0100 (Tue, 19 Mar 2013) | 5
 lines
 
 UFS support of the unmapped i/o for the user data buffers.
 
 Sponsored by:   The FreeBSD Foundation
 Tested by:  pho, scottl, jhb, bf
 
 ---
 -
 
 The last working revision is 248520.

Yes, I confirm that.

-- 
С наилучшими пожеланиями, 
Boris


signature.asc
Description: This is a digitally signed message part.


Re: 10.0-BETA1 i386 on VirtualBox

2013-11-02 Thread Boris Bobrov
В сообщении от Thursday 31 of October 2013 17:54:32 Gleb написал:
 On Thu, Oct 31, 2013 at 05:48:43PM +0400, Gleb Smirnoff wrote:
 T B 1. The bug disappeares if I disable VT-x/AMD-V in my virtual
 machine T B settings (Settings - System - Acceleration) and
 appeares if I enable it T B (thanks to Gleb for inspiration
 yesterday). It disappeares everywhere, on T B all revisions.
 T B
 T B 2. r244315 seems to be not buggy even with VT-x enabled. So we
 have to T B look somewhere between r244315 and r248935.
 T
 T Good news! Thanks Boris.
 T
 T Can you track this down to a particular revision?
 
 I have suspision that it is very close to the bhyve checkin:
 
 ---
 - r245652 | neel | 2013-01-19 08:18:52 +0400 (сб, 19 янв 2013) | 9
 lines
 
 Merge projects/bhyve to head.
 
 'bhyve' was developed by grehan@ and myself at NetApp (thanks!).
 
 Special thanks to Peter Snyder, Joe Caradonna and Michael Dexter for
 their support and encouragement.
 
 Obtained from:  NetApp
 
 ---
 -
 
 since this is the code that started to utilize VT-x.
 
 Can you please check this revision and -1 revision to it?

r245652 is not buggy.

-- 
С наилучшими пожеланиями, 
Boris


signature.asc
Description: This is a digitally signed message part.


Re: 10.0-BETA1 i386 on VirtualBox

2013-10-31 Thread Boris Bobrov
В сообщении от Thursday 31 of October 2013 13:49:38 Gleb написал:
 I have analyzed dmesgs from Boris, Maciej and mine VS a dmesg from box
 where 10.0-BETA2 i386 works flawlessly in VB. I failed to find any
 clue.
 
 It looks like we need Boris or Maciej to perform binary search through
 last two years of head development. :(

20130330-r248935 is buggy, so I've cut 7 months.

I am not sure how to perform the search. snv up -r, build, copy to mounted 
.vdi, test? Or install 9.2 and start from there?

Should I checkout base repository or something else/more?

-- 
С наилучшими пожеланиями, 
Boris


signature.asc
Description: This is a digitally signed message part.


Re: 10.0-BETA1 i386 on VirtualBox

2013-10-31 Thread Boris Bobrov
В сообщении от Thursday 31 of October 2013 16:02:20 Maciej написал:
 On 31.10.2013 01:08, Boris Bobrov wrote:
  В сообщении от Thursday 31 of October 2013 02:01:41 Boris написал:
  В сообщении от Tuesday 29 of October 2013 15:09:57 Gleb написал:
Hello,

[adding Boris to Cc, who reported same issue in private email]
  
  On Thu, Oct 24, 2013 at 05:16:15PM +0200, Maciej Milewski wrote:
  M I've encountered problems with installing FreeBSD-10.0-BETA1
  i386 under M VirtualBox.
  M The problem is with setting/changing root password during
  install M process. After entering password twice there is:
  M
  M passwd: pam_chauthtok(): error in service module
  M
  M Then there shows pwd_mkdb.core in current directory.
  M The same VirtualBox machine has no problems with installing
  M FreeBSD-9.2-RELEASE
  M
  M Has anyone any clues?
  
  I failed to reproduce this with FreeBSD-10.0-BETA2 i386 image :(
  It installed and booted successfully.
  
  Here is my host environment:
  
  glebius@think:~:|pkg info -x virtual
  virtualbox-ose-4.2.18_1
  virtualbox-ose-kmod-4.2.18
  glebius@think:~:|uname -a
  FreeBSD think.nginx.com 11.0-CURRENT FreeBSD 11.0-CURRENT #13
  r257045: Thu Oct 24 15:16:04 MSK 2013
  gleb...@think.nginx.com:/usr/obj/usr/src/head/sys/THINKPAD_X1 
  amd64
  
  When trying to reproduce I used VirtualBox GUI and choosed defaults
  in every dialog window.
  
  Boris and Maciej, if you use non-default configuration, can you
  please provide more details?
  
  Hi.
  
  Can any of you suggest a way to reproduce the bug on a livecd
  reliably?
  
  I'll rephrase that:
  
  Can anybody suggest a way to reproduce the bug on a livecd reliably,
  if you ever met the bug before?
 
 Boris what error do you have on the livecd?
 tail /var/log/messages ? I see some oddity in view /var/log/messages:
 ^@ at the end
 The same file copied through disk - network shows no ^@ at the end.
 As /var and /tmp ar on md0/md1 I suspect some kind of memory
 corruption.

When I do less /var/log/messages, less fails with segmentation fault. 
It happens on BETA1 and BETA2, but not on older 10.0 releases.

-- 
С наилучшими пожеланиями, 
Boris


signature.asc
Description: This is a digitally signed message part.


Re: 10.0-BETA1 i386 on VirtualBox

2013-10-31 Thread Boris Bobrov
В сообщении от Tuesday 29 of October 2013 15:09:57 вы написали:
   Hello,
 
   [adding Boris to Cc, who reported same issue in private email]
 
 On Thu, Oct 24, 2013 at 05:16:15PM +0200, Maciej Milewski wrote:
 M I've encountered problems with installing FreeBSD-10.0-BETA1 i386
 under M VirtualBox.
 M The problem is with setting/changing root password during install
 M process. After entering password twice there is:
 M
 M passwd: pam_chauthtok(): error in service module
 M
 M Then there shows pwd_mkdb.core in current directory.
 M The same VirtualBox machine has no problems with installing
 M FreeBSD-9.2-RELEASE
 M
 M Has anyone any clues?
 
 I failed to reproduce this with FreeBSD-10.0-BETA2 i386 image :(
 It installed and booted successfully.
 ...
 Boris and Maciej, if you use non-default configuration, can you please
 provide more details?

Two good news!

1. The bug disappeares if I disable VT-x/AMD-V in my virtual machine 
settings (Settings - System - Acceleration) and appeares if I enable it 
(thanks to Gleb for inspiration yesterday). It disappeares everywhere, on 
all revisions.

2. r244315 seems to be not buggy even with VT-x enabled. So we have to 
look somewhere between r244315 and r248935.


-- 
С наилучшими пожеланиями, 
Boris


signature.asc
Description: This is a digitally signed message part.


Re: 10.0-BETA1 i386 on VirtualBox

2013-10-30 Thread Boris Bobrov
В сообщении от Tuesday 29 of October 2013 15:09:57 Gleb написал:
   Hello,
 
   [adding Boris to Cc, who reported same issue in private email]
 
 On Thu, Oct 24, 2013 at 05:16:15PM +0200, Maciej Milewski wrote:
 M I've encountered problems with installing FreeBSD-10.0-BETA1 i386
 under M VirtualBox.
 M The problem is with setting/changing root password during install
 M process. After entering password twice there is:
 M
 M passwd: pam_chauthtok(): error in service module
 M
 M Then there shows pwd_mkdb.core in current directory.
 M The same VirtualBox machine has no problems with installing
 M FreeBSD-9.2-RELEASE
 M
 M Has anyone any clues?
 
 I failed to reproduce this with FreeBSD-10.0-BETA2 i386 image :(
 It installed and booted successfully.
 
 Here is my host environment:
 
 glebius@think:~:|pkg info -x virtual
 virtualbox-ose-4.2.18_1
 virtualbox-ose-kmod-4.2.18
 glebius@think:~:|uname -a
 FreeBSD think.nginx.com 11.0-CURRENT FreeBSD 11.0-CURRENT #13 r257045:
 Thu Oct 24 15:16:04 MSK 2013
 gleb...@think.nginx.com:/usr/obj/usr/src/head/sys/THINKPAD_X1  amd64
 
 When trying to reproduce I used VirtualBox GUI and choosed defaults
 in every dialog window.
 
 Boris and Maciej, if you use non-default configuration, can you please
 provide more details?

Hi.

Can any of you suggest a way to reproduce the bug on a livecd reliably?

-- 
С наилучшими пожеланиями, 
Boris


signature.asc
Description: This is a digitally signed message part.


Re: 10.0-BETA1 i386 on VirtualBox

2013-10-30 Thread Boris Bobrov
В сообщении от Thursday 31 of October 2013 02:01:41 Boris написал:
 В сообщении от Tuesday 29 of October 2013 15:09:57 Gleb написал:
Hello,

[adding Boris to Cc, who reported same issue in private email]
  
  On Thu, Oct 24, 2013 at 05:16:15PM +0200, Maciej Milewski wrote:
  M I've encountered problems with installing FreeBSD-10.0-BETA1 i386
  under M VirtualBox.
  M The problem is with setting/changing root password during install
  M process. After entering password twice there is:
  M
  M passwd: pam_chauthtok(): error in service module
  M
  M Then there shows pwd_mkdb.core in current directory.
  M The same VirtualBox machine has no problems with installing
  M FreeBSD-9.2-RELEASE
  M
  M Has anyone any clues?
  
  I failed to reproduce this with FreeBSD-10.0-BETA2 i386 image :(
  It installed and booted successfully.
  
  Here is my host environment:
  
  glebius@think:~:|pkg info -x virtual
  virtualbox-ose-4.2.18_1
  virtualbox-ose-kmod-4.2.18
  glebius@think:~:|uname -a
  FreeBSD think.nginx.com 11.0-CURRENT FreeBSD 11.0-CURRENT #13
  r257045: Thu Oct 24 15:16:04 MSK 2013
  gleb...@think.nginx.com:/usr/obj/usr/src/head/sys/THINKPAD_X1  amd64
  
  When trying to reproduce I used VirtualBox GUI and choosed defaults
  in every dialog window.
  
  Boris and Maciej, if you use non-default configuration, can you
  please provide more details?
 
 Hi.
 
 Can any of you suggest a way to reproduce the bug on a livecd reliably?

I'll rephrase that:

Can anybody suggest a way to reproduce the bug on a livecd reliably, if 
you ever met the bug before?

-- 
С наилучшими пожеланиями, 
Boris


signature.asc
Description: This is a digitally signed message part.