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: <201003191601.48405.linux@rainbow-software.org>
Date:	Fri, 19 Mar 2010 16:01:47 +0100
From:	Ondrej Zary <linux@...nbow-software.org>
To:	Luis Correia <buga@...de.net>
Cc:	users@...x00.serialmonkey.com, linux-kernel@...r.kernel.org
Subject: Re: [rt2x00-users] rt2500usb broken since 2.6.29

On Thursday 18 March 2010, Luis Correia wrote:
> Hi,
>
> On Thu, Mar 18, 2010 at 22:04, Ondrej Zary <linux@...nbow-software.org> 
wrote:
> > On Thursday 18 March 2010 22:51:18 Luis Correia wrote:
> >> Hi,
> >>
> >> On Thu, Mar 18, 2010 at 21:46, Ondrej Zary
> >
> > <linux@...nbow-software.org>wrote:
> >> > Hello,
> >> > rt2500usb is broken since kernel 2.6.29. It has been discussed before
> >> > but never solved:
> >> > http://rt2x00.serialmonkey.com/phpBB/viewtopic.php?f=4&t=4834
> >> > https://bugzilla.redhat.com/show_bug.cgi?id=484888
> >> >
> >> > I have Asus WL-167G and it really does not work. Scanning works,
> >> > association
> >> > too but no packets can be sent (looks like receive works because
> >> > tcpdump shows packets from other machines). DHCP fails (No DHCPOFFERS
> >> > received).
> >> >
> >> > The problem is caused by this patch:
> >> >
> >> > rt2x00: Implement HW encryption (rt2500usb)
> >> >
> >> > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=com
> >> >mit ;h=dddfb478b26e29a2b47f655ec219e743b8111015
> >> >
> >> > Removing it from 2.6.29 restores the functionality.
> >> >
> >> > --
> >> > Ondrej Zary
> >>
> >> you can prevent hardware encryption by supplying "nohwcrypt=1" to the
> >> driver.
> >> (modinfo rt2500usb)
> >
> > That did not work. Maybe that was because I just unloaded the rt2500usb
> > module and loaded it again with nohwcrypt=1 without rebooting the
> > machine. Then I removed the HW encryption, recompiled and reloaded and it
> > did not work either. It started to work only after reboot.
>
> did you actually remove the usb module and unloaded the module as well?
>
> you then need to load the module with the option, wait one sec and
> then plug the device back in.
>
> > Does the HW encryption really work with any rt2500usb hardware? How can I
> > help to fix it? Or maybe it should be disabled by default.
>
> I think the HW encription did work in the past, but I'm unsure of the
> proper timeline.

HW encryption was added in 2.6.29 and it does not work there. In 2.6.30, the 
driver is broken even more - it does not work even with HW encryption 
disabled. I'm going to bisect it.

-- 
Ondrej Zary
--
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