Re: [Freedos-kernel] CRITICAL BUG - crosslinked files - 2039 unusable

2011-05-05 Thread dos386
 Did you try out this kernel?

Not yet (my ToTest pipeline is crowded ...)



-- 
~~~ wow ~~~

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] CRITICAL BUG - crosslinked files - 2039 unusable

2011-05-04 Thread Bart Oldeman
On 3 May 2011 03:03, dos386 dos...@gmail.com wrote:
 Good catch and thanks for the fix! I committed your patch to svn

 Heh ... excellent ... so my excessive HD trashing
 http://www.mail-archive.com/freedos-kernel%40lists.sourceforge.net/msg02431.html
 1+1/2 years ago was NOT only waste of time ?

Indeed! I tried hard to reproduce it at the time but I missed that to
trigger the bug a FAT12/16 drive also needs to be involved. I was
doing extensive testing but only copied files from network/cdrom-style
drives and then kept them on FAT32 (there was lots of FAT32-FAT32
copying though). That avoids the effects of the bug, since only FAT32
DPBs were ever seen.

 Thanks to Damien, I'll test 2040

Did you try out this kernel?

An 8086/FAT32 OW1.9 compiled kernel.sys binary for testing at:
http://dosemu.org/bart/kernel.sys

Bart

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] CRITICAL BUG - crosslinked files - 2039 unusable

2011-05-03 Thread Alain Mouette
Does this mean that it has been fixed?

Alain

Em 03-05-2011 04:03, dos386 escreveu:
 Good catch and thanks for the fix! I committed your patch to svn

 Heh ... excellent ... so my excessive HD trashing
 http://www.mail-archive.com/freedos-kernel%40lists.sourceforge.net/msg02431.html
 1+1/2 years ago was NOT only waste of time ?

 Thanks to Damien, I'll test 2040


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] CRITICAL BUG - crosslinked files - 2039 unusable

2010-01-08 Thread Pat Villani
There is work going on, but noe estimate to completion.

I would tend to agree, use 2038 until it is fixed.

Pat
Project Coordinator


On Fri, Jan 8, 2010 at 3:03 AM, dos386 dos...@gmail.com wrote:

  I have prepeared a new FreeDOS distribution for REAL USE in the field
  Is there anyone working on, o willing to work on this cross-linked files
 bug?

 If not, have to use 2038 :-|


 --
 ~~~ wow ~~~


 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and
 easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 Freedos-kernel mailing list
 Freedos-kernel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-kernel

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] CRITICAL BUG - crosslinked files - 2039 unusable

2010-01-07 Thread dos386
Hi

 1. No new details to the Crosslink-BUG ... cluster size is 4 KiB :-|

Why do you refer to an obsolete mail ?

 Half of it is not a bug, the other half is...

What ???

 This is because DIR tells you how much space is used / free.
 the  which you mention, you force a recalculation...

I never said the delay would be a BUG ...

  6. Try to brew a file or SUBDIR (MD)
 - expected result: should work
 - effective result: DOESN'T WORK
 Do you also get problems with file creation

See above: Try to brew a __file__ or SUBDIR or test yourself ;-)

 or growth, as far as those involve allocation of more clusters?

No test on growth

 If yes, which problems, just failure? Or creation of cross links?

Apparently no crosslinks (and no changes to the disk ???)

 EDR-DOS doesn't have this bug.

It probably also has the delay?

YES. BTW, my great new filesystem addresses this issue and tries to be
more smart and less slow, nevertheless, the reevaluation and the risk that
the reported free space may be inequal to the effective one can't be
completely assassinated, or at least I have no idea how :-(

 I assume by bug you only mean the problem of creating a
 directory after invalidating FS-Info?

YES. or file ;-)




-- 
~~~ wow ~~~

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] CRITICAL BUG - crosslinked files - 2039 unusable

2009-12-19 Thread dos386
Well, the tracker entry is 28 days old, this discussion is 12 days
old, and ... this is not the first time I have to whine about the
user base of FreeDOS, if such a thing exists at all. At least, this
time the BUG got opened by http://sourceforge.net/users/tnavratil/
Tnavratil, not me.

