我只是注意到,如果插入任何类型的CD或DVD,驱动器将开始旋转,但不会显示已安装的光盘。以前,它曾经问我如何处理插入的媒体。现在,它甚至没有这样做。我在终端中运行以下命令:
$ eject -n
eject: device is `/dev/sr0'
$ sudo mount -o ro,unhide,uid=1000 /dev/cdrom /mnt/cdrom
mount: mount point /mnt/cdrom does not exist
如何使功能恢复到驱动器上?我正在运行Ubuntu 11.10。
更新
谢谢Waltinator:我运行了'dmesg',但是不知道我在找什么。我是新手。与'ls -rlt / var / log'命令相同。我应该为安装创建目录吗?现在真的不知道该怎么办。–思科Sán7小时前
成功插入CD后,以下是
dmesg
命令的前3行:$ dmesg [ 4804.416018] wlan0: no IPv6 routers present [ 8214.125450] ISdit ISO 9660 Extensions: Microsoft Joliet Level 3 [ 8214.136556] ISO 9660 Extensions: RRIP_1991A
Waltinator的回复:
第一行是先前的活动,我的无线设备在线。接下来的两行是一个很好的结果。方括号中的数字是“自启动后的秒数”,该行的其余部分通常会有所帮助。不,您不应该创建安装点。让我们尝试使自动安装工作。–沃尔丁纳
这是我的最后3行
dmesg
:[ 18.130819] init: plymouth-stop pre-start process (1396) terminated with status 1 [ 28.780011] wlan0: no IPv6 routers present [ 505.632119] CE: hpet increased min_delta_ns to 20113 nsec
waltinator的回复:
看起来您的CD / DVD驱动器未连接到数据总线,并且在插入盘片时也不会引起中断。尝试使用
dmesg | grep -A8 CD-ROM
哪个应该可以显示出系统认为可用的内容。–沃尔丁纳这是我的终端输出:
$ dmesg | grep -A8 CD-ROM [0.774351] scsi 0:0:0:0: CD-ROM HL-DT-ST DVD+-RW GSA-T40N A100 PQ: 0 ANSI: 5 [0.778117] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray [0.778122] cdrom: Uniform CD-ROM driver Revision: 3.20 [0.778282] sr 0:0:0:0: Attached scsi CD-ROM sr0 [0.778340] sr 0:0:0:0: Attached scsi generic sg0 type 5 [0.780416] Freeing unused kernel memory: 984k freed [0.780732] Write protecting the kernel read-only data: 10240k [0.780986] Freeing unused kernel memory: 20k freed [0.786331] Freeing unused kernel memory: 1400k freed [0.804912] udevd[90]: starting version 173 [0.874178] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [0.874208] r8169 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
waltinator的回复:
好的,您的系统可以看到驱动器。您可以打开和关闭与托盘
eject
和eject -t
?udevadm monitor
在插入CD时运行(完成后键入^ C),看看是否收到“更改”和“添加”消息。–沃尔丁纳eject
工作完美;eject -t
什么也没做。$ udevadm monitor KERNEL[13771.009267] change /devices/pci0000:00/0000:00:1f.1/host0/target0:0:0/0:0:0:0/block/sr0 (block) UDEV [13773.878887] change /devices/pci0000:00/0000:00:1f.1/host0/target0:0:0/0:0:0 /block/sr0 (block)
终端输出
sudo hwinfo --cdrom
:$ sudo hwinfo --cdrom hal.1: read hal dataprocess 2753: arguments to dbus_move_error() were incorrect, assertion "(dest) == NULL || !dbus_error_is_set ((dest))" failed in file ../../dbus/dbus-errors.c line 280. This is normally a bug in some application using the D-Bus library. libhal.c 3483 : Error unsubscribing to signals, error=The name org.freedesktop.Hal was not provided by any .service files 22: SCSI 00.0: 10602 CD-ROM (DVD) [Created at block.247] Unique ID: KD9E.JgkxTS4hgl2 Parent ID: 3p2J.gdUMCD83e+E SysFS ID: /class/block/sr0 SysFS BusID: 0:0:0:0 SysFS Device Link: /devices/pci0000:00/0000:00:1f.1/host0/target0:0:0/0:0:0:0 Hardware Class: cdrom Model: "HL-DT-ST DVD+-RW GSA-T40N" Vendor: "HL-DT-ST" Device: "DVD+-RW GSA-T40N" Revision: "A100" Driver: "ata_piix", "sr" Driver Modules: "ata_piix" Device File: /dev/sr0 (/dev/sg0) Device Files: /dev/sr0, /dev/scd0, /dev/disk/by-id/ata-HL-DT-ST_DVD+_-RW_GSA-T40N_K048BJ74257, /dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0, /dev/cdrom, /dev/cdrw, /dev/dvd, /dev/dvdrw Device Number: block 11:0 (char 21:0) Features: DVD Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #17 (IDE interface) Drive Speed: 31 Volume ID: "Movie" Publisher: "INTERVIDEO" Creation date: "20050424162207000"
df -m