Pagina 1 di 2
spegnimento pc
Inviato: domenica 21 ottobre 2007, 17:15
da Mr.Smith
Ciao a tutti,
ho un problema con la gutsy, ma ke era già presente con la 7.04. Ho aspettato a postare il problema pensando ke l'aggiornamento a gusty lo risolvesse, ma cosi nn è stato. In pratica, quando spegno il pc, questo nn si spegne: fa la sequenza normale di spegnimento, si spengono i led presenti sul case ( quello del power e l'altro ke indica attività dell' hd ) ma sento ke la ventola del processore rimane a girare.
Avete qualke idea sulla problematica e sulla possibile risoluzione??
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 17:41
da rullino96
hai un portatile o un fisso?
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 17:43
da Shaved
Nel caso non lo avessi già fatto, prova con questa
soluzione.
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 17:49
da Mr.Smith
fisso...
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 17:53
da Ulisse07
Shaved ha scritto:
Nel caso non lo avessi già fatto, prova con questa
soluzione.
Prova la soluzoione proposta da Shaved

Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 17:56
da rullino96
Ulisse07 ha scritto:
Shaved ha scritto:
Nel caso non lo avessi già fatto, prova con questa
soluzione.
Prova la soluzoione proposta da Shaved
sì, fai così che forse è meglio...
scusa la mia stupida domanda che ti ho fatto prima...

Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 20:23
da Mr.Smith
ragazzi ho provato..nn funziona putroppo..tra l'altro il file da modificare era vuoto.c'entra qlc??
Aspetto altre possibili soluzioni..
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 20:38
da Ulisse07
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 20:51
da Mr.Smith
Codice: Seleziona tutto
alessandro@alessandro-desktop:~$ cat /boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,5)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash locale=it_IT
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro quiet splash locale=it_IT
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, kernel 2.6.20-16-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro quiet splash locale=it_IT
initrd /boot/initrd.img-2.6.20-16-generic
quiet
title Ubuntu 7.10, kernel 2.6.20-16-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro single
initrd /boot/initrd.img-2.6.20-16-generic
title Ubuntu 7.10, kernel 2.6.20-15-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro quiet splash locale=it_IT
initrd /boot/initrd.img-2.6.20-15-generic
quiet
title Ubuntu 7.10, kernel 2.6.20-15-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu 7.10, memtest86+
root (hd0,5)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
alessandro@alessandro-desktop:~$
questo, vero??
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 21:06
da Ulisse07
Prima di tutto fai il backup del menu.lst
Codice: Seleziona tutto
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.bckp
per ripristinarlo:
Codice: Seleziona tutto
sudo cp /boot/grub/menu.lst.bckp /boot/grub/menu.lst
Apri il file con:
al quale dovrai aggiungere
a tutte le stringhe "kernel generic" e NON (recovery mode) dopo "ro quiet splash"
questo:
Alla fine del file aggiungi:
Salva e chiudi.
Mr.Smith ha scritto:
Codice: Seleziona tutto
## ## End Default Options ##
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro quiet splash locale=it_IT
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, kernel 2.6.20-16-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro quiet splash locale=it_IT
initrd /boot/initrd.img-2.6.20-16-generic
quiet
title Ubuntu 7.10, kernel 2.6.20-16-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro single
initrd /boot/initrd.img-2.6.20-16-generic
title Ubuntu 7.10, kernel 2.6.20-15-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro quiet splash locale=it_IT
initrd /boot/initrd.img-2.6.20-15-generic
quiet
title Ubuntu 7.10, kernel 2.6.20-15-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu 7.10, memtest86+
root (hd0,5)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
alessandro@alessandro-desktop:~$
questo, vero??
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 21:30
da Mr.Smith
Codice: Seleziona tutto
itle Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro quiet splash locale=it_IT acpi=force apm=power
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, kernel 2.6.20-16-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro quiet splash locale=it_IT acpi=force apm=power
initrd /boot/initrd.img-2.6.20-16-generic
quiet
title Ubuntu 7.10, kernel 2.6.20-16-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro single
initrd /boot/initrd.img-2.6.20-16-generic
title Ubuntu 7.10, kernel 2.6.20-15-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro quiet splash locale=it_IT acpi=force apm=power
initrd /boot/initrd.img-2.6.20-15-generic
quiet
title Ubuntu 7.10, kernel 2.6.20-15-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu 7.10, memtest86+
root (hd0,5)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
acpi=force
apm=power
dovrebbe essere questo, vero??
dopo ho necessità di capire cosa ho fatto..
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 21:43
da Ulisse07
apm serve per lo spegnimento automatico del pc.
tu hai scritto:
mentre la corretta sequenza è:
I punti in cui l'hai scritte sono giusti e anche il resto.
Correggi e poi controlla se si spegne normalmente.
In ogni caso al riavvio del pc dovresti riuscire a leggere , nel bios, poco prima che cominci a caricare L'OS, una stringa. Non hai molto tempo dura pochi istanti.
La mia era tipo ...ACPI=force is required to enable ACPI.
Vedi a te che ti dice...
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 21:53
da Mr.Smith
nn funziona putroppo >:( Qualke altra soluzione??
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 22:01
da Ulisse07
Ma hai controllato come yi ho detto sopra nel bios cosa ti dice?
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 22:05
da Mr.Smith
nn m compare nulla di quello ke tu dici...
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 22:10
da Ulisse07
Allora sostituisci
con
anche in fondo al file.
Se non dovesse andare nemmeno questa proviamo con un'altra...
Edit: per cortesia vorrei che mi postassi di nuovo il menu.lst
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 22:20
da Mr.Smith
ecco a te... ti ho postato solo l'ultima parte ke penso sia quella ke ti interessa..
ora riavvio il pc e ti faccio sapere
Codice: Seleziona tutto
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro quiet splash acpi=force apm=power locale=it_IT
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, kernel 2.6.20-16-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro quiet splash acpi=force apm=power locale=it_IT
initrd /boot/initrd.img-2.6.20-16-generic
quiet
title Ubuntu 7.10, kernel 2.6.20-16-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro single
initrd /boot/initrd.img-2.6.20-16-generic
title Ubuntu 7.10, kernel 2.6.20-15-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro quiet splash acpi=force apm=power locale=it_IT
initrd /boot/initrd.img-2.6.20-15-generic
quiet
title Ubuntu 7.10, kernel 2.6.20-15-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=f080c671-7a90-4546-9a36-77bfb3e3af55 ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu 7.10, memtest86+
root (hd0,5)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
acpi=off
apm=power
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 22:23
da Ulisse07
Ma è quello con l'ultima modifica?
Perchè vedo alla voce kernel "acpi=force"
e in fondo al file invece" acpi=off"
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 22:24
da Mr.Smith
yess....cmq ho spento e nn succede niente...
Re: spegnimento pc
Inviato: domenica 21 ottobre 2007, 22:27
da Ulisse07
Deve essere acpi=off sia alla voce kernel che alla fine del file.