Geek pop quiz.
Apr. 17th, 2007 10:01 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Fedora Core 4 machine stops detecting media in CD drive. Tried with blank DVD and previously working data DVD. Only HW change was removal of SCSI card, DVDRW drive is not SCSI anyway. Only SW change was a reboot while SCSI card removed. WTF? Where do you even START on this one?
For people who don't care about the pop quiz, or whose eyes glazed over at the acronyms:

"Lip locks only, kids: To demonstrate their love, hundreds of couples hang padlocks on lampposts on Roma's Ponte Milvio and throw the keys into the Tiber. Unfortunately the weight of the locks was causing the posts to collapse, so firemen had to saw off many."
bellacrow reads sfgate and filters their photos.
For people who don't care about the pop quiz, or whose eyes glazed over at the acronyms:

"Lip locks only, kids: To demonstrate their love, hundreds of couples hang padlocks on lampposts on Roma's Ponte Milvio and throw the keys into the Tiber. Unfortunately the weight of the locks was causing the posts to collapse, so firemen had to saw off many."
![[livejournal.com profile]](https://www.dreamwidth.org/img/external/lj-userinfo.gif)
(no subject)
Date: 2007-04-17 02:35 pm (UTC)That was me, all over, lol.
(no subject)
Date: 2007-04-17 03:07 pm (UTC)If you're still stuck tomorrow, I'll poke a mate?
Hrm.
Date: 2007-04-17 03:41 pm (UTC)Re: Hrm.
Date: 2007-04-17 03:48 pm (UTC)Re: Hrm.
Date: 2007-04-17 03:59 pm (UTC)Re: Hrm.
Date: 2007-04-17 04:12 pm (UTC)Not the most useful response, I grant you.
Re: Hrm.
Date: 2007-04-17 04:16 pm (UTC)Re: Hrm.
Date: 2007-04-17 04:19 pm (UTC)(And this machine is missing *all kinds* of standard "should damn well be in there" stuff. I didn't set it up, and I unfortunately can't take it down to rebuild it from scratch using a REAL operating system until I hit a real absolute show-stopper.)
Re: Hrm.
Date: 2007-04-17 04:21 pm (UTC)/dev/hdc:
Model=HL-DT-ST DVDRAM GSA-H10N, FwRev=JL10, SerialNo=5FFC20EEB053
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2
AdvancedPM=no
Drive conforms to: device does not report version:
* signifies the current active mode
Re: Hrm.
Date: 2007-04-17 04:22 pm (UTC)/dev/hdc:
ATAPI CD-ROM, with removable media
Model Number: HL-DT-ST DVDRAM GSA-H10N
Serial Number: 5FFC20EEB053
Firmware Revision: JL10
Standards:
Likely used CD-ROM ATAPI-1
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(can be disabled)
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
HW reset results:
CBLID- above Vih
Device num = 0
Re: Hrm.
Date: 2007-04-17 06:18 pm (UTC)Re: Hrm.
Date: 2007-04-18 05:07 pm (UTC)An IDE optical drive is *really* a SCSI writeable optical drive that is handled through SCSI-over-IDE emulation.
Load order of SCSI modules plays an important role in this case.
insmod scsi-core
insmod ide-scsi
insmod cdrom # or something like that order.
hdparm will properly detect the readable optical drive on the IDE bus, but you'll have to use cdrecord --scanbus to detect the writeable drive on the virtual SCSI bus.
Re: Hrm.
Date: 2007-04-20 05:44 pm (UTC)Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus1:
1,0,0 100) 'HL-DT-ST' 'DVDRAM GSA-H10N ' 'JL10' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
=========================
So it appears that the virtual SCSI bus can see the drive nicely.
Re: Hrm.
Date: 2007-04-20 06:13 pm (UTC)I have no idea *why*, but it's working.
This machine totally needs a wipe-and-restart-from-scratch-in-Debian. I hate Fedora.
Re: Hrm.
Date: 2007-04-20 08:42 pm (UTC)I do not have this magical power over Debian, so you'd be on your own.
Re: Hrm.
Date: 2007-04-17 04:07 pm (UTC)Re: Hrm.
Date: 2007-04-17 04:17 pm (UTC)It worked Friday, because I burned a DVD on Friday. As of yesterday afternoon, it doesn't seem to be reading that there is media in the drive, at all.
Re: Hrm.
Date: 2007-04-17 04:20 pm (UTC)Re: Hrm.
Date: 2007-04-17 04:24 pm (UTC)Aside: I find Fedora frustrating because nothing works quite exactly the way I'd expect it to.
Re: Hrm.
Date: 2007-04-17 05:35 pm (UTC)Re: Hrm.
Date: 2007-04-17 05:59 pm (UTC)Re: Hrm.
Date: 2007-05-05 07:35 pm (UTC)But it was under warrantee.
I HATE HARDWARE.
(no subject)
Date: 2007-04-17 07:23 pm (UTC)Of course ... if removing it caused overvoltage that et a diode or some silicon, you won't get any difference.
LiveCD
Date: 2007-04-17 08:01 pm (UTC)Re: LiveCD
Date: 2007-04-17 08:15 pm (UTC)