본문 바로가기

Linux

Macbook에서 Linux 커널패닉 날때 (IO APIC)

MacBook Pro 에 Mint Linux 13을 까는데 부팅시 APIC 관련 패닝이 난다 따라서 

grup에서 e를 눌러서 편집모드로 들어가서 noapic 를 추가해서 부팅한후 

하기기처럼 grub쪽 config 파일을 업데이트 해줬다.

혹시 noalcpi를 해주면 CPU가 1개 밖에 인식 안되므로 nolapic는 해주면 안된다.

http://ko.wikipedia.org/wiki/APIC

용어정리 : 

APIC = Advanced Programmable Interrupt Controller
ACPI = Advanced Configuration and Power Interface - 전혀 다른 기능


You are not supposed to edit /boot/grub/grub.cfg directly.
Instead, the file you should edit is called /etc/default/grub, and you may open it with the text editor gedit,

Code:
gksudo gedit /etc/default/grub
It should look something like this, 
Code:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"
You should add your boot options like so, 
Code:

# If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. GRUB_DEFAULT=0 #GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT="10" GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="noapic" # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480 # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_LINUX_RECOVERY="true"

Save the file and close it and then run 'sudo grub-mkconfig -o /boot/grub/grub.cfg', to write the changes persistently to your grub.cfg.
Code:
sudo grub-mkconfig -o /boot/grub/grub.cfg

'Linux' 카테고리의 다른 글

[EXT4] noauto_da_alloc 에 관해  (2) 2012.08.28
멀티 IP 쓰기, ip alias  (0) 2012.08.23
Byobu 도움말  (0) 2012.07.24
[Linux/Unix]디스크 쿼타(Disk Quota)  (0) 2012.07.20
Linux Performance Metrics  (0) 2012.07.05