9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Micah Stetson <micah@cnm-vra.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Linksys Instant Wireless
Date: Wed, 21 May 2003 23:57:20 -0700	[thread overview]
Message-ID: <20030522065720.GA10198@epaphras.inhouse.cnm-vra.com> (raw)
In-Reply-To: <20030505185417.GA16217@epaphras.inhouse.cnm-vra.com>

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



  reply	other threads:[~2003-05-22  6:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-02 17:42 Micah Stetson
2003-05-02 18:40 ` rsc
2003-05-05 18:54   ` Micah Stetson
2003-05-22  6:57     ` Micah Stetson [this message]
2003-05-22  7:16       ` boyd, rounin
2003-05-08  6:47 ` boyd, rounin

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=20030522065720.GA10198@epaphras.inhouse.cnm-vra.com \
    --to=micah@cnm-vra.com \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).