From nobody  Fri Feb 21 18:09:40 1997
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.8.5/8.8.5) id SAA13575;
          Fri, 21 Feb 1997 18:09:40 -0800 (PST)
Message-Id: <199702220209.SAA13575@freefall.freebsd.org>
Date: Fri, 21 Feb 1997 18:09:40 -0800 (PST)
From: lewiz@netcom.com
To: freebsd-gnats-submit@freebsd.org
Subject: Cyclades 8YO -- Not working under 2.1.6-STABLE
X-Send-Pr-Version: www-1.0

>Number:         2795
>Category:       misc
>Synopsis:       Cyclades 8YO -- Not working under 2.1.6-STABLE
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 21 18:10:00 PST 1997
>Closed-Date:    Sat Apr 11 08:42:12 PDT 1998
>Last-Modified:  Sat Apr 11 08:42:23 PDT 1998
>Originator:     Lewis De Payne
>Release:        2.1.6-STABLE
>Organization:
Lew Payne Publishing, Inc.
>Environment:
FreeBSD ppp.wpac.com 2.1.6-RELEASE FreeBSD 2.1.6-RELEASE #0: Fri Feb 21 15:37:57
 PST 1997     lewis@ppp.wpac.com:/usr/src/sys/compile/WPAC  i386
>Description:
dmesg output: cy0 irq 12 maddr 0xd4000 msize 8192 on isa
/dev/ttyc*  : 0 crw-------  1 root  wheel   48,   0 Feb 21 17:47 ttyc0

Cyclades ISA 8-port card does not work.  Cyclom diags test okay,
no IRQ conflicts.  Cyclades telnetted in and ran tests -- may be
a driver-related problem.  Are the major/minor #'s correct?

Problem:  date > /dev/ttyc0   [locks up, even ^C ignored]
Can't use the Cyclades card at all!  Can anyone please help??
Telnet access available, if necessary.

>How-To-Repeat:
Email and arrange telnet access to our machine.
>Fix:

>Release-Note:
>Audit-Trail:

From: David Greenman <dg@root.com>
To: lewiz@netcom.com
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/2795: Cyclades 8YO -- Not working under 2.1.6-STABLE 
Date: Mon, 24 Feb 1997 08:14:34 -0800

 >FreeBSD ppp.wpac.com 2.1.6-RELEASE FreeBSD 2.1.6-RELEASE #0: Fri Feb 21 15:37:57
 > PST 1997     lewis@ppp.wpac.com:/usr/src/sys/compile/WPAC  i386
 >>Description:
 >dmesg output: cy0 irq 12 maddr 0xd4000 msize 8192 on isa
 >/dev/ttyc*  : 0 crw-------  1 root  wheel   48,   0 Feb 21 17:47 ttyc0
 >
 >Cyclades ISA 8-port card does not work.  Cyclom diags test okay,
 >no IRQ conflicts.  Cyclades telnetted in and ran tests -- may be
 >a driver-related problem.  Are the major/minor #'s correct?
 >
 >Problem:  date > /dev/ttyc0   [locks up, even ^C ignored]
 >Can't use the Cyclades card at all!  Can anyone please help??
 >Telnet access available, if necessary.
 
    Did you get and install the updated Cyclades driver for FreeBSD that is
 available from the Cyclades FTP site?
 
 -DG
 
 David Greenman
 Core-team/Principal Architect, The FreeBSD Project

From: Lewis De Payne <lewiz@netcom.com>
To: David Greenman <dg@root.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/2795: Cyclades 8YO -- Not working under 2.1.6-STABLE 
Date: Mon, 24 Feb 1997 10:41:07 -0800 (PST)

 On Mon, 24 Feb 1997, David Greenman wrote:
 
 > >FreeBSD 2.1.6-RELEASE FreeBSD 2.1.6-RELEASE #0: 
 > >dmesg output: cy0 irq 12 maddr 0xd4000 msize 8192 on isa
 > >/dev/ttyc*  : 0 crw-------  1 root  wheel  48,0 Feb 21 17:47 ttyc0
 > >
 > >Cyclades ISA 8-port card does not work.  Cyclom diags test okay,
 > >no IRQ conflicts.  Cyclades telnetted in and ran tests -- may be
 > >a driver-related problem.  Are the major/minor #'s correct?
 > >
 > >Problem:  date > /dev/ttyc0   [locks up, even ^C ignored]
 > >Can't use the Cyclades card at all!  Can anyone please help??
 > >Telnet access available, if necessary.
 > 
 >    Did you get and install the updated Cyclades driver for
 > FreeBSD that is available from the Cyclades FTP site?
 
 Yes, and it still locks up even with "date > /dev/ttyc0".  This
 is an 8-port ISA bus board.  Cyclades Corp does not have a 2.1.6
 system in-house, and their tech support help was limited.  They
 suggest it is a driver problem, after poking around our system.
 Telnet access is available, if it helps someone to poke around.

