Ubuntu 14.10 won't shut down

Xexoxix

Distinguished
Oct 24, 2012
364
1
18,860
My friend's windows got corrupted, and after nothing worked, I installed Ubuntu on his PC. The first time, it didn't boot correctly w/o the USB inside, so I remade the USB with the tool Ubuntu recommended. I installed Ubuntu and everything works fine. He can play steam games, chat on mumble, cool. However, when he goes to shut off his PC, it doesn't turn off all the way. So, I googled a few remedies to this and found one. I went into gedit, changed one of the values in grub. I forget exactly what the first part was, but the value was "silent mode." I changed "silent mode" to "silenct mode acpi=force." I saved the file, updated grub, and restarted the computer. I was met with these screens -

http://imgur.com/T3Ctk2G,i4Xftyw,78YMIpB#2

After those, the computer booted up fine. However, it was really slow. My friend then restarted the computer (power button), and it worked fine again. I am so stressed out about how to fix it. He doesn't know anything about Linux and everything I want to try, he has to do it himself through the terminal. After he got home from a LAN we were at, his computer would not boot, and he went into the advanced Ubuntu options, reinstalled grub, and booted the computer normally and it worked. Any suggestions? Thank you for reading all this.

His computer is a gateway PC (don't know which), it has an i5, and an nvidia gtx 750 with all drivers properly installed. Thank you!
 
Is there some wifi card? Post the contents of dmesg to pastebin.com

Can you try with setting: /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="acpi=off"
Then run 'sudo update-grub'
It will print more stuff to the screen but that's OK..

Also check for BIOS update?
Is WOL enabled?

In meantime you can probably force shutdown with:
sudo shutdown -h now

 

Xexoxix

Distinguished
Oct 24, 2012
364
1
18,860


He already tried that command and the system just idled until he was forced to manually shutoff the computer. He does have a WiFi card though. Would that make a difference?
 

Xexoxix

Distinguished
Oct 24, 2012
364
1
18,860


This is the output from that when he put it in:

marco@marco-DX4860:~$ sudo lspci -k
[sudo] password for marco:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
Subsystem: Acer Incorporated [ALI] Device 0491
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
Kernel driver in use: pcieport
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Acer Incorporated [ALI] Device 0491
Kernel driver in use: mei_me
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 05)
Subsystem: Acer Incorporated [ALI] Device 0491
Kernel driver in use: e1000e
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
Subsystem: Acer Incorporated [ALI] Device 0491
Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
Subsystem: Acer Incorporated [ALI] Device 0491
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
Subsystem: Acer Incorporated [ALI] Device 0491
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation H67 Express Chipset Family LPC Controller (rev 05)
Subsystem: Acer Incorporated [ALI] Device 0491
Kernel driver in use: lpc_ich
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)
Subsystem: Acer Incorporated [ALI] Device 0491
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
Subsystem: Acer Incorporated [ALI] Device 0491
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750] (rev a2)
Subsystem: eVga.com. Corp. Device 2751
Kernel driver in use: nvidia
01:00.1 Audio device: NVIDIA Corporation Device 0fbc (rev a1)
Subsystem: eVga.com. Corp. Device 2751
Kernel driver in use: snd_hda_intel
03:00.0 Network controller: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe
Subsystem: Lite-On Communications Inc Device 7601
Kernel driver in use: rt2800pci
marco@marco-DX4860:~$
 
Well check the logs. Specifically in
/var/log/messages

Did this also happen with the default video driver's?

The shut down processes is obviously getting hung somewhere with unmounting a filesystem, stopping a process or kernel module/driver.. Could be anything.

Check the /etc/fstab
For any erroneous filesystem

/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT=""
(Then sudo update-grub)
Should enable more verbose output from the shutdown process.
 

Xexoxix

Distinguished
Oct 24, 2012
364
1
18,860


How do I exactly get the output during shutdown?