LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-21-2007, 03:45 PM   #16
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31

Quote:
Originally Posted by keefaz
Why would you change your drive from hda to sda ? Have you a
sata drive ?
I thought this might clarify your question.
http://mandrivausers.org/index.php?s...0&#entry314847

DragonM15
 
Old 05-21-2007, 03:49 PM   #17
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
Quote:
Originally Posted by jashar
In case anyone reading this thread still can't get it to work (like me) you can try editing /etc/mkinitrd/modules to load your motherboard's module, since your system may be like mine and loads the modules in initrd first, and once the ide_generic module is loaded, it's too late to do anything with insmod or modprobe or /etc/modules.

What helped me was adding the line in your lilo.conf for each linux entry (Or just 1 for testing purposes) I am not absolutely certain about the first '=' sign as Im not on my computer at the moment:
Code:
append = ide0=0
This forces the first ide device to not be used by the generic ide driver. Which gives your device a chance to be recognized by the actual driver (in my case libata). Hope this helps you guys. Thanks for all your help.

DragonM15

Last edited by DragonM15; 05-21-2007 at 03:51 PM.
 
Old 05-21-2007, 04:30 PM   #18
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
To clarify my previous post to the line needed to be added to lilo.conf, my lilo.conf section for my kernel testing option looks like this:
Code:
image = /boot/vmlinuz
  root = /dev/sda4
  label = LinuxTesting
  append="ide0=0"
  append="ide1=0"
  read-only
ide0 being my hard drive and ide1 being my cdrom drive. This helped me and I thought it might help some others. Let me know if that helped at all. If that does not help then you are most likely missing the kernel option for your specific chipset like everybody before me has said. I recommend building your specific chipset into the kernel rather than as modules because if you make them as modules you will need to make an initrd file so the specific modules can be called upon at boot time.

Hope this helps,
DragonM15
 
Old 09-11-2007, 05:29 AM   #19
madhaquer
LQ Newbie
 
Registered: May 2003
Distribution: Slack
Posts: 18

Rep: Reputation: 0
Ok I'm still pretty lost.
Looks like most techies on linux forums are suffering from the curse of knowledge.

My laptop is Acer Aspire 5610-2013 I have a dual boot Vista and Slackware 10
My problem is X is too slow on slack and I think it's becoz of DMA.

This is the output of my hdparm:

/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)



Model=ST9120822AS, FwRev=3.ALC, SerialNo=5LZ13VT0
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234441648
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: device does not report version:

* signifies the current active mode


windows calls my controller
Intel(R) 82801GBM/GHM (ICH7-M Family) Serial ATA Storage Controller - 27C4

My BIOS has no options for setting DMA. Linux complains about DMA during boot time.Somebody please tell me why it wont work and do I have to recompile to 2.6?
 
Old 09-12-2007, 08:43 PM   #20
jashar
LQ Newbie
 
Registered: May 2007
Posts: 5

Rep: Reputation: 0
please give us a little bit more info. specifically, the command you ran, an output of "lsmod | grep ide", and any kernel parameters you may have in your /boot/grub/menu.lst or /etc/lilo.conf.
 
Old 09-14-2007, 03:53 PM   #21
skriatok
LQ Newbie
 
Registered: Mar 2006
Distribution: Slackware
Posts: 23

Rep: Reputation: 0
guys most people have PIIX controler, when enabling ata/ide, it will not work! you have to enable only scsi and right (PIIX)
controler for discs... just try! Don't use anything to check (hdparm is not working for scsi) just play dvd...
 
Old 09-15-2007, 05:46 PM   #22
MaXnuX
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by jashar View Post
In case anyone reading this thread still can't get it to work (like me) you can try editing /etc/mkinitrd/modules to load your motherboard's module, since your system may be like mine and loads the modules in initrd first, and once the ide_generic module is loaded, it's too late to do anything with insmod or modprobe or /etc/modules.

HI I Have de same problem on my asus z96f intel 945 chipset , and the problem is that you need disable the ide driver to the libata driver detect you drivers
put on the boot line the "ide1=noprobe ide0=noprobe"
or in you lilo
append = "ide1=noprobe ide0=noprobe"
that work for me

by
 
  


Reply



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
hdparm -d1 /dev/hda gives me "HDIO_SET_DMA failed: Operation not permitted" elluva Linux - Hardware 7 07-21-2007 03:49 AM
Samba: Operation not permitted--smbmnt failed andrewstr Linux - Networking 12 05-22-2004 09:30 AM
HDIO_SET_DMA failed: Operation not permitted kernel 2.6.4 Gaghiel Slackware 4 03-31-2004 06:18 PM
HDIO_SET_DMA failed: Operation not permitted acjt Linux - Hardware 4 05-02-2003 10:52 PM
HDIO_SET_DMA failed: Operation not permitted markus1982 Linux - General 2 10-28-2002 04:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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