Re: mdmfs: newfs exited with error code 36
I can confirm this on i386, and sparc also. This is a semi-anoying hickup for those who wish to make tiny root-msf images for a soekris boards, or nfs diskless, and/or mfs-root floppies, etc. I belive PHK is/was looking for the root cause of this, which was a thread that had something to do with bsdlabel's, or not. Anyways, here was that thread: http://lists.freebsd.org/pipermail/freebsd-current/2003-September/009979.html __ __ _ | \/ | __ _ ___| |_ __ _ | |\/| |/ _` / __| __/ _` | | | | | (_| \__ \ || (_| | |_| |_|\__,_|___/\__\__,_| [EMAIL PROTECTED] http://wifibsd.org Thorsten Greiner wrote: > * Deiter Alexandr Valerievich <[EMAIL PROTECTED]> [2003-09-14 22:10]: > >>mdmfs: newfs exited with error code 36 > > > This error seems to be generic, I see it on i386 too. I usually > mount /tmp with the following entry from fstab: > > md /tmp mfs rw,-s250m 2 0 > > This gives the newfs error mentioned above. Doing the steps by hand > I get: > > # mdconfig -a -t swap -s 256m > md4 > # newfs /dev/md4 > /dev/md4: 256.0MB (524288 sectors) block size 16384, fragment size 4096 > using 4 cylinder groups of 64.02MB, 4097 blks, 4160 inodes. > super-block backups (for fsck -b #) at: > 160, 131264, 262368, 393472 > newfs: wtfs: 4096 bytes at sector 192: Bad address > > > Regards > > -Thorsten > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mdmfs: newfs exited with error code 36
* Deiter Alexandr Valerievich <[EMAIL PROTECTED]> [2003-09-14 22:10]: > mdmfs: newfs exited with error code 36 This error seems to be generic, I see it on i386 too. I usually mount /tmp with the following entry from fstab: md /tmp mfs rw,-s250m 2 0 This gives the newfs error mentioned above. Doing the steps by hand I get: # mdconfig -a -t swap -s 256m md4 # newfs /dev/md4 /dev/md4: 256.0MB (524288 sectors) block size 16384, fragment size 4096 using 4 cylinder groups of 64.02MB, 4097 blks, 4160 inodes. super-block backups (for fsck -b #) at: 160, 131264, 262368, 393472 newfs: wtfs: 4096 bytes at sector 192: Bad address Regards -Thorsten -- Williams and Holland's Law: If enough data is collected, anything may be proven by statistical methods. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mdmfs: newfs exited with error code 36
mdmfs don't work on CURRENT diskless sparc64: Loading configuration files. Entropy harvesting: interrupts ethernet point_to_point. Starting file system checks: nfs: can't update /var/db/mounttab for 1.1.1.1:/sparc64/netboot cp: utmp: Read-only file system /etc/rc.d/cleanvar: cannot create /var/run/clean_var: Read-only file system +++ mount_md of /var mdmfs: newfs exited with error code 36 nfs: can't update /var/db/mounttab for 1.1.1.1:/sparc64/netboot . dropping into shell, ^D to continue anyway. # mdmfs -i 4096 -s 32m -M md /var mdmfs: newfs exited with error code 36 # mdmfs -i 4096 -s 16m -M md /var # df -h Filesystem Size Used Avail Capacity Mounted on 1.1.1.1:/sparc64/netboot16G 3.0G11G21%/ devfs 1.0K 1.0K 0B 100%/dev /dev/md215M 2.0K14M 0%/var # top last pid: 124; load averages: 0.01, 0.05, 0.03 up 0+00:09:58 23:30:01 4 processes: 1 running, 3 sleeping Mem: 2864K Active, 1544K Inact, 10M Wired, 40K Cache, 3392K Buf, 472M Free Swap: PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 93 root 80 5440K 1448K wait 0:00 0.00% 0.00% sh 35 root 80 5408K 1408K wait 0:00 0.00% 0.00% sh 109 root 80 5216K 1320K wait 0:00 0.00% 0.00% sh 124 root 960 6808K 1480K RUN 0:00 0.00% 0.00% top P.S. On current 20030825 diskless operations works fine. Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"