I've found out the reason for the fork ........
[barrabas:/usr1/utils]# cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0300-030f : 3c509
0376-0376 : ide1
======================
0378-037a : parport0
======================
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
======================
0778-077a : parport0
======================
strace -f -s 256 lpd shows it's trying /dev/lp1 which doesn't exist, the strace
had to be ^C out of at the suspend. Looks like I shall have to have a look at
the sources to see why it's doing this, it's not looking for /dev/lp0.
Regards
--
... Sid Boyce...Amdahl(Europe)...44-121 422 0375
-----------------------------------
Any opinions expressed above are mine and do not necessarily represent
the opinions or policies of Amdahl Corporation.
--------------295B1B7D29BB9717C47CF814
Content-Type: text/plain; charset=us-ascii; name="lpd_out"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="lpd_out"
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40007000
mprotect(0x40000000, 21025, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x8048000, 35547, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
stat("", {st_mode=S_IFREG|0644, st_size=35933, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
mmap(0, 35933, PROT_READ, MAP_SHARED, 3, 0) = 0x40008000
close(3) = 0
stat("/etc/ld.so.preload", 0xbffff328) = -1 ENOENT (No such file or directory)
open("/usr/lib/qt/lib/libc.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/rvplayer5.0/libc.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.5", 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\0000*\1\0004\0\0\0\30.\24\0\0\0\0\0004\0 \0\3\0(\0\34\0\31\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\177x\10\0\177x\10\0\5\0\0\0\0\20\0\0\1\0\0\0\200x\10\0\200\210\10\0\200\210\10\0\340J\0\0\314u\3\0\6\0\0\0\0\20\0\0\2"..., 4096) = 4096
mmap(0, 786432, PROT_NONE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40011000
mmap(0x40011000, 555135, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40011000
mmap(0x40099000, 21344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x87000) = 0x40099000
mmap(0x4009f000, 204364, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|0x20, 4294967295, 0) = 0x4009f000
close(3) = 0
mprotect(0x40011000, 555135, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
munmap(0x40008000, 35933) = 0
mprotect(0x8048000, 35547, PROT_READ|PROT_EXEC) = 0
mprotect(0x40011000, 555135, PROT_READ|PROT_EXEC) = 0
mprotect(0x40000000, 21025, PROT_READ|PROT_EXEC) = 0
SYS_136(0, 0x1, 0x4, 0x40006394, 0x8049910) = 0
geteuid() = 0
getuid() = 0
getgid() = 0
getegid() = 0
uname({sys="Linux", node="barrabas", ...}) = 0
fork() = 24259
[pid 24258] _exit(0) = ?
setsid() = 24259
chdir("/lib/libc.so.5") = 0
open("/dev/null", O_RDWR) = 3
dup2(3, 0) = 0
dup2(3, 1) = 1
dup2(3, 2) = 2
close(3) = 0
umask(0) = 02
open("/var/run/lpd.pid", O_WRONLY|O_CREAT, 0644) = 3
SYS_143(0x3, 0x6, 0x3, 0x3, 0) = 0
ftruncate(3, 0) = 0
getpid() = 24259
write(3, "24259\n", 6) = 6
sigaction(SIGCHLD, {SIG_IGN}, {SIG_DFL}) = 0
brk(0x80535c8) = 0x80535c8
brk(0x8054000) = 0x8054000
open("/etc/printcap", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=2240, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40008000
read(4, "#\n# Copyright (c) 1983 Regents of the University of California.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms are permitted\n# provided that this notice is preserved and that due credit is given\n# to the University of Ca"..., 4096) = 2240
fork() = 24260
[pid 24259] read(4, "", 4096) = 0
[pid 24259] close(4) = 0
[pid 24259] munmap(0x40008000, 4096) = 0
[pid 24259] unlink("/dev/printer") = 0
[pid 24259] socket(PF_UNIX, SOCK_STREAM, , 0) = 4
[pid 24259] sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM], []) = 0
[pid 24259] sigaction(SIGHUP, {0x8049ea8, [], SA_RESTART}, {SIG_DFL}) = 0
[pid 24259] sigaction(SIGINT, {0x8049ea8, [], SA_RESTART}, {SIG_DFL}) = 0
[pid 24259] sigaction(SIGQUIT, {0x8049ea8, [], SA_RESTART}, {SIG_DFL}) = 0
[pid 24259] sigaction(SIGTERM, {0x8049ea8, [], SA_RESTART}, {SIG_DFL}) = 0
[pid 24259] bind(4, {sun_family=AF_UNIX, sun_path="/dev/printer"}, 14) = 0
[pid 24259] sigprocmask(SIG_SETMASK, [], [HUP INT QUIT TERM]) = 0
[pid 24259] listen(4, 5) = 0
[pid 24259] socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 5
[pid 24259] open("/etc/services", O_RDONLY) = 6
[pid 24259] fstat(6, {st_mode=S_IFREG|0664, st_size=5975, ...}) = 0
[pid 24259] mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40008000
[pid 24259] read(6, "#\n# Network services, Internet style\n#\n# Note that it is presently the policy of IANA to assign a single well-known\n# port number for both TCP and UDP; hence, most entries here have two entries\n# even if the protocol doesn\'t support UDP operations.\n"..., 4096) = 4096
[pid 24259] close(6) = 0
[pid 24259] munmap(0x40008000, 4096) = 0
[pid 24259] bind(5, {sin_family=AF_INET, sin_port=htons(515), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
[pid 24259] listen(5, 5) = 0
[pid 24259] select(20, [4 5], NULL, NULL, NULL <unfinished ...>
[pid 24260] close(4) = 0
[pid 24260] munmap(0x40008000, 4096) = 0
[pid 24260] open("/etc/printcap", O_RDONLY) = 4
[pid 24260] read(4, "#\n# Copyright (c) 1983 Regents of the University of California.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms are permitted\n# provided that this notice is preserved and that due credit is given\n# to the University of Ca"..., 1024) = 1024
[pid 24260] close(4) = 0
[pid 24260] write(1, "\0", 1) = 1
[pid 24260] close(2) = 0
[pid 24260] open("/dev/console", O_WRONLY|O_APPEND) = 2
[pid 24260] getegid() = 0
[pid 24260] setgid(0) = 0
[pid 24260] getpid() = 24260
[pid 24260] setpgid(0, 0) = 0
[pid 24260] sigaction(SIGHUP, {0x804c354, [], SA_RESTART}, {SIG_DFL}) = 0
[pid 24260] sigaction(SIGINT, {0x804c354, [], SA_RESTART}, {SIG_DFL}) = 0
[pid 24260] sigaction(SIGQUIT, {0x804c354, [], SA_RESTART}, {SIG_DFL}) = 0
[pid 24260] sigaction(SIGTERM, {0x804c354, [], SA_RESTART}, {SIG_DFL}) = 0
[pid 24260] getpid() = 24260
[pid 24260] stat("errsa24260", 0xbfffedac) = -1 ENOENT (No such file or directory)
[pid 24260] chdir("/var/spool/lpd") = 0
[pid 24260] stat("lock", {st_mode=S_IFREG|0644, st_size=6, ...}) = 0
[pid 24260] open("lock", O_WRONLY|O_CREAT, 0644) = 4
[pid 24260] SYS_143(0x4, 0x6, 0x4, 0xbfffee6c, 0x2) = 0
[pid 24260] ftruncate(4, 0) = 0
[pid 24260] write(4, "24260\n", 6) = 6
[pid 24260] stat("/var/spool/lpd", {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
[pid 24260] open("/var/spool/lpd", O_RDONLY) = 5
[pid 24260] fcntl(5, F_SETFD, FD_CLOEXEC) = 0
[pid 24260] brk(0x8056000) = 0x8056000
[pid 24260] fstat(5, {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
[pid 24260] SYS_141(0x5, 0x8053590, 0x1000, 0x5, 0x8052e3d) = 436
[pid 24260] stat("cfA000Aa02102", {st_mode=S_IFREG|0660, st_size=98, ...}) = 0
[pid 24260] stat("cfA001Aa02108", {st_mode=S_IFREG|0660, st_size=98, ...}) = 0
[pid 24260] stat("cfA002Aa30032", {st_mode=S_IFREG|0660, st_size=84, ...}) = 0
[pid 24260] SYS_141(0x5, 0x8053590, 0x1000, 0x5, 0x8054678) = 0
[pid 24260] close(5) = 0
[pid 24260] open("/dev/lp1", O_WRONLY) = -1 ENXIO (No such device or address)
[pid 24260] umask(0) = 0
[pid 24260] open("status", O_WRONLY|O_CREAT, 0664) = 5
[pid 24260] SYS_143(0x5, 0x2, 0x5, 0x5, 0x6) = 0
[pid 24260] ftruncate(5, 0) = 0
[pid 24260] write(5, "waiting for lp to become ready (offline ?)\n", 43) = 43
[pid 24260] close(5) = 0
[pid 24260] sigprocmask(SIG_BLOCK, [ALRM], []) = 0
[pid 24260] sigaction(SIGALRM, {0x4004a190, [], 0}, {SIG_DFL}) = 0
[pid 24260] time(NULL) = 905736142
[pid 24260] alarm(1) = 0
[pid 24260] sigsuspend([] <unfinished ...>
[pid 24260] --- SIGALRM (Alarm clock) ---
[pid 24260] <... sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
[pid 24260] sigreturn() = ? (mask now [ALRM])
[pid 24260] time(NULL) = 905736143
[pid 24260] sigaction(SIGALRM, {SIG_DFL}, NULL) = 0
[pid 24260] alarm(0) = 0
[pid 24260] sigprocmask(SIG_SETMASK, [], NULL) = 0
[pid 24260] open("/dev/lp1", O_WRONLY) = -1 ENXIO (No such device or address)
[pid 24260] sigprocmask(SIG_BLOCK, [ALRM], []) = 0
[pid 24260] sigaction(SIGALRM, {0x4004a190, [], 0}, {SIG_DFL}) = 0
[pid 24260] time(NULL) = 905736143
[pid 24260] alarm(2) = 0
[pid 24260] sigsuspend([] <unfinished ...>
[pid 24260] --- SIGALRM (Alarm clock) ---
[pid 24260] <... sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
[pid 24260] sigreturn() = ? (mask now [ALRM])
[pid 24260] time(NULL) = 905736145
[pid 24260] sigaction(SIGALRM, {SIG_DFL}, NULL) = 0
[pid 24260] alarm(0) = 0
[pid 24260] sigprocmask(SIG_SETMASK, [], NULL) = 0
[pid 24260] open("/dev/lp1", O_WRONLY) = -1 ENXIO (No such device or address)
[pid 24260] sigprocmask(SIG_BLOCK, [ALRM], []) = 0
[pid 24260] sigaction(SIGALRM, {0x4004a190, [], 0}, {SIG_DFL}) = 0
[pid 24260] time(NULL) = 905736145
[pid 24260] alarm(4) = 0
[pid 24260] sigsuspend([] <unfinished ...>
[pid 24260] --- SIGALRM (Alarm clock) ---
[pid 24260] <... sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
[pid 24260] sigreturn() = ? (mask now [ALRM])
[pid 24260] time(NULL) = 905736149
[pid 24260] sigaction(SIGALRM, {SIG_DFL}, NULL) = 0
[pid 24260] alarm(0) = 0
[pid 24260] sigprocmask(SIG_SETMASK, [], NULL) = 0
[pid 24260] open("/dev/lp1", O_WRONLY) = -1 ENXIO (No such device or address)
[pid 24260] sigprocmask(SIG_BLOCK, [ALRM], []) = 0
[pid 24260] sigaction(SIGALRM, {0x4004a190, [], 0}, {SIG_DFL}) = 0
[pid 24260] time(NULL) = 905736149
[pid 24260] alarm(8) = 0
[pid 24260] sigsuspend([] <unfinished ...>
[pid 24260] --- SIGALRM (Alarm clock) ---
[pid 24260] <... sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
[pid 24260] sigreturn() = ? (mask now [ALRM])
[pid 24260] time(NULL) = 905736157
[pid 24260] sigaction(SIGALRM, {SIG_DFL}, NULL) = 0
[pid 24260] alarm(0) = 0
[pid 24260] sigprocmask(SIG_SETMASK, [], NULL) = 0
[pid 24260] open("/dev/lp1", O_WRONLY) = -1 ENXIO (No such device or address)
[pid 24260] sigprocmask(SIG_BLOCK, [ALRM], []) = 0
[pid 24260] sigaction(SIGALRM, {0x4004a190, [], 0}, {SIG_DFL}) = 0
[pid 24260] time(NULL) = 905736157
[pid 24260] alarm(16) = 0
[pid 24260] sigsuspend([]
--------------295B1B7D29BB9717C47CF814--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html