Is that "232   open("/proc/dasd/devices", O_RDONLY" the last line in the
file?  If so, it brings me back to requesting, yet again, what you get when
you do a "cat /proc/dasd/devices" command.  If it is not, I'd like to see
the rest of the file.  If it's too large to post to the mailing list, please
email it to me.

Mark Post

-----Original Message-----
From: Ken Dreger: Dr. "D" [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 12:17 AM
To: [EMAIL PROTECTED]
Subject: Re: SUSE install on a OS/390 LPAR


Here is tonight's try with the trace sysout.
SuSE Instsys linuxlpar:/root # rmmod dasd
SuSE Instsys linuxlpar:/root # insmod dasd dasd=04c0-04c4
Using /lib/modules/2.2.16/block/dasd.o
then strace -f -F -o trace.file dasdfmt -b 4096 -n 04c0

The session is just sitting now...

Login with another tn3270 session:
SuSE Instsys linuxlpar:/root #

SuSE Instsys linuxlpar:/root # cat trace.file |more

232   execve("/sbin/dasdfmt", ["dasdfmt", "-b", "4096", "-n", "04c0"], [/*
18 va0
232   brk(0)                            =
0x4053b8
232   open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directo)
232   open("/etc/ld.so.cache", O_RDONLY) =
4
232   fstat(4, {st_mode=S_IFREG|0644, st_size=2657, ...}) =
0
232   old_mmap(NULL, 2657, PROT_READ, MAP_PRIVATE, 4, 0) =
0x40017000
232   close(4)                          =
0
232   open("/lib/libc.so.6", O_RDONLY)  =
4
232   fstat(4, {st_mode=S_IFREG|0755, st_size=1052820, ...}) =
0
232   read(4, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\243\220\0\0\0\1\0\1"...,
4096
232   old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1,0
232   old_mmap(NULL, 1013508, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0x400190
232   mprotect(0x40109000, 30468, PROT_NONE) =
0
232   old_mmap(0x40109000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 0
232   old_mmap(0x4010d000, 14084, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|M0
232   close(4)                          =
0
232   munmap(0x40017000, 2657)          =
0
232   getpid()                          =
232
232   brk(0)                            =
0x4053b8
232   brk(0x405488)                     =
0x405488
232   brk(0x406000)                     =
0x406000
--More--

232   open("/proc/dasd/devices", O_RDONLY

any more ideas on what this output might be saying ??
ken













At 02:43 PM 2/3/2002, John Summerfield wrote:
> > Ken,
> >
> > Try "strace dasdfmt -b 4096 -n 04c0" and see where it goes.  The output
> will
> > be rather long.  If you want to see I/O activity, the system activity
> > display on the HMC is all you've got in an LPAR setting.
>
>Better to add some operands to strace
>strace -f -F -o trace.file
>
>are the minimum I recommend. The report goes to a file instead of
>cluttering the screen and obscuring whatever the program has to say.
>
>
>
>--
>Cheers
>John Summerfield
>
>Microsoft's most solid OS: http://www.geocities.com/rcwoolley/
>
>Note: mail delivered to me is deemed to be intended for me, for my
>disposition.

Reply via email to