WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

[XenPPC] Booting Dom0 with SLES10 on JS21

> I _really_ wish you would ask these question on the list, you are not the 
> first with this problem and you won't be the last. :(
> -JX

> Dan E Poff/Watson/IBM wrote on 07/07/2006 02:36:50 PM:

>> Had to code 'root=/dev/sda3' as boot parameter, then booting went 
>> much further.

> you need to peek at /etc/yaboot.conf and see what else SLES decided is 
> required to be passed to your kernel.
> Hopefully, SLES did not decive that you need a ramdisk, if this is so, 
> then we may have to hack a little more for your environment.

yaboot.conf:

# header section
partition = 3
timeout = 80
default = linux
# image section
image = /boot/vmlinux
    label = linux
    root = /dev/sda3
    append = " quiet sysrq=1 insmod=sym53c8xx insmod=ipr"
    initrd = /boot/initrd


lsmod:

Module                  Size  Used by
iptable_filter         21792  0 
ip_tables              37096  1 iptable_filter
x_tables               37112  1 ip_tables
joydev                 32088  0 
st                     68608  0 
sr_mod                 42916  0 
ide_cd                 73072  0cdrom                  64784  2 sr_mod,ide_cd
ipv6                  464208  22 
apparmor              102332  0 
aamatch_pcre           34720  1 apparmor
loop                   40608  0 
dm_mod                115288  0 
qla2xxx               239416  0 
tg3                   155244  0 
scsi_transport_fc      64228  1 qla2xxx
sg                     69064  0 
ipr                   109488  2 
firmware_class         32952  2 qla2xxx,ipr
sd_mod                 41264  3 
scsi_mod              221384  7 
st,sr_mod,qla2xxx,scsi_transport_fc,sg,ipr,sd_mod


>> INIT: Entering runlevel: 5
>> INIT: Id "1" respawning too fast: disabled for 5 minutes

> Ahh, you do not have a /dev tree.
> what you are seeing here is that the getty (process that allows you to 
> login from console) cannot find the tty's it is to run on.
> I'm guessing its the ramdisk problem.

> for now try booting with "init=/bin/bash" to see if you can at least get a 
> bash prompt out of your kernel.


'init' crashes with sig 11, segfault:

0000000000000000 : boot cpu     0000000000000000
copying OF device tree ...
Building dt strings...
Building dt structure...
Device tree strings 0x00000000027a3000 -> 0x00000000027a343c
Device tree struct  0x00000000027a4000 -> 0x00000000027a6000
Calling quiesce ...
returning from prom_init
xen_start_info at c000000003ffe000
    magic          xen-3.0-powerpc64HV
    flags          3
    shared_info    3fff000, c000000003fff000
    store_mfn      0
    store_evtchn   0
    console_mfn    0
    console_evtchn 0
Hello World I'm Maple Xen-LPAR!
 <- xen_init_early
firmware_features = 0x40000a
Using Xen-Maple machine description
Found legacy serial port 0 for /ht/isa@8/serial@2f8
  port=2f8, taddr=f40002f8, irq=ffffffffffffffff, clk=1843200, speed=19200
Starting Linux PPC64 #9 SMP Sat Jul 8 13:34:25 EDT 2006
-----------------------------------------------------
ppc64_pft_size                = 0x14
ppc64_interrupt_controller    = 0x1
physicalMemorySize            = 0x4000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address                  = 0x0000000000000000
htab_hash_mask                = 0x1fff
-----------------------------------------------------
Linux version 2.6.17-Xen (poff@lab095) (gcc version 3.4.1) #9 SMP Sat Jul 8 
13:34:25 EDT 2006
*** 0000 : CF000012

*** 0000 : Setup Arch
[boot]0012 Setup Arch
Adding PCI host bridge /ht
Found U3-HT PCI host bridge. Firmware bus number: 0->239
PCI Host 0, io start: 0; io end: 3fffff
Using Xen idle loop
*** 0000 : CF000015

*** 0000 : Setup Done
[boot]0015 Setup Done
Built 1 zonelists
Kernel command line:
 -> maple_init_IRQ
mpic: Setting up MPIC "U3-MPIC" version 1.2 at f8040000, max 4 CPUs
mpic: ISU size: 124, shift: 7, mask: 7f
mpic: Initializing for 124 sources
mpic: Setting up HT PICs workarounds for U3/U4
mpic:   - HT:07.0 [0xf0] vendor 1022 device 7460 has 24 irqs
 <- maple_init_IRQ
PID hash table entries: 512 (order: 9, 4096 bytes)
Maple: Found RTC at IO 0x1070
firmware_features = 0x40000a
Using Xen-Maple machine description
Found legacy serial port 0 for /ht/isa@8/serial@2f8
  port=2f8, taddr=f40002f8, irq=ffffffffffffffff, clk=1843200, speed=19200
Starting Linux PPC64 #9 SMP Sat Jul 8 13:34:25 EDT 2006
-----------------------------------------------------
ppc64_pft_size                = 0x14
ppc64_interrupt_controller    = 0x1
physicalMemorySize            = 0x4000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address                  = 0x0000000000000000
htab_hash_mask                = 0x1fff
-----------------------------------------------------
Linux version 2.6.17-Xen (poff@lab095) (gcc version 3.4.1) #9 SMP Sat Jul 8 
13:34:25 EDT 2006
*** 0000 : CF000012

*** 0000 : Setup Arch
[boot]0012 Setup Arch
Adding PCI host bridge /ht
Found U3-HT PCI host bridge. Firmware bus number: 0->239
PCI Host 0, io start: 0; io end: 3fffff
Using Xen idle loop
*** 0000 : CF000015

*** 0000 : Setup Done
[boot]0015 Setup Done
Built 1 zonelists
Kernel command line:
mpic: Setting up MPIC "U3-MPIC" version 1.2 at f8040000, max 4 CPUs
mpic: ISU size: 124, shift: 7, mask: 7f
mpic: Initializing for 124 sources
mpic: Setting up HT PICs workarounds for U3/U4
mpic:   - HT:07.0 [0xf0] vendor 1022 device 7460 has 24 irqs
PID hash table entries: 512 (order: 9, 4096 bytes)
Maple: Found RTC at IO 0x1070
Console: colour dummy device 80x25
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Memory: 56836k/65536k available (5500k kernel code, 8632k reserved, 1320k data, 
568k bss, 232k init)
Mount-cache hash table entries: 256
Brought up 1 CPUs
smp_xen_setup_cpu(0)
migration_cost=0
grant table at c000000000034000
Grant table initialized
NET: Registered protocol family 16
*** 0000 : Linux ppc64

*** 0000 : 2.6.17-Xen
Failed to request PCI IO region on PCI domain 0000
IOMMU table initialized, virtual merging enabled
 -> maple_pcibios_fixup
 <- maple_pcibios_fixup
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 3, 32768 bytes)
TCP bind hash table entries: 1024 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
rtas_flash: no firmware flash support
scan-log-dump not implemented on this system
Initializing Cryptographic API
io scheduler noop registered
io scheduler deadline registered (default)
Generic RTC Driver v1.07
isa bounce pool size: 16 pages
RAMDISK driver initialized: 16 RAM disks of 10240K size 1024 blocksize
loop: loaded (max 8 devices)
Intel(R) PRO/1000 Network Driver - version 7.0.38-k4
Copyright (c) 1999-2006 Intel Corporation.
tg3.c:v3.60 (June 17, 2006)
eth0: Tigon3 [partno(none) rev 8100 PHY(5780)] (PCIX:133MHz:64-bit) 
10/100/1000BaseT Ethernet 00:11:25:c9:1a:c8
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] Split[0] WireSpeed[0] TSOcap[1]
eth0: dma_rwctrl[76144000] dma_mask[40-bit]
eth1: Tigon3 [partno(none) rev 8100 PHY(5780)] (PCIX:133MHz:64-bit) 
10/100/1000BaseT Ethernet 00:11:25:c9:1a:c9
eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[0] TSOcap[1]
eth1: dma_rwctrl[76144000] dma_mask[40-bit]
Xen virtual console successfully installed as ttyS0
Event-channel device installed.
blkif_init: reqs=64, pages=704, mmap_vstart=0xc000000002000000
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AMD8111: IDE controller at PCI slot 0000:00:08.1
AMD8111: chipset revision 3
AMD8111: 0000:00:08.1 (rev 03) UDMA133 controller
AMD8111: 100% native mode on irq 16
    ide0: BM-DMA at 0x9020-0x9027, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x9028-0x902f, BIOS settings: hdc:pio, hdd:pio
ipr: IBM Power RAID SCSI Device Driver version: 2.1.3 (March 29, 2006)
ipr 0000:01:01.0: Found IOA with IRQ: 15
ipr 0000:01:01.0: Starting IOA initialization sequence.
ipr 0000:01:01.0: Adapter firmware version: 06160024
ipr 0000:01:01.0: IOA initialized.
scsi0 : IBM 572E Storage Adapter
  Vendor: IBM-ESXS  Model: ST973401SS        Rev: B519
  Type:   Direct-Access                      ANSI SCSI revision: 05
scsi: unknown device type 31
  Vendor: IBM       Model: 572E001           Rev: 0150
  Type:   Unknown                            ANSI SCSI revision: 00
