SUMMARY: ufsrestore coredumps on 2.6 x86

From: Orn Asgeirsson (orn@althingi.is)
Date: Mon Aug 24 1998 - 11:03:20 CDT


Solution:

Ufsrestore is statically linked and it doesn't work with DNS that way.
 
Add the tape host to /etc/hosts and make sure /etc/ is used before
DNS or use the IP address when calling ufsrestore.
 
It's bug #4123028
 
Thanks to Casper Dik and others.

Original question:
------------------

Solaris 2.6 x86 with all the latest patches. When I try to ufsdump a file system
to a Sparc 2.5 box with DLT 4000 box connected to it, it seems to work OK. But
when I try to run ufsrestore from the x86 to the Sparc box I get a coredump.
Truss follows.

I have never had problems before between this Sparc 2.5 box and other OSes on
the network: Sparc Solaris 2.5, 2.5.1, 2.6, 4.1.3 and Linux 2.0.33.

The x86 is a new Compaq Proliant 1600.

x86_host# truss ufsrestore ivfd sparc_host:/dev/nrst25

execve("/usr/sbin/ufsrestore", 0x080479F0, 0x08047A00) argc = 3
sysi86(SI86FPHW, 0x0812902C, 0x08047A58, 0x080480B1) = 0x00000000
brk(0x08129158) = 0
brk(0x0812B158) = 0
sigaction(SIGINT, 0x08047584, 0x080479D8) = 0
sigaction(SIGTERM, 0x08047584, 0x080479D8) = 0
brk(0x0812B158) = 0
brk(0x0813B158) = 0
seteuid(0) = 0
sigaction(SIGPIPE, 0x08047528, 0x00000000) = 0
open("/etc/netconfig", O_RDONLY) = 3
fstat64(3, 0x08046FEC) = 0
brk(0x0813B158) = 0
brk(0x0813D158) = 0
ioctl(3, TCGETA, 0x08046FC0) Err#25 ENOTTY
read(3, " #\n # T h e " N e t".., 8192) = 1064
read(3, 0x08139714, 8192) = 0
llseek(3, 0, SEEK_CUR) = 1064
llseek(3, 0, SEEK_SET) = 0
read(3, " #\n # T h e " N e t".., 8192) = 1064
read(3, 0x08139714, 8192) = 0
llseek(3, 0, SEEK_CUR) = 1064
close(3) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 3
fstat64(3, 0x080472EC) = 0
brk(0x0813D158) = 0
brk(0x0813F158) = 0
ioctl(3, TCGETA, 0x080472C0) Err#25 ENOTTY
read(3, " #\n # / e t c / n s s".., 8192) = 690
read(3, 0x0813C8E4, 8192) = 0
llseek(3, 0, SEEK_CUR) = 690
close(3) = 0
open("/etc/services", O_RDONLY) = 3
fstat64(3, 0x08047304) = 0
ioctl(3, TCGETA, 0x080472D8) Err#25 ENOTTY
read(3, " # i d e n t\t " @ ( # )".., 8192) = 2203
sysconfig(_CONFIG_PAGESIZE) = 4096
llseek(3, 0xFFFFFFFFFFFFFC68, SEEK_CUR) = 1283
close(3) = 0
getuid() = 0 [0]
open("/etc/passwd", O_RDONLY) = 3
fstat64(3, 0x08047380) = 0
ioctl(3, TCGETA, 0x08047354) Err#25 ENOTTY
read(3, " r o o t : x : 0 : 1 : S".., 8192) = 8192
llseek(3, 0xFFFFFFFFFFFFE021, SEEK_CUR) = 33
close(3) = 0
getpid() = 8028 [8027]
open("/etc/hosts", O_RDONLY) = 3
fstat64(3, 0x08047128) = 0
ioctl(3, TCGETA, 0x080470FC) Err#25 ENOTTY
read(3, " #\n # I n t e r n e t".., 8192) = 72
read(3, 0x0813C91C, 8192) = 0
llseek(3, 0, SEEK_CUR) = 72
close(3) = 0
sigfillset(0x08127768) = 0
    Incurred fault #1, FLTILL %pc = 0x08094C30
      siginfo: SIGILL ILL_ILLOPC addr=0x08094C30
    Received signal #4, SIGILL [default]
      siginfo: SIGILL ILL_ILLOPC addr=0x08094C30
        *** process killed ***

--
regards,
Orn Asgeirsson (orn@althingi.is)

Network adm., Dept. of Information and Technology Parliament of Iceland, 150 Reykjavik, Iceland tel. +354-563-0656, fax +354-563-0670



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:46 CDT