Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Noyau] Pbm arrêt disque dur
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Thu Sep 28, 2006 6:07 pm    Post subject: Reply with quote

widan wrote:
arlequin wrote:
En désactivant complétement l'ACPI (acpi=off et noacpi en paramètres du noyau), j'obtiens comme dernier message du noyau :
Code:
Synchronizing SCSI cache for disk sda:
System halted.

Si ça ne fait pas de bruit quand tu coupes dans cet état, c'est que le kernel envoie bien la commande STANDBY au disque (c'est la commande qui dit au disque de s'arrêter). Le problème avec l'ACPI actif, c'est qu'il coupe l'alim trop tôt après, sans laisser le temps au disque de s'arrêter complètement...

Tu peux essayer de modifier la fonction acpi_power_off() dans /usr/src/linux/driver/acpi/sleep/poweroff.c comme ça, pour faire attendre 5 secondes avant de tout couper:
Code:
void acpi_power_off(void)
{
        /* wait a bit */
        acpi_os_stall(5000000);
        /* acpi_sleep_prepare(ACPI_STATE_S5) should have already been called */
        printk("%s called\n", __FUNCTION__);
        local_irq_disable();
        /* Some SMP machines only can poweroff in boot CPU */
        acpi_enter_sleep_state(ACPI_STATE_S5);
}


juste une petite précision widan,

pour les 5s tu parles de ces deux lignes là :
Quote:
/* wait a bit */
acpi_os_stall(5000000);

ou bien de ceci (en gras):
Quote:
/* acpi_sleep_prepare(ACPI_STATE_S5) should have already been called */
printk("%s called\n", __FUNCTION__);
local_irq_disable();
/* Some SMP machines only can poweroff in boot CPU */
acpi_enter_sleep_state(ACPI_STATE_S5);


EDIT : ma question était vraiment très c**** :oops: :P
_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo


Last edited by Mickael on Mon Oct 02, 2006 7:34 am; edited 1 time in total
Back to top
View user's profile Send private message
TrizoLakai
Apprentice
Apprentice


Joined: 09 Jun 2006
Posts: 231
Location: Nantes (FRANCE)

PostPosted: Thu Sep 28, 2006 6:29 pm    Post subject: Reply with quote

Lis le commentaire ;)

Wait a bit => attendre un peu
Back to top
View user's profile Send private message
TrizoLakai
Apprentice
Apprentice


Joined: 09 Jun 2006
Posts: 231
Location: Nantes (FRANCE)

PostPosted: Thu Sep 28, 2006 6:48 pm    Post subject: Reply with quote

Bon j'ai essayé, ça attend bien seconde j'ai le temps de lire les messages plein de fois :)
MAIS j'ai toujours le "clock" ou plutot "Cliak" à la fin. :oops:

Enfin c'était une très bonne idée :idea:
Back to top
View user's profile Send private message
nemo13
Veteran
Veteran


Joined: 08 Oct 2004
Posts: 1016
Location: France/Istres

PostPosted: Thu Sep 28, 2006 8:00 pm    Post subject: Reply with quote

MickTux wrote:
Tu peux développer s'il te plaît Nemo.

urgh !
un petit lien
quelques commentaires :
bien que le write through est préféré, en général, pour les disques dur il y a risque de vieillissement prématuré du disque si ton appli ( ou ton FS ) est gourmante en accès disque.
faut alors arbitrer entre
sécuriser les données / coupure courant
sécuriser les données / scratch disque
-------si t'es plein de tunes : alim redondantes + raid.
a+
rem : le sclong ne serait-il pas le bruit , un peu fort soit , du parquage de la tête de lecture ?
Back to top
View user's profile Send private message
TrizoLakai
Apprentice
Apprentice


Joined: 09 Jun 2006
Posts: 231
Location: Nantes (FRANCE)

PostPosted: Thu Sep 28, 2006 8:11 pm    Post subject: Reply with quote

Bin je pensais au début que c'était un truc du genre mais ce topic m'a mis le doute maintenant je suis paranoïaque

merci !
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Thu Sep 28, 2006 8:57 pm    Post subject: Reply with quote

nemo13 wrote:
rem : le sclong ne serait-il pas le bruit , un peu fort soit , du parquage de la tête de lecture ?

C'est probablement le cas. Mais un disque peut tout à fait s'arrêter sans bruit (en le mettant en standby avec "hdparm -y" par exemple). Le bruit se produit lors d'une coupure de l'alimentation sur un disque qui tourne encore (ie pas en standby), mais tous les disques ne le font pas.
Back to top
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Fri Sep 29, 2006 8:33 am    Post subject: Reply with quote

Est-il possible de régler autre chose afin d'éviter cet arret trop rapide du disque. Est-ce que l'acpi peut travailler avec hdparm??
_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
Back to top
View user's profile Send private message
Ezka
Guru
Guru


Joined: 17 Feb 2005
Posts: 352
Location: par là, mais vraiment ...

PostPosted: Fri Sep 29, 2006 9:50 am    Post subject: Reply with quote

Si tu passes par "poweroff" pour arreter la machine tu peux ptêtre faire un alias dans ton .bashrc :
Code:
alias poweroff="hdparm -y /dev/hda && poweroff"

Voir même rajouter un latence pour voir si le klank disparait :
Code:
alias poweroff="hdparm -y /dev/hda && sleep 5 && poweroff"


Ta machine mettra 5 scd de plus pour s'arreter mais si le "klank" s'en va c'est pas bien grave. Remplace le hda par le bon hdd si jamais.

Tu as d'autre option pour hdparm plus forte dans la mise en veille de ton hdd, comme -Y qui le stope. (NB: de mémoire, voir le man pour être sur :wink: )

PS : heu j'ai pas lu tt le post, on t'as ptêtre déjà proposer ça remarque ... :arrow: :roll:
_________________
Ez.
Back to top
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Fri Sep 29, 2006 9:53 am    Post subject: Reply with quote

Je rectifie mais cela doit être du pareil au même : vu que j'ai un disque dur sata, se sera sdparm. Enfin c'est juste pour souligné la chose.

EDIT : bon on peut pas le faire avec sdparm. faut utiliser hdparm. :P
_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo


Last edited by Mickael on Mon Oct 02, 2006 7:20 am; edited 2 times in total
Back to top
View user's profile Send private message
arlequin
l33t
l33t


Joined: 16 Nov 2002
Posts: 707
Location: grep $USER /etc/passwd | cut -d':' -f6

PostPosted: Fri Sep 29, 2006 1:26 pm    Post subject: Reply with quote

Hop, un coups de debriefing :

nemo13 wrote:
N'est-ce pas lié aux possibilité de write-back ou write-through [...] des disques dur ?


J'ai essayé en modifiant ces options (hdparm -W) mais ça ne change rien.

widan wrote:
Tu peux essayer de modifier la fonction acpi_power_off() dans /usr/src/linux/driver/acpi/sleep/poweroff.c comme ça, pour faire attendre 5 secondes avant de tout couper [...]


C'est la solution pour laquelle je penchais le plus hier, mais je n'ai pas eu le temps de l'appliquer... mais ça ne fonctionne pas meiux.

nemo13 wrote:
rem : le sclong ne serait-il pas le bruit , un peu fort soit , du parquage de la tête de lecture ?


Non, puisque sous Windows je n'ai pas ce problème. D'ailleurs, le disque se coupe parfaitement et sans bruit avec hdparm -y

Ezka wrote:
Si tu passes par "poweroff" pour arreter la machine tu peux ptêtre faire un alias dans ton .bashrc [...] Ta machine mettra 5 scd de plus pour s'arreter mais si le "klank" s'en va c'est pas bien grave. Remplace le hda par le bon hdd si jamais.


L'idée est bonne, mais puisque avant l'extinction complète de la machine, il faut arreter les services (qui, de facto, font des lectures/écritures), le disque sera remis sous tension.

Je vais tout de meme essayer de modifier la fonction acpi_power_off(), histoire de toucher un peu de code (3 mois que chui en vacances !).

Merci à tous et n'hésitez pas à balancer vos idées !
_________________
J'vous dis ciao !
Au fait, ciao ça veut dire bye en anglais.
Back to top
View user's profile Send private message
arlequin
l33t
l33t


Joined: 16 Nov 2002
Posts: 707
Location: grep $USER /etc/passwd | cut -d':' -f6

PostPosted: Fri Sep 29, 2006 3:13 pm    Post subject: Reply with quote

Ça marche ! C'est pas beau, mais ça marche !

J'ai modifié le fichier drivers/acpi/sleep/poweroff.c et j'ai enfin un résultat. Le disque a le temps de s'arrêter avant que la machine ne se coupe. Par contre, j'ai placé le bout de code dans la fonction int acpi_sleep_prepare(u32 acpi_state), pour que l'attente soit aussi appliquée lorsque je fais un suspend-to-disk :
Code:
int acpi_sleep_prepare(u32 acpi_state)
{
    printk("Attente de 5 secondes dans acpi_sleep_prepare() !\n");
    acpi_os_stall(5000000);
    [...]
}


Du coups, on a isolé (merci widan) le problème.

TrizoLakai wrote:
MAIS j'ai toujours le "clock" ou plutot "Cliak" à la fin. :oops:


Tu peux éventuellement augmenter le temps d'attente (monte à 10sec. = 10000000).
_________________
J'vous dis ciao !
Au fait, ciao ça veut dire bye en anglais.
Back to top
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Tue Oct 03, 2006 2:30 pm    Post subject: Reply with quote

Et ça ne marche pas...........

EDIT : Comment trouver les paramètres de son disque dur SATA relatif au temps d'arrêt svp?

EDIT 2 : j'ai trouvé ceci :
Code:
cat /sys/bus/scsi/drivers/sd/0\:0\:0\:0/timeout
30


Cela veut-il dire qu'il faille mettre 30s dans acippoweroff :?

C'est pas un peu long tout de même?

EDIT 3 : Bordel je viens de passer à 35 secondes et que dalle!!!! :evil: toujours ce cliap!!
_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
Back to top
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Wed Oct 04, 2006 9:12 am    Post subject: Reply with quote

Bon alors, j'ai passé l'option noapic dans grub, et je n'ai plus de cliap pour la fermeture. J'utilise poweroff en lgne de commande avec ceci dans mon bashrc :
Code:
alias poweroff="hdparm -Y /dev/sda && poweroff"


Vous pourriez commenter svp, et me dire si la fonction éteindre de gnome utilise également mon alias poweroff="hdparm -Y /dev/sda && poweroff"?

EDIT ce que je veux c'est éteindre mon mon disque dur sans cliap, et comme je suis sur un portable, je voudrais juste la gestion ou indication batterie/seccteur, le reste je m'en fou. Donc si autre chose que acpid peut faire cela je prend et je désactive l'acpi, vous voyez ou je je veux en venir.

EDIT 2 : pour l'histoire des 35 secondes, il semblerait que l'attente ne soit pas de 35 secondes mais plus courte, alors que ce passe t-il?

EDIt 3 : des infos sur l'acpi dans dmesg :
Code:
grep -i "ACPI" /var/log/dmesg
ACPI: RSDP (v000 DELL                                  ) @ 0x000fc370
ACPI: RSDT (v001 DELL    M07     0x27d60609 ASL  0x00000061) @ 0x1f6d3a54
ACPI: FADT (v001 DELL    M07     0x27d60609 ASL  0x00000061) @ 0x1f6d4800
ACPI: MADT (v001 DELL    M07     0x27d60609 ASL  0x00000047) @ 0x1f6d5000
ACPI: MCFG (v016 DELL    M07     0x27d60609 ASL  0x00000061) @ 0x1f6d4fc0
ACPI: BOOT (v001 DELL    M07     0x27d60609 ASL  0x00000061) @ 0x1f6d4bc0
ACPI: SSDT (v001  PmRef    CpuPm 0x00003000 INTL 0x20050624) @ 0x1f6d3a8c
ACPI: DSDT (v001 INT430 SYSFexxx 0x00001001 INTL 0x20050624) @ 0x00000000
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: Skipping IOAPIC probe due to 'noapic' option.
ACPI: Core revision 20060707
ACPI: setting ELCR to 0200 (from 0eb8)
ACPI: bus type pci registered
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 9 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7) *4
ACPI: PCI Interrupt Link [LNKC] (IRQs 9 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 9 10 11) *3
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 *7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIE._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP04._PRT]
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
PCI: Using ACPI for IRQ routing
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:1c.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:1c.3[D] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ACPI: AC Adapter [AC] (on-line)
ACPI: Battery Slot [BAT0] (battery present)
ACPI: Lid Switch [LID]
ACPI: Power Button (CM) [PBTN]
ACPI: Sleep Button (CM) [SBTN]
ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
ACPI: Video Device [VID2] (multi-head: yes  rom: no  post: no)
ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu0Ist] [20060707]
ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu0Cst] [20060707]
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
ACPI: Processor [CPU0] (supports 8 throttling states)
ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu1Ist] [20060707]
ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu1Cst] [20060707]
ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
ACPI: Processor [CPU1] (supports 8 throttling states)
ACPI: Thermal Zone [THM] (38 C)
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 7
ACPI: PCI Interrupt 0000:00:1f.2[B] -> Link [LNKB] -> GSI 7 (level, low) -> IRQ 7
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI Interrupt 0000:03:01.1[B] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
Time: acpi_pm clocksource has been installed.
ACPI: PCI Interrupt 0000:03:01.0[A] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 9
ACPI: PCI Interrupt 0000:00:1d.0[A] -> Link [LNKE] -> GSI 9 (level, low) -> IRQ 9
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:1d.1[B] -> Link [LNKF] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 7
ACPI: PCI Interrupt 0000:00:1d.2[C] -> Link [LNKG] -> GSI 7 (level, low) -> IRQ 7
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 5
ACPI: PCI Interrupt 0000:00:1d.3[D] -> Link [LNKH] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI Interrupt 0000:00:1b.0[A] -> Link [LNKF] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [LNKB] -> GSI 7 (level, low) -> IRQ 7
ACPI: PCI Interrupt 0000:00:1d.7[A] -> Link [LNKE] -> GSI 9 (level, low) -> IRQ 9
ACPI: PCI Interrupt 0000:0b:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11

_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
Back to top
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Wed Oct 04, 2006 1:42 pm    Post subject: Reply with quote

Bon et bien l'apic n' a rien avoir avec tout cela c'est bien l'acpi. Avec un acpi=off au boot, j'ai pas de cliap. J'ai regardé ma dsdt et il n'y a aucune erreur, dans le wiki j'ai lu une histoire de nom_acpi=windows ou je ne sais quoi. Je suis un peu perdu...
Quote:

Troubleshooting

My DSDT is fixed, but I still have ACPI errors. Now what?

Windows-only DSDT functionality

You may find that you have no errors in your DSDT, but there are still errors in dmesg, or missing ACPI functionality. This may be because your DSDT is testing for the name of your OS. Many DSDTs do this, and enable certain functionality only if you are running a particular OS (usually, of course, Windows XP). To test for this, look for lines in your DSDT that check the value or length of the "_OS" variable. For example, you may find lines like this:

If (LEqual (SizeOf (_OS), 0x14))

This is checking for an OS name with a length of 20 (0x14) characters. Some examples are "Microsoft Windows NT" or "Microsoft Windows XP". You could try to rewrite your DSDT to skip these checks, or to provide the missing functionality for other OSes, but this is tedious and error-prone. Fortunately, there is a simpler way. There is a boot parameter that you can pass to the kernel to tell ACPI to pretend that you are running Windows to restore the missing functionality, rather than rewriting your DSDT. The parameter is called acpi_os_name. So, in grub.conf, you would just add this parameter to the kernel line, like this:

acpi_os_name="Microsoft Windows XP"

This should restore any functionality that is dependent on your OS identifying itself as Windows XP. Other common _OS length checks are:

0x11: "Microsoft Windows"
0x27: "Microsoft WindowsME: Millennium Edition"


help.

EDIT :
Bon j'ai testé avec le demon acpid activé, plus de noapic ou quoi que soit au grub, seulement acpi_os_name="Microsoft Windows XP" sans savoir si c'était réellement windows XP car le win que je possède c'est un Windows Media Center?? Et après un reboot pas de bruit : on tient le bon bout .................... enfin j'espère...............Et merde

EDIT : je retente avec la solution à widan, mais cette fois ci je la place dans les sources su noyo on verra bien....

EDIT : 3 arrêts et c'est bon, ça à l'air de tenir...
_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
Back to top
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Thu Nov 23, 2006 12:41 pm    Post subject: Reply with quote

Bon et bien pour moi cela ne fonctionne pas, de plus j'ai dû désactiver acpid puisqu'il me coupait X et me renvoyait sous gdm lorsque je passais sur ma batterie de mon portable. Donc maintenant la solution de widan je ne peux pas l'utiliser :evil: je dois ruser avec la fcontion shutdown comme ceci :

Code:
nano /etc/init.d/shutdown.sh

Quote:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

#Version originale
#opts="-hdp"
#[[ ${RC_DOWN_INTERFACE} == "yes" ]] && opts="${opts}i"


#Version teste
opts="-h"
[[ ${RC_DOWN_INTERFACE} == "yes" ]] && opts="${opts}i"


/sbin/halt "${opts}"

# hmm, if the above failed, that's kind of odd ...
# so let's force a halt
/sbin/halt -f


une fois le shutdown effectué, j'attends quelques secondes environ 5s (juste au cas ou) puis je fais le poweroff en appuyant sur le bouton.

