From: John Gay (johngay at domain eircom.net)
Date: Sat 25 Aug 2001 - 22:55:18 IST
I've tried your suggestions.
From the workstation I.E. the nbd server, the floppy and filesystem modules
are loaded and I can create a tar of /etc onto floppy just fine.
When I log into the ltsp server via the workstation I.E. the nbd client, I
can put the floppy into the server floppy drive and can list the contents of
the floppy with tar tf /dev/fd0 just fine. When I start the nbd-client
everything seems to work fine and the client connects to the server and I get
a brief flicker on the floppy drive of the workstation but when I try to list
the contents of the floppy in the workstation using tar tf
/home/jgay/.dev/fd0 the terminal window just hangs...
I tried running strace and I get a lot of stuff I don't understand I wonder
if anyone can make sense of it.
progeny:/home/jgay# strace tar tf /home/jgay/.dev/fd0
execve("/bin/tar", ["tar", "tf", "/home/jgay/.dev/fd0"], [/* 30 vars */]) = 0
uname({sys="Linux", node="progeny", ...}) = 0
brk(0) = 0x80689d0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40017000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory) open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(0x3, 0xbfffed1c) = 0
old_mmap(NULL, 34591, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\224\316"..., 1024) =
1024
fstat64(0x3, 0xbfffed64) = 0
old_mmap(NULL, 1093700, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40021000
mprotect(0x40122000, 41028, PROT_NONE) = 0
old_mmap(0x40122000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x100000) = 0x40122000
old_mmap(0x40129000, 12356, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40129000
close(3) = 0
munmap(0x40018000, 34591) = 0
getpid() = 611
time(NULL) = 998775791
brk(0) = 0x80689d0
brk(0x80689f8) = 0x80689f8
brk(0x8069000) = 0x8069000
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
brk(0x806b000) = 0x806b000
brk(0x806e000) = 0x806e000
open("/home/jgay/.dev/fd0", O_RDONLY|0x8000) = 3
fstat64(0x3, 0x8067e60) = 0
read(3,
This is exactly where it stops? I am guessing that something has crashed? The
person who has this working with his system says this can be cause by
permissions on /home/jgay/.dev/fd0 or the version of mount I'm using but
since this test bypasses the filesystem then that rules out mount as a
culprit. The permissions for /home/jgay/.dev/fd0 are exactly what was
recommended.
jgay at domain progeny:~$ ls -l .dev/fd0
brw-rw-rw- 1 root root 43, 0 Aug 3 09:26 .dev/fd0
I'm out of ideas here, so anything you can add would be a big plus!
Cheers,
John Gay
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:49 GMT