lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 12 Nov 2007 13:21:08 -0600
From:	Timur Tabi <timur@...escale.com>
To:	peerchen@...il.com, netdev@...r.kernel.org
Subject: Re: Problems with ULI 526x driver

Timur Tabi wrote:
> Hi,
> 
> I'm trying to get the ULI 526x driver working on a Freescale 8610 
> reference board, and it can't connect.  When I turn on debug, I see this:

Update: I can ping anything on my subnet, but nothing else.  Also, it looks like 
my MAC address is hosed:

eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00
           inet addr:10.82.19.159  Bcast:10.82.19.255  Mask:255.255.255.0
           inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:5 errors:0 dropped:0 overruns:0 frame:0
           TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:414 (414.0 b)  TX bytes:1224 (1.1 KiB)
           Interrupt:18 Base address:0x1000

It turns out that the driver is getting the MAC address from the ID table:

	if(((u16 *) db->srom)[0] == 0xffff || ((u16 *) db->srom)[0] == 0)		/* SROM 
absent, so read MAC address from ID Table */
	{


In my case, the address that is returned is all zeros.  I don't know anything 
about the ULI 526x hardware.  Is it possible that there's a missing EEPROM on my 
board that's supposed to hold the MAC address?  Are these registers user-writable?

-- 
Timur Tabi
Linux kernel developer at Freescale
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