Page 1 of 1

LBAcache / STAK nest error

Posted: Wed Sep 22, 2010 1:06 am
by ubcdhelpplease
I'm having a problem with UBCD running off an USB stick. It works fine on all the Desktops around, but on both the IBM/Lenovo T61 and X61 series the freedos disk fails in an interesting way. It displays funny messages like
"LBACACHE: in. STAK nest!? otherss=00d3"
whenever it tries to access C: (i.e. the USB drive).

As far as I can tell, this is a problem with LBACACHE, because if I use the "Clean Boot" entry I can access the USB stick (as C:) just fine.

Unfortunately even the "Ultra-Defensive" boot option doesn't have an option to skip LBACACHE, so I'm a bit lost on how to fix/workaround this problem.

Can anyone help?

Re: LBAcache / STAK nest error

Posted: Mon Sep 27, 2010 6:36 am
by ubcdhelpplease
OK. I managed to work around this problem.

Fixed ubcd/images/fdubcd.img.gz by
- gunzip the file
- loopback mount the floppy on linux
- delete BIN/lbacache.cab
- unmount
- re-gzip
- replace fsubcd.img.gz with the new version

The such patched ubcd now works fine on the formerly problematic laptops.

Having an option to disable lbacache in the next version would be a great idea.

Re: LBAcache / STAK nest error

Posted: Thu Sep 30, 2010 9:54 pm
by Victor Chew
I can't find a way to make lbacache selectable on bootup like cdrom or lfn, but I can make the ultra-defensive option launch without lbacache.

The problem is lbacache is located in bin, for which menus are not supported.

Re: LBAcache / STAK nest error

Posted: Thu Sep 30, 2010 11:22 pm
by Icecube
Is there a way to use detect a nolbacache parameter specified on the MEMDISK command line, whit mdiskchk.com, at that stage?

Re: LBAcache / STAK nest error

Posted: Mon Oct 18, 2010 5:12 pm
by Victor Chew
Conceivably, since menu interaction is not involved, and mdiskchk.com is already available at that stage.

So what do you have in mind? For users to update the menus and add "nolbacache" to every "memdisk fdubcd" line? Might be more convenient to introduce a single flag in "/etc/global.set" on fdubcd.img instead.

Re: LBAcache / STAK nest error

Posted: Mon Oct 18, 2010 11:52 pm
by Icecube
Because it only fails on a very few models, I think a "nolbacache" MEMDISK parameter would be better. Or, if possible, let the "nolbacache" MEMDISK parameter, change the "/etc/global.set" file, from:

Code: Select all

nolbacache=0
to:

Code: Select all

nolbacache=1
So you can provide the "nolbacache" MEMDISK parameter or you can change the "/etc/global.set" file.

Re: LBAcache / STAK nest error

Posted: Thu Oct 28, 2010 8:31 pm
by Victor Chew
@Icecube: The proper place to add the default "0" value for "nolbacache" is config.sys (global.set is more for default menu settings), which I have done. Specifying "nolbacache" in memdisk sets it to 1, which disables loading of LBACACHE.

Feel free to try the new fdubcd.img here or here.

Re: LBAcache / STAK nest error

Posted: Sun Nov 07, 2010 5:40 am
by lustylook
Hello, I get the same error... could you fix the link? Thanks!
Victor Chew wrote:Feel free to try the new fdubcd.img

Re: LBAcache / STAK nest error

Posted: Mon Nov 08, 2010 9:46 pm
by Victor Chew
Added link to a local copy. Please try again.