LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-06-2006, 11:02 PM   #1
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Rep: Reputation: 40
Question can't access 2 media devices


well, it's kinda odd - i have 2 media devices - dvd burner and cd burner. Both on on controller ( i think they are " cable select" ). Each of them works all right separately - i can burn disks, read disks - no problem.

the problem appears when i try to play dvd and burn cdrom ( actually blank full ).

there are no messages in /var/log/messages and top reports almost 0 activity .

I can't play dvd while the burner works....

Any ideas why and how to check what is wrong ?

// this is fedora 5 ... I 'm starting disliking this 5th version more and more..
 
Old 09-07-2006, 05:42 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,669

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Did this work in other versions of Fedora and or linux distributions?
Is DMA enabled for both drives? Check using the hdparm command.

By definition master/slave devices share the bus and so I/O entensive operations like what you are trying to do will naturaly have trouble since basicaly only one device can talk at a time.

Do you know the specifications of the motherboard. i.e. ultra DMA etc.

Last edited by michaelk; 09-07-2006 at 05:43 PM.
 
Old 09-07-2006, 06:01 PM   #3
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
don't know if it worked before - this is a fresh install:
[root@fc ~]# hdparm -d /dev/hdc

/dev/hdc:
using_dma = 1 (on)
[root@fc ~]# hdparm -d /dev/hdd

/dev/hdd:
using_dma = 1 (on)
 
Old 09-07-2006, 06:01 PM   #4
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
[root@fc ~]# ls -l /dev/dvd
lrwxrwxrwx 1 root root 3 Sep 6 06:41 /dev/dvd -> hdd
[root@fc ~]# ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 Sep 6 06:41 /dev/cdrom -> hdd

but :
[root@fc ~]# cat /proc/ide/hdc/model
LITE-ON LTR-52246S
[root@fc ~]# uptime
19:03:00 up 1 day, 12:21, 1 user, load average: 0.34, 0.45, 0.32
[root@fc ~]# cat /proc/ide/hdd/model
_NEC DVD_RW ND-3550A

[root@fc ~]# uptime
19:03:00 up 1 day, 12:21, 1 user, load average: 0.34, 0.45, 0.32

hmm. what it switched the drives again after reboot??? WTHell ?

Last edited by DBabo; 09-07-2006 at 06:04 PM.
 
Old 09-08-2006, 08:50 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,669

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Quote:
don't know if it worked before - this is a fresh install:
Have you done the same thing with other versions besides FC5? IMO if you really want this to work you should put the drives on different controllers.

How are the drives physically connected i.e. which is hdc hdd? What is the make / model is your motherboard?
 
Old 09-08-2006, 05:59 PM   #6
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by michaelk
Have you done the same thing with other versions besides FC5? IMO if you really want this to work you should put the drives on different controllers.

How are the drives physically connected i.e. which is hdc hdd? What is the make / model is your motherboard?
That's a very interesting topic you are bringing up.
why do i have to have them on a different controllers ? Is it a speed restriction?

As i mentioned earlier:
[root@fc ~]# cat /proc/ide/hdc/model
LITE-ON LTR-52246S
[root@fc ~]# uptime
19:03:00 up 1 day, 12:21, 1 user, load average: 0.34, 0.45, 0.32
[root@fc ~]# cat /proc/ide/hdd/model
_NEC DVD_RW ND-3550A
Where LTR is a CDRW burner and NEC is a DVD Dual Layer burner.

I have these drives connected the same way on RH9 and FC4, BUT i never used the simultaneously, plus it was on the old box, which is gone already.


How do i find out the motherboard model ?

another interesting thing i've noticed is that iostat does not report any activity on the hdc / hdd drives even thenthough the burning process is writing a whole disk .. Odd.

Last edited by DBabo; 09-09-2006 at 12:20 PM.
 
Old 09-10-2006, 09:01 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,669

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
If the drives are switching devices then you could have a bad cable.

Quote:
why do i have to have them on a different controllers ? Is it a speed restriction?
Read my first post.
 
Old 09-15-2006, 10:40 PM   #8
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by michaelk
If the drives are switching devices then you could have a bad cable.


Read my first post.
Quote:"
By definition master/slave devices share the bus and so I/O entensive operations like what you are trying to do will naturaly have trouble since basicaly only one device can talk at a time."

well, i'm not sure if writing a cdrom should casue a whole bus to be "locked" for extensive periods of time, that any other device can't get access to the bus. Also i would think that writing to the hard disk ( say copy a huge file ) should be more resource demending job than copying to/from slow cdrom... Please let me know what am i missing..

Last edited by DBabo; 09-15-2006 at 10:59 PM.
 
Old 10-09-2006, 03:35 PM   #9
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
any other thoughts?
 
  


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
LXer: Linux reference kit targets portable devices with OCR, media ... LXer Syndicated Linux News 0 07-06-2006 11:33 AM
Slack -current, Kde 3.4.2, Konqueror 'devices' and 'media' Eternal_Newbie Slackware 3 08-12-2005 09:23 AM
Dead SCSI devices / Media test Failure manudath Linux - Hardware 7 02-17-2005 10:10 AM
no access to devices with group access rights flipper333 Debian 2 12-28-2004 09:25 AM
~n00b~ USB Devices, Windows, and Media files.. Spooky31 Linux - Newbie 16 12-02-2004 12:46 AM

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

All times are GMT -5. The time now is 06:17 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