Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
And see what DMA mode the drive is in, it'll be the one with * next to it.
Looking through the kernel config I bumped into CONFIG_BLK_DEV_ALI15X3
which allows DMA to work with that chipset... something tells me though that if the drives are too old it may flake out, I had similar problems with some old 4Gb drives on an SiS controller until I booted nodma. (actually my filesystems self destructed, but that's neither here nor there...)
Evidently there's more in: /usr/src/linux/drivers/ide/alim15x3.c at the top of the C file for the driver itself.
I had similar errors when I ran with a buggy IDE chipset. I still use that
chipset but in the meantime the kernel IDE driver has been enhanced to work around my hardware bugs. The way to fix this problem, if this happens to be your problem, is to find out the model number of your IDE chipset. Then find out if there is a special kernel IDE module specifically for your chipset. If so, then do a kernel compile and include that module in your new kernel.
The kernel is detecting your chipset as:
ALI15X3: chipset Rev 32
finigan says:
Looking through the kernel config I bumped into CONFIG_BLK_DEV_ALI15X3 which allows DMA to work with that chipset... something tells me though that if the drives are too old it may flake out, I had similar problems with some old 4Gb drives on an SiS controller until I booted nodma. (actually my filesystems self destructed, but that's neither here nor there...)
That means that for a ALI15X3 to work with Linux a special IDE driver must be compiled into the kernel.
So check your Mandrake documentation and see if ALI15X3 support was included in your Mandrake kernel. If not then do a kernel compile and include ALI15X3 support.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
the word you want is thrashes, not spins.
i have a couple of ali ddr motherboards and just gave
up trying to get the drives to work in dma mode on them.
and linux would start and endless loop of kernel error
messages when i tried ot shutdown on those
motherboards too.
Good luck.
thanx guys, still looking into it. This is my 1st foray into Linux (besides the coyote router distro that got me started), and I love it so far. I'm no stranger to the command line (1st pc was a trs-80), and can appreciate the power that it provides.
hdparm says its using mdma2 even though the board mfg and the drive mfg says they will support udma33
kernal does detect the chipset as ALI15x3 rev32, i'm trying to dig a little deeper to see if this is the correct revision...
both these drives worked fine on this machine when it was windoze, so i'm hoping against hopes that i can work this out. would like all my machines to be MS free.....
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
if and after you get the ali chipset support in the kernel
ok, you can play with different settings to get the drives
running as fast as reliable. in general the commands
are
hdparm -X<mode> -d1<for dma> -k1 < for keeping settings /dev/<drivedevice>
over a drive reset, there's several other little tweaks too.
hdparm -X67 -d1 would be udma33 i think, it might be 66.
the mdma modes are in the 30's or 40's.
usually the motherboard will set the drive at the highest
supported mode, and if dma doesn't get turned on
then hdparm -d1 /dev/hd<drive letter> will turn it on.
you can test the drives speed with hdparm -Tt /dev/hd?
after changing settings to see the results.
chs numbers are correct, and i tried changing the lba values in the bios, didn't make a difference.
tried to change proc/ide/ide0/hda/geometry to manufacture's values, wouldn't let me (--r--r--r read only)
is there another way i can force the system to try the manufacturer's lba numbers?? i read the hdparm man and saw some things that scared me a little to just go and punch them in..
still digging on the ali15x3 driver, found i2c-ali15x3.0.gz, looks like the driver....seems to me its not reading the system bios correctly for the hd params....
chs numbers are correct, and i tried changing the lba values in the bios, didn't make a difference.
tried to change proc/ide/ide0/hda/geometry to manufacture's values, wouldn't let me (--r--r--r read only)
that stuff doesn't matter. you don't want to change it
after you partition your disk anyway. that stuff only
has to do with the hard drive capacity. They aren't
true values anyway. multiply them out, and they'll
be close to the same.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.