Re: multiple problems between r212316 and r212643 on ia64

2010-11-02 Thread Anton Shterenlikht
On Thu, Oct 21, 2010 at 09:44:58PM -0700, Marcel Moolenaar wrote:
 
 On Sep 16, 2010, at 3:57 AM, Anton Shterenlikht wrote:
  
  % man ls
  zcat: /usr/share/man/cat1/ls.1.gz already has .gz suffix -- unchanged
  % man man
  zcat: /usr/share/man/cat1/man.1.gz already has .gz suffix -- unchanged
  
  # cd /etc/mail
  # make start
  Starting: sendmail-submitmailwrapper: no mapping in /etc/mail/mailer.conf
  sendmail-clientmqueuemailwrapper: no mapping in /etc/mail/mailer.conf
  .
  # 
  
  # cd /usr/src
  # svn up
  svn: Can't open file '/usr/local/etc/subversion/servers': Illegal byte 
  sequence
  # 
  
 
 This is now fixed (revision 214194).

Yes, I've got r214196 and r214621 working fine on 2 different boxes.

many thanks
anton



-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: multiple problems between r212316 and r212643 on ia64

2010-10-22 Thread Kostik Belousov
On Thu, Oct 21, 2010 at 09:44:58PM -0700, Marcel Moolenaar wrote:
 
 On Sep 16, 2010, at 3:57 AM, Anton Shterenlikht wrote:
  
  % man ls
  zcat: /usr/share/man/cat1/ls.1.gz already has .gz suffix -- unchanged
  % man man
  zcat: /usr/share/man/cat1/man.1.gz already has .gz suffix -- unchanged
  
  # cd /etc/mail
  # make start
  Starting: sendmail-submitmailwrapper: no mapping in /etc/mail/mailer.conf
  sendmail-clientmqueuemailwrapper: no mapping in /etc/mail/mailer.conf
  .
  # 
  
  # cd /usr/src
  # svn up
  svn: Can't open file '/usr/local/etc/subversion/servers': Illegal byte 
  sequence
  # 
  
 
 This is now fixed (revision 214194).
 
 From the commit log:
 
  With r169630 I disabled symbol versioning because it broke rtld.  With
  r211706 rtld got broken for ia64  powerpc64.  It was fixed for powerpc64
  with r212497.  In between, r211749 removed the exports table because the
  version script handled the exports.  But wait, symbol versioning was
  disabled on ia64.
Doh.

 
  With exports controlled by the version script and symbol versioning
  disabled, all symbols are exported and too many symbols bind to the
  definition in rtld. Let's just say that waird things happen.
 
  So, enable symbol versioning on ia64 and apply a work-around for the
  SIGSEGV that triggered r169630 to begin with: when rtld relocates
  itself, it comes across r_debug_state and for some reason can't find the
  definition. This causes a failure, relocation aborts and null pointers
  galore. The work-around is to ignore the missing definition when rtld
  is relocating itself and keep going.
 
  Maybe with the next binutils this will all go away. Maybe not, in
  which case I still need to figure out why r_debug_state cannot be found.
 
  BTW: r_debug_state is in the symbol map -- I don't think any other rtld
  symbols that rtld references are in the symbol map...

Thank you for tracking it. I will wait for your merge of the revision
to RELENG_8 before synchronizing rtld with HEAD.


pgp5fJrf49oGf.pgp
Description: PGP signature


Re: multiple problems between r212316 and r212643 on ia64

2010-10-22 Thread Marcel Moolenaar

On Oct 22, 2010, at 12:52 AM, Kostik Belousov wrote:

 
 Thank you for tracking it. I will wait for your merge of the revision
 to RELENG_8 before synchronizing rtld with HEAD.

Ok. I'll try to MFC over the weekend. If you find yourself
waiting for me too long (in case I didn't do it over the
weekend), feel free to grab the revision and commit it to
-stable.

-- 
Marcel Moolenaar
xcl...@mac.com



___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: multiple problems between r212316 and r212643 on ia64

2010-10-21 Thread Marcel Moolenaar

On Sep 16, 2010, at 3:57 AM, Anton Shterenlikht wrote:
 
 % man ls
 zcat: /usr/share/man/cat1/ls.1.gz already has .gz suffix -- unchanged
 % man man
 zcat: /usr/share/man/cat1/man.1.gz already has .gz suffix -- unchanged
 
 # cd /etc/mail
 # make start
 Starting: sendmail-submitmailwrapper: no mapping in /etc/mail/mailer.conf
 sendmail-clientmqueuemailwrapper: no mapping in /etc/mail/mailer.conf
 .
 # 
 
 # cd /usr/src
 # svn up
 svn: Can't open file '/usr/local/etc/subversion/servers': Illegal byte 
 sequence
 # 
 

This is now fixed (revision 214194).

From the commit log:

 With r169630 I disabled symbol versioning because it broke rtld.  With
 r211706 rtld got broken for ia64  powerpc64.  It was fixed for powerpc64
 with r212497.  In between, r211749 removed the exports table because the
 version script handled the exports.  But wait, symbol versioning was
 disabled on ia64.

 With exports controlled by the version script and symbol versioning
 disabled, all symbols are exported and too many symbols bind to the
 definition in rtld. Let's just say that waird things happen.

 So, enable symbol versioning on ia64 and apply a work-around for the
 SIGSEGV that triggered r169630 to begin with: when rtld relocates
 itself, it comes across r_debug_state and for some reason can't find the
 definition. This causes a failure, relocation aborts and null pointers
 galore. The work-around is to ignore the missing definition when rtld
 is relocating itself and keep going.

 Maybe with the next binutils this will all go away. Maybe not, in
 which case I still need to figure out why r_debug_state cannot be found.

 BTW: r_debug_state is in the symbol map -- I don't think any other rtld
 symbols that rtld references are in the symbol map...

