View previous topic :: View next topic |
Author |
Message |
chimaera n00b
Joined: 18 Jan 2003 Posts: 14
|
Posted: Wed Jan 22, 2003 12:00 am Post subject: how to get ide-nodes in /dev/ for ide-scsi devices? |
|
|
hi.. due to some difficulties with my board<->cdr or something else i don't know, i need to disable dma for my cdwriter. seems like devfs hides the ide nodes for ide-scsi devices and just shows the scsi-devs. unfortunately, hdparm isn't working with those.. any ideas? _________________ take lots with alcohol..
jabber: chimaera@amessage.de |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Wed Jan 22, 2003 1:01 am Post subject: |
|
|
use /proc/ide/{x}/settings (where {x} is hda, hdb, hdc, ... ) to access the interface
For example,
Code: |
echo using_dma:0 >> /proc/ide/hdc/settings
|
_________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
chimaera n00b
Joined: 18 Jan 2003 Posts: 14
|
Posted: Wed Jan 22, 2003 1:50 am Post subject: |
|
|
mhh seems do disable dma but not fixing my problems.. helloo mr. kernel patch. thanks anyway ;-7 _________________ take lots with alcohol..
jabber: chimaera@amessage.de |
|
Back to top |
|
|
sessionID Apprentice
Joined: 11 Nov 2002 Posts: 266 Location: hungary
|
Posted: Fri Jan 31, 2003 7:42 pm Post subject: |
|
|
Bloody Bastard wrote: | use /proc/ide/{x}/settings (where {x} is hda, hdb, hdc, ... ) to access the interface
For example,
Code: |
echo using_dma:0 >> /proc/ide/hdc/settings
|
|
Could you tell me how to make this permanent?
(I need using_dma:1 btw.) |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Fri Jan 31, 2003 8:03 pm Post subject: |
|
|
put it in your /etc/conf.d/local.start
sessionID wrote: | Bloody Bastard wrote: | use /proc/ide/{x}/settings (where {x} is hda, hdb, hdc, ... ) to access the interface
For example,
Code: |
echo using_dma:0 >> /proc/ide/hdc/settings
|
|
Could you tell me how to make this permanent?
(I need using_dma:1 btw.) |
_________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
sessionID Apprentice
Joined: 11 Nov 2002 Posts: 266 Location: hungary
|
Posted: Fri Jan 31, 2003 8:25 pm Post subject: |
|
|
Yes, just did that
But shouldn't this be made by passig some options to the kernel/modules on boot?
Anyway, this seems to work, thanks! |
|
Back to top |
|
|
|