Re: [grub-devel] fatal error message on grub-install for i386-pc (x86-64) with latest repo

2013-12-15 Thread Javier Vasquez
On Sun, Dec 15, 2013 at 1:24 PM, Javier Vasquez wrote: > Hi, > > With latest git repo, after compiling/installing: > > % sudo grub-install --boot-directory=/boot --recheck /dev/sdb > FATAL: Error inserting efivars > (/lib/modules/3.12.5/kernel/drivers/firmware/efi/efivars.

[grub-devel] fatal error message on grub-install for i386-pc (x86-64) with latest repo

2013-12-15 Thread Javier Vasquez
Hi, With latest git repo, after compiling/installing: % sudo grub-install --boot-directory=/boot --recheck /dev/sdb FATAL: Error inserting efivars (/lib/modules/3.12.5/kernel/drivers/firmware/efi/efivars.ko): No such device Installation finished. No error reported. The installation seems to have

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-11-17 Thread Javier Vasquez
On 11/17/13, Aleš Nesrsta wrote: > ... > Did you change > something else than misc.c? No, please see attached diff. Thanks, -- Javier. --- orig/grub-core/kern/misc.c 2013-11-09 14:07:56.306069352 -0600 +++ dbg/grub-core/kern/misc.c 2013-11-09 14:17:49.670659588 -0600 @@ -154,7 +154,11 @@

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-11-10 Thread Javier Vasquez
On 11/10/13, Javier Vasquez wrote: > On Sun, Nov 3, 2013 at 7:16 PM, Vladimir 'φ-coder/phcoder' Serbinenko >> When you do grub_dprintf change you have to do it like: >> if (!debug) >> #ifdef GRUB_UTIL >> return; >> #else >> debug=&q

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-11-10 Thread Javier Vasquez
On Sun, Nov 3, 2013 at 7:16 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 04.11.2013 02:10, Javier Vasquez wrote: >> On 11/1/13, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >>> On 01.11.2013 22:26, Aleš Nesrsta wrote: >>>> >>

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-11-03 Thread Javier Vasquez
On 11/1/13, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 01.11.2013 22:26, Aleš Nesrsta wrote: >> >> >> Dne 29.10.2013 19:46, Vladimir 'φ-coder/phcoder' Serbinenko napsal(a): >>> On 29.10.2013 19:35, Aleš Nesrsta wrote: Only short note below... Dne 27.10.2013 23:43, Vladimir 'φ

Fwd: [grub-devel] error when compiling getroot

2013-11-02 Thread Javier Vasquez
I'm getting the following error when compiling from latest git repo (e7b66a28de17b085a9b71d6c500b0b139e94d818) on mipsel (loongson-2f): gcc -DHAVE_CONFIG_H -I. -Wall -W -I./include -DGRUB_UTIL=1 -DGRUB_LIBDIR=\"/usr/lib/grub\" -DLOCALEDIR=\"/usr/share/locale\" -DGRUB_FILE=\"grub-core/osde

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-10-27 Thread Javier Vasquez
On Sun, Oct 27, 2013 at 4:51 PM, Javier Vasquez wrote: > On Sun, Oct 27, 2013 at 4:43 PM, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: >> On 27.10.2013 21:03, Aleš Nesrsta wrote: >>> >>> >>> ... >> I have to second this: OHCI module if l

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-10-27 Thread Javier Vasquez
On Sun, Oct 27, 2013 at 4:18 PM, Javier Vasquez wrote: >>> ... >>> sudo grub-install --boot-directory=/boot --target=mipsel-loongson >>> --recheck /dev/sda >>> >> Add --modules="ehci ohci usb_keyboard" >>> >>> ... >

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-10-27 Thread Javier Vasquez
>> ... >> sudo grub-install --boot-directory=/boot --target=mipsel-loongson >> --recheck /dev/sda >> > Add --modules="ehci ohci usb_keyboard" >> >> ... OK, I'll do it, however, please notice that without that, the image is already including ohci, and that my manual attempt also included it, as wel

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-10-27 Thread Javier Vasquez
On Sun, Oct 27, 2013 at 2:03 PM, Aleš Nesrsta wrote: > Dne 27.10.2013 19:33, Javier Vasquez napsal(a): > >> OK, I'll re-dump removing such call, :-) > > Hi Javier, > > maybe it is not necessary - at least with your current configuration. > Why: > > 1.

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-10-27 Thread Javier Vasquez
> It's because your grub.cfg tells grub to switch to gfxterm. OK, I'll re-dump removing such call, :-) Thanks, -- Javier. ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-10-16 Thread Javier Vasquez
On Wed, Oct 16, 2013 at 5:31 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Is any part of this thread still an issue? > I marked it but it seems that there were couple of patches committed > since then and suppsedly it fixes all problems mentioned. I would need to try the latest repo, but ev

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-09-17 Thread Javier Vasquez
On Tue, Sep 17, 2013 at 1:27 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 17.09.2013 19:24, Javier Vasquez wrote: >> # stty -F /dev/ttyUSB0 9600 -echo >> # cat /dev/ttyUSB0 > ttyUSB0.txt > It's 115200 not 9600 My mistake, the adapter is not a null

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-09-17 Thread Javier Vasquez
On Tue, Sep 17, 2013 at 11:24 AM, Javier Vasquez wrote: > Finally I got the HW setup, but I'm not capturing anything, :-( > > See, I had to acquire a serial to usb cable adpater, given the laptop > with serial interface no longer works. It's kind of under a short or >

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-09-17 Thread Javier Vasquez
Finally I got the HW setup, but I'm not capturing anything, :-( See, I had to acquire a serial to usb cable adpater, given the laptop with serial interface no longer works. It's kind of under a short or something, ever since I tried to hook the serial ports. It just doesn't start anymore... Any

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-07-27 Thread Javier Vasquez
> On Fri, Jul 26, 2013 at 11:14 AM, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: >> On 26.07.2013 18:59, Javier Vasquez wrote: >> ... >> Hmm, I can access one laptop with 9 pins RS-232 port. The mini-pc is >> a 3 pins serial port. I don't currentl

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-07-26 Thread Javier Vasquez
On Fri, Jul 26, 2013 at 9:30 AM, Aleš Nesrsta wrote: > Hi Javier, > > probably last chance to find the reason of Your GRUB USB keyboard trouble is > the debugging. > > I don't know how much debugging experience do You have, so there is short > "manual" what You need to have/to do: Hmm, I can acce

