Did you do a fdasd and a dasdfmt before you did the mke2fs command? -- Robert P. Nix | Sr IT Systems Engineer | Data Center Infrastructure Services 507-284-0844 | nix.rob...@mayo.edu <applewebdata://7C28AA03-E9D7-4519-A679-80B7EC6A010B/nix.rob...@mayo.edu> Mayo Clinic| 200 First Street SW | Rochester, MN 55905 Mayo Clinic, a mission-driven worldwide leader in health care for 150 years. http://150years.mayoclinic.org/
On 9/8/14, 3:22 PM, "mstram ." <mikestra...@gmail.com> wrote: >>I didn't know the Marist linux was still around. > >I *think* it's (maybe?) ;), the only linux that will run on z/vm 5.3 >(ESA mode) > >>What I think you are doing wrong is that you are trying to build the >>files >>system on the whole dasd and not the partition. > >>try mke2fs /dev/dasdb1 -b 4096 > >Tried it, same error : > >mke2fs /dev/dasdb1 -b 4096 >mke2fs 1.15, 18-Jul-1999 for EXT2 FS 0.5b, 95/08/09 >mke2fs: Invalid argument while trying to determine filesystem size > >The manual has the command : > >mke2fs /dev/mnda -b 4096 > >But there doesn't seem to be any /dev/mnda > >It *seems* that /dev/mnda is somehow connected to the vm RESERVE command >? > >Earlier in the manual the instruction is to : > > FORMAT 192 b (blksize 4096 > >And then : > >RESERVE linux mdisk b > >Mike > >On 9/8/14, Mark Pace <pacemainl...@gmail.com> wrote: >> I didn't know the Marist linux was still around. >> >> What I think you are doing wrong is that you are trying to build the >>files >> system on the whole dasd and not the partition. >> >> try mke2fs /dev/dasdb1 -b 4096 >> >> >> On Mon, Sep 8, 2014 at 3:14 PM, mstram . <mikestra...@gmail.com> wrote: >> >>> I'm following the instructions in >>> http://linux390.marist.edu/download/inst.pdf >>> using Chapter 7. Installation using VM - IPL from the VM reader >>> >>> When I try to run: >>> mke2fs /dev/mnda -b 4096 >>> >>> get : >>> >>> mke2fs 1.15, 18-Jul-1999 for EXT2 FS 0.5b, 95/08/09 >>> mke2fs: No such device while trying to determine filesystem size >>> >>> So I tried : >>> >>> mke2fs /dev/dasdb -b 4096 >>> >>> mke2fs 1.15, 18-Jul-1999 for EXT2 FS 0.5b, 95/08/09 >>> mke2fs: Invalid argument while trying to determine filesystem size >>> >>> ** Which device is (supposed to be) mapped to 192 ? >>> >>> I notice it's saying : >>> >>> dasd:initialization finished >>> channel: no Channel devices recognized >>> >>> Is "no Channel devices recognized" normal ? >>> >>> ------------------------------------------------------------------- >>> cat /proc/devices >>> Character devices: >>> 1 mem >>> 2 pty >>> 3 ttyp >>> 4 ttyS >>> 5 ptmx >>> 10 misc >>> 128 ptm >>> 136 pts >>> >>> Block devices: >>> 1 ramdisk >>> 7 loop >>> 94 dasd >>> 95 mnd >>> ----------------------------- >>> l /dev/dasd* >>> brw-r--r-- 1 root root 94, 0 Feb 20 2000 /dev/dasda >>> brw-r--r-- 1 root root 94, 1 Feb 20 2000 /dev/dasda1 >>> brw-r--r-- 1 root root 94, 4 Feb 20 2000 /dev/dasdb >>> brw-r--r-- 1 root root 94, 5 Feb 20 2000 /dev/dasdb1 >>> brw-r--r-- 1 root root 94, 8 Feb 20 2000 /dev/dasdc >>> brw-r--r-- 1 root root 94, 9 Feb 20 2000 /dev/dasdc1 >>> brw-r--r-- 1 root root 94, 12 Feb 20 2000 /dev/dasdd >>> brw-r--r-- 1 root root 94, 13 Feb 20 2000 /dev/dasdd1 >>> brw-r--r-- 1 root root 94, 16 Feb 20 2000 /dev/dasde >>> brw-r--r-- 1 root root 94, 17 Feb 20 2000 /dev/dasde1 >>> brw-r--r-- 1 root root 94, 20 Feb 20 2000 /dev/dasdf >>> brw-r--r-- 1 root root 94, 21 Feb 20 2000 /dev/dasdf1 >>> brw-r--r-- 1 root root 94, 24 Feb 20 2000 /dev/dasdg >>> brw-r--r-- 1 root root 94, 25 Feb 20 2000 /dev/dasdg1 >>> brw-r--r-- 1 root root 94, 28 Feb 20 2000 /dev/dasdh >>> brw-r--r-- 1 root root 94, 29 Feb 20 2000 /dev/dasdh1 >>> -------------------------------------------------------------------- >>> q disk >>> LABEL VDEV M STAT CYL TYPE BLKSZ FILES BLKS USED-(%) BLKS LEFT >>> BLK >>> TOTAL >>> LIN191 191 A R/W 1000 3390 4096 35 47307-26 132693 >>> 180000 >>> LIN192 192 B R/W 1000 3390 4096 1 180000-99 0 >>> 180000 >>> MNT190 190 S R/O FB 9336 4096 690 14782-82 3218 >>> 18000 >>> MNT191 291 X R/O FB 9336 4096 367 4720-15 26780 >>> 31500 >>> MNT19E 19E Y/S R/O FB 9336 4096 1010 26738-59 18262 >>> 45000 >>> >>> ------------------------------------------------------ >>> ipl c >>> 0000003 FILES CHANGED >>> Linux version 2.2.16 (root@lxbuild1) (gcc version 2.95.2 19991024 >>> (release)) #3 >>> SMP Mon Jul 9 01:55:17 EDT 2001 >>> Command line is: MDISK=192 ROOT=/DEV/RAM0 RO >>> We are running under VM >>> This machine has an IEEE fpu >>> Initial ramdisk at: 0x02000000 (2981600 bytes) >>> Detected device 0600 on subchannel 0000 - PIM = 80, PAM = 80, POM = FF >>> Detected device 0601 on subchannel 0001 - PIM = 80, PAM = 80, POM = FF >>> Detected device 0602 on subchannel 0002 - PIM = 80, PAM = 80, POM = FF >>> Detected device 0191 on subchannel 0003 - PIM = 80, PAM = 80, POM = FF >>> >>> >>>************************************************************************ >>>*** >>> Detected device 0192 on subchannel 0004 - PIM = 80, PAM = 80, POM = FF >>> >>>************************************************************************ >>>*** >>> >>> Detected device 000C on subchannel 0005 - PIM = 80, PAM = 80, POM = FF >>> Detected device 000D on subchannel 0006 - PIM = 80, PAM = 80, POM = FF >>> Detected device 000E on subchannel 0007 - PIM = 80, PAM = 80, POM = FF >>> Detected device 0009 on subchannel 0008 - PIM = 80, PAM = 80, POM = FF >>> Detected device 0190 on subchannel 0009 - PIM = 80, PAM = 80, POM = FF >>> Detected device 019D on subchannel 000A - PIM = 80, PAM = 80, POM = FF >>> Detected device 019E on subchannel 000B - PIM = 80, PAM = 80, POM = FF >>> Detected device 0291 on subchannel 000C - PIM = 80, PAM = 80, POM = FF >>> Highest subchannel number detected (hex) : 000C >>> SenseID : device 0600 reports: CU Type/Mod = 1731/01, Dev Type/Mod = >>> 1732/01 >>> SenseID : device 0601 reports: CU Type/Mod = 1731/01, Dev Type/Mod = >>> 1732/01 >>> SenseID : device 0602 reports: CU Type/Mod = 1731/01, Dev Type/Mod = >>> 1732/01 >>> SenseID : device 0191 reports: CU Type/Mod = 3990/C2, Dev Type/Mod = >>> 3390/0A >>> SenseID : device 0192 reports: CU Type/Mod = 3990/C2, Dev Type/Mod = >>> 3390/0A >>> >>> SenseID : device 000C reports: Dev Type/Mod = 2540/00 >>> SenseID : device 000D reports: Dev Type/Mod = 2540/00 >>> SenseID : device 000E reports: Dev Type/Mod = 1403/00 >>> SenseID : device 0009 reports: Dev Type/Mod = 3215/00 >>> SenseID : device 0190 reports: CU Type/Mod = 6310/01, Dev Type/Mod = >>> 9336/10 >>> SenseID : device 019D reports: CU Type/Mod = 6310/01, Dev Type/Mod = >>> 9336/10 >>> SenseID : device 019E reports: CU Type/Mod = 6310/01, Dev Type/Mod = >>> 9336/10 >>> SenseID : device 0291 reports: CU Type/Mod = 6310/01, Dev Type/Mod = >>> 9336/10 >>> Calibrating delay loop... 365.36 BogoMIPS >>> Memory: 124536k/131072k available (1120k kernel code, 4k reserved, >>>2500k >>> data, 0 >>> k init) >>> Dentry hash table entries: 16384 (order 5, 128k) >>> Buffer cache hash table entries: 131072 (order 7, 512k) >>> Page cache hash table entries: 32768 (order 5, 128k) >>> debug: 16 areas reserved for debugging information >>> debug: reserved 4 areas of 4 pages for debugging ccwcache >>> POSIX conformance testing by UNIFIX >>> Detected 1 CPU's >>> Boot cpu address 0 >>> cpu 0 phys_idx=0 vers=FF ident=00B1DA machine=2096 unused=0000 >>> Linux NET4.0 for Linux 2.2 >>> Based upon Swansea University Computer Society NET3.039 >>> NET4: Unix domain sockets 1.0 for Linux NET4.0. >>> NET4: Linux TCP/IP 1.0 for NET4.0 >>> IP Protocols: ICMP, UDP, TCP, IGMP >>> TCP: Hash tables configured (ehash 131072 bhash 65536) >>> Starting kswapd v 1.5 >>> pty: 256 Unix98 ptys configured >>> RAM disk driver initialized: 16 RAM disks of 8192K size >>> loop: registered device at major 7 >>> dasd:initializing... >>> dasd:Registered successfully to major no 94 >>> dasd(eckd):ECKD discipline initializing >>> dasd:Registered ECKD discipline successfully >>> dasd(fba):FBA discipline initializing >>> >>> dasd:Registered FBA discipline successfully >>> dasd:waiting for responses... >>> >>> ********************************************************** >>> dasd:initialization finished >>> channel: no Channel devices recognized >>> ************************************************************* >>> >>> RAMDISK: Compressed image found at block 0 >>> EXT2-fs warning: checktime reached, running e2fsck is recommended >>> VFS: Mounted root (ext2 filesystem). >>> Freeing unused kernel memory: 0k freed >>> "INIT: version 2.74 booting"" >>> Welcome to Red Hat Linux" >>> Mounting proc filesystem >>> [ OK ]"" >>> Activating swap partitions >>> [ OK ]"" >>> Setting hostname >>> [ OK ]"" >>> Checking root filesystem" >>> ext2fs_check_if_mount/dev/ram0 was not cleanly unmounted, check >>>forced." >>> : No such file or directory while determining whether /dev/ram0 is >>> mounted."" >>> /dev/ram0: 1066/2048 files (0.4% non-contiguous), 8031/8192 blocks" >>> [PASSED]"" >>> Remounting root filesystem in read-write mode >>> [ OK ]"" >>> Finding module dependencies >>> [ OK ]"" >>> Checking filesystems" >>> [ OK ]"" >>> Mounting local filesystems >>> [ OK ]"" >>> Enabling swap space >>> [ OK ]"" >>> "INIT: Entering runlevel: 3"" >>> Entering non-interactive startup" >>> " >>> Welcome to Linux for S/390" >>> >>> >>>------------------------------------------------------------------------ >>>--------- >>> USER LINUX LINUX 128M 256M G >>> INCLUDE CMSUSER >>> OPTION QUICKDSP >>> CPU 0 CPUID 100003 NODEDICATE >>> CPU 1 CPUID 200003 NODEDICATE >>> MACH ESA 2 >>> DEDICATE 7800 7800 >>> DEDICATE 7801 7801 >>> MDISK 191 3390 0001 1000 LINUX1 MR ALL SOME FEW >>> MDISK 192 3390 1001 1000 LINUX1 MR ALL SOME FEW >>> ========================== >>> PROFILE CMSUSER >>> IPL CMS >>> MACH ESA >>> CONSOLE 0009 3215 T >>> SPOOL 000C 2540 READER A >>> SPOOL 000D 2540 PUNCH A >>> SPOOL 000E 1403 A >>> LINK MAINT 0190 0190 RR >>> LINK MAINT 019D 019D RR >>> LINK MAINT 019E 019E RR >>> >>> ---------------------------------------------------------------------- >>> For LINUX-390 subscribe / signoff / archive access instructions, >>> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 >>>or >>> visit >>> http://www.marist.edu/htbin/wlvindex?LINUX-390 >>> ---------------------------------------------------------------------- >>> For more information on Linux on System z, visit >>> http://wiki.linuxvm.org/ >>> >> >> >> >> -- >> The postings on this site are my own and don't necessarily represent >> Mainline's positions or opinions >> >> Mark D Pace >> Senior Systems Engineer >> Mainline Information Systems >> >> ---------------------------------------------------------------------- >> For LINUX-390 subscribe / signoff / archive access instructions, >> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or >> visit >> http://www.marist.edu/htbin/wlvindex?LINUX-390 >> ---------------------------------------------------------------------- >> For more information on Linux on System z, visit >> http://wiki.linuxvm.org/ >> > >---------------------------------------------------------------------- >For LINUX-390 subscribe / signoff / archive access instructions, >send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or >visit >http://www.marist.edu/htbin/wlvindex?LINUX-390 >---------------------------------------------------------------------- >For more information on Linux on System z, visit >http://wiki.linuxvm.org/ ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/