You are not logged in.

#1 2006-10-25 16:40:29

Snarkout
Member
Registered: 2005-11-13
Posts: 542

IDE DVD-RW suddenly detected as a SCSI drive? [SOLVED]

Well, I'm totally stumped.  I'm not sure exactly when, but sometime recently my regular IDE dvd-rw drive has started being loaded as a scsi drive.  I've tried blacklisting the sr_mod module in /etc/rc.conf, and it's still loaded, grabbing my drive.  This has essentially made my drive useless.  It's possible that this is some form of strange corruption since earlier this week we had a power outage here that ate a few of my mail queues, but it started happening after an -Syu last night.  Anyone have ideas?  FWIW, I also posted this to the mailing list, so if anyone wants to get angry with me about cross-posting, feel free.  There's a lot of things I can live w/o, but not my optical drive.


The output I can think of to look at:

Dmesg, cleaned up some:
ata1.00: configured for UDMA/33
Vendor: HL-DT-ST  Model: DVDRAM GSA-4163B  Rev: A104
Type:   CD-ROM                             ANSI SCSI revision: 05

sr0: scsi3-mmc drive: 40x/40x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi CD-ROM sr0

sd 1:0:0:0: Attached scsi disk sda
end_request: I/O error, dev sr0, sector 0
Buffer I/O error on device sr0, logical block 0
...snip...

end_request: I/O error, dev sr0, sector 0
end_request: I/O error, dev sr0, sector 0
...snip...


I unload the module, and get dumps of this in dmesg - of course the module comes right back:

Uniform CD-ROM driver unloaded
sr0: scsi3-mmc drive: 40x/40x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi CD-ROM sr0
cdrom: This disc doesn't have any tracks I recognize!


# lsmod
Module                  Size  Used by
sr_mod                 14372  0
cdrom                  34464  1 sr_mod


# mkinitcpio -M
Modules autodetected:
ide-core
generic
ieee1394
ohci1394
e1000
3w-9xxx
aic79xx
ata_piix
libata
usbcore
ehci-hcd
uhci-hcd
jbd
ext3


# cdrecord -scanbus
WARNING ! Cannot gain SYS_RAWIO capability !
: Operation not permitted
Cdrecord-Clone 2.01.01a06 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg Schilling
NOTE: this is OSS DVD extensions for cdrtools and thus may have bugs
  related to DVD issues that are not present in the original cdrtools. For
  more information see http://crashrecovery.org/oss-dvd.html. The original cdrtools author should not be bothered with problems in this version.
cdrecord: Warning: Running on Linux-2.6.18-ARCH
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
WARNING ! Cannot gain SYS_RAWIO capability !
: Operation not permitted
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
cdrecord: No such file or directory. Cannot open '/dev/hd*'. Cannot open SCSI
driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.


# cdrecord dev=help
WARNING ! Cannot gain SYS_RAWIO capability !
: Operation not permitted
Cdrecord-Clone 2.01.01a06 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg
Schilling
NOTE: this is OSS DVD extensions for cdrtools and thus may have bugs
  related to DVD issues that are not present in the original cdrtools. For
  more information see http://crashrecovery.org/oss-dvd.html. The original
  cdrtools author should not be bothered with problems in this version.
cdrecord: Warning: Running on Linux-2.6.18-ARCH
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
WARNING ! Cannot gain SYS_RAWIO capability !
: Operation not permitted
Supported SCSI transports for this platform:

Transport name:         sg
Transport descr.:       Generic transport independent SCSI
Transp. layer ind.:
Target specifier:       bus,target,lun
Target example:         1,2,0
SCSI Bus scanning:      supported
Open via UNIX device:   not supported

Transport name:         pg
Transport descr.:       SCSI transport for ATAPI over Parallel Port
Transp. layer ind.:
Target specifier:       bus,target,lun
Target example:         1,2,0
SCSI Bus scanning:      supported
Open via UNIX device:   not supported

Transport name:         ATA
Transport descr.:       ATA Packet specific SCSI transport
Transp. layer ind.:     ATAPI:
Target specifier:       bus,target,lun
Target example:         ATAPI:1,2,0
SCSI Bus scanning:      supported
Open via UNIX device:   not supported

Transport name:         ATA
Transport descr.:       ATA Packet specific SCSI transport using sg interface
Transp. layer ind.:     ATA:
Target specifier:       bus,target,lun
Target example:         1,2,0
SCSI Bus scanning:      supported
Open via UNIX device:   not supported

Transport name:         RSCSI
Transport descr.:       Remote SCSI
Transp. layer ind.:     REMOTE:
Target specifier:       rscsi@host:bus,target,lun
Target example:         REMOTE:rscsi@host:1,2,0
SCSI Bus scanning:      supported
Open via UNIX device:   not supported


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#2 2006-10-25 16:44:06

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: IDE DVD-RW suddenly detected as a SCSI drive? [SOLVED]

Oh, and another question - can I take it that mkinitcpio no longer looks at the blacklist in /etc/rc.conf?  I have ieee1394 in there as well, and it gets loaded, too.


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#3 2006-10-25 18:09:41

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: IDE DVD-RW suddenly detected as a SCSI drive? [SOLVED]

Huh, it looks like my issue may have something to do with this:

http://www.thinkwiki.org/wiki/Problems_ … _and_Linux

I can't tell though since I just crashed my box trying one of the options suggested, and I'm at work now. sad


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#4 2006-10-25 23:34:11

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: IDE DVD-RW suddenly detected as a SCSI drive? [SOLVED]

Well, I'll be goddamned if I can figure this out.  Short of compiling a new kernel I've done everything I have seen suggested online, though I haven't ever seen this exact issue mentioned.  I guess the next step is to start fucking with bios settings.


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#5 2006-10-26 02:05:59

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: IDE DVD-RW suddenly detected as a SCSI drive? [SOLVED]

And to completely round out this online fiesta of self-talkery - FIXED!

After trying every suggested fix I could find on the net, it turns out it was a BIOS setting.  I recently added a sata drive to the onboard controller, and I guess it was after that that I had the cdrom issues.  I needed to set my intel sata controller to "enhanced" rather than auto.  Now things are spiffy.  FOr the record I did not need to add kopt lines or add static modules to mkinitramfs or mkinitcpio.  It works fine with vanilla settings and that BIOS option.


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

Board footer

Powered by FluxBB