2004-01-16 05:06:29

by Mike Fedyk

[permalink] [raw]
Subject: Fwd: Re: [2.6] nfs_rename: target $file busy, d_count=2

On Thu, Jan 15, 2004 at 04:03:46PM -0800, Mike Fedyk wrote:
> 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 -----


2004-01-16 05:28:58

by Kuroi

[permalink] [raw]
Subject: 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 :

> 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, struct
> hid_input,
> list);
> struct input_dev* input = &hidinput->input;
>
> 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