public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ivo van Doorn <ivdoorn@gmail.com>
To: "Rogério Brito" <rbrito@ime.usp.br>
Cc: "John W. Linville" <linville@tuxdriver.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [2.6.26-rc4] Problems with rt2x00 USB interface on powerpc
Date: Sun, 8 Jun 2008 12:42:54 +0200	[thread overview]
Message-ID: <200806081242.54896.IvDoorn@gmail.com> (raw)
In-Reply-To: <20080608010207.GA11086@ime.usp.br>

Hi,

> > > > >From what I am seeing, it looks like the bug mentioned in
> > > > <http://bugzilla.kernel.org/show_bug.cgi?id=9388>, but I don't get the
> > > > stack trace that is present there and I'm just trying to use WEP
> > > > instead of WPA or anything fancier.
> > > 
> > > Did you apply this patch?
> > > 
> > > 	http://bugzilla.kernel.org/attachment.cgi?id=14384
> > 
> > No, I did not. Is it still relevant with -rc4 or with -rc5? I still get the
> > same problem with -rc5 (but I will have to test it a bit more with -rc5).
> 
> 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.

> > Just as a refresher:
> > 
> > * I can set everything on the iBook with the wireless key plugged;
> > * The wireless key *sees* the AP, even with encryption (that is, it grabs
> >   the MAC address of the AP, it (sometimes) shows me the signal strength,
> >   and if I issue "iwconfig wlan0 ap any", I see both the led of the
> >   wireless key blink and an increase of amount of data transmitted and
> >   received with "ifconfig wlan0");
> > * With everything set this way, if I do "dhclient wlan0", it doesn't get a
> >   lease from the AP---actually, despite the fact that it is possible to see
> >   the other point, dhclient goes, after some attempts of getting a lease,
> >   to background, but no address is ever gotten;
> > * Just to rule out possible problems with something sent to the address
> >   255.255.255.255 (which is reported as being done by dhclient), I tried to
> >   configure the address by hand via ifconfig, but, for instance, I couldn't
> >   ping my AP (which I can from other computers with a rt61pci driver and a
> >   PCMCIA connection);
> > * As I mentioned above, I have no problems with the rt61pci driver, but the
> >   USB one doesn't seem to work (unfortunately, the iBook does not have a
> >   PCMCIA slot). With a notebook with an on-board Intel wireless card, I
> >   *also* don't have any problems.
> > 
> > Well, thanks, for the help so far. I hope that we can solve this issue
> > quite soon, as I need this iBook for work.
> > 
> > I am willing to help as much as I can and test anything (even something
> > that might be "experimental"). I think that this is as good a tester that
> > you can get, right? :-)
> 
> Again, I am willing to test any "intrusive" change as I still don't have
> valuable data on that machine. BTW, I have firmware from Debian's
> ralink-firmware package (which should be what ralink has released)
> installed on this machine.
> 
> 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?
Also what was the last kernel version on which the driver worked for you?

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?

Please do this for both the working kernel as the non-working kernel so I can
see if there is a register initialization problem which could have been triggered
by an endian-problem.

Ivo

  reply	other threads:[~2008-06-08 10:32 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-01 19:30 [2.6.26-rc4] Problems with rt2x00 USB interface on powerpc Rogério Brito
2008-06-01 22:58 ` Rogério Brito
2008-06-06 16:23 ` John W. Linville
2008-06-07  0:52   ` Rog?rio Brito
2008-06-07 14:30     ` John W. Linville
2008-06-08  0:11       ` Rogério Brito
2008-06-08  1:02         ` Rogério Brito
2008-06-08 10:42           ` Ivo van Doorn [this message]
2008-06-08 21:35             ` Rogério Brito
2008-06-08 22:02               ` Ivo van Doorn
2008-06-08 22:09                 ` Rogério Brito
2008-06-08 22:30                   ` Rogério Brito
2008-06-09  0:15                 ` Rogério Brito
2008-06-11  9:36                   ` Rogério Brito
2008-06-11 13:43                     ` John W. Linville
2008-06-12  4:15                       ` Rogério Brito
2008-06-11 18:21                     ` Ivo van Doorn
2008-06-12  4:23                       ` Rogério Brito
2008-06-12 17:40                         ` Ivo van Doorn
2008-06-13  4:06                           ` Rogério Brito
2008-06-13  4:52                             ` Rogério Brito
  -- strict thread matches above, loose matches on Subject: below --
2008-06-20 17:57 [2.6.26-rc4] Problems with rt2x00 USB interface on powerpc (fwd) Rogério Brito
2008-06-20 19:58 ` Rogério Brito
2008-06-25 19:49   ` Rogério Brito
2008-08-04 13:26     ` Ivo van Doorn
2008-08-07 17:01       ` [2.6.26-rc4] Problems with rt2x00 USB interface on powerpc Rogério Brito

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200806081242.54896.IvDoorn@gmail.com \
    --to=ivdoorn@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=rbrito@ime.usp.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox