search for: register_blkdev

Displaying 20 results from an estimated 70 matches for "register_blkdev".

2006 Feb 13
3
AW: Exporting Dom0 disks to DomU as SCSI disks doesnot work
Hello Digvijoy, > Does your kernel have inbuilt support for Logical Volumes > ,because your ouptut shows VFS is unable to mount root ,which > means dm-mod and multidevice modules wasnt compiled into the kernel. Multi-device support is compiled into my DomU kernel, device-mapper is built as a module. But I don''t think this has something to do with my problem because
2007 Jul 13
12
XEN 3.1: critical bug: vif init failure after creating 15-17 VMs (XENBUS: Timeout connecting to device: device/vif)
We have found a critical problem with the XEN 3.1 release (for those who are running 15-20 VMs on a single server). We are using the official XEN 3.1 release on a rackable server (Dual-Core AMD Opteron, 8GB RAM). The problem we are seeing is that intermittently vifs fail to work properly in VMs after we create around 15-17 VMs on our server (all running at the same time, created one by
2006 Sep 12
2
How HVM domain distingush ioemu disk and VBD disk
...qemu-dm will recognize disk had, hdb, hdc, hdd, and VBD drive can recognize all disk (had~hdd, hde, hdf ...) . So the result is: qemu-dm will mount /dev/hda-hdd, and VBD driver will mount the rest (/dev/hde,...). Actually, VBD will also try to mount /dev/hda..., but failed with error message "register_blkdev: cannot get major 3 for ide", since the /hda is already mounted as qemu-dm disk. This looks a litt bit confusing. So I just wonder: is this the expected behavor? Do we intend having some explicit mechanism to indentify ioemu disk and VBD disk? Best Regards Ke ______________________________...
2009 Apr 01
4
Linux PV Drivers - VBD device not loading - Cannot get Major 3/22 for ide
...t 0x378, irq 7 [PCSPP,TRISTATE] piix4_smbus 0000:00:01.3: Found 0000:00:01.3 device piix4_smbus 0000:00:01.3: SMB base address uninitialized - upgrade BIOS or use f orce_addr=0xaddr hdc: ATAPI 4X CD-ROM drive, 512kB Cache, (U)DMA Uniform CD-ROM driver Revision: 3.20 Registering block device major 3 register_blkdev: cannot get major 3 for ide xen_blk: can''t get major 3 with name ide vbd vbd-768: 19 xlvbd_add at /local/domain/0/backend/vbd/109/768 Registering block device major 3 register_blkdev: cannot get major 3 for ide xen_blk: can''t get major 3 with name ide vbd vbd-768: 19 xlvbd_add at...
2005 Sep 29
1
Kernel panic - not syncing: Attempted to kill init!
...ate if somebody can help me with this error. The error I get when booting xen-domainU is: /======================= Red Hat nash version 4.1.18 starting Mounted /proc filesystem Mounting sysfs Creating /dev Starting udev Loading scsi_mod.ko module SCSI subsystem initialized Loading sd_mod.ko module register_blkdev: cannot get major 8 for sd Creating root device Mounting root filesystem EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds Switching to new root Enforcing mode requested but no policy loaded. Halting now. Kernel panic - not syncing: Attempted to kill...
2005 Jul 31
1
xen 3.0 on UP amd64 - rootfs mounting problem in xenU
...tem) readonly. + insmod /lib/modules/2.6.12.3-0.2/kernel/drivers/scsi/scsi_mod.ko Using /lib/modules/2.6.12.3-0.2/kernel/drivers/scsi/scsi_mod.ko SCSI subsystem initialized + insmod /lib/modules/2.6.12.3-0.2/kernel/drivers/scsi/sd_mod.ko Using /lib/modules/2.6.12.3-0.2/kernel/drivers/scsi/sd_mod.ko register_blkdev: cannot get major 8 for sd + insmod /lib/modules/2.6.12.3-0.2/kernel/fs/mbcache.ko Using /lib/modules/2.6.12.3-0.2/kernel/fs/mbcache.ko + insmod /lib/modules/2.6.12.3-0.2/kernel/fs/jbd/jbd.ko Using /lib/modules/2.6.12.3-0.2/kernel/fs/jbd/jbd.ko + insmod /lib/modules/2.6.12.3-0.2/kernel/fs/ext3/ext3...
2012 Mar 21
2
[PATCH] xen: initialize platform_pci even if xen_emul_unplug=never
...blkfront.c b/drivers/block/xen-blkfront.c index 2f22874..d5e1ab9 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c @@ -1475,6 +1475,9 @@ static int __init xlblk_init(void) if (!xen_domain()) return -ENODEV; + if (!xen_platform_pci_unplug) + return -ENODEV; + if (register_blkdev(XENVBD_MAJOR, DEV_NAME)) { printk(KERN_WARNING "xen_blk: can''t get major %d with name %s\n", XENVBD_MAJOR, DEV_NAME); diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c index b161750..663b32c 100644 --- a/drivers/net/xen-netfront.c +++ b/drivers/net...
2008 Jan 31
4
[PATCH] virtio_blk: Dont waste major numbers
...err, major; + int err; u64 cap; u32 v; + if (minor >= 1 << MINORBITS) + return -ENOSPC; + vdev->priv = vblk = kmalloc(sizeof(*vblk), GFP_KERNEL); if (!vblk) { err = -ENOMEM; @@ -200,17 +206,11 @@ static int virtblk_probe(struct virtio_d goto out_free_vq; } - major = register_blkdev(0, "virtblk"); - if (major < 0) { - err = major; - goto out_mempool; - } - /* FIXME: How many partitions? How long is a piece of string? */ - vblk->disk = alloc_disk(1 << 4); + vblk->disk = alloc_disk(1 << PART_BITS); if (!vblk->disk) { err = -ENOMEM; -...
2008 Jan 31
4
[PATCH] virtio_blk: Dont waste major numbers
...err, major; + int err; u64 cap; u32 v; + if (minor >= 1 << MINORBITS) + return -ENOSPC; + vdev->priv = vblk = kmalloc(sizeof(*vblk), GFP_KERNEL); if (!vblk) { err = -ENOMEM; @@ -200,17 +206,11 @@ static int virtblk_probe(struct virtio_d goto out_free_vq; } - major = register_blkdev(0, "virtblk"); - if (major < 0) { - err = major; - goto out_mempool; - } - /* FIXME: How many partitions? How long is a piece of string? */ - vblk->disk = alloc_disk(1 << 4); + vblk->disk = alloc_disk(1 << PART_BITS); if (!vblk->disk) { err = -ENOMEM; -...
2012 Apr 16
4
CentOS 6.x, kernel-2.6.32-220.7.1, EC2 and drive enumeration
...nd xvdc. On reboot into 2.6.32-220.7.1 this is what the kernel reports this: dracut: dracut-004-256.el6 device-mapper: uevent: version 1.0.3 device-mapper: ioctl: 4.22.6-ioctl (2011-10-19) initialised: dm-devel at redhat.com udev: starting version 147 dracut: Starting plymouth daemon %Gxlblk_init: register_blkdev major: 202 blkfront: xvde1: barriers disabled blkfront: xvdf: barriers disabled xvdf: unknown partition table %Gblkfront: xvdg: barriers disabled xvdg: unknown partition table dracut Warning: No root device "block:/dev/xvda1" found %G%G dracut Warning: Boot has failed. To debug thi...
2012 Mar 30
3
linux-3.4-rc0 XENBUS: Device with no driver: device/vbd/51713
Hi Konrad, I just tried linux-3.4-rc0 (linus his tree, last commit f52b69f86e27903d6896ed5fa7cd280fec8de532) with 3 additional branches from your tree pulled on top of that: branch stable/for-ingo-3.4.v2 (required for dom0 to boot) branch stable/for-jens-3.4 branch stable/for-jens-3.4-bugfixes Hypervisor is xen-4.1.3-rc1-pre linux 3.3 vanilla works fine Booting dom0 goes fine, but
2005 Oct 14
0
xen_blk: can''t get major 8 with name sd
...changeset would not boot dom0 on the SMP machine. Tyan 2462 SMP , FC4 dom0 changeset: 7369:92c6021f23e4 tag: tip parent: 7368:7b9547485703 parent: 7367:10c93f58b041 user: emellor@leeni.uk.xensource.com date: Thu Oct 13 10:26:44 2005 +0100 summary: Merge. register_blkdev: cannot get major 8 for sd xen_blk: can''t get major 8 with name sd Unable to handle kernel NULL pointer dereference at virtual address 00000104 printing eip: c0254428 *pde = ma 00000000 pa 55555000 Oops: 0002 [#1] SMP Modules linked in: CPU: 0 EIP: 0061:[<c0254428>] Not tai...
2010 Feb 07
1
suse 11.2 domU on lvm: anyone succeded?
Hi all I upgraded my testserver from opensuse 11.1 to 11.2 using zypper based method. All updates went smooth as far as there were no errors during the update process. Rebooting the whole farm the troubles started: not one domU bootet sucessfully, all of them showed the following messages: ... register_blkdev: cannot get major 8 for sd ... Volume group "VGsys" not found before they finally fail So I though, I set up a new domU using dirinstall, but this script fails also, actually dirinstall_finish fails. Ok, we still got vm-install, but that fails too. So I set up a basic image using suse s...
2006 Oct 23
0
Re: disk config
...caught up in that rad config? > > initrd-tools: 0.1.84.1 > mount: unknown filesystem type ''devfs'' > md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 > md: bitmap version 4.39 > md: raid1 personality registered for level 1 > SCSI subsystem initialized > register_blkdev: cannot get major 8 for sd > md: md0 stopped. > mdadm: no recogniseable superblock on /dev/sda1 > mdadm: /dev/sda1 has wrong uuid. > mdadm: cannot open device /dev/sdb1: No such device or address > mdadm: /dev/sdb1 has wrong uuid. > mdadm: cannot open device /dev/sdc1: No such dev...
2008 Apr 10
0
Problems with 64bit PV domU
...6:USB HID core driver usbcore: registered new driver usbkbd /root/xen/linux-2.6.18-xen.hg/drivers/usb/input/usbkbd.c: :USB HID Boot Protocol keyboard driver SCSI subsystem initialized Fusion MPT base driver 3.04.01 Copyright (c) 1999-2005 LSI Logic Corporation Fusion MPT SAS Host driver 3.04.01 register_blkdev: cannot get major 8 for sd Kernel panic - not syncing: Attempted to kill init!  mysql:/# my configuration file # kernel = ''/machines/mysql/vmlinuz-2.6.18.8-xen'' ramdisk  = ''/machines/mysql/initrd.img-2.6.18.8-xen'' memory  = ''1024'' vcpus=4 #...
2011 Jan 27
1
[PATCH] virtio_blk: allow re-reading config space at runtime
...= __devexit_p(virtblk_remove), > + .config_changed = virtblk_config_changed, > }; > > static int __init init(void) > { > + int error; > + > + virtblk_wq = alloc_workqueue("md_misc", 0, 0); > + if (!virtblk_wq) > + return -ENOMEM; > + > major = register_blkdev(0, "virtblk"); > - if (major < 0) > - return major; > - return register_virtio_driver(&virtio_blk); > + if (major < 0) { > + error = major; > + goto out_destroy_workqueue; > + } > + > + error = register_virtio_driver(&virtio_blk); > + if (err...
2011 Jan 27
1
[PATCH] virtio_blk: allow re-reading config space at runtime
...= __devexit_p(virtblk_remove), > + .config_changed = virtblk_config_changed, > }; > > static int __init init(void) > { > + int error; > + > + virtblk_wq = alloc_workqueue("md_misc", 0, 0); > + if (!virtblk_wq) > + return -ENOMEM; > + > major = register_blkdev(0, "virtblk"); > - if (major < 0) > - return major; > - return register_virtio_driver(&virtio_blk); > + if (major < 0) { > + error = major; > + goto out_destroy_workqueue; > + } > + > + error = register_virtio_driver(&virtio_blk); > + if (err...
2008 May 22
5
my domU from jailtime.org using latests xen kernel freezees
...USB Universal Host Controller Interface driver v3.0 Loading ohci-hcd.ko module Loading ehci-hcd.ko module Loading jbd.ko module Loading ext3.ko module Loading raid1.ko module md: raid1 personality registered for level 1 Loading scsi_mod.ko module SCSI subsystem initialized Loading sd_mod.ko module register_blkdev: cannot get major 8 for sd Loading libata.ko module Loading ata_piix.ko module Loading pata_marvell.ko module Loading dm-mod.ko module device-mapper: ioctl: 4.11.0-ioctl (2006-09-14) initialised: dm-devel at redhat.com Loading dm-mirror.ko module Loading dm-zero.ko module Loading dm-snapshot.ko mod...
2007 Jul 29
1
[PATCH] BLOCK=n , LGUEST=m/y compile error
...or: implicit declaration of function 'rq_data_dir' drivers/block/lguest_blk.c:260: error: implicit declaration of function 'blk_stop_queue' drivers/block/lguest_blk.c: In function 'lguestblk_probe': drivers/block/lguest_blk.c:304: error: implicit declaration of function 'register_blkdev' drivers/block/lguest_blk.c:313: error: implicit declaration of function 'alloc_disk' drivers/block/lguest_blk.c:313: warning: assignment makes pointer from integer without a cast drivers/block/lguest_blk.c:322: error: dereferencing pointer to incomplete type drivers/block/lguest_blk.c:...
2007 Jul 29
1
[PATCH] BLOCK=n , LGUEST=m/y compile error
...or: implicit declaration of function 'rq_data_dir' drivers/block/lguest_blk.c:260: error: implicit declaration of function 'blk_stop_queue' drivers/block/lguest_blk.c: In function 'lguestblk_probe': drivers/block/lguest_blk.c:304: error: implicit declaration of function 'register_blkdev' drivers/block/lguest_blk.c:313: error: implicit declaration of function 'alloc_disk' drivers/block/lguest_blk.c:313: warning: assignment makes pointer from integer without a cast drivers/block/lguest_blk.c:322: error: dereferencing pointer to incomplete type drivers/block/lguest_blk.c:...