From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Uy5td-00076U-Rr for mharc-grub-devel@gnu.org; Sat, 13 Jul 2013 15:54:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uy5ta-00076D-KM for grub-devel@gnu.org; Sat, 13 Jul 2013 15:54:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uy5tZ-0004HB-22 for grub-devel@gnu.org; Sat, 13 Jul 2013 15:54:18 -0400 Received: from mail-ea0-x236.google.com ([2a00:1450:4013:c01::236]:44768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uy5tY-0004Gz-OQ for grub-devel@gnu.org; Sat, 13 Jul 2013 15:54:16 -0400 Received: by mail-ea0-f182.google.com with SMTP id d10so7019450eaj.41 for ; Sat, 13 Jul 2013 12:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Q3WBFlvtPQDCniPfzgXTb9kaWmD8WR/Q1YmGhrg6vjE=; b=E0vlhvdyxNavaeiMRfGfBr8FHFG7STmDstwrjDRTwmYTCpmjEujaGiJHmG7akZ4Ukm 9HJafschQo0MNGk6cQeL7g2uaNEOLEQykJk0j53O1nKcBGk+K6Ro5jbrEZgFWGjy49Gh 8hf4VTh6pEjXBLF7zgVOSl66b+7J5rudsEb6gwmSyujB+53Q64Mq98HXO0DHQMBoGSSa JfXvpP7JtlhOJaodQY0o2Bq+9kqtwbsxF3u7qaj4TBMky2ppINbN+rQbqptmuDHr6oaE QhZfsfupg9sGjUq3WJ9PDWscFRxvHUfRXZmkm/K+El0kGJEYeScfl2fZRX4bh72ugtCU EEJg== X-Received: by 10.15.32.194 with SMTP id a42mr52924456eev.43.1373745255313; Sat, 13 Jul 2013 12:54:15 -0700 (PDT) Received: from [192.168.1.113] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id o5sm89378870eef.5.2013.07.13.12.54.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 13 Jul 2013 12:54:14 -0700 (PDT) Message-ID: <51E1B066.4010800@gmail.com> Date: Sat, 13 Jul 2013 21:54:14 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Icedove/17.0.7 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation. References: <508D6906.5000100@gmail.com> <1351547244.2511.11.camel@king.jenpiliny.cz> <1351628069.2535.33.camel@king.jenpiliny.cz> <51E00C7F.6080700@gmail.com> <51E02E16.5020404@volny.cz> <51E10C46.2070605@gmail.com> <51E197FC.7060905@volny.cz> In-Reply-To: <51E197FC.7060905@volny.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::236 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jul 2013 19:54:20 -0000 On 13.07.2013 20:10, Aleš Nesrsta wrote: > Hi Vladimir, > > thanks for the info. > > I wanted to try some experiments with this new version, but, > unfortunately, something is probably bad in trunk - there is no > accessible any disk device after "insmod " ("ls" does not list > any device, only empty line). > > can be (maybe) anything, I tried ehci, uhci, ohci and (non USB > driver) ahci. > I.e., problem is not related to USB drivers only. > For the first look it sounds like there is maybe something wrong with > insmod command itself. > (I built GRUB from latest trunk on 64-bit Arch Linux.) > You have to use nativedisk command which reloads disk drivers all at once as BIOS disk services are disables when *hci or pata is loaded. > BR, > Ales > > Dne 13.7.2013 10:13, Vladimir 'φ-coder/phcoder' Serbinenko napsal(a): >> On 12.07.2013 18:25, Aleš Nesrsta wrote: >>> Hi Vladimir, >>> >>> - what was the reason of the OHCI problem on Loongson? >>> (I don't see any details of solution below nor the patch... ?) >>> >> It was bad handling of root ports. My standard system has only EHCI+RMH >> so root port isn't accessible and is never hotplugged. This was >> introduced by USB init speed-up series >>> BR, >>> Ales >>> >>> Dne 12.7.2013 16:02, Vladimir 'φ-coder/phcoder' Serbinenko napsal(a): >>>> I fixed the usb keyboard bug on fuloong. Looks like some "antivirus" >>>> software blocked my message with GRUB binary. Also thers is grub.elf >>>> (from 2.00~rc1) in downloads section. >>>> On 03.11.2012 22:34, Javier Vasquez wrote: >>>>> On Tue, Oct 30, 2012 at 2:14 PM, Aleš Nesrsta >>>> > wrote: >>>>> >>>>> Javier Vasquez píše v Po 29. 10. 2012 v 17:03 -0600: >>>>> > > According to USB keyboard: Maybe it sounds funny, but try >>>>> this, >>>>> please: >>>>> > > Unplug and plug again keyboard when GRUB is loaded. >>>>> > > Does it help? >>>>> > > >>>>> > > BR >>>>> > > Ales >>>>> > >>>>> > >>>>> > Thanks, I tried, and it didn't work, :-( >>>>> > >>>>> > BTW, forgot to menion that I also tried adding usb and >>>>> usb_keyboard as >>>>> > GRUB_PRELOAD_MODULES (grub.cfg has the corresponding insmod >>>>> statements >>>>> > at the beginning), and that didn't work. That's the current >>>>> setup >>>>> > actually... >>>>> > >>>>> > Thanks, >>>>> > >>>>> OK, so it will be some another case. >>>>> >>>>> There will be helpful additional information - does work USB at >>>>> all? >>>>> I.e. when You connect e.g. USB flasdisk, is it working, can You >>>>> use it >>>>> in GRUB? >>>>> (Sorry if it is not possible to try such situation, I never seen >>>>> loongson (fuloong) mini-pc...) >>>>> >>>>> >>>>> No, it does not work. pmon handles it correctly, but grub provides >>>>> the >>>>> error disk not found, :-( >>>>> >>>>> >>>>> Another thing - You mentioned You used OHCI GRUB driver. As I >>>>> see on >>>>> >>>>> http://www.lemote.com/en/products/mini-computer/2010/0310/111.html , >>>>> there is mentioned USB 2.0, i.e. it should be probably EHCI >>>>> controller >>>>> - ? >>>>> >>>>> >>>>> I also generated image including the ehci module, and it didn't make a >>>>> change... >>>>> >>>>> (OHCI is USB 1.1 controller - but it could be used together with >>>>> USB 2.0 >>>>> EHCI as so called companion controller). >>>>> Is it possible that Your Mini-PC has USB 2.0 only (i.e. EHCI) >>>>> controller >>>>> (without companion controller)? >>>>> Are somewhere available more detailed information about Your >>>>> loongson-2f >>>>> Mini-PC HW? >>>>> >>>>> >>>>> I'm attaching more information about the mini-pc... Notice dmesg >>>>> indicates linux used ohci for this device without problems: >>>>> >>>>> % uname -a >>>>> Linux mini-1 3.2.0-4-loongson-2f #1 Debian 3.2.32-1 mips64 GNU/Linux >>>>> >>>>> % dmesg >>>>> ... >>>>> [ 6.820000] usb 2-2: new low-speed USB device number 3 using >>>>> ohci_hcd >>>>> [ 7.048000] usb 2-2: New USB device found, idVendor=04d9, >>>>> idProduct=1702 >>>>> [ 7.052000] usb 2-2: New USB device strings: Mfr=1, Product=2, >>>>> SerialNumber=0 >>>>> [ 7.056000] usb 2-2: Product: USB Keyboard >>>>> [ 7.060000] usb 2-2: Manufacturer: >>>>> [ 7.100000] input: USB Keyboard as >>>>> /devices/pci0000:00/0000:00:0e.4/usb2/2-2/2-2:1.0/input/input1 >>>>> [ 7.116000] generic-usb 0003:04D9:1702.0002: input,hidraw1: USB HID >>>>> v1.10 Keyboard [ USB Keyboard] on usb-0000:00:0e.4-2/input0 >>>>> [ 7.144000] input: USB Keyboard as >>>>> /devices/pci0000:00/0000:00:0e.4/usb2/2-2/2-2:1.1/input/input2 >>>>> [ 7.152000] generic-usb 0003:04D9:1702.0003: input,hidraw2: USB HID >>>>> v1.10 Device [ USB Keyboard] on usb-0000:00:0e.4-2/input1 >>>>> ... >>>>> >>>>> I'm attaching several logs and info, including dmsg output... >>>>> >>>>> >>>>> BR, >>>>> Ales >>>>> >>>>> >>>>> Thanks, >>>>> >>>>> -- >>>>> Javier. >>>>> >>>>> >>>>> _______________________________________________ >>>>> Grub-devel mailing list >>>>> Grub-devel@gnu.org >>>>> https://lists.gnu.org/mailman/listinfo/grub-devel >>>>> >>>> >>>> >>>> _______________________________________________ >>>> Grub-devel mailing list >>>> Grub-devel@gnu.org >>>> https://lists.gnu.org/mailman/listinfo/grub-devel >>> >>> _______________________________________________ >>> Grub-devel mailing list >>> Grub-devel@gnu.org >>> https://lists.gnu.org/mailman/listinfo/grub-devel >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> https://lists.gnu.org/mailman/listinfo/grub-devel > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel