Re: [Leaf-devel] Re: Booting Flash on PCMCIA follow-up

2002-02-12 Thread Matt Schalit

Mike Noyes wrote:
> 
> At 2002-02-12 16:33 +, Johan Ugander wrote:
> >Charles Steinkuehler writes:
> >>Sounds like interrupts aren't getting routed properly once linux takes
> >>over the hardware...
> >
> >Yes, this seems to be the problem. I've altered every bios setting
> >imaginable and I still can't get it to work. This is the sole problem
> >remaining in my attempts. I've tried turning off the on-board IDE, I've
> >tried pretty much every setting. I disabled floppy and FDC all together.
> >It's booting right now as we speak...trudging through unnumerable
> >'interrupt lost' listings as it's trying to get the packages up. hdk is
> >there, and it sees it, and it accesses it, it just loses the interrupt.
> >ANY ideas, and any experience with the problem under ANY sort of
> >circumstances would be greatly appreciated. If you've ever recieved an
> >'interrupt lost' output, and fixed it somehow, please tell so that I may
> >try and learn from your solution.
> 
> Johan,
> I did a quick search on Google, and it looks like this a common problem. I
> was unable to locate a solution.
> 
> http://google.com/search?hl=en&q=pcmcia+%22lost+interrupt%22


So we have several things going on here.  Let's see if we
can summarize them, quoting Johan from his threads:


   > I am looking to boot from a pcmcia flash card on an embedded
   > pc (pc/104) with bios level pcmcia boot support.

   > Oh, and by the way, my pc/104 pcmcia bridge is the tri-m aaeon pcm3115b
   >  http://www.tri-m.com/products/aaeon/manual/pcm3115b.pdf


Ok, so he's not using a regular IBM PC/clone 486 or Pentium
sort of mainboard, but rather a special micro mainboard called
an embedded pc/104.  He never tells us his LEAF version.  Alrighty
then.  Let's figure it's a 2.2 kernel, maybe Dachstein.

Later we have:


> it is a compact flash device... 8MB... a fullsize pcmcia card.
> I also have a 16MB smaller camera-format compact flash card, 
> which fits into a pcmcia adapter


Much later we have the description of the 16 MB one
he's trying to boot these days:


> hdk: Hitachi CV 7.1.1, ATA Disk drive
> hdk: IRQ probe failed (0)
>  ide5 at 0x160-0x167, 0x366 on irq 12
> hdk: Hitachi CV 7.1.1, 15MB w/ 1kB Cache, CHS 246/4/32


So he has two PC Cards.  


Let's start with a definition of PCMCIA, as the folks at 
the PCMCIA would appreciate it.  Every device of this nature 
is a PC Card and plugs into PC Card slots. Devices and slots 
should no longer be called PCMCIA cards or PCMCIA slots.  
The PCMCIA requests this.


What does 'PCMCIA' mean and who is the PCMCIA?

   Personal Computer Memory Card International Association

and it was established in 1991 to standardize flash memory
addin cards.  Just memory cards back then, no I/O.
   The standards were enhanced in 1994 and to include the 
PC CardATA specification for dealing with PC Card disk devices 
and PC Card Flash disk devices.  That 1994 2.1 specification 
included improvements for the Card Information Structure, too.  
The CIS is the layer that interfaces to the mainboard bios so 
that you can hotplug PC Card devices and get things recognized.
   All the time these were 16-bit devices.  Then in 1995 they
released the CardBus specification for PC Cards giving them
a 32-bit bus interfacing directly to the PCI bus via the CardBus
bridge.  More on that in another post.



What does PCMCIA not mean?
  "Pretty Confusing. May Cause Intense Anxiety" -- Bruce Bennet 
  "People Cannot Memorize Computer Industry Acronyms." -- unknown 
  "Personal Computer Marketers Can't Invent Acronyms" -- unknown 



He said his card was a:

Hitachi CV 7.1.1, 15MB w/ 1kB Cache, CHS 246/4/32

I wonder what his feelings are on this paragraph out of the pcm3115b
manual pdf, page 6-6,

   'Note
  When using an ATA HDD or ATA Flash card with 
  Boot ROM v.2.0x, the size of the card determines 
  whether it boots as drive A or drive C. If the card 
  is less than 15 MB, it will boot as drive A and the 
  floppy disk will become B; if greater than 15 MB it 
  will boot as drive C and your hard drive will become D. 
  This means that Flash cards (which are typically less 
  than 15 MB) will boot as A, and ATA HDD cards (typically
  greater than 15 MB) will boot as drive C.'
 

He mentions this A: vs. D: issue later, though not in detail.
Ok, let's wait on discussing it.


Again going back to:

> hdk: IRQ probe failed (0)
>  ide5 at 0x160-0x167, 0x366 on irq 12
> hdk: Hitachi CV 7.1.1, 15MB w/ 1kB Cache, CHS 246/4/32


Using the 16MB card, he gets irq 12.  Sounds like the mouse to me.
That can't be good.


Then he says:

> I then rebooted on the ide'd compact flash... 8MB card on the outer
> pcmcia slot. I got into the box, and trying to mount hdk, it gave an 
> almost enless amount of 'hdk: lost interrupt' before working. 


But he doesn't show us what interrupt it was assigned.  If it
takes a known and spoken-for interrupt, that set's off bells and
whistles.  12, 13,

Re: [Leaf-devel] Introduction: mds

2002-02-12 Thread guitarlynn

Glad to have you aboard, welcome!!!

:)

-- 

~Lynn Avants
aka Guitarlynn

guitarlynn at users.sourceforge.net
http://leaf.sourceforge.net

If linux isn't the answer, you've probably got the wrong question!

___
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel



[Leaf-devel] Re: Standards and due process :-)

2002-02-12 Thread Michael D. Schleif

Serge =>

Serge Caron wrote:
> 
> I got my first paycheck from a computer center (as they were called then :)
> in September 1970. You do the math. It is obvious that your message below
> was heathfelt and the product of a long experience. I respectfully request
> that you humor me into reading this message to the end.

[ snip ]

Please, trust that I am not ignoring you and that my passion is, indeed,
genuine.

I have read your post a couple times and, although I first thought that
you are critical of my position, I am interested in pursuing this
dialectic.

Nevertheless, I am in a bit of a crunch right now and ask that you grant
me a brief reprieve until later this week . . .

-- 

Best Regards,

mds
mds resource
888.250.3987

Dare to fix things before they break . . .

Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . .

___
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel



[Leaf-devel] Introduction: mds

2002-02-12 Thread Michael D. Schleif


Hello

Finally, I am a card carrying member of your elite group of raconteurs! 
Hopefully, the stories I tell will be of some value to somebody here ;>

Although, most of you are very private and hold your credentials close
to your chest, I've been around the horn several times in more than
thirty years of architecture, design, implementation and management of
systems and processes.  The diligent among you will find my curriculum
vitae and the rest won't care to -- I am mds (aka, helices).

Anyrate, I have moved some files to:

leaf.sourceforge.net:/home/groups/l/le/leaf/devel/helices

Obviously, I do not yet have any fancy webpage; but, the files are
extant and follows a brief summary:

deny_stats.sh

I email myself this summary of DENY'ed packets every 4 hours

dhcp_2_dns.sh

I use this to manage dhcpd hosts in the tinydns.lrp data file

diskfree.sh

I use this as a replacement for checkfreespace() in /etc/multicron-p
I believe that this satisfies the requirements discussed in this
thread:




netsnmp.lrp

NET-SNMP, v4.2.3, cli applications that can be used to query and act on
remote SNMP agents

netsnmpd.lrp

NET-SNMP, v4.2.3, agent that binds to a port, awaits requests from SNMP
management software & broadcasts snmp traps according to its known MIB's

nettrapd.lrp

NET-SNMP, v4.2.3, receives and logs snmp trap messages sent to the
SNMP-TRAP port (default udp 162) on the local machine.

sangomaWanpipe.tgz

I worked with Sangoma for two months to get this working and optimized
under DCD, v1.0.2.  We still experience some spurious error messages
during bootup; we have not been able to prevent them and they may not
show up on all hardware; but, I agree with Sangoma that these are
spurious and do not affect functionality.  We are going to release
another version soon.  Included in this TGZ are four (4) modules that
must be used *instead* of those included with DCD:

/lib/modules/net/sdladrv.o
/lib/modules/net/syncppp.o
/lib/modules/net/wanpipe.o
/lib/modules/net/wanrouter.o
wanpipe.lrp

