Michael | 3 Apr 02:03 2005
Picon
Picon

Re: SPARCbook and wscons

Hello,

here's a newer test kernel:
http://macallan.homeunix.org:6704/stuff/BSD/sparc/SPARCbook3GX_04_02.bz2
It contains...
- experimental PCMCIA support. PLEASE test it, the only PCMCIA card I can find right now is an unsupported
PRISM3 wlan card.
- nonfunctional DBRI - please tell me if it attaches or does anything nasty. It doesn't work yet but the
driver should attach, power up the DBRI if necessary, dump some debug stuff and attach an audio/mixer
device. Playback doesn't work yet, for some reason DMA stops after 64KB.

have fun
Michael

Bernd Sieker | 3 Apr 20:12 2005
Picon
Picon

Re: SPARCbook and wscons

On 02.04.05, 19:03:39, Michael wrote:
> Hello,

Hello,

> 
> here's a newer test kernel:
> http://macallan.homeunix.org:6704/stuff/BSD/sparc/SPARCbook3GX_04_02.bz2
> It contains...
> - experimental PCMCIA support. PLEASE test it, the only PCMCIA card I can find right now is an unsupported
PRISM3 wlan card.

I tested it on my SPARCbook 3TX (which is basically a 3GX with
faster CPU and capability for more RAM) with a D-Link DWL-650 with
Prism 2.5 chipset. An identical card works fine with NetBSD/hpcmips
and NetBSD/i386. It is detected but doesn't attach completely, see
the log:
  http://nuxi.homeunix.org/NetBSD/sparc/dmesg-PCMCIA.log

> - nonfunctional DBRI - please tell me if it attaches or does anything nasty. It doesn't work yet but the
driver should attach, power up the DBRI if necessary, dump some debug stuff and attach an audio/mixer
device. Playback doesn't work yet, for some reason DMA stops after 64KB.

Seems that the dbri attaches properly, I couldn't find it doing
anything nasty.

I did not boot multiuser on my 2.0.2 userland.

Looks very promising so far, thanks a lot. Time to go -current on
my Tadpole, soon, I guess.
(Continue reading)

Michael | 3 Apr 20:35 2005
Picon
Picon

Re: SPARCbook and wscons

Hello,

> > - experimental PCMCIA support. PLEASE test it, the only PCMCIA card I can find right now is an unsupported
PRISM3 wlan card.
> 
> I tested it on my SPARCbook 3TX (which is basically a 3GX with
> faster CPU and capability for more RAM) with a D-Link DWL-650 with
> Prism 2.5 chipset. An identical card works fine with NetBSD/hpcmips
> and NetBSD/i386. It is detected but doesn't attach completely, see
> the log:
>   http://nuxi.homeunix.org/NetBSD/sparc/dmesg-PCMCIA.log
Thanks :)

Hmm, the memory dump at [unmap io] is empty - it should show your card's registers. Could you please try again
with the card in the lower slot? Apparently I made some mistake and slot 1 doesn't use the right address range.

> I did not boot multiuser on my 2.0.2 userland.
It should work though, at least my 2.0 userland works just fine.

> Looks very promising so far, thanks a lot. Time to go -current on
> my Tadpole, soon, I guess.
I'm still fighting my U10 to cross-compile a sparc32 userland...

have fun
Michael

Bernd Sieker | 3 Apr 22:02 2005
Picon
Picon

Re: SPARCbook and wscons

On 03.04.05, 14:35:36, Michael wrote:
> >   http://nuxi.homeunix.org/NetBSD/sparc/dmesg-PCMCIA.log
> Thanks :)
> 
> Hmm, the memory dump at [unmap io] is empty - it should show your card's registers. Could you please try
again with the card in the lower slot? Apparently I made some mistake and slot 1 doesn't use the right
address range.

Sorry, I've already packed up the machine to go to a conference,
I'll be back thursday evening. I had the card briefly in the lower
slot, but the sticker on the lower side of the card got hooked
behind the small metal pieces and it took considerable effort to
pull it out again, and the sticker got torn in the process.

> 
> > Looks very promising so far, thanks a lot. Time to go -current on
> > my Tadpole, soon, I guess.
> I'm still fighting my U10 to cross-compile a sparc32 userland...
> 
> have fun
> Michael

--

-- 
Bernd Sieker

NetBSD: it'll be there when you're ready for it
		-- Greg Lehey

Michael | 3 Apr 22:24 2005
Picon
Picon

Re: SPARCbook and wscons

Hello,

> > Hmm, the memory dump at [unmap io] is empty - it should show your card's registers. Could you please try
again with the card in the 
> > lower slot? Apparently I made some mistake and slot 1 doesn't use the right address range.
> 
> Sorry, I've already packed up the machine to go to a conference,
> I'll be back thursday evening. 
No need to hurry :)

I've found something else that may be the reason why your card didn't attach - the PCMCIA controller
supports some sort of byte-swapping, all PRISM registers are 16bit and the only non-0000 in your dmesg is
the PRISM status register ( so it may be the right range after all - I couldn't find anything obvious in the
code ) but the content doesn't make sense as it is, byte-swapped it does. So I'll make another kernel with
byteswappery set the other way around, maybe this helps. Too bad I don't have any supported card here :/

have fun
Michael

Mike Parson | 3 Apr 23:35 2005

Re: SPARCbook and wscons

On Sat, Apr 02, 2005 at 07:03:39PM -0500, Michael wrote:
> Hello,
> 
> here's a newer test kernel:
> http://macallan.homeunix.org:6704/stuff/BSD/sparc/SPARCbook3GX_04_02.bz2

Hey, that's some verbose output... =)

> It contains...
> - experimental PCMCIA support. PLEASE test it, the only PCMCIA card I
>   can find right now is an unsupported PRISM3 wlan card.

I've got 2 PCMCIA cards, a 3COM 3C589D and a PQI PCMCIA->CF adapter.

> - nonfunctional DBRI - please tell me if it attaches or does anything
>   nasty. It doesn't work yet but the driver should attach, power up the
>   DBRI if necessary, dump some debug stuff and attach an audio/mixer
>   device. Playback doesn't work yet, for some reason DMA stops after
>   64KB.

Down below is the dmesg after inserting and removing each of the cards,
both top and bottom slots for the 3Com, just the bottom slot for the
flash reader.  The flash reader looks like it might have worked had the
/dev/wd* entries been there.

Anything else you'd like me to do and/or collect for posting?

--

-- 
Michael Parson
mparson <at> bl.org
(Continue reading)

Michael | 3 Apr 23:55 2005
Picon
Picon

Re: SPARCbook and wscons

Hello,

> Hey, that's some verbose output... =)
I warned you ;)

> > It contains...
> > - experimental PCMCIA support. PLEASE test it, the only PCMCIA card I
> >   can find right now is an unsupported PRISM3 wlan card.
> 
> I've got 2 PCMCIA cards, a 3COM 3C589D and a PQI PCMCIA->CF adapter.

...
> Down below is the dmesg after inserting and removing each of the cards,
> both top and bottom slots for the 3Com, just the bottom slot for the
> flash reader.  The flash reader looks like it might have worked had the
> /dev/wd* entries been there.
Hmm, the disk looks a bit too big. The 3com probably didn't work because the driver still gets endianness wrong.

This one is more interesting..
> wd0 at atabus0 drive 0tslot0: interrupt on socket 0 ir 931 sts 8f23
> : <i51nA adtpre>
> wd0: drive supports 1-sector PIO transfers, chs addressing
> wd0: 49152 MB, 50435 cyl, 4096 head, 8192 sec, 512 bytes/sect x 100663296 sectors
... is this what you get on other machines too?
At least /something/ works :)

have fun
Michael

(Continue reading)

Mike Parson | 4 Apr 00:07 2005

Re: SPARCbook and wscons

On Sun, Apr 03, 2005 at 05:55:40PM -0400, Michael wrote:
> Hello,
>
>> Hey, that's some verbose output... =)
> I warned you ;)
>  
>>> It contains...
>>> - experimental PCMCIA support. PLEASE test it, the only PCMCIA card I
>>>   can find right now is an unsupported PRISM3 wlan card.
>>
>> I've got 2 PCMCIA cards, a 3COM 3C589D and a PQI PCMCIA->CF adapter.
>
> ...
>> Down below is the dmesg after inserting and removing each of the cards,
>> both top and bottom slots for the 3Com, just the bottom slot for the
>> flash reader.  The flash reader looks like it might have worked had the
>> /dev/wd* entries been there.

> Hmm, the disk looks a bit too big. The 3com probably didn't work
> because the driver still gets endianness wrong.

> This one is more interesting..
>> wd0 at atabus0 drive 0tslot0: interrupt on socket 0 ir 931 sts 8f23
>> : <i51nA adtpre>
>> wd0: drive supports 1-sector PIO transfers, chs addressing
>> wd0: 49152 MB, 50435 cyl, 4096 head, 8192 sec, 512 bytes/sect x 100663296 sectors

Hrm, didn't read that part very closely.

To be full and proper here, this is a 256 meg SD card in a 5-in-1 CF
(Continue reading)

Dimitris Tsifakis | 4 Apr 01:46 2005
Picon

PCMCIA SBUS and SS5

Hi there,

I am new to the list, not so new to NetBSD (I had it running on my 3/60 a
few years ago). I have a SS5/70 with the Sun SBUS PCMCIA card, so I was
wondering if I could be of any assistance (testing). I also have some other
misc SPARC hardware, including a Ross SPARCplug solo with a single 100MHz
HyperSPARC.

cheers
dimitris

--
W123 230 E

________________________________________________

Message sent using Dodo
Internet Webmail Server

Christos Zoulas | 4 Apr 03:14 2005

Re: PCMCIA SBUS and SS5

In article <E1DIEnE-0000VR-00 <at> relay01.mail-hub.dodo.com.au>,
Dimitris Tsifakis <w123 <at> dodo.com.au> wrote:
>Hi there,
>
>I am new to the list, not so new to NetBSD (I had it running on my 3/60 a
>few years ago). I have a SS5/70 with the Sun SBUS PCMCIA card, so I was
>wondering if I could be of any assistance (testing). I also have some other
>misc SPARC hardware, including a Ross SPARCplug solo with a single 100MHz
>HyperSPARC.

Sure, give it a try and let us know how it goes. We always want more poeple
testing things.

christos


Gmane