|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 16 楼』:
使用 LLM 解释/回答一下
问题就在这里:
get_cdinfo(7f),int13/4B01(7F),err=0,drive=7f, cdrom_drive==9F.
用 DL=7F 调用,所成功返回的 9F,竟然是个无用的值。
刚刚已经把测试用的 grldr 和 grub.exe 上载到 http://grub4dos.jot.com/ ,请下载测试。
如果仍然失败,那么请仍然用 Insert 单步调试,把上述的 get_cdinfo 一行贴出来就行,目的是看 CDROM 的驱动器号码。
无论成功与否,在 debug on 的情况下,把 goemetry (cd) 和 root (cd) 的显示贴出来。
The problem is here:
get_cdinfo(7f),int13/4B01(7F),err=0,drive=7f, cdrom_drive==9F.
Using DL=7F to call, the successfully returned 9F is actually a useless value.
Just now, I have uploaded the test grldr and grub.exe to http://grub4dos.jot.com/, please download and test.
If it still fails, then still use Insert single-step debugging, just post the above get_cdinfo line, the purpose is to see the CDROM drive number.
Whether it succeeds or not, with debug on, post the display of geometry (cd) and root (cd).
|

因为我们亲手创建,这个世界更加美丽。 |
|
2007-7-12 15:20 |
|
|
chenall
银牌会员
    
