QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1522|回复: 15

我的光驱不能用了

[复制链接]
发表于 2003-5-26 19:14:15 | 显示全部楼层 |阅读模式
内核为2.4.20
开机时出现以下消息:
hdc: Compaq DVD-ROM DVD-114 0114, ATAPI CD/DVD-ROM drive
hdd: CD-R/RW RW7083A, ATAPI CD/DVD-ROM drive
hdd: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hdd: set_drive_speed_status: error=0x04
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
...
hdc: ATAPI DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: Model: CD-R/RW RW7083A Rev: 1.20
Type: CD-ROM ANSI SCSI revision: 02
parport0: PC-style at 0x378 (0x77 [PCSPP,TRISTATE]
parport0: irq 7 detected
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
...
mount光盘的时候就是死机
请问应该如何调整,谢谢
发表于 2003-5-26 22:04:50 | 显示全部楼层
when u find this? after u install system? or after u did sth like recompiling the kernel, changing the grub.conf or lilo.conf, or changing the hdparm parameters...
回复

使用道具 举报

 楼主| 发表于 2003-5-29 12:09:26 | 显示全部楼层
just after installing the system
I had tried RH9 and ML1.1, the problem exists in both systems
I have searched google.com for an answer. It seems something related to the kernel. Unfortunately there arent any good resolutios except one that make a patch for kernel 2.5.xx, but I am not using such kernel.
I had tried hdparm: #hdparm -p4 /dev/hdd, but the cd-rw drive was still running in DMA mode.
have u ever seen such a problem before?thx
回复

使用道具 举报

发表于 2003-5-29 21:24:00 | 显示全部楼层
i never, my cdrw always works fine for me. can u add ide-scsi or remove that from u lilo.conf or grub.conf and try?
回复

使用道具 举报

 楼主| 发表于 2003-5-30 14:52:49 | 显示全部楼层
i tried, but nothing happened
can i chang some options in my kernel's config file?
coz i am compiling my own 2.4.20 kernel these days.
回复

使用道具 举报

 楼主| 发表于 2003-5-30 14:59:33 | 显示全部楼层
and, i got an error while booting with my new compiled kernel:

Kernel panic: VFS: cannot mount root on 00:00 (something like that)

i followed the basic steps on Kernel How-to. bzImage and initrd and necessary modules had been made and installed in proper diretories. the correspondant part of my grub.conf is as follows:

title Test Kernel ..::Optimized for my P4::..
        root (hd0,0)
        kernel /bzImage.myP4.30may2003 ro vga=normal root=LABEL=/ hdd=ide-scsi
        initrd /initrd-2.4.20-myP4.30may2003.img
回复

使用道具 举报

 楼主| 发表于 2003-5-30 19:29:06 | 显示全部楼层
the vfs problem had been solved
and the cdrw problem still exists, ft!
回复

使用道具 举报

发表于 2003-5-30 22:11:16 | 显示全部楼层
Could you activate the kernel config option "Enable DMA only for disks" and see if it still happens?
回复

使用道具 举报

 楼主| 发表于 2003-6-1 19:09:04 | 显示全部楼层
i have tried that option, nothing improved
will a newer version of kernel works?
回复

使用道具 举报

发表于 2003-6-1 21:57:43 | 显示全部楼层
try to download a 2.5.6x one.

good luck.
回复

使用道具 举报

 楼主| 发表于 2003-6-4 13:19:33 | 显示全部楼层
i had fixed the problem now
it is the problem of dma compatiblity
after bootup, i used "hdparm -d0 /dev/hdd"
and it works!
but i had not tried burning any discs yet
回复

使用道具 举报

发表于 2003-6-4 21:47:52 | 显示全部楼层
this is to disable the dma for u cdrom. then it is strange that why ""Enable DMA only for disks" option does not work.

try to burn some disc when u have time, and pls report u result here, thx.
回复

使用道具 举报

 楼主| 发表于 2003-6-4 23:01:46 | 显示全部楼层
ok, i will
and i am learning how to burn one under linux, bit of complex,
回复

使用道具 举报

发表于 2003-6-4 23:08:09 | 显示全部楼层
u are improving uself and increase u knowledge. a great thing.
回复

使用道具 举报

 楼主| 发表于 2003-6-5 11:56:48 | 显示全部楼层
yes, the disc burning still works
it was really strange, my writer works well in multi-word dma mode under Win
does the kernel have a weak support of MW-DMA?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-12-3 07:44 , Processed in 0.044239 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表