Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Sep 1998 10:45:17 -0300
From:      "Fernando P. Schapachnik" <fpscha@admin-red1.sminter.com.ar>
To:        questions@FreeBSD.ORG
Subject:   su leads to Segmentation violation in 2.2.7
Message-ID:  <35EBFA6D.9F88E98A@sminter.com.ar>

next in thread | raw e-mail | index | archive | help
Hello:
    I've just installed 2.2.7 from CDROM in a brand new machine.
Everything worked fine, when I try to su root from another account, I
get:

Script started on Tue Sep  1 10:06:48 1998
% id
uid=1002(fpscha) gid=1001(administradores) groups=1001(administradores),
0(wheel)
% uname -a
FreeBSD myname.my.domain 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE #0: Wed Jul
22 08:48:29 GMT 1998
root@builder.cdrom.com:/usr/src/sys/compile/GENERIC  i386
% dmesg
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.7-RELEASE #0: Wed Jul 22 08:48:29 GMT 1998
    root@builder.cdrom.com:/usr/src/sys/compile/GENERIC
CPU: Pentium II (quarter-micron) (267.27-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x650  Stepping=0

Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,<b16>,<b17>,MMX,<b24>>

real memory  = 134217728 (131072K bytes)
avail memory = 128913408 (125892K bytes)
Probing for devices on PCI bus 0:
chip0 <generic PCI bridge (vendor=8086 device=7180 subclass=0)> rev 3 on
pci0:0:0
chip1 <generic PCI bridge (vendor=8086 device=7181 subclass=4)> rev 3 on
pci0:1:0
chip2 <Intel 82371AB PCI-ISA bridge> rev 2 on pci0:4:0
chip3 <Intel 82371AB IDE interface> rev 1 on pci0:4:1
chip4 <Intel 82371AB USB interface> rev 1 int d irq 9 on pci0:4:2
chip5 <Intel 82371AB Power management controller> rev 2 on pci0:4:3
Probing for devices on PCI bus 1:
vga0 <VGA-compatible display device> rev 243 int a irq ?? on pci1:1:0
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
lpt1 at 0x378-0x37f on isa
lpt1 not probed due to I/O address conflict with lpt0 at 0x378
mse0 not found at 0x23c
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <ST34321A>
wd0: 4103MB (8404830 sectors), 8894 cyls, 15 heads, 63 S/T, 512 B/S
wdc0: unit 1 (atapi): <  34X CD-ROM/VER 1.D1>, removable, accel, dma,
iordy
wcd0: 343/3781Kb/sec, 128Kb cache, audio play, 255 volume levels,
ejectable tray
wcd0: no disc inside, unlocked
wdc1 not found at 0x170
aha0 not found at 0x330
aic0 not found at 0x340
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
apm0 on isa
apm: found APM BIOS version 1.1
WARNING: / was not properly dismounted.
pid 301 (su), uid 0: exited on signal 11
pid 1453 (su), uid 0: exited on signal 11
pid 1457 (su), uid 0: exited on signal 11
% su
Segmentation fault
% ktrace su
Segmentation fault
% kdump
  1467 ktrace   RET   ktrace 0
  1467 ktrace   CALL  readlink(0x2006e62a,0xefbfd7b0,0x3f)
  1467 ktrace   NAMI  "/etc/malloc.conf"
  1467 ktrace   RET   readlink -1 errno 2 No such file or directory
  1467 ktrace   CALL  mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0)
  1467 ktrace   RET   mmap 536985600/0x2001c000
  1467 ktrace   CALL  break(0x5000)
  1467 ktrace   RET   break 0
  1467 ktrace   CALL  break(0x6000)
  1467 ktrace   RET   break 0
  1467 ktrace   CALL  execve(0xefbfd8bc,0xefbfdd7c,0xefbfdd84)
  1467 ktrace   NAMI  "/sbin/su"
  1467 ktrace   RET   execve -1 errno 2 No such file or directory
  1467 ktrace   CALL  execve(0xefbfd8bc,0xefbfdd7c,0xefbfdd84)
  1467 ktrace   NAMI  "/bin/su"
  1467 ktrace   RET   execve -1 errno 2 No such file or directory
  1467 ktrace   CALL  execve(0xefbfd8bc,0xefbfdd7c,0xefbfdd84)
  1467 ktrace   NAMI  "/usr/sbin/su"
  1467 ktrace   RET   execve -1 errno 2 No such file or directory
  1467 ktrace   CALL  execve(0xefbfd8bc,0xefbfdd7c,0xefbfdd84)
  1467 ktrace   NAMI  "/usr/bin/su"
% exit
% exit

Script done on Tue Sep  1 10:08:09 1998

    Any ideas? Please reply to me.

TIA

Fernando P. Schapachnik
Administración de la red
S&M International SA


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35EBFA6D.9F88E98A>