So new results:

- To reproduce this BUG, following might be necessary:
- - 2039 kernel (but no final evidence that 2038 is NOT affected)
- - FAT28
- - 6 GiB volume
- - 4 KiB cluster size
- - Disk almost full (95%) OTOH no need to fire disk full ERROR
- - Free space heavily fragmented
- - Copy (COPY) some (many ?  10 ?) files onto the volume, kick a
few (DEL) of them, copy some (many ?  10 ?) more

- Result: horrible mess. Many bunches of crosslinked files, per 2 or more
  members, usually icluding 2 files copied just atfer each other or
   almost, but also old files (properly defragmented to to begin of drive
   before) are included and corrupted. Cluster chain missmatching directory
   entry size. Lost cluster chains.

- The INTERESTING THING is visible inside the directory: all the evil and
  new files, whether crosslinked or not, have the UPPER 16 bits of STARTING
   CLUSTER ZERO !!! This is illegal, since there was  256 MiB ( 4 KiB * 64 Ki )
   of compact space occupied before the test !!! So the 2039 kernel FORGETS
   the upper 16 bits at some time and starts WRITING INTO the OCCUPIED
   area at the volume start, corrupting the files hanging there !!!

Well, I invested a considerable amount of time into investigating this BUG,
and caused a considerable data damage, there is no doubt that the 2039
kernel has a CRITICAL BUG ... what now ??? Are there really only 2 users
who complained so far, within 4+1/2 months after the kernel release ?
Anyone is able to fix it ?

[silly] http://www.bttr-software.de/forum/forum_entry.php?id=6418 [/silly]















-- 
~~~ wow ~~~

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] CRITICAL BUG - crosslinked files - 2039 unusable

2009-12-17 Thread dos386
Well, got __STRANGE__ news:

1. No new details to the Crosslink-BUG ... cluster size is 4 KiB :-|

2. Discovered a NEW BUG:

- present in both 2038 and 2039
- not critical
- possibly related to the Crosslink-BUG (probability not very high ...)
- reproductability as ALWAYS :-)

Steps to repropduce:

1. Get WDE or similar
2. Overwrite both entries in FS-info sector with $'
3. Reboot to FreeDOS
4. DIR - there is a massivre delay at the end
5. DIR - no delay anymore
6. Try to brew a file or SUBDIR (MD)
- expected result: should work
- effective result: DOESN'T WORK
7. Retry and it will work now

EDR-DOS doesn't have this bug.



-- 
~~~ wow ~~~

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] CRITICAL BUG - crosslinked files - 2039 unusable

2009-12-14 Thread dos386
 I'm having a look

Thanks :-)

 how large is your FAT partition exactly?

Cca 6 GiB , have to check the other PC ...

 There is always the GB/GiB confusion...

1 GiB = 2^30 Bytes

1 GB = ??? (don't know don't use)

 what is the cluster size (I'm looking for potential overflows)

4 or 8 KiB , have to check the other PC ...

 does it happen with plain FreeCOM COPY, XCOPY, or any copy?

Happens with plain FreeCOM COPY, not necessarily excluding other copy
or writing.

**

 I came across a bug in the new kernel that might be related

Really ???

 If I copy a file from disk ro a floppy *using NDN F5* the copy is
 ok and any further operations with NDN crashes.

Details, screenshot, have to reboot ???

 If I use the copy command everything is ok.

Floppies usually don't use FAT28 :-D

 This is probably memory related

How much mem, XMS host, EMM386, minimal file size to reproduce ???

 but does not happen with older kernel.

So it depends only from the kernel ? I have no idea for now, really strange :-(



-- 
~~~ wow ~~~

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] CRITICAL BUG - crosslinked files - 2039 unusable

2009-12-13 Thread Bart Oldeman
Hi,

I'm having a look. But I can't reproduce it so far. So:
* how large is your FAT partition exactly? There is always the GB/GiB
confusion...
* what is the cluster size (I'm looking for potential overflows)
* does it happen with plain FreeCOM COPY, XCOPY, or any copy?

Bart

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel