9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Linksys Instant Wireless
@ 2003-05-02 17:42 Micah Stetson
  2003-05-02 18:40 ` rsc
  2003-05-08  6:47 ` boyd, rounin
  0 siblings, 2 replies; 6+ messages in thread
From: Micah Stetson @ 2003-05-02 17:42 UTC (permalink / raw)
  To: 9fans

I'm going to be moving in a month or so, and I'm attempting to set
up a wireless network in my new house.  (Basically, I'm getting
married and my wife doesn't like the idea of Cat5 cables everywhere.)
So I bought a Linksys Instant Wireless PC Card (WPC11 v.3) seeing
that they were mentioned on the Wiki.  The card, however isn't
recognized.  The results are the same in either slot, the card
isn't even powered up.  Running "cat '#Y'/cb0ctl" yields 'slot 0:
SlotFull; '.  It doesn't seem to matter whether I have a card in
the other slot.  I've a Linksys fast ethernet adapter that works
in either slot.  I tried disabling cardbus and going back to PCMCIA
with very similar results.  My laptop (IBM Thinkpad 600) has a TI
PCI 1250 Cardbus chipset.  On boot, it says, "No support yet for
the TI_1250_did, prod pb".  Could this have anything to do with
it?  It doesn't hinder my use of the ethernet card, though.  Any
ideas?

Thanks,

Micah




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Linksys Instant Wireless
  2003-05-02 17:42 [9fans] Linksys Instant Wireless Micah Stetson
@ 2003-05-02 18:40 ` rsc
  2003-05-05 18:54   ` Micah Stetson
  2003-05-08  6:47 ` boyd, rounin
  1 sibling, 1 reply; 6+ messages in thread
From: rsc @ 2003-05-02 18:40 UTC (permalink / raw)
  To: 9fans

The Instant Wireless card I did the driver tweaks for
was not a Cardbus card, at least I don't think it was.
What do you get from aux/pcmcia?



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Linksys Instant Wireless
  2003-05-02 18:40 ` rsc
@ 2003-05-05 18:54   ` Micah Stetson
  2003-05-22  6:57     ` Micah Stetson
  0 siblings, 1 reply; 6+ messages in thread
From: Micah Stetson @ 2003-05-05 18:54 UTC (permalink / raw)
  To: 9fans

> The Instant Wireless card I did the driver tweaks for
> was not a Cardbus card, at least I don't think it was.

I didn't mean to imply that the card wasn't pcmcia.  I was talking
about treating the controller as a pcmcia or cardbus controller,
that is '#y' or '#Y'.  The PCMCIA ethernet card works either way,
although aux/pcmcia doesn't.

> What do you get from aux/pcmcia?

Nothing.  If I put 'pccard0=disabled' in plan9.ini so that I get
files in '#y' rather than '#Y', every byte in '#y/pcm0attr' is
0xff.  This makes sense as the card is apparently not powered.
There is a power LED on the card itself that never lights.

Thanks for your help,

Micah



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Linksys Instant Wireless
  2003-05-02 17:42 [9fans] Linksys Instant Wireless Micah Stetson
  2003-05-02 18:40 ` rsc
@ 2003-05-08  6:47 ` boyd, rounin
  1 sibling, 0 replies; 6+ messages in thread
From: boyd, rounin @ 2003-05-08  6:47 UTC (permalink / raw)
  To: 9fans

sounds like PCI woe ...





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Linksys Instant Wireless
  2003-05-05 18:54   ` Micah Stetson
@ 2003-05-22  6:57     ` Micah Stetson
  2003-05-22  7:16       ` boyd, rounin
  0 siblings, 1 reply; 6+ messages in thread
From: Micah Stetson @ 2003-05-22  6:57 UTC (permalink / raw)
  To: 9fans

In my continuing quest to make this wireless card work, I decided
to try it in my fiancee's laptop.  It dual boots Windows XP and
Plan 9.  The card (the exact one) works in XP and, amazingly enough,
is recognized by Plan 9.  When the card is in the laptop, however,
I cannot go into graphics mode.  The kernel panics (see below) it
looks like the area of memory that xspanalloc() is giving to the
video driver to hold the cursor data in is already in use by
something else.  This looks like two separate problems to me.  One
that the card isn't recognized by my laptop (could it have to do
with the fact that we have different PCMCIA/Cardbus adapters --
hers is a Ricoh, mine a TI?).  And the second problem being some
strange memory interaction involving the wavelan driver and the
i81x vga driver.  Anyway, here's all the info I have:

Sony VAIO model PCG-992L, up to date with sources as of yesterday.

Boot log (complete):
PBS...Plan 9 from Bell Labs
ELCR: 0200
apm ax=f000 cs=f000 dx=40 di=ffff ebx=5d62 esi=-1
dev A0 port 1F0 config 045A capabilities 0F00 mwdma 0007 udma 203F
dev A0 port 170 config 85C0 capabilities 0B00 mwdma 0007 udma 0407
using sdC0!9fat!plan9.ini
.ether#0: i82557: port 0x3000 irq 9: 08004648CD27
found /386/9pcdisk
849032+792796+73844=1715672
entry: 0x80100020
cpu0: 993MHz GenuineIntel PentiumIII/Xeon (cpuid: AX 0x068A DX 0x383F9FF)
ELCR: 0200
pcirouting: BIOS workaround: PCI.0.31.2 at pin 4 link 99 irq 10 -> 9
#Y0: Ricoh 476 PCI/Cardbus bridge, 0FF00000 intl 9
#Y1: Ricoh 476 PCI/Cardbus bridge, 0FF01000 intl 9
#l0: i82557: 10Mbps port 0x3000 irq 9: 08004648CD27
#Y0: The Linksys Group, Inc.;Instant Wireless Network PC Card; irq 3, port 180
wavelanreset, iob 0x180
#l1: wavelan: 10Mbps port 0x180 irq 3: 00062515CA17
#U/usb0: uhci: port 0x1820 irq 9
#U/usb1: uhci: port 0x2400 irq 9
38852 free pages, 155408K bytes, 590608K swap
root is from (il, tcp, local)[local!#S/sdC0/fs]:
user[none]: micah
kfs...version...time...

init: starting /bin/rc
panic: mmuwalk2: va 80553000 entry 4001E3

ktrace /kernel/path 80106561 807fb4c0
807fb460=80106414 807fb468=801b3978 807fb47c=80105ebe 807fb480=80100be7
807fb488=80100bd6 807fb494=80139ea4 807fb4a8=80106561 807fb4bc=80106561
807fb4c0=80106418 807fb4c8=8013a21f 807fb4dc=801b3a96 807fb51c=801c5b96
807fb52c=801b3a96 807fb530=8010033c 807fb56c=8010040d 807fb570=801c27f1
807fb57c=801b45a7 807fb594=801b3a96 807fb5a0=801b45f0 807fb5a8=801b3978
807fb5ac=801b451d 807fb5b4=801b45a7 807fb5c8=801ad931 807fb5d8=801b45f0
807fb5f0=80104c11 807fb610=801898e4 807fb624=801c5f7d 807fb634=801a67fc
807fb640=801c3ae7 807fb650=8019b0c9 807fb660=801c3b79 807fb670=8019f157
807fb67c=801c3d53 807fb688=801a659b 807fb694=801a667f 807fb6ac=801b3978
807fb6b8=8019b3fb 807fb6c4=801b3978 807fb6e4=801afa87 807fb70c=801aeb70
807fb724=801afbb6 807fb74c=801068e0 807fb75c=8010033c 807fb77c=80100982
807fb7b8=801004cd
cpu0: exiting

If I log in as none, thus bypassing aux/vga, I can do this:

% cat '#Y/cb0ctl'
slot 0: SlotConfigured; The Linksys Group, Inc.;Instant Wireless Network PC Card; port 180; irq 3;
	configuration[8192] irqs DEB8; vpp 0, 0; (default);
		io[0] 00000000 64
%

If I add a line 'pccard0=disabled' to plan9.ini, so that the Cardbus
controller is treated like a PCMCIA controller, then I can do this:

% aux/pcmcia
device 512 bytes of 0ns unkown
attr device 98304 bytes of 0ns SRAM
attr device 268435456 bytes of 0ns unknown
version 1.0
	The Linksys Group, Inc.
	Instant Wireless Network PC Card

configuration registers at (0)0x3e0
configuration 1 (default)
	I/O device,
	Vcc:  Vmin 3000000uV Vmax 5250000uV Iavg 300mA ipeak 300mA ipowerdown 10mA
	IO space 6 address lines 8bit or 16bit access
	interrupts:level:pulse:shared, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
%

Is that 268MB of 0ns unknown??

Any help or pointers would be greatly appreciated.  I'm not even
sure where the best place to start is.  Especially not with the
memory issue.

Thanks,

Micah



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Linksys Instant Wireless
  2003-05-22  6:57     ` Micah Stetson
@ 2003-05-22  7:16       ` boyd, rounin
  0 siblings, 0 replies; 6+ messages in thread
From: boyd, rounin @ 2003-05-22  7:16 UTC (permalink / raw)
  To: 9fans

ahh, VAIO's ...



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-05-22  7:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-02 17:42 [9fans] Linksys Instant Wireless Micah Stetson
2003-05-02 18:40 ` rsc
2003-05-05 18:54   ` Micah Stetson
2003-05-22  6:57     ` Micah Stetson
2003-05-22  7:16       ` boyd, rounin
2003-05-08  6:47 ` boyd, rounin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).