From: David Greenman <dg@root.com>
To: Lewis De Payne <lewiz@netcom.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/2795: Cyclades 8YO -- Not working under 2.1.6-STABLE 
Date: Mon, 24 Feb 1997 11:55:31 -0800

 >On Mon, 24 Feb 1997, David Greenman wrote:
 >
 >> >FreeBSD 2.1.6-RELEASE FreeBSD 2.1.6-RELEASE #0: 
 >> >dmesg output: cy0 irq 12 maddr 0xd4000 msize 8192 on isa
 >> >/dev/ttyc*  : 0 crw-------  1 root  wheel  48,0 Feb 21 17:47 ttyc0
 >> >
 >> >Cyclades ISA 8-port card does not work.  Cyclom diags test okay,
 >> >no IRQ conflicts.  Cyclades telnetted in and ran tests -- may be
 >> >a driver-related problem.  Are the major/minor #'s correct?
 >> >
 >> >Problem:  date > /dev/ttyc0   [locks up, even ^C ignored]
 >> >Can't use the Cyclades card at all!  Can anyone please help??
 >> >Telnet access available, if necessary.
 >> 
 >>    Did you get and install the updated Cyclades driver for
 >> FreeBSD that is available from the Cyclades FTP site?
 >
 >Yes, and it still locks up even with "date > /dev/ttyc0".  This
 
    Why do think that "date > /dev/ttyc0" should work? Does the line have
 flow control enabled? If there is no carrier, then that command should
 block. What is the "WMESG" for the process that is blocked?
    Also, irq 5 is the standard interrupt for the Cyclades card. Are you sure
 that you have the card actually set to irq 12? Are you sure that you don't
 have an interrupt conflict with another device?
 
 -DG
 
 David Greenman
 Core-team/Principal Architect, The FreeBSD Project

From: Lewis De Payne <lewiz@netcom.com>
To: dg@root.com
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/2795: Cyclades 8YO -- Not working under 2.1.6-STABLE (fwd)
Date: Mon, 24 Feb 1997 13:39:32 -0800 (PST)

 David, this might be the problem -- the latest driver on the Cyclades
 ftp site may not be the latest driver.  Marcio has now sent me the
 driver you sent him recently.  I'll install it and let you know.
 Thank you for your quick responses.
 
 ---------- Forwarded message ----------
 Date: Mon, 24 Feb 1997 12:36:36 -0800
 From: Marcio Saito <marcio@cyclades.com>
 To: Lewis De Payne <lewiz@netcom.com>
 Cc: Cyclades Technical Support <support@cyclades.com>
 Subject: Re: misc/2795: Cyclades 8YO -- Not working under 2.1.6-STABLE (fwd)
 
 Lewis:
 
 I think there was a misunderstanding.
 
 The Cyclom-Y driver has been in the FreeBSD kernel
 for a while.
 
 Some time ago, David Greenman *added* PCI support
 to the driver.
 
 By that time, 2.1.5 was the most popular driver. The
 driver in the ftp area (see README.FREEBSD) is only
 for 2.1.5 kernels.
 
 2.1.6 has all the support for the Cyclom-Y board
 already built-in.
 
 A few days ago, David Greenman sent me patches for
 the drivers included in the 2.1.6 kernel. It was
 my understanding that the patch affected only PCI
 cards.
 
 But it seems that the patches might affect ISA cards
 and could explain your problems.
 
 So, what I suggest is:
 
 - Restore the original drivers that came with your
   2.1.6. kernel (the driver in the ftp area is only
   for 2.1.5).
 
 - Apply David Greenman's patches (I'm forwarding his
   message to you right after I sent this one).
 
 Marcio.
 
 > 
 DG> Did you get and install the updated Cyclades driver for
 DG> FreeBSD that is available from the Cyclades FTP site?

From: Lewis De Payne <lewiz@netcom.com>
To: David Greenman <dg@root.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/2795: Cyclades 8YO -- Not working under 2.1.6-STABLE 
Date: Mon, 24 Feb 1997 13:54:09 -0800 (PST)

 This is a diff between what was on the Cyclades ftp site and
 what I was just recently sent via email by them.  No doubt,
 this is the bug you fixed, David.  I'll see if it works...
 
 
 ppp: {24} diff cy.diff ../cy_old/cy.diff
 
 ppp: {25} diff cy_pci.c ../cy_old/cy_pci.c
 122c122
 <       outw(ioport + CY_PLX_ICS, inw(ioport + CY_PLX_ICS) |
 ---
 >       outw(ioport + CY_PLX_ICS, inw(CY_PLX_ICS) |
 
 ppp: {26} diff cy_pcireg.h ../cy_old/cy_pcireg.h
 
 

From: Lewis De Payne <lewiz@netcom.com>
To: David Greenman <dg@root.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/2795: Cyclades 8YO -- Not working under 2.1.6-STABLE 
Date: Mon, 24 Feb 1997 16:43:11 -0800 (PST)

 David -- The Cyclades 8 ISA board is working properly again.
 The problem turned out to be old patches on the Cyclades ftp
 site.  Thank you for your persistance and assistance.
 
 --- copy ---
 Marcio@cyclades.com wrote:
 A few days ago, David Greenman sent me patches for
 the drivers included in the 2.1.6 kernel. It was
 my understanding that the patch affected only PCI
 cards.
 
 But it seems that the patches might affect ISA cards
 and could explain your problems.
 --- !copy ---

From: David Greenman <dg@root.com>
To: Lewis De Payne <lewiz@netcom.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/2795: Cyclades 8YO -- Not working under 2.1.6-STABLE 
Date: Mon, 24 Feb 1997 18:45:00 -0800

 >
 >This is a diff between what was on the Cyclades ftp site and
 >what I was just recently sent via email by them.  No doubt,
 >this is the bug you fixed, David.  I'll see if it works...
 >
 >
 >ppp: {24} diff cy.diff ../cy_old/cy.diff
 >
 >ppp: {25} diff cy_pci.c ../cy_old/cy_pci.c
 >122c122
 ><       outw(ioport + CY_PLX_ICS, inw(ioport + CY_PLX_ICS) |
 >---
 >>       outw(ioport + CY_PLX_ICS, inw(CY_PLX_ICS) |
 >
 >ppp: {26} diff cy_pcireg.h ../cy_old/cy_pcireg.h
 
    According to your device probe information, you have an ISA card. The above
 change only affects PCI versions of the Cyclades 'Y' adapter.
 
 -DG
 
 David Greenman
 Core-team/Principal Architect, The FreeBSD Project

From: David Greenman <dg@root.com>
To: Lewis De Payne <lewiz@netcom.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/2795: Cyclades 8YO -- Not working under 2.1.6-STABLE 
Date: Mon, 24 Feb 1997 18:47:04 -0800

 >David -- The Cyclades 8 ISA board is working properly again.
 >The problem turned out to be old patches on the Cyclades ftp
 >site.  Thank you for your persistance and assistance.
 >
 >--- copy ---
 >Marcio@cyclades.com wrote:
 >A few days ago, David Greenman sent me patches for
 >the drivers included in the 2.1.6 kernel. It was
 >my understanding that the patch affected only PCI
 >cards.
 >
 >But it seems that the patches might affect ISA cards
 >and could explain your problems.
 >--- !copy ---
 
    It couldn't have been that patch that fixed it. It must have been a stale
 .o file or something. The code that the patch patches is only executed if
 a PCI Cyclades card is found, otherwise it is not executed.
 
 -DG
 
 David Greenman
 Core-team/Principal Architect, The FreeBSD Project

From: David Greenman <dg@root.com>
To: Lewis De Payne <lewiz@netcom.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/2795: Cyclades 8YO -- Not working under 2.1.6-STABLE (fwd) 
Date: Mon, 24 Feb 1997 18:51:38 -0800

 >---------- Forwarded message ----------
 >Date: Mon, 24 Feb 1997 12:36:36 -0800
 >From: Marcio Saito <marcio@cyclades.com>
 >To: Lewis De Payne <lewiz@netcom.com>
 >Cc: Cyclades Technical Support <support@cyclades.com>
 >Subject: Re: misc/2795: Cyclades 8YO -- Not working under 2.1.6-STABLE (fwd)
 >
 >Lewis:
 >
 >I think there was a misunderstanding.
 >
 >The Cyclom-Y driver has been in the FreeBSD kernel
 >for a while.
 >
 >Some time ago, David Greenman *added* PCI support
 >to the driver.
 >
 >By that time, 2.1.5 was the most popular driver. The
 >driver in the ftp area (see README.FREEBSD) is only
 >for 2.1.5 kernels.
 >
 >2.1.6 has all the support for the Cyclom-Y board
 >already built-in.
 
    Actually, both 2.1.5 and 2.1.6 support the ISA card, and *neither* version
 support the PCI card. We did not fold the PCI changes into any 2.1.x release
 (including 2.1.7) because they were far too extensive and included changes
 to the devices in /dev as well (which would be a real problem for people
 trying to do simple upgrades within the 2.1.x branch). It was easier to simply
 tell people that need PCI support to get the cy_pci.tar.gz file, read the
 README, etc...
 
 -DG
 
 David Greenman
 Core-team/Principal Architect, The FreeBSD Project
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Sat Apr 11 08:42:12 PDT 1998 
State-Changed-Why:  
dead PR 
>Unformatted:
