From owner-freebsd-questions Tue Sep 1 06:40:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA13703 for freebsd-questions-outgoing; Tue, 1 Sep 1998 06:40:57 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns1.sminter.com.ar (ns1.sminter.com.ar [200.10.100.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA13674 for ; Tue, 1 Sep 1998 06:40:53 -0700 (PDT) (envelope-from fpscha@sminter.com.ar) Received: from sminter.com.ar (admsrv01.sminter.com.ar [200.10.100.6]) by ns1.sminter.com.ar (8.8.5/8.8.4) with ESMTP id KAA12170 for ; Tue, 1 Sep 1998 10:39:17 -0300 (GMT) Message-ID: <35EBFA6D.9F88E98A@sminter.com.ar> Date: Tue, 01 Sep 1998 10:45:17 -0300 From: "Fernando P. Schapachnik" Reply-To: fpscha@sminter.com.ar X-Mailer: Mozilla 4.05 [en] (WinNT; I) MIME-Version: 1.0 Followup-To: fpscha@sminter.com.ar To: questions@FreeBSD.ORG Subject: su leads to Segmentation violation in 2.2.7 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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,,MMX,> real memory = 134217728 (131072K bytes) avail memory = 128913408 (125892K bytes) Probing for devices on PCI bus 0: chip0 rev 3 on pci0:0:0 chip1 rev 3 on pci0:1:0 chip2 rev 2 on pci0:4:0 chip3 rev 1 on pci0:4:1 chip4 rev 1 int d irq 9 on pci0:4:2 chip5 rev 2 on pci0:4:3 Probing for devices on PCI bus 1: vga0 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): 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