From owner-freebsd-mobile Sun Aug 20 21:51:41 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from wilson.acpub.duke.edu (wilson.acpub.duke.edu [152.3.233.69]) by hub.freebsd.org (Postfix) with ESMTP id 6015737B422 for ; Sun, 20 Aug 2000 21:51:37 -0700 (PDT) Received: from bobzilla.adsl.duke.edu (bobzilla.adsl.duke.edu [152.16.67.15]) by wilson.acpub.duke.edu (8.9.3/8.9.3/Duke-5.0.0) with ESMTP id AAA18412; Mon, 21 Aug 2000 00:51:36 -0400 (EDT) Received: (from sto@localhost) by bobzilla.adsl.duke.edu (8.9.3/8.9.3) id AAA02722; Mon, 21 Aug 2000 00:51:32 -0400 (EDT) (envelope-from sto) Date: Mon, 21 Aug 2000 00:51:32 -0400 From: "Sean O'Connell" To: Greg Smith Cc: FreeBSD mobile Subject: Re: Winbook FX w/ Cirrus 5729/5730 PCIC + FreeBSD 4.1R = SOL ? Message-ID: <20000821005132.B2342@stat.Duke.EDU> Reply-To: "Sean O'Connell" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from gregsmith59@hotmail.com on Mon, Aug 21, 2000 at 04:07:57AM +0000 X-Organization: House of Schmutzli X-Kitties: Bitty Maya CJ Keisha Jacob Hopey X-Hound: Bob X-OS-of-Choice: FreeBSD Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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