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.
Are you rebooting in between each attempt of this? I'm concerned about the fact that you've got two dasdfmt processes running. Also, you've never posted the results of a "cat /proc/dasd/devices" command. Mark Post -----Original Message----- From: Ken Dreger: Dr. "D" [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 02, 2002 5:07 PM To: [EMAIL PROTECTED] Subject: Re: SUSE install on a OS/390 LPAR here is the latest try: SuSE Instsys linuxlpar:/root # rmmod dasd -a SuSE Instsys linuxlpar:/root # insmod dasd dasd=4c0-4c4 Using /lib/modules/2.2.16/block/dasd.o insmod: a module named dasd already exists SuSE Instsys linuxlpar:/root # rmmod dasd SuSE Instsys linuxlpar:/root # insmod dasd dasd=4c0-4c4 Using /lib/modules/2.2.16/block/dasd.o SuSE Instsys linuxlpar:/root # dasdfmt -n 04c0 -b 4096 Now the system is just sitting there, no console messages going to the "Dumb" terminal. and here is the other telnet session I came into to do the ps -ax command on: SuSE Instsys linuxlpar:/bin # ps -ax |more PID TTY STAT TIME COMMAND 1 ? SW 0:17 [swapper] 2 ? SW 0:00 [kmcheck] 3 ? SW 0:00 [kflushd] 4 ? SW 0:00 [kupdate] 5 ? SW 0:00 [kpiod] 6 ? SW 0:00 [kswapd] 7 console S 0:00 bash /linuxrc 14 ? S 0:00 /usr/sbin/klogd -p -c 8 82 ? S 0:00 /usr/sbin/syslogd -m 720 98 ? S 0:00 /sbin/portmap 99 ? S 0:00 /usr/sbin/inetd 100 console S 0:00 bash -login 133 ? S 0:00 -bash 179 ? D 0:00 ls 182 ? S 0:00 -bash 187 ? D 0:00 dasdfmt -n 4c0 -b 4096 188 ? S 0:00 in.telnetd: cx580486-a.smartnfinal.com 189 ttyp2 S 0:00 login -- root --More-- 190 ttyp2 S 0:00 -bash 199 ttyp2 D 0:00 dasdfmt -n 04c0 -b 4096 201 ttyp3 S 0:00 login -- root 202 ttyp3 S 0:00 -bash 223 ttyp3 R 0:00 ps -ax 224 ttyp3 S 0:00 more Is there some other method of monitoring the system to see if any I/O's are going on on a drive ?? Ken At 10:31 AM 2/2/2002, Post, Mark K wrote: >If you're formatting a full volume 3390, it can take a while. You should >have gotten a message indicating you're going to wipe out all the data on >the volume, etc., etc., and requiring a response to continue. If you didn't >get that, something else has gone wrong. Try telneting in to a different >sessions and see if anything is happening with "ps ax" or look at your >console to see if any messages are coming out there. > >Was there some reason you decided to only insmod one volume instead of the >full range of them? What was the result of the "cat /proc/dasd/devices" >command? > >Mark Post > >-----Original Message----- >From: Ken Dreger: Dr. "D" [mailto:[EMAIL PROTECTED]] >Sent: Saturday, February 02, 2002 10:26 AM >To: [EMAIL PROTECTED] >Subject: Re: SUSE install on a OS/390 LPAR > > >Well, this is what I finally tried: > >SuSE Instsys linuxlpar:/root # ls >SuSE Instsys linuxlpar:/root # rmmod dasd >rmmod: module dasd is not loaded >SuSE Instsys linuxlpar:/root # insmod dasd dasd=4c0 >Using /lib/modules/2.2.16/block/dasd.o >SuSE Instsys linuxlpar:/root # dasdfmt -n 4c0 -b 4096 > >Now my session just sits there doing nothing for hours !!! > >I guess this is progress ?? >Ken Dreger > > > > >At 04:17 PM 2/1/2002, Post, Mark K wrote: > >Actually, there is help: dasdfmt -help > >Try doing the dasdfmt this way: > >dasdfmt -b 4096 -n 04c0 > > > >Hint: the order of the parameters is important. > > > >The other way to do it would be: > >dasdfmt -b 4096 -f /dev/dasda > >dasdfmt -b 4096 -f /dev/dasdb > >etc. > > > >The way to check to make sure your DASD devices were recognized properly is > >to do this: > >cat /proc/dasd/devices > > > >You should see something like this: > >010F(ECKD) at (94:0) is dasda:active at blocksize: 4096, 57600 blocks, > >225 MB > >0100(ECKD) at (94:4) is dasdb:active at blocksize: 4096, 13500 blocks, >52 > >MB > >0106(ECKD) at (94:8) is dasdc:active at blocksize: 4096, 270000 blocks, > >1054 MB > >0107(ECKD) at (94:12) is dasdd:active at blocksize: 4096, 360000 blocks, > >1406 MB > > > >Mark Post > > > >-----Original Message----- > >From: Ken Dreger: Dr. "D" [mailto:[EMAIL PROTECTED]] > >Sent: Friday, February 01, 2002 7:02 PM > >To: [EMAIL PROTECTED] > >Subject: Re: SUSE install on a OS/390 LPAR > > > > > >Here is what shows up: > > > >SuSE Instsys linuxlpar:/root # insmod dasd probeonly > >Using /lib/modules/2.2.16/block/dasd.o > >insmod: a module named dasd already exists > >SuSE Instsys linuxlpar:/root # rmmod dasd > >SuSE Instsys linuxlpar:/root # insmod dasd dasd=4c0-4c4 > >Using /lib/modules/2.2.16/block/dasd.o > >SuSE Instsys linuxlpar:/root # > > > >so I also tried this: > >SuSE Instsys linuxlpar:/root # insmod dasd probeonly > >Using /lib/modules/2.2.16/block/dasd.o > >insmod: a module named dasd already exists > >SuSE Instsys linuxlpar:/root # rmmod dasd > > > >SuSE Instsys linuxlpar:/root # insmod dasd dasd=4c0-4c4 > >Using /lib/modules/2.2.16/block/dasd.o > > > > Then I tried this: > > > >SuSE Instsys linuxlpar:/root # rmmod dasd > >SuSE Instsys linuxlpar:/root # insmod dasd dasd=04c0-04c4 > >Using /lib/modules/2.2.16/block/dasd.o > >SuSE Instsys linuxlpar:/root # > > > > > > Then I tried this...: > > > >SuSE Instsys linuxlpar:/root # insmod dasd > >probeonly > >Using > >/lib/modules/2.2.16/block/dasd.o > >insmod: a module named dasd already > >exists > >SuSE Instsys linuxlpar:/root # rmmod > >dasd > > > >SuSE Instsys linuxlpar:/root # insmod dasd > >dasd=4c0-4c4 > >Using /lib/modules/2.2.16/block/dasd.o > > > >Then this one:... > > > >SuSE Instsys linuxlpar:/root # rmmod > >dasd > >SuSE Instsys linuxlpar:/root # insmod dasd > >dasd=04c0-04c4 > >Using > >/lib/modules/2.2.16/block/dasd.o > >SuSE Instsys linuxlpar:/root # dasdfmt -n 04c0 -b > >4096 > >dasdfmt: failed to find device in the /proc filesystem (are you sure to > >have th) > >SuSE Instsys linuxlpar:/root > ># > > > >Then this one....: > >SuSE Instsys linuxlpar:/root # rmmod > >dasd > >SuSE Instsys linuxlpar:/root # insmod dasd > >dasd=4c0-4c0 > >Using > >/lib/modules/2.2.16/block/dasd.o > >SuSE Instsys linuxlpar:/root # dasdfmt -n 4c0 -b > >4096 > >dasdfmt: failed to find device in the /proc filesystem (are you sure to > >have th) > >SuSE Instsys linuxlpar:/root > ># > > > >There is no help on the dasdfmt command and it is NOT in my UNIX command > >book I have. > >Any other ideas ???? > >thanks > >Ken > > > > > > > > > >At 03:21 PM 2/1/2002, you wrote: > > >What happens with this sequence: > > >insmod dasd probeonly > > >rmmod dasd > > >insmod dasd dasd=4c0-4c4 > > > > > > > -----Original Message----- > > > > SuSE Instsys linuxlpar:/root # insmod dasd probeonly > > > > Using /lib/modules/2.2.16/block/dasd.o > > > > SuSE Instsys linuxlpar:/root # insmod dasd 04c0-04c4 > > > > Using /lib/modules/2.2.16/block/dasd.o > > > > insmod: a module named dasd already exists > > > > Then I issue the following command: > > > > SuSE Instsys linuxlpar:/root # dasdfmt -n 04c0-04c4 -b 4096 > > > > dasdfmt: device number is in invalid format
