You are not logged in.

#1 2008-01-13 12:46:16

blu3ness
Member
From: Edmonton, Canada
Registered: 2007-12-28
Posts: 169

Which hard-drive modules should I load for the mkinitcpio.conf file?

Hey all, I've always been confused by all the weird module names in the image files, anyway, here goes, since I have a laptop, I won't be upgrading my harddrive to a new interface. but.. that's not the problem, the problem is I don't know which modules I need to load for my hard-drive, here are some outputs from lspci, hdparm etc. Any help is appreciated!
roll
lspci

00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller (prog-if 8a [Master SecP PriP])
        Subsystem: Hewlett-Packard Company Unknown device 30ae
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
        I/O ports at 01f0 [size=8]
        I/O ports at 03f4 [size=1]
        I/O ports at 0170 [size=8]
        I/O ports at 0374 [size=1]
        I/O ports at 8410 [size=16]
        Capabilities: <access denied>

hdparm

[bolu@presario ~]$ sudo hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
    Model Number:       ST980829A                               
    Serial Number:      5PK1LAHQ
    Firmware Revision:  3.05    
Standards:
    Used: ATA/ATAPI-6 T13 1410D revision 2 
    Supported: 6 5 4 
Configuration:
    Logical        max    current
    cylinders    16383    16383
    heads        16    16
    sectors/track    63    63
    --
    CHS current addressable sectors:   16514064
    LBA    user addressable sectors:  156301488
    device size with M = 1024*1024:       76319 MBytes
    device size with M = 1000*1000:       80026 MBytes (80 GB)
Capabilities:
    LBA, IORDY(can be disabled)
    Standby timer values: spec'd by Standard, no device specific minimum
    R/W multiple sector transfer: Max = 16    Current = 16
    Advanced power management level: unknown setting (0x8080)
    Recommended acoustic management value: 254, current value: 0
    DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 
         Cycle time: min=120ns recommended=120ns
    PIO: pio0 pio1 pio2 pio3 pio4 
         Cycle time: no flow control=240ns  IORDY flow control=120ns
Commands/features:
    Enabled    Supported:
       *    SMART feature set
            Security Mode feature set
       *    Power Management feature set
       *    Write cache
       *    Look-ahead
       *    WRITE_BUFFER command
       *    READ_BUFFER command
       *    DOWNLOAD_MICROCODE
       *    Advanced Power Management feature set
       *    Device Configuration Overlay feature set
       *    Mandatory FLUSH_CACHE
       *    SMART error logging
       *    SMART self-test
       *    IDLE_IMMEDIATE with UNLOAD
       *    SMART Command Transport (SCT) feature set
Security: 
    Master password revision code = 65534
        supported
    not    enabled
    not    locked
        frozen
    not    expired: security count
    not    supported: enhanced erase
HW reset results:
    CBLID- above Vih
    Device num = 0 determined by CSEL
Checksum: correct

Archlinux on Compaq Presario v5000 laptop smile

Offline

#2 2008-01-13 13:05:35

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Which hard-drive modules should I load for the mkinitcpio.conf file?

Do you have any problem with your current mkinitcpio setup, or why do you ask this?
If it works with the defaults, it's probably a good idea not to mess with it.

Okay, that's that and now for the adventerous part...
Here's a minimal setup that works for me:

MODULES="pata_hpt37x sd_mod jfs"
HOOKS="base udev"

You'd probably need to use pata_atiixp instead of pata_hpt37y, and whatever filesystem you use for / instead of jfs. In case you use encryption, lvm etc., take care to include the necessary hooks.


1000

Offline

Board footer

Powered by FluxBB