SCSI device sda: 143374000 512-byte hdwr sectors (73407 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write through w/ FUA
SCSI device sda: 143374000 512-byte hdwr sectors (73407 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write through w/ FUA
 sda: sda1 sda2 sda3
sd 0:0:1:0: Attached scsi disk sda
sd 0:0:1:0: Attached scsi generic sg0 type 0
scsi 0:255:255:255: Attached scsi generic sg1 type 31
scsi1 : scsi_debug, version 1.75 [20050113], dev_size_mb=8, opts=0x0
  Vendor: Linux     Model: scsi_debug        Rev: 0004
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sdb: 16384 512-byte hdwr sectors (8 MB)
sdb: Write Protect is off
SCSI device sdb: drive cache: write back
SCSI device sdb: 16384 512-byte hdwr sectors (8 MB)
sdb: Write Protect is off
SCSI device sdb: drive cache: write back
 sdb: unknown partition table
sd 1:0:0:0: Attached scsi disk sdb
sd 1:0:0:0: Attached scsi generic sg2 type 0
ohci_hcd 0000:07:00.0: OHCI Host Controller
ohci_hcd 0000:07:00.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:07:00.0: irq 19, io mem 0xc0200000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ohci_hcd 0000:07:00.1: OHCI Host Controller
ohci_hcd 0000:07:00.1: new USB bus registered, assigned bus number 2
ohci_hcd 0000:07:00.1: irq 19, io mem 0xc0201000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
USB Universal Host Controller Interface driver v3.0
usbcore: registered new driver usbhid
/home/poff/linux-ppc-2.6.hg/drivers/usb/input/hid-core.c: v2.6:USB HID core 
driver
pegasus: v0.6.13 (2005/11/13), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new driver pegasus
usbcore: registered new driver usbserial
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/usb-serial.c: USB Serial support 
registered for generic
usbcore: registered new driver usbserial_generic
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/usb-serial.c: USB Serial Driver 
core
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/usb-serial.c: USB Serial support 
registered for DeLorme Earthmate USB
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/usb-serial.c: USB Serial support 
registered for HID->COM RS232 Adapter
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/usb-serial.c: USB Serial support 
registered for Nokia CA-42 V2 Adapter
usbcore: registered new driver cypress
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/cypress_m8.c: Cypress USB to 
Serial Driver v1.09
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/usb-serial.c: USB Serial support 
registered for Garmin GPS usb/tty
usbcore: registered new driver garmin_gps
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/garmin_gps.c: garmin gps driver 
v0.23
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/usb-serial.c: USB Serial support 
registered for IPWireless converter
usbcore: registered new driver ipwtty
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/ipw.c: IPWireless tty driver v0.3
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/usb-serial.c: USB Serial support 
registered for Keyspan - (without firmware)
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/usb-serial.c: USB Serial support 
registered for Keyspan 1 port adapter
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/usb-serial.c: USB Serial support 
registered for Keyspan 2 port adapter
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/usb-serial.c: USB Serial support 
registered for Keyspan 4 port adapter
usbcore: registered new driver keyspan
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/keyspan.c: v1.1.4:Keyspan USB to 
Serial Converter Driver
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/usb-serial.c: USB Serial support 
registered for TI USB 3410 1 port adapter
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/usb-serial.c: USB Serial support 
registered for TI USB 5052 2 port adapter
usbcore: registered new driver ti_usb_3410_5052
/home/poff/linux-ppc-2.6.hg/drivers/usb/serial/ti_usb_3410_5052.c: TI USB 
3410/5052 Serial Driver v0.9
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
Ebtables v2.0 registered
ebt_ulog: not logging via ulog since somebody else already registered for 
PF_BRIDGE
802.1Q VLAN Support v1.8 Ben Greear <greearb@xxxxxxxxxxxxxxx>
All bugs added by David S. Miller <davem@xxxxxxxxxx>
ReiserFS: sda3: found reiserfs format "3.6" with standard journal
ReiserFS: sda3: using ordered data mode
ReiserFS: sda3: journal params: device sda3, size 8192, journal first block 18, 
max trans len 1024, max batch 900, max commit0
ReiserFS: sda3: checking transaction log (sda3)
ReiserFS: sda3: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 232k freed
init has generated signal 11 but has no handler for it
Kernel panic - not syncing: Attempted to kill init!
 <0>Rebooting in 180 seconds..<0>Maple: Unable to find NVRAM
Maple: Manual Restart Required
System Halted, OK to turn off power


> The ramdisk issue means that you have to build a zImage (vmlinux + initrd) 
> and boot that as dom0
> google can help you figure this out.


_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel