[Bug 110636] Re: hdparm - cannot set dma on IDE hard drive that works via pata

comgen ndatus at gmail.com
Mon Aug 20 08:13:21 UTC 2007


Temp fix

* Use cation and research first, the following " HAS " worked for me
* under Feisty and Gusty " SO FAR ".
**** I will NOT BE held responsible for any damage, I'm passing this on as an 
* option / quick fix. Later in the build the following might break your system.
* Keep a note handy with ALL changes you make for future reference.

***** I am not associated with Ubuntu or the Ubuntu development team(s),
just a user. *****

Edit /etc/fstab and /boot/grub/menu.lst   ( back them up first )

1. sudo cp /boot/grub/menu.lst /boot/grub/menu-lst-bk-UUID
2. sudo cp /etc/fstab /etc/fstab-bk-UUID

Notes:  sda = hda    sda1 = hda1 sdb = hdb and so on
====================================
Comment out or replace ALL UUID entries in /etc/fstab with your drive(s)

1. sudo nano /etc/fstab

    Example:  
    # /dev/sda1
    UUID=e0b77534-74ca-4e25-af29-773fc0d94fc7  /  ext3 defaults,noatime,errors=remount-ro 0 1
    to:
    /dev/hda1  /  ext3 defaults,noatime,errors=remount-ro 0 1

    ##### /dev/sda5
    #####UUID=daf35485-6c6e-491a-8287-73cd3f07f6fd
    /dev/hda5       none    swap    sw              0 0


=====================================
Optional ( I think ) I did not alter my menu.lst and works just fine, 
here's the quick and dirty, if you wish to alter this as well.

Comment out or replace ALL UUID entries in /boot/grub/menu.lst  with
your drive

1. sudo nano /boot/grub/menu.lst    ( hda  = the root boot drive, hda1 hda2 hdb1......)
    
    example:
    # kopt=root=UUID=e0b77534-74ca-4e25-af29-773fc0d94fc7 ro
    to: kopt=root=/dev/hda ro 
   
    kernel /boot/vmlinuz-2.6.22-9-386 root=UUID=e0b77534-74ca-4e25-af29-773fc0d94fc7 ro
    to:    kernel /boot/vmlinuz-2.6.22-9-386 root=/dev/hda ro

Reboot !

Good Luck !

-- 
hdparm - cannot set dma on IDE hard drive that works via pata
https://bugs.launchpad.net/bugs/110636
You received this bug notification because you are a member of Kernel
Bugs, which is a bug assignee.




More information about the kernel-bugs mailing list