|
cba-xyz
中级用户
  
积分 295
发帖 70
注册 2003-7-24
状态 离线
|
『第 16 楼』:
使用 LLM 解释/回答一下
以下是引用不点在2003-11-11 23:35:09的发言:
老兄提供的地址不能上传,多次重试也不行。已经上传到这里:
ftp://ftp.cosoft.org.cn/incoming/grub_t01.exe
这个几天测试一下,希望作者多改掉一些BUG,我也是在虚拟机里试,GRUB不大安全,怕怕。
The following is a quote from Budian at 23:35:09 on November 11, 2003:
The address provided by the brother cannot be uploaded, and multiple attempts have been made without success. It has been uploaded here:
ftp://ftp.cosoft.org.cn/incoming/grub_t01.exe
I will test this in a few days. I hope the author can fix more bugs. I am also testing in a virtual machine. GRUB is not very secure, so I'm a bit worried.
|
|
2003-11-14 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 17 楼』:
使用 LLM 解释/回答一下
以下是引用cba-xyz在2003-11-14 20:16:22的发言:
这个几天测试一下,希望作者多改掉一些BUG,我也是在虚拟机里试,GRUB不大安全,怕怕。
怕怕,这就对了。我最害怕胆子大的人了。我赞成小心谨慎严肃的人。
可以说,最近出现的这个 BUG,实在是太伤脑筋,恐怕不知道什么时候才能彻底解决了。所以我可不愿意鼓励大家现在都来测试。在提供给大家公开测试之前,我自己首先应当把已经发现的问题都解决掉。
我希望接下来的正式版本要经过广泛的测试,应当是十分稳定的。
The following is a quote from cba-xyz on 2003-11-14 20:16:22:
I tested it these days. I hope the author can fix more bugs. I also tested it in a virtual machine. GRUB is not very safe, so I'm scared.
Scared, that's right. I'm most afraid of people who are bold. I approve of people who are careful and serious.
It can be said that this recently discovered bug is really very frustrating. I'm afraid it won't be completely solved for who knows when. So I don't want to encourage everyone to test now. Before providing it for public testing, I should first solve all the problems I have discovered by myself.
I hope the next official version will be widely tested and should be very stable.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2003-11-15 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 18 楼』:
使用 LLM 解释/回答一下
感觉 GRUB 所出现的问题,主要还像是属于 win98 的 BUG。我详细检查了 grub 仿真部分的代码,没有发现任何可疑的地方。所以,把这一情况当作一个特例来处理,也就是,当扇区不是以 55 AA 结尾时,禁止将它写入仿真驱动器的第一扇区。好了,再测试吧。
ftp://ftp.cosoft.org.cn/incoming/grub_t04.exe
It feels like the problem with GRUB mainly seems to belong to the BUG of Win98. I carefully checked the code of the GRUB emulation part and found no suspicious places. So, treat this situation as a special case, that is, when the sector does not end with 55 AA, prohibit writing it to the first sector of the emulated drive. Okay, let's test again.
ftp://ftp.cosoft.org.cn/incoming/grub_t04.exe
|

因为我们亲手创建,这个世界更加美丽。 |
|
2003-11-16 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 19 楼』:
使用 LLM 解释/回答一下
不点:刚试了这个T4版,不过在我的电脑上用GRUB启动Win98时当不禁止用“32位(保护模式)磁盘存取”时仍然出现蓝屏或黑屏错误而死机,虽然和T1版相比重启后发现软盘IMG没有损坏。
Buddy: Just tried this T4 version. But when I boot Win98 with GRUB on my computer, if I don't disable "32-bit (protected mode) disk access", there's still a blue screen or black screen error and it freezes. Although compared with the T1 version, I found that the floppy disk IMG is not damaged after restarting.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-11-16 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 20 楼』:
使用 LLM 解释/回答一下
我也发现了这个问题,并且,感觉到问题十分严重,也比较奇怪。
我用
map (hd0,0)+1 (fd0) 这是把 A: 盘映射到 C: 盘,所有对 A: 盘的操作,都将转向 C: 盘了
chainloader (hd0,0)+1
boot
启动,结果,C: 盘没事,但 A: 盘所有的偶数字节都显示成 00。
I also discovered this problem, and felt that the problem was quite serious and rather strange.
I used
map (hd0,0)+1 (fd0) This is mapping drive A: to drive C:; all operations on drive A: will be redirected to drive C:
chainloader (hd0,0)+1
boot
to boot. As a result, drive C: was fine, but all even-numbered bytes on drive A: were displayed as 00.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2003-11-17 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 21 楼』:
使用 LLM 解释/回答一下
再看看这个:
ftp://ftp.cosoft.org.cn/incoming/grub_t06.exe
应当差不多了。
我用
map (hd0,0)+1 (fd0)
chainloader (hd0)+1
boot
可以启动 C: 盘上的 win98 了。在 win98 中察看 A: 盘,可以发现 A: 盘的大小是 4G,内容也和 C: 盘完全一样。
A: 盘的大小可以是任意的,这应当比较过瘾了。
Let's take a look at this:
ftp://ftp.cosoft.org.cn/incoming/grub_t06.exe
That should be about it.
I use
map (hd0,0)+1 (fd0)
chainloader (hd0)+1
boot
To boot into win98 on drive C:. In win98, when I check drive A:, I find that the size of drive A: is 4G and the content is exactly the same as drive C:.
The size of drive A: can be arbitrary, which should be quite exciting.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2003-11-18 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 22 楼』:
使用 LLM 解释/回答一下
我刚才下载了GRUB的T6版试了,不过发现在我的VMWare环境中,只要用GRUB虚拟了软驱(不管是map (hd0,0)/xx/xx (fd0)还是map (hd0,0)+1 (fd0)等),然后用chainloader+boot启动DOS(此时一切正常),再输入WIN命令启动Win98(未屏蔽“保护模式磁盘存取”)时总是出现"Unable to write to Drive C"之类的蓝屏错误并死机,不知是什么原因?
I just now downloaded the T6 version of GRUB and tried it, but I found that in my VMWare environment, as long as I use GRUB to virtualize the floppy drive (whether it's map (hd0,0)/xx/xx (fd0) or map (hd0,0)+1 (fd0), etc.), and then use chainloader+boot to start DOS (at this time everything is normal), and then enter the WIN command to start Win98 (without shielding "Protected Mode Disk Access"), there is always a blue screen error like "Unable to write to Drive C" and it crashes. What is the reason?
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-11-18 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 23 楼』:
使用 LLM 解释/回答一下
你能否这样试验一下:
map (hd0,0)+1 (fd0)
chainloader (hd0)+1
boot
看看这样能否启动 win98 ?
Can you try this:
map (hd0,0)+1 (fd0)
chainloader (hd0)+1
boot
See if this can boot Win98?
|

因为我们亲手创建,这个世界更加美丽。 |
|
2003-11-18 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 24 楼』:
使用 LLM 解释/回答一下
不点,上次就是这样试的呢,不过可惜不行。
Don't click, I tried this way last time, but unfortunately it didn't work.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-11-18 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 25 楼』:
使用 LLM 解释/回答一下
在我的vmware上, 用两种方法启动, 结果是不同的.
如上所说, 第一种从硬盘启动成功:
map (hd0,0)+1 (fd0)
chainloader (hd0)+1
boot
第二种从软盘启动失败.
map (hd0,0)+1 (fd0)
map --hook
chainloader (fd0)+1
boot
没有出现蓝屏, 但是机器死锁了, 不能进入 win98
=====================
我们来猜测一下, 第一种启动成功, 是因为 C: 是启动盘, win98 把这个盘实施 "保护模式的磁盘存取", 而把 A: 盘实施 "实模式的磁盘存取", 这是通过的, 所以成功了.
第二种启动失败, 是因为 A: 盘是启动盘, win98 试图把 A: 盘实施 "保护模式的磁盘存取", 但是, 由于 GRUB 仿真的磁盘不能进行 win98 的 "保护模式的磁盘存取", 或者说 win98 本身不支持被仿真磁盘的 "保护模式的磁盘存取", 所以, windows 死掉了.
禁止 win98 的 "保护模式的磁盘存取" 之后, 问题得到解决, 这佐证了上述的猜测.
我感觉这已经走到尽头了, 没办法. 除非谁能改进一下 win98 的 "保护模式的磁盘存取" 的驱动程序.
===========
上述两种启动有着本质的不同, 一个从 C: 盘, 一个从 A: 盘. 表面上看起来类似, 但实质上是不一样的(关键之处就在于是从哪个盘启动的). Wengier 兄是否再试试.
如果上述猜想成立的话, 我们基本上就可以收工了.
On my VMware, starting in two ways results in different outcomes.
As mentioned above, the first successful boot from the hard disk:
map (hd0,0)+1 (fd0)
chainloader (hd0)+1
boot
The second boot from the floppy disk fails.
map (hd0,0)+1 (fd0)
map --hook
chainloader (fd0)+1
boot
There is no blue screen, but the machine is locked up and cannot enter Win98.
=====================
Let's guess. The first successful boot is because C: is the boot disk. Win98 implements "protected mode disk access" for this disk and "real mode disk access" for drive A:, which passes, so it succeeds.
The second boot fails because drive A: is the boot disk. Win98 attempts to implement "protected mode disk access" for drive A:, but since the disk emulated by GRUB cannot perform Win98's "protected mode disk access", or Win98 itself does not support "protected mode disk access" for the emulated disk, Windows dies.
After disabling Win98's "protected mode disk access", the problem is solved, which confirms the above guess.
I feel this has reached a dead end, there's no way. Unless someone can improve the driver for Win98's "protected mode disk access".
===========
The above two boots are essentially different, one from drive C: and one from drive A:. They seem similar on the surface but are essentially different (the key is which disk it boots from). Brother Wengier, would you try again.
If the above conjecture holds, we can basically call it a day.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2003-11-18 00:00 |
|
|
imp
银牌会员
    
积分 1001
发帖 309
注册 2002-11-19
状态 离线
|
『第 26 楼』:
使用 LLM 解释/回答一下
用vfloppy启动系统后 怎么用软区呀?
After booting the system with vfloppy, how to use the floppy drive?
|
|
2003-11-18 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 27 楼』:
使用 LLM 解释/回答一下
再报告一下新的测试结果。
这次从软盘居然也启动了 win98, 而 win98 的 "保护模式的磁盘存取" 并未关闭。
map (hd0,0)/dos98.img (fd0)
chainloader (hd0,0)/dos98.img
boot
进入 win98 之后,第一次访问软盘还正常,第二次访问软盘,速度奇慢。
第三次访问软盘,win98 报告软盘没有格式化。用 debug 看看软盘的内容,结果,软盘所有扇区在第偶数个字节都变成 00 了。
看来 win98 还是很难伺候的。
整体印象是,win98 对于与实模式兼容的磁盘操作没有经过充分测试,它潜藏着很严重的 BUG。为了尽量伺候好 win98,我们可能得再多编写一大段处理程序,尽量躲过它的 BUG。
Report the new test results again.
This time, win98 was actually booted from a floppy disk, and the "protected mode disk access" of win98 was not disabled.
map (hd0,0)/dos98.img (fd0)
chainloader (hd0,0)/dos98.img
boot
After entering win98, the first access to the floppy disk was normal, the second access to the floppy disk was extremely slow.
The third access to the floppy disk, win98 reported that the floppy disk was not formatted. Using debug to look at the content of the floppy disk, as a result, all sectors of the floppy disk had 00 at even bytes.
It seems that win98 is still difficult to handle.
The overall impression is that win98 did not fully test the disk operations compatible with real mode, and it has serious hidden bugs. In order to serve win98 as much as possible, we may need to write a large section of processing programs to avoid its bugs as much as possible.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2003-11-19 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 28 楼』:
使用 LLM 解释/回答一下
不点:既然已经基本确定是Win98的“保护模式磁盘存取”自己的BUG了,不如在GRUB的说明文件中加个提示,就说用GRUB虚拟软盘后启动DOS->Win98时不要启用那个模式就行了,或者给GRUB加一段代码让它发现开始启动Win98时自动禁用Win98的“保护模式磁盘存取”功能,如何?免得再去伺侯Win98的"“保护模式磁盘存取”这个麻烦的东东了。
Budian: Since it has basically been determined that it is a bug in Win98's "Protected Mode Disk Access" itself, why not add a note in the GRUB documentation, saying that when using GRUB to virtualize a floppy disk and then booting DOS->Win98, do not enable that mode, or add a piece of code to GRUB to automatically disable Win98's "Protected Mode Disk Access" function when it detects that Win98 is starting, so as to avoid having to deal with that troublesome "Protected Mode Disk Access" of Win98 anymore.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-11-19 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 29 楼』:
使用 LLM 解释/回答一下
Wengier 兄所说,也正是我想要做的。如果最终不能解决这个难题,那么这就是一个退路。
但是,我实在不想放弃。早期 GNU GRUB 的开发者之所以添加了 map 命令,其目的就是伺候 windows 不能从 D: 盘启动这个弱点。遗憾的是,用了 map 映射之后,照样不能启动 D: 盘上的 windows。在 GNU GRUB 的代码中表明 dangerous ,说明这一映射是不安全的。我曾经用 map 映射在真实机器上启动 D: 盘上的 DOS,但没有用它来启动 D: 盘上的 windows。有人报告说不能启动 D: 盘上的 windows。
然而早期,开发者们没有 VMWARE 这类仿真器。今天我们有了这类方便的工具,是该坚持把技术做到完美了。如果最终不能安全地启动 windows,我自己就感到很失望,我会认为先前的努力都是白费。我想再试试,尽力而为,不想轻易就投降。有了诸位可爱的中国人的帮助,我们达到了今天这个地步,我们的成功就在于,我们发现了问题的根源。这很重要。如果发现不了问题的根源,那就根本没有希望。现在我们发现了问题的根源,只剩下要找到解决的办法了。尽管是伺候 win98,但也值得去做一做,毕竟 win98 在其它方面都是不错的。我相信最终会有满意的解决的。
What Brother Wengier said is exactly what I want to do. If this difficult problem can't be finally solved, then this is a fallback option.
But I really don't want to give up. The reason why the developers of the early GNU GRUB added the map command was to deal with the weakness that Windows couldn't boot from the D: drive. Unfortunately, after using the map mapping, Windows on the D: drive still couldn't boot. The dangerous indication in the GNU GRUB code shows that this mapping is not safe. I once used the map mapping to boot DOS on the D: drive on a real machine, but I didn't use it to boot Windows on the D: drive. Some people reported that Windows on the D: drive couldn't boot.
However, in the early days, the developers didn't have emulators like VMWARE. Today we have such convenient tools, and it's time to stick to making the technology perfect. If in the end Windows can't be safely booted, I will feel disappointed, and I will think that the previous efforts were all in vain. I want to try again, do my best, and don't want to surrender easily. With the help of all you lovely Chinese people, we have reached this point today. Our success lies in the fact that we have discovered the root cause of the problem. This is very important. If the root cause of the problem can't be discovered, there is no hope at all. Now that we have discovered the root cause of the problem, there is only the need to find a solution. Although it's about serving Win98, it's also worth doing. After all, Win98 is good in other aspects. I believe there will be a satisfactory solution in the end.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2003-11-19 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 30 楼』:
使用 LLM 解释/回答一下
又做了一个,再试试吧。
ftp://ftp.cosoft.org.cn/incoming/grub_t07.exe
这次总不至于没有任何进步吧?
我的测试,可以从软盘映象启动 win98 了。在我的虚拟机上没有发现其它毛病。
Another one made, let's try again.
ftp://ftp.cosoft.org.cn/incoming/grub_t07.exe
This time there shouldn't be no progress at all, right?
My test, can boot win98 from floppy image. No other problems found on my virtual machine.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2003-11-20 00:00 |
|