You are not logged in.

#1 2010-07-10 14:44:37

Varg
Member
From: Belgium
Registered: 2010-07-07
Posts: 272

[SOLVED] Booting windows 7 kills Arch

Hi,

I'm dual booting Arch with windows 7 and recently when I boot windows 7, I can't boot Arch afterwards.
After I shutdown windows, I start up my laptop again, I get the grub menu and select Arch. During boot I get a lot of output during the file system check ( I think, it's hard to see because it goes to fast; ) and then Arch freezes. The only thing that I can do is a force shut down with the power button. I boot again and launch the Arch Fallback kernel. That one is then able to boot but freezes when kdm is launched: I get the login screen for tty 1 but when the graphical login managers fires up I only get a black screen and everything freezes ( can't switch to a terminal or use ctrl+alt+backspace ). I have to force shutdown with the power button again. I boot up again, select the Fallback kernel again and everything works fine. After that I can boot with the normal Arch kernel without a problem.

Is there a way to log the output on the screen during boot up ? I've searched the logs in /var/log/ but can't find that output.

This only happens since yesterday. I was looking for CPU scaling modules and loaded the powernow-k8 module according to the wiki. The power manager of KDE needed additional modules, KDE loaded the modules itself and I put all the modules in /etc/rc.conf. Strange thing is that I also lost my wifi yesterday and it still doesn't work, not on Arch nor Windows ( Wired internet does work on both ).

While checking the the daemon.log I found this, don't know if it's really helpfull:

Jul 10 10:40:38 archlinux init: Entering runlevel: 3
Jul 10 10:40:56 archlinux kdm_greet[1959]: Cannot load /usr/share/apps/kdm/faces/.default.face: No such file or directory
Jul 10 10:41:23 archlinux polkitd[2291]: started daemon version 0.96 using authority implementation `local' version `0.96'
Jul 10 10:45:34 archlinux init: Switching to runlevel: 6
Jul 10 10:45:36 archlinux console-kit-daemon[2036]: WARNING: no sender
Jul 10 10:49:44 archlinux init: Entering runlevel: 3
Jul 10 10:50:02 archlinux kdm[1752]: X server startup timeout, terminating
Jul 10 10:50:18 archlinux kdm[1752]: X server termination timeout, killing
Jul 10 10:50:28 archlinux kdm[1752]: X server is stuck in D state; leaving it alone
Jul 10 10:50:28 archlinux kdm[1752]: X server for display :0 cannot be started, session disabled
Jul 10 10:52:00 archlinux init: Entering runlevel: 3
Jul 10 10:52:17 archlinux kdm[1778]: X server startup timeout, terminating
Jul 10 10:52:32 archlinux kdm[1778]: X server termination timeout, killing
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@$
Jul 10 10:55:13 archlinux kdm_greet[1927]: Cannot load /usr/share/apps/kdm/faces/.default.face: No such file or directory
Jul 10 10:55:41 archlinux polkitd[2260]: started daemon version 0.96 using authority implementation `local' version `0.96'
Jul 10 11:01:03 archlinux init: Switching to runlevel: 6
Jul 10 11:01:05 archlinux console-kit-daemon[2001]: WARNING: no sender
Jul 10 11:01:53 archlinux init: Entering runlevel: 3
Jul 10 11:02:08 archlinux kdm_greet[1972]: Cannot load /usr/share/apps/kdm/faces/.default.face: No such file or directory
Jul 10 11:02:36 archlinux polkitd[2296]: started daemon version 0.96 using authority implementation `local' version `0.96'
Jul 10 12:14:55 archlinux init: Switching to runlevel: 6
Jul 10 12:14:56 archlinux console-kit-daemon[2046]: WARNING: no sender
Jul 10 12:15:44 archlinux init: Entering runlevel: 3
Jul 10 12:16:02 archlinux kdm_greet[3950]: Cannot load /usr/share/apps/kdm/faces/.default.face: No such file or directory
Jul 10 12:16:28 archlinux polkitd[4252]: started daemon version 0.96 using authority implementation `local' version `0.96'
Jul 10 12:17:32 archlinux init: Switching to runlevel: 6
Jul 10 12:17:33 archlinux console-kit-daemon[4006]: WARNING: no sender
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@$
Jul 10 12:36:06 archlinux kdm_greet[1940]: Cannot load /usr/share/apps/kdm/faces/.default.face: No such file or directory
Jul 10 12:36:33 archlinux polkitd[2243]: started daemon version 0.96 using authority implementation `local' version `0.96'
Jul 10 13:08:40 archlinux dhcpcd[3147]: dhcpcd not running
Jul 10 13:08:41 archlinux dhcpcd[3153]: dhcpcd not running
Jul 10 13:08:41 archlinux dhcpcd[3160]: dhcpcd not running
Jul 10 13:08:43 archlinux dhcpcd[3164]: version 5.2.5 starting
Jul 10 13:08:43 archlinux dhcpcd[3164]: eth0: broadcasting for a lease
Jul 10 13:08:43 archlinux dhcpcd[3164]: eth0: offered  from 
Jul 10 13:08:44 archlinux dhcpcd[3164]: eth0: acknowledged  from 
Jul 10 13:08:44 archlinux dhcpcd[3164]: eth0: checking for 
Jul 10 13:08:49 archlinux dhcpcd[3164]: eth0: leased  for 259200 seconds
Jul 10 13:08:49 archlinux dhcpcd: eth0: MTU set to 1492
Jul 10 13:08:49 archlinux dhcpcd[3164]: forked to background, child pid 3189
Jul 10 13:34:19 archlinux init: Switching to runlevel: 6
Jul 10 13:34:21 archlinux console-kit-daemon[2006]: WARNING: no sender
Jul 10 13:35:14 archlinux init: Entering runlevel: 3
Jul 10 13:35:30 archlinux kdm_greet[1940]: Cannot load /usr/share/apps/kdm/faces/.default.face: No such file or directory
Jul 10 13:35:31 archlinux dhcpcd[1977]: dhcpcd not running
Jul 10 13:35:31 archlinux dhcpcd[1983]: dhcpcd not running
Jul 10 13:35:31 archlinux dhcpcd[1990]: dhcpcd not running
Jul 10 13:35:33 archlinux dhcpcd[2004]: version 5.2.5 starting
Jul 10 13:35:33 archlinux dhcpcd[2004]: eth0: rebinding lease of 
Jul 10 13:35:33 archlinux dhcpcd[2004]: eth0: acknowledged  from 
Jul 10 13:35:33 archlinux dhcpcd[2004]: eth0: checking for 
Jul 10 13:35:39 archlinux dhcpcd[2004]: eth0: leased  for 259200 seconds
Jul 10 13:35:39 archlinux dhcpcd: eth0: MTU set to 1492
Jul 10 13:35:39 archlinux dhcpcd[2004]: forked to background, child pid 2182
Jul 10 13:35:58 archlinux polkitd[2280]: started daemon version 0.96 using authority implementation `local' version `0.96'
Jul 10 13:43:28 archlinux init: Switching to runlevel: 0
Jul 10 13:43:29 archlinux console-kit-daemon[2022]: WARNING: no sender
.....