Re: [PATCH] Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-07-21 Thread Javier Vasquez
| On 7/21/13, Aleš Nesrsta wrote: | ... | Hm. | Could You make following additional test? | ... | | 4. | Boot the PC. During boot check this: | - If USB disk blinks when ls command is issued (i.e. if USB disk is | accessed by GRUB). No, it doesn't. | - If ls command output contains somewhere at

Re: [PATCH] Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-07-20 Thread Javier Vasquez
On 7/20/13, Aleš Nesrsta wrote: > > Hm, it's pity. So, there is at least one additional bug somewhere... :-( > > ... > Could You test if Your keyboard will work on fuloong when You use only > OHCI module (don't include/load EHCI module in GRUB)? > (EHCI module is not needed for USB keyboard in the

Re: [PATCH] Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-07-18 Thread Javier Vasquez
On 7/18/13, Aleš Nesrsta wrote: > ... > Attached patch seems to solve problem described below (non-working USB > keyboard attached to the same port where was USB disk previously). > > Please try it - maybe it solves also reported keyboard problem on > fuloong/loongson. > ... I applied the patch,

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-07-16 Thread Javier Vasquez
| On Tue, Jul 16, 2013 at 11:53 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: | | | On 16.07.2013 15:50, Javier Vasquez wrote: | | | | ... | | Having: | | | | GRUB_PRELOAD_MODULES="ehci ohci usb_keyboard" | | | | and, combining with preload of usb_keyboard didn't do th

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-07-16 Thread Javier Vasquez
On 7/16/13, Javier Vasquez wrote: > On 7/15/13, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: >>> And using the grub.elf provided by grub-install, that didn't change a >>> thing, :-) I still can't use the usb keyboard, :-( >>> >

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-07-16 Thread Javier Vasquez
On 7/15/13, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >> And using the grub.elf provided by grub-install, that didn't change a >> thing, :-) I still can't use the usb keyboard, :-( >> > You need to preload ehci and ohci. Now I have this: GRUB_PRELOAD_MODULES="ehci ohci" which generates in t

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-07-14 Thread Javier Vasquez
On 7/14/13, Javier Vasquez wrote: > ... > > Does this mean that if do the following: > > bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub > > ... By using trunk, and instaling grub from there, and generating the menu wihtout and/or with: GRUB_PRELOAD_MODULES=&qu

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-07-14 Thread Javier Vasquez
On 7/13/13, Aleš Nesrsta wrote: >> 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. > > Thanks, it works - it looks like I missed some important change in GRUB... > > BR, > Ales Does this mean that if do t

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2012-11-04 Thread Javier Vasquez
On Sun, Nov 4, 2012 at 3:51 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 04.11.2012 18:31, Javier Vasquez wrote: > ... > > When time permits (most likely next Sunday) I'll make for you an image > that I've tested on my fuloong to see if it mak

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2012-11-04 Thread Javier Vasquez
On Sun, Nov 4, 2012 at 3:05 PM, Aleš Nesrsta wrote: > > OK, OHCI is present as companion controller, i.e. directly connected USB > keyboard should work. > > As You wrote, USB probably does not work at all - it seems like OHCI > driver is not loaded by GRUB. > > There should be some "insmod ohci" c

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2012-11-04 Thread Javier Vasquez
On Sat, Nov 3, 2012 at 3:34 PM, 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: >> > >

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2012-11-03 Thread Javier Vasquez
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 h

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2012-10-29 Thread Javier Vasquez
On Mon, Oct 29, 2012 at 3:47 PM, Aleš Nesrsta wrote: > Javier Vasquez wrote: >> On Sun, Oct 28, 2012 at 11:19 AM, Vladimir 'φ-coder/phcoder' >> Serbinenko wrote: >> > >> >> ... >> > >> > Is there a hub or is keyboard connected di

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2012-10-28 Thread Javier Vasquez
On Sun, Oct 28, 2012 at 11:19 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > >> ... > > Is there a hub or is keyboard connected directly? > > -- > Regards > Vladimir 'φ-coder/phcoder' Serbinenko The keyboard is connected directly... -- Javier. _

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2012-10-28 Thread Javier Vasquez
On Sun, Oct 28, 2012 at 10:31 AM, Javier Vasquez wrote: > As it was announced on 2.0 release, I attempted to compile/install > vanilla grub on a mini-pc, with 4.7 gcc... > > I just used: > > ./configure --prefix=/usr --sysconfdir=/etc > make > sudo make install > >

[grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2012-10-28 Thread Javier Vasquez
As it was announced on 2.0 release, I attempted to compile/install vanilla grub on a mini-pc, with 4.7 gcc... I just used: ./configure --prefix=/usr --sysconfdir=/etc make sudo make install After installing I removed old grub generated stuff, and ran: sudo grub-install --boot-directory=/boot --