From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mrc8L-0004Pm-NS for mharc-grub-devel@gnu.org; Sat, 26 Sep 2009 14:36:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mrc8I-0004Oq-KB for grub-devel@gnu.org; Sat, 26 Sep 2009 14:36:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mrc8E-0004O6-Or for grub-devel@gnu.org; Sat, 26 Sep 2009 14:36:34 -0400 Received: from [199.232.76.173] (port=55717 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mrc8E-0004O3-Mi for grub-devel@gnu.org; Sat, 26 Sep 2009 14:36:30 -0400 Received: from fg-out-1718.google.com ([72.14.220.155]:50922) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mrc8E-0007KX-9C for grub-devel@gnu.org; Sat, 26 Sep 2009 14:36:30 -0400 Received: by fg-out-1718.google.com with SMTP id e21so374785fga.12 for ; Sat, 26 Sep 2009 11:36:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=9GcZ0iL9SWGmckpDoo4eyt423MZAqlqKf5GAdml4fL8=; b=jnyYs7/4Nukt6phtF8U08to9vFmFneKG5BjlPeWbzS3JCTkP0nTs14FTvyn14LGUKM FydkK+YZcgW03qBZ8rt+n6LVQgGFkBYAihAIfpnXhJAUv7c6IPfk3eq243w07W3eZJ+5 HcgcBkFNya8mB/UYlVeYJi0RI3LflJ5VlzM5o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Oj6LDKCgvjdcCtAjunZxKcki1LYaMFyKh5Br9xJp10csPYSrh/ZlIHoWVOcCZsBXMs IlfOQBDxh41DLs2OY0onpF7XBMcdESe4uJ8cMA/yy0VRuP1aF4K44KYzZ6mHtnRH370G +SGE8TMeAAvbXWzzizyAVdNJqFK8IAEQZHMWI= Received: by 10.86.12.35 with SMTP id 35mr1976524fgl.20.1253989833414; Sat, 26 Sep 2009 11:30:33 -0700 (PDT) Received: from ?129.132.210.210? (vpn-global-dhcp3-210.ethz.ch [129.132.210.210]) by mx.google.com with ESMTPS id l19sm1991314fgb.25.2009.09.26.11.30.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 26 Sep 2009 11:30:33 -0700 (PDT) Message-ID: <4ABE441F.7050405@gmail.com> Date: Sat, 26 Sep 2009 18:41:03 +0200 From: Vladimir 'phcoder' Serbinenko User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: The development of GRUB 2 References: <4116f8730909260453j6bfc437eu856618c4e7b47916@mail.gmail.com> In-Reply-To: <4116f8730909260453j6bfc437eu856618c4e7b47916@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: pci-e config register modification in grub X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2009 18:36:34 -0000 Nando wrote: > Hi everyone, > > Wondering if grub2 can have an additional module added to do various > pci-e Configuration Register fixups/modifications before launching > into XP/Win7/Linux. Specifically I require: > > 1/ ability to modify PCI Bridge Configuration Registers for DIY ViDock > project to > allow the video card to work [ current workaround is boot DOS, use > pcitool to do the mod, then use grub4dos to chainload the OS ] > > 2/ ability to restore a mini pci-e port's Extended PCI Configuration > registers config to reverse HP bios whitelisting of wifi cards (See > bottom of HP Mini pci-e wifi bios thread > . No current tool > can do this that I've found, with the DOS pcitool extending only to > the 00-FF pci-e configuration registers, not the extended registers. I'm not familiar with pci-e and don't know how much additional code would be required considering already existing pci code. Considering windows share "chainloader" command with other OSes too one could add a command "winfix" which will autodetect and do all the fixes necessary for windows and then 30_os_prober.in can be modified to use this. This way user doesn't need manual configuration. If autodetecting is too cumbersome one could have separate commands in grub to do exactly the fix you need. Could you make the patch and send it here. If you need to import code from another project discuss it here first - not all code is suitable for grub > > I'm running Ubuntu 9.04 with grub as the bootloader. Can these > features be added to grub via say the menu.lst file as well as some > config file that can store the dump for (2) above?? > > Nando > ------------------------------------------------------------------------ > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel >