Ubuntu karmic freeze on Asus M2n
Par Cyril le dimanche 25 octobre 2009, vers 22:38 - Ubuntu - Lien permanent
Ubuntu Karmic is to be released on thursday, and the release candidate is available since a few days. So I tried to install it on a laptop that I don’t really use daily. I installed from scratch, with the live CD, desktop version.
This is a laptop I bought in May 2004, an Asus M2400n. It almost worked…
First, you have to specify on the live CD boot : acpi=off and nolapic by hiting F6. Then, you have no sound but it will work at the end. Installation works fine, as usual. To first boot after installation, you have to hit shift and escape when Loading GRUB is displayed (it’s very quick), then «e» to edit the first menu item and add the same boot options on the kernel line.
There are three things to do to make the release candidate work (hope this will be fix this week). One on Grub to boot properly, and two big issues with the display.
Modify Grub boot options
New in Karmic : Grub2 is finally used, and the famous /etc/boot/grub/menu.lst doesn’t exist anymore. Some explanations are available within the Internet. All you need to know is that you have to modify /etc/default/grub, and particularly the GRUB_CMDLINE_LINUX_DEFAULT variable to add nolapic. Do not add acpi=off, or you will never ear any sound.
After any modification of /etc/default/grub, you have to do sudo update-grub in order to modifiy the Grub intern files.
Kernel issue
The new kernel display handling (Kernel mode-setting, KMS) may be a little buggy… Anyway, with this method and with Intel graphic chipset like the i855GM in this laptop, it makes Xvideo not available (which results in a very buggy display, CPU high load, and unespected reboot with some softwares or websites). To deactivate KMS, you have to add nomodeset] to the boot options in /etc/default/grub.
This two issues can be simply solved by
sudo sed -i '/GRUB_CMDLINE_LINUX_DEFAULT/s/^\(.*\)"$/\1 nolapic nomodeset"/' /etc/default/grub sudo update-grub
Intel driver issue
The current Intel driver has also some bugs. With this driver, the display freezes sometimes, very quickly after login, even before. It’s only a display freeze, not a system crash at all (computer is still pingable and ssh-ing still works).
I hope most of these bugs will be quickly solved, but till then we can use the vesa generic driver. It’s not as simple as before, because Xorg has also changed, and the famous /etc/X11/xorg.conf no longer exists… But you can write a new minimalist one, only containing what you want to modify. You can this way write in /etc/X11/xorg.conf:
Section "Device" Identifier "Configured Video Device" Driver "vesa" EndSection Section "Monitor" Identifier "Configured Monitor" EndSection Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" EndSection
Nothing else to do, the configuration file is automatically read as soon as the system reboots or Xorg restarts.
This way, presently my Asus M2400n works fine. Hope this helps.
Commentaires
Merci ! merci ! merci !
Thank you for this fix / workaround for Ubuntu 9.10 (not beta anymore) on my Asus M2400N...
Since 9.04 I experienced regular 'freezes' ( see http://ubuntuforums.org/showthread.... ) but after upgrading to 9.10 I could not even get past login without acpi=off which indeed disabled sound completely.
Thanks to your combining three fixes, I have been able to get it working again :)
Merci bien pour sauver mon ordinateur!
P.S. Has this bug been reported yet?
You're welcome. :-)
I didn't find any specific bug, but I deeply think it's an issue between the bios, the
i855GMchipset and thexserver-xorg-video-intelpackage.A lot of bugs are filled with this package, and I don't think that adding one more is going to help us, as most are "highly" tagged and some really seem to be duplicates of what we experienced. Particularly, the bug #447892 made me find the
vesaworkaround, and the #395932 kernel bug made me try themodesetfix. By the way, there is sadly no other fix to that issue, they say.I'd like to add to your comments on ubuntuforums that Gnome is used on this laptop and, despite the lack of visual effects, works wery well (I recently added a 1GB memory slot, less than 25€ on ebay...).
If you (or any other reader) find a way to make the laptop work with visual effects, don't forget to post here ! Bye.
I wonder if sticking to the intel driver but setting options like acceleration method, dri or opengl in xorg.conf ( as suggested on https://wiki.ubuntu.com/X/Troublesh... ) would make a difference... Have you tested with any of that?
I first tried to turn off
MTRR(because I saw it first on the log files), but no result. Then I tried to turn all off :) , I mean all advices in the "Narrow Subsystem it Occurs in" section (and "XAA" as AccelMethod). Also no long term result. Note : the "Accel" option doesn't exist anymore.I also tried to disable
compiz. Didn't fix anything.alas, you are right... i tried about EVERY possible switch in xorg.conf but as long as the intel driver and acpi are both active, the X freezes will occur :(
sticking to vesa then. thanks again for posting about it :)
Merci beaucoup pour ce petit tuto, qui ma bien aidé à m'en sortir.
En espèrent qu'il mette à jour le pilote intel rapidement, car cela dur déjà depuis la 9.04.
cordialement
Hello, and first of all thank you very much! And thanks you wrote it in english =)
I am actually writing with 9.10 on my Asus M2400N =)
But there is something I don´t get it: we both seem to have the same Asus model but in my case 9.10 will not boot with acpi!? I HAVE to boot with acpi=off otherwise the boot will stop will a black screen very early...
You can use acpi without problems? May you could give me some info how to fix that... Thank you =)
Al
You're welcome.
You can't boot even with the
nolapicoption ? I mean : you have to replace theacpi=offbynolapicat boot. My Asus M2400N boots this way.No...
I wrote nolapic and nomodeset into my boot options. But without acpi=off, M2N boots into usplash but there is a black screen with a frozen underscore left on the top. No xsplash ...
any ideas?
Thnaks
I mean:
1. usplash
2. black svreen
3. no xsplash and all stops..
I'm sorry for you, I don't figure out why you still have this black screen.
You can try to :
- have your black screen with
- boot with
- try to find what kernel said when you saw black screen. See
Good luck...nolapicandnomodesetoptionsacpi=offoption/var/log/syslog,/var/log/dmesgor/var/log/kern.log.Anyone tried (X)Ubuntu 10.04 beta 1 or 2 on the Asus M2400N yet?
Hi
I'm very busy at the moment. I think I'll wait at least until the release, perhaps the summer...