积分 1276
发帖 469
注册 2002-12-23 来自 福建泉州
状态 离线
|
『第 17 楼』:
使用 LLM 解释/回答一下
get_cdinfo(7f),int13/4B01(7F),err=0,drive=7f, int13/4B01(9F),err=0,drive=9F
cdrom_drive==9F.
>debug on
>root (cd)
int13/41(9F),version=0,int13/4B01(9F),err=1,drive=9F,int13/48(9f),err=1,c/H/S=0/0/0,sector count/size=0/0,
int13/08(9f),version=1,C/H/S=16383/255/63,
ERROR 26:Selected disk does not exist
>geometry (cd)
int13/41(9f),version=0, int13/4B01(9f),err=1,drive=9F, int13/48(9F),err=1,c/H/S=0/0/0,sector count/size=0/0,
int13/08(9f),version=1,C/H/S=65536/255/15,
```
get_cdinfo(7f),int13/4B01(7F),err=0,drive=7f, int13/4B01(9F),err=0,drive=9F
cdrom_drive==9F.
>debug on
>root (cd)
int13/41(9F),version=0,int13/4B01(9F),err=1,drive=9F,int13/48(9f),err=1,c/H/S=0/0/0,sector count/size=0/0,
int13/08(9f),version=1,C/H/S=16383/255/63,
ERROR 26:Selected disk does not exist
>geometry (cd)
int13/41(9f),version=0, int13/4B01(9f),err=1,drive=9F, int13/48(9F),err=1,c/H/S=0/0/0,sector count/size=0/0,
int13/08(9f),version=1,C/H/S=65536/255/15,
|

QQ:366840202
http://chenall.net |
|
2007-7-12 18:49 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 18 楼』:
使用 LLM 解释/回答一下
这是很奇怪的,在启动的时候,执行 get cdinfo 就成功了,返回的 9F 就是光盘。
但是,第二次再执行 get cdinfo,就失败了。难道说执行一次 4B01 之后,就把光盘卸载了吗?如果是这样,这也太恶劣了!
又上载了新版(还是在 http://grub4dos.jot.com/ ),这次----在启动时----就多执行了几个 get cdinfo,看看是否会失败。猜测应当失败。
仍然是 Insert 键单步调试。这次只注意贴出 get cdinfo 的情况就行了。
This is very strange. When booting, executing get cdinfo succeeded, and the returned 9F was the CD.
But when executing get cdinfo the second time, it failed. Could it be that after executing 4B01 once, the CD is unloaded? If so, that's too bad!
Uploaded a new version again (still at http://grub4dos.jot.com/). This time----during booting----executed several more get cdinfo to see if it would fail. Guessed it should fail.
Still using the Insert key for step-by-step debugging. This time just pay attention to posting the situation of get cdinfo.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2007-7-12 20:49 |
|
|
chenall
银牌会员
    
积分 1276
发帖 469
注册 2002-12-23 来自 福建泉州
状态 离线
|
『第 19 楼』:
使用 LLM 解释/回答一下
get_cdinfo(7F),int13/4B01(7F),err=0,drive=7f,
int13/4B01(9F),err=0,drive=9F,int13/4B01(9f),err=0,drive=9F.
(重复14次,...),cdrom_drive==9F
这次不再显示.
biosdisk_int13_extensions read=0,drive=0x9f,dap=580,err=0x1
这一句了.
```
get_cdinfo(7F),int13/4B01(7F),err=0,drive=7f,
int13/4B01(9F),err=0,drive=9F,int13/4B01(9f),err=0,drive=9F.
(Repeated 14 times,...),cdrom_drive==9F
No more display this time.
biosdisk_int13_extensions read=0,drive=0x9f,dap=580,err=0x1
```
|

QQ:366840202
http://chenall.net |
|
2007-7-12 22:05 |
|
|
wang6610
银牌会员
    
积分 1246
发帖 488
注册 2003-11-11
状态 离线
|
『第 20 楼』:
使用 LLM 解释/回答一下
希望问题能解决。。。。。。。。。。
Hope the problem can be solved...
|
|
2007-7-12 22:07 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 21 楼』:
使用 LLM 解释/回答一下
再试试启动时,不是按 Insert 而是按 c 进入命令行。这个 c 的意思是连 内置的 preset_menu 也不执行了。看看在这样的状况下,
debug on
cat --hex (cd)16+4
以及
geometry (cd)
root (cd)
有没有不同的结果?
注意,连续多次运行 geometry (cd) ,看看其结果是否会变化。
=====================
wang6610:这个问题肯定能解决。我现在也正在研究 ioslinux 中的代码,这确实是一个非常好的代码,里面有很多针对不同 BIOS BUG 的处理办法。这就难怪它在 freshmeat 上能够排名前 100 位了。我们的 grub4dos 目前在 freshmeat 的排名是前 2000 位。GNU GRUB 排名是在前 200 位。
Last edited by 不点 on 2007-7-13 at 10:50 AM ]
Try starting again by pressing c instead of Insert to enter the command line. The meaning of this c is that the built-in preset_menu is not executed either. Let's see under such a situation,
debug on
cat --hex (cd)16+4
and
geometry (cd)
root (cd)
Are there any different results?
Note: Run geometry (cd) multiple times continuously and see if its results change.
=====================
wang6610: This problem can definitely be solved. I am also researching the code in ioslinux right now. This is really a very good code, and there are many methods for dealing with different BIOS bugs in it. No wonder it can be ranked among the top 100 on freshmeat. Our grub4dos is currently ranked among the top 2000 on freshmeat. GNU GRUB is ranked among the top 200.
Last edited by 不点 on 2007-7-13 at 10:50 AM ]
|

因为我们亲手创建,这个世界更加美丽。 |
|
2007-7-13 07:44 |
|
|
chenall
银牌会员
    
积分 1276
发帖 469
注册 2002-12-23 来自 福建泉州
状态 离线
|
『第 22 楼』:
使用 LLM 解释/回答一下
我用GRLDR作为引导.
直接按C键进入命令行.
以下每段都是重启后得到的数据.因为执行一次后.
以后的数据都和以前(上次发的)一样.
>debug on
>cat --hex (cd)16+4
int13/41(9F),version=0,int13/4B01(9F),err=0,drive=9F,
biosdisk_int13_extensions read=0,drive=0x9f,dap=580,err=0x1
Error 30: disk read error
>debug on
>root (cd)
同上..
>debug on
>geometry (cd)
int13/41(9f),version=0, int13/4B01(9f),err=0,drive=9F, drive 0x9f(lba):C/H/S=65536/255/15
Sector Count/Size=250675200/2048
int13/41(9f),version=0, int13/4B01(9f),err=1,drive=9F, int13/48(9F),err=1,c/H/S=0/0/0,sector count/size=0/0,
int13/08(9f),version=1,C/H/S=0/0/0
I use GRLDR as the bootloader.
Directly press the C key to enter the command line.
The following each segment is the data obtained after restarting. Because after executing once.
The subsequent data is the same as the previous one (the last post).
>debug on
>cat --hex (cd)16+4
int13/41(9F), version=0, int13/4B01(9F), err=0, drive=9F,
biosdisk_int13_extensions read=0, drive=0x9f, dap=580, err=0x1
Error 30: disk read error
>debug on
>root (cd)
The same as above..
>debug on
>geometry (cd)
int13/41(9f), version=0, int13/4B01(9f), err=0, drive=9F, drive 0x9f(lba): C/H/S=65536/255/15
Sector Count/Size=250675200/2048
int13/41(9f), version=0, int13/4B01(9f), err=1, drive=9F, int13/48(9F), err=1, c/H/S=0/0/0, sector count/size=0/0,
int13/08(9f), version=1, C/H/S=0/0/0
|

QQ:366840202
http://chenall.net |
|
2007-7-13 11:57 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 23 楼』:
使用 LLM 解释/回答一下
刚刚又上载了 两个版本到 http://grub4dos.jot.com/
注意是 两个版本:今天上载的 grldr 有两个,grub.exe 也有两个。
请试试。
这次仍然是按 c 抢先进入命令行。不过,这次在执行 debug on 之后,不用执行别的命令了,只执行
geometry (cd)
要反复多次执行这条命令,看看其显示的信息是否有变化,如果有变化,看看这些变化有无什么规律。
注意,对于上载的两个版本,请把每个版本都试验一下。
Just uploaded two versions to http://grub4dos.jot.com/
Note that there are two versions: there are two grldr uploaded today, and two grub.exe as well.
Please give it a try.
This time, still press c to enter the command line first. However, after executing debug on this time, you don't need to execute other commands, just execute
geometry (cd)
Execute this command repeatedly, see if the displayed information changes, and if there are changes, see if there are any patterns in these changes.
Note that for the two uploaded versions, test each version.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2007-7-13 18:27 |
|
|
rsea
初级用户
 
积分 47
发帖 19
注册 2007-7-11
状态 离线
|
『第 24 楼』:
使用 LLM 解释/回答一下
Originally posted by chenall at 2007-7-13 11:57 AM:
我用GRLDR作为引导.
直接按C键进入命令行.
以下每段都是重启后得到的数据.因为执行一次后.
以后的数据都和以前(上次发的)一样.
>debug on
...
新传的这两个文件是什么版本,也是0.43吗?
Originally posted by chenall at 2007-7-13 11:57 AM:
I use GRLDR as the bootloader.
Directly press the C key to enter the command line.
Each of the following segments is the data obtained after restarting. Because after executing once.
The subsequent data is the same as the previous one (the last post).
>debug on
...
What version are the newly uploaded two files? Are they also 0.43?
|
|
2007-7-13 18:58 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 25 楼』:
使用 LLM 解释/回答一下
是为了测试/调试 BUG 用的。你不必关心。
目前面向大家的仍然是 bean 发布的 07-10 版本。
It's for testing/debugging bugs. You don't need to care.
The version released by bean from July to October is still the one for everyone at present.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2007-7-13 20:36 |
|
|
chenall
银牌会员
    
积分 1276
发帖 469
注册 2002-12-23 来自 福建泉州
状态 离线
|
『第 26 楼』:
使用 LLM 解释/回答一下
为了方便测试,将两个文件全部下载下载一个名为GRUB40.EXE一个为GRUB41.EXE
通过光盘的ISOLINUX引导后再分别加载这两个文件进行测试.
GRUB.EXE VER 40
>debug on
>geometry (cd)
int13/41(9F),version=0, int13/4B01(9F),err=0,drive=9F,drive 0x9f(LBA):C/H/S
=65536/255/15,Sector Count/Size=250675200/2048
>geometry (cd)
int13/41(9F0,verion=0, int13/4B01(9F0,err=1,drive=9F, int13/48(9F),err=1,C
/H/S=0/0/0,Sector Count/Size=0/0, int13/08(9F),version=1,C/H/S=65536/255/15,
Error 26: Selected disk does not exist
>geometry (cd)
同上..
....
执行了多次还是同上...
GRUB.EXE VER41
结果是一样的.
In order to facilitate testing, download both files completely. One is named GRUB40.EXE and the other is GRUB41.EXE. After booting through the ISO - LINUX of the CD - ROM, then load these two files respectively for testing.
GRUB.EXE VER 40
>debug on
>geometry (cd)
int13/41(9F),version=0, int13/4B01(9F),err=0,drive=9F,drive 0x9f(LBA):C/H/S
=65536/255/15,Sector Count/Size=250675200/2048
>geometry (cd)
int13/41(9F0,verion=0, int13/4B01(9F0,err=1,drive=9F, int13/48(9F),err=1,C
/H/S=0/0/0,Sector Count/Size=0/0, int13/08(9F),version=1,C/H/S=65536/255/15,
Error 26: Selected disk does not exist
>geometry (cd)
The same as above..
....
Executed multiple times or the same as above...
GRUB.EXE VER41
The result is the same.
|

QQ:366840202
http://chenall.net |
|
2007-7-13 20:40 |
|
|
zmq
新手上路

积分 14
发帖 6
注册 2006-3-27
状态 离线
|
『第 27 楼』:
启动Win98故障
使用 LLM 解释/回答一下
1. 这个win98.img用memdisk是可以正常启动的
2. grub版本0.4.3 2007-10-08
3. 故障现象:在Start Windows 98时死机
4. 命令行顺序
map (hd0,0)/boot/sources/win98.img (hd0)
map (hd0) (hd2)
chainloader (hd0)+1
boot
1. This win98.img can be normally booted with memdisk.
2. GRUB version 0.4.3 2007-10-08
3. Fault phenomenon: Freezes when starting Windows 98
4. Command line sequence
map (hd0,0)/boot/sources/win98.img (hd0)
map (hd0) (hd2)
chainloader (hd0)+1
boot
|
|
2007-10-8 17:17 |
|
|
bxtemp
新手上路

积分 14
发帖 6
注册 2008-4-9
状态 离线
|
|
2008-4-9 17:38 |
|
|
haiou327
高级用户
    DOS时空
积分 713
发帖 348
注册 2007-2-10
状态 离线
|
|
2008-5-6 16:24 |
|
|
mydossky
新手上路

积分 6
发帖 3
注册 2007-11-4
状态 离线
|
『第 30 楼』:
使用 LLM 解释/回答一下
GRUB 新版给个连接吧
Please provide the specific link you are referring to. If there is no specific content related to the link context here, I can't give a specific translated link output. Please provide more context information about the link you want to refer to.
|
|
2010-6-14 15:49 |
|
|