LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-12-2008, 03:18 PM   #1
Embiggens
LQ Newbie
 
Registered: Apr 2005
Location: Madison, WI
Distribution: Debian Etch
Posts: 7

Rep: Reputation: 0
installing ata dvd drives


Hi, I've just recently installed Ubuntu 7.10 Gutsy. Today I replaced the CD drive I installed with with 2 DVD drives (on the same ATA cable). I'm unable to mount either drive, although something is recognized...

"dmesg |grep scsi" yields the following:
Code:
[   35.931516] scsi0 : ata_piix
[   35.931606] scsi1 : ata_piix
[   36.825575] scsi 0:0:0:0: Direct-Access     ATA      ST3120026A       3.06 PQ: 0 ANSI: 5
[   36.825776] scsi 0:0:1:0: Direct-Access     ATA      QUANTUM FIREBALL A3F. PQ: 0 ANSI: 5
[   36.826892] scsi 1:0:0:0: CD-ROM            ATAPI    DVD A  DH20A4P   9P54 PQ: 0 ANSI: 5
[   38.191394] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   38.191432] sd 0:0:1:0: Attached scsi generic sg1 type 0
[   38.191466] sr 1:0:0:0: Attached scsi generic sg2 type 5
[   38.214911] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[   38.215036] sr 1:0:0:0: Attached scsi CD-ROM sr0
So apparently I have one of these drives being recognized as sr0. If I attempt to mount that with "sudo mount /dev/sr0 /mnt/cdDrive1", the screen freezes (the system doesn't lock up, but I don't get a prompt back). If I open another terminal and look at dmesg, the system is clearly stuck in a loop because something's not responding:
the last few lines of "dmesg" gives
Code:
[ 3399.103469] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 3399.103484] ata2.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x28 data 4096 in
[ 3399.103489]          res 40/00:02:00:0c:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[ 3404.135229] ata2: port is slow to respond, please be patient (Status 0xd0)
[ 3409.111112] ata2: device not ready (errno=-16), forcing hardreset
[ 3409.111124] ata2: soft resetting port
[ 3409.634454] ata2.00: configured for UDMA/25
[ 3409.634475] ata2: EH complete
[ 3467.978931] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 3467.978946] ata2.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x28 data 4096 in
[ 3467.978951]          res 40/00:02:00:0c:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[ 3473.010688] ata2: port is slow to respond, please be patient (Status 0xd0)
[ 3477.986556] ata2: device not ready (errno=-16), forcing hardreset
[ 3477.986565] ata2: soft resetting port
[ 3478.509903] ata2.00: configured for UDMA/25
[ 3478.509927] ata2: EH complete
[ 3537.836814] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 3537.836833] ata2.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x28 data 4096 in
[ 3537.836837]          res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[ 3542.868920] ata2: port is slow to respond, please be patient (Status 0xd0)
[ 3547.844413] ata2: device not ready (errno=-16), forcing hardreset
[ 3547.844421] ata2: soft resetting port
[ 3548.367767] ata2.00: configured for UDMA/25
[ 3548.367793] ata2: EH complete
Any hints here? I don't have anything for these drives in /etc/fstab, but I'm under the impression I can mount them manually, so that shouldn't matter. Thanks,

Kirk
 
Old 01-12-2008, 03:33 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,893

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
Quote:
Originally Posted by Embiggens View Post
Hi, I've just recently installed Ubuntu 7.10 Gutsy. Today I replaced the CD drive I installed with with 2 DVD drives (on the same ATA cable). I'm unable to mount either drive, although something is recognized...

"dmesg |grep scsi" yields the following:
Code:
[   35.931516] scsi0 : ata_piix
[   35.931606] scsi1 : ata_piix
[   36.825575] scsi 0:0:0:0: Direct-Access     ATA      ST3120026A       3.06 PQ: 0 ANSI: 5
[   36.825776] scsi 0:0:1:0: Direct-Access     ATA      QUANTUM FIREBALL A3F. PQ: 0 ANSI: 5
[   36.826892] scsi 1:0:0:0: CD-ROM            ATAPI    DVD A  DH20A4P   9P54 PQ: 0 ANSI: 5
[   38.191394] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   38.191432] sd 0:0:1:0: Attached scsi generic sg1 type 0
[   38.191466] sr 1:0:0:0: Attached scsi generic sg2 type 5
[   38.214911] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[   38.215036] sr 1:0:0:0: Attached scsi CD-ROM sr0
So apparently I have one of these drives being recognized as sr0.
You don't have any messages which mention a second drive address. Maybe you have the two DVD drives both installed on the same address. Are both installed as master on the cable? You could check this possibility out by disconnecting one of the drives and seeing if you can get a single drive on the cable to work.

---------------------
Steve Stites
 
Old 01-12-2008, 04:16 PM   #3
Embiggens
LQ Newbie
 
Registered: Apr 2005
Location: Madison, WI
Distribution: Debian Etch
Posts: 7

Original Poster
Rep: Reputation: 0
ugh, you're right. I had them both installed as "cable select", but this clearly is not the right type of cable for that.

Thanks so much for your quick reply- I switched them to master and slave and everything's cool.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing freebsd on Serial ATA drives-help! asilentmurmur *BSD 1 03-14-2006 07:41 AM
Very Slow ATA CD/DVD drives kernel 2.6.15 haimeltjnfg Linux - Hardware 7 02-17-2006 06:22 PM
S-ATA Optical Drives carlosinfl Linux - Hardware 0 11-21-2005 08:34 AM
Two hard drives: One SATA, and One ATA fatman Linux - Hardware 9 02-09-2005 07:52 PM
Serial ATA Hard drives rmoshiro Linux - Hardware 4 10-08-2003 02:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration