You are not logged in.

#1 2011-08-09 08:51:08

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

kernel 3 can't reboot nor sleep Acer 110 netbook

New kernel and updates are going great, except reboot and sleep. Neither sudo reboot nor sudo shutdown -r now works as expected. Everything spins down but the green light on the powerbutton never goes down. Only pressing down the powerbutton and force shutdown that way works. sudo poweroff works.
In the logs I get;

 Acer Aspire One A110 series board detected. Selecting BIOS-method for reboots.

Is there a way to disable 'bios method'?

In addition acpitool -s did work on kernel 2.6.39. Now I get;

Function Do_Suspend : could not open file : /proc/acpi/sleep

after googling I found out that /proc/acpi/ is deprecated since a long while back, but why did it work on 2.6.39?

This might be two separate problems, don't know.

Offline

#2 2011-08-11 09:59:11

CEPfister
Member
Registered: 2011-08-10
Posts: 68

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

Hello everyone !

Since I have done the latest kernel upgrade (linux 3.0.1-1), I cannot reboot. When I enter 'reboot', the shell goes to the 'REBOOTING' sentence and then, it hangs on a black screen. That's as simple as that. Do you have this bug too? What should I do to fix that?

Thanks for all !

Offline

#3 2011-08-11 10:05:37

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

Offline

#4 2011-08-11 12:22:11

CEPfister
Member
Registered: 2011-08-10
Posts: 68

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

I have the exact same log :

Acer Aspire One A110 series board detected. Selecting BIOS-method for reboots. 

I am glad to see I am not the only one.

Offline

#5 2011-08-11 12:38:36

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

Threads merged


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#6 2011-08-11 23:09:14

nitori
Member
Registered: 2011-08-09
Posts: 4

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

I am not getting that log message, but I was still having a problem with reboot hanging at the very end. I noticed after 3.0 my computer (an Aspire One of some random revision) was trying (and failing) to load the acer_wmi module. This module isn't compatible with the AOA line, so I blacklisted it, and like magic rebooting worked again.

So you might try blacklisting acer_wmi.
/etc/modules.d/modules.conf

blacklist acer_wmi

There is an incomplete compatibility list here for this module. If you are using an Aspire One or other unsupported model, I would blacklist this module.

Edit: You might be able to tell if your computer is trying to load it by running

dmesg | grep acer_wmi

Last edited by nitori (2011-08-11 23:13:25)

Offline

#7 2011-08-11 23:19:17

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

Hmm, I have a custom kernel without acer_wmi in it, and yet I too have the reboot issues. Haven't checked dmesg messages yet, but I'd probably find that line in there. Could BIOS version play a role here? Mine is v0.3309

Edit: Quick googling found this: https://patchwork.kernel.org/patch/948402/ Ironically, the patch that is supposed to fix the issue is what's actually causing it. Since I do my own kernel, I'll just revert that change. Or maybe there's a magic incantation for the kernel commandline that would do it? I already use pcie_ports=native to get the second card reader working again.

And another edit: There's indeed a magic incantation: reboot=a, doesn't seem to have an effect though.

Final edit (I promise smile): I reverted that change and then had to add reboot=k to the kernel commanline. "k" is for "kbd", the method the kernel previously used to reboot. It now uses "a"cpi by default, or "b"ios for machines that have the quirk set. Not an ideal situation. It should be allowed to use reboot=k even with the quirk set.
Or maybe a new quirk should be created for the crazy machines like ours, where neither acpi nor bios works smile


Bah, who cares about promises smile, another edit:
Came up with a patch:

--- linux-3.0.1.orig/arch/x86/kernel/reboot.c    2011-08-05 06:59:21.000000000 +0200
+++ linux-3.0.1/arch/x86/kernel/reboot.c    2011-08-12 02:48:11.608815724 +0200
@@ -294,8 +294,32 @@
             DMI_MATCH(DMI_BOARD_NAME, "VersaLogic Menlow board"),
         },
     },
+    { }
+};
+
+static int __init reboot_init(void)
+{
+    dmi_check_system(reboot_dmi_table);
+    return 0;
+}
+core_initcall(reboot_init);
+
+/*
+ * Some machines require the "reboot=k" commandline option,
+ * this quirk makes that automatic.
+ */
+static int __init set_kbd_reboot(const struct dmi_system_id *d)
+{
+    if (reboot_type != BOOT_KBD) {
+        reboot_type = BOOT_KBD;
+        printk(KERN_INFO "%s series board detected. Selecting KBD-method for reboots.\n", d->ident);
+    }
+    return 0;
+}
+
+static struct dmi_system_id __initdata kbd_reboot_dmi_table[] = {
     { /* Handle reboot issue on Acer Aspire one */
-        .callback = set_bios_reboot,
+        .callback = set_kbd_reboot,
         .ident = "Acer Aspire One A110",
         .matches = {
             DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
@@ -305,12 +329,12 @@
     { }
 };
 
-static int __init reboot_init(void)
+static int __init kbd_reboot_init(void)
 {
-    dmi_check_system(reboot_dmi_table);
+    dmi_check_system(kbd_reboot_dmi_table);
     return 0;
 }
-core_initcall(reboot_init);
+core_initcall(kbd_reboot_init);
 
 extern const unsigned char machine_real_restart_asm[];
 extern const u64 machine_real_restart_gdt[3];

It works!! I can't believe it. It works!! Wow, my second kernel patch. What it does is exactly what I said - creates a new quirks category for devices that only reboot with the kbd method, and puts the AOA110 into that category.

And the edits just won't end smile. Anyway, I sent the patch to the appropriate kernel people, let's see what they'll say.

Last edited by Gusar (2011-08-12 12:21:25)

Offline

#8 2011-08-13 06:03:46

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

After an update of acpitool I can now 'sleep' and reboot. The module acer_wmi is blacklisted but that initiallay did not solve my reboot or sleep problem. Acpitool had a problem with looking for the depreacted /proc/acpi/sleep instead of /sys/power/state . Don't know if this had anything to do with 'reboot'(?).

Offline

#9 2011-09-15 18:07:55

dany13
Member
Registered: 2010-05-10
Posts: 4

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

Hi to everyone..
i have latest update (not testing) on my Acer Aspire One 110L (version DIY with hard-disk :-) ) but i have problems of reboot, always hang immediatly after "REBOOTING".
I have acer_wmi blacklisted, options reboot=k in kernel command line..
Is there any other solutions except patching the kernel? patching the kernel solve the problem for everyone?

my best regards to everyone!

Daniele

Offline

#10 2011-09-15 20:29:06

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

dany13 wrote:

(version DIY with hard-disk :-) )

Cool! I wish I'd have that. But I'm not prepared to shell out lots of money for it (and these things aren't cheap because of their rareness), so I've been getting by with an external USB disk. Not uber practical, but good enough to watch tv shows on train rides.

Offline

#11 2011-09-15 21:12:53

dany13
Member
Registered: 2010-05-10
Posts: 4

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

Gusar wrote:
dany13 wrote:

(version DIY with hard-disk :-) )

