NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-i386/43373: (abcde?) renders cd0 useless

>Number:         43373
>Category:       port-i386
>Synopsis:       (abcde?) renders cd0 useless
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 27 22:35:00 +0000 2010
>Originator:     Martin S. Weber
>Release:        NetBSD 5.1_RC1
System: NetBSD agamemnon.entropie.local 5.1_RC1 NetBSD 5.1_RC1 (AGAMEMNON5) #0: 
Mon Apr 26 23:49:59 EDT 2010 
Architecture: i386
Machine: i386
when using abcde, everything works fine until you want to remove your CD from
the drive. Hitting the button on the cd-rom does not work. You have to use
eject(1) to open the drive. And the drive does not notice that it's being
opened. When inserting another CD afterwards, and running abcde again, this
is the error message of abcde:

cd-discid: /dev/rcd0d: CDROMREADTOCHDR: Input/output error
abcde error: CD could not be read. Perhaps there's no CD in the drive?

At the same time, this appears in msgbuf:

cd0(piixide0:0:0):  Check Condition on CDB: 0x43 00 00 00 00 00 00 00 04 00
    SENSE KEY:  Unit Attention
        ASC/ASCQ:  Not Ready To Ready Transition (Medium May Have Changed)

A reboot is necessary to pound some sense into the CD-Drive again (pity
that drvctl doesn't support rescanning of atapibus! (or the other way round))

This all happens on a Thinkpad T61, here's the relevant stuff from
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801HBM IDE Controller (ICH8M) (rev. 0x03)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
atabus1 at ahcisata0 channel 0
atabus2 at ahcisata0 channel 2
atapibus0 at atabus0: 2 targets
wd0 at atabus1 drive 0: <Hitachi HTS725050A9A364>
cd0 at atapibus0 drive 0: <HL-DT-STCD-RW/DVD DRIVE GCC-M10N, , 1.02> cdrom 
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)

I'm not sure which part of abcde fucks up the cd0 or whether it's possible
to achive the same fuckup with other tools, too.
        abcde a CD.
        eject cd0
        abcde another CD.


Home | Main Index | Thread Index | Old Index