From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 7 05:45:41 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED6BF16A4CE for ; Sun, 7 Nov 2004 05:45:41 +0000 (GMT) Received: from web61310.mail.yahoo.com (web61310.mail.yahoo.com [216.155.196.153]) by mx1.FreeBSD.org (Postfix) with SMTP id AB3AB43D4C for ; Sun, 7 Nov 2004 05:45:41 +0000 (GMT) (envelope-from rciugulea@yahoo.com) Message-ID: <20041107054541.35698.qmail@web61310.mail.yahoo.com> Received: from [24.0.35.191] by web61310.mail.yahoo.com via HTTP; Sat, 06 Nov 2004 21:45:41 PST Date: Sat, 6 Nov 2004 21:45:41 -0800 (PST) From: Radu Ciugulea To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Compaq R3120Us failing boot on all FreeBsd version X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 05:45:42 -0000 Hello, My Compaq Presario R3120US laptop ... Amd Xp-M 3000+ (64 based) fails to boot 4.9,4.10,5.2.1,5.3 and 5.3 amd 64. After getting to the loader ... the Devil and I choose 1 (default) or 2 (w/o ACPI) the computer reboots. Any info regarding these problems would be welcomed! Thank you, Radu Ciugulea __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 7 15:20:40 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B31D316A4CE for ; Sun, 7 Nov 2004 15:20:40 +0000 (GMT) Received: from web12824.mail.yahoo.com (web12824.mail.yahoo.com [216.136.174.205]) by mx1.FreeBSD.org (Postfix) with SMTP id 8CD7F43D2D for ; Sun, 7 Nov 2004 15:20:40 +0000 (GMT) (envelope-from neshort@yahoo.com) Received: (qmail 54111 invoked by uid 60001); 7 Nov 2004 15:20:40 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=5TyM/gy0A2HeYcVg6WI3JRHIrZAotkZc69PT3AfHtIJPXseqtkGeQUinqkYeg8bSFRz6dpZ0HiZ4r7R/N871R9/U7wJZMbbXG2T0O+pNNh8ujsOYZ8ISSH8EcUgkVRg8axDyK02WtPr8skYh1Ifu49VRHbqncypdirCy0/K0wIk= ; Message-ID: <20041107152039.54108.qmail@web12824.mail.yahoo.com> Received: from [216.198.97.40] by web12824.mail.yahoo.com via HTTP; Sun, 07 Nov 2004 07:20:39 PST Date: Sun, 7 Nov 2004 07:20:39 -0800 (PST) From: Neil Short To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Compaq R3120Us failing boot on all FreeBsd version X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 15:20:40 -0000 Check the amd64 archives: http://lists.freebsd.org/pipermail/freebsd-amd64/ Search for "r3000z" - the most common subject header is: boot fails on compaq presario r3000z The problem is consistent mainly on Compaq and HP laptops running AMD64 and Athlon XP-M and the nForce (4?) chipset. There is a patch but currently it has to be manually implemented through great pain and hair-pulling. ===== If history always begins this morning, the world holds exciting surprises around every corner (241). --Ann Coulter. Treason. __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 8 14:27:08 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0313B16A4CE for ; Mon, 8 Nov 2004 14:27:08 +0000 (GMT) Received: from lark.auton.cs.cmu.edu (LARK.AUTON.CS.CMU.EDU [128.2.222.44]) by mx1.FreeBSD.org (Postfix) with SMTP id A060043D2D for ; Mon, 8 Nov 2004 14:27:07 +0000 (GMT) (envelope-from dpelleg@lark.auton.cs.cmu.edu) Sender: dpelleg@lark.auton.cs.cmu.edu To: mobile@freebsd.org From: Dan Pelleg Date: 08 Nov 2004 09:26:51 -0500 Message-ID: Lines: 14 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: ACPI suspend/resume hooks? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 14:27:08 -0000 I recently ran into some problem which I thought would be solved by running a script on resume. It turns out that the proper solution does not require that, but while trying, I discovered I can't seem to hook anything to be run on resume. Whatever I place in /etc/rc.resume is not executed. I see a "wakeup" line in the log, but I can't figure out what generates it. This is on 5.3-beta5. What is the proper way to hook stuff into suspend/resume? The examples in /etc/devd.conf don't seem to cover this. -- Dan Pelleg From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 8 14:35:46 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3369B16A4CF; Mon, 8 Nov 2004 14:35:46 +0000 (GMT) Received: from relay.bestcom.ru (relay.bestcom.ru [217.72.144.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46B6743D3F; Mon, 8 Nov 2004 14:35:45 +0000 (GMT) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (root@cell.sick.ru [217.72.144.68]) by relay.bestcom.ru (8.13.1/8.12.9) with ESMTP id iA8EZh3L055476 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 8 Nov 2004 17:35:43 +0300 (MSK) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.11/8.12.8) with ESMTP id iA8E0jTn035695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Nov 2004 17:00:46 +0300 (MSK) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.sick.ru (8.12.11/8.12.11/Submit) id iA8E0ZbB035694; Mon, 8 Nov 2004 17:00:35 +0300 (MSK) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@freebsd.org using -f Date: Mon, 8 Nov 2004 17:00:35 +0300 From: Gleb Smirnoff To: jeff@freebsd.org Message-ID: <20041108140035.GA35674@cell.sick.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20041013, clamav-milter version 0.75l on 127.0.0.1 X-Virus-Status: Clean cc: current@freebsd.osd.org cc: mobile@freebsd.org Subject: sched_ule.c rev 1.136 breaks APM X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 14:35:46 -0000 Jeff, the last revision of sched_ule.c breaks APM on my Thinkpad T20 notebook. I suppose it is broken on other Thinlpads, too. In a moment after apmd is started the box freezes completely. No chance to get trace. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 8 14:36:22 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0530916A4CE for ; Mon, 8 Nov 2004 14:36:22 +0000 (GMT) Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id A182243D53 for ; Mon, 8 Nov 2004 14:36:21 +0000 (GMT) (envelope-from dgilbert@daveg.ca) Received: by ox.eicat.ca (Postfix, from userid 66) id 9407DC7A7; Mon, 8 Nov 2004 09:36:20 -0500 (EST) Received: by canoe.dclg.ca (Postfix, from userid 101) id 276886A95; Mon, 8 Nov 2004 09:36:16 -0500 (EST) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16783.33888.110035.240813@canoe.dclg.ca> Date: Mon, 8 Nov 2004 09:36:16 -0500 To: outi@bytephobia.de In-Reply-To: <1099751852.16055.5.camel@duality.bytephobia.de> References: <418AF579.6040509@centtech.com> <418B799E.40506@ncsu.edu> <418BF702.5070004@wadham.ox.ac.uk> <1099751852.16055.5.camel@duality.bytephobia.de> X-Mailer: VM 7.17 under 21.5 (beta17) "chayote" (+CVS-20040321) XEmacs Lucid cc: Alan Gerber cc: Eric Anderson cc: Colin Percival cc: freebsd-mobile@freebsd.org Subject: Re: Dell D600 - sleep / acpi in FreeBSD 5.3-STABLE X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 14:36:22 -0000 >>>>> "Patrick" == Patrick Hurrelmann writes: Patrick> On Fri, 2004-11-05 at 22:56, Colin Percival wrote: >> Alan Gerber wrote: > ... on my D600. S1 doesn't turn the > LCD >> off, however, so it still drains significant battery power. It > >> isn't a super-important thing to me, so I've been a little relaxed >> about > saying anything about it. >> >> If you upgrade to 5.3 and load acpi_video.ko, then you can turn off >> the LCD via rc.suspend (and bring it back in rc.resume, of course). >> >> Colin Percival Patrick> Sure, acpi_video.ko works well on a Dell Latitude D600, but Patrick> it won't work in parallel to radeon.ko. Both hook up to the Patrick> same kernel-interfaces (as i understood it hopefully right). Patrick> The module that has been loaded first wins the race and the Patrick> other one will load silently, but will not present Patrick> functionality at all. Patrick> I think this has been on the current list a few times in the Patrick> past it it was said that it won't be trivial to fix. Patrick> Personally i prefer having direct-rendering support. So i Patrick> only load radeon.ko and acpi_video.ko stays on it shelf... I havn't spent time trying this yet, but the nvidia port seems to define WITH_ACPI to compile in ACPI power managements. maybe the radeon driver needs the same magic. Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can only be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================ From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 8 14:46:39 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B29116A4CE for ; Mon, 8 Nov 2004 14:46:39 +0000 (GMT) Received: from relay.bestcom.ru (relay.bestcom.ru [217.72.144.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEDB143D48 for ; Mon, 8 Nov 2004 14:46:37 +0000 (GMT) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (root@cell.sick.ru [217.72.144.68]) by relay.bestcom.ru (8.13.1/8.12.9) with ESMTP id iA8EkaMJ055642 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 8 Nov 2004 17:46:36 +0300 (MSK) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.11/8.12.8) with ESMTP id iA8EkZtN036106 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 8 Nov 2004 17:46:36 +0300 (MSK) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.sick.ru (8.12.11/8.12.11/Submit) id iA8EkZNY036105 for mobile@freebsd.org; Mon, 8 Nov 2004 17:46:35 +0300 (MSK) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@freebsd.org using -f Date: Mon, 8 Nov 2004 17:46:35 +0300 From: Gleb Smirnoff To: mobile@freebsd.org Message-ID: <20041108144635.GB36051@cell.sick.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20041013, clamav-milter version 0.75l on 127.0.0.1 X-Virus-Status: Clean Subject: CURRENT patchset for Thinkpad T20 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 14:46:39 -0000 --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Since APM related things are broken too often, I decided to post patches I use for normal work with my notebook to this list. I hope someone will find iy useful. At this moment I use: - patch to enable csa hack (Attached as csa.hack.enable) - patch to fix ATA resume (Attached as ata-all.patch) - reverted sched_ule.c to revision 1.135 -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename="ata-all.patch" Index: ata-all.c =================================================================== RCS file: /home/cvs/ncvs/src/sys/dev/ata/ata-all.c,v retrieving revision 1.232 diff -u -u -r1.232 ata-all.c --- ata-all.c 13 Oct 2004 15:16:35 -0000 1.232 +++ ata-all.c 19 Oct 2004 19:30:59 -0000 @@ -86,6 +86,7 @@ static struct intr_config_hook *ata_delayed_attach = NULL; static int ata_dma = 1; static int atapi_dma = 1; +static int ata_resuming = 0; /* sysctl vars */ SYSCTL_NODE(_hw, OID_AUTO, ata, CTLFLAG_RD, 0, "ATA driver parameters"); @@ -364,8 +380,10 @@ if (!dev || !(ch = device_get_softc(dev))) return ENXIO; + ata_resuming = 1; error = ata_reinit(ch); ata_start(ch); + ata_resuming = 0; return error; } @@ -838,7 +944,7 @@ void ata_udelay(int interval) { - if (interval < (1000000/hz) || ata_delayed_attach) + if (interval < (1000000/hz) || ata_delayed_attach || ata_resuming) DELAY(interval); else tsleep(&interval, PRIBIO, "ataslp", interval/(1000000/hz)); --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename="csa.hack.enable" Index: csa.c =================================================================== RCS file: /home/ncvs/src/sys/dev/sound/pci/csa.c,v retrieving revision 1.30 diff -u -r1.30 csa.c --- csa.c 16 Jul 2004 03:59:27 -0000 1.30 +++ csa.c 20 Oct 2004 22:34:21 -0000 @@ -366,7 +366,7 @@ static int csa_resume(device_t dev) { -#if 0 +#if 1 /* * XXX: this cannot possibly work * needs to be properly implemented --W/nzBZO5zC0uMSeA-- From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 8 15:22:24 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E137316A4CE for ; Mon, 8 Nov 2004 15:22:24 +0000 (GMT) Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id A729643D45 for ; Mon, 8 Nov 2004 15:22:24 +0000 (GMT) (envelope-from dgilbert@daveg.ca) Received: by ox.eicat.ca (Postfix, from userid 66) id 29C2FC6CB; Mon, 8 Nov 2004 10:22:24 -0500 (EST) Received: by canoe.dclg.ca (Postfix, from userid 101) id 1FBB96A95; Mon, 8 Nov 2004 10:21:38 -0500 (EST) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16783.36610.477760.252310@canoe.dclg.ca> Date: Mon, 8 Nov 2004 10:21:38 -0500 To: Alan Gerber In-Reply-To: <418B799E.40506@ncsu.edu> References: <418AF579.6040509@centtech.com> <418B799E.40506@ncsu.edu> X-Mailer: VM 7.17 under 21.5 (beta17) "chayote" (+CVS-20040321) XEmacs Lucid cc: dell-d800@eicat.ca cc: Eric Anderson cc: freebsd-mobile@freebsd.org Subject: Re: Dell D600 - sleep / acpi in FreeBSD 5.3-STABLE X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 15:22:25 -0000 >>>>> "Alan" == Alan Gerber writes: Alan> Eric Anderson wrote: >> Ok, I posted a week or so back that I had sleep/standby working. I >> lied. I have it successfully going into S1, but not S3 or S4. >> Should these work? I would guess S3 should at least work, but >> instead it reboots my machine. I have successfully created a Dell >> hibernate partition at the first chunk of my disk as their docs >> say, but S4 also does not work. >> >> What am I missing? What should I be looking for? >> >> I'm willing to debug if it helps anyone. Alan> FWIW, I've been having the same problem on my D600. S1 doesn't Alan> turn the LCD off, however, so it still drains significant Alan> battery power. It isn't a super-important thing to me, so I've Alan> been a little relaxed about saying anything about it. On my D800 (which is a completely different nvidia beast), it works to 'xset dpms force off' the screen immediately before suspending. ACPI suspending to S1 still leaves the processor needing the cooling fan for me --- so it's not ideal. S3 suspend reboots the machine. Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can only be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================ From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 8 16:59:27 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 547C116A4CE for ; Mon, 8 Nov 2004 16:59:27 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 356B043D31 for ; Mon, 8 Nov 2004 16:59:27 +0000 (GMT) (envelope-from rob3@pythonemproject.com) Received: from [127.0.0.1] (c-67-169-203-186.client.comcast.net[67.169.203.186]) by comcast.net (rwcrmhc12) with ESMTP id <2004110816592601400sffi3e> (Authid: europax); Mon, 8 Nov 2004 16:59:26 +0000 Message-ID: <418FA67B.2040608@pythonemproject.com> Date: Mon, 08 Nov 2004 09:01:47 -0800 From: Rob User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Usb2 camera on Quad usb2 Orange Micro pccard X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rob3@pythonemproject.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 16:59:27 -0000 Is this an OK list for discussing this? I admit its not "mobile" but I am using a laptop Dell 8600. I am asking because you guys are the pccard experts. If there is a better list, please tell me. Thanks, Rob. From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 8 18:24:02 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6192616A4CE; Mon, 8 Nov 2004 18:24:02 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07B2B43D1D; Mon, 8 Nov 2004 18:24:02 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id iA8IMMQb028701; Mon, 8 Nov 2004 11:22:32 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 08 Nov 2004 11:22:48 -0700 (MST) Message-Id: <20041108.112248.45874399.imp@bsdimp.com> To: anton@nikiforov.ru From: "M. Warner Losh" In-Reply-To: <418D4E85.5030303@nikiforov.ru> References: <418B46AF.9040704@nikiforov.ru> <20041105.141142.120444214.imp@bsdimp.com> <418D4E85.5030303@nikiforov.ru> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-current@FreeBSD.org cc: freebsd-mobile@FreeBSD.org Subject: Re: SD Card Problem X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 18:24:02 -0000 In message: <418D4E85.5030303@nikiforov.ru> Anton Nikiforov writes: : M. Warner Losh wrote: : > In message: <418B46AF.9040704@nikiforov.ru> : > Anton Nikiforov writes: : > : 1: memory card; irq mask 0; memspace 0-fff; mwait_required rdybsy_active : > : powerdown : > : > I don't think this card will work. : > : > Warner : > : > : > : Hi : But it is working just fine in windows and any different devices. This : is Transcend SD256M - i thought this is most "working" device. Maybe the : problem is in the reader or something in the software? : : Anyway thanks for your answers. I guess what I'm trying to say is that it doesn't appear to be supported by FreeBSD. Either the card is a purely memory mapped ATA card (which means that we might be able to support it with some work), or its interface isn't ATA at all, in which case we need information from the manufacturer to get the data off the card. Warner From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 8 19:14:50 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B04316A4CE for ; Mon, 8 Nov 2004 19:14:50 +0000 (GMT) Received: from uni00mr.unity.ncsu.edu (uni00mr.unity.ncsu.edu [152.1.1.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94BB643D2F for ; Mon, 8 Nov 2004 19:14:49 +0000 (GMT) (envelope-from agerber@ncsu.edu) Received: from [152.7.237.157] (nom5168it.nomadic.ncsu.edu [152.7.237.157]) id iA8JEaFi028460; Mon, 8 Nov 2004 14:14:38 -0500 (EST) Message-ID: <418FC592.9040701@ncsu.edu> Date: Mon, 08 Nov 2004 14:14:26 -0500 From: Alan Gerber User-Agent: Mozilla Thunderbird 0.8 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Gilbert References: <418AF579.6040509@centtech.com> <418B799E.40506@ncsu.edu> <16783.36610.477760.252310@canoe.dclg.ca> In-Reply-To: <16783.36610.477760.252310@canoe.dclg.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 4.7.0.111621, Antispam-Engine: 2.0.2.0, Antispam-Data: 2004.11.8.0 X-Spam-Status: No, Hits=7% X-Spam-Level: IIIIIII cc: dell-d800@eicat.ca cc: Eric Anderson cc: freebsd-mobile@freebsd.org Subject: Re: Dell D600 - sleep / acpi in FreeBSD 5.3-STABLE X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 19:14:50 -0000 David Gilbert wrote: >>>>>>"Alan" == Alan Gerber writes: >>>>>> >>>>>> > >Alan> Eric Anderson wrote: > > >>>Ok, I posted a week or so back that I had sleep/standby working. I >>>lied. I have it successfully going into S1, but not S3 or S4. >>>Should these work? I would guess S3 should at least work, but >>>instead it reboots my machine. I have successfully created a Dell >>>hibernate partition at the first chunk of my disk as their docs >>>say, but S4 also does not work. >>> >>>What am I missing? What should I be looking for? >>> >>>I'm willing to debug if it helps anyone. >>> >>> > >Alan> FWIW, I've been having the same problem on my D600. S1 doesn't >Alan> turn the LCD off, however, so it still drains significant >Alan> battery power. It isn't a super-important thing to me, so I've >Alan> been a little relaxed about saying anything about it. > >On my D800 (which is a completely different nvidia beast), it works to >'xset dpms force off' the screen immediately before suspending. ACPI >suspending to S1 still leaves the processor needing the cooling fan >for me --- so it's not ideal. S3 suspend reboots the machine. > >Dave. > > > I didn't know about that command. I just tried it and it works nicely for turning off the display from within X. However, when you enter S1 (via something like 'xset dpms force off && acpiconf -s 1'), the screen turns back on and changes to the system console. I'd think about putting this in an rc.suspend-like script, but given that it is an xset command, I doubt that would work. Or is there another way to do this that I am missing? -- Alan Gerber From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 8 19:48:02 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0270816A4CE for ; Mon, 8 Nov 2004 19:48:02 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DCCF43D45 for ; Mon, 8 Nov 2004 19:47:59 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id iA8Jjtag030052 for ; Mon, 8 Nov 2004 12:45:55 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 08 Nov 2004 12:46:20 -0700 (MST) Message-Id: <20041108.124620.16874002.imp@bsdimp.com> To: mobile@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: HEADS UP: OLDCARD to go away X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 19:48:02 -0000 I'm in the process of flushing my last few changes into OLDCARD (mostly pccard.conf entries). Once that's complete, I'll be removing OLDCARD from head, likely early next week. Warner From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 8 19:49:41 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94E3816A4CE for ; Mon, 8 Nov 2004 19:49:41 +0000 (GMT) Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B0C843D54 for ; Mon, 8 Nov 2004 19:49:41 +0000 (GMT) (envelope-from dgilbert@daveg.ca) Received: by ox.eicat.ca (Postfix, from userid 66) id C680BC87B; Mon, 8 Nov 2004 14:49:40 -0500 (EST) Received: by canoe.dclg.ca (Postfix, from userid 101) id 707BD6A95; Mon, 8 Nov 2004 14:49:37 -0500 (EST) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16783.52689.411232.129422@canoe.dclg.ca> Date: Mon, 8 Nov 2004 14:49:37 -0500 To: Alan Gerber In-Reply-To: <418FC592.9040701@ncsu.edu> References: <418AF579.6040509@centtech.com> <418B799E.40506@ncsu.edu> <16783.36610.477760.252310@canoe.dclg.ca> <418FC592.9040701@ncsu.edu> X-Mailer: VM 7.17 under 21.5 (beta17) "chayote" (+CVS-20040321) XEmacs Lucid cc: dell-d800@eicat.ca cc: freebsd-mobile@freebsd.org cc: Eric Anderson cc: David Gilbert Subject: Re: Dell D600 - sleep / acpi in FreeBSD 5.3-STABLE X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 19:49:41 -0000 >>>>> "Alan" == Alan Gerber writes: Alan> David Gilbert wrote: >> On my D800 (which is a completely different nvidia beast), it >> works to 'xset dpms force off' the screen immediately before >> suspending. ACPI suspending to S1 still leaves the processor >> needing the cooling fan for me --- so it's not ideal. S3 suspend >> reboots the machine. Alan> I didn't know about that command. I just tried it and it works Alan> nicely for turning off the display from within X. However, when Alan> you enter S1 (via something like 'xset dpms force off && Alan> acpiconf -s 1'), the screen turns back on and changes to the Alan> system console. I'd think about putting this in an Alan> rc.suspend-like script, but given that it is an xset command, I Alan> doubt that would work. Or is there another way to do this that Alan> I am missing? Well... you can see if the green_saver.ko will do dpms for you. Dunno. For me, turning off the backlight makes more difference in suspend run time than S1 does. I'm not sure S1 helps at all, really. Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can only be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================ From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 9 04:23:49 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2F0616A4CE for ; Tue, 9 Nov 2004 04:23:48 +0000 (GMT) Received: from msgfe02.utad.utoledo.edu (msgfe02.utad.utoledo.edu [131.183.1.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92C8E43D31 for ; Tue, 9 Nov 2004 04:23:48 +0000 (GMT) (envelope-from rafege@mail.com) Received: from lmrmac.uhw.utoledo.edu ([131.183.85.137]) by msgfe02.utad.utoledo.edu with Microsoft SMTPSVC(6.0.3790.211); Mon, 8 Nov 2004 23:23:47 -0500 Date: Mon, 08 Nov 2004 23:24:01 -0500 From: rafege@mail.com (Gary E. RAFE, Ph.D.) Organization: Rouillard & Rafe To: freebsd-mobile@freebsd.org Message-ID: <41904661.nail8S61G6SLH@mail.com> User-Agent: nail 11.3 8/18/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Nov 2004 04:23:47.0729 (UTC) FILETIME=[E84D8810:01C4C613] Subject: Trouble with APM suspend in 5.3-R X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rafege@mail.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 04:23:49 -0000 Help! APM "suspend" appears to be broken in 5.3-R ! Having more-or-less tamed 5.2.1-R on my Toshiba Sat Pro 6100 since early March, I was hoping that the new 5.3-R would move forward in functionality and stability. So when 5.3-R was announced, I burned disc 1 and upgraded my 5.2.1-R partition to 5.3-R... Built a custom kernel to include APM, enabled APM actions, then, fingers crossed, issued "apm -z" to suspend the system. After a second or so, "wi0: detached" for the miniPCI wireless card, then, nothing -- no keyboard response, no power down. The system hangs, requiring a power-down via the power switch and a hard boot. After 7 years of FreeBSD on Toshiba notebooks, this is the *first* time a FreeBSD release wouldn't suspend the system (resuming correctly, however, at times has been another matter). With APM debug turned on, I see "APM ioctl: cmd = 0x20005001" following "apm -z", and before the "wi0:detached" message. Pointers to where APM suspend might be hanging will be appreciated. I don't mind poking around the kernel code to try to fix this, but I could use some direction here. Otherwise, I guess we go back to 5.2.1 ... [BTW: ACPI suspend hasn't yet worked on this Toshiba, either.] -- Gary E. RAFE, Ph.D. Please note: HTML-encoded mail is discarded unread. From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 9 07:51:50 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6592116A4CE for ; Tue, 9 Nov 2004 07:51:50 +0000 (GMT) Received: from relay.bestcom.ru (relay.bestcom.ru [217.72.144.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42DD443D3F for ; Tue, 9 Nov 2004 07:51:49 +0000 (GMT) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (root@cell.sick.ru [217.72.144.68]) by relay.bestcom.ru (8.13.1/8.12.9) with ESMTP id iA97pjC6067489 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 9 Nov 2004 10:51:46 +0300 (MSK) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.11/8.12.8) with ESMTP id iA97pide042041 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 Nov 2004 10:51:45 +0300 (MSK) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.sick.ru (8.12.11/8.12.11/Submit) id iA97piCg042040; Tue, 9 Nov 2004 10:51:44 +0300 (MSK) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@freebsd.org using -f Date: Tue, 9 Nov 2004 10:51:44 +0300 From: Gleb Smirnoff To: "Gary E. RAFE, Ph.D." Message-ID: <20041109075144.GB41761@cell.sick.ru> References: <41904661.nail8S61G6SLH@mail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <41904661.nail8S61G6SLH@mail.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20041013, clamav-milter version 0.75l on 127.0.0.1 X-Virus-Status: Clean cc: freebsd-mobile@freebsd.org Subject: Re: Trouble with APM suspend in 5.3-R X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 07:51:50 -0000 Gary, On Mon, Nov 08, 2004 at 11:24:01PM -0500, Gary E. RAFE, Ph.D. wrote: G> Help! APM "suspend" appears to be broken in 5.3-R ! Please try the following and report whether this helped. 1) Merge revision 1.233 of ata-all.c to your 5.3-RELEASE ata-all.c 2) Apply patch I've sent to this list yesterday (Subject was 'CURRENT patchset for Thinkpad'). 3) Rebuild your kernel with new ata-all.c 4) Reboot and try suspend/resume. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 9 11:39:38 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BEF116A4CE for ; Tue, 9 Nov 2004 11:39:38 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id F36C943D31 for ; Tue, 9 Nov 2004 11:39:36 +0000 (GMT) (envelope-from chlee25@gmail.com) Received: by rproxy.gmail.com with SMTP id a36so36666rnf for ; Tue, 09 Nov 2004 03:39:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=V5AffRLDW6Qu3VyPOfqCp3E4m4NAOXrSBx4RObvdgL4gdd3/z85OZjd7FppWTsCZ7NMW+1rvGwVLf2KyH6z0jbSbmANKNPziRaksAs4llZCTOvayc9mUjZfkMdbuScOqp7/Qi1HUWK0SGOPlsSqpgwC2GbFmsrrPY9sURAx95fo= Received: by 10.38.126.78 with SMTP id y78mr253495rnc; Tue, 09 Nov 2004 03:39:36 -0800 (PST) Received: by 10.38.65.66 with HTTP; Tue, 9 Nov 2004 03:39:36 -0800 (PST) Message-ID: Date: Tue, 9 Nov 2004 22:39:36 +1100 From: charles To: freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: snd_ich performance issues on 5.3 release X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: charles List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 11:39:38 -0000 Hi, I recently just downloaded and installed a fresh copy of freebsd 5.3 release. I have tried getting sound on my laptop (targa p4 M 2ghz- don't know the exact model name). using kldload as wellas compiling device sound and device snd_ich in my kernel. The sound works. However, if the sound modules are enabled the performance of the entire system drops dramatically. It feels like everything is chugging as if its using alot of CPU. It goes back to normal as soon as I unload the sound driver. MY sound used to work perfectly in 4.8 4.9 4.10 5.2 and 5.2.1. So I'm not sure whats happening to cause this problem? Any ideas?? Charles From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 9 18:39:40 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB33216A4CE for ; Tue, 9 Nov 2004 18:39:40 +0000 (GMT) Received: from msgfe02.utad.utoledo.edu (msgfe02.utad.utoledo.edu [131.183.1.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5483043D2D for ; Tue, 9 Nov 2004 18:39:40 +0000 (GMT) (envelope-from rafege@mail.com) Received: from lmrmac.uhw.utoledo.edu ([131.183.85.137]) by msgfe02.utad.utoledo.edu with Microsoft SMTPSVC(6.0.3790.211); Tue, 9 Nov 2004 13:39:21 -0500 Date: Tue, 09 Nov 2004 13:39:54 -0500 From: rafege@mail.com (Gary E. RAFE, Ph.D.) Organization: Rouillard & Rafe To: freebsd-mobile@freebsd.org Message-ID: <41910EFA.nail93W1UG3XP@mail.com> User-Agent: nail 11.3 8/18/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Nov 2004 18:39:21.0430 (UTC) FILETIME=[6D92AF60:01C4C68B] Subject: Re: Trouble with APM suspend in 5.3-R X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rafege@mail.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 18:39:40 -0000 !Please try the following and report whether this helped. ! !1) Merge revision 1.233 of ata-all.c to your 5.3-RELEASE ata-all.c !2) Apply patch I've sent to this list yesterday (Subject was 'CURRENT ! patchset for Thinkpad'). !3) Rebuild your kernel with new ata-all.c !4) Reboot and try suspend/resume. Thanks for that pointer -- this change has APM suspend/resume working again on my Toshiba Sat Pro 6100. I see that USB still doesn't survive the APM suspend/resume cycle with USB support compiled into the kernel; this was an issue in 5.2.1-R, too. The work-around earlier (compiling USB debugging and enabling debugging messages on usb.uhci) still works (i.e., USB comes back after the APM suspend/resume cycle, albiet with some extra overhead). Now on to making the native NVidia driver work with X.org; comments (successes, config files, gotchas, etc.) are welcome. -- Gary E. RAFE, Ph.D. Please note: HTML-encoded mail is discarded unread. From owner-freebsd-mobile@FreeBSD.ORG Wed Nov 10 11:12:08 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F202E16A4CE; Wed, 10 Nov 2004 11:12:07 +0000 (GMT) Received: from tts.orel.ru (tts.orel.ru [213.59.64.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5E2C43D41; Wed, 10 Nov 2004 11:12:06 +0000 (GMT) (envelope-from bel@orel.ru) Received: from orel.ru (pf1.net.orel.ru [213.59.64.75]) by tts.orel.ru (8.13.1/8.13.1/bel) with ESMTP id iAABC13t023493; Wed, 10 Nov 2004 14:12:02 +0300 Message-ID: <4191F77C.1090606@orel.ru> Date: Wed, 10 Nov 2004 14:11:56 +0300 From: Andrew Belashov Organization: ORIS User-Agent: Mozilla/5.0 (X11; U; FreeBSD sparc64; en-US; rv:1.6) Gecko/20040407 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Gleb Smirnoff References: <41904661.nail8S61G6SLH@mail.com> <20041109075144.GB41761@cell.sick.ru> In-Reply-To: <20041109075144.GB41761@cell.sick.ru> X-Enigmail-Version: 0.83.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Zombi-Check: on netra2.orel.ru cc: freebsd-mobile@freebsd.org Subject: Re: Trouble with APM suspend in 5.3-R X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:12:08 -0000 Hello, All! I have problem with APM suspend/resume on my old Fujitsu FMV biblio NU13 notebook. Notebook lock up in tsleep(&gotit, PRIBIO, "atasusp", hz/10). Gleb Smirnoff wrote: > Gary, > > On Mon, Nov 08, 2004 at 11:24:01PM -0500, Gary E. RAFE, Ph.D. wrote: > G> Help! APM "suspend" appears to be broken in 5.3-R ! > > Please try the following and report whether this helped. > > 1) Merge revision 1.233 of ata-all.c to your 5.3-RELEASE ata-all.c This revision helped me two weeks ago. Now, suspending worked correctly, but resume does not work. Kernel panics by kernel stack overflow. I do't have full back trace, but manualy reconstructed: [many BIOS recursive calls] bios32()? pci_pir_biosroute()? pci_pir_walk_table() pir_resume() > 2) Apply patch I've sent to this list yesterday (Subject was 'CURRENT > patchset for Thinkpad'). No way to try this patchset. My notebook does not have csa(4) sound. > 3) Rebuild your kernel with new ata-all.c > 4) Reboot and try suspend/resume. Best Regards, Andrew Belashov. From owner-freebsd-mobile@FreeBSD.ORG Wed Nov 10 11:16:20 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2669216A4CE for ; Wed, 10 Nov 2004 11:16:20 +0000 (GMT) Received: from relay.bestcom.ru (relay.bestcom.ru [217.72.144.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6092543D49 for ; Wed, 10 Nov 2004 11:16:19 +0000 (GMT) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (root@cell.sick.ru [217.72.144.68]) by relay.bestcom.ru (8.13.1/8.12.9) with ESMTP id iAABGGNO091853 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 10 Nov 2004 14:16:17 +0300 (MSK) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.11/8.12.8) with ESMTP id iAABGGoP054852 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 10 Nov 2004 14:16:16 +0300 (MSK) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.sick.ru (8.12.11/8.12.11/Submit) id iAABGFne054851; Wed, 10 Nov 2004 14:16:16 +0300 (MSK) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@freebsd.org using -f Date: Wed, 10 Nov 2004 14:16:15 +0300 From: Gleb Smirnoff To: Andrew Belashov Message-ID: <20041110111615.GB54769@cell.sick.ru> References: <41904661.nail8S61G6SLH@mail.com> <20041109075144.GB41761@cell.sick.ru> <4191F77C.1090606@orel.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4191F77C.1090606@orel.ru> User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20041013, clamav-milter version 0.75l on 127.0.0.1 X-Virus-Status: Clean cc: freebsd-mobile@freebsd.org Subject: Re: Trouble with APM suspend in 5.3-R X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 11:16:20 -0000 On Wed, Nov 10, 2004 at 02:11:56PM +0300, Andrew Belashov wrote: A> >1) Merge revision 1.233 of ata-all.c to your 5.3-RELEASE ata-all.c A> A> This revision helped me two weeks ago. Now, suspending worked correctly, A> but resume does not work. Kernel panics by kernel stack overflow. A> I do't have full back trace, but manualy reconstructed: To fix resume you need ata-all.patch. I've sent it to list recently. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-mobile@FreeBSD.ORG Thu Nov 11 03:25:41 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 594BA16A4CE for ; Thu, 11 Nov 2004 03:25:41 +0000 (GMT) Received: from msgfe02.utad.utoledo.edu (msgfe02.utad.utoledo.edu [131.183.1.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00BED43D45 for ; Thu, 11 Nov 2004 03:25:41 +0000 (GMT) (envelope-from rafege@mail.com) Received: from lmrmac.uhw.utoledo.edu ([131.183.85.137]) by msgfe02.utad.utoledo.edu with Microsoft SMTPSVC(6.0.3790.211); Wed, 10 Nov 2004 22:21:12 -0500 Date: Wed, 10 Nov 2004 22:21:48 -0500 From: rafege@mail.com (Gary E. RAFE, Ph.D.) Organization: Rouillard & Rafe To: freebsd-mobile@freebsd.org Message-ID: <4192DACC.nailADD11RP62@mail.com> User-Agent: nail 11.3 8/18/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Nov 2004 03:21:12.0378 (UTC) FILETIME=[7EC3F1A0:01C4C79D] Subject: Update: 5.3-R on Toshiba Satellite Pro 6100 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rafege@mail.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 03:25:41 -0000 Here's a data point regarding the (current) NVIDIA 1.0-6113 driver for FreeBSD and Toshiba notebooks. Previously, FreeBSD 5.2.1-R, XFree86-4.3.0, and the 1.0-4365 driver worked perfectly at 1600x1200x16bpp on my Toshiba Satellite Pro 6100. Having upgraded recently to 5.3-R & X.org-3.7.0, I was compelled to install the NVIDIA 1.0-6113 driver, since the earlier release does not build on this system "out-of-the-box" (and without it, higher native display resolutions are not available). As noted here: recent Linux & FreeBSD NVIDIA drivers seem to be "broken" on Toshiba notebooks, particularly at higher (1600x1200) resolutions. In my case, I can get the native NVIDIA driver to operate at 1588x1200 resolution (16 bpp); when I ask for 1600x1200 in "xorg.conf", the display is unacceptably corrupted. I can live with a few missing millimeters from the display until a new driver is released. The other trouble I was seeing here with USB surviving across APM suspend/resume cycles is apparently resolved through the use of kernel modules: usb.ko is unloaded just prior to "apm -z", and /etc/rc.resume loads usb.ko back again when needed. -- Gary E. RAFE, Ph.D. Please note: HTML-encoded mail is discarded unread. From owner-freebsd-mobile@FreeBSD.ORG Thu Nov 11 07:47:19 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 208B216A4CE for ; Thu, 11 Nov 2004 07:47:19 +0000 (GMT) Received: from ctb-mesg2.saix.net (ctb-mesg2.saix.net [196.25.240.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 979CB43D5C for ; Thu, 11 Nov 2004 07:47:16 +0000 (GMT) (envelope-from wiqd@codelounge.co.za) Received: from [192.168.0.6] (nngy-85-107.telkomadsl.co.za [165.165.85.107]) by ctb-mesg2.saix.net (Postfix) with ESMTP id 35315D827; Thu, 11 Nov 2004 09:47:11 +0200 (SAST) From: wiqd To: freebsd-mobile@freebsd.org Message-Id: <1100159273.2584.9.camel@fyre.codelounge.co.za> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Thu, 11 Nov 2004 09:47:53 +0200 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: wiqd@codelounge.co.za Subject: Gigabyte wireless network card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 07:47:19 -0000 Greetings list, Well here is my problem, I have a gigabyte pci wireless network card, I cannot for the life of me find any more information on it from any websites including the gigabyte website itself. My issue is that freebsd 4.10-STABLE will not see the card, i have tried everything i can find on google and the freebsd websites and to no avail still do not have it working, please find below a dmesg output, ifconfig output, kernel config and uname output. Thanks for any help anyone could offer. kind regards, Greg ## Dmesg root@intraweb:/dev #> dmesg Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.10-STABLE #1: Tue Sep 28 20:49:56 SAST 2004 root@intraweb.propdata.co.za:/usr/obj/usr/src/sys/INTRAWEB Timecounter "i8254" frequency 1193182 Hz CPU: Intel Celeron (634.78-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff real memory = 268435456 (262144K bytes) config> di sn0 config> di lnc0 config> di ie0 config> di fe0 config> di ed0 config> di cs0 config> di fdc0 config> q avail memory = 255754240 (249760K bytes) Preloaded elf kernel "kernel" at 0xc0551000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc055109c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 6 entries at 0xc00fdcd0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x6400-0x640f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x6800-0x681f irq 10 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x6c00-0x6c1f irq 10 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: (vendor=0x1106, dev=0x3057) at 7.4 chip1: port 0x7800-0x7803,0x7400-0x7403,0x7000-0x70ff irq 12 at device 7.5 on pci0 pci0: (vendor=0x1814, dev=0x0201) at 10.0 irq 12 rl0: port 0x7c00-0x7cff mem 0xe7002000-0xe70020ff irq 9 at device 11.0 on pci0 rl0: Ethernet address: 00:08:a1:45:1f:e2 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl1: port 0x8000-0x80ff mem 0xe7003000-0xe70030ff irq 11 at device 12.0 on pci0 rl1: Ethernet address: 00:08:a1:45:21:e4 miibus1: on rl1 rlphy1: on miibus1 rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib1: on motherboard pci2: on pcib1 eisa0: on motherboard eisa0: unknown card FP@0000 (0x1a000000) at slot 7 orm0: