Rzadko używam płyt CD na laptopie, ale pamiętam ten sam problem kilka miesięcy temu. Po włożeniu płyty CD do napędu DVD nic się nie dzieje. Zaczęło się ostatni raz, gdy ja nic nie robiłem, ale nie wiem, co jest nie tak. Muszę nagrać płytę CD za pomocą k3b, ale pojawia się błąd „nie znaleziono urządzenia optycznego”.
Mój system to Fedora 20 x86_64. Problem: Płyty CD nie są montowane, po włożeniu do napędu nic się nie dzieje.
Co mogę zrobić, aby rozwiązać ten problem?
AKTUALIZACJA AKTUALIZACJI: Problem: płyty CD i DVD nie działają poprawnie, ponieważ marsz był niestabilny, jak w przypadku „nie montowania po włożeniu”, „montowania po włożeniu, ale rozłączania losowo” / „odłączania losowo”, po rozłączeniu dysk jest niewidoczny do systemu i nie mogę wysunąć dysku.
Wczoraj włożyłem film DVD do napędu, został on zamontowany w / run / media / username / MOUNTPOINT i wszystko działało, potem po pewnym czasie zniknęło, nie było już montowane i nie mogę wysunąć DVD z napędu. Tak jest teraz, wciąż jest na dysku, oto kilka poleceń, które działają na dysku tak jak teraz:
root ~ # dmesg | grep -E 'cd|cdrom|cd/rw|dvd|writer|sr0'
[ 1.239250] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.248714] usb usb1: Manufacturer: Linux 3.16.2-201.fc20.x86_64 ehci_hcd
[ 1.249119] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.249150] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.249308] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 1.249439] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 1.249527] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[ 1.249553] xhci_hcd 0000:00:14.0: irq 61 for MSI/MSI-X
[ 1.249638] usb usb2: Manufacturer: Linux 3.16.2-201.fc20.x86_64 xhci_hcd
[ 1.252451] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 1.252613] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
[ 1.252661] usb usb3: Manufacturer: Linux 3.16.2-201.fc20.x86_64 xhci_hcd
[ 1.652308] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[ 1.652311] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 1.652453] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 1.828890] usb 2-2: new high-speed USB device number 2 using xhci_hcd
[ 40.830788] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2)
[ 41.739818] cdc_ether 2-2:1.0 eth0: register 'cdc_ether' at usb-0000:00:14.0-2, CDC Ethernet Device, 58:2c:80:13:92:63
[ 41.739847] usbcore: registered new interface driver cdc_ether
[ 1809.110149] cdc_ether 2-2:1.0 enp0s20u2: unregister 'cdc_ether' usb-0000:00:14.0-2, CDC Ethernet Device
[ 1825.135250] usb 2-1: new high-speed USB device number 3 using xhci_hcd
[ 1831.390781] usb 2-1: new high-speed USB device number 4 using xhci_hcd
[ 1831.558257] cdc_ether 2-1:1.0 eth0: register 'cdc_ether' at usb-0000:00:14.0-1, CDC Ethernet Device, 58:2c:80:13:92:63
[17250.764324] cdc_ether 2-1:1.0 enp0s20u1: unregister 'cdc_ether' usb-0000:00:14.0-1, CDC Ethernet Device
[17264.847506] usb 2-1: new high-speed USB device number 5 using xhci_hcd
[17270.813900] usb 2-1: new high-speed USB device number 6 using xhci_hcd
[17270.980819] cdc_ether 2-1:1.0 eth0: register 'cdc_ether' at usb-0000:00:14.0-1, CDC Ethernet Device, 58:2c:80:13:92:63
[35215.177879] cdc_ether 2-1:1.0 enp0s20u1: unregister 'cdc_ether' usb-0000:00:14.0-1, CDC Ethernet Device
[35227.560848] usb 2-1: new high-speed USB device number 7 using xhci_hcd
[35228.671372] usb 2-1: new high-speed USB device number 8 using xhci_hcd
[35228.838613] cdc_ether 2-1:1.0 eth0: register 'cdc_ether' at usb-0000:00:14.0-1, CDC Ethernet Device, 58:2c:80:13:92:63
[35917.047630] SELinux: initialized (dev sr0, type udf), uses genfs_contexts
[44806.808009] sr 1:0:0:0: [sr0] CDB:
[44807.324227] sr 1:0:0:0: [sr0] CDB:
[44807.880434] sr 1:0:0:0: [sr0] CDB:
[44856.000206] sr 1:0:0:0: [sr0] CDB:
[44856.319338] sr 1:0:0:0: [sr0] CDB:
[44980.675383] sr 1:0:0:0: [sr0] CDB:
[59345.299819] cdc_ether 2-1:1.0 enp0s20u1: unregister 'cdc_ether' usb-0000:00:14.0-1, CDC Ethernet Device
[78891.591565] usb 2-2: new high-speed USB device number 9 using xhci_hcd
[78897.855153] usb 2-2: new high-speed USB device number 10 using xhci_hcd
[78898.022399] cdc_ether 2-2:1.0 eth0: register 'cdc_ether' at usb-0000:00:14.0-2, CDC Ethernet Device, 58:2c:80:13:92:63
[83262.678186] cdc_ether 2-2:1.0 enp0s20u2: unregister 'cdc_ether' usb-0000:00:14.0-2, CDC Ethernet Device
[83278.871637] usb 2-1: new high-speed USB device number 11 using xhci_hcd
[83279.952077] usb 2-1: new high-speed USB device number 12 using xhci_hcd
[83280.118951] cdc_ether 2-1:1.0 eth0: register 'cdc_ether' at usb-0000:00:14.0-1, CDC Ethernet Device, 58:2c:80:13:92:63
[95425.784192] sr0: scsi3-mmc drive: 62x/62x writer dvd-ram cd/rw xa/form2 cdda tray
[95425.785279] sr 1:0:0:0: Attached scsi CD-ROM sr0
[95449.052453] SELinux: initialized (dev sr0, type udf), uses genfs_contexts
[98370.811692] cdc_ether 2-1:1.0 enp0s20u1: unregister 'cdc_ether' usb-0000:00:14.0-1, CDC Ethernet Device
[98386.604469] usb 2-1: new high-speed USB device number 13 using xhci_hcd
[98387.914034] usb 2-1: new high-speed USB device number 14 using xhci_hcd
[98388.080693] cdc_ether 2-1:1.0 eth0: register 'cdc_ether' at usb-0000:00:14.0-1, CDC Ethernet Device, 58:2c:80:13:92:63
[100738.953863] traps: dvdrip[647] general protection ip:7fa7847e3561 sp:7fff325fdbd0 error:0 in liboxygen-gtk.so[7fa78477f000+150000]
[122586.181343] cdc_ether 2-1:1.0 enp0s20u1: unregister 'cdc_ether' usb-0000:00:14.0-1, CDC Ethernet Device
[122600.093624] usb 2-1: new high-speed USB device number 15 using xhci_hcd
[122601.554193] usb 2-1: new high-speed USB device number 16 using xhci_hcd
[122601.721759] cdc_ether 2-1:1.0 eth0: register 'cdc_ether' at usb-0000:00:14.0-1, CDC Ethernet Device, 58:2c:80:13:92:63
[132184.067563] cdc_ether 2-1:1.0 enp0s20u1: unregister 'cdc_ether' usb-0000:00:14.0-1, CDC Ethernet Device
[139533.563004] usb 2-1: new high-speed USB device number 17 using xhci_hcd
[139534.653429] usb 2-1: new high-speed USB device number 18 using xhci_hcd
[139534.820139] cdc_ether 2-1:1.0 eth0: register 'cdc_ether' at usb-0000:00:14.0-1, CDC Ethernet Device, 58:2c:80:13:92:63
[139676.985518] cdc_ether 2-1:1.0 enp0s20u1: unregister 'cdc_ether' usb-0000:00:14.0-1, CDC Ethernet Device
[167212.674495] usb 2-2: new high-speed USB device number 19 using xhci_hcd
[167213.774791] usb 2-2: new high-speed USB device number 20 using xhci_hcd
[167213.941249] cdc_ether 2-2:1.0 eth0: register 'cdc_ether' at usb-0000:00:14.0-2, CDC Ethernet Device, 58:2c:80:13:92:63
[192379.837441] cdc_ether 2-2:1.0 enp0s20u2: unregister 'cdc_ether' usb-0000:00:14.0-2, CDC Ethernet Device
[192396.388996] usb 2-1: new high-speed USB device number 21 using xhci_hcd
[192397.939646] usb 2-1: new high-speed USB device number 22 using xhci_hcd
[192398.106156] cdc_ether 2-1:1.0 eth0: register 'cdc_ether' at usb-0000:00:14.0-1, CDC Ethernet Device, 58:2c:80:13:92:63
[192659.266621] cdc_ether 2-1:1.0 enp0s20u1: unregister 'cdc_ether' usb-0000:00:14.0-1, CDC Ethernet Device
[192676.002675] usb 2-1: new high-speed USB device number 23 using xhci_hcd
[192677.093245] usb 2-1: new high-speed USB device number 24 using xhci_hcd
[192677.260545] cdc_ether 2-1:1.0 eth0: register 'cdc_ether' at usb-0000:00:14.0-1, CDC Ethernet Device, 58:2c:80:13:92:63
[208218.088226] cdc_ether 2-1:1.0 enp0s20u1: unregister 'cdc_ether' usb-0000:00:14.0-1, CDC Ethernet Device
[208244.096626] usb 2-2: new high-speed USB device number 26 using xhci_hcd
[208245.587341] usb 2-2: new high-speed USB device number 27 using xhci_hcd
root ~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/dm-3 89G 63G 21G 75% /
devtmpfs 5.8G 0 5.8G 0% /dev
tmpfs 5.9G 3.9M 5.9G 1% /dev/shm
tmpfs 5.9G 9.1M 5.9G 1% /run
tmpfs 5.9G 0 5.9G 0% /sys/fs/cgroup
tmpfs 5.9G 88K 5.9G 1% /tmp
/dev/sda2 477M 131M 317M 30% /boot
/dev/sda1 200M 9.5M 191M 5% /boot/efi
/dev/mapper/fedora_hostname-home 360G 222G 134G 63% /home
root ~ # cat /proc/sys/dev/cdrom/info
CD-ROM information, Id: cdrom.c 3.20 2003/12/17
drive name:
drive speed:
drive # of slots:
Can close tray:
Can open tray:
Can lock tray:
Can change speed:
Can select disk:
Can read multisession:
Can read MCN:
Reports media changed:
Can play audio:
Can write CD-R:
Can write CD-RW:
Can read DVD:
Can write DVD-R:
Can write DVD-RAM:
Can read MRW:
Can write MRW:
Can write RAM:
root ~ # ls /dev/sr*
ls: cannot access /dev/sr*: No such file or directory
root ~ # wodim --devices
wodim: No such file or directory.
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
the wodim documentation.
root ~ # lshw -C disk
*-disk
description: ATA Disk
product: ST500LT012-1DG14
vendor: Seagate
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: SDM1
serial: S3P3RLS3
size: 465GiB (500GB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration: ansiversion=5 guid=7ae6e531-9898-4c7c-8c35-41b4fdb9374a logicalsectorsize=512 sectorsize=4096
Oczekiwano wyjścia z góry, pobranego z systemu, podczas gdy dvd było zamontowane, co często się udaje, muszę wiedzieć, dlaczego dyski mogą się odłączyć / umount / dissapear w dowolnym momencie.
*-disk
description: ATA Disk
product: ST500LT012-1DG14
vendor: Seagate
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: SDM1
serial: S3P3RLS3
size: 465GiB (500GB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration: ansiversion=5 guid=7ae6e531-9898-4c7c-8c35-41b4fdb9374a logicalsectorsize=512 sectorsize=4096
*-cdrom
description: DVD-RAM writer
product: DVD+-RW GU90N
vendor: HL-DT-ST
physical id: 0.0.0
bus info: scsi@1:0.0.0
logical name: /dev/cdrom
logical name: /dev/sr0
logical name: /run/media/username/MOUNTPOINT
version: A100
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 mount.fstype=udf mount.options=ro,nosuid,nodev,relatime,uid=1000,gid=1000,umask=77,iocharset=utf8 state=mounted status=ready
*-medium
physical id: 0
logical name: /dev/cdrom
logical name: /run/media/username/MOUNTPOINT
configuration: mount.fstype=udf mount.options=ro,nosuid,nodev,relatime,uid=1000,gid=1000,umask=77,iocharset=utf8 state=mounted
root ~ # eject
eject: /dev/cdrom: not found mountpoint or device with the given name
root ~ # eject -t
eject: /dev/cdrom: not found mountpoint or device with the given name
root ~ # cat /var/log/messages | grep udisks
Sep 21 05:15:08 Hostname udisksd[3366]: Mounted /dev/sr0 at /run/media/username/MOUNTPOINT on behalf of uid 1000
Sep 21 11:52:27 Hostname udisksd[3366]: Cleaning up mount point /run/media/username/MOUNTPOINT (device 11:0 no longer exist)
Sep 21 21:46:56 Hostname udisksd[3366]: Mounted /dev/sr0 at /run/media/username/MOUNTPOINT on behalf of uid 1000
Sep 22 00:30:06 Hostname udisksd[3366]: Cleaning up mount point /run/media/username/MOUNTPOINT (device 11:0 no longer exist)
Zachowanie napędu DVD, dyski i dyski DVD są zamontowane /run/media/username/MOUNTPOINT
i działają, ale potem mogą się rozłączyć w dowolnym momencie, a gdy się rozłączą, nie pojawiają się nigdzie w systemie i nie jestem w stanie wysunąć dysku.
Kiedy zamykam wieko, laptop jest ustawiony na „spanie”, zrobiłem to 4 godziny temu, a kiedy odwołałem go godzinę temu, dvd w napędzie został podłączony /run/media/username/MOUNTPOINT
. Tak to jest teraz:
root ~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/dm-3 89G 63G 21G 76% /
devtmpfs 5.8G 0 5.8G 0% /dev
tmpfs 5.9G 80K 5.9G 1% /dev/shm
tmpfs 5.9G 968K 5.9G 1% /run
tmpfs 5.9G 0 5.9G 0% /sys/fs/cgroup
tmpfs 5.9G 20K 5.9G 1% /tmp
/dev/mapper/fedora_hostname-home 360G 222G 134G 63% /home
/dev/sda2 477M 131M 317M 30% /boot
/dev/sda1 200M 9.5M 191M 5% /boot/efi
/dev/sr0 6.7G 6.7G 0 100% /run/media/username/MOUNTPOINT
Oto wynik polecenia cd-drive: pastebin
Oto wynik polecenia cd-info: pastebin
wodim
może być bólem. Czy korzystasz także z GNOME? Czy Nautilus nie pokazuje napędu DVD po włożeniu dysku DVD do napędu?
eject
lub eject -t
nie działają?
k3b
istnieje szansa,k3b
że nie będzie działać z wystarczającymi prawami dostępu. Początkowo powinieneś spróbować uruchomić sięk3b
jako root i sprawdzić, czy dysk CD został poprawnie zidentyfikowany.