search for: kobject_register

Displaying 7 results from an estimated 7 matches for "kobject_register".

2005 Aug 15
0
Unable to load module for TE406P
Hi, I'm unable to load wct4xxp module for TE406P card. I've compiled 2.6.13-rc6, got latest CVS (as of today) of zaptel, but when I try to load the module I get this: kobject_register failed for Unified t4xxp/t2xxp driver (-13) [kobject_register+53/73] kobject_register+0x35/0x49 [bus_add_driver+62/153] bus_add_driver+0x3e/0x99 [driver_register+55/58] driver_register+0x37/0x3a [pci_register_driver+120/134] pci_register_driver+0x78/0x86 [pg0+945848335/1069265920] t4_init+0xf/...
2005 Aug 16
0
Solved: Unable to load module for TE406P
....digium.com > Subject: [Asterisk-Users] Unable to load module for TE406P > > Hi, > > I'm unable to load wct4xxp module for TE406P card. > > I've compiled 2.6.13-rc6, got latest CVS (as of today) of zaptel, but > when I try to load the module I get this: > > kobject_register failed for Unified t4xxp/t2xxp driver (-13) > [kobject_register+53/73] kobject_register+0x35/0x49 > [bus_add_driver+62/153] bus_add_driver+0x3e/0x99 > [driver_register+55/58] driver_register+0x37/0x3a > [pci_register_driver+120/134] pci_register_driver+0x78/0x86 > [pg0+945848335...
2008 Feb 13
2
[PATCH] btrfs: fixes for kobject changes in mainline
...uper(struct btrfs_fs_info *fs) { @@ -208,14 +209,9 @@ } name[len] = '\0'; - fs->super_kobj.kset = &btrfs_kset; - fs->super_kobj.ktype = &btrfs_super_ktype; - - error = kobject_set_name(&fs->super_kobj, "%s", name); - if (error) - goto fail; - - error = kobject_register(&fs->super_kobj); + fs->super_kobj.kset = btrfs_kset; + error = kobject_init_and_add(&fs->super_kobj, &btrfs_super_ktype, + NULL, "%s", name); if (error) goto fail; @@ -232,15 +228,9 @@ { int error; - root->root_kobj.ktype = &btrfs_root_ktyp...
2009 Apr 01
4
Linux PV Drivers - VBD device not loading - Cannot get Major 3/22 for ide
I am trying to get PV drivers running on both Centos 5.1 and Centos 5.3 HVMs, my DomU is Centos 5.2 with Xen 3.31. For 5.1 I install the kmod-xenpv RPM but for 5.3 the drivers seem to be built-in. For the network drivers to work I had to unload the Realtek NIC driver and renamed its .ko files to stop it loading. Adding the Xen-Vnif alias to modprobe.conf then got the PV NICs working nicely (Much
2008 Dec 25
0
[PATCH 1/4] dom0 linux: Expose HID, UID, SEG, BBN of PCI root bridge via sysfs.
...= sysfs_create_file(&dev->kobj, + &acpi_device_attr_uid.attr); + if (result) + goto end; + } + + end: + return result; +} + static void acpi_device_register(struct acpi_device *device, struct acpi_device *parent) { @@ -146,6 +176,7 @@ printk(KERN_WARNING "%s: kobject_register error: %d\n", __FUNCTION__, err); create_sysfs_device_files(device); + acpi_device_setup_files(device); } static void acpi_device_unregister(struct acpi_device *device, int type) @@ -343,10 +374,6 @@ -------------------------------------------------------------------------- */ s...
2004 Nov 25
8
Virtual ethernet driver.
Hello, I trying to run XEN 2.0 (2.4.27, 2.4.28, 2.6.9) on gentoo 2004.3. When i boot guest domain i get this: anubis xen # xm create -f ttylinux -c Using config file "ttylinux". Started domain ttylinux, console on port 9601 ************ REMOTE CONSOLE: CTRL-] TO QUIT ******** Linux version 2.4.28-xenU (root@anubis) (gcc version 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7))
2008 Sep 27
0
[PATCH 4/9] dom0 PCI: support SR-IOV capability
...0; i < iov->totalvfs; i++) { + iov->ve[i].vfn = i; + iov->ve[i].iov = iov; + } + + iov->kobj.ktype = &iov_ktype; + iov->kobj.parent = &dev->dev.kobj; + kobject_set_name(&iov->kobj, "iov"); + rc = kobject_register(&iov->kobj); + if (rc) + goto failed1; + + for (i = 0; i < ARRAY_SIZE(iov_attr); i++) { + rc = sysfs_create_file(&iov->kobj, &iov_attr[i].attr); + if (rc) + goto failed2; + } + + for (i = 0;...