From owner-freebsd-mobile Sun Nov 5 17:29:19 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mobile.wemm.org (unknown [202.12.86.19]) by hub.freebsd.org (Postfix) with ESMTP id AA92137B4C5 for ; Sun, 5 Nov 2000 17:29:10 -0800 (PST) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id eA61TQK75981 for ; Mon, 6 Nov 2000 09:29:27 +0800 (WST) (envelope-from peter@netplex.com.au) Message-Id: <200011060129.eA61TQK75981@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: mobile@freebsd.org Subject: WARNING: later VAIOs (eg: PCG-F690) with ATI chipsets == trouble Date: Mon, 06 Nov 2000 09:29:26 +0800 From: Peter Wemm Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The problem comes from having an 80K video bios (0xc0000 -> 0xd3ffff). This breaks two things: 1: the default pccard (oldcard) address is 0xd0000 and overlaps with the rom, which causes pccardd to see garbage instead of the CIS> 2: XFree86 carefully calculates the size of the ROM, and then memcpy's all 80K of it onto a 64K stack buffer. Sigh. ~ports/x11/XFree86-4/work/xc/programs/Xserver/hw/xfree86/drivers/ati-114> diff -u2 /tmp/atipreinit.c.badshit atipreinit.c --- /tmp/atipreinit.c.BADSHIT Mon Nov 6 09:20:18 2000 +++ atipreinit.c Sun Oct 29 15:09:13 2000 @@ -327,5 +327,5 @@ ) { -# define BIOS_SIZE 0x00010000U /* 64kB */ +# define BIOS_SIZE 0x00014000U /* 80kB */ CARD8 BIOS[BIOS_SIZE], *pBIOS; # define BIOSByte(_n) (*((CARD8 *)(BIOS + (_n)))) This is just an expedient hack to get it working for me. It needs to be fixed properly. 3: NEWCARD doesn't seem to have any way to change the CIS window address. It merrily maps into 0xd0000 and then explodes in the kernel probe due to the "garbage" CIS there. After getting over the initial hurdles, I'm pretty happy with it. It isn't quite a Dell Inspiron 5000e, but it is close enough.. :-) Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message