Re: DMA problem
On Thursday 07 April 2005 14:46, Lennart Sorensen wrote: > On Thu, Apr 07, 2005 at 06:26:25AM +0200, Adam Podstawczynski wrote: > > Hi, I have not followed your previous discussion, but can't you simply > > > > mv /lib/modules/your-kernel-name/kernel/drivers/ide/offending-module.ko > > /any/backup/directory > > Well that won't remove if from the initrd. You wold have to regenerate > the initrd afterwards. > > The real problem appears to be that the SiS driver _does_ load, but > exits with an error, after which the ide-generic driver loads and > succeeds at running the ide controller. So the real problem is figuring > out why the SiS driver dies on this system. > > > This will definitely prevent the offending module from loading at > > startup. This is probably not a Debian way, nor any recommended way of > > removing a module, but it will help you isolate the problem. Providing > > that you have a startup disk or CD, or another working kernel (with a > > different number) at hand so that you can move the module back into its > > directory, if anything goes wrong. > > The error from dmesg is this one: > > SIS5513: not 100% native mode: will probe irqs later > SIS_IDE: probe of :00:02.5 failed with error -1 <-- What is that? > Probing IDE interface ide0... > hda: ST3120022A, ATA DISK drive > > So if anyone has seen that before or has suggestions (maybe bad BIOS > setting) I am sure the owner of the system would love to hear about it. > > Len Sorensen on my machine the sis5513 module loads without that error. i use stock debian 2.6.10-k8. i removed all but the sis5513 from /lib/modules.../pci/ide. this results in only the effectively needed ide-modules being loaded. of course i had to rebuild my initrd. i also tried to remove ide-generic but this leads to a kernel panic on startup. so i assume that the ide-generic is used on my machine. in my opinion the sis5513 behaves faulty but i can't prove this because there is no corresponding error message. what a pitty! greetings uwe -- --- ASUS K8S-MX, 2800+ (754), 512MB, gnuLinux v2.6.x -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DMA problem
On Thu, Apr 07, 2005 at 06:26:25AM +0200, Adam Podstawczynski wrote: > Hi, I have not followed your previous discussion, but can't you simply > > mv /lib/modules/your-kernel-name/kernel/drivers/ide/offending-module.ko > /any/backup/directory Well that won't remove if from the initrd. You wold have to regenerate the initrd afterwards. The real problem appears to be that the SiS driver _does_ load, but exits with an error, after which the ide-generic driver loads and succeeds at running the ide controller. So the real problem is figuring out why the SiS driver dies on this system. > This will definitely prevent the offending module from loading at > startup. This is probably not a Debian way, nor any recommended way of > removing a module, but it will help you isolate the problem. Providing > that you have a startup disk or CD, or another working kernel (with a > different number) at hand so that you can move the module back into its > directory, if anything goes wrong. The error from dmesg is this one: SIS5513: not 100% native mode: will probe irqs later SIS_IDE: probe of :00:02.5 failed with error -1 <-- What is that? Probing IDE interface ide0... hda: ST3120022A, ATA DISK drive So if anyone has seen that before or has suggestions (maybe bad BIOS setting) I am sure the owner of the system would love to hear about it. Len Sorensen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DMA problem
Uwe wrote: On Tuesday 05 April 2005 21:19, Bhushan Kulkarni wrote: Hello List , i have sis5513 ide controller , when i try to enable DMA for my Harddisk , cdrom, i get following message --> # hdparm -d1 /dev/hda /dev/hda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma= 0 (off) I am running "2.6.11-9-amd64-k8" kernel .. I have added sis5513 module to /etc/modules at the top. Still facing same problem. How can i enable this DMA ?? this is exactly the same problem i still have. i think the problem is related to the many many ide-modules that are loaded. they may interfer with each other preventing the sis5513 module to work properly. unfortunately i don't know how to prevent them from being loaded. it seems, that the initrd might contain the code that loads them. since now i didn't find a way to disable the unneeded modules. my last message adressing this is without any reply. a little workaround wich is in fact absolutely unsatisfying is installing an additional pci-controller card. i added a promise-type that is tremendously faster and cpu-conserving because it works in dma mode. since this brings up some device hassle my system disk is still without dma. the left question is how to prevent the unneeded ide-modules from being loaded. somebody an idea??? (...) Hi, I have not followed your previous discussion, but can't you simply mv /lib/modules/your-kernel-name/kernel/drivers/ide/offending-module.ko /any/backup/directory ??? This will definitely prevent the offending module from loading at startup. This is probably not a Debian way, nor any recommended way of removing a module, but it will help you isolate the problem. Providing that you have a startup disk or CD, or another working kernel (with a different number) at hand so that you can move the module back into its directory, if anything goes wrong. Regards, -- Adam Podstawczynski -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DMA problem
On Tuesday 05 April 2005 21:19, Bhushan Kulkarni wrote: > Hello List , >i have sis5513 ide controller , when i try to enable DMA for my > Harddisk , cdrom, > i get following message --> > > # hdparm -d1 /dev/hda > /dev/hda: > setting using_dma to 1 (on) > HDIO_SET_DMA failed: Operation not permitted > using_dma= 0 (off) > > I am running "2.6.11-9-amd64-k8" kernel .. I have added sis5513 > module to /etc/modules at the top. Still facing same problem. > > How can i enable this DMA ?? this is exactly the same problem i still have. i think the problem is related to the many many ide-modules that are loaded. they may interfer with each other preventing the sis5513 module to work properly. unfortunately i don't know how to prevent them from being loaded. it seems, that the initrd might contain the code that loads them. since now i didn't find a way to disable the unneeded modules. my last message adressing this is without any reply. a little workaround wich is in fact absolutely unsatisfying is installing an additional pci-controller card. i added a promise-type that is tremendously faster and cpu-conserving because it works in dma mode. since this brings up some device hassle my system disk is still without dma. the left question is how to prevent the unneeded ide-modules from being loaded. somebody an idea??? greetings uwe -- --- ASUS K8S-MX, 2800+ (754), 512MB, gnuLinux v2.6.x -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DMA problem
On Wed, Apr 06, 2005 at 12:49:32AM +0530, Bhushan Kulkarni wrote: > Hello List , >i have sis5513 ide controller , when i try to enable DMA for my > Harddisk , cdrom, > i get following message --> > > # hdparm -d1 /dev/hda > /dev/hda: > setting using_dma to 1 (on) > HDIO_SET_DMA failed: Operation not permitted > using_dma= 0 (off) > > I am running "2.6.11-9-amd64-k8" kernel .. I have added sis5513 > module to /etc/modules at the top. Still facing same problem. > > How can i enable this DMA ?? > Could you post the output of dmesg after booting? Maybe the initrd is loading ide-generic before the sis driver in which case the generic driver would run the drives instead, which doesn't allow dma. Len Sorensen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]