I had windows vista and windows 7 in dual boot with Mandriva linux for a year without any problem and right now I have absolutely no idea what's going on.

EDIT:

Tried it again to see if I could get some more information.
Apparently the first time I boot Arch after a windows boot, it doesn't really freeze. I tried to write down some of the output and after a while it continued for a second and stopped again and this went going on and on. It seems like it keeps looping the same output. I waited some more but I had to force shut down because my laptop was going nuts and overheating, it started to smell like burned electronics...

I was able to capture some of the output:

--[end trace 27ebd855... ]---
Call trace
[<ffffffff8117c420>] ? proc_lookup_de+0x20/0x100
.
.
.
.
[<ffffffff81009ec2>] ? system_call_fastpath
Code ff .. .. .. and a lot more of pairs of letters and numbers

The output at the beginning was to fast to see but the Call trace and Code kept on repeating.

After this I could boot up the Fallback kernel without a problem, kdm worked fine to, then rebooted using the normal kernel image like nothing happened before.



Any help would be appreciated,
Varg

Last edited by Varg (2010-07-11 10:46:57)

Offline

#2 2010-07-10 17:18:38

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [SOLVED] Booting windows 7 kills Arch

I experience the same problem and it only happens if I reboot from Windows 7. Very strange. How can it be possible for an OS (Win 7) to "stick around" after a reboot?

Offline

#3 2010-07-10 18:21:19

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,393

Re: [SOLVED] Booting windows 7 kills Arch

Could it be that some "7"'s driver leaves the hardware in a state which is incompatible with a kernel module, i'd try to disable them one by one to isolate the problem.
Just guessing.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#4 2010-07-11 09:39:44

Varg
Member
From: Belgium
Registered: 2010-07-07
Posts: 272

Re: [SOLVED] Booting windows 7 kills Arch

Well since it worked fine first it could only be the powernow-k8 module or the CPU scaling modules required by KDE. I'll check it out and report back.

EDIT:

Narrowed it down to the cpufreq_powersave and cpufreq_userspace modules. Powernow-k8, cpufreq_stats and cpufreq_ondemand work fine.
I disabled all the modules and then turned them back on one by one in rc.conf ( booting w7 everytime ). cpufreq_powersave turned on gave the strange output during boot but only a short version but completely ran down X or kdm after boot. With cpufreq_userspace I could boot but KDE froze right after login. Combination of the two modules resulted in being unable to boot.

Loading the modules after boot while running KDE gives no problem and since I'm a laptop user I could use the powersave module. I'll see if I can make KDE load that module automatically after login.

Thanks a lot for the tip !

Last edited by Varg (2010-07-11 10:42:02)

Offline

#5 2010-07-20 21:16:40

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [SOLVED] Booting windows 7 kills Arch

I found out that my problem was caused by the onboard Wlan RT26* card in my HP Pavillion Elite HPE. As correctly surmised by kokoko3k Win 7 left the card in some state incompatible with Linux.

I disabled it in my bios (why use wlan on desktop computer anyway?) and the problem was solved.

Offline

Board footer

Powered by FluxBB