Could not get own MAC address ( hfa384x_get_rid failed )

ANOOP P anoopp
Mon Mar 31 22:14:14 PST 2003


Hi,

I installed the latest cvs version (following the link from
http://hostap.epitest.fi) of the hostap driver on my arm based board using
intel chip IXP425. This board has a TI PCI1520 PCI-PCMCIA controller.
Currently the socket driver is yenta_socket.

When i inserted the prism2 based 16 bit pc-card, drivers hostap_cs,
hostap_crypt and hostap_crypt_wep were loaded but I am getting the MAC
address all zeros 00:00:00:00:00:00

While looking at the logs, it is seen that:

wlan0: could not get own MAC address
wlan0: Channel list read failed

While looking into the code, it is seen that hfa384x_get_rid failed twice
while getting the MAC address. The complete log is attached below.

BTW, I am able to run ifconfig wlan0 and set the ip address.
but the Hwaddr is seen as 00:00:00:00:00:00. No association is taking place
with any of the stations.

The debug output is given below (I have put some debug prints in ds_ioctl
function also)
---------------------------------------------------------------------
cs: setup_socket(c0cee000): applying power
cs: resetting socket c0cee000
cs: reset done on socket c0cee000
cs: send_event(sock 0, event 4, pri 0)
ds: ds_event(0x000004, 0, 0xc02bfd60)
ds_poll(socket 0)
ds_poll(socket 1)
ds_read(socket 0)
ds_ioctl(socket 0, 0x8004640b, 0xbffff9c8)
cs: memory probe 0x48000000-0x4bffffff: excluding 0x48000000-0x48ffffff
0x4bc00000-0x4bffffff
ds_ioctl(socket 0, 0xc0206404, 0xbffff9c8)
ds_ioctl(socket 0, 0xc2946406, 0xbffff9c8)
ds_ioctl(socket 0, 0xc2946407, 0xbffff9c8)
ds_ioctl(socket 0, 0xc0206404, 0xbffff9c8)
ds_ioctl(socket 0, 0xc2946406, 0xbffff9c8)
ds_ioctl(socket 0, 0xc2946407, 0xbffff9c8)
ds_ioctl(socket 0, 0xc0206404, 0xbffff9c8)
ds_ioctl(socket 0, 0xc2946406, 0xbffff9c8)
ds_ioctl(socket 0, 0xc2946407, 0xbffff9c8)
ds_ioctl(socket 0, 0xc0506403, 0xbffff940)
hostap_cs: 0.0.0 CVS (Jouni Malinen <jkmaline at cc.hut.fi>)
ds: register_pccard_driver('hostap_cs')
ds_ioctl(socket 0, 0xc050643c, 0x1a330)
bind_request(0, 'hostap_cs')
cs: bind_device(): client 0xc0fc2280, sock 0, dev hostap_cs
prism2_attach
hostap_cs: setting Vcc=33 (constant)
pcmcia_register_client()
cs: register_client(): client 0xc0fc2280, sock 0, dev hostap_cs
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: setting Vcc=50 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 5.0, irq 6, io 0x4100-0x413f
hostap_cs: Registered netdevice wlan0
prism2_hw_init()
wlan0: could not get own MAC address
wlan0: Channel list read failed
ds_ioctl(socket 0, 0xc050643d, 0x1a330)
ds_ioctl(socket 0, 0xc050643e, 0x1a388)
ds_poll(socket 0)
ds_poll(socket 1)

---------------------------------------------------------------------

Is this in someway trelated to the soket driver (yenta_socket)? Do I need to
try with i82365?

I have seen related errors on the list and web, but no answers.

please help.

TIA
anoop







More information about the Hostap mailing list