des infos :

lspci :
Quote:

lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
03:01.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)


cat :
Code:
cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: Hitachi HTS54106 Rev: MB3O
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: SONY     Model: DVD+-RW DW-Q58A  Rev: UDS2
  Type:   CD-ROM                           ANSI SCSI revision: 05


infos kernel_config
:
-Support scsi :
Code:
zgrep -i "scsi" /proc/config.gz
# SCSI device support
CONFIG_SCSI=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 is not set
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
# SCSI Transport Attributes
CONFIG_SCSI_SPI_ATTRS=m
CONFIG_SCSI_FC_ATTRS=m
CONFIG_SCSI_ISCSI_ATTRS=m
CONFIG_SCSI_SAS_ATTRS=m
# SCSI low-level drivers
# CONFIG_ISCSI_TCP is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_AHCI=y
CONFIG_SCSI_SATA_SVW=m
CONFIG_SCSI_ATA_PIIX=y
CONFIG_SCSI_SATA_MV=y
CONFIG_SCSI_SATA_NV=m
CONFIG_SCSI_PDC_ADMA=m
CONFIG_SCSI_HPTIOP=y
CONFIG_SCSI_SATA_QSTOR=m
CONFIG_SCSI_SATA_PROMISE=m
CONFIG_SCSI_SATA_SX4=m
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_SIL24 is not set
# CONFIG_SCSI_SATA_SIS is not set
# CONFIG_SCSI_SATA_ULI is not set
# CONFIG_SCSI_SATA_VIA is not set
# CONFIG_SCSI_SATA_VITESSE is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_FD_MCS is not set
CONFIG_SCSI_GDTH=y
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
# CONFIG_SCSI_IBMMCA is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_NCR_D700 is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_NCR_Q720 is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_SIM710 is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
# Old CD-ROM drivers (not SCSI, not IDE)
# CONFIG_CD_NO_IDESCSI is not set
CONFIG_I2O_SCSI=m
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'

-ATA :
Code:
zgrep -i "ata" /proc/config.gz
CONFIG_X86_MCE_NONFATAL=y
# CONFIG_ATALK is not set
# CONFIG_ATA_OVER_ETH is not set
# ATA/ATAPI/MFM/RLL support
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_AHCI=y
CONFIG_SCSI_SATA_SVW=m
CONFIG_SCSI_ATA_PIIX=y
CONFIG_SCSI_SATA_MV=y
CONFIG_SCSI_SATA_NV=m
CONFIG_SCSI_SATA_QSTOR=m
CONFIG_SCSI_SATA_PROMISE=m
CONFIG_SCSI_SATA_SX4=m
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_SIL24 is not set
# CONFIG_SCSI_SATA_SIS is not set
# CONFIG_SCSI_SATA_ULI is not set
# CONFIG_SCSI_SATA_VIA is not set
# CONFIG_SCSI_SATA_VITESSE is not set
# CONFIG_SCSI_EATA is not set
CONFIG_USB_STORAGE_DATAFAB=y
# CONFIG_ATARI_PARTITION is not set

_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
Back to top
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Thu Nov 23, 2006 1:07 pm    Post subject: Reply with quote

Manipulation de la dsdt : résultat 8 warning :

Quote:

cat /proc/acpi/dsdt > dsdt.dat

iasl -d dsdt.dat

Intel ACPI Component Architecture
AML Disassembler version 20060912 [Nov 23 2006]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a

Loading Acpi table from file dsdt.dat
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
.............................................................................................................................
..............................................................................................................................
.................................................................................................................................
Parsing completed
Disassembly completed, written to "dsdt.dsl"



iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20060912 [Nov 23 2006]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl 2323: And (Local0, 0x0F)
Warning 1104 - ^ Result is not used, operator has no effect

dsdt.dsl 2381: And (Local0, 0x0F)
Warning 1104 - ^ Result is not used, operator has no effect

dsdt.dsl 2439: And (Local0, 0x0F)
Warning 1104 - ^ Result is not used, operator has no effect

dsdt.dsl 2497: And (Local0, 0x0F)
Warning 1104 - ^ Result is not used, operator has no effect

dsdt.dsl 2555: And (Local0, 0x0F)
Warning 1104 - ^ Result is not used, operator has no effect

dsdt.dsl 2613: And (Local0, 0x0F)
Warning 1104 - ^ Result is not used, operator has no effect

dsdt.dsl 2671: And (Local0, 0x0F)
Warning 1104 - ^ Result is not used, operator has no effect

