All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.
Date: Sat, 13 Jul 2013 21:54:14 +0200	[thread overview]
Message-ID: <51E1B066.4010800@gmail.com> (raw)
In-Reply-To: <51E197FC.7060905@volny.cz>

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 <driver>" ("ls" does not list
> any device, only empty line).
>
> <driver> 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 <starous@volny.cz
>>>>> <mailto:starous@volny.cz>> 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



  reply	other threads:[~2013-07-13 19:54 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-28 16:31 [grub-devel] loongson-2f mini-pc (fuloong) elf image generation Javier Vasquez
2012-10-28 16:36 ` Javier Vasquez
2012-10-28 17:19 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-10-28 23:19   ` Javier Vasquez
2012-10-29 21:47     ` Aleš Nesrsta
2012-10-29 23:03       ` Javier Vasquez
2012-10-30 20:14         ` Aleš Nesrsta
2012-11-03 21:34           ` Javier Vasquez
2012-11-04 17:31             ` Javier Vasquez
2012-11-04 21:05               ` Aleš Nesrsta
2012-11-05  0:11                 ` Javier Vasquez
2012-11-04 21:51               ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-11-05  0:14                 ` Javier Vasquez
2013-07-12 14:02             ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-07-12 16:25               ` Aleš Nesrsta
2013-07-12 18:05                 ` Lennart Sorensen
2013-07-13  8:13                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-07-13 18:10                   ` Aleš Nesrsta
2013-07-13 19:54                     ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2013-07-13 21:22                       ` Aleš Nesrsta
2013-07-15  0:18                         ` Javier Vasquez
2013-07-15  3:19                           ` Javier Vasquez
2013-07-15 10:26                             ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-07-16 13:40                               ` Javier Vasquez
2013-07-16 13:50                                 ` Javier Vasquez
2013-07-16 17:53                                   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-07-16 21:17                                     ` Javier Vasquez
2013-07-15 20:39               ` Aleš Nesrsta
2013-07-16 19:25                 ` Aleš Nesrsta
2013-07-16 19:29                   ` Aleš Nesrsta
2013-07-18 16:10                     ` [PATCH] " Aleš Nesrsta
2013-07-19  5:00                       ` Javier Vasquez
2013-07-20 21:56                         ` Aleš Nesrsta
2013-07-20 22:43                           ` Javier Vasquez
2013-07-21 15:29                             ` Aleš Nesrsta
2013-07-21 20:11                               ` Javier Vasquez
2013-07-22 20:14                                 ` starous
2013-07-22 21:00                                   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-07-23 21:05                                     ` starous
2013-07-26 15:30                                   ` Aleš Nesrsta
2013-07-26 16:59                                     ` Javier Vasquez
2013-07-26 17:14                                       ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-07-27 22:40                                         ` Javier Vasquez
2013-07-28 13:56                                           ` Aleš Nesrsta
2013-07-28 14:04                                             ` Aleš Nesrsta
2013-09-17 17:24                                               ` Javier Vasquez
2013-09-17 17:34                                                 ` Javier Vasquez
2013-09-17 21:10                                                   ` Aleš Nesrsta
2013-09-17 21:35                                                     ` Gregg Levine
2013-09-17 22:17                                                       ` Aleš Nesrsta
2013-09-17 19:27                                                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-09-17 20:33                                                   ` Javier Vasquez
2013-10-27 17:54                                                     ` Javier Vasquez
2013-10-27 18:02                                                       ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-27 18:33                                                         ` Javier Vasquez
2013-10-27 20:03                                                           ` Aleš Nesrsta
2013-10-27 20:19                                                             ` Javier Vasquez
2013-10-27 21:20                                                               ` Aleš Nesrsta
2013-10-27 22:04                                                               ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-27 22:18                                                                 ` Javier Vasquez
2013-10-27 22:26                                                                   ` Javier Vasquez
2013-10-27 22:43                                                             ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-27 22:51                                                               ` Javier Vasquez
2013-10-27 23:47                                                                 ` Javier Vasquez
2013-10-29 18:35                                                               ` Aleš Nesrsta
2013-10-29 18:46                                                                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-01 21:26                                                                   ` Aleš Nesrsta
2013-11-01 21:59                                                                     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-04  1:10                                                                       ` Javier Vasquez
2013-11-04  1:16                                                                         ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-10 19:03                                                                           ` Javier Vasquez
2013-11-10 19:10                                                                             ` Javier Vasquez
2013-11-17 12:04                                                                               ` Aleš Nesrsta
2013-11-17 18:31                                                                                 ` Javier Vasquez
2013-12-05 21:18                                                                                   ` Aleš Nesrsta
2013-12-05 21:34                                                                                   ` Aleš Nesrsta
2013-09-19  8:13                       ` [PATCH] " Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-16 23:31                   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-16 23:39                     ` Javier Vasquez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51E1B066.4010800@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.