Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Kernel Config for libata & sda
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
eidolon
n00b
n00b


Joined: 02 Feb 2009
Posts: 18

PostPosted: Mon Feb 02, 2009 11:42 am    Post subject: [solved] Kernel Config for libata & sda Reply with quote

Hi,

I reckon this must be a common issue/question, but several days of searching for an answer has so far been in vein...!

I installed Gentoo from a live CD, and it installed with, I think, linux kernel 2.6.24. I had problems with WPA2 so upgraded to 2.6.27. The WPA2 now works a treat, but to get the system to boot, I had to change menu.lst & fstab from /dev/sdN paths to /dev/hdN - ie the libata drivers were no longer being included (or used) in the kernel (or maybe IDE drivers were taking priority?). When building the kernel, I did specify to base the new config on the old one.

I have looked all over the place for instructions on what config settings to include in the kernel to have it use the libata drivers but I can't figure it out.

Does anyone have any suggestions or pointers? Your help would be much appreciated. If you need any more info, just ask.

Code:
localhost ~ # lsmod
Module                  Size  Used by
aes_i586               15872  2
aes_generic            37160  1 aes_i586
ipv6                  224164  14
intel_agp              31300  1
agpgart                38356  1 intel_agp
arc4                    9984  2
ecb                    10880  2
crypto_blkcipher       23684  1 ecb
iwl3945                85492  0
rfkill                 16536  2 iwl3945
mac80211              123408  1 iwl3945
cfg80211               29832  2 iwl3945,mac80211
tg3                   114436  0
libphy                 25856  1 tg3
e1000                 112964  0
xfs                   469832  0
nfs                   229608  0
nfs_acl                11136  1 nfs
lockd                  63784  1 nfs
sunrpc                175296  5 nfs,nfs_acl,lockd
jfs                   161764  0
raid10                 27008  0
dm_bbr                 17696  0
dm_snapshot            23588  0
dm_mirror              23808  0
dm_log                 16772  1 dm_mirror
dm_mod                 55496  4 dm_bbr,dm_snapshot,dm_mirror,dm_log
sbp2                   27020  0
ohci1394               33968  0
ieee1394               84676  2 sbp2,ohci1394
sl811_hcd              17792  0
usbhid                 43776  0
ff_memless             12552  1 usbhid
ohci_hcd               29968  0
ssb                    43012  1 ohci_hcd
uhci_hcd               27280  0
usb_storage            88000  0
ehci_hcd               37388  0
usbcore               125680  7 sl811_hcd,usbhid,ohci_hcd,uhci_hcd,usb_storage,ehci_hcd
lpfc                  226132  0
qla2xxx               164580  0
megaraid_sas           34736  0
megaraid_mbox          34448  0
megaraid_mm            16668  1 megaraid_mbox
megaraid               39752  0
aacraid                67084  0
sx8                    21388  0
DAC960                 66632  0
cciss                  61060  0
3w_9xxx                34980  0
3w_xxxx                29856  0
mptsas                 36616  0
scsi_transport_sas     33408  1 mptsas
mptfc                  21764  0
scsi_transport_fc      44420  3 lpfc,qla2xxx,mptfc
scsi_tgt               19528  1 scsi_transport_fc
mptspi                 23176  0
mptscsih               37632  3 mptsas,mptfc,mptspi
mptbase                75236  4 mptsas,mptfc,mptspi,mptscsih
atp870u                33152  0
dc395x                 36876  0
qla1280               121228  0
dmx3191d               18176  0
sym53c8xx              71960  0
qlogicfas408           14720  0
gdth                   80072  0
advansys               80512  0
initio                 23492  0
BusLogic               28468  0
arcmsr                 27648  0
aic7xxx               125752  0
aic79xx               117464  0
scsi_transport_spi     27904  5 mptspi,dmx3191d,sym53c8xx,aic7xxx,aic79xx
sg                     35124  0
videobuf_core          24580  0
pdc_adma               14596  0
sata_inic162x          16644  0
sata_mv                29708  0
ata_piix               23940  0
ahci                   34828  0
sata_qstor             14724  0
sata_vsc               13572  0
sata_uli               12292  0
sata_sis               13316  0
sata_sx4               17924  0
sata_nv                28168  0
sata_via               15236  0
sata_svw               13444  0
sata_sil24             20100  0
sata_sil               15368  0
sata_promise           18436  0
scsi_wait_scan          9472  0
pata_pcmcia            18944  0
pcmcia                 38828  2 ssb,pata_pcmcia
pcmcia_core            39828  3 ssb,pata_pcmcia,pcmcia


Code:
localhost ~ # lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
03:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
0a:09.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
0a:09.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
0a:09.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)


