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-users

Re: [Xen-users] Kernel panic - not syncing: VFS: Unable to mount root fs

To: Julien TOUCHE <julien.touche@xxxxxxxxx>
Subject: Re: [Xen-users] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3, 1)
From: Yvette Chanco <yentlsoup@xxxxxxxxx>
Date: Tue, 5 Jul 2005 00:39:44 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 05 Jul 2005 05:38:34 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ufyfe/EQpeJthIuk3N/yOtLUXy4vhpcL0yLFSjATlvpFdyVtDvciAAr8MkASSR4TLDDJRVjV41iGaQsqfBTyP3jEgBpMam+tTs48eEMD6gY6L8LA0+tej7I1qFoO40bFRN3yXolUqtRwTP9pWpckU7CHIkTQsxeu1k3/PCWldEA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42C984E6.5060207@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <42C984E6.5060207@xxxxxxxxx>
Reply-to: Yvette Chanco <yentlsoup@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Julien,

Looking at your menu list, I'm curious about this line:

module          /initrd.img-2.6.11-ocxen0

Did you create an initrd.img by hand? That kernel is minimal, and was
designed to boot without need for an initrd (as long as the hardware
which contains your root device is supported, which it appears to be).
You might want to try removing that line. If that doesn't help, please
post a dmesg from a boot for a non-xen kernel

-Yvette


On 7/4/05, Julien TOUCHE <julien.touche@xxxxxxxxx> wrote:
> 
> i'm currently trying to install xen 2.0.6 on debian sarge/x86. i take
> package from "deb http://www.option-c.com/debian unstable main"
> + tools
> 
> i boot xen dom0 with the following in grub menu.lst
> 
> title           Xen 2.0
> root            (hd0,1)
> kernel          /xen.gz dom0_mem=65536 noacpi max_loop=32 com1=19200,8n1
> module          /xen-linux-2.6.11-ocxen0 root=/dev/hda1 ro
> console=ttyS0,19200 console=tty0
> module          /initrd.img-2.6.11-ocxen0
> 
> ===
>    Booting 'Xen 2.0'
> 
> root            (hd0,1)
>   Filesystem type is ext2fs, partition type 0x83
> kernel          /xen.gz dom0_mem=65536 noacpi max_loop=32 com1=19200,8n1
>     [Multiboot-elf, <0x100000:0x3f070:0x35f90>, shtab=0x175078,
> entry=0x100000]
> module          /xen-linux-2.6.11-ocxen0 root=/dev/hda5 ro
> console=ttyS0,19200
> console=tty0
>     [Multiboot-module @ 0x176000, 0x3fc808 bytes]
> module  /initrd.img-2.6.11-ocxen0
>     [Multiboot-module @ 0x573000, 0xfa000 bytes]
> 
>   __  __            ____    ___   __
>   \ \/ /___ _ __   |___ \  / _ \ / /_
>    \  // _ \ '_ \    __) || | | | '_ \
>    /  \  __/ | | |  / __/ | |_| | (_) |
>   /_/\_\___|_| |_| |_____(_)___(_)___/
> 
>   http://www.cl.cam.ac.uk/netos/xen
>   University of Cambridge Computer Laboratory
> 
>   Xen version 2.0.6 (root@[unknown]) (gcc version 3.3.5 (Debian
> 1:3.3.5-13)) Mon
> Jun 13 23:39:47 UTC 2005
>   Latest ChangeSet: information unavailable
> 
> (XEN) Physical RAM map:
> (XEN)  0000000000000000 - 00000000000a0000 (usable)
> (XEN)  00000000000f0000 - 0000000000100000 (reserved)
> (XEN)  0000000000100000 - 0000000010000000 (usable)
> (XEN)  00000000ffff0000 - 0000000100000000 (reserved)
> (XEN) System RAM: 255MB (261760kB)
> (XEN) Xen heap: 10MB (10788kB)
> (XEN) CPU0: Before vendor init, caps: 0183f9ff 00000000 00000000, vendor = 0
> (XEN) CPU caps: 0183f9ff 00000000 00000000 00000000
> (XEN) Using scheduler: Borrowed Virtual Time (bvt)
> (XEN) Initializing CPU#0
> (XEN) Detected 300.689 MHz processor.
> (XEN) Local APIC disabled by BIOS -- reenabling.
> (XEN) Found and enabled local APIC!
> (XEN) CPU0: Before vendor init, caps: 0183fbff 00000000 00000000, vendor = 0
> (XEN) CPU caps: 0183fbff 00000000 00000000 00000000
> (XEN) CPU0 booted
> (XEN) SMP motherboard not detected.
> (XEN) enabled ExtINT on CPU#0
> (XEN) ESR value before enabling vector: 00000000
> (XEN) ESR value after enabling vector: 00000000
> (XEN) Using local APIC timer interrupts.
> (XEN) Calibrating APIC timer for CPU0...
> (XEN) ..... CPU speed is 300.6919 MHz.
> (XEN) ..... Bus speed is 66.8202 MHz.
> (XEN) ..... bus_scale = 0x0000446D
> (XEN) Time init:
> (XEN) .... System Time: 20002673ns
> (XEN) .... cpu_freq:    00000000:11EC27F8
> (XEN) .... scale:       00000003:53607A81
> (XEN) .... Wall Clock:  1120402538s 60000us
> (XEN) PCI: PCI BIOS revision 2.10 entry at 0xfb380, last bus=1
> (XEN) PCI: Using configuration type 1
> (XEN) PCI: Probing PCI hardware
> (XEN) PCI: Probing PCI hardware (bus 00)
> (XEN) PCI: Using IRQ router PIIX/ICH [8086/7110] at 00:07.0
> (XEN) Limiting direct PCI/PCI transfers.
> (XEN) mtrr: v2.0 (20020519)
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN) Xen-ELF header found:
> 'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=2.0,VIRT_BASE=
> 0xC0000000,LOADER=generic,PT_MODE_WRITABLE'
> (XEN) PHYSICAL MEMORY ARRANGEMENT:
> (XEN)  Kernel image:  00c00000->00ffc808
> (XEN)  Initrd image:  00ffd000->010f7000
> (XEN)  Dom0 alloc.:   01400000->05400000
> (XEN) VIRTUAL MEMORY ARRANGEMENT:
> (XEN)  Loaded kernel: c0100000->c0532044
> (XEN)  Init. ramdisk: c0533000->c062d000
> (XEN)  Phys-Mach map: c062d000->c063d000
> (XEN)  Page tables:   c063d000->c0640000
> (XEN)  Start info:    c0640000->c0641000
> (XEN)  Boot stack:    c0641000->c0642000
> (XEN)  TOTAL:         c0000000->c0800000
> (XEN)  ENTRY ADDRESS: c0100000
> (XEN) Scrubbing DOM0 RAM: .done.
> (XEN) Initrd len 0xfa000, start at 0xc0533000
> (XEN) Scrubbing Free RAM: ...done.
> (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch
> input to Xen
> ).
> Linux version 2.6.11-ocxen0 (root@debian_build) (gcc version 3.3.5
> (Debian 1:3.3
> .5-13)) #1 Thu Jun 16 15:44:37 UTC 2005
> BIOS-provided physical RAM map:
>   Xen: 0000000000000000 - 0000000004000000 (usable)
> 0MB HIGHMEM available.
> 64MB LOWMEM available.
> DMI 2.3 present.
> IRQ lockup detection disabled
> Allocating PCI resources starting at 04000000 (gap: 04000000:fc000000)
> Built 1 zonelists
> Kernel command line: root=/dev/hda5 ro console=ttyS0,19200 console=tty0
> Initializing CPU#0
> PID hash table entries: 512 (order: 9, 8192 bytes)
> Xen reported: 300.689 MHz processor.
> Using tsc for high-res timesource
> Console: colour VGA+ 80x25
> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
> vmalloc area: c4800000-fb7fe000, maxmem 34000000
> Memory: 59360k/65536k available (2944k kernel code, 6084k reserved, 894k
> data, 2
> 04k init, 0k highmem)
> Checking if this processor honours the WP bit even in supervisor mode... Ok.
> Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
> CPU: L1 I cache: 16K, L1 D cache: 16K
> CPU: L2 cache: 128K
> CPU: Intel Celeron (Mendocino) stepping 00
> Enabling fast FPU save and restore... done.
> Checking 'hlt' instruction... disabled
> checking if image is initramfs...it isn't (bad gzip magic numbers);
> looks like a
> n initrd
> Freeing initrd memory: 1000k freed
> NET: Registered protocol family 16
> PCI: Using configuration type Xen
> xen_mem: Initialising balloon driver.
> SCSI subsystem initialized
> usbcore: registered new driver hub
> PCI: Probing PCI hardware
> PCI: Probing PCI hardware (bus 00)
> PCI: Probing PCI hardware (bus 01)
> PCI: Probing PCI hardware
> IA-32 Microcode Update Driver: v1.14-xen <tigran@xxxxxxxxxxx>
> Initializing Cryptographic API
> Limiting direct PCI/PCI transfers.
> serio: i8042 AUX port at 0x60,0x64 irq 12
> serio: i8042 KBD port at 0x60,0x64 irq 1
> 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 4096K size 1024 blocksize
> loop: loaded (max 8 devices)
> HP CISS Driver (v 2.6.4)
> Intel(R) PRO/1000 Network Driver - version 5.6.10.1-k2
> Copyright (c) 1999-2004 Intel Corporation.
> pcnet32.c:v1.30i 06.28.2004 tsbogend@xxxxxxxxxxxxxxxx
> e100: Intel(R) PRO/100 Network Driver, 3.3.6-k2-NAPI
> e100: Copyright(c) 1999-2004 Intel Corporation
> 8139too Fast Ethernet driver 0.9.27
> (XEN) PCI: Found IRQ 10 for device 00:0d.0
> PCI: Obtained IRQ 10 for device 0000:00:0d.0
> eth0: RealTek RTL8139 at 0xa800, 00:50:fc:1f:1f:52, IRQ 10
> Xen virtual console successfully installed as ttyS
> Event-channel device installed.
> Initialising Xen netif backend
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> PIIX4: IDE controller at PCI slot 0000:00:07.1
> PIIX4: chipset revision 1
> PIIX4: not 100% native mode: will probe irqs later
>      ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
>      ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
> hda: IBM-DJNA-351520, ATA DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hdc: CRD-8322B, ATAPI CD/DVD-ROM drive
> hdd: SONY CD-RW CRX160E, ATAPI CD/DVD-ROM drive
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: max request size: 128KiB
> hda: 30033360 sectors (15377 MB) w/430KiB Cache, CHS=29795/16/63, UDMA(33)
>   hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 >
> hdc: ATAPI 32X CD-ROM drive, 128kB Cache, DMA
> Uniform CD-ROM driver Revision: 3.20
> hdd: ATAPI 32X CD-ROM CD-R/RW drive, 4096kB Cache, UDMA(33)
> Red Hat/Adaptec aacraid driver (1.1.2-lk2 Jun 16 2005)
> 3ware Storage Controller device driver for Linux v1.26.02.000.
> Fusion MPT base driver 3.01.18
> Copyright (c) 1999-2004 LSI Logic Corporation
> Fusion MPT SCSI Host driver 3.01.18
> USB Universal Host Controller Interface driver v2.2
> (XEN) PCI: Found IRQ 12 for device 00:07.2
> (XEN) PCI: Sharing IRQ 12 with 00:09.0
> PCI: Obtained IRQ 12 for device 0000:00:07.2
> uhci_hcd 0000:00:07.2: UHCI Host Controller
> uhci_hcd 0000:00:07.2: irq 12, io base 0xa000
> 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
> usbcore: registered new driver usbhid
> drivers/usb/input/hid-core.c: v2.0:USB HID core driver
> mice: PS/2 mouse device common for all mice
> md: raid0 personality registered as nr 2
> md: raid1 personality registered as nr 3
> md: raid5 personality registered as nr 4
> raid5: measuring checksumming speed
>     8regs     :   554.800 MB/sec
>     8regs_prefetch:   466.000 MB/sec
>     32regs    :   278.400 MB/sec
>     32regs_prefetch:   261.600 MB/sec
>     pII_mmx   :   466.000 MB/sec
>     p5_mmx    :   486.000 MB/sec
> raid5: using function: 8regs (554.800 MB/sec)
> md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
> device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@xxxxxxxxxx
> NET: Registered protocol family 2
> IP: routing cache hash table of 512 buckets, 4Kbytes
> TCP established hash table entries: 4096 (order: 3, 32768 bytes)
> TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
> TCP: Hash tables configured (established 4096 bind 4096)
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> Bridge firewalling registered
> md: Autodetecting RAID arrays.
> md: autorun ...
> md: ... autorun DONE.
> RAMDISK: cramfs filesystem found at block 0
> RAMDISK: Loading 1000KiB [1 disk] into ram disk... done.
> Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(3,1)
>   (XEN) Domain 0 shutdown: rebooting machine.
> ===
> 
> # mount
> /dev/hda1 on / type ext3 (rw,errors=remount-ro)
> proc on /proc type proc (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> tmpfs on /dev/shm type tmpfs (rw)
> /dev/hda2 on /boot type ext3 (rw,noexec,nosuid,nodev)
> /dev/hda5 on /usr type ext3 (rw,nodev)
> /dev/hda6 on /tmp type ext3 (rw,noexec,nosuid,nodev)
> /dev/hda7 on /home type ext3 (rw,nosuid,nodev)
> /dev/hda8 on /var type ext3 (rw,nosuid,nodev)
> /dev/hda9 on /var/log type ext3 (rw,noexec,nosuid,nodev)
> usbfs on /proc/bus/usb type usbfs (rw)
> 
> i've checked xen-users archive but
> $ egrep -in ext3 /boot/config-2.6.11-ocxen0
> 1003:CONFIG_EXT3_FS=y
> 1004:CONFIG_EXT3_FS_XATTR=y
> 1005:# CONFIG_EXT3_FS_POSIX_ACL is not set
> 1006:# CONFIG_EXT3_FS_SECURITY is not set
> 
> any ideas ?
> 
> thanks
> Regards
> 
>                 Julien
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

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