Problem for testing linux-next

2021-08-16 Thread Sidong Yang
Hi, all.

I'm trying to test linux-next. I'm using QEMU for testing.
I cloned linux-next repository and checkout to last tag next-20210812.
I compiled with simple command below.

make menuconfig
make & make modules_install & make install

and rebooted system. and it failed.
It hangs after the message "freeing unused kernel image (init mem)
memory"
after about 500 seconds, it prints call trace including
"x2apic_send_IPI" and it blocked.
I want to copy and past it to here. but I don't know how to see the
dmesg in last failed session.

Is there any wrong configuration for compiling?
I would paste it if I could copy the error message.

Thanks,
Sidong

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Problem for testing linux-next

2021-08-16 Thread Greg KH
On Mon, Aug 16, 2021 at 10:17:51AM +, Sidong Yang wrote:
> Hi, all.
> 
> I'm trying to test linux-next. I'm using QEMU for testing.
> I cloned linux-next repository and checkout to last tag next-20210812.
> I compiled with simple command below.
> 
> make menuconfig
> make & make modules_install & make install
> 
> and rebooted system. and it failed.

Make sure you have a working configuration based on a released kernel
version _first_ (like 5.13), before trying to test linux-next.  Once you
have that, then take that configuration and use it on the linux-next
tree so you know it is not a configuration issue.

good luck!

greg k-h

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Problem for testing linux-next

2021-08-16 Thread Sidong Yang
On Mon, Aug 16, 2021 at 01:23:54PM +0200, Greg KH wrote:
> On Mon, Aug 16, 2021 at 10:17:51AM +, Sidong Yang wrote:
> > Hi, all.
> > 
> > I'm trying to test linux-next. I'm using QEMU for testing.
> > I cloned linux-next repository and checkout to last tag next-20210812.
> > I compiled with simple command below.
> > 
> > make menuconfig
> > make & make modules_install & make install
> > 
> > and rebooted system. and it failed.
> 
> Make sure you have a working configuration based on a released kernel
> version _first_ (like 5.13), before trying to test linux-next.  Once you
> have that, then take that configuration and use it on the linux-next
> tree so you know it is not a configuration issue.

Yeah, I think it was configuration error. I reset all the configuration
and compiled 5.13 and it works. Also, I compiled with same configuration
linux-next and It was OK.

Thanks for tip!

Thanks,
Sidong

> 
> good luck!
> 
> greg k-h

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


kernel / system configuration question regarding "unstable filesystems"

2021-08-16 Thread Colin Williams
Hello,

I'm using a SD card to boot my device. The SD card is connected via a
USB-C hub due to the device not having any other connectors. This hub
and slot will lose power temporarily if plugging in or unplugging
power passthrough to the hub. Then on these events the filesystem
becomes unmounted and while my system is still running, it becomes
unusable. I get input / output errors for example from the terminal. I
think what's going on is some portion of the system is loaded into
memory. However many critical parts become unavailable.

Then I'm curious what options I have at the kernel or system level to
ruggedize this so these events don't destroy the system. Before
exposing my own ignorance presenting any ideas with my limited
knowledge regarding this topic. Is anyone familiar enough to suggest
some design approaches or where I might find the best answer regarding
a designed solution?

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies