harddisk in new computer fails

inux:~ # hwinfo --disk
26: IDE 00.0: 10600 Disk                                        
  [Created at block.245]
  Unique ID: 3OOL.fzWrGuuRegE
  Parent ID: H0_h.9UMyZs01YKE
  SysFS ID: /class/block/sda
  SysFS BusID: 0:0:0:0
  SysFS Device Link: /devices/pci0000:00/0000:00:06.0/host0/target0:0:0/0:0:0:0
  Hardware Class: disk
  Model: "WDC WD800JB-00JJ"
  Vendor: "WDC"
  Device: "WD800JB-00JJ"
  Revision: "05.0"
  Serial ID: "WD-WCAM9P030754"
  Driver: "pata_amd", "sd"
  Driver Modules: "pata_amd"
  Device File: /dev/sda
  Device Files: /dev/sda, /dev/disk/by-id/ata-WDC_WD800JB-00JJC0_WD-WCAM9P030754, /dev/disk/by-id/scsi-SATA_WDC_WD800JB-00J_WD-WCAM9P030754, /dev/disk/by-path/pci-0000:00:06.0-scsi-0:0:0:0
  Device Number: block 8:0-8:15
  BIOS id: 0x80
  Geometry (Logical): CHS 9729/255/63
  Size: 156299375 sectors a 512 bytes
  Capacity: 74 GB (80025280000 bytes)
  Geometry (BIOS EDD): CHS 155058/16/63
  Size (BIOS EDD): 156299375 sectors
  Geometry (BIOS Legacy): CHS 1023/255/63
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #8 (IDE interface)

linux:~ # find /dev/disk/by-id/
/dev/disk/by-id/
/dev/disk/by-id/ata-ASUS_DRW-1814BLT
/dev/disk/by-id/scsi-SATA_WDC_WD800JB-00J_WD-WCAM9P030754-part1
/dev/disk/by-id/ata-WDC_WD800JB-00JJC0_WD-WCAM9P030754-part1
/dev/disk/by-id/scsi-SATA_WDC_WD800JB-00J_WD-WCAM9P030754-part2
/dev/disk/by-id/ata-WDC_WD800JB-00JJC0_WD-WCAM9P030754-part2
/dev/disk/by-id/scsi-SATA_WDC_WD800JB-00J_WD-WCAM9P030754-part3
/dev/disk/by-id/ata-WDC_WD800JB-00JJC0_WD-WCAM9P030754-part3
/dev/disk/by-id/scsi-SATA_WDC_WD800JB-00J_WD-WCAM9P030754
/dev/disk/by-id/ata-WDC_WD800JB-00JJC0_WD-WCAM9P030754

Sorry I did not find code tags the first time they are under advanced did not know that.

It looks like it is an IDE drive and you need the pata_amd driver to access it.
Now, assuming your root partition is still mounted in /mnt, let us see the result of these commands:


# grep INITRD_MODULES /mnt/etc/sysconfig/kernel

# lsinitrd /mnt/boot/initrd | grep pata_amd

  • not sure the second one will output something … or even work from live CD.
linux:~ # grep INITRD_MODULES /mnt/etc/sysconfig/kernel
INITRD_MODULES="thermal ata_generic processor fan"
DOMU_INITRD_MODULES="xennet xenblk"
linux:~ # lsinitrd /mnt/boot/initrd | grep pata_amd
linux:~ # 

It is an IDE drive.
Where can I find pata-amd driver ?

On 2012-02-29 14:16, please try again wrote:
> Now, assuming your root partition is still mounted in /mnt, let us see
> the result of these commands:

I’m not clear if he is using the original disk or a cloned disk.
I think that the initrd archive must be rebuilt.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

The driver should be there:

# find /mnt/lib/modules -name "pata_amd.ko"

But it has to be included in your initrd. You have to rebuild it. Make a backup copy of /mnt/boot/initrd-xxxx-desktop (where xxxx is your kernel version). Then try this:


# mount --bind /dev /mnt/dev
# chroot /mnt
# mount /proc
# mount /sys
# mkinitrd -m  pata_amd

Of course if the find command didn’t find the module, it won’t help.

didn’t find the module
I have done a new install with automatic configuration on.

On 2012-03-01 14:36, anton wrote:
>
> didn’t find the module

So, you did not try to rebuild the initrd archive as I told you?

> I have done a new install with automatic configuration on.

:frowning:


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Yesterday afternoon the internet connection was broken so I could not read your posts until now.
I just restored an image I made form the hard disk and then did a rebuild initrd.
Now it works fine many thanks.
Great support.