Anybody know why DCD puts this one here?

/lib/modules/misc/wanrouter.o


I am here for the long haul.  Suggestions, bug reporting and
constructive criticism are encouraged -- preferably in the public forum
of this List Service.

Thank you, for inviting me into your fold . . .

-- 

Best Regards,

mds
mds resource
888.250.3987

Dare to fix things before they break . . .

Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . .

___
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel



Re: [Leaf-devel] Toys for the dreamers in all of us!

2002-02-12 Thread guitarlynn

On Tuesday 12 February 2002 15:04, Serge Caron wrote:
> Hardware kits galore with a _real_time_ operating sustem:
> http://www.zworld.com/
>
> Check out DeviceGate Development kits !

Pretty kewl,

Other than the fact that Linux probably doesn't support the
Rabbit2000? processor (that I know of) and the propietary
C system they're using requires a Win32 OS.

http://www.zworld.com/products/dc/index.html
http://www.zworld.com/products/smart_star/index.html

Sounds to me like QNX on a Win32 platform marketing through
their own hardware. Maybe embedded SUN on Win32.
I wonder why they don't offer something with a Transmeta chip?

Neat, but not my cup of tea ;)
thx
-- 

~Lynn Avants
aka Guitarlynn

guitarlynn at users.sourceforge.net
http://leaf.sourceforge.net

If linux isn't the answer, you've probably got the wrong question!

___
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel



[Leaf-devel] Toys for the dreamers in all of us!

2002-02-12 Thread Serge Caron

Hardware kits galore with a _real_time_ operating sustem:
http://www.zworld.com/

Check out DeviceGate Development kits !

Regards,

Serge Caron


___
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel



Re: [Leaf-devel] Re: Booting Flash on PCMCIA follow-up

2002-02-12 Thread Mike Noyes

At 2002-02-12 16:33 +, Johan Ugander wrote:
>Charles Steinkuehler writes:
>>Sounds like interrupts aren't getting routed properly once linux takes
>>over the hardware...
>
>Yes, this seems to be the problem. I've altered every bios setting 
>imaginable and I still can't get it to work. This is the sole problem 
>remaining in my attempts. I've tried turning off the on-board IDE, I've 
>tried pretty much every setting. I disabled floppy and FDC all together.
>It's booting right now as we speak...trudging through unnumerable 
>'interrupt lost' listings as it's trying to get the packages up. hdk is 
>there, and it sees it, and it accesses it, it just loses the interrupt.
>ANY ideas, and any experience with the problem under ANY sort of 
>circumstances would be greatly appreciated. If you've ever recieved an 
>'interrupt lost' output, and fixed it somehow, please tell so that I may 
>try and learn from your solution.

Johan,
I did a quick search on Google, and it looks like this a common problem. I 
was unable to locate a solution.

http://google.com/search?hl=en&q=pcmcia+%22lost+interrupt%22

--
Mike Noyes <[EMAIL PROTECTED]>
http://sourceforge.net/users/mhnoyes/
http://leaf.sourceforge.net/content.php?menu=1000&page_id=4


___
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel



[Leaf-devel] Re: Booting Flash on PCMCIA follow-up

2002-02-12 Thread Johan Ugander

Charles Steinkuehler writes: 

>> Questions
>> - 
>>
>> How do I get past the end_request errors being produced for the
>> flash, which seems to be looking for a (nonexistant) floppy?
> 
> I'm not 100% sure, but what I think is happening: 
> 
> Syslinux is booting, and loading the kernel and initial ramdisk.  Then
> /linuxrc starts running.  The /linuxrc script tries to mount the boot=
> device (as specified on the kernel command line), and if it can't find it,
> it starts "fishing" for a boot device, by going through the device list in
> /var/lib/lrpkg/root.mount.

Silly me, I forgot the create the /dev nodes on the embedded side. I had 
added them to root.mount, yet I forgot to add the mknod commands to linuxrc. 
I have this problem resolved. Now onto the interrupt issue... 

> NOTE:  Unless you're using very non-standard init scripts and boot
> procedure, you shouldn't have to mess with rdev.  The root= and boot=
> settings in the kernel command line are what matter...

Yes, I realized that rdev'ing the kernel wasn't necissary, thanks. 

>> The 'lost interrupt' repeats seem to be caused by some sort of
>> slowness on the pcmcia bus and/or an irq problem. How can this be
>> addressed?
> 
> This I don't know about (I don't work much with notebooks or PCMCIA)...are
> you sure linux is talking to your PCMCIA controller properly?  Sounds like
> interrupts aren't getting routed properly once linux takes over the
> hardware...

Yes, this seems to be the problem. I've altered every bios setting 
imaginable and I still can't get it to work. This is the sole problem 
remaining in my attempts. I've tried turning off the on-board IDE, I've 
tried pretty much every setting. I disabled floppy and FDC all together. 

It's booting right now as we speak...trudging through unnumerable 'interrupt 
lost' listings as it's trying to get the packages up. hdk is there, and it 
sees it, and it accesses it, it just loses the interrupt. 

ANY ideas, and any experience with the problem under ANY sort of 
circumstances would be greatly appreciated. If you've ever recieved an 
'interrupt lost' output, and fixed it somehow, please tell so that I may try 
and learn from your solution. 

thanks,
johan 

___
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel



Re: [Leaf-devel] Booting Flash on PCMCIA follow-up

2002-02-12 Thread Charles Steinkuehler

> Questions
> -
>
> How do I get past the end_request errors being produced for the
> flash, which seems to be looking for a (nonexistant) floppy?

I'm not 100% sure, but what I think is happening:

Syslinux is booting, and loading the kernel and initial ramdisk.  Then
/linuxrc starts running.  The /linuxrc script tries to mount the boot=
device (as specified on the kernel command line), and if it can't find it,
it starts "fishing" for a boot device, by going through the device list in
/var/lib/lrpkg/root.mount.

NOTE:  Unless you're using very non-standard init scripts and boot
procedure, you shouldn't have to mess with rdev.  The root= and boot=
settings in the kernel command line are what matter...

> The 'lost interrupt' repeats seem to be caused by some sort of
> slowness on the pcmcia bus and/or an irq problem. How can this be
> addressed?

This I don't know about (I don't work much with notebooks or PCMCIA)...are
you sure linux is talking to your PCMCIA controller properly?  Sounds like
interrupts aren't getting routed properly once linux takes over the
hardware...

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)



___
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel



[Leaf-devel] Site Update 2002-02-12

2002-02-12 Thread Mike Noyes

At 2002-02-11 23:31 -0500, Serge Caron wrote:
>My reflex was to inform Mike and I was saddened to learn that LEAF does
>not have an official package repository.

Serge,
Since you brought this up, I thought I would make a general apology to 
everyone. Note: we will have a package repository shortly.

Everyone,
I've been a little slow to get things done in the last couple of weeks. I 
apologize for the delays. I'm going to try and clear the following things 
off of my to-do list ASAP. If I forgot something, please let me know.

Release Bering beta-3
   1. update bin/bering tree
   2. tarball kernel
   3. release in files area
   4. create phpWS Bering release page
   5. modify home page with new release link
   6. post article for Bering release
   7. update Freshmeat.net record with new branch
Announce nistnet 2.0.10 package availability.
Make Michael D. Schleif a LEAF developer.
   1. Add him to our project using the admin interface on SF.
 1a. Set permissions
   2. Create tree in CVS for him
   3. Create phpWS admin/author account for him
   4. modify our MySQL database developer table to include him
Announce Openssh 3.0.2p1 package availability
Announce dachstein 1.0.2 glibc 2.1.3 CD upgrade
Release Oxygen 1.8.1
   1. release in files area
   2. post phpWS article for new release
Release Oxygen 1.9.0
   1. release in files area
   2. post phpWS article for new release
   3. update Freshmeat record
Create packages repository in cvs.
   1. locate all .lrp packages on the shell server.
 1a. determine file creation dates
 1b. create tree adding oldest packages first
   2. create daily.sh script for exporting packages tree to /pub/packages
Publish developer CVS FAQ in the DocManager
Update Individual Developer Content FAQ with new policies.
Publish site mirroring FAQ in the DocManager

--
Mike Noyes <[EMAIL PROTECTED]>
http://sourceforge.net/users/mhnoyes/
http://leaf.sourceforge.net/content.php?menu=1000&page_id=4


___
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel