lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190706201729.48548ede@canb.auug.org.au>
Date:   Sat, 6 Jul 2019 20:17:29 +1000
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:     Linux Next Mailing List <linux-next@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Michael Ellerman <mpe@...erman.id.au>
Subject: Re: linux-next: Tree for Jul 4

Hi Greg,

On Sat, 6 Jul 2019 11:46:47 +0200 Greg Kroah-Hartman <gregkh@...uxfoundation.org> wrote:
>
> On Sat, Jul 06, 2019 at 07:44:12PM +1000, Stephen Rothwell wrote:
> > 
> > On Sat, 6 Jul 2019 10:34:33 +0200 Greg Kroah-Hartman <gregkh@...uxfoundation.org> wrote:  
> > >
> > > On Thu, Jul 04, 2019 at 10:24:50PM +1000, Stephen Rothwell wrote:  
> > > > 
> > > > This release produces a whole lot (over 200) of this message in my qemu
> > > > boot tests:
> > > > 
> > > > [    1.698497] debugfs: File 'sched' already present!
> > > > 
> > > > Introduced by commit
> > > > 
> > > >   43e23b6c0b01 ("debugfs: log errors when something goes wrong")
> > > > 
> > > > from the driver-core tree.  I assume that the error(?) was already
> > > > happening, but it is now being reported.    
> > > 
> > > What are you passing to qemu to get this?  I just tried it myself and
> > > see no error reports at all.  Have a .config I can use to try to
> > > reproduce this?  
> > 
> > It is a powerpc pseries_le_defconfig kernel and I run qemu like this:
> > 
> > qemu-system-ppc64 -M pseries -m 2G -vga none -nographic -kernel vmlinux -initrd rootfs.cpio.gz  
> 
> Hm, I think my rootfs initrd might be quite simple compared to yours (it
> drops me into a busybox shell).  Any pointers to where you created yours
> from?

Michael Ellerman gave it to me.  It is very simple.  Its /init is just

$ cat init
#!/bin/sh
# devtmpfs does not get automounted for initramfs
/bin/mount -t devtmpfs devtmpfs /dev
exec 0</dev/console
exec 1>/dev/console
exec 2>/dev/console
exec /sbin/init $*

and /sbin/init is a link to /bin/busybox

It is all run by an expect script that just waits for the login:
prompt, logs in a root and runs "halt".

All the debugfs messages appear before the kernel finished booting.
-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