2006-12-31 00:12:09

by Avuton Olrich

[permalink] [raw]
Subject: Device does not have a release() function

Please excuse me if this has already been discussed. Anything else
that's needed please let me know.

kernel: Linux version 2.6.20-rc2 (sbh@rocket) (gcc version 4.1.1
(Gentoo 4.1.1-r3)) #6 SMP PREEMPT Thu Dec 28 21:07:58 PST 2006

Spotted this in the dmesg:

---
Fixed PHY: Registered new driver
driver_bound: device fixed@100:1 already bound
Device 'fixed@100:1' does not have a release() function, it is broken
and must be fixed.
WARNING at /usr/src/linux-stable/drivers/base/core.c:104 device_release()
[<c027bbf9>] kobject_cleanup+0x49/0x90
[<c027bc40>] kobject_release+0x0/0x10
[<c027c8ea>] kref_put+0x2a/0xa0
[<c05762bc>] fixed_init+0x1bc/0x210
[<c01003f0>] init+0x70/0x2a0
[<c0102f82>] ret_from_fork+0x6/0x1c
[<c0100380>] init+0x0/0x2a0
[<c0100380>] init+0x0/0x2a0
[<c0103c73>] kernel_thread_helper+0x7/0x14
=======================
---

Sorry for all the links, but it's about 80K of info:

http://avuton.googlepages.com/config.txt
http://avuton.googlepages.com/cpuinfo.txt
http://avuton.googlepages.com/dmesg.txt
http://avuton.googlepages.com/lspci-vvv.txt
http://avuton.googlepages.com/proc-iomem.txt
http://avuton.googlepages.com/proc-ioports.txt
http://avuton.googlepages.com/ver_linux.txt
--
avuton
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.


2007-01-02 11:31:49

by Vitaly Bordug

[permalink] [raw]
Subject: Re: Device does not have a release() function

Avuton,

Thanks for this report,

> Please excuse me if this has already been discussed. Anything else
> that's needed please let me know.
>
> kernel: Linux version 2.6.20-rc2 (sbh@rocket) (gcc version 4.1.1
> (Gentoo 4.1.1-r3)) #6 SMP PREEMPT Thu Dec 28 21:07:58 PST 2006
>
> Spotted this in the dmesg:
[...]

Maybe some additional failure case is not handled, I'll have a look at it.

--
Sincerely, Vitaly


Attachments:
signature.asc (189.00 B)

2007-01-02 14:50:12

by Avuton Olrich

[permalink] [raw]
Subject: Re: Device does not have a release() function

On 1/2/07, Vitaly Bordug <[email protected]> wrote:
> Avuton,
>
> Thanks for this report,
>
> > Please excuse me if this has already been discussed. Anything else
> > that's needed please let me know.
> >
> > kernel: Linux version 2.6.20-rc2 (sbh@rocket) (gcc version 4.1.1
> > (Gentoo 4.1.1-r3)) #6 SMP PREEMPT Thu Dec 28 21:07:58 PST 2006
> >
> > Spotted this in the dmesg:
> [...]
>
> Maybe some additional failure case is not handled, I'll have a look at it.

Just need to mention all the information in the URLs is correct,
unfortunately I got the above version info from another box by
accident, so disreguard it please.
--
avuton
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.