成功解决用电池无法启动ubuntu及在交流供电模式下unplug后桌面freeze问题

方法如下:
在/boot/grub/menu.lst 中描述内核的那一行加上 acpi=off

下面描述本人辛苦寻找答案的过程:

说为了这个问题翻了国内国外好多篇帖子,在ubunt.org.cn上发帖没人睬,昨天晚上突发奇想,按ctrl+alt+f2进入tty2模式,拔掉交
流电,出现提示stopping anac(h)ronistic cron
anacron,我可是如获至宝啊,拿这个msg去google上找,终于在ubuntuforums.org上翻到一篇帖子,原来解决措施如此简
单:try adding “acpi=off” to argument on the kernel line in
/boot/grub/menu.lst.

PS:话说linux内核向来对acpi支持不好,把它关了,虽然费点电,但总比死机强,哈哈。。。

 感谢那篇帖子: http://ubuntuforums.org/showthread.php?t=101878

国内论坛也有人反映这种问题,从解决办法来看,能解答这种问题的国内高手应该还是不少的,就是没人回答啊。。。热情度还差一点儿?

 

—Update:2009年 03月 20日 星期五 20:21:19 CST—

可以加上参数 :

        noapictimer ( x86_64 专用)
        nolapic_timer (x86_32 专用)

 

附录:内核启动不了时的良药:

http://www.kernel.org/doc/Documentation/kernel-parameters.txt

常见的参数组合有:
noapic nolapic acpi=off pci=noacpi

nolapic noapic acpi=off

acpi=off noapic

nohz=off

hpet=disable

acpi=off irqpoll

noapictimer irqpoll

noapic nolapic irqpoll

noapic irqpoll

nolapic irqpoll

apic=off irqpoll

acpi=noirq irqpoll

noapic

pci=routeirq

pci=noacpi

apic=off

nolapic

noacpi

irqpoll

acpi=noirq

noapic acpi=noirq

noapictimer

noapic acpi=noirq nolapic

noapic nolapic

pci=biosirq

pci=biosirq irqpoll

noapic irqpoll

noacpi

acpi=off

nolacpi

noapictimer ( x86_64 专用)

nolapic_timer (x86_32 专用)

nosmb nolapic

acpi=debug

apic lapic acpi=debug

noapic nolapic acpi=debug

noapic lapic acpi=debug

noapic nolapic acpi=ht

noapic lapic acpi=ht

noapic lapic

framebuffer 参数:

vga=791

成功用ubuntu连smartphone上网

基于internet共享功能,WM6.0以上系统支持。ubuntu8.10已自带ppc驱动,连上你的wm设备后,ubuntu的网络连接管理器会有提示消息“连接已建立”,这时,手机被识别为eth1,eth0为笔记本自带网卡,必须关掉eth0。有两种办法:1、拔掉网线^_^ 2、就是用命令,具体想不起来了,记得在网上见到过。。。然后在手机上的internet共享页面按下“连接”就行了。如果你是cmwap接入的话,还得改一下代理,10.0.0.172:80,这是移动的网关。

话说我首先考虑的就是smartphone作modem让ubuntu拨号上网,但搞了半天没成功,没想到ubuntu8.10那么强大,都自带ppc驱动了,呵呵。

迷失

我貌似变成了另外一个人,用奖学金请全班同学吃饭,无私的贡献异常宝贵的资源,其实我不这样做也没人说什么的,但是我这样做了,我想得到的只不过是大家的一个认可罢了——“恩,他还是挺有人情味儿的”——仅此一句而已。我并不计较别人为我做了什么,即使在外界看来,我的成绩都是靠自己取得的,我也得记着我所在的这个集体,这个是我的平台!我不奢望同学们感谢我,只是渴求一句:“恩,这个人还不坏。”

确实,有很多人,很多事无法让你满意,但那有何妨呢,你要实现的是你自己的目标罢了,管别人干嘛呢?有时候觉得我跟明代首辅高拱的性格有点儿像,脾气暴躁,缺乏隐忍。在中国这个社会,还是低调点儿好,踏实干好自己的事情,别让人家找你的碴!

邪恶的社会

剪刀手爱德华终究不适合生活在社会上,因为这个社会太邪恶!人们对他好,因为想利用他;当发现自己的利益或将被损害时,又想将他置于死地!

爱德华真是不应该下山,但是他可能也经不住诱惑吧…他真应该呆在山上,那儿才是他的家,有他想要的孤独,有他永远也不会醒来的”父亲”…

他的心灵是那么单纯:当自己创造性的工作为大家带来了欢乐,他会开心的笑;当自己心爱的女孩与别人亲热,他会郁闷的发狂…

他不是机器,他是人!

他会说, I love you!But I can’t!!!

自习有感

很郁闷,最近怎么都看不进去书,想着以后的道路…总是要做出很多痛苦的选择,放弃自己真正想要的东西.有时候你想像的和实际生活并不一致,你可能有这个能力,但是也不得不放弃…每个人都会有自己的一个终极理想,无论我走哪条路,都为了实现它.
上星期学校发了奖学金,说什么都得请客哈…跟大仙说了,由他安排这些事了…有时候你对别人好,只是为了别人不说你坏罢了…

人生

《人生》,很精彩的一本书,路遥写的,看过《平凡的世界》,高加林和孙少平都渴望着走出贫穷落后的农村,向着自己心中的希望迈进!但高加林最终还是回到了农村,少平说不准还是一个普通的煤矿工人,这就是命运,宿命啊!有时候命运真是会作弄人呐!高加林,多么真实的一个人物,好像就在我们的身边,是我吗?或许吧,我不知道……

抱着笔记本又来到三教,想干嘛呢,看文献?看课件?亦或是逃避某些痛苦?但是,有些东西是你注定要去承担的,没错,我都成年了呢!过了那么久才来更新博客,因为我真的想逃离这里,将这些痛苦的历史定格在这里,永远不再去触碰。但是,实际上逃避是解决不了问题的,从哪里停滞(我不想说这是倒下!),就要从哪里重新开始!

我的许多目标将要重新改写,我也许要将心爱的女生藏在心底,因为我现在没有权利再去考虑儿女私情!我也许要将当初入学时的理想藏在心底,世事变了……高加林的父亲说,人活低了,就得按低的来,或许有一定道理吧……

但是,我不甘心!老天都知道我不甘心呐!!!

努力吧,可怜的孩子,上天是不公的,他在惩罚你呢!

在残酷的世界中,那些帮助过你的人,是一种恩情,也是一种缘份,怨天,但别尤人。 

好久没写

人生的命运真的是无法预测,更令人不可捉摸,你真的是不知道你前进的道路上还会有些什么,你真的不知道你的未来是什么,你真的不知道你是不是还有未来……有时候一些变故会让你措手不及,从而改变人生的方向;当然,你也可以战胜它们,那些挫折!我乐于分享我的快乐,却还没有学会发泄我的痛苦,貌似还没有找到可以倾诉的对象……

Whoo-ah!Al Pacino在《闻香识女人》中的经典台词

     Mr. Simms, you are 
  a cover-up artist… 

   
   
   
  and you are a liar. 
   
   
   
  But not a snitch ! 
   
   
   
  Excuse me ? 
   
   
   
  No, I don’t 
  think I will. 
   
   
   
  - Mr. Slade. 
  - This is such a crock of shit ! 
   
   
   
  Please watch your language, 
  Mr. Slade. 

   
   
   
  You are in the Baird school, 
  not a barracks. 

   
   
   
  Mr. Simms, I will give you one 
  final opportunity to speak up. 
   

   
   
  Mr. Simms 
  doesn’t want it. 
   
   
   
  He doesn’t need 
  to be labeled… 
   
   
   
  "still worthy of 
  being a Baird man." 
   
   
   
  What the hell 
  is that ? 
   
   
   
  What is your motto here ? 
   
   
   
  "Boys, inform on your 
  classmates, save your hide; 
   
   
   
  anything short of that, 
  we’re gonna burn you at the stake" ? 
   
   
   
  Well, gentlemen, 
   
   
   
  when the shit hits the fan, 
  some guys run… 
   
   
   
  and some guys stay. 
   
   
   
  Here’s Charlie facin’ the fire, 
  and there’s George… 
   
   
   
  hidin’ in 
  big daddy’s pocket. 
   
   
   
  And what are you doin’ ? 
   
   
   
  You’re gonna 
  reward George… 
   
   
   
  and destroy Charlie. 
   
   
   
  -Are you finished, Mr. Slade ? 
  -No, I’m just gettin’ warmed up. 
   
   
   
  I don’t know who 
  went to this place. 
   
   
   
  William Howard Taft, 
  William Jennings Bryant, 
   
   
   
  William Tell, whoever. 
   
   
   
  Their spirit is dead, 
  if they ever had one. 
   
   
   
  It’s gone. 
   
   
   
  You’re buildin’ 
  a rat ship here, 
   
   
   
  a vessel for 
  seagoin’ snitches. 
   
   
   
  And if you think you’re 
  preparin’ these minnows for manhood, 
   
   
   
  you better think again, 
   
   
   
  because I say you are 
  killin’ the very spirit… 
   
   
   
  this institution 
  proclaims it instills. 
   
   
   
  What a sham. 
   
   
   
  What kind of a show 
  are you guys puttin’ on here today ? 
   
   
   
  I mean, the only class 
  in this act is sittin’ next to me. 
   
   
   
  I’m here to tell you 
  this boy’s soul is intact. 
   
   
   
  It’s non-negotiable. 
  You know how I know ? 
   
   
   
  Someone here, and I’m not gonna say who, 
  offered to buy it. 
   
   
   
  - Only Charlie here wasn’t sellin’. 
  - Sir, you’re out of order. 
   
   
   
  I show you out of order. 
   
   
   
  You don’t know what 
  out of order is, Mr. Trask. 
   
   
   
  I’d show you, 
  but I’m too old, 
   
   
   
  I’m too tired, 
  too fuckin’ blind. 
   
   
   
  If I were the man I was 
  five years ago, I’d take… 
   
   
   
  a flamethrower 
  to this place ! 
   
   
   
  Out of order ? Who the hell 
  you think you’re talkin’ to ? 
   
   
   
  I’ve been around, 
  you know ? 
   
   
   
  There was a time 
  I could see. 
   
   
   
  And I have seen. 
   
   
   
  Boys like these, 
  younger than these, 
   
   
   
  their arms torn out, 
  their legs ripped off. 
   
   
   
  But there is nothin’ 
  like the sight… 
   
   
   
  of an amputated spirit. 
   
   
   
  There is 
  no prosthetic for that. 
   
   
   
  You think you’re merely sendin’ 
  this splendid foot soldier… 
   
   
   
  back home to Oregon with 
  his tail between his legs, 
   
   
   
  but I say you are… 
   
   
   
  executin’ his soul ! 
   
   
   
  And why ? 
   
   
   
  Because he’s not 
  a Baird man. 
   
   
   
  Baird men. 
  You hurt this boy, 
   
   
   
  you’re gonna be Baird bums, 
  the lot of you. 
   
   
   
  And, Harry, Jimmy, 
   
   
   
  Trent, wherever 
 

暑假综述

1、把三级的内容大概看了一下,感觉多做题才是王道!

2、对那些paper极难提起兴趣!

3、一九八四看了一半了,没啥感觉!

4、有段时间又回到了高中那样,不过貌似做饭的手艺没啥退步,还一样,自己吃得下去就行了——一句话,做饭要得是兴趣!不过本人一直不善于还价,能到超市买到的,就不去菜场,汗~

5、感叹一下,中国的金牌真是多啊!不知道怎么说好了……