Cool! I wish I'd have that. But I'm not prepared to shell out lots of money for it (and these things aren't cheap because of their rareness), so I've been getting by with an external USB disk. Not uber practical, but good enough to watch tv shows on train rides.

Dear Gusar...
i find over a famous website hd of 30 gb for 14 € and after cable for 10 €... the only problem of this modification is to open case and make some internal modification to it...
sorry for OT

Dany

Offline

#12 2011-09-16 00:31:22

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

dany13 wrote:

i find over a famous website hd of 30 gb for 14 € and after cable for 10 €... the only problem of this modification is to open case and make some internal modification to it...

Wow, that is cheap. Though 30GB might be too little, my external drive is 120GB. Opening the thing is not a problem, I've done it more than once. To add RAM, then because wireless wasn't working (forgot to reattach the antennas smile).

Offline

#13 2011-09-19 21:30:37

ZoSoDaltrey
Member
Registered: 2010-12-29
Posts: 35

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

Hi, I have an acer aspire one happy netbook.
I have the same problem I can't reboot, but with lxde environment I can reboot, so I'm not sure if is a kernel problem.

EDIT: Works if I run gnome-shell first and then closed it and then run lxde to reboot.

Last edited by ZoSoDaltrey (2011-09-19 22:48:48)

Offline

#14 2011-09-19 22:35:32

dany13
Member
Registered: 2010-05-10
Posts: 4

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

ZoSoDaltrey wrote:

Hi, I have an acer aspire one happy netbook.
I have the same problem I can't reboot, but with lxde environment I can reboot, so I'm not sure if is a kernel problem.

Hi ZoSoDaltrey!
that is nice to know..anyone know how to investigate further if it is problem of kernel or of desktop manager? (ps im on kde...)

Offline

#15 2011-09-19 22:46:05

ZoSoDaltrey
Member
Registered: 2010-12-29
Posts: 35

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

Sorry, I made a mistake. I've gnome-shell and lxde I just did some tests and:
If I start lxde or gnome the reboot fails.
If I start gnome, close the session, login with lxde then reboot works, but if I do first with lxde doesn't works.

Offline

#16 2011-09-20 03:31:09

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

dany13 wrote:

i find over a famous website hd of 30 gb for 14 € and after cable for 10 €... the only problem of this modification is to open case and make some internal modification to it...
sorry for OT

Dany

Off-topic; how did you do it? And exactly what did you buy? My SSD gone bonkers a long timer ago and I'm runng off a USB stick.

Offline

#17 2011-09-20 09:29:18

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

swanson wrote:

My SSD gone bonkers a long timer ago and I'm runng off a USB stick.

Wouldn't it be better, and more convenient too, to use an SD card? I have /home on an SD card, not just for extra space but because the SSD in this thing is slooooooooooooooow.

Offline

#18 2011-09-20 12:15:38

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

For some reason the early AO110's (ZG5) can't boot from SD cards, something to do with bios and pci. As far as I know anyway.

Offline

#19 2011-10-14 12:46:08

alexdaums
Member
Registered: 2011-09-16
Posts: 4

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

Hello and sorry for my bad English but I'm French and I use a little google translation.

I installed archlinux on the netbook (AAO) of my wife. And I have the same problem reboot.
I would like to apply the patch from # 7.

Can anyone tell me how to apply this patch?

Thank you.

Offline

#20 2011-11-06 14:34:15

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

Just a heads-up, a simpler patch was proposed by a kernel dev:

--- linux-3.1/arch/x86/kernel/reboot.c.orig	2011-11-03 14:22:02.138660670 +0100
+++ linux-3.1/arch/x86/kernel/reboot.c	2011-11-03 14:25:52.048648567 +0100
@@ -124,7 +124,7 @@
  */
 
 /*
- * Some machines require the "reboot=b"  commandline option,
+ * Some machines require the "reboot=b" or "reboot=k"  commandline options,
  * this quirk makes that automatic.
  */
 static int __init set_bios_reboot(const struct dmi_system_id *d)
@@ -136,6 +136,15 @@
 	return 0;
 }
 
+static int __init set_kbd_reboot(const struct dmi_system_id *d)
+{
+	if (reboot_type != BOOT_KBD) {
+		reboot_type = BOOT_KBD;
+		printk(KERN_INFO "%s series board detected. Selecting KBD-method for reboots.\n", d->ident);
+	}
+	return 0;
+}
+
 static struct dmi_system_id __initdata reboot_dmi_table[] = {
 	{	/* Handle problems with rebooting on Dell E520's */
 		.callback = set_bios_reboot,
@@ -295,7 +304,7 @@
 		},
 	},
 	{ /* Handle reboot issue on Acer Aspire one */
-		.callback = set_bios_reboot,
+		.callback = set_kbd_reboot,
 		.ident = "Acer Aspire One A110",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),

It effectively does the same thing, it makes the machine reboot with the working kbd method. Hopefully it'll be applied.

@alexdaums: You have to compile your own kernel. Quite an involved process if you've never done it before, but there's instructions on the wiki and elsewhere.

Offline

#21 2011-12-07 21:37:04

anarsoul
Member
Registered: 2011-10-08
Posts: 14

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

Patch was merged into mainline kernel, both into master and stable. So probably 3.1.5 (and some 3.0.x) will contain a fix.

Offline

#22 2011-12-07 21:42:30

ZoSoDaltrey
Member
Registered: 2010-12-29
Posts: 35

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

Version 3.1.4-1-ARCH is still not working properly...

Offline

#23 2011-12-07 23:31:10

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

ZoSoDaltrey wrote:

Version 3.1.4-1-ARCH is still not working properly...

Well yeah, 3.1.4 was released before yesterday, so before the patch went in. Like anarsoul said, it'll be in 3.1.5. Also in 3.0.10 and 3.2-rc5

Offline

#24 2011-12-07 23:32:49

ZoSoDaltrey
Member
Registered: 2010-12-29
Posts: 35

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

Oh, ok sorry for my confusion! Nice news!

Offline

#25 2011-12-14 14:04:20

ZoSoDaltrey
Member
Registered: 2010-12-29
Posts: 35

Re: kernel 3 can't reboot nor sleep Acer 110 netbook

I am some days with 3.1.5-1-ARCH version of kernel and still doesn't work, everyone is in the same situation?

Offline

Board footer

Powered by FluxBB