Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Kernel] pas de support pour hda (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Bio
Apprentice
Apprentice


Joined: 17 Mar 2003
Posts: 197
Location: Geneva which should be in Switzerland...

PostPosted: Mon Jun 30, 2008 9:08 am    Post subject: [Kernel] pas de support pour hda (résolu) Reply with quote

Hello,

Je viens d'upgrader le hardware d'une de mes machines Linux, je suis passé d'un P4 vieillissant à un Core 2. J'en ai profité pour basculer les disques vers une solution SATA. La migration s'est passée sans encombres et mon système est fonctionnel sur la nouvelle configuration.

Par contre j'ai voulu, en plus des disques SATA, brancher mon ancien disque IDE mais ça ne fonctionne pas.

Pour info la carte mère est une P5E-V HDMI et j'ai suivi le didacticiel de sa petite soeur pour configurer les différents modules du Kernel : http://www.gentoo-wiki.com/HARDWARE_Asus_P5E-VM_HDMI

Au boot voilà ce que dmesg me renvoi à propos d'un disque hda :

Code:
dmesg | grep hda
    ide0: BM-DMA at 0xc400-0xc407, BIOS settings: hda:pio, hdb:pio
hda: Hitachi HDT725050VLAT80, ATA DISK drive
hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/133 mode selected


Par contre fdisk ne le trouve pas :

Code:
  fdisk -l

Disque /dev/sda: 1503.2 Go, 1503238553088 octets
255 heads, 63 sectors/track, 182758 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8939d92b

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1               1           7       56196   83  Linux
/dev/sda2               8         251     1959930   82  Linux swap / Solaris
/dev/sda3             252         325      594405   83  Linux
/dev/sda4             326      182758  1465393072+   5  Extended
/dev/sda5             326       61114   488287611   8e  Linux LVM
/dev/sda6           61115      121903   488287611   8e  Linux LVM
/dev/sda7          121904      182758   488817756   8e  Linux LVM

Disque /dev/sdb: 1496.7 Go, 1496728994304 octets
255 heads, 63 sectors/track, 181966 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3ecb5d09

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1               1       36474   292977373+  83  Linux
/dev/sdb2           36475       72948   292977405   83  Linux
/dev/sdb3           72949      109422   292977405   83  Linux
/dev/sdb4          109423      181966   582709680    5  Extended
/dev/sdb5          109423      111855    19543041   83  Linux



enfin mon lspci et ma config kernel :

Code:
lspci | grep IDE
00:1f.2 IDE interface: Intel Corporation 4 port SATA IDE Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 2 port SATA IDE Controller (rev 02)
02:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE controller


Code:
Device Drivers  --->
    <*> ATA/ATAPI/MFM/RLL support --->
        <*>   Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
        <*>     JMicron JMB36x support
    Serial ATA (prod) and Parallel ATA (experimental) drivers  --->
        <*>   JMicron PATA support

_________________
I'm all in !


Last edited by Bio on Mon Jun 30, 2008 12:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
Bio
Apprentice
Apprentice


Joined: 17 Mar 2003
Posts: 197
Location: Geneva which should be in Switzerland...

PostPosted: Mon Jun 30, 2008 12:06 pm    Post subject: Reply with quote

Résolu en fouillant les différentes options du kernel. J'avais oublié de setter

Code:
CONFIG_BLK_DEV_IDEDISK=y

_________________
I'm all in !
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Mon Jun 30, 2008 12:10 pm    Post subject: Reply with quote

Le vieux support IDE est deprécié et entre parfois en conflit avec la libata (comme avec les chipsets Intel par exemple), tu devrais normalement virer entièrement le vieux support IDE (tout ATA/ATAPI/MFM/RLL support), et mettre le support PATA correspondant à ton chipset dans la libata, en parallèle à ton chipset SATA, et avec ça tu retrouveras ensuite ton disque IDE en /dev/sdb ou similaire. :)
Back to top
View user's profile Send private message
Bio
Apprentice
Apprentice


Joined: 17 Mar 2003
Posts: 197
Location: Geneva which should be in Switzerland...

PostPosted: Mon Jun 30, 2008 12:42 pm    Post subject: Reply with quote

geekounet wrote:
Le vieux support IDE est deprécié et entre parfois en conflit avec la libata (comme avec les chipsets Intel par exemple), tu devrais normalement virer entièrement le vieux support IDE (tout ATA/ATAPI/MFM/RLL support), et mettre le support PATA correspondant à ton chipset dans la libata, en parallèle à ton chipset SATA, et avec ça tu retrouveras ensuite ton disque IDE en /dev/sdb ou similaire. :)


Exact ça fonctionne également comme ça et c'est plus propre que mon "fix". Merci :wink:
_________________
I'm all in !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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