popkev 发表于 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 (0x778)
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光盘的时候就是死机
请问应该如何调整,谢谢

Dragonfly 发表于 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...

popkev 发表于 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

Dragonfly 发表于 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?

popkev 发表于 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.

popkev 发表于 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

popkev 发表于 2003-5-30 19:29:06

the vfs problem had been solved
and the cdrw problem still exists, ft!

Dragonfly 发表于 2003-5-30 22:11:16

Could you activate the kernel config option "Enable DMA only for disks" and see if it still happens?

popkev 发表于 2003-6-1 19:09:04

i have tried that option, nothing improved
will a newer version of kernel works?

Dragonfly 发表于 2003-6-1 21:57:43

try to download a 2.5.6x one.

good luck.

popkev 发表于 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

Dragonfly 发表于 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.

popkev 发表于 2003-6-4 23:01:46

ok, i will
and i am learning how to burn one under linux, bit of complex, :)

Dragonfly 发表于 2003-6-4 23:08:09

u are improving uself and increase u knowledge. a great thing.

popkev 发表于 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?
页: [1] 2
查看完整版本: 我的光驱不能用了