ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Денис Смирнов" <mithraen@freesource.info>
To: shigorin@gmail.com,
	ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] сравнительные списки ядра-модули
Date: Thu, 6 Jan 2011 15:53:50 +0300
Message-ID: <20110106125350.GA25573@mw.mithraen.ru> (raw)
In-Reply-To: <20110106125550.GZ9256@osdn.org.ua>


[-- Attachment #1.1: Type: text/plain, Size: 3756 bytes --]


MS> PS: вот скриптик, который в процессе работы над mkimage-profiles
MS> помог с выбором "нулевого приближения" наборов флаворо-модулей:

У меня скриптик круче :-P

На сейчас обидено что в ovz-el есть не все что есть в el-smp -- раз. И зря
compcache собран только для tmc-tc -- два.

Ну и мне для полного счастья сейчас не хватает варианта ovz-el собранного
с поддержкой xen domU, дабы таки запустить альт на Amazon EC2.

MODULE              el-smp   hpc-skif ovz-el   std-def  std-ng   std-pae  tmc-tc   un-def   xen-dom0 
alsa                    Ok       Ok       Ok       Ok     -----    i586     i586       Ok       Ok   
bcmwl                   Ok     -----      Ok       Ok     -----    i586     -----      Ok       Ok   
compcache             -----    -----    -----    -----    -----    -----    i586     -----    -----  
dahdi                   Ok     -----      Ok       Ok     -----    i586     -----    -----      Ok   
drbd83                  Ok       Ok     -----    -----    -----    -----    -----    -----      Ok   
drm                     Ok       Ok       Ok       Ok     -----    i586     i586       Ok       Ok   
drm-nouveau             Ok     -----    -----      Ok     -----    i586     -----      Ok     -----  
drm-radeon            -----    -----    -----      Ok     -----    i586     -----      Ok     -----  
fglrx                 -----      Ok     -----    -----    -----    -----    i586     -----    -----  
ide                   -----    -----      Ok       Ok     -----    i586     -----      Ok     -----  
igb                   -----    -----    -----      Ok     -----    i586     -----      Ok       Ok   
ipset                   Ok     -----      Ok       Ok     -----    i586     -----      Ok     -----  
kvm                   x86_64   -----      Ok       Ok     -----    i586     -----      Ok       Ok   
lirc                    Ok     -----      Ok       Ok     -----    i586     -----    -----    -----  
lustre                -----      Ok     -----    -----    -----    -----    -----    -----    -----  
ndiswrapper             Ok     -----      Ok       Ok     -----    i586     -----    -----    -----  
nvidia                  Ok       Ok       Ok       Ok       Ok     i586     i586       Ok       Ok   
omnibook                Ok     -----      Ok       Ok     -----    i586     -----      Ok     -----  
oss                   -----    -----    -----    -----    -----    -----    -----    -----      Ok   
pf_ring               -----    -----    -----      Ok     -----    i586     -----      Ok     -----  
rtl8168                 Ok     -----    -----      Ok     -----    i586     -----    -----    -----  
rtl8192                 Ok     -----      Ok       Ok     -----    i586     -----      Ok     -----  
staging               -----    -----    -----      Ok     -----    i586     -----      Ok     -----  
subfs                 -----    -----    -----      Ok     -----    i586     -----      Ok       Ok   
tp_smapi                Ok     -----      Ok       Ok     -----    i586     -----      Ok     -----  
v4l                     Ok     -----    -----      Ok     -----    i586     -----      Ok       Ok   
vhba                    Ok     -----    -----      Ok     -----    i586     -----      Ok     -----  
virtualbox              Ok     -----      Ok       Ok     -----    i586     -----    -----    -----  
virtualbox-addition     Ok     -----      Ok       Ok     -----    i586     -----    -----    -----  
xtables-addons        -----    -----    -----      Ok     -----    i586     -----      Ok     -----  

-- 
С уважением, Денис

http://mithraen.ru/
----------------------------------------------------------------------------

[-- Attachment #1.2: kernel-modules-list --]
[-- Type: text/plain, Size: 1297 bytes --]

#!/usr/bin/perl -w
use strict;

my %flavours;
my %pkgs;

open( IN, "utils/list-pkg-kernel |" );
while (<IN>) {
    chomp;
    /^([^\s]+)\s+(.+)/;
    my $arch = $1;
    next if $arch eq 'arm';
    my $name = $2;
    my $flavour;

    die "$_" unless $name =~ s/-([^-]+-[^-]+)$//;
    $flavour = $1;

    $flavours{$flavour} = 1;

    $pkgs{$name}->{$flavour}->{$arch} = 1;
}
close(IN);

# Рассчет размера поля с именем модуля
my $l = 0;
foreach ( keys %pkgs ) {
    my $l2 = length $_;
    $l = $l2 if $l2 > $l;
}
$l++;

printf "%-${l}s", "MODULE";

my @flavours = sort keys %flavours;
foreach (@flavours) {
    printf "%-9s", $_;
}
print "\n";

#print "@flavours\n";

foreach ( sort keys %pkgs ) {
    printf "%-${l}s", $_;
    foreach my $f (@flavours) {
        if ( defined $pkgs{$_}->{$f} ) {
            my $t = $pkgs{$_}->{$f};
            if ( defined $t->{x86_64} ) {
                if ( defined $t->{i586} ) {
                    print "    Ok   ";
                }
                else {
                    print "  x86_64 ";
                }
            }
            else {
                print "  i586   ";
            }
        }
        else {
            print "  -----  ";
        }
    }
    print "\n";
}


[-- Attachment #1.3: list-pkg-kernel --]
[-- Type: text/plain, Size: 186 bytes --]

#!/bin/sh
find /var/lib/altlinux/sisyphus/files/ \
	-type f \
	| grep /kernel-modules \
	| grep -v .src.rpm$ \
	| xargs rpm -qp --qf '%{ARCH}\t%{NAME}\n' \
	| sed 's/kernel-modules-//'


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2011-01-06 12:53 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-05  8:20 [sisyphus] ядро std-def и io scheduler Anton Chernyshov
2011-01-05  9:04 ` Michael Shigorin
2011-01-05  9:10   ` Anton Chernyshov
2011-01-05  9:12     ` Ildar Mulyukov
2011-01-05 10:48     ` Michael Shigorin
2011-01-05 10:11   ` Денис Смирнов
2011-01-05 10:45     ` Michael Shigorin
2011-01-05 11:48 ` Aeliya Grevnyov
2011-01-05 12:40   ` Valery V. Inozemtsev
2011-01-05 13:13     ` Anton Chernyshov
2011-01-05 13:44       ` Valery V. Inozemtsev
2011-01-05 15:33         ` Anton Chernyshov
2011-01-05 15:47           ` Valery V. Inozemtsev
2011-01-05 21:50         ` Michael Pozhidaev
2011-01-06  5:54           ` [sisyphus] "официальное" ядро Ildar Mulyukov
2011-01-06  8:11             ` Anton Chernyshov
2011-01-06 12:00             ` Slava Semushin
2011-01-06 12:50               ` diver
2011-01-06 13:14                 ` [sisyphus] " официальное Valery Pipin
2011-01-06 13:19                   ` diver
2011-01-06 13:31                     ` Valery Pipin
2011-01-06 20:27                       ` Vitaly Kuznetsov
2011-01-06 12:55             ` [sisyphus] сравнительные списки ядра-модули Michael Shigorin
2011-01-06 12:53               ` Денис Смирнов [this message]
2011-01-06 13:48                 ` Michael Shigorin
2011-01-06 15:37                   ` Денис Смирнов
2011-01-12 11:32                 ` Anton V. Boyarshinov
2011-01-06 12:59           ` [sisyphus] ядро std-def и io scheduler Michael Shigorin
2011-01-06 13:46             ` Michael Pozhidaev
2011-01-06 14:00               ` Michael Shigorin
2011-01-06 14:17                 ` Andrii Dobrovol`s`kii
2011-01-06 16:49                 ` Ildar Mulyukov
2011-01-06 12:57           ` [sisyphus] [JT] не надо так Michael Shigorin
2011-01-08 20:01 ` [sisyphus] ядро std-def и io scheduler Ivan Fedorov
2011-01-08 20:43   ` Aeliya Grevnyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110106125350.GA25573@mw.mithraen.ru \
    --to=mithraen@freesource.info \
    --cc=shigorin@gmail.com \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git