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: <20080413084536.GB24429@elte.hu>
Date:	Sun, 13 Apr 2008 10:45:36 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Nick Andrew <nick@...k-andrew.net>
Cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	"H. Peter Anvin" <hpa@...or.com>
Subject: Re: [RFC] x86: Cleanup prose of Documentation/i386/IO-APIC.txt


* Nick Andrew <nick@...k-andrew.net> wrote:

> I'm doing a couple of cleanups to Documentation/i386/IO-APIC.txt
> and I have a problem with this line, which is supposed to compute
> a sample pirq= kernel parameter:
> 
>    echo -n pirq=; echo `scanpci | grep T_L | cut -c56-` | sed 's/ /,/g'
> 
> The 'scanpci' command used to be part of xutils and/or XFree86.
> Xorg implements "Xorg -scanpci" but the output is different and it won't
> run while X is running.
> 
> Firstly I propose using the $( ) construct rather than backticks, since
> it is easier to read:
> 
>    echo -n pirq=; echo $( scanpci | grep T_L | cut -c56- ) | sed 's/ /,/g'
> 
> Inside the backtics, instead of scanpci, I could do:
> 
>    lspci -v | grep IRQ | sed -e 's/.* IRQ \(\w\+\)/\1/'
> 
> Is this an acceptable substitution?

yeah, i guess so.

Btw., that's rather arcane text - do people still have to use pirq= boot 
lines to get their boxes to boot?

	Ingo
--
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