All of lore.kernel.org
 help / color / mirror / Atom feed
* 3 Questions
@ 2001-11-28 19:18 Joachim Martillo
  2001-11-28 20:12 ` Alan Cox
  0 siblings, 1 reply; 11+ messages in thread
From: Joachim Martillo @ 2001-11-28 19:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: martillo

1) I have built a multifunction driver to support the Aurora
Technologies, Inc. serial adapter cards and expansion units that use
Siemens/Infineon SAB 82532 and SAB 82538 (ESCC2 and ESCC8) enhanced
serial communications controllers.  This driver supports asynchronous
TTYs, synchronous TTYs, an Ethernet-like synchronous serial Network
driver, and a packet-oriented character device to facilitate the
portation to Linux of synchronous protocol applications that have been
implemented with putmsg and getmsg on proprietary Unix systems.  (A
patch for those interested in trying the driver will be put up on one
of my web pages shortly.)  I took the SPARC Linux SAB 82532 serial
asynchronous TTY driver as a starting point and kept the
block_til_ready logic that arbitrates access between the cua and ttyS
devices because it seemed helpful in arbitrating access to a physical
port among the asynchronous TTY, asynchronous call out, synchronous
TTY, Network and character device functionalities.  From reviewing the
archive, I noticed that the cua devices have been deprecated, and that
now apparently callout and asynchronous terminal connectivity are
supposed to be managed through a single port.  I am not sure how
asynchronous dialout for synchronous TTYs, synchronous Network devices
and the synchronous character device can be managed without a separate
asynchronous callout device to communicate with the modem before the
synchronous connection is set up.  I suppose I could modify the
asynchronous TTY device so that it could be bimodal and switch back
and forth between synchronous and asynchronous mode, but a similar
procedure would be hard for the synchronous character device and very
hard for the synchronous network device.  How is dialout supposed to
be handled for asynchronous dialup modems that can set up synchronous
point-to-point connections on demand?

2) Are the other PCI or (E)ISA serial adapter cards that use the
SAB82532 and SAB82538 enhanced serial communications controller?
I could add support for them into this driver.

3) Aurora wants to track the driver in its source control system, but
they have ISO 900X procedures that require maintaining the build
environment under CVS.  The build environment is basically the kernel
against which it is developed.  But new developer kernels are released
fairly regularly (unlike new versions of Solaris or True64).  Do
maintainers of such driver software commonly maintain development
environments across a complete range (e.g., all 2.4.* kernels)?  Is
there a FAQ with recommendations to help a hardware vendor deal with
the nitty gritty details of making sure its driver software works
properly across such a range of rapidly changing development
environments?


Joachim Martillo
Telford Tools, Inc.
martillo@telfordtools.com


^ permalink raw reply	[flat|nested] 11+ messages in thread
* 3 questions...
@ 2002-09-27 23:51 Shaw, Marco
  2002-09-29 21:57 ` Michael Tokarev
  0 siblings, 1 reply; 11+ messages in thread
From: Shaw, Marco @ 2002-09-27 23:51 UTC (permalink / raw)
  To: 'linux-raid@vger.kernel.org'

1. When using fdisk, is it really required (or a "good idea") to create the partitions as type "fd"?  I've typically just created a regular Linux partition, and would let mkraid to it's thing.  (As a result, it seems strange that I ran into #2 below since I didn't do this step of changing the type.)

2. I can't seem to find a document describing how software RAID really works technically.  (Yes, I could read the source, but I'm not the most proficient C person, nor do I want to work all weekend looking at the source either.)  I had a problem the other day, where I had a md0 device that the system was not able to mount (logical disks mounted from a SAN).  Because the system could not mount the disks, it would fail to boot at the section where the system would attempt to auto-detect md0 and would drop me to single-user mode type prompt.

Taking the directory out of fstab, and tried to find something in /etc/rc.d/init.d that was trying to do stuff with the md devices at boot but couldn't find anything.  Ended up being a problem with an old modular driver, and had to create a new initrd with an updated driver, but I was stuck for a second (well more than a second really).

3. Is "persistent-superblock" supported with Linear and RAID0?  I think chunk-size is only supported in RAID0 and higher, but Linear will just skip the configuration with an informational warning at boot.

Marco

PS Basing some of my assumptions/statements above from the Software-RAID HOWTO v. 0.90.7.

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: 3 questions...
@ 2002-09-29 22:57 Shaw, Marco
  2002-09-29 23:19 ` Michael Tokarev
  0 siblings, 1 reply; 11+ messages in thread
From: Shaw, Marco @ 2002-09-29 22:57 UTC (permalink / raw)
  To: 'linux-raid@vger.kernel.org'


> > tell kernel which devices to use for your root filesystem (if your 
> > root is on raid device), by using something like
> >   append="md=2,/dev/hda1,/dev/hdb1"
> 
> I have some partitions with the fd type in raid arrays but 
> would like to switch to the manual method you just described. 
> These partitions hold data I care about. Is it safe to change 
> the partition type:
>    - while the array is not active?
>    - while the array is active?

I would recommend to umount the array and stop it if you can.  The fd or default 83 (IIRC), is just a label on the disk, and won't destroy data.  I've more experience with labels on Solaris, and have done those "on-the-fly" with no affects though.

Remember (with RedHat Advanced Server anyway), you'd have to actually disable autodetection.  I'm still working on how it works because I'm still unclear whether this is a kernel feature, or just a result of init scripts.  An older RedHat reference:
http://www.redhat.com/support/resources/tips/raid/RAID-4.html

Marco

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

end of thread, other threads:[~2002-09-30 19:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-28 19:18 3 Questions Joachim Martillo
2001-11-28 20:12 ` Alan Cox
2001-11-29  8:59   ` Allan Sandfeld
2001-11-29 10:56     ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2002-09-27 23:51 3 questions Shaw, Marco
2002-09-29 21:57 ` Michael Tokarev
2002-09-29 22:23   ` Florent Rougon
2002-09-29 23:15     ` Michael Tokarev
2002-09-30 19:09       ` Florent Rougon
2002-09-29 22:57 Shaw, Marco
2002-09-29 23:19 ` Michael Tokarev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.