[Freedos-user] Unable to format harddisk partition after reboot

2004-10-13 Thread Christof Meerwald
Hi,
I am unable to format a harddisk partition after a reboot (the problem 
occurrs in a Linux dosemu box and on real hardware), here is the version 
information of the FreeDOS kernel:

FreeDOS kernel version 1.1.35w (Build 2035w-UNSTABLE, Sep 27 2004)
Kernel compatibility 7.10 - WATCOMC - FAT32 support
When trying to format a harddisk partition with format 0.91s I get the 
following error message:

A:\format c: /u /q
WARNING: ALL DATA ON NON-REMOVABLE DISK
DRIVE C: WILL BE LOST! PLEASE CONFIRM!
Proceed with format (YES/NO)? YES
Disk size: 50 Mbytes, FAT16. ***
Please enter volume label (max. 11 chars):
QuickFormatting (only flushing metadata)
Warning: Resets bad cluster marks if any.
Drive_IO( command=WRITE sector=0 count=1 ) [FAT12/16] [drive C*]
Critical error encountered while using DOS disk driver
DOS driver error (hex): 01
  Description: unknown unit for driver
Program terminated.
[Code 129]
It seems that FreeDOS hasn't initialized some disk parameter block, 
because if I access the harddisk before trying to format it (i.e. dir 
c:), the format works:

A:\format c: /u /q
WARNING: ALL DATA ON NON-REMOVABLE DISK
DRIVE C: WILL BE LOST! PLEASE CONFIRM!
Proceed with format (YES/NO)? YES
Disk size: 50 Mbytes, FAT16. ***
Please enter volume label (max. 11 chars):
QuickFormatting (only flushing metadata)
Warning: Resets bad cluster marks if any.
Preparing FAT area...
100 percent completed.
QuickFormat complete.
   52,706,304  bytes total disk space (disk size)
   52,584,448  bytes available on disk (free clusters)
2,048  bytes in each allocation unit.
   25,676 allocation units on disk.
Volume Serial Number is 3725-12EA
Does anyone have an idea?
bye, Christof
---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Unable to format harddisk partition after reboot

2004-10-13 Thread Arkady V.Belousov
Hi!

13--2004 11:25 [EMAIL PROTECTED] (Christof Meerwald) wrote to
[EMAIL PROTECTED]:

CM I am unable to format a harddisk partition after a reboot (the problem
CM occurrs in a Linux dosemu box and on real hardware), here is the version
CM information of the FreeDOS kernel:
CM FreeDOS kernel version 1.1.35w (Build 2035w-UNSTABLE, Sep 27 2004)
A:\format c: /u /q
CM  Critical error encountered while using DOS disk driver
CM  DOS driver error (hex): 01
CMDescription: unknown unit for driver
CM It seems that FreeDOS hasn't initialized some disk parameter block,
CM because if I access the harddisk before trying to format it (i.e. dir
CM c:), the format works:
CM Does anyone have an idea?

 Yes. In last patches Lucho removes main.c:InitializeAllBPBs(), which
does what you explain (initialize BPBs for utilities, which access disk
directly). Probably, issue is in this removed function.

 Unfortunately, at given moment I don't have latest CVS kernel to try to
return this function and see what happen. Kenneth, Lucho? May be someone of
you?

PS: Bart, tom: who was wrote comment for InitializeAllBPBs()? Can you
explain, how to reproduce direct access through DE? _Probably_, there should
be loaded empty environment and DE runned for browsing physical drive?




---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] corrputed disk (was: )

2004-10-13 Thread Arkady V.Belousov
Hi!

12--2004 20:04 [EMAIL PROTECTED] (Arne Eckmann) wrote:

AE Who is legally responsible for damage created by FreeDOS ?

 No one. If you read any software license (including GPL), you find
there something like:

__O\_/_\_/O__
NO WARRANTY

  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.

  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.

 END OF TERMS AND CONDITIONS
_
  O/~\ /~\O

