Re: w/uptime broken in stable

2018-04-16 Thread Christian Jachmann
Mon, Apr 16, 2018 at 06:47:43PM +0700, Eugene Grosbein :
> 16.04.2018 18:35, Christian Jachmann wrote:
> 
> > But on i386 it seems to be broken.
> 
> Why don't you rebuild src/usr/bin/w with debugging symbols, generate core and 
> show backtrace?
> 

Jes, here it is:

Core was generated by `w'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libkvm.so.7...Reading symbols from 
/usr/lib/debug//lib/libkvm.so.7.debug...done.
done.
Loaded symbols for /lib/libkvm.so.7
Reading symbols from /lib/libsbuf.so.6...Reading symbols from 
/usr/lib/debug//lib/libsbuf.so.6.debug...done.
done.
Loaded symbols for /lib/libsbuf.so.6
Reading symbols from /lib/libxo.so.0...Reading symbols from 
/usr/lib/debug//lib/libxo.so.0.debug...done.
done.
Loaded symbols for /lib/libxo.so.0
Reading symbols from /lib/libutil.so.9...Reading symbols from 
/usr/lib/debug//lib/libutil.so.9.debug...done.
done.
Loaded symbols for /lib/libutil.so.9
Reading symbols from /lib/libc.so.7...Reading symbols from 
/usr/lib/debug//lib/libc.so.7.debug...done.
done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /lib/libelf.so.2...Reading symbols from 
/usr/lib/debug//lib/libelf.so.2.debug...done.
done.
Loaded symbols for /lib/libelf.so.2
Reading symbols from /libexec/ld-elf.so.1...Reading symbols from 
/usr/lib/debug//libexec/ld-elf.so.1.debug...done.
done.
Loaded symbols for /libexec/ld-elf.so.1
#0  ifree (tsd=0x2800) at arena.h:799
799 return (*mapbitsp);
(gdb) bt
#0  ifree (tsd=0x2800) at arena.h:799
#1  0x28155316 in __free (ptr=0x280601ef) at tsd.h:716
#2  0x28095b07 in xo_do_emit_fields ()
at /usr/src/contrib/libxo/libxo/libxo.c:6419
#3  0x28093a1c in xo_do_emit (xop=, 
flags=, fmt=0x804ad4d "")
at /usr/src/contrib/libxo/libxo/libxo.c:6470
#4  0x28093b61 in xo_emit (fmt=0x804ad4d "")
at /usr/src/contrib/libxo/libxo/libxo.c:6541
#5  0x08049f50 in main (argc=, argv=)
at /usr/src/usr.bin/w/w.c:475
Current language:  auto; currently minimal
(gdb) 


I see, this is somewhere in libxo...

and only on i386.


--
Christian
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: w/uptime broken in stable

2018-04-16 Thread Christian Jachmann
Mon, Apr 16, 2018 at 03:41:44AM -0700, David Wolfskill :
> On Mon, Apr 16, 2018 at 09:00:32AM +0200, Christian Jachmann wrote:
> > Hello List,
> > 
> > seems that w and uptime are broken in 11.* since last week.
> > 
> > 
> > $uname -a
> > FreeBSD hurx.thc 11.1-STABLE FreeBSD 11.1-STABLE #16 r332505M: Sun Apr 15 
> > 14:22:38 CEST 2018 jachm...@hurx.thc:/usr/obj/usr/src/sys/MY2  i386
> > $w
> > Segmentation fault
> > $uptime
> > Segmentation fau
> > 
> > 
> > maybe there is s.th. with libxo... no idea.
> > 
> > --
> > Christian Jachmann
> > 
> 
> That is not my experience:
> 
> albert(11.1-S)[1] uname -a
> FreeBSD albert.catwhisker.org 11.1-STABLE FreeBSD 11.1-STABLE #614  
> r332507M/332511:1101515: Sun Apr 15 03:49:51 PDT 2018 
> r...@freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/ALBERT  amd64
> albert(11.1-S)[2] uptime
>  3:40AM  up 23:02, 21 users, load averages: 0.19, 0.15, 0.17
> albert(11.1-S)[3] w | head -5
>  3:40AM  up 23:02, 21 users, load averages: 0.16, 0.14, 0.17
> USER   TTY  FROM  LOGIN@  IDLE 
> WHAT
> david  pts/1g1-215.catwhisker.orgSun04AM - 
> tmu 
> david  pts/2tmux(957).%0 Sun04AM - vi
> david  pts/3g1-215.catwhisker.orgSun04AM 17:18 
> tmu 
> albert(11.1-S)[4] 
> 
> Peace,
> david

Jes :

On AMD64 everything is ok.

[jachmann@thematrix ~]$ w
 1:33PM  up 4 mins, 1 user, load averages: 0.23, 0.37, 0.19
USER   TTY  FROM  LOGIN@  IDLE WHAT
jachmann   pts/0hurx  1:33PM - w
[jachmann@thematrix ~]$ uptime 
 1:33PM  up 4 mins, 1 user, load averages: 0.21, 0.36, 0.19
[jachmann@thematrix ~]$ uname -a
FreeBSD thematrix 11.1-STABLE FreeBSD 11.1-STABLE #19 r332554M: Mon Apr 16 
11:03:31 CEST 2018 jachmann@thematrix:/usr/obj/usr/src/sys/MY  amd64
[jachmann@thematrix ~]$ 



But on i386 it seems to be broken.

--
Christian
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


w/uptime broken in stable

2018-04-16 Thread Christian Jachmann
Hello List,

seems that w and uptime are broken in 11.* since last week.


$uname -a
FreeBSD hurx.thc 11.1-STABLE FreeBSD 11.1-STABLE #16 r332505M: Sun Apr 15 
14:22:38 CEST 2018 jachm...@hurx.thc:/usr/obj/usr/src/sys/MY2  i386
$w
Segmentation fault
$uptime
Segmentation fau


maybe there is s.th. with libxo... no idea.

--
Christian Jachmann
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


3.4-Stable crashes..(heavy diskio+networking)

2000-03-22 Thread Christian Jachmann
1003_1b.delaytimer_max: 0
p1003_1b.mq_open_max: 0
p1003_1b.pagesize: 4096
p1003_1b.rtsig_max: 0
p1003_1b.sem_nsems_max: 0
p1003_1b.sem_value_max: 0
p1003_1b.sigqueue_max: 0
p1003_1b.timer_max: 0

here is dmesg:
--
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights
reserved.
FreeBSD 3.4-STABLE #0: Tue Mar 21 22:33:28 CET 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/MY
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 451024885 Hz
CPU: Pentium III (451.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
 
Features=0x383f9ff>
real memory  = 805306368 (786432K bytes)
avail memory = 780439552 (762148K bytes)
Preloaded elf kernel "kernel" at 0xc024.
Pentium Pro MTRR support enabled
Probing for devices on PCI bus 0:
chip0:  rev 0x03 on pci0.0.0
chip1:  rev 0x03 on pci0.1.0
chip2:  rev 0x02 on pci0.4.0
chip3:  rev 0x02 on pci0.4.3
fxp0:  rev 0x08 int a irq 12 on
pci0.9.0
fxp0: Ethernet address 00:90:27:9d:1f:1f
ncr0:  rev 0x02 int a irq 10 on pci0.11.0
Probing for devices on PCI bus 1:
vga0:  rev 0x5c int a irq 11 on
pci1.0.0
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
vga0 at 0x3b0-0x3df maddr 0xa msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
Waiting 3 seconds for SCSI devices to settle
changing root device to da0s1a
da0 at ncr0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing
Enabled
da0: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C)
da1 at ncr0 bus 0 target 1 lun 0
da1:  Fixed Direct Access SCSI-2 device 
da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing
Enabled
da1: 34732MB (71132960 512 byte sectors: 255H 63S/T 4427C)
WARNING: / was not properly dismounted
Start pid=2 
Start pid=3 
Start pid=4 


Kernel config:
--
machine "i386"
cpu "I686_CPU"
ident   MY
maxusers512
options INET#InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep
this!]
options MFS #Memory Filesystem
options PROCFS  #Process filesystem
options "COMPAT_43" #Compatible with BSD 4.3 [KEEP
THIS!]
options SCSI_DELAY=3000 #Be pessimistic about Joe SCSI
device
options FAILSAFE#Be conservative
options KTRACE  #ktrace(1) syscall trace support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores

config  kernel  root on da0

controller  isa0
controller  pci0

controller  fdc0at isa? port "IO_FD1" bio irq 6 drq 2
diskfd0 at fdc0 drive 0

controller  ncr0# NCR/Symbios Logic
controller  scbus0  # SCSI bus (required)
device  da0 # Direct Access (disks)
device  pass0   # Passthrough device (direct SCSI)

controller  atkbdc0 at isa? port IO_KBD tty
device  atkbd0  at isa? tty irq 1
device  vga0at isa? port ? conflicts
device  sc0 at isa? tty

device  npx0at isa? port IO_NPX irq 13

device  sio0at isa? port "IO_COM1" flags 0x10 tty irq 4
device  sio1at isa? port "IO_COM2" tty irq 3


device  fxp0# Intel EtherExpress PRO/100B (82557,
82558)

pseudo-device   loop# Network loopback
pseudo-device   ether   # Ethernet support
pseudo-device   pty 16  # Pseudo-ttys (telnet etc)
pseudo-device   bpfilter 4  #Berkeley packet filter

options DDB
options     DDB_UNATTENDED
options DIAGNOSTIC

options NMBCLUSTERS=26112

--


BYe
--
Christian Jachmann
GIGABELL AG - Technik
++49 69 17084-0


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message