Bootargs in RPI not working

2022-12-21 Thread Sai Kiran Kumar Reddy Y
Hi,

I have U-Boot 2022.10 version. I am trying to boot Raspberry Pi(Model 3B+)
using U-Boot. In the U-Boot terminal when I set kernel command-line
arguments, using "setenv bootargs root=/dev/mmblk0p3 ro rootwait
console=serial0,115200 console=tty1", the Kernel is not loaded. Following
are the messages I get on the U-boot terminal

" EFI stub: Booting Linux Kernel...
EFI stub: EFI_RING_PROTOCOL unavailable
EFI stub: Using DTB from configuration table
EFI stub: exiting boot services..."

When I do not add any bootargs variables to U-Boot environment, Pi boots
with Linux. Am I missing something? I am not able to figure out the reason
for this. Could you help me with this?



-- 
Regards,
Sai Kiran.


Create a Virtual NVME Disk

2022-04-06 Thread Sai Kiran Kumar Reddy Y
Hi,

I am Sai Kiran. I have built qemu from source on a Linux based machine. I
want to create a virtual NVME disk on my system, using QEMU. The
documentation I have seen in QEMU so far discusses providing a virtual nvme
disk to a VM. I do not want to give the virtual nvme to a VM. I want it on
my host. In other words, I want to see the virtual NVME disk under /dev
folder.

I could not create the virtual nvme disk using the qemu-img command. I have
just started working with QEMU, to create virtual disks. I am not quite
sure how to create a virtual nvme disk on the host itself, using qemu. It
would be of great help to me if someone could show me how to do this.

Thanks in advance for your help and support.

-- 
Regards,
Sai Kiran.


Virt-Viewer libspice-client-glib dependency

2022-02-16 Thread Sai Kiran Kumar Reddy
Hi,

I am Sai Kiran. I am trying to build virt-viewer-11.0, on my LInux From
Scratch(LFS) machine. I have installed all the dependencies of virt-viewer.
I have built the virt-viewer, with spice enabled. When I run the
virt-viewer command, I get the following error
"libspice-client-glib-2.0.so.8: cannot open shared object file: No such
file or directory. " But the shared object is present in "/usr/lib64".

I am not sure what the issue is. It would be of great help to me if someone
could help me out here.

Thanks in advance.

-- 
Regards,
Sai Kiran.


Re: Installing Gstreamer for SPICE

2022-02-15 Thread Sai Kiran Kumar Reddy
Hi Victor,

Thanks for the info.

On Tue, Feb 15, 2022 at 8:33 PM Victor Toso  wrote:

> On Tue, Feb 15, 2022 at 04:07:50PM +0530, Sai Kiran Kumar Reddy wrote:
> > Hi,
> >
> > I am Sai Kiran. I am trying to install virt-viewer on my Linux
> > From Scratch(LFS) machine. I see that one of the dependencies
> > is Gstreamer. I have built and installed Gstreamer. When I
> > compile spice-gtk, I get the error saying "Dependency
> > "gstreamer-app-1.0" not found". I am not sure if this is part
> > of gstreamer or it is a different one. I am not able to find
> > the source code for gstreamer-app-1.0.
> >
> > Could someone help me with this?
>
> The build system checks if gstreamer-app-1.0.pc is available. In
> fedora, this is provided by gstreamer1-plugins-base-devel
> package. I'm not familiar with Scratch but if you have compiled
> and installed gstreamer yourself, it might be that you only need
> to add the folder with gstreamer's .pc files to PKG_CONFIG_PATH
> in order to be recognized by meson.
>

I have looked at all .pc files in my system. I have included the
appropriate paths in PKG_CONFIG_PATH. I am not able to find
gstreamer-app-1.0.pc in my system. Could it be some problem with my
gstreamer installation? I had resolved all the dependencies and installed
it properly, though.


> > Thanks in advance for the help and support.
>
> Just so you know, gstreamer is mainly used for audio decoding in
> spice-gtk.
>
> Cheers,
> Victor
>


-- 
Regards,
Sai Kiran.


Installing Gstreamer for SPICE

2022-02-15 Thread Sai Kiran Kumar Reddy
Hi,

I am Sai Kiran. I am trying to install virt-viewer on my Linux From
Scratch(LFS) machine. I see that one of the dependencies is Gstreamer. I
have built and installed Gstreamer. When I compile spice-gtk, I get the
error saying "Dependency "gstreamer-app-1.0" not found". I am not sure if
this is part of gstreamer or it is a different one. I am not able to find
the source code for gstreamer-app-1.0.

Could someone help me with this?

Thanks in advance for the help and support.

-- 
Regards,
Sai Kiran.


Re: libvirtd daemon missing in LFS

2022-02-15 Thread Sai Kiran Kumar Reddy
Hi Michal,

I am able to build qemu with the options you have suggested. It indeed is a
qemu issue. Thank you for pointing that out.

On Mon, Feb 14, 2022 at 3:51 PM Michal Prívozník 
wrote:

> On 2/14/22 10:09, Sai Kiran Kumar Reddy wrote:
> > Hi Peter,
> >
> > Thanks for your inputs. I have looked at all the dependencies and built
> > libvirt with the appropriate dependencies enabled. I am able to run
> > virt-manager also, without any errors. I am trying to create a VM using
> > virsh. I get an error saying "domain configuration does not support
> > video mode qxl". Could you please let me know if it is libvirt related
> > error or qemu related one?
>
> This is QEMU related and your qemu was probably build without SPICE
> support:
>
>   https://www.spice-space.org/
>
> pass --enable-spice to QEMU ./configure script. Alternatively, Gentoo
> has all these dependencies recorded and maintained. So it's easier to
> install.
>
> Michal
>
>

-- 
Regards,
Sai Kiran.


Re: libvirtd daemon missing in LFS

2022-02-14 Thread Sai Kiran Kumar Reddy
Hi Peter,

Thanks for your inputs. I have looked at all the dependencies and built
libvirt with the appropriate dependencies enabled. I am able to run
virt-manager also, without any errors. I am trying to create a VM using
virsh. I get an error saying "domain configuration does not support video
mode qxl". Could you please let me know if it is libvirt related error or
qemu related one?

On Thu, Feb 10, 2022 at 1:50 PM Peter Krempa  wrote:

> On Thu, Feb 10, 2022 at 11:39:17 +0530, Sai Kiran Kumar Reddy wrote:
> > Hi,
> >
> > There was some issue with pkg-config-path. I have fixed it. I see that it
> > looks for wireshark and other dependencies. I get an error saying "remote
> > driver is required for libvirtd daemon". I am not sure what this error
>
> So you are missing some of the dependencies needed by the remote driver
> which is needed for the libvirtd daemon. Similarly to what I've
> suggested before can be used for any other option.
>
> To list full configuration of the project along with options that were
> selected you can run 'meson configure' from the builddir and it will
> print all options:
>
> $ meson configure
>
> [... snipped ... ]
>
>   Project optionsCurrent ValuePossible Values
> Description
>   -------
> ---
>   apparmor   auto [enabled,
> disabled, auto]apparmor support
>   apparmor_profiles  auto [enabled,
> disabled, auto]install apparmor profiles
>   attr   auto [enabled,
> disabled, auto]attr support
>   audit  auto [enabled,
> disabled, auto]audit support
>   bash_completionauto [enabled,
> disabled, auto]bash-completion support
>   bash_completion_dir
> directory containing bash completion scripts
>   blkid  auto [enabled,
> disabled, auto]blkid support
>   capng  auto [enabled,
> disabled, auto]cap-ng support
>   ch_group
>  groupname to run Cloud-Hypervisor system instance as
>   ch_user
> username to run Cloud-Hypervisor system instance as
>   chrdev_lock_files
> location for UUCP style lock files for character devices
>
>  (leave empty for default paths on some platforms)
>   curl   auto [enabled,
> disabled, auto]curl support
>   docdir
>  documentation installation directory
>   docs   auto [enabled,
> disabled, auto]whether to generate documentation
>   driver_bhyve   auto [enabled,
> disabled, auto]bhyve driver
>   driver_ch  auto [enabled,
> disabled, auto]Cloud-Hypervisor driver
>   driver_esx auto [enabled,
> disabled, auto]esx driver
>   driver_hyperv  auto [enabled,
> disabled, auto]Hyper-V driver
>   driver_interface   auto [enabled,
> disabled, auto]host interface driver
>   driver_libvirtdauto [enabled,
> disabled, auto]libvirtd driver
>   driver_libxl   auto [enabled,
> disabled, auto]libxenlight driver
>   driver_lxc auto [enabled,
> disabled, auto]Linux Container driver
>   driver_network auto [enabled,
> disabled, auto]virtual network driver
>   driver_openvz  auto [enabled,
> disabled, auto]OpenVZ driver
>   driver_qemuauto [enabled,
> disabled, auto]QEMU/KVM driver
>   driver_remote  auto [enabled,
> disabled, auto]remote driver
>   driver_secrets auto [enabled,
> disabled, auto]local secrets management driver
>   driver_testauto [enabled,
> disabled, auto]test driver
>   driver_vboxauto [enabled,
> disabled, auto]VirtualBox XPCOMC driver
>   driver_vmware  auto [enabled,
> disabled, auto]VMware driver
>   driver_vz  auto [enabled,
> disabled, auto]Virtuozzo driver
>   dtrace   

Re: libvirtd daemon missing in LFS

2022-02-09 Thread Sai Kiran Kumar Reddy
Hi,

There was some issue with pkg-config-path. I have fixed it. I see that it
looks for wireshark and other dependencies. I get an error saying "remote
driver is required for libvirtd daemon". I am not sure what this error
means. Does it mean that I have to install wireshark or is it looking for
something else. Could you please help me out here.

On Thu, Feb 10, 2022 at 9:57 AM Sai Kiran Kumar Reddy 
wrote:

> Hi,
>
> Thanks for your inputs. I have compiled with -Ddriver_libvirtd=enabled
> option. As you have mentioned, it shows missing dependencies. Let me
> install them and try to get libvirtd up and running.
>
> Once again, thanks for your help.
>
> On Wed, Feb 9, 2022 at 5:24 PM Peter Krempa  wrote:
>
>> On Wed, Feb 09, 2022 at 16:34:43 +0530, Sai Kiran Kumar Reddy wrote:
>> > Hi,
>> >
>> > I am Sai Kiran. I am trying to build libvirt from source on my Linux
>> From
>> > Scratch(LFS) system. I have successfully installed libvirt and its
>> > dependencies. When I start virt-manager, there is a prompt in GUI saying
>> > that "libvirtd service is not installed".  I also do not see any
>> libvirtd
>> > in my system. I would like to install the libvirtd service(build from
>> > source). But I am not able to find the source code for it and also, I am
>> > not sure about the build process for the daemon. Could you please help
>> me
>> > out here.
>>
>> The libvirt daemon is integral part of the libvirt project so the
>> sources you used to build the library also contain the daemon sources.
>>
>> In your instance it's most likely that you are missing a dependancy and
>> libvirtd was not auto-enabled. To force-enable it configure libvirt with
>>
>>  '-Ddriver_libvirtd=enabled'
>>
>> which should report what you are missing. Since you are using LFS you
>> need to ensure that you have all deps yourself.
>>
>>
>
> --
> Regards,
> Sai Kiran.
>


-- 
Regards,
Sai Kiran.


Re: libvirtd daemon missing in LFS

2022-02-09 Thread Sai Kiran Kumar Reddy
Hi,

Thanks for your inputs. I have compiled with -Ddriver_libvirtd=enabled
option. As you have mentioned, it shows missing dependencies. Let me
install them and try to get libvirtd up and running.

Once again, thanks for your help.

On Wed, Feb 9, 2022 at 5:24 PM Peter Krempa  wrote:

> On Wed, Feb 09, 2022 at 16:34:43 +0530, Sai Kiran Kumar Reddy wrote:
> > Hi,
> >
> > I am Sai Kiran. I am trying to build libvirt from source on my Linux From
> > Scratch(LFS) system. I have successfully installed libvirt and its
> > dependencies. When I start virt-manager, there is a prompt in GUI saying
> > that "libvirtd service is not installed".  I also do not see any libvirtd
> > in my system. I would like to install the libvirtd service(build from
> > source). But I am not able to find the source code for it and also, I am
> > not sure about the build process for the daemon. Could you please help me
> > out here.
>
> The libvirt daemon is integral part of the libvirt project so the
> sources you used to build the library also contain the daemon sources.
>
> In your instance it's most likely that you are missing a dependancy and
> libvirtd was not auto-enabled. To force-enable it configure libvirt with
>
>  '-Ddriver_libvirtd=enabled'
>
> which should report what you are missing. Since you are using LFS you
> need to ensure that you have all deps yourself.
>
>

-- 
Regards,
Sai Kiran.


libvirtd daemon missing in LFS

2022-02-09 Thread Sai Kiran Kumar Reddy
Hi,

I am Sai Kiran. I am trying to build libvirt from source on my Linux From
Scratch(LFS) system. I have successfully installed libvirt and its
dependencies. When I start virt-manager, there is a prompt in GUI saying
that "libvirtd service is not installed".  I also do not see any libvirtd
in my system. I would like to install the libvirtd service(build from
source). But I am not able to find the source code for it and also, I am
not sure about the build process for the daemon. Could you please help me
out here.

Thanks in advance for your time and support.

-- 
Regards,
Sai Kiran.


Re: Xen on LFS

2021-12-07 Thread Sai Kiran Kumar Reddy
Hi,

I have posted my query in xen-users mailing list one week ago. I was not
able to get any response from the community. Could you please look into it
and help me out here? I am trying to install xen(from source code), on
LInux from Scratch build system. I just want to know the list of xorg
packages, to be installed for Xen.

Thanks in advance for your time and support.

Regards,
Sai Kiran.

On Tue, Nov 30, 2021 at 12:58 PM Sai Kiran Kumar Reddy 
wrote:

> Ok, thanks for the reply. Will do that.
>
> On Tue, Nov 30, 2021 at 12:52 PM Jan Beulich  wrote:
>
>> On 30.11.2021 07:50, Sai Kiran Kumar Reddy wrote:
>> > I am Sai Kiran. I am currently working on installing xen on Linux From
>> > Scratch(LFS) system. One of the dependencies of xen is "xorg" package.
>> This
>> > package is present in Beyond
>> > <https://www.linuxfromscratch.org/blfs/view/svn/x/xorg7.html> Linux
>> From
>> > Scratch(BLFS) <
>> https://www.linuxfromscratch.org/blfs/view/svn/x/xorg7.html>
>> > manual. But, there are a lot of packages to be installed. I am not sure
>> if
>> > all these packages are required for Xen. Also, is xorg a must, to build
>> and
>> > install xen?
>> >
>> > Kindly help me out here. Thanks in advance, for the support.
>>
>> Thanks for your interest, but I'm afraid your question isn't fitting
>> xen-devel.
>> Please raise it on xen-users.
>>
>> Jan
>>
>>


Re: Xen on LFS

2021-11-29 Thread Sai Kiran Kumar Reddy
Ok, thanks for the reply. Will do that.

On Tue, Nov 30, 2021 at 12:52 PM Jan Beulich  wrote:

> On 30.11.2021 07:50, Sai Kiran Kumar Reddy wrote:
> > I am Sai Kiran. I am currently working on installing xen on Linux From
> > Scratch(LFS) system. One of the dependencies of xen is "xorg" package.
> This
> > package is present in Beyond
> > <https://www.linuxfromscratch.org/blfs/view/svn/x/xorg7.html> Linux From
> > Scratch(BLFS) <
> https://www.linuxfromscratch.org/blfs/view/svn/x/xorg7.html>
> > manual. But, there are a lot of packages to be installed. I am not sure
> if
> > all these packages are required for Xen. Also, is xorg a must, to build
> and
> > install xen?
> >
> > Kindly help me out here. Thanks in advance, for the support.
>
> Thanks for your interest, but I'm afraid your question isn't fitting
> xen-devel.
> Please raise it on xen-users.
>
> Jan
>
>


Xen on LFS

2021-11-29 Thread Sai Kiran Kumar Reddy
Hi,

I am Sai Kiran. I am currently working on installing xen on Linux From
Scratch(LFS) system. One of the dependencies of xen is "xorg" package. This
package is present in Beyond
 Linux From
Scratch(BLFS) 
manual. But, there are a lot of packages to be installed. I am not sure if
all these packages are required for Xen. Also, is xorg a must, to build and
install xen?

Kindly help me out here. Thanks in advance, for the support.

Regards,
Sai Kiran.


Re: Xen Booting Problem on ARM Machine

2021-10-19 Thread Sai Kiran Kumar Reddy Y
Hi,

Thanks for your inputs. As you have mentioned, I tried to boot Xen directly
from EFI, thereby skipping GRUB. I made sure that kernel, xen.cfg and
ramdisk are on the first FAT partition. I still get "All 128 bootinfo
membanks exhausted error". The following link has my grub.cfg config. file
and also the snapshot of the error.

Link:
https://drive.google.com/drive/folders/1o7WT5oB7UsaZBeY5m4mWSidT5NalzvvJ?usp=sharing

I feel that even with EFI bootloader, there's some issue with bootinfo mem
banks and it maynot be a bug in GRUB. Let me know your thoughts on this.

Thanks in advance,

Regards,
Sai Kiran.

On Fri, Oct 15, 2021 at 4:19 AM Stefano Stabellini 
wrote:

