Bug 12838

Summary: PC-Card ctlr(0) Vadem 365 support seems broken since 3.x
Product: Base System Reporter: dirkx
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description dirkx 1999-07-27 15:00:00 UTC
Since 3.2 a set of VADEM 365 singple port ISA slotted PCMCIA adaptor 
does no longer seem to work. Several identical cards have been tried 
with several different PCMCIA cards. All of which are known to
work under 2.2.8+PAO.

Ax an example of the problem; a repeated dumpcis gives partially
seemingly random data:

73.root.hack:dirkx $pccardc dumpcis | grep Manuf
        Version = 4.1, Manuf = [Calluna], card vers = [CT17ÿÿC]
74.root.hack:dirkx $pccardc dumpcis | grep Manuf
        Version = 4.1, Manuf = [Calluna], card vers = [CTÿ7ÿÿCÿ30ÿoÿÿ5ÿ'2ÿ3ÿÿ1ÿ]
75.root.hack:dirkx $pccardc dumpcis | grep Manuf
        Version = 4.1, Manuf = [Calluna], card vers = [CTÿ7ÿÿC]
76.root.hack:dirkx $pccardc dumpcis | grep Manuf
        Version = 4.1, Manuf = [Calluna], card vers = [CTÿ7ÿÿCÿ30ÿoÿÿ5ÿ'2ÿ3ÿÿ1ÿ]
77.root.hack:dirkx $

How-To-Repeat: Obtain a Vadem 365 card (Kento:-) and use the following kernel config:

machine         "i386"
cpu             "I586_CPU"
ident           HACK
maxusers        16

options         MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         NFS                     #Network Filesystem
options         NFS_ROOT                #NFS usable as root device, "NFS" req'ed
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         LKM                     # moet dit ??

config          kernel  root on wd0 dumps on wd0

controller      isa0
controller      pci0

pseudo-device   card    1
device          pcic0   at isa? port 0x3e0 irq 11 

controller      wdc0    at isa? port "IO_WD1" bio irq 14
disk            wd0     at wdc0 drive 0

device          npx0    at isa? port IO_NPX irq 13

device          ed0     at isa? disable port 0x300 net irq 9 iomem 0xd8000
device          sio0    at isa? port "IO_COM1" tty flags 0x10 irq 4

pseudo-device   loop
pseudo-device   ether
pseudo-device   pty     32

options         DDB
options         KTRACE
options         BREAK_TO_DEBUGGER
options         CONSPEED=9600
options         GDB_REMOTE_CHAT
machine         "i386"
cpu             "I586_CPU"
ident           HACK
maxusers        16

options         MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         NFS                     #Network Filesystem
options         NFS_ROOT                #NFS usable as root device, "NFS" req'ed
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         LKM                     # moet dit ??

config          kernel  root on wd0 dumps on wd0

controller      isa0
controller      pci0

pseudo-device   card    1
device          pcic0   at isa? port 0x3e0 irq 11 

controller      wdc0    at isa? port "IO_WD1" bio irq 14
disk            wd0     at wdc0 drive 0

device          npx0    at isa? port IO_NPX irq 13

device          ed0     at isa? disable port 0x300 net irq 9 iomem 0xd8000
device          sio0    at isa? port "IO_COM1" tty flags 0x10 irq 4

pseudo-device   loop
pseudo-device   ether
pseudo-device   pty     32

options         DDB
options         KTRACE
options         BREAK_TO_DEBUGGER
options         CONSPEED=9600
options         GDB_REMOTE_CHAT

PCMCIA cards tried;

	3c598
	IBM Wireless LAN Entry
	Calluna 150M ata card
	Kodak 30Mb and 10Mb sandisk ata card
	US robotics card
	etc.

Several motherboads and PCMCIA/ISA vadem adaptor combinations have been
tried to sort of rule out hardware problems.

Dw./
Comment 1 nick.hibma 1999-07-27 15:41:03 UTC
Two addresses and both wrong, tsk tsk tsk. :-)

---------- Forwarded message ----------
Date: Tue, 27 Jul 1999 16:05:30 +0200 (CEST)
From: Dirk-Willem van Gulik <dirkx@webweaving.org>
To: gnats-admin@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG
Subject: Re: kern/12838: PC-Card ctlr(0) Vadem 365 support seems broken since 3.x


The 'double' kernel config in the 'How-To-Repeat' section is a
cut-and-paste error on my behalf.
Comment 2 dirkx 1999-07-27 16:44:01 UTC
Nick Hibma wrote:

> Two addresses and both wrong, tsk tsk tsk. :-)

Gee.. I though I could just do reply (works for apache bugs ;-)... how
wrong I was. Meanwhile, back at the ranch:

Trying another brand of cards:

	PC-Card ctlr(0) Cirrus Logic PD672X (5 mem & 2 I/O windows)

Gives identical trouble. So it might be more general.

Dw.
Comment 3 iedowse freebsd_committer freebsd_triage 2001-07-10 00:12:56 UTC
State Changed
From-To: open->feedback


Have you tried this with more recent releases?
Comment 4 Sheldon Hearn freebsd_committer freebsd_triage 2002-01-17 16:12:05 UTC
State Changed
From-To: feedback->closed

Automatic feedback timeout.  If additional feedback that warrants 
the re-opening of this PR is available but not included in the 
audit trail, please include the feedback in a reply to this message 
(preserving the Subject line) and ask that the PR be re-opened.