LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 11-03-2007, 05:40 AM   #1
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 694
Blog Entries: 1

Rep: Reputation: 32
Smile sr_mod for dvd drive to use ide-cd of old pata driver set-howto


Hai there,
I am using Ubuntu Feisty on one of the machine with 2.6.20-386 kernel on an intel HT 2.8Ghz machine.after installation the same problem of ide-pata dvdwriter detected as/or emulated as scsi by new libata drivers using module sr_mod and set device as /dev/sr0.
So,I modprobed ide-cd and blacklisted forcefully(yes using /etc/modprobe.d/00.local) and added ide-cd to /etc/modules file.but still the device /dev/scd0 or /dev/sr0 are made by udev.So Is there any way to make Ubuntu udev and other systems to make ide-cd as the module for cdrom
I know there is the kernel initrd image that too have something to do with sr_mod been used for my dvdwriter.but i need hdparm and to enable DMA,the old drivers.
Somebody can help me?Thanks all.
 
Old 11-07-2007, 03:13 AM   #2
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 694
Blog Entries: 1

Original Poster
Rep: Reputation: 32
BUMP^_^ someone who experiment with priority of module loading please help me make ide-cd be used for my ata dvdwriter. please share the open source spirit!
 
Old 11-11-2007, 12:59 AM   #3
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 694
Blog Entries: 1

Original Poster
Rep: Reputation: 32
Got some clues.while i had installed Ubuntu,my BIOS setting for harddisk was set to "auto".I changed it to "enhanced" means supporting all pata and sata ports.
 
Old 11-11-2007, 02:04 AM   #4
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,748

Rep: Reputation: 159Reputation: 159
Quote:
Originally Posted by deepclutch View Post
So Is there any way to make Ubuntu udev and other systems to make ide-cd as the module for cdrom
Is the drive connected via SATA or ordinary parallel cable?

If it is connected with a SATA cable, then you have to use the SCSI emulation, because of the way the kernel addresses SATA drives.
Quote:
Originally Posted by deepclutch View Post
but i need hdparm and to enable DMA
Have you tried sdparm?
 
Old 11-12-2007, 09:29 PM   #5
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 694
Blog Entries: 1

Original Poster
Rep: Reputation: 32
no i figured out that BIOS i have to select enhanced mode for pata support.so,still sr_mod is used.but i dont how to force use ide-cd.
yes.i have a ide dvdwriter connected with normal pata connector.
while my hdd is sata.so i dont want scsi_emulation.after changing the bios setting to enhanced mode,live-cd detects and uses ide-cd module.but the ubuntu hdd installed does not :?
sdparm-i have already tried and it automatically sets udma2 for the dvd drive.it is working OK.but still the old pata drivers which i want to use for dvdwriter.hence ide-cd.an lsmod |grep cdrom shows both modules are loaded
Code:
36512  2 ide_cd,sr_mod
 
Old 11-16-2007, 04:33 AM   #6
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 694
Blog Entries: 1

Original Poster
Rep: Reputation: 32
some help :s
 
  


Reply

Tags
cdrom, libata


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HowTo: Moving Linux from IDE to a SATA drive Quakeboy02 Linux - General 15 08-10-2008 11:12 PM
Fixing a bent pin on a PATA DVD driver =/ Jorophose General 5 10-01-2007 06:27 PM
PATA IDE RAID device exclusion penguinpages Fedora 6 09-20-2007 03:57 PM
Howto set permissions and automount for new drive? andymadigan Debian 4 08-02-2004 10:17 PM
Howto: set permissions on a ntfs drive. Coramoor Slackware 8 05-12-2003 10:51 PM


All times are GMT -5. The time now is 09:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration