Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
Paul

06.04.2010, 17:25
 

XMGR not working with Unetbootin (Users)

Unetbootin is an open source Windows/Linux program that can take a bootable floppy or CD/DVD image and create a bootable USB device with the same content.

I noticed that the newer versions of Unetbootin will cause XMGR to freeze. I have reported this as a bug to Unetbootin:
https://bugs.launchpad.net/unetbootin/+bug/556416

...but I thought that maybe Mr. Ellis could add some comments on the bug ticket with more detail.

For now, because my floppy distro uses XMGR, I am recommending that people to use an older version of Unetbootin to make bootable USB sticks, but perhaps there are some command line options that will make XMGR work with the current version until they fix their bug?

Thanks,
Paul

Rugxulo

Homepage

Usono,
06.04.2010, 18:45

@ Paul
 

XMGR not working with Unetbootin

I presume it could also be a rare BIOS bug or something that changed in SysLinux?

---
Know your limits.h

Jack

E-mail

Fresno, California USA,
15.04.2010, 17:42

@ Paul
 

XMGR not working with Unetbootin

Paul,

My apologies for my late reply -- busy with other things.

> ... I noticed that the newer versions of Unetbootin will cause XMGR to
> freeze. I have reported this as a bug to Unetbootin:
> <https://bugs.launchpad.net/unetbootin/+bug/556416>
>
> ... but I thought that maybe Mr. Ellis can add some comments on the bug
> ticket with more detail ...

Regrettably, I cannot. I wrote XMGR as a "pure DOS" memory-manager, and
I have no experience with Unix, SysLinux, nor Windows Vista [I still have
V4.0 Windows/NT, which saves me paying $250 "tribute" every 6 months to a
certain Redmond, WA "gazillionaire" for his latest collection of BUGS!!].
Thus I have no way to debug what the high-level Unetbootin software does.

> ... perhaps there are some command-line options that can make XMGR work
> with the current version until they fix their bug?

In whatever CONFIG.SYS file is used on your "boot" diskette, you can test
the following --

A) When no /Mn switch is given, XMGR will use "temporary" memory starting
at 5000:0000h (320K) for its own diskette "workspace", also when it is
run in "boot" mode till JEMM386/EMM386 loads, and XMGR then moves into
upper-memory. Try specifying /M6 (384K), /M7 (448K), or other values
of /Mn since UnetBootin may now be using part of the 320K memory area!

B) If you are using /N80 or /N128 (80 or 128 XMS memory "handles"), check
if /N48 or no /N switch "survives" your boot load. If so, you should
tell the Unetbootin people that their program has become TOO LARGE!

C) When no /Tn switch is given, XMGR defaults to /T3 and will use all the
possible BIOS calls to get available XMS memory. Try using /T0 which
limits XMGR to the original 64-MB of memory, and try using /T1 and /T2
separately to see if they cause any difference. If these switches do
give some difference, the Unetbootin people are "playing new games" in
declaring available memory, and you need to GRIPE at them about this!!

D) If your "boot" diskette also uses the UMBPCI driver, and you load XMGR
with its /W "workspace" switch, try omitting /W. If this works, then
Unetbootin is no-longer declaring a 512-byte DOS "workspace" area that
XMGR can use. XMGR will then set its own area in low-memory, costing
512 bytes, but it should still work fine thereafter.

If none of the above helps, then as you noted on the "Launchpad" buglist,
I suggest that you KEEP the previous Unetbootin program, especially since
you also note on that list that RAMdisk also fails when used with the new
Unetbootin release.

Jack R. Ellis

---
(Account disabled on user's request.)

Jack

E-mail

Fresno, California USA,
16.04.2010, 04:25

@ Jack
 

This May NOT Be A Problem With XMGR!!

Paul,

As a "follow-up" to the Unetbootin problem, note the following post by
Geza Kovacs on SYSLinux --

> Geza Kovacs geza0kovacs at gmail.com
> Fri Apr 9 22:41:28 PDT 2010
>
> For the boot floppy at http://superkeen.com/peacecorpsfiles/FUZOMA14.IMG
> using memdisk from syslinux version 3.72 boots correctly, but for
> memdisk versions newer than 3.72 (I tested 3.73, 3.75, 3.85, and 3.86)
> all hang at boot with the following message:
>
>> Loading boot sector... booting
>> FreeDOS kernel - SVN (build 2039 OEM:0xfd [compiled Oct 2 2009])
>> Kernel compatibility 6.22 - BORLANDC
>> ...
>> XMGR, 11-22-2009 48 XMS handles
>> Kernel: allocated 48 diskbuffers = 25536 Bytes in HMA

The message about kernel diskbuffers is displayed by the FreeDOS kernel,
NOT by XMGR! Obviously the system was "still alive" when XMGR was done
loading, and it in fact died sometime AFTER the kernel-buffers message.

With your PC-DOS system, try loading one more driver, in fact ANY driver
whether or not it gets used, after XMGR. If that "extra" driver loads,
and THEN your PC-DOS system appears to "hang", I am LOATHE to expect any
problem exists in XMGR! My guess would be that the error in the latest
Unetbootin software happens when the DOS system switches from CONFIG.SYS
to AUTOEXEC.BAT and/or user-program handling, i.e. the error occurs when
DOS "goes active" after all CONFIG.SYS driver-loading and other tasks.

Jack R. Ellis

---
(Account disabled on user's request.)

Paul

03.05.2010, 20:57

@ Jack
 

This May NOT Be A Problem With XMGR!!

> The message about kernel diskbuffers is displayed by the FreeDOS kernel,
> NOT by XMGR! Obviously the system was "still alive" when XMGR was done
> loading, and it in fact died sometime AFTER the kernel-buffers message.
>
> With your PC-DOS system, try loading one more driver, in fact ANY driver
> whether or not it gets used, after XMGR. If that "extra" driver loads,
> and THEN your PC-DOS system appears to "hang", I am LOATHE to expect any
> problem exists in XMGR! My guess would be that the error in the latest
> Unetbootin software happens when the DOS system switches from CONFIG.SYS
> to AUTOEXEC.BAT and/or user-program handling, i.e. the error occurs when
> DOS "goes active" after all CONFIG.SYS driver-loading and other tasks.

Yes, upon further investigation, it appears that you're off the hook! It looks like MEMDISK no longer plays nice with FreeDOS in general... kind of a problem since FreeDOS is largely used in virtualized environments (not physical floppy disks). I tried your suggestions to try to work around the problem, but no luck. I was really hoping that /T0, /T1, or /T2 might do it.

I'm going to hop over to the FreeDOS mailing list to try to rally some people there. Thanks for the help!

Back to index page
Thread view  Board view
22752 Postings in 2119 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum