Michael Francini | 1 Apr 2003 20:08
Picon

help on cloning an ethernet driver for a compact flash card (billionton)

Hi,

First off, I'm new to NetBSD and am a novice *NIX hacker so chances are
that I've yet to find the right information on the new to answer this
question; hence the post.

I bought off ebay a compact flash Ethernet adapter that I've since
learned is made by Billionton Taiwan.  It's their model CFLT-10N.  (FYI,
this praticular nic has a picture of a person flying a hanglider on
it).  It uses the TAMARAK TC3299CE chipset which is register compatible
with the National Semiconductor NE8390 chipset.  I was able to verify
this by configuring my PCMCIA config options file on my linux box to use
the 8390 module on this NIC and VIOLA, IT WORKED!!  The problem is: the
manufacturer and product CIS codes aren't in the card so when I plug the
nic into my IBM Z50 CE laptop running NetBSD, it doesn't work, showing
the dreaded 0xfff... id for both product and manufacturer codes. What I
am able to obtain from my linux box cardctl info is the following:

PRODID_1="CF"
PRODID_2="10Base-Ethernet"
PRODID_3="1.0"
PRODID_4=""
MANFID=0000,0000
FUNCID=6

Browsing the directories and postings I've found the "if_ne_pcmcia.c"
driver code that would seem to be appropriate for running this NIC and I
also saw the "pcmcia_cis_quirks.c" program which seems to allow for
static entries of NICs displaying rude behavior similar to this one. 
Unfortunately, I'm not hack enough to understand the code to even try to
(Continue reading)

Christos Zoulas | 2 Apr 2003 00:42

Re: help on cloning an ethernet driver for a compact flash card

In article <1049220507.3310.33.camel <at> localhost>,
Michael Francini <francini <at> mindspring.com> wrote:
>Hi,
>
>First off, I'm new to NetBSD and am a novice *NIX hacker so chances are
>that I've yet to find the right information on the new to answer this
>question; hence the post.
>
>I bought off ebay a compact flash Ethernet adapter that I've since
>learned is made by Billionton Taiwan.  It's their model CFLT-10N.  (FYI,
>this praticular nic has a picture of a person flying a hanglider on
>it).  It uses the TAMARAK TC3299CE chipset which is register compatible
>with the National Semiconductor NE8390 chipset.  I was able to verify
>this by configuring my PCMCIA config options file on my linux box to use
>the 8390 module on this NIC and VIOLA, IT WORKED!!  The problem is: the
>manufacturer and product CIS codes aren't in the card so when I plug the
>nic into my IBM Z50 CE laptop running NetBSD, it doesn't work, showing
>the dreaded 0xfff... id for both product and manufacturer codes. What I
>am able to obtain from my linux box cardctl info is the following:
>
>PRODID_1="CF"
>PRODID_2="10Base-Ethernet"
>PRODID_3="1.0"
>PRODID_4=""
>MANFID=0000,0000
>FUNCID=6
>
>Browsing the directories and postings I've found the "if_ne_pcmcia.c"
>driver code that would seem to be appropriate for running this NIC and I
>also saw the "pcmcia_cis_quirks.c" program which seems to allow for
(Continue reading)

Steve Edwards | 2 Apr 2003 11:53
Picon
Favicon

Re: More Mobilepro Questions - Success

I've finally got X working on my Mobilepro 800!

In the end I went for a bigger compact flash card, 256mb is fine...

I ran the install, typed "startx" and pressed enter, up popped an x session :-)

The best thing is, I can also use XDCMP on the server and use the mobile pro as
an x terminal.

X -broadcast worked for me...

So I can now run opera, pine, etc that are stored on the server...

Web browsing using opera this was is really quick. Much, much, faster than pocket
ie...

One quick question, just how long can I expect a compact flash card to last? I
know they have a limited write capacity and having a swap file must use these up
quickly...

Cheers

Steve

__________________________________________________
Yahoo! Plus
For a better Internet experience
http://www.yahoo.co.uk/btoffer

(Continue reading)

Bernd Sieker | 2 Apr 2003 12:22
Picon
Favicon

Re: More Mobilepro Questions - Success

On 02.04.03, 10:53:20, Steve Edwards wrote:
> 
> One quick question, just how long can I expect a compact flash card to last? I
> know they have a limited write capacity and having a swap file must use these up
> quickly...

I really can't answer that, but some notes: Always mount local file
systems with the options "noatime, nodevmtime" to reduce write
load.  Also, since you have network connectivity, you might consider
using nfs-mounted swap instead of swap space on the local CF card.
If you are using Wireless networking with IPSec, however, note that
nfs over ipsec is seriously broken in 1.6, see kern/18924.

> 
> Cheers
> 
> Steve
> 

--

-- 
Bernd Sieker

NetBSD: Where do you want to have the power to serve, tomorrow?
		-- Tom Harvey

James Retterer | 4 Apr 2003 00:46
Picon

Ultra CF problems anyone?

Greetings all,

I've been running NetBSD 1.6 on a MobilePro 780 for a bit now - quite 
happy with a PQI 256 MB CF card.  But... I wanted some more elbow 
room, and I recently picked up a SanDisk Ultra 512, and I am getting 
unexpected and largely annoying errors...  Sometimes It will install 
all the way through, sometimes not.  Once installed, I can use it for 
a while, but inevitably I will trip over same error.  Sometimes it 
happens when installing software, sometimes when starting X, 
sometimes when copying files - I will hit a loop of an error like 
this:

wd0a: error writing fsbn 409830 of 409830-409831 (wd0 bn 418902; cn 
415 tn 9 sn 15), retrying
wd0: (id not found)

{repeat ad nauseum}

I've tried two different Ultra 512s, and on both the 780 and the 770 
I used to run -  the numbers change, depending upon what it's trying 
to do, and when - but it's all variations on a theme.  It works 
beautifully for a while ( or sometimes not so long ) and then I start 
getting the errors.

I haven't had problems like this before with my old card, or off of a 
340 MB microdrive - and also had no troubles on the 770 previously ( 
tho it doesn't support the microdrive ) - I've tried a couple 
different geometries too, and all with the same results.

Has anyone else been successful with using an Ultra 512?  How 'bout a 
(Continue reading)

Isaac Sibson | 4 Apr 2003 02:12

Re: Ultra CF problems anyone?

I have exactly this error with my 128MB Daneelec and 256MB crucial CFs in 
my 770.If anyone knows how to solve it, that would be good.

At 14:46 03/04/2003 -0800, James Retterer wrote:

>Greetings all,
>
>I've been running NetBSD 1.6 on a MobilePro 780 for a bit now - quite 
>happy with a PQI 256 MB CF card.  But... I wanted some more elbow room, 
>and I recently picked up a SanDisk Ultra 512, and I am getting unexpected 
>and largely annoying errors...  Sometimes It will install all the way 
>through, sometimes not.  Once installed, I can use it for a while, but 
>inevitably I will trip over same error.  Sometimes it happens when 
>installing software, sometimes when starting X, sometimes when copying 
>files - I will hit a loop of an error like this:
>
>wd0a: error writing fsbn 409830 of 409830-409831 (wd0 bn 418902; cn 415 tn 
>9 sn 15), retrying
>wd0: (id not found)
>
>{repeat ad nauseum}
>
>I've tried two different Ultra 512s, and on both the 780 and the 770 I 
>used to run -  the numbers change, depending upon what it's trying to do, 
>and when - but it's all variations on a theme.  It works beautifully for a 
>while ( or sometimes not so long ) and then I start getting the errors.
>
>I haven't had problems like this before with my old card, or off of a 340 
>MB microdrive - and also had no troubles on the 770 previously ( tho it 
>doesn't support the microdrive ) - I've tried a couple different 
(Continue reading)

nagy andras istvan | 4 Apr 2003 11:41
Picon

Re: Ultra CF problems anyone?

Hi,

> I haven't had problems like this before with my old card, or off of a 
> 340 MB microdrive - and also had no troubles on the 770 previously ( 
> tho it doesn't support the microdrive ) - I've tried a couple 

 I doubt it. I run a MP 770 with a 1GB miccrodrive.
andras

Miles Nordin | 5 Apr 2003 16:55

Re: Ultra CF problems anyone?

>>>>> "nai" == nagy andras istvan <blind <at> sneaker.hu> writes:

    >> 770 previously ( tho it doesn't support the microdrive )

   nai>  I doubt it. I run a MP 770 with a 1GB miccrodrive.  andras

The 340MB Microdrive requires more power in read/write mode and is
compatible with fewer devices than the 1GB.  Details are in the list
archives.

--

-- 
I'm surprised she doesn't have a nosebleed from being south of
Fourteenth Street.
		-- Lexy Gold

Matthew Braun | 7 Apr 2003 06:50
Picon

Out of space on 45% full CF?

I'm still struggling to install NetBSD on my SanDisk compact flash card 
and while I've made a valiant effort (if I may say so) I've run up 
against an odd error that I cannot get past.

While untarring the base.tgz set I get a message that there is no room 
left on the compact flash card. A quick check using 'df' reveals that 
the card only has used 45% of it's space. This does not make sense at 
all. What circumstances would cause this discrepancy? It's a 128Mb 
compact flash card, so I should have enough space to fit kern, etc, and 
base, yet even a few files into base and the process craps out. I've 
also tried untarring the files to a msdos partition (this is being done 
on a x86 laptop) and trying to 'cp' the files over, but I get the same 
error.

What could be the cause of this?

--
"It always feels so good to see Kissinger standing
beside a U.S. President. It's kind of like watching
Voltron gear up to physically assault the
Statue of Liberty"  - www.mnftiu.cc

M. Warner Losh | 7 Apr 2003 06:53

Re: Out of space on 45% full CF?

what does df -i say?  Maybe you were too agressive in your
optimization of space and didn't allow enough inodes for the number of
files you want to place on it.

Warner


Gmane