Bug#634794: cdrom eject button has stopped working
Package: linux-2.6
Version: 2.6.39-2
Severity: normal
File: linux
The cdrom eject button appears to have stopped working and the eject command
does not work either.
eject /dev/cdrom
This just returns to a prompt, and the drive stays closed. It used to
work before when the drives all had /dev/hd* names. This must have happened
when the devices became renamed. The cdrom works fine otherwise, but I have
to use a special tool (made from a paperclip) to extract the discs now.
A system trace reveals:
open("/dev/sr0", O_RDWR|O_NONBLOCK) = 3
ioctl(3, CDROMEJECT, 0x802) = -1 EIO (Input/output error)
I'm not sure what model drive it is at this time, but it is an IDE one
connected via a ribbon cable to the motherboard.
-- Package-specific info:
** Version:
Linux version 2.6.39-2-486 (Debian 2.6.39-2) (ben@decadent.org.uk) (gcc version 4.4.6 (Debian 4.4.6-3) ) #1 Wed Jun 8 10:50:02 UTC 2011
** Command line:
auto BOOT_IMAGE=Linux ro root=805 ipv6.disable=1 quiet
** Not tainted
** Kernel log:
[3210188.319343] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[3210188.319356] sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current]
[3210188.319366] sr 1:0:0:0: [sr0] Add. Sense: Illegal mode for this track
[3210188.319389] sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 3a 60 00 00 40 00
[3210188.319406] end_request: I/O error, dev sr0, sector 59776
[3210188.319418] Buffer I/O error on device sr0, logical block 7472
[3210188.319431] Buffer I/O error on device sr0, logical block 7473
[3210188.319439] Buffer I/O error on device sr0, logical block 7474
[3210188.319446] Buffer I/O error on device sr0, logical block 7475
[3210188.319453] Buffer I/O error on device sr0, logical block 7476
[3210188.319460] Buffer I/O error on device sr0, logical block 7477
[3210188.319467] Buffer I/O error on device sr0, logical block 7478
[3210188.319473] Buffer I/O error on device sr0, logical block 7479
[3210188.319480] Buffer I/O error on device sr0, logical block 7480
[3210188.319487] Buffer I/O error on device sr0, logical block 7481
[3210219.104064] ata2: lost interrupt (Status 0x50)
[3210219.104115] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[3210219.104130] sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 3a a0 00 00 40 00
[3210219.104160] ata2.00: cmd a0/01:00:00:00:fc/00:00:00:00:00/a0 tag 0 dma 131072 in
[3210219.104163] res 40/00:03:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[3210219.104171] ata2.00: status: { DRDY }
[3210219.104216] ata2: soft resetting link
[3210219.284262] ata2.00: configured for MWDMA2
[3210219.284379] ata2.00: TEST_UNIT_READY failed (err_mask=0x2)
[3210224.260084] ata2: soft resetting link
[3210224.440255] ata2.00: configured for MWDMA2
[3210224.448079] ata2.00: TEST_UNIT_READY failed (err_mask=0x2)
[3210224.448088] ata2.00: limiting speed to MWDMA2:PIO3
[3210229.416084] ata2: soft resetting link
[3210229.596278] ata2.00: configured for MWDMA2
[3210229.596397] ata2.00: TEST_UNIT_READY failed (err_mask=0x2)
[3210229.596404] ata2.00: disabled
[3210229.596456] ata2: soft resetting link
[3210229.752154] ata2: EH complete
[3210229.752262] sr 1:0:0:0: [sr0] Unhandled error code
[3210229.752269] sr 1:0:0:0: [sr0] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[3210229.752279] sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 3a a0 00 00 40 00
[3210229.752296] end_request: I/O error, dev sr0, sector 60032
[3210229.752306] quiet_error: 22 callbacks suppressed
[3210229.752313] Buffer I/O error on device sr0, logical block 7504
[3210229.752324] Buffer I/O error on device sr0, logical block 7505
[3210229.752331] Buffer I/O error on device sr0, logical block 7506
[3210229.752338] Buffer I/O error on device sr0, logical block 7507
[3210229.752344] Buffer I/O error on device sr0, logical block 7508
[3210229.752351] Buffer I/O error on device sr0, logical block 7509
[3210229.752357] Buffer I/O error on device sr0, logical block 7510
[3210229.752364] Buffer I/O error on device sr0, logical block 7511
[3210229.752371] Buffer I/O error on device sr0, logical block 7512
[3210229.752379] Buffer I/O error on device sr0, logical block 7513
[3210229.752447] sr 1:0:0:0: [sr0] Unhandled error code
[3210229.752452] sr 1:0:0:0: [sr0] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[3210229.752460] sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 3a 60 00 00 02 00
[3210229.752474] end_request: I/O error, dev sr0, sector 59776
** Model information
not available
** Loaded modules:
Module Size Used by
tun 17630 0
snd_via82xx 22532 0
snd_ac97_codec 83728 1 snd_via82xx
ac97_bus 12462 1 snd_ac97_codec
snd_pcm_oss 35824 0
snd_mixer_oss 17649 1 snd_pcm_oss
snd_pcm 52675 3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 12841 2 snd_via82xx,snd_pcm
snd_mpu401_uart 13299 1 snd_via82xx
snd_seq_midi 12744 0
snd_rawmidi 18311 2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 13124 1 snd_seq_midi
snd_seq 39027 2 snd_seq_midi,snd_seq_midi_event
snd_timer 22133 2 snd_pcm,snd_seq
snd_seq_device 12995 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 38148 10 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 12878 1 snd
nls_utf8 12416 0
nls_cp437 12417 0
vfat 16989 0
fat 44149 1 vfat
usb_storage 34951 0
uas 12975 0
nfs 214634 2
lockd 60854 1 nfs
fscache 31368 1 nfs
auth_rpcgss 31788 1 nfs
nfs_acl 12463 1 nfs
sunrpc 132712 17 nfs,lockd,auth_rpcgss,nfs_acl
rfcomm 27833 8
bnep 17147 2
fuse 51519 1
loop 17747 0
btusb 17177 2
joydev 16869 0
usbhid 35206 0
option 20658 0
usb_wwan 12950 1 option
bluetooth 88140 23 rfcomm,bnep,btusb
rfkill 18476 2 bluetooth
hid 59841 1 usbhid
crc16 12327 1 bluetooth
radeon 671216 2
ttm 42532 1 radeon
drm_kms_helper 26550 1 radeon
usbserial 27298 2 option,usb_wwan
sg 21324 0
drm 133245 4 radeon,ttm,drm_kms_helper
i2c_viapro 12451 0
i2c_algo_bit 12706 1 radeon
sr_mod 17418 0
i2c_core 19022 5 radeon,drm_kms_helper,drm,i2c_viapro,i2c_algo_bit
via_ircc 21333 0
uhci_hcd 21850 0
ehci_hcd 34829 0
usbcore 99121 10 usb_storage,uas,btusb,usbhid,option,usb_wwan,usbserial,uhci_hcd,ehci_hcd
cdrom 34629 1 sr_mod
power_supply 13283 1 radeon
via_rhine 22182 0
irda 78083 1 via_ircc
mii 12595 1 via_rhine
ns558 12417 0
shpchp 26653 0
gameport 13332 3 snd_via82xx,ns558
pcspkr 12515 0
psmouse 50618 0
evdev 13048 5
crc_ccitt 12331 1 irda
processor 22676 1
pci_hotplug 26303 1 shpchp
button 12783 0
ext2 49361 4
mbcache 12810 1 ext2
sd_mod 35060 6
crc_t10dif 12332 1 sd_mod
ata_generic 12439 0
pata_via 12733 5
libata 132026 2 ata_generic,pata_via
scsi_mod 134453 6 usb_storage,uas,sg,sr_mod,sd_mod,libata
thermal 13058 0
fan 12594 0
thermal_sys 17667 3 processor,thermal,fan
** PCI devices:
00:00.0 Host bridge [0600]: VIA Technologies, Inc. VT8378 [KM400/A] Chipset Host Bridge [1106:3205]
Subsystem: ASUSTeK Computer Inc. Device [1043:8118]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 8
Region 0: Memory at e0000000 (32-bit, prefetchable) [size=64M]
Capabilities: <access denied>
Kernel driver in use: agpgart-via
00:01.0 PCI bridge [0604]: VIA Technologies, Inc. VT8237/VX700 PCI Bridge [1106:b198] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: e4000000-e5ffffff
Prefetchable memory behind bridge: d0000000-dfffffff
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
00:10.0 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev 80) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 4: I/O ports at d000 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd
00:10.1 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev 80) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32, Cache Line Size: 32 bytes
Interrupt: pin B routed to IRQ 11
Region 4: I/O ports at d400 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd
00:10.2 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev 80) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32, Cache Line Size: 32 bytes
Interrupt: pin C routed to IRQ 10
Region 4: I/O ports at d800 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd
00:10.3 USB Controller [0c03]: VIA Technologies, Inc. USB 2.0 [1106:3104] (rev 82) (prog-if 20 [EHCI])
Subsystem: VIA Technologies, Inc. USB 2.0 [1106:3104]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32, Cache Line Size: 32 bytes
Interrupt: pin D routed to IRQ 10
Region 0: Memory at e6000000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
00:11.0 ISA bridge [0601]: VIA Technologies, Inc. VT8235 ISA Bridge [1106:3177]
Subsystem: ASUSTeK Computer Inc. A7V8X-X motherboard [1043:80a1]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Capabilities: <access denied>
00:11.1 IDE interface [0101]: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE [1106:0571] (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: ASUSTeK Computer Inc. A7V8X-X motherboard rev. 1.01 [1043:80a1]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32
Interrupt: pin A routed to IRQ 11
Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
Region 4: I/O ports at dc00 [size=16]
Capabilities: <access denied>
Kernel driver in use: pata_via
00:11.5 Multimedia audio controller [0401]: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller [1106:3059] (rev 50)
Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/K8V Deluxe motherboard (ADI AD1980 codec [SoundMAX]) [1043:80b0]
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin C routed to IRQ 10
Region 0: I/O ports at e000 [size=256]
Capabilities: <access denied>
Kernel driver in use: VIA 82xx Audio
00:12.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6102 [Rhine-II] [1106:3065] (rev 74)
Subsystem: ASUSTeK Computer Inc. Device [1043:80ff]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32 (750ns min, 2000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at e800 [size=256]
Region 1: Memory at e6001000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: via-rhine
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon RV250 If [Radeon 9000] [1002:4966] (rev 01) (prog-if 00 [VGA controller])
Subsystem: C.P. Technology Co. Ltd RV250 If [Radeon 9000 Pro "Evil Commando"] [148c:2039]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32 (2000ns min), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at d0000000 (32-bit, prefetchable) [size=128M]
Region 1: I/O ports at c000 [size=256]
Region 2: Memory at e5000000 (32-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at e4000000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: radeon
01:00.1 Display controller [0380]: ATI Technologies Inc Radeon RV250 [Radeon 9000] (Secondary) [1002:496e] (rev 01)
Subsystem: C.P. Technology Co. Ltd Device [148c:2038]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Region 0: Memory at d8000000 (32-bit, prefetchable) [disabled] [size=128M]
Region 1: Memory at e5010000 (32-bit, non-prefetchable) [disabled] [size=64K]
Capabilities: <access denied>
** USB devices:
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.39-2-486
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages linux-image-2.6.39-2-486 depends on:
ii debconf [debconf-2.0] 1.5.40 Debian configuration management sy
ii initramfs-tools [linux-initra 0.99 tools for generating an initramfs
ii linux-base 3.2 Linux image base package
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
Versions of packages linux-image-2.6.39-2-486 recommends:
pn firmware-linux-free <none> (no description available)
Versions of packages linux-image-2.6.39-2-486 suggests:
ii lilo 1:22.8-10 LInux LOader - The Classic OS load
pn linux-doc-2.6.39 <none> (no description available)
Versions of packages linux-image-2.6.39-2-486 is related to:
pn firmware-bnx2 <none> (no description available)
pn firmware-bnx2x <none> (no description available)
pn firmware-ipw2x00 <none> (no description available)
pn firmware-ivtv <none> (no description available)
pn firmware-iwlwifi <none> (no description available)
pn firmware-linux <none> (no description available)
ii firmware-linux-nonfree 0.28 Binary firmware for various driver
pn firmware-qlogic <none> (no description available)
pn firmware-ralink <none> (no description available)
pn xen-hypervisor <none> (no description available)
-- debconf-show failed
Reply to: