启动太慢的问题~~~
我用的是RH9,启动时到这里就慢了。。。是不是DMA设置的问题Partition check:
hda:<4>hda: dma_timer_expiry: dma status == 0x21
hda: timeout waiting for DMA
hda: timeout waiting for DMA
hda: (__ide_dma_test_irq) called while not waiting
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
hda: drive not ready for command
hda1 hda2 <<4>hda: dma_timer_expiry: dma status == 0x21
hda: timeout waiting for DMA
hda: timeout waiting for DMA
hda: (__ide_dma_test_irq) called while not waiting
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
hda: drive not ready for command
hda5<4>hda: dma_timer_expiry: dma status == 0x21
hda: timeout waiting for DMA
hda: timeout waiting for DMA
hda: (__ide_dma_test_irq) called while not waiting
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
hda: drive not ready for command
hda6<4>hda: dma_timer_expiry: dma status == 0x21
hda: timeout waiting for DMA
hda: timeout waiting for DMA
hda: (__ide_dma_test_irq) called while not waiting
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
hda: drive not ready for command 这种情况我在老机器上碰到过,很来才发现是 Linux 不支持我主板的DMA。 我觉得也是DMA的问题。因为我还装了win2k,它也不支持DMA,在win2k里打开DMA后启动win2k就很慢,只能改为PIO模式。
请问楼上的是怎么解决的?
在Linux下怎么关闭DMA,或者让它跳过那些检测?
各位帮帮忙,已经很长时间没有解决了,每次开机都需要4~5分钟,谢谢了!!! 关闭了dma 那 多慢阿 主板型号,芯片组是什么? via的 好像是694x 我最终的解决办法就是换机器了 :mrgreen:
当时的情况比你还要严重,有时候linux启动到一半就没反应了,直到在grub启动参数里加上ide=nodma,禁止DMA,才恢复正常,不过速度是很慢的。
也就是说,想禁止DMA的话,在grub或lilo的配置文件里,如/boot/grub/menu.lst(redhat是/etc/grub.conf)里面各个title的kernel行里加上ide=nodma。 这是我的/etc/gurb.conf文件,你能告诉我加在哪里吗?我不敢动,怕改完了不能启动了,谢谢!
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:You have a /boot partition.This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,6)
# kernel /vmlinuz-version ro root=/dev/hda9
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,6)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8 )
root (hd0,6)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title Windows 2000 PRO
rootnoverify (hd0,0)
chainloader +1 # grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:You have a /boot partition.This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,6)
# kernel /vmlinuz-version ro root=/dev/hda9
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,6)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8 )
root (hd0,6)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ ide=nodma
initrd /initrd-2.4.20-8.img
title Windows 2000 PRO
rootnoverify (hd0,0)
chainloader +1
-------------------
另外,电脑启动出现grub菜单后可以按e键临时修改grub菜单内容,按b键启动。 可算解决它了,去了一块心病!!!
谢谢hupeng923大哥!!! 叫俺大哥不敢当啊 :mrgreen: 技术是我大哥级的~~~ :mrgreen::mrgreen:
以后有问题还要麻烦你呀 :wink: 不客气,我能帮上的一定帮忙:)
页:
[1]