프로그램 사용/xen2012. 4. 3. 22:51

"인터페이스 목록을 위한 HAL을 초기화 할 수 없음" 빨간 느낌표 무시하고 그냥 다음을 누르면


"'/usr/lib64/xen/qemu-dm' not found" 라는 에러가 발생한다.


우분투 데스크탑 11.10 64bit를 깔았는데
/usr/lib/xen-4.0.1 은 존재하지만
/usr/lib64가 존재하지 않는다.

그런 이유로 아래처럼 심볼릭 링크를 걸어준다.

$ sudo mkdir /usr/lib64
$ sudo ln -s /usr/lib64/xen /usr/lib/xen-4.0.1  

[링크 : http://bderzhavets.wordpress.com/2011/07/23/build-xen-4-1-1-on-ubuntu-11-10/]
[링크 : http://www.xen-support.com/?p=408]



아무튼 그러면 생성하다 말고 이런 에러를 또 뱉어낸다 -_-


---
2012.04.04
루프 디바이스
[링크 : http://www.linuxhelp.in/2011/06/error-device-vbd-could-not-be-connected.html ]

2012.04.14
$ sudo vi /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash max_loop=64"
$ sudo update-grub
 
[링크 : http://lists.debian.org/debian-user/2006/12/msg00901.html]

도움이 될듯한 링크 후우.. 언제 또 읽어보나?
[링크 :  http://wiki.libvirt.org/page/VirtualNetworking]
Posted by 구차니
LG전자 고갱센터에 전화하니
바로확인할수 없는건지 좀이따 전화준다는데
무려 파트장에게 물어보고 왔는데

지원안하는 기능입니다 고갱님~



상담원이 무슨죄가 있겠어라는 생각에
지원안한다니 어쩔수 없죠~ 하고 끊었지만

다시다시 검색해도 가상화를 지원하는데
일단 소비전력상의 문제로 노트북에는 빼놓았고,
bios 업데이트가 안되서 기능을 지원하지 않는다 라고 하는게 낫지 않았을까 싶기도 한디...
머.. 일반 유저들에게는 지원안하는 기능입니다 고갱님~ 하는게 순순히 물러나는 마법의 키워드일듯?

[링크 : http://ark.intel.com/products/27254/Intel-Core2-Duo-Processor-T5600-(2M-Cache-1_83-GHz-667-MHz-FSB)]
[링크 : http://www.cpu-world.com/.../Intel-Core 2 Duo Mobile T5600 LF80537GF0342M (BX80537T5600).html]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

LW20 / LW25 LCD 호환성  (0) 2012.04.07
아.. 우울해 ㅠ.ㅠ  (0) 2012.04.05
지름목록(예정)  (0) 2012.04.03
super talent SSD 8GB IDE vertical type  (0) 2012.03.28
마음을 비우자~  (0) 2012.03.26
Posted by 구차니
프로그램 사용/xen2012. 4. 3. 07:44
cdrom 사용하는건 여전히 미궁... OTL
그냥 ISO로 깔라는 신의 계시인가? -_-

$ sudo virsh -c xen:/// capabilities

$ sudo cat /var/log/xen/xend-debug.log 

[링크: https://bugzilla.redhat.com/show_bug.cgi?id=585460]

[링크 : http://docs.fedoraproject.org/...Creating_guests_with_virt_manager.html]
[링크 : http://www.linuxquestions.org/questions/linux-software-2/how-to-use-physics-cdrom-in-xen-695471/]

---
2012.4.4 추가
혹시나 해서 /etc를 hda로 뒤졌는데 cd롬이 hda로 인식하도록 py 파일들을 작성한듯 하다 -_-
usb cdrom이라서 그런지 /dev/sr0 로 인식을 해서 virt-manager에서 인식을 못하는 걸려나?

[링크 : http://www.option-c.com/xwiki/Xen_CDROM_Support]
 
Posted by 구차니
CPU
G620 부터 가상화 지원하고 (G530은 가상화 지원안함)
G630 부터 DDR3-1333을 지원한다.

M/B
H67이 좋다지만, SATA3나 USB3.0에 목숨걸거 아니니 무난한 가격으로 대충 때려박고
어짜피 트리플 모니터가 불가능 하다면 DVI-D 보다는 HDMI to DVI-D로 변환하는게 이득이니
D-SUB / HDMI 조합으로 고르고, 메모리 슬롯은 별 의미가 없으니 2개던 4개던 하지만
그래도 4개가 좋지 않을까 0.2mg 정도 희망을... OTL
---
2012.4.4 추가
HVGS 모델은 단종수순이라고 한다. 그리고 DGS경우 아이비브릿지 대응이라니 머 가격차이도 없으니 변경!
[링크 : http://blog.danawa.com/prod/?prod_c=1629479...&keyword=H61M-DGS]

RAM
머 누가 머래도 삼성램이 일단은 가장 무난하고 적절하니.. 가상화를 고려하면 풀뱅 채우고 싶지만
돈.. OTL 8기가인데 설마 부족하겠어?

케이스
전에 사용했던 종잇장에 파워가 좀 시끄럽지만 가볍고 쓸만했으니까 머
400W 뻥파워라도 그래픽 카드도 없이 쓰는데 설마 못 버텨주겠어?

HDD
SSD 사고 싶으나.. 아직 가격이 치킨이 안되서 좀더 기다리고
그동안은 예전에 사둔 중고 320GB로 버티기 작전 ㅠ.ㅠ

ODD
USB2.0 외장 DVD 있으니까 머..

이미지

분류

상품명/상품설명

평균가

최저가

수량

합계

CPU

인텔 펜티엄 G840 (샌디브릿지)

85,978

76,000

1

76,000

RAM

삼성전자 DDR3 4G PC3-10600

24,279

22,200

2

44,400

메인보드

ASRock H61M-HVGS (B3) 디앤디컴

55,482

53,900

1

53,900

케이스

2MONS 엘포즈

31,354

29,500

1

29,500

 

부품별 합계 (수량이 여러 개일 경우 전체 합산 금액입니다)

221,372

203,800

 


[링크 : http://blog.danawa.com/prod/?section_m=PC&prod_c=1359190]
[링크 : http://blog.danawa.com/prod/?prod_c=1346806

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

아.. 우울해 ㅠ.ㅠ  (0) 2012.04.05
LW25는 가상화 지원안해!  (0) 2012.04.03
super talent SSD 8GB IDE vertical type  (0) 2012.03.28
마음을 비우자~  (0) 2012.03.26
740g 와 780g 내장 그래픽 성능차이  (1) 2012.03.16
Posted by 구차니
저번주에는 과장님이
오늘은 출장다녀오신 이사님께서 프로젝트가 너무 지연되고 있다면서
노골적으로 야근을 이야기 하시는데 솔찍히 기분이 좋을리는 없지만

  우씨 그냥 빨리 끝내고 때려쳐?
  그냥 때려쳐?

이런생각도 들지만
여자친구가 소개해준 다른 업체라던가
전산 기술직 공무원 이라던가
이런걸 데굴데굴 머리를 굴리면서 생각을 해보니

  아.. 나 또 도망가고 있었구나
  자신감을 잃고는 또 도망가고 있었구나

이런 생각이 들었다.
열심히 일하지도 않고는 다른데를 찾고 있었다니.. 부끄럽기도 하고
왜 열심히 하지 않았을까 하는 후회가 또 다시 든다..




다시 달리자. 

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

마음은 둥실둥실  (0) 2012.04.09
식목일  (0) 2012.04.05
광포화 코딩중  (0) 2012.03.21
개발자가 막판에 후다닥 일이 끝나는 이유?  (0) 2012.03.20
종이비행기를 날리다  (2) 2012.03.15
Posted by 구차니
Linux/Ubuntu2012. 4. 2. 22:51
Ubuntu 11.10 Desktop 64bit 에서 발생하고 있고 AMD 4200+x2 이다.
대충 찾아봐도 Cool'n'Quiet 관련해서 문제라는 이야기가 있는데
내가 그걸 안켜놨던가...?


---
2012.4.3 추가

위의 에러는 ACPI 관련해서 문제가 발생하는 것으로 Cool'n'Quiet를 켜놓으면 발생한다고 한다.

On AMD with Xen, the cpuidle is set to use the halt one (this is b/c the halt
ends up doing a yield hypercall) - look in setup.c - and the hypervisor does
the appropiate halt operation (MWAIT, halt, etc, or schedules another guest on
the CPU). Anyhow, to not have the cpuidle trying to activate, the
"boot_option_idle_override" is set. Therefore, the ACPI _PSS driver
(processor.ko) ends up bailing out, b/c of that parameter. As such the "older"
AMD pstate driver is invoked (powernow-k8), and the older driver attempts to
use ACPI _PSD - but only if in UP mode, or it attempts to use the voltage
tables - which are k8 or earlier. To detect that, it use the MSR (sadly not
CPUID values), which Xen traps and returns 00, which the powernow-k8 driver
interprets as "buggy hardware - can't use". Which is exactly what you are
seeing.

I believe (and sadly I don't have the hardware to check this - but I think I
saw the somebody using it) if you were running on K8 hardware - it ought to
work.

Solution: Have the ACPI processor driver cooperate with Xen. Patches are in the
queue for it (if you are really interested look in oss.oracle.com/kwilk/xen.git
#devel/acpi-cpufreq.v2 - but they are not yet upstream-able material. Actually,
they are quite ugly).

Other solution:
The "easy" option for right now would be to do what Dave suggest until the
upstream patches are ready and reviewed.
---
Just to add, per Konrad's comment above.

This issue also occurs on K8 hardware (Athlon II 4850e) with powernow enabled
in the BIOS (aka Cool'n'quiet).

Disabling Cool'n'quiet removes the messages.

I just performed the standard Desktop install of the F16 Beta, installed Xen,
rebuilt the grub menu, and rebooted to dom0.  Syslog is full of the same
message per this bug.

It would be great to see Dave's solution (see comment 5 above); an interim
kernel-patch solution to this bug - as it currently stands dom0 functionality
is largely unuseable.
 
[링크 : https://bugzilla.redhat.com/show_bug.cgi?id=739159]  
---
2012.4.4 추가
확실히 Cool'n'Quiet를 끄니 에러가 발생하진 않음.


Posted by 구차니
하드웨어2012. 4. 2. 22:09
현재사용중인 녀석인데
"Secure Virtual Machine" 이라는 이름으로 가상화 설정이 BIOS에 있다.
(그래서 xen에서 AMD SVM으로 뜨는건가?)

머 노트북에서 처럼 엄청 차이나는건 아닌것 같지만.
저 설정 하나만으로 10W를 먹는다는건 꽤나 큰 차이일듯 -_-
   BIOS 부팅완료 
가상화 켬

가상화 끔



일단 Xen 커널과 Generic 커널의 전력소비는 노트북과 마찬가지로 확연히 드러나고,
가상화 켜고 끄고의 차이는 유의미하게 나타나진 않는다.
   가상화 끔 가상화 켬
Ubuntu/Xen kernel 

Ubuntu Generic kernel 


'하드웨어' 카테고리의 다른 글

G840 전력소비 측정(가상화)  (6) 2012.04.18
MXM  (0) 2012.04.11
DVD+R Double Layer(DL) 8.5GB  (0) 2012.03.29
SLC / MLC / TLC  (0) 2012.03.04
ddr2 unganged mode  (0) 2012.03.02
Posted by 구차니
Linux/Ubuntu2012. 4. 1. 16:42
세션을 Ubuntu 대신 unity나 gnome3로 하면된다.
그나저나 크롬과 충돌이 있나.. 그냥 터미널꺼 붙여 넣으면 span / div 태그로 도배되고 저장이 안되네 -_-

[링크 : http://kldp.org/node/128605]


---
2012.04.04 추가

아래의 두가지 방법중 하나를 골라서 하면된다.
$ sudo vi /etc/lightdm/lightdm.conf 

[SeatDefaults]
autologin-guest=false
autologin-user=minimonk
autologin-user-timeout=0
autologin-session=lightdm-autologin
greeter-session=unity-greeter
user-session=ubuntu-2d 

$ sudo /usr/lib/lightdm/lightdm-set-defaults -s ubuntu-2d  

[링크 : http://askubuntu.com/questions/62833/how-do-i-change-the-default-session-for-when-using-auto-logins
Posted by 구차니
프로그램 사용/xen2012. 4. 1. 16:22
머.. 일단 AMD 4200+x2 에서 실행했더니 실행은 되는데 


CDROM 또는 DVD사용에서 인식을 하지 못한다.

cd 를 넣고 mount 명령으로 확인해 보니 읭?
/dev/sr0 on /media/floppy0 type iso9660 
웬 뜬금없는 floppy0 ?!?!?!?!

머 안되면 그냥 iso로 하면되지 머 쫄지마!


vmware 설정하듯 메모리 와 사용할 cpu 와 메모리 용량을 설정해주고


하드도 설정해주고


근데 왜 또 네트워크가 말썽이니 ㅠ.ㅠ


----
그나저나 무슨 차이가 있어서 안되나 궁금해서 cpuinfo를 확인해보니
amd용으로는 svm이 있다는데 그런것도 없고 hypervisor가 존재한다.
$ cat /proc/cpuinfo
processor    : 0
vendor_id    : AuthenticAMD
cpu family    : 15
model        : 107
model name    : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
stepping    : 2
cpu MHz        : 800.000
cache size    : 512 KB






fpu        : yes
fpu_exception    : yes
cpuid level    : 1
wp        : yes
flags        : fpu de tsc msr pae cx8 apic cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good nopl extd_apicid pni cx16 hypervisor lahf_lm cmp_legacy extapic cr8_legacy 3dnowprefetch

bogomips    : 5488.05
TLB size    : 1024 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps
$ cat /proc/cpuinfo
processor    : 0
vendor_id    : AuthenticAMD
cpu family    : 15
model        : 107
model name    : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
stepping    : 2
cpu MHz        : 2200.000
cache size    : 512 KB
physical id    : 0
siblings    : 2
core id        : 0
cpu cores    : 2
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 1
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv
bogomips    : 4389.91
TLB size    : 1024 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps

리부팅 해서 확인해보니 intel이던 amd던 Dom0로 부팅하면 hypervisor가 뜨게 된다.

[링크: http://blog.bradiceanu.net/2009/07/20/linux-proccpuinfo-flags/]
2012/01/25 - [프로그램 사용/xen] - xen 사용가능한 cpu 확인하기 

'프로그램 사용 > xen' 카테고리의 다른 글

qemu-dm not found  (4) 2012.04.03
xen에서 cdrom 사용하기  (0) 2012.04.03
가상화는 무리인가...  (2) 2012.03.31
ubuntu 11.10 xen 커널로 부팅하도록 grub 수정하기  (0) 2012.03.31
xen on Ubuntu 11.10 with Xnote LW25  (0) 2012.03.29
Posted by 구차니
프로그램 사용/xen2012. 3. 31. 22:55
LW25 이녀석 cpu 듀얼 코어인데다가 가상화도 지원되서 쓸만할줄 알았더니...
xen으로 돌리면 열이 70도 정도까지 보고되는게 치솟고
xen이 아닌 일반 커널로 돌리면 49도 정도로 낮아진다. (11.10 기준)

xen Dom0 에서도 실제 리포팅 되는 cpu 사용량이 맞지 않는걸까..
아니면 가상화 부분이 활성화 되면서 cpu 발열이 올라가는 걸까? 

---
cpu 실 사용량을 확인하는 방법
xentop을 쓰면된다고 한다.
[링크 : http://serverfault.com/questions/334613/how-do-i-tell-real-cpu-load-in-a-xen-environment]

--- 
2012.4.1 추가

Xen 이 아닌 커널로 돌릴때 23W 정도 소비


Xen 커널로 돌릴때 33W 정도 소비

 
cpu 사용량은 둘다 동일한 0% 이지만
발열이 팍팍 오르는것과 더불이 전략소비량이 이렇게 팍팍 오르는걸 보면..
xen 자체가 부하가 많이 걸리는 느낌이다. 
Posted by 구차니