From owner-freebsd-questions@FreeBSD.ORG Fri Jan 7 06:26:52 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E61416A4CE for ; Fri, 7 Jan 2005 06:26:52 +0000 (GMT) Received: from smtp.pspl.co.in (smtp.persistent.co.in [202.54.11.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABED343D45 for ; Fri, 7 Jan 2005 06:26:50 +0000 (GMT) (envelope-from romil_shah@persistent.co.in) Received: from ps2204 ([10.44.50.29]) (authenticated bits=0) by smtp.pspl.co.in (8.12.9/8.12.9) with ESMTP id j076UERV030306 for ; Fri, 7 Jan 2005 12:00:16 +0530 From: "Romil Shah" To: "Freebsd" Date: Fri, 7 Jan 2005 11:58:20 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 X-Brightmail-Tracker: AAAAAQAAAAQ= X-White-List-Member: TRUE Subject: pmap_enter Vs pmap_kenter_temporary X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2005 06:26:52 -0000 Hi, I am using older ver of FreeBSD RELEGN4 , my system has 2200S Adaptec RAID controller which uses aac driver and a swap device on raid disk. When kernel panics , the control passes to the aac_disk_dump() function under aac/aac_disk.c , where the dump get queued to controller . As i am using older RELEGN4 aac driver uses pamp_enter rather than pmap_kenter_temporary , on calling the aac_dump_enqueue va is passed i.e. return value of pmap_kenter_tmporary.(in new version) If i am not wrong than va hold the location of RAM from where data needs to be copied to swap device through the aac_dump_enqueue. :( I am using old version so i have pmap_enter which return void . Can you tell me the exact task that is done by pmap_enter Vs pmap_kenter_temporary. Can i use pmap_kenter_temporary in my older RELEGN4 (i cannot move to new RELEGN4) Thanks, Romil Shah