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]
Message-Id: <200806090002.17938.IvDoorn@gmail.com>
Date:	Mon, 9 Jun 2008 00:02:17 +0200
From:	Ivo van Doorn <ivdoorn@...il.com>
To:	Rogério Brito <rbrito@....usp.br>
Cc:	"John W. Linville" <linville@...driver.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [2.6.26-rc4] Problems with rt2x00 USB interface on powerpc

Hi,

> > > Unfortunately, this patch won't even apply with 2.6.26-rc5 as the code
> > > seems to have changed a lot between that date and today. For instance,
> > > there doesn't seem to exist a function called "rt2500usb_config_mac_addr"
> > > in the rt2x00 directory (just did a grep on my unconnected iBook).
> > 
> > That patch was a bugfix for 2.6.25. The bug it fixed isn't present in
> > the 2.6.26 cycle.
> 
> Nice to know that. I saw that the code has changed quite a good amount...

Hehe, yes rt2x00 code is moving quit a lot per kernel release.

> Anyway, I don't know if you saw the various outputs that I put at my
> homepage (lots of dmesgs with the 2.6.26-rc4 kernel):
> http://www.ime.usp.br/~rbrito/debug/

Yeah, saw them.

> > > I don't know if the firmware is needed in my case or not, though (my USB
> > > adaptor is a D-Link DWL-G122 H/W Ver. B1, F/W Ver.: 2.03---took that info
> > > from the back of the stick).
> > 
> > Which driver is actually being used? rt2500usb or rt73usb?
> 
> The driver that actually gets loaded is rt2500usb. I tried rmmod'ing
> rt2500usb and loading rt73usb, but a quick iwconfig doesn't even show
> the interfaces.

That means it really is a rt2500usb device. ;)

> > Also what was the last kernel version on which the driver worked for
> > you?
> 
> Unfortunately, I don't have any kernel for which this has worked for
> me. I just did an experiment: I plugged the adaptor on a ia32 notebook
> where a rt61pci works fine (it is running Ubuntu's Hardy---well,
> actually, there are some problems, but I can get to that latter), but
> the USB key was non working with the symptoms that I described above.

That is most unfortunate, since register dumps are usually most usefull when
I can compare the actual register values between a working and non-working setup.
However I just realized I had a D-Link stick myself, and apparently I have the exact
same model/type. I'll compile a 2.6.26-rc5 kernel and see if that stick works for me,
if so, I have the working register dump. And if not, then we can rule out endian problems.

> > If there was a last known working kernel, could you download the debugfs script:
> > 	http://rt2x00.serialmonkey.com/phpBB/download/file.php?id=1969
> > enable debugfs and MAC80211_DEBUGFS and RT2X00_LIB_DEBUGFS in your kernel,
> > and run the script to dump all registers from the hardware to a file?
> 
> I just grabbed the script. Here is the output with the options enabled
> and the results are attached here.

Thanks.

Ivo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