[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xen on suse 9.3 and software raid



Gerd Knorr wrote:
Kernel command line: root=/dev/system/dom0_root selinux=0

                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
Hmm, that looks strange.  Shouldn't that be /dev/md0?
How do your grub entries look like?  What boot messages
do you get when booting the default kernel?

Sorry, I didn't provide all the information.

I forgot to mention that I was using LVM on top of raid1.

I'll append the boot messages for the default kernel at
the end of the message.

My grub entry

  title XEN
      kernel (hd0,0)/xen.gz dom0_mem=262144 com1=9600,8n1
      module (hd0,0)/vmlinuz-xen root=/dev/system/dom0_root \
        selinux=0 splash=silent console=ttyS0  showopts
    module (hd0,0)/initrd-xen


Here is what my disk layout looks like

/dev/hda
  /dev/hda1   ext3   mounted on /boot in domain 0
  /dev/hda2   swap   unused at present
  /dev/hda3   software rsid

/dev/hdc
  /dev/hdc1   ext3   mounted on /foot in domain 0
                    (to boot from if /dev/hda is missing!)
  /dev/hdc2   ext3  unused at present
  /dev/hdc3   software rsid

/dev/md0      (/dev/hda3 + /dev/hdc3)

volume group 'system' using physical volume /dev/md0
  volume groups
  /dev/system/dom0_root    root filesystem for domain 0
  /dev/system/domU1_root   root filesystem for domain 1
  /dev/system/domU2_root   root filesystem for domain 2
  etc

grub installed in MBR's of both /dev/hda and /dev/hdc
and in /boot and /foot file systems.


raidautorun ...
done...
Waiting for device /dev/system/dom0_root to appear: . Unable to find volume group "system"
.  Unable to find volume group "system"
.  Unable to find volume group "system"
.  Unable to find volume group "system"
.  Unable to find volume group "system"
 Reading all physical volumes.  This may take a while...
 No volume groups found
 Unable to find volume group "system"


Hmm, tries to activate lvm.  Doesn't find volume groups.  Not
that surprising ...

I think it is not finding the volume groups because vgchange
in the init script can't read the physical volume /dev/md0.

If you wish, I could simply do away with LVM for testing purposes
and put the root filesystem on the bare /dev/md0 device.



$ ls /sys/block
hda    loop1  loop4  loop7  ram1   ram12  ram15  ram4  ram7
hdb    loop2  loop5  md0    ram10  ram13  ram2   ram5  ram8
loop0  loop3  loop6  ram0   ram11  ram14  ram3   ram6  ram9


So md0 is there, good.


$ cat /sys/block/md0/dev
9:0


Fine.


$ cat /sys/block/md0/size
0


Hmm.  Not sure whenever this is a problem.
I was expecting to see the value 232299648 in /sys/block/md0/size
This struck me as strange. There is enough of the raid stuff
working for you to see the /sys/block/md0 directory, but not
enough working to see a correctly reported size or an entry
corresponding to md0 in /proc/mdstat.


  Gerd


Here is the boot messages for the -default kernel:
Sorry it is a bit garbled. And yuk, escape sequences!
Perhaps this should be an attachment instead?

-----------%<----%<---------------

Linux version 2.6.11.4-20a-default (geeko@buildhost) (gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)) #1 Wed Mar 23 21:52:37 UTC 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000014000000 (usable)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
320MB LOWMEM available.
DMI not present.
ACPI: Unable to locate RSDP
Allocating PCI resources starting at 14000000 (gap: 14000000:ebff0000)
Built 1 zonelists
Kernel command line: root=/dev/system/dom0_root selinux=0 splash=silent console=ttyS0,9600n8 showopts
bootsplash: silent mode.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 735.057 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 319416k/327680k available (1865k kernel code, 7660k reserved, 659k data, 204k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok.
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel Celeron (Coppermine) stepping 0a
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
checking if image is initramfs... it is
Freeing initrd memory: 1542k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfa780, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050211
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router default [8086/7110] at 0000:00:07.0
TC classifier action (bugs to netdev@xxxxxxxxxxx cc hadi@xxxxxxxxxx)
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
audit: initializing netlink socket (disabled)
audit(1115994033.879:0): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
loop: loaded (max 8 devices)
mice: PS/2 mouse device common for all mice
input: PC Speaker
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
NET: Registered protocol family 1
Freeing unused kernel memory: 204k freed
Starting udev
Creating devicinput: AT Translated Set 2 keyboard on isa0060/serio0
es
Loading kernel/drivers/ide/ide-cUniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ore.ko
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Loading kernel/dPIIX4: IDE controller at PCI slot 0000:00:07.1
rivers/ide/pci/pPIIX4: chipset revision 1
iix.ko
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: ST3120022A, ATA DISK drive
hdb: DM-2000TE, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Loading kernel/dmd: raid1 personality registered as nr 3
rivers/md/raid1.device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@xxxxxxxxxx
ko
Loading kernel/drivers/md/dm-mod.ko
Loadinghda: max request size: 1024KiB
kernel/drivers/hda: 234441648 sectors (120034 MB)md/dm-snapshot.k w/2048KiB Cacheo
Loading kerne, CHS=16383/255/63l/drivers/ide/id, UDMA(33)e-disk.ko

hda: cache flushes supported
 hda: hda1 hda2 hda3
Loading kernel/drivers/cdrom/cdrom.ko
Loading kernel/drivers/ide/ide-cd.ko
hdb: ATAPI 50X DVD-ROM drive, 256kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
Waiting for /dev/mapper/control to appear:  ok
Loading kernel/fs/jbd/jbd.ko
Loading kernel/fs/ext3/ext3.ko
ramd: Autodetecting RAID arrays.
idautorun ...
md: autorun ...
md: considering hda3 ...
md:  adding hda3 ...
md: created md0
md: bind<hda3>
md: running: <hda3>
raid1: raid set md0 active with 1 out of 2 mirrors
md: ... autorun DONE.
done...
Waiting for device /dev/system/dom0_root to appear: . 4 logical volume(s) in volume group "system" now active
 ok
rootfs:  major=253 minor=0 devn=64768
fsck 1.36kjournald starting.  Commit interval 5 seconds
 (05-Feb-2005)
EXT3 FS on dm-0, /dev/system/dom0internal journal
_root: clean, 12EXT3-fs: mounted filesystem with ordered data mode.
3770/393216 files, 726204/786432 blocks
fsck succeeded. Mounting root device read-write.
Mounting root /dev/system/dom0_root
 INIT: version 2.85 booting
System Boot Control: Running /etc/init.d/boot
Mounting /proc filesystem7[?25l done8[?25h
Mounting sysfs on /sys7[?25l done8[?25h
Mounting /dev/pts7[?25l done8[?25h
Boot logging started on /dev/ttyS0(/dev/console) at Fri May 13 15:20:43 2005
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Mounting shared memory FS on /dev/shm done
Activating swap-devices in /etc/fstab...
7[?25l done8[?25hActivating device mapper...
Starting udevd Creating /dev/mapper/control character device with major:10 minor:63.
7[?25l done8[?25h
7[?25l done8[?25h
Scanning for LVM volume groups...
Coldplug
Coldplug: cleaning /events Reading all physical volumes. This may take a while...
hwup: Loading module 'lp'  for device 'printer'
parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
  Found volume group "system" using metadata type lvm2
Activating LVM volume glp0: using parport0 (polling).
roups...
  4 logical volume(s) in volume group "system" now active
7[?25l done8[?25h
 processing events7[?25l done8[?25h
Checking file systems...
fsck 1.36 (05-Feb-2005)
Checking all file systems.
[/sbin/fsck.ext3 (1) -- /boot] fsck.ext3 -a /dev/hda1
/foot1 (/dev/hda1): clean, 47/66400 files, 8230/132528 blocks
7[?25l done8[?25hSetting up kernel module dependencies (if required)e100: Intel(R) PRO/100 Network Driver, 3.4.1-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
e100: eth0: e100_probe: addr 0xe7041000, irq 10, MAC addr 00:80:79:03:17:8F
e100: eth1: e100_probe: addr 0xe7040000, irq 11, MAC addr 00:80:79:83:17:8F
piix4_smbus 0000:00:07.3: Found 0000:00:07.3 device
SCSI subsystem initialized
st: Version 20041025, fixed bufsize 32768, s/g segs 256
BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 440GX Chipset.
agpgart: Maximum main memory to use for agp memory: 263M
agpgart: AGP aperture is 64M @ 0xe0000000
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: irq 10, io base 0xe000
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usb 1-1: new low speed USB device using uhci_hcd and address 2
7[?25l done8[?25h
Mounting local fkjournald starting.  Commit interval 5 seconds
ile systems...  EXT3 FS on hda1,
proc on /proc tinternal journal
ype proc (rw)
EXT3-fs: mounted filesystem with ordered data mode.
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda1 on /boot type ext3 (rw,acl,user_xattr)
7[?25l done8[?25hSetting up the CMOS clock7[?25l done8[?25h
Creating /var/log/boot.msg
7[?25l done8[?25hLoading required kernel modules
Capability LSM initialized
ieee1394: raw1394: /dev/raw1394 device initialized
video1394: Installed video1394 module
7[?25l done8[?25hcdrom: open failed.
Setting up hostname 'adler'7[?25l done8[?25h
Setting up loopback interface     lo
Restore device permissions7[?25l done8[?25h
    lo        IP address: 127.0.0.1/8
usbcore: registered new driver hiddev
input: USB HID v1.00 Mouse [1241:1111] on usb-0000:00:07.2-1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
7[?25l done8[?25h
Disk /dev/md0 doesn't contain a valid partition table
Activating remaining swap-devices in /etc/fstab...
7[?25l done8[?25hStarting Firewall Initialization (phase 1 of 2) Setting current sysctl status from /etc/sysctl.conf
NET: Registered protocol family 10
Disabled Privacy Extensions on device c033d600(lo)
IPv6 over IPv4 tunneling driver
ip6_tables: (C) 2000-2002 Netfilter core team
Disabled Privacy Extensions on device cc0f1400(sit0)
SuSEfirewall2: Warning: ip6tables does not support state matching. Extended IPv6 support disabled.
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.all.rp_filter = 1
7[?25l p_tables: (C) 2000-2002 Netfilter core team
0Ddoneip_conntrack version 2.1 (2560 buckets, 20480 max) - 248 bytes per conntrack
8[?25h
Enabling syn flood protection done
Disabling IP forwarding7[?25l done8[?25h
Disabling IPv6 forwarding7[?25l done8[?25h
Disabling IPv6 privacy7[?25l done8[?25h
7[?25l done8[?25h
7[?25l done8[?25h
System Boot Control: The system has been  set up
System Boot Control: Running /etc/init.d/boot.local
7[?25l done8[?25h INIT: Entering runlevel: 5
Boot logging started on /dev/ttyS0(/dev/console) at Fri May 13 15:21:51 2005 Master Resource Control: previous runlevel: N, switching to runlevel: 5
Starting syslog services7[?25l done8[?25h
Starting D-BUS daemon7[?25l done8[?25h
Setting up network interfaces:
Initializing random number generator7[?25l done8[?25h
Starting resource manager7[?25l done8[?25h
Loading keymap qwerty/uk.map.gz
7[?25l done8[?25h    lo
    lo        IP address: 127.0.0.1/8
7[?25l done8[?25he100: eth0: e100_watchdog: link up, 10Mbps, half-duplex eth0 device: Intel Corporation 8255xER/82551IT Fast Ethernet Controller (rev 09)
    eth0      configuration: eth-id-00:80:79:03:17:8f
    eth0      IP address: 10.0.0.19/8
7[?25l done8[?25hLoading compose table winkeys shiftctrl latin1.add7[?25l done8[?25h
Start Unicode mode
7[?25l done8[?25hLoading console font lat9w-16.psfu -m trivial G0:loadable 7[?25l done8[?25h eth1 device: Intel Corporation 8255xER/82551IT Fast Ethernet Controller (rev 09)
    eth1      No configuration found for eth1
7[?25l unused8[?25hWaiting for mandatory devices: eth-id-00:80:79:03:f1:55
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
    eth-id-00:80:79:03:f1:55            No interface found
7[?25l failed8[?25hSetting up service network . . . . . . . . . . . . . . . .7[?25l failed8[?25h
Starting RPC portmap daemon7[?25l done8[?25h
Importing Net File System (NFS) unused
Starting mail service (Postfix)Starting nfsboot (sm-notify) 7[?25l done8[?25h
7[?25l done8[?25h
Starting sound driver7[?25l done8[?25h
Starting CRON daemon7[?25l done8[?25h
Starting HAL daemonStarting hardware scan on boot7[?25l done8[?25h Starting Name Service Cache Daemon7[?25l done8[?25h This machine supports APM Starting powersaved 7[?25l failed8[?25h
Starting SSH daemon7[?25l done8[?25h
Starting service xdm7[?25l done8[?25h
Starting xend 7[?25l unused8[?25h
7[?25l done8[?25h
Master Resource Control: runlevel 5 has been  reached
Failed services in runlevel 5: network powersaved
Skipped services in runlevel 5: nfs xend

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.