Fedora 6 libata problem

January 11, 2007 – 2:59 pm by Adnan Hodzic

This problem has been there for some 30hrs, minimum amount of sleep, not getting from the computer for 20ish hours and etc… But just now I got it solved Smile

Problem?

Problem is that when copying a dvd it takes from min 20mins to 45-50mins to copy a dvd to your hdd. Not to mention a completely system slow down, and transfer speed would be only 1.x mbps. This problem had a large extent and even ended up on redhat Smile

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=222250

On slackware, you would need to recompile your kernel and add append=”libata.atapi_enabled=1″ line to my lilo.conf. Since grub doesnt have append, I tried adding it as just libata.atapi_enabled=1, which did nothing.

So I wake up after exhausting 20hrs, slept for 3-4hrs, with intention to compile my kernel. But compiling kernel on fedora is different then regular kernel compiling, like lets say on slackware. There’s even a whole new howto do it, and yes, yesterday I made a whole system upgrade, kernel was upgraded too, but it didnt fix anything.

So I make a little pause before I do that, and try one last thing. This time I added
combined_mode=libata to my grub (/boot/grub/menu.lst/), so my Grub would look like this:

[root@localhost absinthe]# cat /boot/grub/menu.lst
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/sda1
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=3
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2869.fc6xen)
root (hd0,0)
kernel /boot/xen.gz-2.6.18-1.2869.fc6
module /boot/vmlinuz-2.6.18-1.2869.fc6xen ro root=LABEL=/ rhgb quiet combined_mode=libata
module /boot/initrd-2.6.18-1.2869.fc6xen.img
title Fedora Core (2.6.18-1.2798.fc6xen)
root (hd0,0)
kernel /boot/xen.gz-2.6.18-1.2798.fc6
module /boot/vmlinuz-2.6.18-1.2798.fc6xen ro root=LABEL=/ rhgb quiet combined_mode=libata
module /boot/initrd-2.6.18-1.2798.fc6xen.img

I also added options libata atapi_enabled=1 to my /etc/modprobe.conf/, previosuly I would add my cd/dvd/ as a blacklist …
So my final modprobe would look like:

[root@localhost absinthe]# cat /etc/modprobe.conf
alias eth0 8139too
alias scsi_hostadapter ata_piix
alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0
options libata atapi_enabled=1
remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r –ignore-remove snd-hda-intel

I rebboted system, and hey it worked when I literally lost all my hopes, no slow dowsn, not to mention transfer speed is not expected 5/6.x mbps, but 8/9.x mbps … sweet Smile

I’m going to fail my programming test today cuz of this, but damn it was worth it.

  • change

    it was not worth it!!!

    i’m gonna kick your ass for this!….

    not learning and fucking your time with stupid things….

    youuuuu slut!

  • BrencelJ

    he he he Abs that wasent smart that you did all that stuf and didnt studdy but I know the feeling right now I’m in my gentoo and I dont have Xorg yet so I’m writing from “links” Razz and it is cool and my system is upgrading so I like Linux more and more. Ouu Change in Ubuntu CE thingi you didnt understand what I said and I will try to explane now . I ment that gnome is for ppl who doesnt like much compiling and waiting and who doesnt get it that linux is more than just free os. I know that you can compile in gnome 2 but it is diffrent than KDE. Kde is more opend than Gnome and It lets you do stuff. But that is how I see this 2 one is closed and doesnt let you do stuf other one is opend and you have free hands to do anything you want and it is easyer.

  • change

    don’t know dude….i can do everything i want in gnome, kde, fluxbox, blacbox…..you name it Smile…it’s just that Ubuntu let’s you think that way, ‘cos they try to “make it easier” and in the end it just ends up crapy…

    don’t think i’m flameing you…just corecting you Wink

  • AbsintheSyringe

    Heh, that’s so true. To compile lets say on Suse and Ubuntu is an impossible mission.

    And about Ubuntu, I tried the other day on vmware, and all I’ll say I really dont know why it’s that popular …

    I installed it on i386 (i686) and when I would want to install and 32bit app, for i386, it would say my architecture wont be able to handle that, and I was on a 32bit processor … ridiculous stuff like that.

  • BrencelJ

    Change yea you are right you can do that but I couldn’t because I’m not that long on Linux so It’s a bit ahrd for me Razz but I prefer KDE over gnome that is one point why I sy so evel about Gnome Razz but yea I know Gnome is bether for beginers. because It is more like Windows than KDE.

    But I see it like that and yea I tryed Ubuntu and wase bored in 7 days with it and I tryed Kubuntu and I was boerd of it in 6 months not hard enouh for me and now I went on Gentoo Grin and I have some trobels seting it up because It is first time that I’m doing that Razz. so now im tying to set it up Razz.

  • Charles

    You so rock. Finally I can use my DVD drive on an HP Core2Duo I got last year running FC6.

  • AbsintheSyringe

    Wink

  • History is replete with examples of this. ,