FYI,

-- 
Marcel Moolenaar
xcl...@mac.com



___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: multiple problems between r212316 and r212643 on ia64

2010-09-16 Thread Anton Shterenlikht
On Wed, Sep 15, 2010 at 02:23:26PM -0700, Marcel Moolenaar wrote:
 
 On Sep 15, 2010, at 8:23 AM, Anton Shterenlikht wrote:
 
  
  % man ls
  zcat: /usr/share/man/cat1/ls.1.gz already has .gz suffix -- unchanged
  % man man
  zcat: /usr/share/man/cat1/man.1.gz already has .gz suffix -- unchanged
  
  
  # cd /etc/mail
  # make start
  Starting: sendmail-submitmailwrapper: no mapping in /etc/mail/mailer.conf
  sendmail-clientmqueuemailwrapper: no mapping in /etc/mail/mailer.conf
  .
  # 
  
  # cd /usr/src
  # svn up
  svn: Can't open file '/usr/local/etc/subversion/servers': Illegal byte 
  sequence
  # 
  
 
 I think your file system is borked. Nonetheless, let me
 upgrade myself and see if I run onto it too.

I did fsck -f in single user mode - all seems fine:

# fsck -f
** /dev/da0p2
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
723993 files, 7874130 used, 20052947 free (87043 frags, 2495738 blocks, 0.3% fra
gmentation)

* FILE SYSTEM IS CLEAN *
#


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: multiple problems between r212316 and r212643 on ia64

2010-09-16 Thread Marcel Moolenaar

On Sep 16, 2010, at 3:57 AM, Anton Shterenlikht wrote:
 # cd /usr/src
 # svn up
 svn: Can't open file '/usr/local/etc/subversion/servers': Illegal byte 
 sequence
 # 
 
 
 I think your file system is borked. Nonetheless, let me
 upgrade myself and see if I run onto it too.
 
 I did fsck -f in single user mode - all seems fine:

I see the svn problem too. I've tried to find suspicious
commits, but only found commits to libthr that make me
uncomfortable. svn is threaded, though...

-- 
Marcel Moolenaar
xcl...@mac.com



___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


multiple problems between r212316 and r212643 on ia64

2010-09-15 Thread Anton Shterenlikht
I just rebuilt world and kernel from r212316 to r212643 on ia64.

man(1) doesn't work, I get:

% man ls
zcat: /usr/share/man/cat1/ls.1.gz already has .gz suffix -- unchanged
% man man
zcat: /usr/share/man/cat1/man.1.gz already has .gz suffix -- unchanged

and so on for any command.

sendmail doesn't work:

# cd /etc/mail
# make start
Starting: sendmail-submitmailwrapper: no mapping in /etc/mail/mailer.conf
 sendmail-clientmqueuemailwrapper: no mapping in /etc/mail/mailer.conf
.
# 

Rebooting with 212316 kernel doesn't change anything.

I cannot roll back to another revision because svn doesn't work:

# cd /usr/src
# svn up
svn: Can't open file '/usr/local/etc/subversion/servers': Illegal byte sequence
# 

I can build svn, but trying to install it, I get:

*skip*

/usr/bin/install -c -o root -g wheel -d 
/usr/local/share/locale/zh_TW/LC_MESSAGES
cd subversion/po ; /usr/bin/install -c -o root -g wheel -m 644 zh_TW.mo 
/usr/local/share/locale/zh_TW/LC_MESSAGES/subversion.mo
subversion/svnversion/svnversion . /repos/svn/trunk  
/usr/local/include/subversion-1/svn-revision.txt
svn: Can't open file '.svn/entries': Illegal byte sequence
*** Error code 1

Stop in /usr/ports/devel/subversion-freebsd/work/subversion-1.6.12.
*** Error code 1


In addition I get this in /var/log/messages:

init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs
ntpd[976]: select() error: Resource temporarily unavailable
last message repeated 29 times


Please advise

many thanks
anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: multiple problems between r212316 and r212643 on ia64

2010-09-15 Thread Marcel Moolenaar

On Sep 15, 2010, at 8:23 AM, Anton Shterenlikht wrote:

 
 % man ls
 zcat: /usr/share/man/cat1/ls.1.gz already has .gz suffix -- unchanged
 % man man
 zcat: /usr/share/man/cat1/man.1.gz already has .gz suffix -- unchanged
 
 
 # cd /etc/mail
 # make start
 Starting: sendmail-submitmailwrapper: no mapping in /etc/mail/mailer.conf
 sendmail-clientmqueuemailwrapper: no mapping in /etc/mail/mailer.conf
 .
 # 
 
 # cd /usr/src
 # svn up
 svn: Can't open file '/usr/local/etc/subversion/servers': Illegal byte 
 sequence
 # 
 

I think your file system is borked. Nonetheless, let me
upgrade myself and see if I run onto it too.

-- 
Marcel Moolenaar
xcl...@mac.com



___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org