dsdt.dsl 2729: And (Local0, 0x0F)
Warning 1104 - ^ Result is not used, operator has no effect

dsdt.dsl 3318: Return (Package (0x00) {})
Remark 5070 - Effective AML package length is zero ^

ASL Input: dsdt.dsl - 4305 lines, 129585 bytes, 1384 keywords
AML Output: dsdt.aml - 13425 bytes 524 named objects 860 executable opcodes

Compilation complete. 0 Errors, 8 Warnings, 1 Remarks, 534 Optimizations


Besion d'aide :lol:
_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
Back to top
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Thu Nov 23, 2006 6:58 pm    Post subject: Reply with quote

Pour mon problème d'acpid tout est rentré dans l'ordre grace à Mister Enlight. Cela venait tout simplement du fait que xdm et acpid n'était pas sur le même niveau de runlevel. Acpid était sur le runlevel battery et xdm default, doù la fermeture de X lorsque je passais sur batterie. Par contre pour le disque dur, on dirait que cela vient des instructions de stanby de halt/poweroff/shutdown qui n'ont pas l'air de bien fonctionner. problème au niveau de la config des modules dans le noyo ou bien de l'un de ces 3 scripts.
_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
Back to top
View user's profile Send private message
galerkin
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2006
Posts: 115
Location: /dev/toulouse

PostPosted: Sun Nov 26, 2006 12:17 pm    Post subject: Reply with quote

Bon, moi aussi j'ai le même problème que vous :? (J'aurai jamais du lire ce post)
Enfin le même que toi Micktux...
J'ai testé la solution de Widan, j'ai bien le time out de 5 secondes mais toujours ce fameux bruit à l'extinction :!: :!:

Ta solution qui consiste à changer le shutdown.sh fonctionne pour moi aussi, mais ca ne fait pas très propre.

Je me demande si tout cela n'est pas lié à un problème de halt....
Je suis en train de parcourir les sources halt.c mais ce n'est pas évident pour moi :(

Je pensais mettre une tempo directement dans ce fichier vous en pensez quoi ??
Back to top
View user's profile Send private message
Nunux
n00b
n00b


Joined: 06 Jun 2006
Posts: 5

PostPosted: Mon Nov 27, 2006 11:54 am    Post subject: Reply with quote

Bonjour à tous

J'ai constaté le meme probleme que vous.
J'ai modifié le script shutdown.sh.

Code:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
hdparm -y /dev/sda > /dev/null
hdparm -y /dev/sdb > /dev/null

opts="-dh"
[[ ${INIT_HALT} != "HALT" ]] && opts="${opts}p"
[[ ${RC_DOWN_INTERFACE} == "yes" ]] && opts="${opts}i"

/sbin/halt "${opts}"

# hmm, if the above failed, that's kind of odd ...
# so let's force a halt
/sbin/halt -f


Ainsi je met la mise en veille de mes deux disques durs avant que le halt ne le fasse avec le parametre -h.
Comme indiqué ici:
Code:

-h     Put all harddrives on the system in  standby  mode  just  before
              halt or poweroff.


Le bruit du clap des deux disques se fait toujours mais une ou deux secondes avant l'arret du pc.
Donc je suppose que les tetes des disques ont le temps de se parker avant la coupure de courant.
A noté que ce bruit est le même que lorsque je met un disque dur en stand by avec hdparm -y en cours d'utilisation de l'os.
Je ne pense donc pas que ce bruit emis par le hdd soit néfaste.

Si quelqu'un d'autre aurait une idée de la cause de ce bruit. :wink:
Back to top
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Tue Mar 27, 2007 8:21 am    Post subject: Reply with quote

Salut, apparemment c'est un bug dû à libata, qui semble être corrigé d'après cette discussion sur bugzilla kernel. cf le dernier message.
http://bugzilla.kernel.org/show_bug.cgi?id=7674 Additional Comment #15 From Francesco Pretto 2007-03-26 05:33

EDIT : j'ai rien compris, dans les liens qui pointent ici : http://thread.gmane.org/gmane.linux.scsi/30487/focus=30489 il y quatre patch, faut-il tous les utlisés?? :?
_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
Back to top
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Tue Jun 19, 2007 7:08 pm    Post subject: Reply with quote

bon ce problème est enfin réglé depuis la version 6.21-r2 des gentoo sources qui inclue(nt) les patchs précédemment cités. :D (résolu) :roll:
_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
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
Goto page Previous  1, 2
Page 2 of 2

 
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