[2.6] nfs_rename: target $file busy, d_count=2
Quoted 2 lines · Mike Fedyk
Both client and server are running the same 2.6.1-bk2 kernel with TCP-NFS. SMP, Highmem, & preempt.
I have four clients that are all having this problem also, three 2.6, and one 2.4 client.
Using TCP-NFS they all have stale nfs handles even after a reboot (only rebooted one to try with 2.4.23), but changed one to UDP-NFS, and it didn't have the stale handles.
Will do more testing with UDP-NFS.
Mike
----- End forwarded message -----
Trying to make a module
Hi everybody,
I am trying to make a driver for my WizardPen and I found that a project existed for the kernel, I was talking with the guy who wrote the mini faq and he told me this:
The procedure to install the driver is the same as described in the mini-howto, but after you have patched your kernel, you just have to look hid-core.c for :
Quoted 12 lines
input->evbit[0] |=
BIT(EV_MSC);
input->mscbit[0] |=BIT(MSC_SERIAL);input_event(input, EV_MSC, MSC_SERIAL, 0);And replace it by :
struct hid_input* hidinput =
list_entry(hid->inputs.next, structhid_input,
list);
struct input_dev* input =&hidinput->input;
Quoted 3 lines
input->evbit[0] |=
BIT(EV_MSC);
input->mscbit[0] |=BIT(MSC_SERIAL);input_event(input, EV_MSC, MSC_SERIAL, 0);
So I made it but, it fails givin me this output:
hid-core.c: In function `hid_input_report':
hid-core.c:945: error: structure has no member named `input'
hid-core.c:946: error: structure has no member named `input'
hid-core.c:947: error: structure has no member named `input'
hid-core.c:943: warning: unused variable `input' make[2]: *** [hid-core.o] Error 1
make[2]: Leaving directory /usr/src/linux-2.4.22-10mdk/drivers/usb' make[1]: *** [_modsubdir_usb] Error 2 make[1]: Leaving directory /usr/src/linux-2.4.22-10mdk/drivers'
make: *** [_mod_drivers] Error 2
It appears that the USB API change, so someone could help me telling me where I can find the new specifications for the new API.
I am really new trying to change things in the kernel but I want to learn.
_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com