More on Atheros.
Joe Shaw
joeshaw at novell.com
Fri Jun 4 12:11:10 PDT 2004
On Thu, 2004-06-03 at 22:31 -0400, Pat Suwalski wrote:
> It does seem to have populated ->name properly:
Hmm, I don't understand what's going on then, since setting
net.interface to the name is the third thing it does in that function.
> Breakpoint 1, net_class_pre_process (self=0x8068ac0, d=0x81636f8,
> sysfs_path=0x8068ac0
> "Pn\005\b`n\005\b\200\236\005\b`\235\005\b`c\005\b",
> class_device=0x81637b8) at linux/net_class_device.c:828
The sysfs_path there looks sketchy, but it could just be brokenness in
the debugger.
> Well, the execution seems to start getting weird a few instructions lower:
>
> 216 ifname = hal_device_property_get_string (d, "net.interface");
>
> It seems that ifname is not being populated at this point, then the
> program eventually dies at a string comparison.
You could try doing "call hal_device_print (d)" in the debugger at that
point to see if the property was actually set.
Joe
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list