* grub efi boot hangs @ 2013-04-11 14:15 Rajasekhar Pulluru 2013-04-11 15:13 ` Vladimir 'φ-coder/phcoder' Serbinenko 0 siblings, 1 reply; 5+ messages in thread From: Rajasekhar Pulluru @ 2013-04-11 14:15 UTC (permalink / raw) To: grub-devel, help-grub [-- Attachment #1: Type: text/plain, Size: 6424 bytes --] All, Booting netbsd & linux kernel from grub-efi-x86_64 hangs. No messages are seen in console after grub boot command . fs0:\efi\boot>bootx86_64.efi /* skipped grub header */ grub> set root="(hd0,netbsd1)" grub> knetbsd (hd0,netbsd1)/netbsd --serial=0,9600 grub> boot Tried booting 32bit and 64bit kernel, both of them doesn't boot. Grub version is 1.99, haven't tried grub2. When grub is built for i386-pc target, it boots the same kernel properly and kernel console messages are seen. I tried below steps after checking on forums, but that didn't help. insmod efi_gop #already loaded insmod efi_uga #already loaded insmod font #already loaded if loadfont ${prefix}/unicode.pf2 then insmod gfxterm set gfxmode=auto set gfxpayload=keep terminal_output gfxterm fi Would like to know if console used for i386-pc and x86_64-efi are different? Would like to get help to boot kernel successfully with efi. Below is the list of modules loaded in grub. grub> lsmod Name Ref Count Dependencies zfsinfo 1 zfs zfs 2 xzio 1 gcry_crc xnu_uuid 1 gcry_md5 xnu 1 relocator,bitmap,boot,video,normal,extcmd,bitmap_scale xfs 1 fshelp videotest 1 gfxmenu,video,font videoinfo 1 video video_cirrus 1 video_fb,pci,video video_bochs 1 video_fb,pci,video usbtest 1 usb usbserial_pl2303 1 usbserial_common,usb,serial usbserial_ftdi 1 usbserial_common,usb,serial usbserial_common 3 usb,serial usbms 1 usb,scsi usb_keyboard 1 usb,keylayouts uhci 1 pci,usb ufs2 1 ufs1 1 udf 1 fshelp true 1 tga 1 bitmap,bufio test 1 testload 1 test_blockarg 1 normal,extcmd tar 1 sleep 1 normal,extcmd sfs 1 fshelp setpci 1 pci,extcmd setjmp 1 search 1 search_label,extcmd,search_fs_file,search_fs_uuid search_label 2 search_fs_uuid 2 search_fs_file 2 reiserfs 1 fshelp regexp 1 normal,extcmd reboot 1 read 1 raid6rec 1 raid raid5rec 1 raid probe 1 extcmd png 1 bitmap,bufio play 1 password_pbkdf2 1 normal,pbkdf2,gcry_sha512,crypto pbkdf2 2 crypto password 1 normal,crypto part_sunpc 1 part_sun 1 part_gpt 1 part_bsd 1 part_msdos part_msdos 2 part_apple 1 part_amiga 1 part_acorn 1 ohci 1 pci,boot,usb,cs5536 usb 11 pci ntfscomp 1 ntfs ntfs 2 fshelp nilfs2 1 fshelp multiboot 1 mmap,relocator,boot,video multiboot2 1 acpi,mmap,relocator,boot,video msdospart 1 parttool parttool 3 normal minix 1 minix2 1 minicmd 1 memrw 1 extcmd memdisk 1 mdraid1x 1 raid mdraid09 1 raid lvm 1 lssal 1 lspci 1 pci,extcmd ls 1 normal,extcmd lsmmap 1 mmap lsefisystab 1 lsefimmap 1 lsacpi 1 acpi,extcmd loopback 1 extcmd loadenv 1 extcmd loadbios 1 pci linux 1 mmap,relocator,boot,video keystatus 1 extcmd jpeg 1 bitmap,bufio jfs 1 iso9660 1 fshelp iorw 1 extcmd hfsplus 1 fshelp hfs 1 hexdump 1 extcmd help 1 normal,extcmd hello 1 extcmd hdparm 1 extcmd hashsum 1 normal,extcmd,crypto halt 1 acpi gzio 1 gptsync 1 gfxmenu 2 video,bitmap,normal,font,gfxterm,bitmap_scale,trig trig 3 gfxterm 3 video,bitmap,extcmd,font,bitmap_scale gettext 1 gcry_whirlpool 1 crypto gcry_twofish 1 crypto gcry_tiger 1 crypto gcry_sha512 2 crypto gcry_sha256 1 crypto gcry_sha1 1 crypto gcry_serpent 1 crypto gcry_seed 1 crypto gcry_rmd160 1 crypto gcry_rijndael 1 crypto gcry_rfc2268 1 crypto gcry_md5 2 crypto gcry_md4 1 crypto gcry_des 1 crypto gcry_crc 2 crypto gcry_cast5 1 crypto gcry_camellia 1 crypto gcry_blowfish 1 crypto gcry_arcfour 1 crypto font 7 video,bufio fixvideo 1 pci fat 1 ext2 1 fshelp example_functional_test 1 functional_test functional_test 2 extcmd efi_uga 1 video_fb,pci,video efi_gop 1 video_fb,video video_fb 5 video echo 1 extcmd dm_nv 1 raid raid 6 date 1 normal,datetime datehook 1 normal,datetime datetime 3 cs5536 2 pci cpio 1 configfile 1 normal normal 19 boot,extcmd,crypto,terminal terminal 20 crypto 47 cmp 1 chain 1 boot cat 1 extcmd bufio 11 btrfs 1 bsd 1 mmap,relocator,cpuid,boot,aout,video,extcmd,serial,elf elf 2 serial 7 terminfo,extcmd terminfo 8 extcmd video 29 cpuid 2 extcmd relocator 6 mmap blocklist 1 bitmap_scale 7 bitmap bitmap 17 befs 1 fshelp befs_be 1 fshelp at_keyboard 1 boot,keylayouts keylayouts 3 ata_pthru 1 ata ata 2 pci,scsi scsi 4 pci 25 appleldr 1 boot boot 29 aout 2 afs 1 fshelp afs_be 1 fshelp affs 1 fshelp fshelp 16 acpi 4 mmap,extcmd extcmd 69 mmap 16 Thanks & Regards, Rajasekhar [-- Attachment #2: Type: text/html, Size: 7343 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: grub efi boot hangs 2013-04-11 14:15 grub efi boot hangs Rajasekhar Pulluru @ 2013-04-11 15:13 ` Vladimir 'φ-coder/phcoder' Serbinenko [not found] ` <CAGA5_H4puAjg4uSFio0NuXpifYg1+_tAFpSxRKU2+t+FFQcLYA@mail.gmail.com> 0 siblings, 1 reply; 5+ messages in thread From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-04-11 15:13 UTC (permalink / raw) To: The development of GNU GRUB [-- Attachment #1: Type: text/plain, Size: 7427 bytes --] On 11.04.2013 16:15, Rajasekhar Pulluru wrote: > All, > > Booting netbsd & linux kernel from grub-efi-x86_64 hangs. No messages > are seen in console after grub boot command . > > fs0:\efi\boot>bootx86_64.efi > /* skipped grub header */ > grub> set root="(hd0,netbsd1)" > grub> knetbsd (hd0,netbsd1)/netbsd --serial=0,9600 > grub> boot > > > Tried booting 32bit and 64bit kernel, both of them doesn't boot. Grub > version is 1.99, haven't tried grub2. When grub is built for i386-pc > target, it boots the same kernel properly and kernel console messages > are seen. > Try 2.00 or bzr. > I tried below steps after checking on forums, but that didn't help. > insmod efi_gop #already loaded > insmod efi_uga #already loaded > insmod font #already loaded > > if loadfont ${prefix}/unicode.pf2 > then > insmod gfxterm > set gfxmode=auto > set gfxpayload=keep > terminal_output gfxterm > fi > > Would like to know if console used for i386-pc and x86_64-efi are > different? on efi default and only option is gfx console. On i386-pc default is VGA text > Would like to get help to boot kernel successfully with efi. Below is > the list of modules loaded in grub. > > grub> lsmod > Name Ref Count Dependencies > zfsinfo 1 zfs > zfs 2 > xzio 1 gcry_crc > xnu_uuid 1 gcry_md5 > xnu 1 > relocator,bitmap,boot,video,normal,extcmd,bitmap_scale > xfs 1 fshelp > videotest 1 gfxmenu,video,font > videoinfo 1 video > video_cirrus 1 video_fb,pci,video > video_bochs 1 video_fb,pci,video > usbtest 1 usb > usbserial_pl2303 1 usbserial_common,usb,serial > usbserial_ftdi 1 usbserial_common,usb,serial > usbserial_common 3 usb,serial > usbms 1 usb,scsi > usb_keyboard 1 usb,keylayouts > uhci 1 pci,usb > ufs2 1 > ufs1 1 > udf 1 fshelp > true 1 > tga 1 bitmap,bufio > test 1 > testload 1 > test_blockarg 1 normal,extcmd > tar 1 > sleep 1 normal,extcmd > sfs 1 fshelp > setpci 1 pci,extcmd > setjmp 1 > search 1 search_label,extcmd,search_fs_file,search_fs_uuid > search_label 2 > search_fs_uuid 2 > search_fs_file 2 > reiserfs 1 fshelp > regexp 1 normal,extcmd > reboot 1 > read 1 > raid6rec 1 raid > raid5rec 1 raid > probe 1 extcmd > png 1 bitmap,bufio > play 1 > password_pbkdf2 1 normal,pbkdf2,gcry_sha512,crypto > pbkdf2 2 crypto > password 1 normal,crypto > part_sunpc 1 > part_sun 1 > part_gpt 1 > part_bsd 1 part_msdos > part_msdos 2 > part_apple 1 > part_amiga 1 > part_acorn 1 > ohci 1 pci,boot,usb,cs5536 > usb 11 pci > ntfscomp 1 ntfs > ntfs 2 fshelp > nilfs2 1 fshelp > multiboot 1 mmap,relocator,boot,video > multiboot2 1 acpi,mmap,relocator,boot,video > msdospart 1 parttool > parttool 3 normal > minix 1 > minix2 1 > minicmd 1 > memrw 1 extcmd > memdisk 1 > mdraid1x 1 raid > mdraid09 1 raid > lvm 1 > lssal 1 > lspci 1 pci,extcmd > ls 1 normal,extcmd > lsmmap 1 mmap > lsefisystab 1 > lsefimmap 1 > lsacpi 1 acpi,extcmd > loopback 1 extcmd > loadenv 1 extcmd > loadbios 1 pci > linux 1 mmap,relocator,boot,video > keystatus 1 extcmd > jpeg 1 bitmap,bufio > jfs 1 > iso9660 1 fshelp > iorw 1 extcmd > hfsplus 1 fshelp > hfs 1 > hexdump 1 extcmd > help 1 normal,extcmd > hello 1 extcmd > hdparm 1 extcmd > hashsum 1 normal,extcmd,crypto > halt 1 acpi > gzio 1 > gptsync 1 > gfxmenu 2 video,bitmap,normal,font,gfxterm,bitmap_scale,trig > trig 3 > gfxterm 3 video,bitmap,extcmd,font,bitmap_scale > gettext 1 > gcry_whirlpool 1 crypto > gcry_twofish 1 crypto > gcry_tiger 1 crypto > gcry_sha512 2 crypto > gcry_sha256 1 crypto > gcry_sha1 1 crypto > gcry_serpent 1 crypto > gcry_seed 1 crypto > gcry_rmd160 1 crypto > gcry_rijndael 1 crypto > gcry_rfc2268 1 crypto > gcry_md5 2 crypto > gcry_md4 1 crypto > gcry_des 1 crypto > gcry_crc 2 crypto > gcry_cast5 1 crypto > gcry_camellia 1 crypto > gcry_blowfish 1 crypto > gcry_arcfour 1 crypto > font 7 video,bufio > fixvideo 1 pci > fat 1 > ext2 1 fshelp > example_functional_test 1 functional_test > functional_test 2 extcmd > efi_uga 1 video_fb,pci,video > efi_gop 1 video_fb,video > video_fb 5 video > echo 1 extcmd > dm_nv 1 raid > raid 6 > date 1 normal,datetime > datehook 1 normal,datetime > datetime 3 > cs5536 2 pci > cpio 1 > configfile 1 normal > normal 19 boot,extcmd,crypto,terminal > terminal 20 > crypto 47 > cmp 1 > chain 1 boot > cat 1 extcmd > bufio 11 > btrfs 1 > bsd 1 > mmap,relocator,cpuid,boot,aout,video,extcmd,serial,elf > elf 2 > serial 7 terminfo,extcmd > terminfo 8 extcmd > video 29 > cpuid 2 extcmd > relocator 6 mmap > blocklist 1 > bitmap_scale 7 bitmap > bitmap 17 > befs 1 fshelp > befs_be 1 fshelp > at_keyboard 1 boot,keylayouts > keylayouts 3 > ata_pthru 1 ata > ata 2 pci,scsi > scsi 4 > pci 25 > appleldr 1 boot > boot 29 > aout 2 > afs 1 fshelp > afs_be 1 fshelp > affs 1 fshelp > fshelp 16 > acpi 4 mmap,extcmd > extcmd 69 > mmap 16 > > Thanks & Regards, > Rajasekhar > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 294 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <CAGA5_H4puAjg4uSFio0NuXpifYg1+_tAFpSxRKU2+t+FFQcLYA@mail.gmail.com>]
[parent not found: <CAGA5_H4db1MXxHAj8SjHm9U1tDJoQCy5V7T48stsoGxCGmd92w@mail.gmail.com>]
[parent not found: <51682E73.70502@gmail.com>]
[parent not found: <CAGA5_H45OL2hZ2HG+T-AYbu87UtG9FFGzjeKUp3Cy+ey+hFzGg@mail.gmail.com>]
* Re: grub efi boot hangs [not found] ` <CAGA5_H45OL2hZ2HG+T-AYbu87UtG9FFGzjeKUp3Cy+ey+hFzGg@mail.gmail.com> @ 2013-04-18 15:09 ` Vladimir 'φ-coder/phcoder' Serbinenko 2013-04-18 15:23 ` Rajasekhar Pulluru 0 siblings, 1 reply; 5+ messages in thread From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-04-18 15:09 UTC (permalink / raw) To: Rajasekhar Pulluru, The development of GRUB 2 [-- Attachment #1: Type: text/plain, Size: 14339 bytes --] Keep list CC'ed On 18.04.2013 17:00, Rajasekhar Pulluru wrote: > Hi Vladimir, > > As you suggested, built grub efi from latest bzr grub and installed it. > when I execute grubx64.efi it complains "error: variable `prefix' isn't > set." and hangs. > > There was grub standalone image (grubx64_standalone.efi) that got > installed along with grubx64.efi, which when started doesn't report any > problem and could get to grub> prompt. With this, I could boot Linux > (from msdos partition) and could see kernel messages. > We don't install such a binary. How did you do an installation? > But, in this grub, I couldn't access netbsd partition even though > part_bsd module is loaded. It complains "error: no such partition." when > I try to execute grub> ls (hd1,netbsd1)/. > grub> ls (output of this displays (hd1,netbsd1), (hd1,msdos1) ...) > Does it required to load any other modules other than part_bsd to read > netbsd partiton? > > Appreciate your help. > > Thanks & Regards, > Rajasekhar > > > > > > > On Fri, Apr 12, 2013 at 9:25 PM, Vladimir 'φ-coder/phcoder' Serbinenko > <phcoder@gmail.com <mailto:phcoder@gmail.com>> wrote: > > > Keep the list CC'ed > On 12.04.2013 17:48, Rajasekhar Pulluru wrote: > > > Hi Vladimir, > > > > I could boot linux using efi lilo and console messages are thrown from > > linux on booting. I see issues only with grub efi. > > It would be really great if you could provide us a method to get > kernel > > messages on console with efi grub. > > GRUB doesn't control linux messages. It's all in parameters > (early_printk and console) > Also it's strange to hear a feature request from someone who doesn't ven > use latest version. > > > > > Thanks & Regards, > > Rajasekhar > > > > > > > > On Fri, Apr 12, 2013 at 1:56 PM, Rajasekhar Pulluru > > <pullururajasekhar@gmail.com <mailto:pullururajasekhar@gmail.com> > <mailto:pullururajasekhar@gmail.com > <mailto:pullururajasekhar@gmail.com>>> wrote: > > > > Hi Vladimir, > > > > My system doesn't have video card. It only has serial console > port. > > Would I be able to get kernel boot messages on serial console with > > grub-efi? > > > > Thanks & Regards, > > Rajasekhar > > > > > > On Thu, Apr 11, 2013 at 8:43 PM, Vladimir 'φ-coder/phcoder' > > Serbinenko <phcoder@gmail.com <mailto:phcoder@gmail.com> > <mailto:phcoder@gmail.com <mailto:phcoder@gmail.com>>> wrote: > > > > On 11.04.2013 16:15, Rajasekhar Pulluru wrote: > > > > > All, > > > > > > Booting netbsd & linux kernel from grub-efi-x86_64 hangs. No > > messages > > > are seen in console after grub boot command . > > > > > > fs0:\efi\boot>bootx86_64.efi > > > /* skipped grub header */ > > > grub> set root="(hd0,netbsd1)" > > > grub> knetbsd (hd0,netbsd1)/netbsd --serial=0,9600 > > > grub> boot > > > > > > > > > Tried booting 32bit and 64bit kernel, both of them doesn't > > boot. Grub > > > version is 1.99, haven't tried grub2. When grub is built for > > i386-pc > > > target, it boots the same kernel properly and kernel console > > messages > > > are seen. > > > > > > > Try 2.00 or bzr. > > > > > I tried below steps after checking on forums, but that > didn't > > help. > > > insmod efi_gop #already loaded > > > insmod efi_uga #already loaded > > > insmod font #already loaded > > > > > > if loadfont ${prefix}/unicode.pf2 > > > then > > > insmod gfxterm > > > set gfxmode=auto > > > set gfxpayload=keep > > > terminal_output gfxterm > > > fi > > > > > > Would like to know if console used for i386-pc and > x86_64-efi are > > > different? > > > > on efi default and only option is gfx console. On i386-pc > > default is VGA > > text > > > > > Would like to get help to boot kernel successfully with efi. > > Below is > > > the list of modules loaded in grub. > > > > > > grub> lsmod > > > Name Ref Count Dependencies > > > zfsinfo 1 zfs > > > zfs 2 > > > xzio 1 gcry_crc > > > xnu_uuid 1 gcry_md5 > > > xnu 1 > > > relocator,bitmap,boot,video,normal,extcmd,bitmap_scale > > > xfs 1 fshelp > > > videotest 1 gfxmenu,video,font > > > videoinfo 1 video > > > video_cirrus 1 video_fb,pci,video > > > video_bochs 1 video_fb,pci,video > > > usbtest 1 usb > > > usbserial_pl2303 1 > > usbserial_common,usb,serial > > > usbserial_ftdi 1 usbserial_common,usb,serial > > > usbserial_common 3 usb,serial > > > usbms 1 usb,scsi > > > usb_keyboard 1 usb,keylayouts > > > uhci 1 pci,usb > > > ufs2 1 > > > ufs1 1 > > > udf 1 fshelp > > > true 1 > > > tga 1 bitmap,bufio > > > test 1 > > > testload 1 > > > test_blockarg 1 normal,extcmd > > > tar 1 > > > sleep 1 normal,extcmd > > > sfs 1 fshelp > > > setpci 1 pci,extcmd > > > setjmp 1 > > > search 1 > > search_label,extcmd,search_fs_file,search_fs_uuid > > > search_label 2 > > > search_fs_uuid 2 > > > search_fs_file 2 > > > reiserfs 1 fshelp > > > regexp 1 normal,extcmd > > > reboot 1 > > > read 1 > > > raid6rec 1 raid > > > raid5rec 1 raid > > > probe 1 extcmd > > > png 1 bitmap,bufio > > > play 1 > > > password_pbkdf2 1 > normal,pbkdf2,gcry_sha512,crypto > > > pbkdf2 2 crypto > > > password 1 normal,crypto > > > part_sunpc 1 > > > part_sun 1 > > > part_gpt 1 > > > part_bsd 1 part_msdos > > > part_msdos 2 > > > part_apple 1 > > > part_amiga 1 > > > part_acorn 1 > > > ohci 1 pci,boot,usb,cs5536 > > > usb 11 pci > > > ntfscomp 1 ntfs > > > ntfs 2 fshelp > > > nilfs2 1 fshelp > > > multiboot 1 mmap,relocator,boot,video > > > multiboot2 1 > acpi,mmap,relocator,boot,video > > > msdospart 1 parttool > > > parttool 3 normal > > > minix 1 > > > minix2 1 > > > minicmd 1 > > > memrw 1 extcmd > > > memdisk 1 > > > mdraid1x 1 raid > > > mdraid09 1 raid > > > lvm 1 > > > lssal 1 > > > lspci 1 pci,extcmd > > > ls 1 normal,extcmd > > > lsmmap 1 mmap > > > lsefisystab 1 > > > lsefimmap 1 > > > lsacpi 1 acpi,extcmd > > > loopback 1 extcmd > > > loadenv 1 extcmd > > > loadbios 1 pci > > > linux 1 mmap,relocator,boot,video > > > keystatus 1 extcmd > > > jpeg 1 bitmap,bufio > > > jfs 1 > > > iso9660 1 fshelp > > > iorw 1 extcmd > > > hfsplus 1 fshelp > > > hfs 1 > > > hexdump 1 extcmd > > > help 1 normal,extcmd > > > hello 1 extcmd > > > hdparm 1 extcmd > > > hashsum 1 normal,extcmd,crypto > > > halt 1 acpi > > > gzio 1 > > > gptsync 1 > > > gfxmenu 2 > > video,bitmap,normal,font,gfxterm,bitmap_scale,trig > > > trig 3 > > > gfxterm 3 > video,bitmap,extcmd,font,bitmap_scale > > > gettext 1 > > > gcry_whirlpool 1 crypto > > > gcry_twofish 1 crypto > > > gcry_tiger 1 crypto > > > gcry_sha512 2 crypto > > > gcry_sha256 1 crypto > > > gcry_sha1 1 crypto > > > gcry_serpent 1 crypto > > > gcry_seed 1 crypto > > > gcry_rmd160 1 crypto > > > gcry_rijndael 1 crypto > > > gcry_rfc2268 1 crypto > > > gcry_md5 2 crypto > > > gcry_md4 1 crypto > > > gcry_des 1 crypto > > > gcry_crc 2 crypto > > > gcry_cast5 1 crypto > > > gcry_camellia 1 crypto > > > gcry_blowfish 1 crypto > > > gcry_arcfour 1 crypto > > > font 7 video,bufio > > > fixvideo 1 pci > > > fat 1 > > > ext2 1 fshelp > > > example_functional_test 1 functional_test > > > functional_test 2 extcmd > > > efi_uga 1 video_fb,pci,video > > > efi_gop 1 video_fb,video > > > video_fb 5 video > > > echo 1 extcmd > > > dm_nv 1 raid > > > raid 6 > > > date 1 normal,datetime > > > datehook 1 normal,datetime > > > datetime 3 > > > cs5536 2 pci > > > cpio 1 > > > configfile 1 normal > > > normal 19 boot,extcmd,crypto,terminal > > > terminal 20 > > > crypto 47 > > > cmp 1 > > > chain 1 boot > > > cat 1 extcmd > > > bufio 11 > > > btrfs 1 > > > bsd 1 > > > mmap,relocator,cpuid,boot,aout,video,extcmd,serial,elf > > > elf 2 > > > serial 7 terminfo,extcmd > > > terminfo 8 extcmd > > > video 29 > > > cpuid 2 extcmd > > > relocator 6 mmap > > > blocklist 1 > > > bitmap_scale 7 bitmap > > > bitmap 17 > > > befs 1 fshelp > > > befs_be 1 fshelp > > > at_keyboard 1 boot,keylayouts > > > keylayouts 3 > > > ata_pthru 1 ata > > > ata 2 pci,scsi > > > scsi 4 > > > pci 25 > > > appleldr 1 boot > > > boot 29 > > > aout 2 > > > afs 1 fshelp > > > afs_be 1 fshelp > > > affs 1 fshelp > > > fshelp 16 > > > acpi 4 mmap,extcmd > > > extcmd 69 > > > mmap 16 > > > > > > Thanks & Regards, > > > Rajasekhar > > > > > > > > > > > > _______________________________________________ > > > Grub-devel mailing list > > > Grub-devel@gnu.org <mailto:Grub-devel@gnu.org> > <mailto:Grub-devel@gnu.org <mailto:Grub-devel@gnu.org>> > > > https://lists.gnu.org/mailman/listinfo/grub-devel > > > > > > > > > > _______________________________________________ > > Grub-devel mailing list > > Grub-devel@gnu.org <mailto:Grub-devel@gnu.org> > <mailto:Grub-devel@gnu.org <mailto:Grub-devel@gnu.org>> > > https://lists.gnu.org/mailman/listinfo/grub-devel > > > > > > > > > > [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 294 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: grub efi boot hangs 2013-04-18 15:09 ` Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-04-18 15:23 ` Rajasekhar Pulluru 2013-11-02 16:40 ` Vladimir 'φ-coder/phcoder' Serbinenko 0 siblings, 1 reply; 5+ messages in thread From: Rajasekhar Pulluru @ 2013-04-18 15:23 UTC (permalink / raw) To: Vladimir 'φ-coder/phcoder' Serbinenko Cc: The development of GRUB 2 [-- Attachment #1: Type: text/plain, Size: 15670 bytes --] Used below commands to install grub: 1) /usr/local/grub/sbin/grub-install --target=x86_64-efi --efi-directory=/boot/efi --boot-directory=/boot/efi/EFI 2) As mentioned in https://wiki.archlinux.org/index.php/GRUB2 Section: Create GRUB2 Standalone UEFI Application: /usr/local/grub/bin/grub-mkstandalone --directory="/usr/local/grub/lib/grub/x86_64-efi/" --format="x86_64-efi" --output="/boot/efi/EFI/grub/grubx64_standalone.efi" "grub.cfg" It would be helpful to know why netbsd partition is not readable though its listed in ls. Thanks & Regards, Rajasekhar On Thu, Apr 18, 2013 at 8:39 PM, Vladimir 'φ-coder/phcoder' Serbinenko < phcoder@gmail.com> wrote: > Keep list CC'ed > On 18.04.2013 17:00, Rajasekhar Pulluru wrote: > > > Hi Vladimir, > > > > As you suggested, built grub efi from latest bzr grub and installed it. > > when I execute grubx64.efi it complains "error: variable `prefix' isn't > > set." and hangs. > > > > There was grub standalone image (grubx64_standalone.efi) that got > > installed along with grubx64.efi, which when started doesn't report any > > problem and could get to grub> prompt. With this, I could boot Linux > > (from msdos partition) and could see kernel messages. > > > > We don't install such a binary. How did you do an installation? > > > But, in this grub, I couldn't access netbsd partition even though > > part_bsd module is loaded. It complains "error: no such partition." when > > I try to execute grub> ls (hd1,netbsd1)/. > > grub> ls (output of this displays (hd1,netbsd1), (hd1,msdos1) ...) > > Does it required to load any other modules other than part_bsd to read > > netbsd partiton? > > > > Appreciate your help. > > > > Thanks & Regards, > > Rajasekhar > > > > > > > > > > > > > > On Fri, Apr 12, 2013 at 9:25 PM, Vladimir 'φ-coder/phcoder' Serbinenko > > <phcoder@gmail.com <mailto:phcoder@gmail.com>> wrote: > > > > > > Keep the list CC'ed > > On 12.04.2013 17:48, Rajasekhar Pulluru wrote: > > > > > Hi Vladimir, > > > > > > I could boot linux using efi lilo and console messages are thrown > from > > > linux on booting. I see issues only with grub efi. > > > It would be really great if you could provide us a method to get > > kernel > > > messages on console with efi grub. > > > > GRUB doesn't control linux messages. It's all in parameters > > (early_printk and console) > > Also it's strange to hear a feature request from someone who doesn't > ven > > use latest version. > > > > > > > > Thanks & Regards, > > > Rajasekhar > > > > > > > > > > > > On Fri, Apr 12, 2013 at 1:56 PM, Rajasekhar Pulluru > > > <pullururajasekhar@gmail.com <mailto:pullururajasekhar@gmail.com> > > <mailto:pullururajasekhar@gmail.com > > <mailto:pullururajasekhar@gmail.com>>> wrote: > > > > > > Hi Vladimir, > > > > > > My system doesn't have video card. It only has serial console > > port. > > > Would I be able to get kernel boot messages on serial console > with > > > grub-efi? > > > > > > Thanks & Regards, > > > Rajasekhar > > > > > > > > > On Thu, Apr 11, 2013 at 8:43 PM, Vladimir 'φ-coder/phcoder' > > > Serbinenko <phcoder@gmail.com <mailto:phcoder@gmail.com> > > <mailto:phcoder@gmail.com <mailto:phcoder@gmail.com>>> wrote: > > > > > > On 11.04.2013 16:15, Rajasekhar Pulluru wrote: > > > > > > > All, > > > > > > > > Booting netbsd & linux kernel from grub-efi-x86_64 > hangs. No > > > messages > > > > are seen in console after grub boot command . > > > > > > > > fs0:\efi\boot>bootx86_64.efi > > > > /* skipped grub header */ > > > > grub> set root="(hd0,netbsd1)" > > > > grub> knetbsd (hd0,netbsd1)/netbsd --serial=0,9600 > > > > grub> boot > > > > > > > > > > > > Tried booting 32bit and 64bit kernel, both of them > doesn't > > > boot. Grub > > > > version is 1.99, haven't tried grub2. When grub is built > for > > > i386-pc > > > > target, it boots the same kernel properly and kernel > console > > > messages > > > > are seen. > > > > > > > > > > Try 2.00 or bzr. > > > > > > > I tried below steps after checking on forums, but that > > didn't > > > help. > > > > insmod efi_gop #already loaded > > > > insmod efi_uga #already loaded > > > > insmod font #already loaded > > > > > > > > if loadfont ${prefix}/unicode.pf2 > > > > then > > > > insmod gfxterm > > > > set gfxmode=auto > > > > set gfxpayload=keep > > > > terminal_output gfxterm > > > > fi > > > > > > > > Would like to know if console used for i386-pc and > > x86_64-efi are > > > > different? > > > > > > on efi default and only option is gfx console. On i386-pc > > > default is VGA > > > text > > > > > > > Would like to get help to boot kernel successfully with > efi. > > > Below is > > > > the list of modules loaded in grub. > > > > > > > > grub> lsmod > > > > Name Ref Count Dependencies > > > > zfsinfo 1 zfs > > > > zfs 2 > > > > xzio 1 gcry_crc > > > > xnu_uuid 1 gcry_md5 > > > > xnu 1 > > > > relocator,bitmap,boot,video,normal,extcmd,bitmap_scale > > > > xfs 1 fshelp > > > > videotest 1 gfxmenu,video,font > > > > videoinfo 1 video > > > > video_cirrus 1 video_fb,pci,video > > > > video_bochs 1 video_fb,pci,video > > > > usbtest 1 usb > > > > usbserial_pl2303 1 > > > usbserial_common,usb,serial > > > > usbserial_ftdi 1 > usbserial_common,usb,serial > > > > usbserial_common 3 usb,serial > > > > usbms 1 usb,scsi > > > > usb_keyboard 1 usb,keylayouts > > > > uhci 1 pci,usb > > > > ufs2 1 > > > > ufs1 1 > > > > udf 1 fshelp > > > > true 1 > > > > tga 1 bitmap,bufio > > > > test 1 > > > > testload 1 > > > > test_blockarg 1 normal,extcmd > > > > tar 1 > > > > sleep 1 normal,extcmd > > > > sfs 1 fshelp > > > > setpci 1 pci,extcmd > > > > setjmp 1 > > > > search 1 > > > search_label,extcmd,search_fs_file,search_fs_uuid > > > > search_label 2 > > > > search_fs_uuid 2 > > > > search_fs_file 2 > > > > reiserfs 1 fshelp > > > > regexp 1 normal,extcmd > > > > reboot 1 > > > > read 1 > > > > raid6rec 1 raid > > > > raid5rec 1 raid > > > > probe 1 extcmd > > > > png 1 bitmap,bufio > > > > play 1 > > > > password_pbkdf2 1 > > normal,pbkdf2,gcry_sha512,crypto > > > > pbkdf2 2 crypto > > > > password 1 normal,crypto > > > > part_sunpc 1 > > > > part_sun 1 > > > > part_gpt 1 > > > > part_bsd 1 part_msdos > > > > part_msdos 2 > > > > part_apple 1 > > > > part_amiga 1 > > > > part_acorn 1 > > > > ohci 1 pci,boot,usb,cs5536 > > > > usb 11 pci > > > > ntfscomp 1 ntfs > > > > ntfs 2 fshelp > > > > nilfs2 1 fshelp > > > > multiboot 1 mmap,relocator,boot,video > > > > multiboot2 1 > > acpi,mmap,relocator,boot,video > > > > msdospart 1 parttool > > > > parttool 3 normal > > > > minix 1 > > > > minix2 1 > > > > minicmd 1 > > > > memrw 1 extcmd > > > > memdisk 1 > > > > mdraid1x 1 raid > > > > mdraid09 1 raid > > > > lvm 1 > > > > lssal 1 > > > > lspci 1 pci,extcmd > > > > ls 1 normal,extcmd > > > > lsmmap 1 mmap > > > > lsefisystab 1 > > > > lsefimmap 1 > > > > lsacpi 1 acpi,extcmd > > > > loopback 1 extcmd > > > > loadenv 1 extcmd > > > > loadbios 1 pci > > > > linux 1 mmap,relocator,boot,video > > > > keystatus 1 extcmd > > > > jpeg 1 bitmap,bufio > > > > jfs 1 > > > > iso9660 1 fshelp > > > > iorw 1 extcmd > > > > hfsplus 1 fshelp > > > > hfs 1 > > > > hexdump 1 extcmd > > > > help 1 normal,extcmd > > > > hello 1 extcmd > > > > hdparm 1 extcmd > > > > hashsum 1 normal,extcmd,crypto > > > > halt 1 acpi > > > > gzio 1 > > > > gptsync 1 > > > > gfxmenu 2 > > > video,bitmap,normal,font,gfxterm,bitmap_scale,trig > > > > trig 3 > > > > gfxterm 3 > > video,bitmap,extcmd,font,bitmap_scale > > > > gettext 1 > > > > gcry_whirlpool 1 crypto > > > > gcry_twofish 1 crypto > > > > gcry_tiger 1 crypto > > > > gcry_sha512 2 crypto > > > > gcry_sha256 1 crypto > > > > gcry_sha1 1 crypto > > > > gcry_serpent 1 crypto > > > > gcry_seed 1 crypto > > > > gcry_rmd160 1 crypto > > > > gcry_rijndael 1 crypto > > > > gcry_rfc2268 1 crypto > > > > gcry_md5 2 crypto > > > > gcry_md4 1 crypto > > > > gcry_des 1 crypto > > > > gcry_crc 2 crypto > > > > gcry_cast5 1 crypto > > > > gcry_camellia 1 crypto > > > > gcry_blowfish 1 crypto > > > > gcry_arcfour 1 crypto > > > > font 7 video,bufio > > > > fixvideo 1 pci > > > > fat 1 > > > > ext2 1 fshelp > > > > example_functional_test 1 functional_test > > > > functional_test 2 extcmd > > > > efi_uga 1 video_fb,pci,video > > > > efi_gop 1 video_fb,video > > > > video_fb 5 video > > > > echo 1 extcmd > > > > dm_nv 1 raid > > > > raid 6 > > > > date 1 normal,datetime > > > > datehook 1 normal,datetime > > > > datetime 3 > > > > cs5536 2 pci > > > > cpio 1 > > > > configfile 1 normal > > > > normal 19 boot,extcmd,crypto,terminal > > > > terminal 20 > > > > crypto 47 > > > > cmp 1 > > > > chain 1 boot > > > > cat 1 extcmd > > > > bufio 11 > > > > btrfs 1 > > > > bsd 1 > > > > mmap,relocator,cpuid,boot,aout,video,extcmd,serial,elf > > > > elf 2 > > > > serial 7 terminfo,extcmd > > > > terminfo 8 extcmd > > > > video 29 > > > > cpuid 2 extcmd > > > > relocator 6 mmap > > > > blocklist 1 > > > > bitmap_scale 7 bitmap > > > > bitmap 17 > > > > befs 1 fshelp > > > > befs_be 1 fshelp > > > > at_keyboard 1 boot,keylayouts > > > > keylayouts 3 > > > > ata_pthru 1 ata > > > > ata 2 pci,scsi > > > > scsi 4 > > > > pci 25 > > > > appleldr 1 boot > > > > boot 29 > > > > aout 2 > > > > afs 1 fshelp > > > > afs_be 1 fshelp > > > > affs 1 fshelp > > > > fshelp 16 > > > > acpi 4 mmap,extcmd > > > > extcmd 69 > > > > mmap 16 > > > > > > > > Thanks & Regards, > > > > Rajasekhar > > > > > > > > > > > > > > > > _______________________________________________ > > > > Grub-devel mailing list > > > > Grub-devel@gnu.org <mailto:Grub-devel@gnu.org> > > <mailto:Grub-devel@gnu.org <mailto:Grub-devel@gnu.org>> > > > > https://lists.gnu.org/mailman/listinfo/grub-devel > > > > > > > > > > > > > > > _______________________________________________ > > > Grub-devel mailing list > > > Grub-devel@gnu.org <mailto:Grub-devel@gnu.org> > > <mailto:Grub-devel@gnu.org <mailto:Grub-devel@gnu.org>> > > > https://lists.gnu.org/mailman/listinfo/grub-devel > > > > > > > > > > > > > > > > > > > > > [-- Attachment #2: Type: text/html, Size: 20742 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: grub efi boot hangs 2013-04-18 15:23 ` Rajasekhar Pulluru @ 2013-11-02 16:40 ` Vladimir 'φ-coder/phcoder' Serbinenko 0 siblings, 0 replies; 5+ messages in thread From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-11-02 16:40 UTC (permalink / raw) To: Rajasekhar Pulluru; +Cc: The development of GRUB 2 [-- Attachment #1: Type: text/plain, Size: 675 bytes --] On 18.04.2013 17:23, Rajasekhar Pulluru wrote: > Used below commands to install grub: > > 1) > /usr/local/grub/sbin/grub-install --target=x86_64-efi > --efi-directory=/boot/efi --boot-directory=/boot/efi/EFI > > 2) As mentioned in https://wiki.archlinux.org/index.php/GRUB2 Section: > Create GRUB2 Standalone UEFI Application: > /usr/local/grub/bin/grub-mkstandalone > --directory="/usr/local/grub/lib/grub/x86_64-efi/" > --format="x86_64-efi" > --output="/boot/efi/EFI/grub/grubx64_standalone.efi" "grub.cfg" > > It would be helpful to know why netbsd partition is not readable though > its listed in ls. > Does ls -l shows its filesystem and UUID? [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 291 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-11-02 16:40 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-04-11 14:15 grub efi boot hangs Rajasekhar Pulluru 2013-04-11 15:13 ` Vladimir 'φ-coder/phcoder' Serbinenko [not found] ` <CAGA5_H4puAjg4uSFio0NuXpifYg1+_tAFpSxRKU2+t+FFQcLYA@mail.gmail.com> [not found] ` <CAGA5_H4db1MXxHAj8SjHm9U1tDJoQCy5V7T48stsoGxCGmd92w@mail.gmail.com> [not found] ` <51682E73.70502@gmail.com> [not found] ` <CAGA5_H45OL2hZ2HG+T-AYbu87UtG9FFGzjeKUp3Cy+ey+hFzGg@mail.gmail.com> 2013-04-18 15:09 ` Vladimir 'φ-coder/phcoder' Serbinenko 2013-04-18 15:23 ` Rajasekhar Pulluru 2013-11-02 16:40 ` Vladimir 'φ-coder/phcoder' Serbinenko
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).