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] [day] [month] [year] [list]
Date:	Thu, 7 Jun 2007 09:45:08 -0500
From:	Matt Mackall <mpm@...enic.com>
To:	Rusty Russell <rusty@...tcorp.com.au>
Cc:	Alan Cox <alan@...rguk.ukuu.org.uk>,
	Andrew Morton <akpm@...ux-foundation.org>,
	lkml - Kernel Mailing List <linux-kernel@...r.kernel.org>,
	bzolnier@...il.com, Jeremy Fitzhardinge <jeremy@...p.org>
Subject: Re: [PATCH 3/6] lguest suppress IDE probing

On Thu, Jun 07, 2007 at 12:13:07PM +1000, Rusty Russell wrote:
> On Wed, 2007-06-06 at 11:23 +0100, Alan Cox wrote:
> > > > Better yet just don't compile in the old IDE stuff, lguest doesn't have a
> > > > PCI or ISA bus anyway.
> > > 
> > > Sure, but the "run the same kernel as guest and host" is a really nice
> > > feature.
> > 
> > Modules dear boy, modules ;)
> 
> For some reason, pulling half the kernel's brains out into a separately
> maintained userspace seems to make things less reliable.  I always build
> in everything I need to boot.
> 
> Perhaps this makes me an old-timer.
> 
> > > > Alternatively make the IDE I/O space return 0xFF and it'll skip them
> > > > anyway.
> > > 
> > > Hmm, every "in" should be returning 0xFFs, but I still get the delay and
> > > the probing.  Xen domU gets it too.
> > 
> > Can you see in a debugger where it is spending the time. 0xFF should be
> > taken as "no port, move on nothing to see"
> 
> Well, the code is a little opaque to me, but do_probe() calls msleep(50)
> three times.  According to gdb this gets called 27 times -> 4.05
> seconds.

Yep. libata somehow manages to avoid most of these, it'd be
interesting to work out why.

-- 
Mathematics is the supreme nostalgia of our time.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