|
⇤ ← Revision 1 as of 2008-03-09 10:45:02
Size: 5449
Comment: Initial page
|
Size: 11047
Comment: update
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 29: | Line 29: |
| ||Boot Standard Kernel: || [?] || || LAN network card: || [?] || || Detect CD/DVD: || [?] || || Detect hard drives: || [?] || |
||Boot Standard Kernel: || {OK} || || LAN network card: || {OK} || || Detect CD/DVD: || {OK} || || Detect hard drives: || {OK} || |
| Line 35: | Line 35: |
| || Xorg || [?] || | || Xorg || {i} || |
| Line 37: | Line 37: |
| || - Resize-and-Rotate(randr) || [?] || || Switch to External Screen || [?] || || Mouse || [?] || || Keyboard's Hotkeys || [?] || |
|| - Resize-and-Rotate(randr) || {OK} || || Sound || {i} || || Mouse || {OK} || |
| Line 48: | Line 47: |
| ## none ## {X} There is currently a bug that ... |
|
| Line 54: | Line 50: |
| [[Anchor(kernel-param)]] == Kernel Parameters == pass the following kernel parameters : "vesa i8042.noloop clock=pit vga=791" : * Open a terminal as Root (under Gnome : Menu> Application> Accessories > Root Terminal) * run : {{{ gedit /boot/grub/menu.lst }}} * Find the line starting with "# defoptions=", and replace it with : {{{ # defoptions=vesa i8042.noloop clock=pit vga=791 }}} (Leave the "#" at the begining of the line). |
|
| Line 55: | Line 65: |
| ## First say what's the Display adapter model (lspci may help) ## Then explain how to get it working (or just the module used) ## what about : 3D ; DRI ; xrandr ; external/secondary screen... ## attach your xorg.conf at the bottom of the page. (not covered yet) ## If this computer has variants with various Display adapter, simply ## duplicate this section, like "Display / Ati". |
The video adapter __emulated__ is an "S3 Inc. 86c764/765 [Trio32/64/64V+]", PciID:5333:8811 /!\ Xorg default configuration won't work (because the emulated s3 card doesn't support 24bpp mode). You'll need to set "!DefaultDepth 24" in /etc/X11/xorg.conf (more information below, see [#config-Xorg Configuring Xorg] section below. * xrandr is working {i} If you need higher resolution (1280x1024), you use {{{fbdev}}} video driver in /etc/X11/xorg.conf. |
| Line 65: | Line 74: |
| ## First say what's the Sound adapter model (lspci may help) ## Then explain how to get it working (not covered yet) |
The __emulated__ audio device is a "!SoundBlaster 16" compatible device. * Open a terminal as Root (under Gnome : Menu> Application> Accessories > Root Terminal) * run : {{{ gedit /etc/modules }}} * Add the line "{{{snd-sb16}}}" at the bottom of the page. == Networking == The __emulated__ device is a "Digital Equipment Corporation DECchip 21140 [!FasterNet]" PCI id:1011:0009. The device (or driver) has no link detection. So DebPkg:network-manager will show an unplugged device. Even though '''it's working !''' (known upstream by Gnome as bug [http://bugzilla.gnome.org/show_bug.cgi?id=418745 #418745]). You can left click the nm-applet, then click "Wired Network" : inline:networkmanager-bug.png |
| Line 70: | Line 90: |
| (not covered yet) | The mouse is working well. To enable the scroll button, you'll have to pass "proto=imps" to the module psmouse : ##You can either : ## * Pass the argument to the kernel (see [#kernel-param Kernel Parameters] above). ## * ''or'' ... * Open a terminal as Root (under Gnome : Menu> Application> Accessories > Root Terminal) * run : {{{ echo options psmouse proto=imps > /etc/modprobe.d/psmouse }}} * Then reboot (or unload and reload that module) You may experience : "I am running into the same issue. The mouse pointer appears in the center of the screen, but it is unresponsive." which can be solved by passing {{{e i8042.noloop}}}. == Computer Timer == Due to a bug in Virtual PC ([http://support.microsoft.com/Default.aspx?kbid=918461 KB918461]), you need to pass {{{clock=pit}}} as kernel parameter. * See [#kernel-param Kernel Parameters] above |
| Line 73: | Line 114: |
| ## Have you tested Hibernation and/or ## Then explain how to get it working (not covered yet) == WiFi == (not covered yet) == Modem == (not covered yet) |
(not covered... use VPC suspend feature.) |
| Line 86: | Line 120: |
| == Create the VM == * Launch "Microsoft Virtual PC" (!) * Click on the "New" button inline:wz1.png * Give your VM a name. inline:wz2-name.png |
|
| Line 96: | Line 123: |
| == Create the VM == * Launch "Microsoft Virtual PC" (!!!) * Click on the "New" button inline:wz1.png * Give your VM a name. inline:wz2-name.png * Select the type of the hosted OS (Currently, all linux' are considered ''other''). inline:wz3-os.png * Allocate some RAM (128Mb is enough for text only. 512Mb is recommended for GUI/Desktop). inline:wz4-ram.png * Create a new Virtual Hard-disk image (.VHD, in Microsoft's jargon). inline:wz5-vhd.png * Define __maximum__ size and location for the VHD. inline:wz6-vhd-file.png * Profile created.. inline:wz7-complete.png == Configure the VM to boot from CD == * Select the VM, and click on Start, then quickly... inline:Params01.png * Go to the Virtual machine window, in the menu "CD". Go to "Capture CD Image", then pick the debian cdrom image you have downloaded previously. [[BR]] ''(FYI, You can enter the VirtualPC's host BIOS by pressing the "DEL" key, at boot time).'' inline:cd-01-boot+menu.png * You should now reach the Debian CD boot prompt. [[BR]] ''You can type {{{installgui}}} to run the nice graphical installer, or just press Enter for text mode''. inline:cd-boot-prompt.png [[Anchor(config-Xorg)]] == Configuring Xorg == If you chosed to install a GUI (Desktop), you will have to reconfigure Xorg, because the display will look like : inline:gdm-prompt-bug.png That's because the Virtual PC emulation is incomplete ("s3" doesn't support 24bit mode, as explained [http://blogs.msdn.com/virtual_pc_guy/archive/2005/05/09/415814.aspx here]) That's easy to fix : * Press Ctrl-Alt-F1, to switch to virtual console. * Login as {{{root}}}. * Edit /etc/X11/xorg.conf and replace "!DefaultDepth 24" with "!DefaultDepth 16". This can be done by running the command : {{{ sed -e 's/^DefaultDepth.*/DefaultDepth 16/' -i /etc/X11/xorg.conf }}} * then restart gdm, with : {{{ invoke-rc.d gdm restart }}} == That's it ! == inline:gdm-prompt.png |
|
| Line 105: | Line 197: |
| 00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) [8086:7192] (rev 03) Flags: bus master, medium devsel, latency 0 00:07.0 ISA bridge [0601]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 01) Flags: bus master, medium devsel, latency 0 00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01) (prog-if 80 [Master]) Flags: bus master, medium devsel, latency 0 I/O ports at ffa0 [size=16] 00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 02) Flags: medium devsel, IRQ 9 00:08.0 VGA compatible controller [0300]: S3 Inc. 86c764/765 [Trio32/64/64V+] [5333:8811] (prog-if 00 [VGA]) Flags: bus master, fast devsel, latency 0 Memory at f8000000 (32-bit, non-prefetchable) [size=64M] 00:0a.0 Ethernet controller [0200]: Digital Equipment Corporation DECchip 21140 [FasterNet] [1011:0009] (rev 20) Subsystem: Unknown device [0a00:2114] Flags: bus master, medium devsel, latency 64, IRQ 11 I/O ports at ec00 [size=128] Memory at febff000 (32-bit, non-prefetchable) [size=4K] Expansion ROM at febe0000 [disabled] [size=64K] |
|
| Line 112: | Line 226: |
| lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null {{{ }}} ''USB Host controllers entries (without OHCI, UHCI, EHCI) are removed too.'' |
##lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null ##{{{ ## ##}}} ##''USB Host controllers entries (without OHCI, UHCI, EHCI) are removed too.'' ''No USB !'' |
| Line 127: | Line 241: |
| [[AttachList]] | ##[[AttachList]] * attachment:debian-etch-on-vpc2007.dmidecode.txt * attachment:debian-etch-on-vpc2007.xorg.conf.txt |
| Line 130: | Line 246: |
| * Mivrosoft [http://go.microsoft.com/fwlink/?LinkId=78095 Virtual PC] homepage. | * Microsoft [http://go.microsoft.com/fwlink/?LinkId=78095 Virtual PC] homepage. * [:wiki:DebPkg:qemu Qemu]'s qemu-img can convert [http://www.microsoft.com/technet/virtualserver/downloads/vhdspec.mspx vhd] images. |
| Line 135: | Line 252: |
| == Credits == * Color depth bug : https://help.ubuntu.com/community/HowToConfigureUbuntuForMicrosoftVirtualPC2004 * keyboard bug : [http://www.fedoraforum.org/forum/showthread.php?t=181428] * kernel 2.6.19 keyboard bug (not affecting Debian/Etch) https://help.ubuntu.com/community/HowToConfigureUbuntuForMicrosoftVirtualPC2004 * Mouse scroll bug : http://ubuntuforums.org/showthread.php?t=302862&page=2 * Mouse freezing on 2.6.19+ : https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/87262 |
?BR
Virtual PC is a non-free (proprietary) software. It isn't supported by Debian. It's probably wiser to use a free [:SystemVirtualization:Virtualization] tool. ?BR ?BR
?Include(InstallingDebianOn/Ratings/CategoryEtchUnrated) |
?Include(InstallingDebianOn/PageFragments/Philosophy) |
Models covered?BRVirtual PC 2007 (32bits)
Overall Status
Core Components |
attachment:photo.png |
|
Boot Standard Kernel: |
|
|
LAN network card: |
|
|
Detect CD/DVD: |
|
|
Detect hard drives: |
|
|
Extra Features |
||
Xorg |
|
|
- OpenGL |
[?] |
|
- Resize-and-Rotate(randr) |
|
|
Sound |
|
|
Mouse |
|
|
Legend :?BR
= OK ;
Unsupported(No Driver) ;
= Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable ?BR
= Configuration Required;
= Only works with a proprietary driver
Important Note
Configuration
?Anchor(kernel-param)
Kernel Parameters
pass the following kernel parameters : "vesa i8042.noloop clock=pit vga=791" :
Open a terminal as Root (under Gnome : Menu> Application> Accessories > Root Terminal)
- run :
gedit /boot/grub/menu.lst
- Find the line starting with "# defoptions=", and replace it with :
# defoptions=vesa i8042.noloop clock=pit vga=791
(Leave the "#" at the begining of the line).
Display
The video adapter emulated is an "S3 Inc. 86c764/765 [Trio32/64/64V+]", PciID:5333:8811
Xorg default configuration won't work (because the emulated s3 card doesn't support 24bpp mode). You'll need to set "DefaultDepth 24" in /etc/X11/xorg.conf (more information below, see [#config-Xorg Configuring Xorg] section below. - xrandr is working
If you need higher resolution (1280x1024), you use fbdev video driver in /etc/X11/xorg.conf.
Audio
The emulated audio device is a "SoundBlaster 16" compatible device.
Open a terminal as Root (under Gnome : Menu> Application> Accessories > Root Terminal)
- run :
gedit /etc/modules
Add the line "snd-sb16" at the bottom of the page.
Networking
The emulated device is a "Digital Equipment Corporation DECchip 21140 [FasterNet]" PCI id:1011:0009.
The device (or driver) has no link detection. So network-manager will show an unplugged device. Even though it's working ! (known upstream by Gnome as bug [http://bugzilla.gnome.org/show_bug.cgi?id=418745 #418745]). You can left click the nm-applet, then click "Wired Network" :
- inline:networkmanager-bug.png
Mouse
The mouse is working well.
To enable the scroll button, you'll have to pass "proto=imps" to the module psmouse :
Open a terminal as Root (under Gnome : Menu> Application> Accessories > Root Terminal)
- run :
echo options psmouse proto=imps > /etc/modprobe.d/psmouse
- Then reboot (or unload and reload that module)
You may experience : "I am running into the same issue. The mouse pointer appears in the center of the screen, but it is unresponsive." which can be solved by passing e i8042.noloop.
Computer Timer
Due to a bug in Virtual PC ([http://support.microsoft.com/Default.aspx?kbid=918461 KB918461]), you need to pass clock=pit as kernel parameter.
- See [#kernel-param Kernel Parameters] above
Power Management
- (not covered... use VPC suspend feature.)
Step by Step Installation
Download Debian ISO image
Pick the Installation that best fits you needs, from [http://www.debian.org/CD/]. I've picked the NetInst CD (at the time of writing, [http://cdimage.debian.org/debian-cd/4.0_r3/i386/iso-cd/debian-40r3-i386-netinst.iso debian-40r3-i386-netinst.iso]).
Create the VM
- Launch "Microsoft Virtual PC" (!!!)
- Click on the "New" button inline:wz1.png
- Give your VM a name. inline:wz2-name.png
Select the type of the hosted OS (Currently, all linux' are considered other). inline:wz3-os.png
- Allocate some RAM (128Mb is enough for text only. 512Mb is recommended for GUI/Desktop). inline:wz4-ram.png
- Create a new Virtual Hard-disk image (.VHD, in Microsoft's jargon). inline:wz5-vhd.png
Define maximum size and location for the VHD. inline:wz6-vhd-file.png
- Profile created.. inline:wz7-complete.png
Configure the VM to boot from CD
- Select the VM, and click on Start, then quickly... inline:Params01.png
Go to the Virtual machine window, in the menu "CD". Go to "Capture CD Image", then pick the debian cdrom image you have downloaded previously. ?BR (FYI, You can enter the VirtualPC's host BIOS by pressing the "DEL" key, at boot time). inline:cd-01-boot+menu.png
You should now reach the Debian CD boot prompt. ?BR You can type installgui to run the nice graphical installer, or just press Enter for text mode. inline:cd-boot-prompt.png
?Anchor(config-Xorg)
Configuring Xorg
If you chosed to install a GUI (Desktop), you will have to reconfigure Xorg, because the display will look like :
- inline:gdm-prompt-bug.png
That's because the Virtual PC emulation is incomplete ("s3" doesn't support 24bit mode, as explained [http://blogs.msdn.com/virtual_pc_guy/archive/2005/05/09/415814.aspx here])
That's easy to fix :
- Press Ctrl-Alt-F1, to switch to virtual console.
Login as root.
Edit /etc/X11/xorg.conf and replace "DefaultDepth 24" with "DefaultDepth 16". This can be done by running the command :
sed -e 's/^DefaultDepth.*/DefaultDepth 16/' -i /etc/X11/xorg.conf
- then restart gdm, with :
invoke-rc.d gdm restart
That's it !
- inline:gdm-prompt.png
System Summary
lspci
00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) [8086:7192] (rev 03)
Flags: bus master, medium devsel, latency 0
00:07.0 ISA bridge [0601]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 01)
Flags: bus master, medium devsel, latency 0
00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01) (prog-if 80 [Master])
Flags: bus master, medium devsel, latency 0
I/O ports at ffa0 [size=16]
00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 02)
Flags: medium devsel, IRQ 9
00:08.0 VGA compatible controller [0300]: S3 Inc. 86c764/765 [Trio32/64/64V+] [5333:8811] (prog-if 00 [VGA])
Flags: bus master, fast devsel, latency 0
Memory at f8000000 (32-bit, non-prefetchable) [size=64M]
00:0a.0 Ethernet controller [0200]: Digital Equipment Corporation DECchip 21140 [FasterNet] [1011:0009] (rev 20)
Subsystem: Unknown device [0a00:2114]
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at ec00 [size=128]
Memory at febff000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at febe0000 [disabled] [size=64K]
lsusb
No USB !
Resources
?Anchor(attachments)
Attachments
Some configuration files and sample outputs.
- attachment:debian-etch-on-vpc2007.dmidecode.txt
- attachment:debian-etch-on-vpc2007.xorg.conf.txt
Useful Links
Microsoft [http://go.microsoft.com/fwlink/?LinkId=78095 Virtual PC] homepage.
[:wiki:qemu Qemu]'s qemu-img can convert [http://www.microsoft.com/technet/virtualserver/downloads/vhdspec.mspx vhd] images.
Credits
Color depth bug : https://help.ubuntu.com/community/HowToConfigureUbuntuForMicrosoftVirtualPC2004 * keyboard bug : [http://www.fedoraforum.org/forum/showthread.php?t=181428]
kernel 2.6.19 keyboard bug (not affecting Debian/Etch) https://help.ubuntu.com/community/HowToConfigureUbuntuForMicrosoftVirtualPC2004
Mouse scroll bug : http://ubuntuforums.org/showthread.php?t=302862&page=2
Mouse freezing on 2.6.19+ : https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/87262