> On Thu, 14 Oct 2021, Sai Kiran Kumar Reddy Y wrote:
> > On Thu, Oct 14, 2021 at 5:45 AM Stefano Stabellini <
> sstabell...@kernel.org> wrote:
> >       On Wed, 13 Oct 2021, Sai Kiran Kumar Reddy Y wrote:
> >   > On Fri, Oct 1, 2021 at 8:17 AM Stefano Stabellini <
> sstabell...@kernel.org> wrote:
> >   >   Yes there are other ways but without serial is going to be
> difficult
> >   >   because you are not going to see anything until everything
> works.
> >   >
> >   >   How do you boot Xen and Dom0 exactly from EDK2? Are you
> using GRUB or
> >   >   loading Xen directly from the EDK2 prompt? Please provide
> as many
> >   >   details as possible so that I might be able to spot any
> errors.
> >   >
> >   > I am using GRUB to load Xen. In the GRUB menu, I see two
> options.
> >   > Option 1: Debian 11 with latest Linux Kernel
> >   > Option 2: Debian 11(with Xen hypervisor) with latest Kernel
> >   >
> >   >   Can you provide the Device Tree you are using? If you are
> not passing
> >   >   any Device Tree  binary explicitely, then it might be
> passed
> >   >   automatically from EDK2 to Linux/Xen. In that case, just
> boot from Linux
> >   >   then do the following to retrieve the Device Tree:
> >   >
> >   >   dtc -I fs -O dts /proc/device-tree > host.dts
> >   >
> >   >   Then please attach host.dts to this email thread.
> >   >
> >   > Yeah, you are right. It looks like LInux is booting from ACPI.
> In the bootloader menu, "Automatic ACPI configuration" is
> >   disabled. So, I
> >   > thought that Linux may be booting from Device Tree. I have tried
> the "dtc" command you mentioned. But it looks like there's
> >   no device-tree
> >   > under "/proc". I also tried to get DT info, from
> "/sys/firmware/devicetree/base" . But, there's no info. under devicetree
> >   folder. I am not
> >   > quite sure how to get the DT info, if the Linux is booting from
> ACPI. I am attaching .dsl files, that contain the acpi info.
> >
> >   OK, so it is pretty clear that even if "Automatic ACPI
> configuration" is
> >   disabled, it is still booting with ACPI.
> >
> >
> >   >   Also for your information it looks like Linux actually
> booted from ACPI,
> >   >   not from Device Tree, as you can see from all the "ACPI"
> messages in the
> >   >   kernel logs.
> >   >
> >   >   If you need to boot from ACPI, then you need to enable
> ACPI support in
> >   >   Xen, which is disabled by default. You can do that using
> make
> >   >   menuconfig.
> >   >
> >   > In the make menuconfig of Xen, I do not see any option to enable
> ACPI.
> >
> >   You definitely need to enable ACPI support in Xen, if you are
> booting
> >   from ACPI, otherwise nothing is going to work.
> >
> >   On the latest staging (https://gitlab.com/xen-project/xen) you can
> >   enable ACPI as follows:
> >
> >
> >   # export CROSS_COMPILE=/path/to/cross-compiler
> >   # export XEN_TARGET_ARCH=arm64
> >   # cd xen.git/xen
> >   # make menuconfig
> >   #   --> Configure UNSUPPORTED features
> >   #   --> Architecture Features --> ACPI
> >   # make
> >
> >
> > Hi
> >
> > I got the code from Gitlab and installed it, enabling ACPI support in
> Xen. As I reboot the system, I am able to see 2 options like before.
> > Option 1: Debian with latest kernel
> > Option 2 : Debian with Xen
> >
> > I have selected Option 2. I did not see any bootinfo membanks error.
> Howev

Re: Xen Booting Problem on ARM Machine

2021-10-14 Thread Sai Kiran Kumar Reddy Y
On Thu, Oct 14, 2021 at 5:45 AM Stefano Stabellini 
wrote:

> On Wed, 13 Oct 2021, Sai Kiran Kumar Reddy Y wrote:
> > On Fri, Oct 1, 2021 at 8:17 AM Stefano Stabellini <
> sstabell...@kernel.org> wrote:
> >   Yes there are other ways but without serial is going to be
> difficult
> >   because you are not going to see anything until everything works.
> >
> >   How do you boot Xen and Dom0 exactly from EDK2? Are you using GRUB
> or
> >   loading Xen directly from the EDK2 prompt? Please provide as many
> >   details as possible so that I might be able to spot any errors.
> >
> > I am using GRUB to load Xen. In the GRUB menu, I see two options.
> > Option 1: Debian 11 with latest Linux Kernel
> > Option 2: Debian 11(with Xen hypervisor) with latest Kernel
> >
> >   Can you provide the Device Tree you are using? If you are not
> passing
> >   any Device Tree  binary explicitely, then it might be passed
> >   automatically from EDK2 to Linux/Xen. In that case, just boot from
> Linux
> >   then do the following to retrieve the Device Tree:
> >
> >   dtc -I fs -O dts /proc/device-tree > host.dts
> >
> >   Then please attach host.dts to this email thread.
> >
> > Yeah, you are right. It looks like LInux is booting from ACPI. In the
> bootloader menu, "Automatic ACPI configuration" is disabled. So, I
> > thought that Linux may be booting from Device Tree. I have tried the
> "dtc" command you mentioned. But it looks like there's no device-tree
> > under "/proc". I also tried to get DT info, from
> "/sys/firmware/devicetree/base" . But, there's no info. under devicetree
> folder. I am not
> > quite sure how to get the DT info, if the Linux is booting from ACPI. I
> am attaching .dsl files, that contain the acpi info.
>
> OK, so it is pretty clear that even if "Automatic ACPI configuration" is
> disabled, it is still booting with ACPI.
>
>
> >   Also for your information it looks like Linux actually booted from
> ACPI,
> >   not from Device Tree, as you can see from all the "ACPI" messages
> in the
> >   kernel logs.
> >
> >   If you need to boot from ACPI, then you need to enable ACPI
> support in
> >   Xen, which is disabled by default. You can do that using make
> >   menuconfig.
> >
> > In the make menuconfig of Xen, I do not see any option to enable ACPI.
>
> You definitely need to enable ACPI support in Xen, if you are booting
> from ACPI, otherwise nothing is going to work.
>
> On the latest staging (https://gitlab.com/xen-project/xen) you can
> enable ACPI as follows:
>
>
> # export CROSS_COMPILE=/path/to/cross-compiler
> # export XEN_TARGET_ARCH=arm64
> # cd xen.git/xen
> # make menuconfig
> #   --> Configure UNSUPPORTED features
> #   --> Architecture Features --> ACPI
> # make
>

Hi

I got the code from Gitlab and installed it, enabling ACPI support in Xen.
As I reboot the system, I am able to see 2 options like before.
Option 1: Debian with latest kernel
Option 2 : Debian with Xen

I have selected Option 2. I did not see any bootinfo membanks error.
However, there is the following error in GRUB(just for a fraction of a
second).

"Using modules provided by boot loader in FDT
  Xen 4.16-unstable (c/s Wed Oct 13 13 13:28:43 2021 -0700 git:4cfab4425d)
EFI Loader
  Couldn't obtain the File System Protocol Interface: ErrCode:
0x8002"

I have enabled earlyprintk. I do not see any messages in the Serial. There
seems to be some problem with the gitlab version of Xen.



> Cheers,
>
> Stefano
>
>
> >   On Thu, 30 Sep 2021, Sai Kiran Kumar Reddy Y wrote:
> >   > Hi,
> >   > Sorry about the delay. We have been trying to access the serial
> of the machine. Tried with couple of JTAG connectors. There's
> >   still no
> >   > debug messages on the serial. Is there any other way of figuring
> this out?
> >   >
> >   > On Wed, Sep 15, 2021, 7:02 AM Stefano Stabellini <
> sstabell...@kernel.org> wrote:
> >   >   Something is off. When you enabled earlyprintk in Xen, you
> should see
> >   >   something like this at boot time:
> >   >   https://marc.info/?l=xen-devel=158829968025334
> >   >
> >   >   All the Xen logs starting with "(XEN)" on the serial. Do
> you have access
> >   >   to the serial of the machine? Without it, it is going to
> be hard to
> >   >       debug.
> >  

Re: Xen Booting Problem on ARM Machine

2021-10-13 Thread Sai Kiran Kumar Reddy Y
Hi,

I am resending the mail as the attachment size is more. Here is the link to
the attachments:
https://drive.google.com/drive/folders/1daloarRFaopg8vf-6Uwq-pRd9ki0EXm8?usp=sharing


On Wed, Oct 13, 2021 at 5:30 PM Sai Kiran Kumar Reddy Y <
ysaikiran1...@gmail.com> wrote:

>
>
> On Fri, Oct 1, 2021 at 8:17 AM Stefano Stabellini 
> wrote:
>
>> Yes there are other ways but without serial is going to be difficult
>> because you are not going to see anything until everything works.
>>
>> How do you boot Xen and Dom0 exactly from EDK2? Are you using GRUB or
>> loading Xen directly from the EDK2 prompt? Please provide as many
>> details as possible so that I might be able to spot any errors.
>>
>  I am using GRUB to load Xen. In the GRUB menu, I see two options.
Option 1: Debian 11 with latest Linux Kernel
Option 2: Debian 11(with Xen hypervisor) with latest Kernel

>
>
>> Can you provide the Device Tree you are using? If you are not passing
>> any Device Tree  binary explicitely, then it might be passed
>> automatically from EDK2 to Linux/Xen. In that case, just boot from Linux
>> then do the following to retrieve the Device Tree:
>>
>> dtc -I fs -O dts /proc/device-tree > host.dts
>>
>> Then please attach host.dts to this email thread.
>>
>> Yeah, you are right. It looks like LInux is booting from ACPI. In the
bootloader menu, "Automatic ACPI configuration" is disabled. So, I thought
that Linux may be booting from Device Tree. I have tried the "dtc" command
you mentioned. But it looks like there's no device-tree under "/proc". I
also tried to get DT info, from "/sys/firmware/devicetree/base" . But,
there's no info. under devicetree folder. I am not quite sure how to get
the DT info, if the Linux is booting from ACPI. I am attaching .dsl files,
that contain the acpi info.

>
>> Also for your information it looks like Linux actually booted from ACPI,
>> not from Device Tree, as you can see from all the "ACPI" messages in the
>> kernel logs.
>>
>> If you need to boot from ACPI, then you need to enable ACPI support in
>> Xen, which is disabled by default. You can do that using make
>> menuconfig.
>>
>>  In the make menuconfig of Xen, I do not see any option to enable ACPI.

>
>> On Thu, 30 Sep 2021, Sai Kiran Kumar Reddy Y wrote:
>> > Hi,
>> > Sorry about the delay. We have been trying to access the serial of the
>> machine. Tried with couple of JTAG connectors. There's still no
>> > debug messages on the serial. Is there any other way of figuring this
>> out?
>> >
>> > On Wed, Sep 15, 2021, 7:02 AM Stefano Stabellini <
>> sstabell...@kernel.org> wrote:
>> >   Something is off. When you enabled earlyprintk in Xen, you should
>> see
>> >   something like this at boot time:
>> >   https://marc.info/?l=xen-devel=158829968025334
>> >
>> >   All the Xen logs starting with "(XEN)" on the serial. Do you have
>> access
>> >   to the serial of the machine? Without it, it is going to be hard
>> to
>> >   debug.
>> >
>> >
>> >   On Tue, 14 Sep 2021, Sai Kiran Kumar Reddy Y wrote:
>> >   > In the folder "/var/log", there's a file called "xen", which is
>> empty. As far as the boot logs are concerned, I don't see any
>> >   debug
>> >   > messages related to xen. I am attaching the log files,
>> "kern.txt" and "boot.txt"
>> >   >
>> >   > On Tue, Sep 14, 2021 at 3:08 AM Stefano Stabellini <
>> sstabell...@kernel.org> wrote:
>> >   >   On Mon, 13 Sep 2021, Sai Kiran Kumar Reddy Y wrote:
>> >   >   > On Fri, Sep 10, 2021 at 7:30 PM Julien Grall <
>> jul...@xen.org> wrote:
>> >   >   >
>> >   >   >
>> >   >   >   On 08/09/2021 11:43, Sai Kiran wrote:
>> >   >   >   > Hello,
>> >   >   >
>> >   >   >   Hi,
>> >   >   >
>> >   >   >   Thank you for the report. Moving the discussion
>> back to xen-devel
>> >   >   >   because this looks like a potential issue in the
>> UEFI stub in Xen.
>> >   >   >
>> >   >   >   > I have Xen-4.15.0 on an ARM Machine, with
>> Debian 11 installed on it.
>> >   >   >
>> >   >   >   Would you be ab

[git-users] GIT Private Server on FreeBSD

2021-10-07 Thread Sai Kiran Kumar Reddy Y
Hii

I am trying to set up a private git server on FreeBSD Machine. I am trying 
to use smart-http to authenticate. I am attaching apache configuration 
file(httpd.conf) in "/usr/local/etc/apache24/". My git repos are present 
inside the folder: /home/git/repos/
test.git is a bare repository.

I have set http.receivepack to true in my repo. I am able to clone the repo 
from another host. But when I try to push the changes, I get the following 
error:

"error: Cannot access URL http://192.168.1.9:80/git/test.git/, return code 
22
fatal: git-http-push failed 
error: failed to push some refs to 'http://192.168.1.9:80/git/test.git/;

I have spent several days, editing the Apache config. settings, but with no 
use. Can someone help with this?

-Thanks
Sai Kiran.




-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/2c0243ce-76fe-4e7e-b476-d0cca33d7925n%40googlegroups.com.

   DocumentRoot "/home/git/repos"
   Alias /git /home/git/repos
   SetEnv GIT_PROJECT_ROOT /home/git/repos
   SetEnv GIT_HTTP_EXPORT_ALL
   ScriptAlias /git/ /usr/local/libexec/git-core/git-http-backend/$1
   
   ScriptAliasMatch \
   "(?x)^/git/(.*/(HEAD | \
   info/refs | \
   objects/(info/[^/]+ | \
[0-9a-f]{2}/[0-9a-f]{38} | \
pack/pack-[0-9a-f]{40}\.(pack|idx)) | \
   git-(upload|receive)-pack))$" \
/usr/local/libexec/git-core/git-http-backend/$1


  Options +ExecCGI +Indexes
  AuthType Basic
  AuthName "Git Authentication"
  AuthUserFile /home/git/repos/.htpasswd
  Require valid-user
  DirectoryIndex test.git



Re: Xen Booting Problem on ARM Machine

2021-09-29 Thread Sai Kiran Kumar Reddy Y
Hi,

Sorry about the delay. We have been trying to access the serial of the
machine. Tried with couple of JTAG connectors. There's still no debug
messages on the serial. Is there any other way of figuring this out?

On Wed, Sep 15, 2021, 7:02 AM Stefano Stabellini 
wrote:

> Something is off. When you enabled earlyprintk in Xen, you should see
> something like this at boot time:
> https://marc.info/?l=xen-devel=158829968025334
>
> All the Xen logs starting with "(XEN)" on the serial. Do you have access
> to the serial of the machine? Without it, it is going to be hard to
> debug.
>
>
> On Tue, 14 Sep 2021, Sai Kiran Kumar Reddy Y wrote:
> > In the folder "/var/log", there's a file called "xen", which is empty.
> As far as the boot logs are concerned, I don't see any debug
> > messages related to xen. I am attaching the log files, "kern.txt" and
> "boot.txt"
> >
> > On Tue, Sep 14, 2021 at 3:08 AM Stefano Stabellini <
> sstabell...@kernel.org> wrote:
> >   On Mon, 13 Sep 2021, Sai Kiran Kumar Reddy Y wrote:
> >   > On Fri, Sep 10, 2021 at 7:30 PM Julien Grall 
> wrote:
> >   >
> >   >
> >   >   On 08/09/2021 11:43, Sai Kiran wrote:
> >   >   > Hello,
> >   >
> >   >   Hi,
> >   >
> >   >   Thank you for the report. Moving the discussion back to
> xen-devel
> >   >   because this looks like a potential issue in the UEFI stub
> in Xen.
> >   >
> >   >   > I have Xen-4.15.0 on an ARM Machine, with Debian 11
> installed on it.
> >   >
> >   >   Would you be able to give more details on the Arm machine
> you are using?
> >   >   Also, are you using ACPI or DT to boot?
> >   >
> >   >
> >   >Sai >> DT . ACPI configuration is disabled in Boot settings
>
> >   >
> >   >   >  I
> >   >   > am able to do “make world” and “make install”, after
> “./configure”, as
> >   >   > specified in README file. When I reboot the system, I
> get the following
> >   >   > message:
> >   >   >
> >   >   > Warning: All 128 bootinfo mem banks exhausted.
> >   >   >
> >   >   > Warning: All 128 bootinfo mem banks exhausted.
> >   >
> >   >   Hmmm... This means that you have more than 128 memory
> regions described
> >   >   in the EFI memory map. That's quite a lot.
> >   >
> >   >   Although, this should be harmless as it means Xen will not
> use the extra
> >   >   memory banks.
> >   >
> >   >   >
> >   >   > Cannot exit boot services: ErrCode: 0x8002
> >   >
> >   >   This means EFI_INVALID_PARAMETER. We have code to retry
> because AFAICT
> >   >   ExitBootServices() may sometime fails (I have CCed Jan may
> have more
> >   >   idea what's happening).
> >   >
> >   >   Would you be able to provide more details on the UEFI
> firmware you are
> >   >   using? Is it EDK2 or U-boot?
> >   >
> >   > Sai >>  EDK2
> >   >   Also, do you know if Linux is boot on the same system?
> >   >
> >   > Sai >> Yes
> >   >   However, AFAICT, the error message would not prevent Xen
> to continue
> >   >   booting. So you may get stuck later in the boot process.
> >   >
> >   >   My suggestion would be to enable earlyprintk for your
> platform. You can
> >   >   setup it up from the menuconfig in "Debugging Options".
> >   >
> >   > Sai >> Yes, I have enabled earlyprintk.
> >   > I tried changing NR_MEM_BANKS(in xen/include/asm-arm/setup.h)
> value to 256, from 128. The error message is no longer seen,
> >   but the device
> >   > is stuck in the boot process.
> >
> >   Could you please post the boot logs now that you enabled
> earlyprintk?
> >   Ideally not a camera picture but a textual copy/paste from the
> target
> >   serial?
> >
> >   Earlyprintk is pretty verbose, we should be able to figure out
> where it
> >   gets stuck.
> >
> >
> >


Re: Xen Booting Problem on ARM Machine

2021-09-13 Thread Sai Kiran Kumar Reddy Y
On Fri, Sep 10, 2021 at 7:30 PM Julien Grall  wrote:

>
>
> On 08/09/2021 11:43, Sai Kiran wrote:
> > Hello,
>
> Hi,
>
> Thank you for the report. Moving the discussion back to xen-devel
> because this looks like a potential issue in the UEFI stub in Xen.
>
> > I have Xen-4.15.0 on an ARM Machine, with Debian 11 installed on it.
>
> Would you be able to give more details on the Arm machine you are using?
> Also, are you using ACPI or DT to boot?
>

   Sai >> DT . ACPI configuration is disabled in Boot settings

>
> >  I
> > am able to do “make world” and “make install”, after “./configure”, as
> > specified in README file. When I reboot the system, I get the following
> > message:
> >
> > Warning: All 128 bootinfo mem banks exhausted.
> >
> > Warning: All 128 bootinfo mem banks exhausted.
>
> Hmmm... This means that you have more than 128 memory regions described
> in the EFI memory map. That's quite a lot.
>
> Although, this should be harmless as it means Xen will not use the extra
> memory banks.
>
> >
> > Cannot exit boot services: ErrCode: 0x8002
>
> This means EFI_INVALID_PARAMETER. We have code to retry because AFAICT
> ExitBootServices() may sometime fails (I have CCed Jan may have more
> idea what's happening).
>
> Would you be able to provide more details on the UEFI firmware you are
> using? Is it EDK2 or U-boot?
>
> Sai >>  EDK2

> Also, do you know if Linux is boot on the same system?
>
> Sai >> Yes

> However, AFAICT, the error message would not prevent Xen to continue
> booting. So you may get stuck later in the boot process.
>
> My suggestion would be to enable earlyprintk for your platform. You can
> setup it up from the menuconfig in "Debugging Options".
>
Sai >> Yes, I have enabled earlyprintk.
I tried changing NR_MEM_BANKS(in xen/include/asm-arm/setup.h) value to 256,
from 128. The error message is no longer seen, but the device is stuck in
the boot process.

> >
> > Here is the snapshot of the error.
>
> Please avoid posting image on the ML. Instead, if you need to do it, you
> can upload on a web server and provide the URL.
>
> Best regards,
>
> --
> Julien Grall
>