* [9fans] plan9 on Xen3.0/ubuntu
@ 2007-01-21 12:22 Phil Kulin
2007-01-21 14:41 ` Richard Miller
0 siblings, 1 reply; 4+ messages in thread
From: Phil Kulin @ 2007-01-21 12:22 UTC (permalink / raw)
To: 9fans
I have PC with installed xen-3.0, last Install-CD of plan9 and 9xen-kernel's.
root@xen:~# cat /var/log/dmesg
[ 0.000000] Linux version 2.6.17-6-generic-xen0 (root@vernadsky)
(gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)) #3
SMP Mon Oct 16 06:15:23 UTC 2006 (ubuntu-xen)
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] Xen: 0000000000000000 - 00000000047ff000 (usable)
[ 0.000000] 0MB HIGHMEM available.
[ 0.000000] 71MB LOWMEM available.
[ 1.191350] On node 0 totalpages: 18431
[ 1.193937] DMA zone: 18431 pages, LIFO batch:3
[ 1.200292] DMI 2.3 present.
[ 1.204063] ACPI: RSDP (v000 ASUS
) @ 0x000f5a60
[ 1.204092] ACPI: RSDT (v001 ASUS P3B_F 0x30303031 MSFT
0x31313031) @ 0x0ffec000
[ 1.204114] ACPI: FADT (v001 ASUS P3B_F 0x30303031 MSFT
0x31313031) @ 0x0ffec080
[ 1.204139] ACPI: BOOT (v001 ASUS P3B_F 0x30303031 MSFT
0x31313031) @ 0x0ffec040
[ 1.204161] ACPI: DSDT (v001 ASUS P3B_F 0x00001000 MSFT
0x0100000b) @ 0x00000000
[ 1.210665] Allocating PCI resources starting at 20000000 (gap:
10000000:efff0000)
[ 1.210778] Built 1 zonelists
[ 1.210787] Kernel command line: root=/dev/hda6 ro locale=ru_RU
[ 1.211482] Enabling fast FPU save and restore... done.
[ 1.211496] Enabling unmasked SIMD FPU exception support... done.
[ 1.211507] Initializing CPU#0
[ 1.211712] PID hash table entries: 512 (order: 9, 2048 bytes)
[ 1.211753] Xen reported: 615.248 MHz processor.
[ 1.213496] Console: colour VGA+ 80x25
[ 1.216110] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 1.216392] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 1.238423] Software IO TLB enabled:
[ 1.238431] Aperture: 2 megabytes
[ 1.238435] Kernel range: 0x00000000c114b000 - 0x00000000c134b000
[ 1.238744] vmalloc area: c5000000-fb7fe000, maxmem 33ffe000
[ 1.245875] Memory: 46564k/73724k available (1913k kernel code,
18908k reserved, 1064k data, 172k init, 0k highmem)
[ 1.246010] Checking if this processor honours the WP bit even in
supervisor mode... Ok.
[ 1.324540] calibrate_delay_direct() failed to get a good estimate
for loops_per_jiffy.
[ 1.324548] Probably due to long platform interrupts. Consider
using "lpj=" boot option.
[ 1.324769] Calibrating delay loop... 5505.02 BogoMIPS (lpj=11010048)
[ 1.808584] Security Framework v1.0.0 initialized
[ 1.808693] SELinux: Disabled at boot.
[ 1.808859] Mount-cache hash table entries: 512
[ 1.809368] CPU: After generic identify, caps: 0383d1f1 00000000
00000000 00000000 00000000 00000000 00000000
[ 1.809394] CPU: After vendor identify, caps: 0383d1f1 00000000
00000000 00000000 00000000 00000000 00000000
[ 1.809424] CPU: L1 I cache: 16K, L1 D cache: 16K
[ 1.809595] CPU: L2 cache: 256K
[ 1.809688] CPU: After all inits, caps: 0383d1f1 00000000 00000000
00000040 00000000 00000000 00000000
[ 1.809736] Checking 'hlt' instruction... OK.
[ 1.810095] SMP alternatives: switching to UP code
[ 1.810446] Freeing SMP alternatives: 16k freed
[ 1.810899] checking if image is initramfs... it is
[ 1.968372] Freeing initrd memory: 12321k freed
[ 1.968517] ACPI: Core revision 20060707
[ 1.970202] ACPI: Looking for DSDT ... not found!
[ 1.973362] ACPI: setting ELCR to 0200 (from 0c80)
[ 1.973957] Brought up 1 CPUs
[ 1.974059] migration_cost=0
[ 1.976906] Grant table initialized
[ 1.977189] NET: Registered protocol family 16
[ 1.977616] ACPI: bus type pci registered
[ 1.977740] PCI: Using configuration type 1
[ 1.985265] ACPI: Interpreter enabled
[ 1.985382] ACPI: Using PIC for interrupt routing
[ 1.987367] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10
*11 12 14 15)
[ 1.989127] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11
12 14 15) *0, disabled.
[ 1.990955] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 *10
11 12 14 15)
[ 1.992663] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 *7 9 10
11 12 14 15)
[ 1.994207] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 1.994311] PCI: Probing PCI hardware (bus 00)
[ 1.994906] ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
[ 2.000564] PCI: Ignoring BAR0-3 of IDE controller 0000:00:04.1
[ 2.000920] PCI quirk: region e400-e43f claimed by PIIX4 ACPI
[ 2.001023] PCI quirk: region e800-e80f claimed by PIIX4 SMB
[ 2.002184] Boot video device is 0000:01:00.0
[ 2.002980] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 2.079410] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 2.079574] pnp: PnP ACPI init
[ 2.090644] pnp: PnP ACPI: found 12 devices
[ 2.090820] xen_mem: Initialising balloon driver.
[ 2.091529] PCI: Using ACPI for IRQ routing
[ 2.091645] PCI: If a device doesn't work, try "pci=routeirq". If
it helps, post a report
[ 2.092896] pnp: 00:03: ioport range 0xe400-0xe43f could not be reserved
[ 2.093023] pnp: 00:03: ioport range 0xe800-0xe80f has been reserved
[ 2.094055] PCI: Bridge: 0000:00:01.0
[ 2.094167] IO window: disabled.
[ 2.094282] MEM window: c6000000-c7dfffff
[ 2.094394] PREFETCH window: c7f00000-cfffffff
[ 2.094612] NET: Registered protocol family 2
[ 2.187330] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 2.187760] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 2.187988] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 2.188155] TCP: Hash tables configured (established 4096 bind 2048)
[ 2.188267] TCP reno registered
[ 2.188831] Simple Boot Flag at 0x3a set to 0x1
[ 2.190503] audit: initializing netlink socket (disabled)
[ 2.190662] audit(1169331050.186:1): initialized
[ 2.191241] VFS: Disk quotas dquot_6.5.1
[ 2.191421] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 2.191719] Initializing Cryptographic API
[ 2.191835] io scheduler noop registered
[ 2.192041] io scheduler anticipatory registered
[ 2.192240] io scheduler deadline registered
[ 2.192465] io scheduler cfq registered (default)
[ 2.192737] Limiting direct PCI/PCI transfers.
[ 2.286800] Real Time Clock Driver v1.12ac
[ 2.287425] mice: PS/2 mouse device common for all mice
[ 2.289625] RAMDISK driver initialized: 16 RAM disks of 65536K size
1024 blocksize
[ 2.290977] Xen virtual console successfully installed as ttyS0
[ 2.291215] Event-channel device installed.
[ 2.316617] blkif_init: reqs=64, pages=704, mmap_vstart=0xc0800000
[ 2.334064] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[ 2.334210] ide: Assuming 33MHz system bus speed for PIO modes;
override with idebus=xx
[ 2.335020] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at
0x60,0x64 irq 1,12
[ 2.339901] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 2.340290] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 2.340726] TCP bic registered
[ 2.340858] NET: Registered protocol family 1
[ 2.340981] NET: Registered protocol family 8
[ 2.341087] NET: Registered protocol family 20
[ 2.341286] Using IPI No-Shortcut mode
[ 2.343082] Freeing unused kernel memory: 172k freed
[ 2.369871] input: AT Translated Set 2 keyboard as /class/input/input0
[ 2.575474] Capability LSM initialized
[ 2.762026] ACPI: CPU0 (power states: C1[C1] C2[C2])
[ 2.762395] ACPI: Processor [CPU0] (supports 8 throttling states)
[ 4.842198] PIIX4: IDE controller at PCI slot 0000:00:04.1
[ 4.842360] PIIX4: chipset revision 1
[ 4.842465] PIIX4: not 100% native mode: will probe irqs later
[ 4.842590] ide0: BM-DMA at 0xd800-0xd807, BIOS settings:
hda:DMA, hdb:DMA
[ 4.842940] ide1: BM-DMA at 0xd808-0xd80f, BIOS settings:
hdc:DMA, hdd:DMA
[ 4.843254] Probing IDE interface ide0...
[ 5.187533] hda: IC35L040AVVN07-0, ATA DISK drive
[ 5.487404] hdb: ST38411A, ATA DISK drive
[ 5.547879] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[ 5.558908] Probing IDE interface ide1...
[ 6.017416] hdc: HL-DT-STDVD-ROM GDR8163B, ATAPI CD/DVD-ROM drive
[ 6.317419] hdd: SAMSUNG SV0431D, ATA DISK drive
[ 6.383013] ide1 at 0x170-0x177,0x376 on irq 15
[ 6.418785] hda: max request size: 128KiB
[ 6.467392] hda: 80418240 sectors (41174 MB) w/1863KiB Cache,
CHS=65535/16/63, UDMA(33)
[ 6.468248] hda: cache flushes supported
[ 6.468474] hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 >
[ 6.534737] hdb: max request size: 128KiB
[ 6.534858] hdb: 16514064 sectors (8455 MB) w/1024KiB Cache,
CHS=16383/16/63, UDMA(33)
[ 6.535305] hdb: cache flushes not supported
[ 6.535497] hdb:
[ 6.565192] hdd: max request size: 128KiB
[ 6.565949] hdd: 8421840 sectors (4311 MB) w/472KiB Cache,
CHS=8912/15/63, UDMA(33)
[ 6.566406] hdd: cache flushes not supported
[ 6.566594] hdd:
[ 6.804894] hdc: ATAPI 52X DVD-ROM drive, 256kB Cache, UDMA(33)
[ 6.805509] Uniform CD-ROM driver Revision: 3.20
[ 7.608141] usbcore: registered new driver usbfs
[ 7.610956] usbcore: registered new driver hub
[ 7.621480] USB Universal Host Controller Interface driver v3.0
[ 7.625394] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 7
[ 7.625527] PCI: setting IRQ 7 as level-triggered
[ 7.625539] ACPI: PCI Interrupt 0000:00:04.2[D] -> Link [LNKD] ->
GSI 7 (level, low) -> IRQ 7
[ 7.625846] uhci_hcd 0000:00:04.2: UHCI Host Controller
[ 7.626885] uhci_hcd 0000:00:04.2: new USB bus registered, assigned
bus number 1
[ 7.627124] uhci_hcd 0000:00:04.2: irq 7, io base 0x0000d400
[ 7.628251] usb usb1: configuration #1 chosen from 1 choice
[ 7.628956] hub 1-0:1.0: USB hub found
[ 7.629123] hub 1-0:1.0: 2 ports detected
[ 7.990376] kjournald starting. Commit interval 5 seconds
[ 7.990536] EXT3-fs: mounted filesystem with ordered data mode.
[ 14.055763] 8139too Fast Ethernet driver 0.9.27
[ 14.057172] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
[ 14.057409] PCI: setting IRQ 10 as level-triggered
[ 14.057422] ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] ->
GSI 10 (level, low) -> IRQ 10
[ 14.059129] eth0: RealTek RTL8139 at 0xc5066000, 00:11:6b:36:0a:fe, IRQ 10
[ 14.059244] eth0: Identified 8139 chip type 'RTL-8100B/8139D'
[ 14.155186] 8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
[ 14.918872] piix4_smbus 0000:00:04.3: Found 0000:00:04.3 device
[ 17.408925] Linux agpgart interface v0.101 (c) Dave Jones
[ 17.432478] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports,
IRQ sharing enabled
[ 17.439570] input: PC Speaker as /class/input/input1
[ 17.496247] agpgart: Detected an Intel 440BX Chipset.
[ 17.518402] agpgart: AGP aperture is 256M @ 0xd0000000
[ 17.529062] 8250_pnp: Unknown symbol serial8250_unregister_port
[ 17.529520] 8250_pnp: Unknown symbol serial8250_register_port
[ 18.088209] input: ImPS/2 Generic Wheel Mouse as /class/input/input2
[ 18.908277] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 18.917289] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 19.288294] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports,
IRQ sharing enabled
[ 19.811197] 8250_pnp: Unknown symbol serial8250_unregister_port
[ 19.811659] 8250_pnp: Unknown symbol serial8250_register_port
[ 19.951433] ts: Compaq touchscreen protocol output
[ 21.461051] eth0: link up, 10Mbps, half-duplex, lpa 0x0000
[ 22.415913] lp: driver loaded but no devices found
[ 22.687107] Adding 976712k swap on
/dev/disk/by-uuid/8b30f4a3-d3d3-4603-8801-107abfff349e. Priority:-1
extents:1 across:976712k
[ 22.889956] EXT3 FS on hda6, internal journal
[ 23.608174] kjournald starting. Commit interval 5 seconds
[ 23.617682] EXT3 FS on hda9, internal journal
[ 23.617699] EXT3-fs: mounted filesystem with ordered data mode.
[ 23.664345] kjournald starting. Commit interval 5 seconds
[ 23.667770] EXT3 FS on hda10, internal journal
[ 23.667787] EXT3-fs: mounted filesystem with ordered data mode.
[ 23.685905] kjournald starting. Commit interval 5 seconds
[ 23.697688] EXT3 FS on hda8, internal journal
[ 23.697704] EXT3-fs: mounted filesystem with ordered data mode.
root@xen:~# cat /etc/xen/plan9inst
kernel = "/home/xen/9xeninst.gz"
memory = 64
name = "plan9"
disk = [ 'file:/usr/plan9/plan9.iso,sdb,r', 'file:/usr/plan9/plan9.img,sda,w' ]
vif = [ 'bridge=xenbr0' ]
autorestart = False
(plan9.img creats with instruction:
http://plan9.bell-labs.com/wiki/plan9/installing_in_xen_3.0/index.html)
root@xen:~# xm create plan9inst -c
Using config file "/etc/xen/plan9inst".
Started domain plan9
Plan 9
127 holes free
00190000 01a8a000 26189824
26189824 bytes free
cpu0: 551MHz GenuineIntel PentiumIII/Xeon (cpuid: AX 0x0681 DX 0x383F9FF)
#l0: xen: 100Mbps port 0x0 irq -1: 00163e0a811a
64M memory: 27M kernel data, 37M user, 165M swap
cpu0: spurious interrupt 101, last 0
sdxen: backend /local/domain/0/backend/vbd/29/2048/ secsize 512 sectors 2097152
sdxen: backend /local/domain/0/backend/vbd/29/2064/ secsize 512 sectors 540496
#S/sd00/data: no partitions
#S/sd01/: part cdboot 190328 196088
root is from (local)[local]:
kfs...kfs: read 540496 gets 0:
version...time...
boot: /386/init: '/386' file does not exist
panic: boot process died: unknown
panic: boot process died: unknown
dumpstack
ktrace /kernel/path 80014015 801921f8 <<EOF
estackx 801924b0
80192198=80013e56 801921a0=80064241 801921cc=8003fe1b 801921e0=80014015
801921f4=80014015 801921f8=80013e5a 80192200=80040144 8019221c=8006c915
8019224c=80071039 80192254=80071039 80192264=80070fd0 8019226c=800712a6
80192270=800720c2 80192278=80070fd0 80192284=800720c2 80192294=80071202
801922a8=8006c915 801922bc=80072beb 801922c8=800548ba 801922d0=800548c6
801922d8=8006cc15 801922e4=8007309b 801922f0=8006469e 801922f8=800646ea
801922fc=80054c4c 8019230c=8005ebce 80192314=80057506 8019232c=8006148e
80192338=80071202 80192348=800713e7 80192374=800548c6 8019237c=8006cc15
80192380=8006c563 80192388=8006b7f8 80192394=8006c579 8019239c=8006c6bd
801923b0=8006cc15 801923b8=80056928 801923c0=80056942 801923c8=80057464
801923d0=80057484 801923dc=80057576 801923ec=80067758 801923f0=80067101
801923f4=800677d0 8019240c=8001379d 80192428=800144ca 80192440=80010dc6
80192448=800544e7 8019245c=800108b9 80192494=00000040 80192498=800103fe
8019249c=00007942 801924a0=0000e02b 801924a4=00010286 801924a8=7fffed5c
801924ac=0000e033
EOF
cpu0: exiting
^t^tp
up 1
1: boot2 pc 80010908 dbgpc 7942 Exits (Running) ut 0 st
9640 bss 14000 qpc 0 nl 0 nd 0 lpc 80060e1d pri 10
2: genrandom pc 80012bce dbgpc 0 Wakeme (Wakeme) ut 5317
st 0 bss 0 qpc 0 nl 0 nd 0 lpc 800609fd pri 10
3: alarm pc 0 dbgpc 0 Wakeme (Wakeme) ut 0 st 0
bss 0 qpc 0 nl 0 nd 0 lpc 800609fd pri 13
6: pager pc a2d0 dbgpc 0 Idle (Wakeme) ut 0 st 0
bss 0 qpc 0 nl 0 nd 0 lpc 800609fd pri 13
5: kfs pc 110dc dbgpc 110dc Pread (Wakeme) ut 0 st 0
bss 3b000 qpc 0 nl 0 nd 0 lpc 800609fd pri 13
What's wrong? What i may to do for investigation?
Possibly it is Xen Dom0 problem, rihgt?
P.S. I have runable NetBSD DomU on this PC. NetBSD works right.
--
Phil Kulin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] plan9 on Xen3.0/ubuntu
2007-01-21 12:22 [9fans] plan9 on Xen3.0/ubuntu Phil Kulin
@ 2007-01-21 14:41 ` Richard Miller
2007-01-21 19:29 ` Phil Kulin
0 siblings, 1 reply; 4+ messages in thread
From: Richard Miller @ 2007-01-21 14:41 UTC (permalink / raw)
To: 9fans
> root@xen:~# cat /etc/xen/plan9inst
> kernel = "/home/xen/9xeninst.gz"
> memory = 64
> name = "plan9"
> disk = [ 'file:/usr/plan9/plan9.iso,sdb,r', 'file:/usr/plan9/plan9.img,sda,w' ]
> vif = [ 'bridge=xenbr0' ]
> autorestart = False
You left out the "extra" parameter in the configuration file -
extra = """
nobootprompt=local!/boot/bzroot
bootfile=sd01!cdboot!bootdisk.img
"""
Or else just reply local!/boot/bzroot to the 'root is from:' prompt.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] plan9 on Xen3.0/ubuntu
2007-01-21 14:41 ` Richard Miller
@ 2007-01-21 19:29 ` Phil Kulin
2007-01-21 22:09 ` Richard Miller
0 siblings, 1 reply; 4+ messages in thread
From: Phil Kulin @ 2007-01-21 19:29 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
2007/1/21, Richard Miller <9fans@hamnavoe.com>:
> You left out the "extra" parameter in the configuration file -
> extra = """
> nobootprompt=local!/boot/bzroot
> bootfile=sd01!cdboot!bootdisk.img
> """
> Or else just reply local!/boot/bzroot to the 'root is from:' prompt.
Oh, I'am stupid lamer. Thanks. No real problem now. But using the
file-based images is very slow. Instalation process starting more than
1 hour befor, and is running now :(
I try to create plan9 partition with cfdisk under Linux on real disk
and export it to xenU. But plan9 [partdisk] don't recognize size and
content of partition :(
--
Да будет осиян звездой момент нашей переписки!
Phil Kulin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] plan9 on Xen3.0/ubuntu
2007-01-21 19:29 ` Phil Kulin
@ 2007-01-21 22:09 ` Richard Miller
0 siblings, 0 replies; 4+ messages in thread
From: Richard Miller @ 2007-01-21 22:09 UTC (permalink / raw)
To: 9fans
> I try to create plan9 partition with cfdisk under Linux on real disk
> and export it to xenU. But plan9 [partdisk] don't recognize size and
> content of partition :(
You have to export the whole disk to xenU, not just the partition.
I have a single disk with a linux partition, and a plan 9 partition
which I can use with either native plan 9 or plan 9/xen.
In my xen configuration I use this to export it:
disk = [ 'phy:hda,sda,w' ]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-01-21 22:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-21 12:22 [9fans] plan9 on Xen3.0/ubuntu Phil Kulin
2007-01-21 14:41 ` Richard Miller
2007-01-21 19:29 ` Phil Kulin
2007-01-21 22:09 ` Richard Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).