Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2005 10:47:08 -0700
From:      Daniel Rudy <dr2867@pacbell.net>
To:        soc-victor@freebsd.org
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: devinfo(3) problem...
Message-ID:  <435E6F9C.9090008@pacbell.net>
In-Reply-To: <49402550510240728y555979c9i2fe4adc73137a1e7@mail.gmail.com>
References:  <49402550510240728y555979c9i2fe4adc73137a1e7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At about the time of 10/24/2005 7:28 AM, victor cruceru stated the
following:
> Daniel,
> What is the OS version you are using when this is happening?
> Did you try to update the libdevinfo (using cvsup for example) to a
> newer version?
> I think that under the original 5.4 it is a bug in devinfo(4) with the
> described behaviour below.

I'm running 5.4-RELEASE.

When you mentioned that it might be a bug, I went and looked at
/usr/src/lib/libdevinfo/devinfo.c using the cvs web depository.  I found
that devinfo_generation = 0 was added to the end of the devinfo_free
function starting at line 367.  I added the code and recompiled just
that library, and now everything seems to be working ok, except now I'm
getting a bunch of garbage on the serial number of the USB flash drive.
 I'm not sure if it's my code, or if it's a bug in the library.

-- 
Daniel Rudy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?435E6F9C.9090008>