Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 1996 10:50:11 +0100
From:      Gianmarco Giovannelli <gmarco@scotty.masternet.it>
To:        mobile@freebsd.org
Subject:   * 3c589c still doesn't work *
Message-ID:  <3.0.1.32.19961221105003.006c534c@scotty.masternet.it>

next in thread | raw e-mail | index | archive | help

I have tried to reproduce the success of mr. Lehey with his notebook and
the 3com 3c589c pcmcia but without arriving at nothing. My pcmcia don't
want to be seen by all the kernel I have tried with.

I tried to simplify things using a pccard.conf simplest I can with only the
two pcmcia cards I own (3c589c and Sportser V34), but noone of them is seen
by my kernels (2.2 -ALPHA , ctm #80 ).

The cards was seen and worked with the OLD PAO packages, but crashed a lot
of times so I'd like to try with a plain enviroment first.  Btw I have
downloaded the new PAO too .... :-)

The notebook is a Oyster Brahma, P133 , 24mb ram. 

Here is the (last:-) kernel file 

--- cut ---

#
# BRAHMA
#
#	$Id: BRAHMA,v 1.00 1996/12/22 06:05:56 gmarco Exp $

machine	"i386"
cpu		"I586_CPU"
ident		BRAHMA
maxusers	10

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
options		BOUNCE_BUFFERS    # bounce buffers
options		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

config		kernel	root on wd0

controller	isa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0

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


controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr

options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		wcd0	#IDE CD-ROM

device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr

# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#
device		apm0    at isa?	disable	# Advanced Power Management
options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS
# PCCARD (PCMCIA) support
#controller	crd0
#device		pcic0	at crd?
#device		pcic1	at crd?
 
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr

device		psm0	at isa? disable port "IO_KBD" conflicts tty irq 12 vector psmintr

#device ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
#options		KTRACE		#kernel tracing

--- end kernel file ---

It doesn't work in the same way with the PCCARD (PCMCIA) support enabled.

Here is the result :

---- begin ----

FreeBSD 2.2-RELEASE #0: Sat Dec 21 10:03:40  1996
    root@brahma.eclipse.org:/usr/src/sys/compile/BRAHMA
Calibrating clock(s) relative to mc146818A clock ... i586 clock: 132958259
Hz, i8254 clock: 1193218 Hz
CPU: Pentium (132.95-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 25165824 (24576K bytes)
avail memory = 22573056 (22044K bytes)
Probing for devices on PCI bus 0:
chip0 <generic PCI bridge (vendor=1060 device=e891 subclass=0)> rev 176 on
pci0:0
vga0 <VGA-compatible display device> rev 0 on pci0:17
chip1 <generic PCI bridge (vendor=1060 device=e886 subclass=1)> rev 178 on
pci0:18:0
pci0:18:1: UMC, device=0x673a, class=storage (ide) [no driver assigned]
chip2 <generic PCI bridge (vendor=1013 device=1100 subclass=5)> rev 254 int
a irq ?? on pci0:23
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
pccard driver sio added
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x278-0x27f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: device ID 0, 2 buttons?
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <HITACHI_DK223A-11>
wd0: 1031MB (2111760 sectors), 2095 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <TOSHIBA CD-ROM XM-1402B/1486>, removable, intr, iordis
wcd0: 1033Kb/sec, 128Kb cache, audio play, 255 volume levels, ejectable tray
wcd0: 120mm data disc loaded, unlocked
zp0 not found at 0x300
npx0 on motherboard
npx0: INT 16 interface
apm0: disabled, not probed.

--- end dmesg ---

my /etc/pccard.conf :

--- begin /etc/pccard.conf ---

# Generally available IO ports
io	0x240-0x360
# Generally available IRQs (Built-in sound-card owners remove 5)
# irq	3 5 10 11 13 15
irq	10 11 13
# Available memory slots
memory	0xd4000  96k

# 3Com Etherlink III 3C589B, 3C589C
card "3Com Corporation" "3C589"
	config	0x1 "ep0" ?
	insert	echo 3Com Etherlink III inserted
	insert	/etc/pccard_ether ep0 -link0 link1
#	insert	/etc/pccard_ether ep0 link0 -link1
	remove	echo 3Com Etherlink III removed
	remove	/sbin/ifconfig ep0 delete

# US Robotics Sportster PCMCIA V.34
# US Robotics COURIER PCMCIA V.34
card "USRobotics" "PCMCIA 28800 Data/F"
	config  0x3 "sio2" 3
	insert  echo USRobotics PCMCIA Modem inserted
	remove  echo USRobotics PCMCIA Modem removed

--- end ---

and finally the laptop section in /etc/sysconfig

--- begin ---

##### Start Of PC-card Section #######

# If you want to enable APM BIOS driver, set to YES
# (The APM BIOS driver is not configured into GENERIC kernel b/c of bugs)
apm_enable=NO

# If you want to use PC-card package, set to YES
# (PC-card support is not configured in the GENERIC kernel)
pccard_enable=YES

# If you want to specify the address of memory used by PCIC, 
# set this address (DEFAULT=0xd0000)
pccard_mem=DEFAULT

# If you want to use Etnerent PCMCIA cards, specify the ifconfig portion
# here.  (card-specific flags like connector selection should be written in
# the card-specific entry in /etc/pccard.conf).  Set to DHCP if you want to
# use a DHCP server to determine your IP address (not implemented).
#
# Set to NO if you don't want to configure your PC-CARD ethernet controller.
#
# for example:
#
#      pccard_ifconfig="131.113.32.126 netmask 0xffffff00"
# or
#      pccard_ifconfig="DHCP"
#
pccard_ifconfig=NO

######## End Of PC-card Section #####

--- end ---

I used zp0 as driver for my board, is it correct ? Or I must use ep0 or ed0 ?

Thanks in advance for any help...



Regards...

+-------------------------------------+--------------------+
| Internet:  gmarco@masternet.it      |        ,,,         |
| Internet:  gmarco@fi.nettuno.it     |       (o o)        |
| http://www2.masternet.it/~gmarco    | ---oo0-(_)-0oo---  |
| http://www2.masternet.it/           |     Gianmarco      |
+-------------------------------------+--------------------+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.1.32.19961221105003.006c534c>