AE I just tried to startup on a FreeDOS floppy - nothing more.
AE Next I removed the floppy and restarted my PC, only to find that all access
AE to my W98 and W2000 partitions and in effect everything on my computer was
AE lost!

 This is may be coincindence. For example, modern disks often is bad
(for example, IBM DTLA series from Hungary or Fujitsu MPG series) and may
crash at any time.

 BTW, which FreeDOS (kernel) version you try? _If_ this is bug in latest
FreeDOS kernel, then it should be fixed.

AE Since booting from a DOS boot-diskette normally is safe, FreeDOS obviously
AE is a terrorist attack on unsuspecting peoples computers.

 I myself many times run FreeDOS from floppy and it not destroys my
disk. Neither this happen for many other peoples.

AE Can you remedy this situation ?

 First at all, you should give us more details:

- partitioning scheme and used file systems (FAT, NTFS).
- what mean everything is lost? Do you try to see contents of disk on
  other computer?

AE Or do I need to take legal actions against you ?




---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Re: corrputed disk (was: )

2004-10-13 Thread Arkady V.Belousov
Hi!

13--2004 17:26 [EMAIL PROTECTED] (Arne Eckmann) wrote to Arkady V.Belousov
[EMAIL PROTECTED]:

AE I'm sorry to trouble you with this. FreeDOS really need to have an official
AE address to which unsuspecting people like I can address our anger,
AE disappointments, frustrations and legal-claims.

 [EMAIL PROTECTED] Note: FreeDOS community is not hard
hierarhy and doesn't have specialized members, which answer for given and
only given question. freedos-user list, probably, is better place to
communicate with all community, which agreed to communicate. Of course,
there is Jim Hall, which tries to support all FD community, but he (should
be) available through freedos-user.

 (Note: I duplicate this our discussion in freedos-user group.)

AE I disagree with your opinion about legal responsibility,

 This is not my opinion, this is (common) legal opinion, expressed in
licence(s). I myself not always agreed with such position (especially for
commercial software, for which we pay big moneys), but this is so.

AE but never mind
AE that, because fortunately I managed to restore my system and gain control by
AE booting on a Windows emergency startdiskette, and even though FDISK /MBR
AE failed to remove the Linux-bootloader thing that FreeDOS automatically had
AE planted on my harddisk the bootpart (v. 2.5) from C.

 Hm. Looks like you try not plain boot diskette, but FreeDOS installer.
In this case you should ask/complain to distributive developer/mantainer
(Bernd Blaauw?). FreeDOS itself neither partitions/formats disks nor
installs boot manager.

AE Vollant did the trick
AE and wiped it away and restored a NT-bootloader to my harddisk. Finally the
AE SYS C: command transferred a fresh copy of the MSDOS to my harddisk, and I
AE was back in control.

AE What brought me to FreeDOS ? The need for a bootdiskette which I can use to
AE start up in pure and absolute DOS, instead of using the W98 startup diskette
AE which isn't absolute and pure DOS.

 First, MS-DOS 7.x _is_ pure DOS. Second, to get FreeDOS bootdiskette,
you may download ODIN (One Disk ... distributive; don't forget to update to
latest kernel) or do it yourself manually: just run SYS A: from directory
with FreeDOS files and kernel.

AE Recently I used OpenDOS for that purpose, and since OpenDOS often changes
AE name I thought that FreeDOS simply was just another name for OpenDOS.

 OpenDOS was used short time by Caldera after boughing DR-DOS from
Novell. After this it was renamed to DR-OpenDOS, then back to DR-DOS.
Currently this OS mantained by Device Logics.

 FreeDOS is a separate and independent branch of DOS clones. BTW, unlike
FreeDOS, DR-DOS up to now not supports big disks (more than 7.8 Gb) and
FAT32. (May be, forthcoming DR-DOS 8?)

AE I had my first computer certification on mainframes back in 1968, and in the
AE eighties I developed and wrote many applications in assember, for the MSDOS
AE platform.
AE Now, during all these years a DOS bootdiskette simply was a diskette with
AE the minimal system on, which could boot a IBM compatible pc, and leave you
AE at the familiar command prompt. And once the computer was turned off or
AE reset, all traces of the DOS had disappeared and DOS system in itself didn't
AE modify or harm your computer in any way: And that's my expectation to a DOS
AE bootdiskette, that it boots to DOS and doesn't harm or modify your computer
AE in any way.
AE I downloaded the latest image from FreeDOS and rawrite it to a diskette.
AE Next the diskette was left in the diskette drive, and the computer was
AE restarted.
AE In this scenario I was expecting the FreeDOS to boot the computer and leave
AE me at the familiar command prompt,

 Looks like you download not bootdiskette image, but FreeDOS installer.

AE while my computer at the same time should
AE remain unharmed and unaltered by the FreeDOS. But instead the FreeDOS
AE started a hefty write activity on my harddisk, and before I had a chance to
AE react it started to talk about installing FreeDOS and Linux from a CD to my
AE harddisk.

 Agreed, this is inappropriate. You should say more: which image/from
where you download? We should know where and what should be fixed.

AE This is not what I expected or what I wanted, so I instantly removed the
AE diskette and pulled the plug. However, the damage had occurred, and since I
AE no longer could boot up in W98 or W2Kpro via the usual NT-loader the access
AE to my harddisks had disappeared,

 In case if NT-bootloader is broken (for example, by installing other
OS, including W98), you may restore it from Recovery Console, which is
available when you boot from NT boot CD.

AE being replaced by a terrorist attack that
AE insisted that I should install FreeDOS and Linux on my computer. Apparently
AE a desperate measure for yet another lost cause.

AE Now, in such a situation you sometime can revert the damage done and regain
AE control over your computer without loosing much or anything. 

Re: [Freedos-user] Re: corrputed disk

2004-10-13 Thread Aitor SantamarĂ­a Merino
Hi,
Arkady V.Belousov escribi:
Hi!
13--2004 17:26 [EMAIL PROTECTED] (Arne Eckmann) wrote to Arkady V.Belousov
[EMAIL PROTECTED]:
AE I'm sorry to trouble you with this. FreeDOS really need to have an official
AE address to which unsuspecting people like I can address our anger,
AE disappointments, frustrations and legal-claims.
[EMAIL PROTECTED]
I disagree. There is no channel to communicate anger, and even less for 
legal claims. Arkady cleared very well the legal issues. Respect to the 
anger and such, you can obviously post, but most probably you are not 
likely to get any help, because it will upset people that mostly 
contribute their spare time to build the operating system. And that is 
why we choose a license by which noone can be legally liable of any 
damage produced. If you use FreeDOS or Linux or any other GPL-ed 
software, *you* are the only responsible.
Disappointments and frustrations? well, try.
Having said that, if a gentle (that is, anger free) communication 
channel is opened (that is what the list is for), we are most likely 
open to try and patch the bugs, for which report we are welcome (and a 
tool, bugzilla, available, appart from the user list). Furthermore 
response and patch times are usually shorter than for commercial software.
Finally, I am not into the thread (in fact, Arkady's messages are the 
only ones I have seen about this topic), so I don't know very well 
what's going on, but if Arkady is right, you seemed not to choose the 
correct disk to be download. I agree that perhaps there are parts of the 
FreeDOS project that are not well documented, but the install process 
and instructions is NOT one of those (I know well because I invest much 
of my time translating those docs into Spanish), please are you sure 
that you have read all the accompaining documentation, readme files, 
etc? (appart from the license file). Writing those takes a substantial 
amount of time, and that's what they are actually for: so that you get 
sure that you won't have problems of misuse with what you are doing.
My apologies if that all sounded rude, it wasn't my intention. I just 
posted this message because I thought that the story about legal issues 
is worth to be posted and reposted to leave things clear.

Best wishes,
Aitor
---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user