Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2000 00:51:32 -0400
From:      "Sean O'Connell" <sean@stat.Duke.EDU>
To:        Greg Smith <gregsmith59@hotmail.com>
Cc:        FreeBSD mobile <freebsd-mobile@FreeBSD.ORG>
Subject:   Re: Winbook FX w/ Cirrus 5729/5730 PCIC + FreeBSD 4.1R = SOL ?
Message-ID:  <20000821005132.B2342@stat.Duke.EDU>
In-Reply-To: <F1150ymQ1WE9ql2RkeS0000368c@hotmail.com>; from gregsmith59@hotmail.com on Mon, Aug 21, 2000 at 04:07:57AM %2B0000
References:  <F1150ymQ1WE9ql2RkeS0000368c@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Smith stated:
: Hi,
: 
: I recently installed FreeBSD 4.1-Release on a Winbook FX (P133, 32MB, 2GB).  
: The machine now can dual-boot win95 or FreeBSD.  The installation went fine, 
: but I get the following errors:
: pccardd: "fatal error: no PC-CARD slots"
: pccardc: "/dev/card0: Device not configured"

It is not picking up the pcic in your machine ...  do you know what
your pcic is?

I had to do the following to get a Winbook-LM to work (under 3.?)

# PCIC device
# - port is a bigtime hack (got from scanpci :) 
device          pcic0   at isa? port 0xfcfc irq 11

Maybe this beast shares the same base hardware.  You may want to use
either

pciconf -l

or 

scanpci -v (scanpci is part of XFree86).  Also, maybe the dmesg output
from a verbose boot might shed some light on the setting for the pcic.
You do mention Win95 .. what does the device mangler (er, manager) have
to say about the pcic?  Are there any settings for adjusting the behavior
of the pcic?

: I have tried various changes to various files that I have gleaned from 
: searching the last few years of this mailing list, but to no avail:  I 
: swapped the device card and device pcic statements;  I tried the option 
: PNPBIOS statement;  I moved the sound card from IRQ10 to IRQ5 in BIOS;  I 
: altered the BIOS to support PNP or non-PNP OS;  I adjusted the generally 
: available IRQ and IO in pccard.conf, etc.  I'm not sure what else to do, or 
: if this setup will even work with 4.1R.

set BIOS to "non-PNP OS"
leave in PNPBIOS as it will probably help with sound support
leave sound at irq 5 (you should have more than enough on this beast
between 3,9,10 .. reserve 11 for pcic ... we may need to try others)

: --- config ----
: machine		i386
: cpu		I586_CPU
: ident		MINE
: maxusers	02

maxusers 64

(this helps to size kernel tables and 2 is way to pessimal!)

: ===  the following 1 line is present with PNPBIOS in config
: options  	PNPBIOS

leave this in ...

: # ATA and ATAPI devices
: device  	ata0	at isa? port IO_WD1 irq 14
: device  	ata1	at isa? port IO_WD2 irq 15
: device		ata
: device		atadisk			# ATA disk drives
: device		atapicd			# ATAPI CDROM drives
: device  	atapifd			# ATAPI floppy drives
: options 	ATA_STATIC_ID		#Static device numbering

You may be able to get away with just

device ata

and not the "device ata0 ..." and "device ata1..."

: # syscons is the default console driver, resembling an SCO console
: device  	sc0	at isa? flags 0x100
: options 	SC_NORM_ATTR="(FG_GREEN|BG_BLACK)"
: options 	SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)"
: options 	SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)"
: options 	SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"
: options 	SC_TWOBUTTON_MOUSE	# paste text with right mouse button

I am a big fan of  ... :)

options         SC_NORM_ATTR="(FG_LIGHTGREY|BG_BLUE)"
options         SC_NORM_REV_ATTR="(FG_BLUE|BG_LIGHTGREY)"
options         SC_KERNEL_CONS_ATTR="(FG_BLUE|BG_BLACK)"
options         SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_BLUE)"

: # Floating point support - do not disable.
: device  	npx0	at nexus? port IO_NPX irq 13
: 
: # Power management support (see LINT for more options)
: device  	apm0    at nexus? disable flags 0x20 # Advanced Power Management

You can probably enable this ...

device          apm0    at nexus?

(you may need the flags 0x20 ... but maybe not)

: # PCCARD (PCMCIA) support
: device		card
: device  	pcic0	at isa?
: options 	PCIC_RESUME_RESET	# reset cards after resume

Try the following (you could try with irq 11):

device          card
device          pcic0   at isa? port 0xfcfc

: # Serial (COM) ports
: device  	sio0	at isa? port IO_COM1 flags 0x10 irq 4
: device  	sio1	at isa? port IO_COM2 irq 3

You could probably go with just:

device sio

when coupled with PNPBIOS option.

: # PCMCIA Ethernet Adaptors
: device  	ed		# NE2000 compatible, e.g. LinkSys EC2T
: device  	ep		# 3Com 3C589x

Pccard adapters look good.

: # Sound
: #!device  	pcm

device pcm

should just work assuming that freebsd as the relevant PNP id in
the /sys/dev/sound/isa/{sbc or mss}.c

: --- rc.conf ---
: # This file now contains just the overrides from /etc/defaults/rc.conf
: # please make all changes to this file.
: 
: # -- sysinstall generated deltas -- #
: linux_enable="YES"
: moused_enable="YES"
: gateway_enable="YES"
: 
: ############ my changes ############
: swapfile="NO"		# Set to name of swapfile if aux swapfile desired.
: apm_enable="YES"	# Set to YES to enable APM BIOS functions (or NO).
: pccard_mem="DEFAULT"	# If pccard_enable=YES, this is card memory address.
: pccard_beep="1"		# pccard beep type.
: pccard_enable="YES"	# Set to YES if you want to configure PCCARD devices.
: pccard_conf="/etc/pccard.conf"	# pccardd(8) config file


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




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