Code:
localhost ~ # cat /usr/src/linux-2.6.27-gentoo-r7/.config|grep -i "ATA\|SCSI\|libata"
CONFIG_X86_MCE_NONFATAL=y
CONFIG_RELOCATABLE=y
# CONFIG_ATALK is not set
CONFIG_CISS_SCSI_TAPE=y
CONFIG_ATA_OVER_ETH=m
CONFIG_IDE_ATAPI=y
# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_BLK_DEV_IDESCSI=m
# SCSI device support
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_TGT=m
CONFIG_SCSI_NETLINK=y
CONFIG_SCSI_PROC_FS=y
# SCSI support type (disk, tape, CD-ROM)
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
CONFIG_SCSI_SCAN_ASYNC=y
CONFIG_SCSI_WAIT_SCAN=m
# SCSI Transports
CONFIG_SCSI_SPI_ATTRS=y
CONFIG_SCSI_FC_ATTRS=m
CONFIG_SCSI_FC_TGT_ATTRS=y
CONFIG_SCSI_ISCSI_ATTRS=y
CONFIG_SCSI_SAS_ATTRS=y
CONFIG_SCSI_SAS_LIBSAS=y
CONFIG_SCSI_SAS_ATA=y
CONFIG_SCSI_SAS_HOST_SMP=y
# CONFIG_SCSI_SAS_LIBSAS_DEBUG is not set
CONFIG_SCSI_SRP_ATTRS=m
CONFIG_SCSI_SRP_TGT_ATTRS=y
CONFIG_SCSI_LOWLEVEL=y
CONFIG_ISCSI_TCP=y
CONFIG_SCSI_3W_9XXX=m
CONFIG_SCSI_7000FASST=m
CONFIG_SCSI_ACARD=m
CONFIG_SCSI_AHA152X=m
CONFIG_SCSI_AHA1542=m
CONFIG_SCSI_AACRAID=m
CONFIG_SCSI_AIC7XXX=y
# CONFIG_SCSI_AIC7XXX_OLD is not set
CONFIG_SCSI_AIC79XX=m
CONFIG_SCSI_AIC94XX=m
CONFIG_SCSI_DPT_I2O=m
CONFIG_SCSI_ADVANSYS=m
CONFIG_SCSI_IN2000=m
CONFIG_SCSI_ARCMSR=m
# CONFIG_SCSI_ARCMSR_AER is not set
CONFIG_SCSI_HPTIOP=m
CONFIG_SCSI_BUSLOGIC=m
# CONFIG_SCSI_FLASHPOINT is not set
CONFIG_SCSI_DMX3191D=m
CONFIG_SCSI_DTC3280=m
CONFIG_SCSI_EATA=m
CONFIG_SCSI_EATA_TAGGED_QUEUE=y
CONFIG_SCSI_EATA_LINKED_COMMANDS=y
CONFIG_SCSI_EATA_MAX_TAGS=16
CONFIG_SCSI_FUTURE_DOMAIN=m
CONFIG_SCSI_GDTH=m
CONFIG_SCSI_GENERIC_NCR5380=m
CONFIG_SCSI_GENERIC_NCR5380_MMIO=m
CONFIG_SCSI_GENERIC_NCR53C400=y
CONFIG_SCSI_IPS=m
CONFIG_SCSI_INITIO=m
CONFIG_SCSI_INIA100=m
CONFIG_SCSI_PPA=m
CONFIG_SCSI_IMM=m
# CONFIG_SCSI_IZIP_EPP16 is not set
# CONFIG_SCSI_IZIP_SLOW_CTR is not set
# CONFIG_SCSI_MVSAS is not set
CONFIG_SCSI_NCR53C406A=m
CONFIG_SCSI_STEX=m
CONFIG_SCSI_SYM53C8XX_2=m
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64
CONFIG_SCSI_SYM53C8XX_MMIO=y
CONFIG_SCSI_IPR=m
CONFIG_SCSI_IPR_TRACE=y
CONFIG_SCSI_IPR_DUMP=y
CONFIG_SCSI_PAS16=m
CONFIG_SCSI_QLOGIC_FAS=m
CONFIG_SCSI_QLOGIC_1280=m
CONFIG_SCSI_QLA_FC=m
CONFIG_SCSI_QLA_ISCSI=m
CONFIG_SCSI_LPFC=m
CONFIG_SCSI_SYM53C416=m
CONFIG_SCSI_DC395x=m
CONFIG_SCSI_DC390T=m
CONFIG_SCSI_T128=m
CONFIG_SCSI_U14_34F=m
CONFIG_SCSI_U14_34F_TAGGED_QUEUE=y
CONFIG_SCSI_U14_34F_LINKED_COMMANDS=y
CONFIG_SCSI_U14_34F_MAX_TAGS=8
CONFIG_SCSI_ULTRASTOR=m
CONFIG_SCSI_NSP32=m
# CONFIG_SCSI_DEBUG is not set
CONFIG_SCSI_SRP=m
CONFIG_SCSI_LOWLEVEL_PCMCIA=y
CONFIG_PCMCIA_NINJA_SCSI=m
CONFIG_SCSI_DH=y
# CONFIG_SCSI_DH_RDAC is not set
# CONFIG_SCSI_DH_HP_SW is not set
# CONFIG_SCSI_DH_EMC is not set
# CONFIG_SCSI_DH_ALUA is not set
CONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not set
CONFIG_ATA_ACPI=y
CONFIG_SATA_PMP=y
CONFIG_SATA_AHCI=m
CONFIG_SATA_SIL24=m
CONFIG_ATA_SFF=y
CONFIG_SATA_SVW=m
CONFIG_ATA_PIIX=y
CONFIG_SATA_MV=m
CONFIG_SATA_NV=m
CONFIG_SATA_QSTOR=m
CONFIG_SATA_PROMISE=m
CONFIG_SATA_SX4=m
CONFIG_SATA_SIL=m
CONFIG_SATA_SIS=m
CONFIG_SATA_ULI=m
CONFIG_SATA_VIA=m
CONFIG_SATA_VITESSE=m
CONFIG_SATA_INIC162X=m
CONFIG_PATA_ACPI=m
CONFIG_PATA_ALI=y
CONFIG_PATA_AMD=y
CONFIG_PATA_ARTOP=y
CONFIG_PATA_ATIIXP=y
CONFIG_PATA_CMD640_PCI=y
CONFIG_PATA_CMD64X=y
CONFIG_PATA_CS5520=y
CONFIG_PATA_CS5530=y
CONFIG_PATA_CS5535=y
CONFIG_PATA_CS5536=y
# CONFIG_PATA_CYPRESS is not set
CONFIG_PATA_EFAR=y
CONFIG_ATA_GENERIC=y
CONFIG_PATA_HPT366=y
CONFIG_PATA_HPT37X=y
CONFIG_PATA_HPT3X2N=y
CONFIG_PATA_HPT3X3=y
# CONFIG_PATA_HPT3X3_DMA is not set
CONFIG_PATA_ISAPNP=y
CONFIG_PATA_IT821X=y
CONFIG_PATA_IT8213=y
CONFIG_PATA_JMICRON=y
CONFIG_PATA_LEGACY=y
CONFIG_PATA_TRIFLEX=y
CONFIG_PATA_MARVELL=y
CONFIG_PATA_MPIIX=y
CONFIG_PATA_OLDPIIX=y
CONFIG_PATA_NETCELL=y
# CONFIG_PATA_NINJA32 is not set
CONFIG_PATA_NS87410=y
CONFIG_PATA_NS87415=y
CONFIG_PATA_OPTI=y
CONFIG_PATA_OPTIDMA=y
CONFIG_PATA_PCMCIA=m
CONFIG_PATA_PDC_OLD=y
CONFIG_PATA_QDI=y
CONFIG_PATA_RADISYS=y
CONFIG_PATA_RZ1000=y
CONFIG_PATA_SC1200=y
CONFIG_PATA_SERVERWORKS=y
CONFIG_PATA_PDC2027X=y
CONFIG_PATA_SIL680=y
CONFIG_PATA_SIS=y
CONFIG_PATA_VIA=y
CONFIG_PATA_WINBOND=y
CONFIG_PATA_WINBOND_VLB=y
# CONFIG_PATA_SCH is not set
CONFIG_I2O_SCSI=m
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
CONFIG_USB_STORAGE_DATAFAB=y
# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
# CONFIG_INFINIBAND_IPOIB_DEBUG_DATA is not set
# CONFIG_ISCSI_IBFT_FIND is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_DEBUG_RODATA is not set
# Authenticated Encryption with Associated Data


Last edited by eidolon on Mon Feb 02, 2009 11:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
Exil
Apprentice
Apprentice


Joined: 10 Oct 2005
Posts: 251
Location: Nibylandia

PostPosted: Mon Feb 02, 2009 3:37 pm    Post subject: Reply with quote

disable
Code:
ATA/ATAPI/MFM/RLL support  --->
Back to top
View user's profile Send private message
eidolon
n00b
n00b


Joined: 02 Feb 2009
Posts: 18

PostPosted: Mon Feb 02, 2009 3:48 pm    Post subject: Reply with quote

I got all excited then, but it doesn't seem to help. Presumably after running make menuconfig, I only need to reboot, or do I need to recompile the kernel?

Thanks in advance.
Back to top
View user's profile Send private message
danomac
l33t
l33t


Joined: 06 Nov 2004
Posts: 881
Location: Vancouver, BC

PostPosted: Mon Feb 02, 2009 4:51 pm    Post subject: Reply with quote

You need to recompile the kernel and put the new image in /boot, then reboot.
Back to top
View user's profile Send private message
eidolon
n00b
n00b


Joined: 02 Feb 2009
Posts: 18

PostPosted: Mon Feb 02, 2009 9:57 pm    Post subject: Reply with quote

Outstanding! Recompiled kernel and all is well - many thanks for your help fellas. I'd be interested to know how I could have found that out (for future reference), but thanks all the same!

:D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum