Page 1 of 1

issues with mdiskchk.com

Posted: Wed Jun 02, 2010 7:26 am
by bylokk
Hi guys,

i'm having issues with mdiskchk.com from the UBCD FreeDos Image.
This is resulting in a complete system freeze (not even Ctrl-Alt-Del possible) whenever mdiskchk.com is executed in the autoexec.bat

-> So a lot of programs on the UBCD are not usable for me!!

I'v tried to replace it with different versions (from Syslinux 3.80 and 3.86) and removed the "-m" attribute that has been added lately, but with no success.

btw. I'm NOT running UBCD in a virtual machine, it's my real pc! If necessary I could provide additional details about this machine...

Posted: Wed Jun 02, 2010 12:41 pm
by Icecube
Does it also freeze when you boot the "0 Boot Clean" submenu of the FreeDos image and execute:

Code: Select all

mdiskchk
Can you post your exact model of motherboard and BIOS revision?

If you are running UBCD from USB, can you try the following and post the result after running the new entry "meminfo (E820 info)"(copy it down exactly or make a picture):
1. download Syslinux: http://www.kernel.org/pub/linux/utils/b ... x-3.86.zip
2. extract /com32/modules/meminfo.c32 from this archive and copy it to /boot/syslinux/ of your UBCD USB stick.
3. Add the folowing to /ubcd/custom/custom.cfg:

Code: Select all

LABEL E820
MENU LABEL meminfo (E820 info)
COM32 /boot/syslinux/meminfo.c32
4. Boot UBCD ==> User-defined ==> meminfo (E820 info)
5. Take picture or write the info down.

Posted: Thu Jun 03, 2010 1:08 pm
by bylokk
Thank you very much for your response!
I'm currently not at home but will get back to try out these things on monday!

Posted: Mon Jun 07, 2010 9:12 am
by bylokk
Mainboard: DFI Lanparty UT NF4 Ultra-D (nForce 4 AMD)
BIOS: N4D-704-2BTA

Image

Posted: Mon Jun 07, 2010 12:34 pm
by Icecube
You didn't answer this question:
Does it also freeze when you boot the "0 Boot Clean" submenu of the FreeDos image and execute:

Code: Select all

mdiskchk

Posted: Mon Jun 07, 2010 2:45 pm
by bylokk
or successfully ignored it ;-)

ok, so executing mdiskchk in clean mode also results in a system freeze!

Re: issues with mdiskchk.com

Posted: Wed Jun 09, 2010 12:47 pm
by bylokk
ok, so this has nothing to do with UBCD itself but how can I solve this problem?

replace mdiskchk with something else?
it hasn't been used before v5.0 right ?

Re: issues with mdiskchk.com

Posted: Wed Jun 09, 2010 3:21 pm
by Icecube
I have reported the issue with mdiskchk.com upstream (Syslinux). I will let you know, when they want you to try a test version. I hope they can fix it.

Temporarily you can replace the following lines in autoexec.bat:

Code: Select all

echo @echo off >%ramdrv%\bin\setargs.bat
mdiskchk.com -b -m >>%ramdrv%\bin\setargs.bat
with:

Code: Select all

getargs.com >%ramdrv%\bin\setargs.bat

Re: issues with mdiskchk.com

Posted: Thu Jun 10, 2010 12:40 am
by bylokk
thank you very much for you help!

maybe I'm not the only one with this problem ! (I say this too often :lol: )

Re: issues with mdiskchk.com

Posted: Thu Jun 17, 2010 12:05 pm
by Icecube
Can you try the following:

Extract the files:
http://ubcd.stopspazzing.com/downloads/ ... emdisk.zip

Place memdisk in /boot/syslinux/memdisk.
Place mdiskchk.com inside the FreeDOS image and run it as you did before ("0 Boot Clean").

Re: issues with mdiskchk.com

Posted: Tue Jun 22, 2010 4:27 pm
by bylokk
sadly: same system freeze as before

shall I take a new meminfo e280 screenshot?

Re: issues with mdiskchk.com

Posted: Wed Jun 23, 2010 5:19 am
by Icecube
Try this image (has update mdiskchk.com and eltorito.sys):
http://www.ultimatebootcd.com/misc/fdub ... z.20100621

Remove the .20100321 extension, when you save the file.
Place the file in /ubcd/images/.

Download MEMDISK from (click on blob):
http://git.zytor.com/?p=users/sha0/sysl ... =cdeaadbf3

Rename the file to memdisk and copy it to /boot/syslinux/

Now, boot from your USB stick, select FreeDOS:
Select the "0 Boot Clean" submenu of the FreeDos image and execute:

Code: Select all

mdiskchk.com --no-sequential
Does it still freeze your PC or not?

If it doesn't freeze, try:

Code: Select all

mdiskchk.com --no-sequential -m -b
And report the text you see (should be "set raw=1").

Re: issues with mdiskchk.com

Posted: Wed Jun 23, 2010 8:02 am
by bylokk
with:

Code: Select all

mdiskchk.com --no-sequential
-> no freeze

with:

Code: Select all

mdiskchk.com --no-sequential -m -b
-> no freeze either
output:

Code: Select all

set raw=1
set initrd=/fdubcd3.img.gz
set BOOT_IMAGE=/boot/syslinux/memdisk
different path and filename for the image should be not a problem, does it?

Re: issues with mdiskchk.com

Posted: Wed Jun 23, 2010 12:03 pm
by Icecube
bylokk wrote:with:
different path and filename for the image should be not a problem, does it?
No, it doesn't.
I only wanted to see if mdiskchk.com could grab the MEMDISK arguments without freezing. So the test succeeded :D .

@ Victor:
In AUTOEXEC.BAT:
mdiskchk.com -b -m -n>>%ramdrv%\bin\setargs.bat
The newer eltorito.sys hangs in qemu (didn't try anything else atm).
I will let you know, when it is fixed.

Re: issues with mdiskchk.com

Posted: Thu Sep 02, 2010 4:02 am
by bylokk
although the changelog to V5.03 made me think that this issue has been fixed, it is not.

in autoexec.bat I can still see the line:
  • mdiskchk.com -b -m>>%ramdrv%\bin\setargs.bat
instead of
  • mdiskchk.com -b -m -n>>%ramdrv%\bin\setargs.bat
So my system is still freezing when using UBCD 5.03

Re: issues with mdiskchk.com

Posted: Fri Sep 03, 2010 1:54 pm
by Victor Chew
although the changelog to V5.03 made me think that this issue has been fixed, it is not.
No, this is not in the changelog. I have added it to my todo. Thanks!