abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
AbcLinuxu hledá autory!
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×

dnes 16:11 | Komunita

Byly zveřejněny videozáznamy přednášek a workshopů z letošní konference OpenAlt konané 4. a 5. listopadu v Brně. K videozáznamům lze přistupovat ze stránky na SuperLectures nebo přes program konference, detaily o vybrané přednášce nebo workshopu a dále kliknutím na ikonku filmového pásu.

Ladislav Hagara | Komentářů: 0
dnes 14:11 | Komunita

Některým uživatelům Firefoxu se tento týden do Firefoxu nainstalovalo neznámé rozšíření Looking Glass 1.0.3 (png). Ve fórů Mozilly se řešilo, zda se nejedná o malware. Mozilla později informovala, že se jednalo o reklamu na seriál Mr. Robot. Řadě uživatelů Firefoxu se jednání Mozilly vůbec nelíbilo. Mozilla proto automatickou instalaci doplňku ukončila [Hacker News, reddit].

Ladislav Hagara | Komentářů: 8
včera 12:00 | Nová verze

Po cca 3 týdnech od vydání Linux Mintu 18.3 s kódovým jménem Sylvia a prostředími MATE a Cinnamon byla oznámena také vydání s prostředími KDE a Xfce. Podrobnosti v poznámkách k vydání (KDE, Xfce) a v přehledech novinek s náhledy (KDE, Xfce). Linux Mint 18.3 je podporován do roku 2021.

Ladislav Hagara | Komentářů: 6
15.12. 12:55 | Nová verze

Byla vydána verze 17.12.0 KDE Aplikací (KDE Applications). Přehled novinek v kompletním seznamu změn a na stránce s dalšími informacemi. Aplikace, které nebyly dosud portovány na KDE Frameworks 5, byly z KDE Aplikací odstraněny.

Ladislav Hagara | Komentářů: 52
15.12. 03:00 | Komunita

Na Humble Bundle lze získat počítačovou hru Company of Heroes 2 (Wikipedie, YouTube) běžící také v Linuxu zdarma. Speciální akce končí v sobotu v 19:00.

Ladislav Hagara | Komentářů: 0
15.12. 02:00 | Zajímavý software

Christian Kellner představil na svém blogu projekt Bolt řešící bezpečnost rozhraní Thunderbolt 3 na Linuxu. Pomocí příkazu boltctl nebo rozšíření GNOME Shellu lze komunikovat s démonem boltd a například zakázat neznámá zařízení a předejít tak útokům typu Thunderstrike nebo DMA.

Ladislav Hagara | Komentářů: 9
15.12. 01:00 | Nová verze

Po půl roce vývoje od vydání verze 11.0 byla vydána verze 11.1 svobodného softwaru pro vytváření datových úložišť na síti FreeNAS (Wikipedie). Nejnovější FreeNAS je postaven na FreeBSD 11.1. Přehled novinek v příspěvku na blogu. Zdůraznit lze zvýšení výkonu OpenZFS, počáteční podporu Dockeru nebo synchronizaci s cloudovými službami Amazon S3 (Simple Storage Services), Backblaze B2 Cloud, Google Cloud a Microsoft Azure

Ladislav Hagara | Komentářů: 0
14.12. 23:55 | Nová verze

Po dvou měsících vývoje od vydání verze 235 oznámil Lennart Poettering vydání verze 236 správce systému a služeb systemd (GitHub, NEWS).

Ladislav Hagara | Komentářů: 10
14.12. 20:00 | Nová verze Ladislav Hagara | Komentářů: 0
14.12. 19:33 | Pozvánky

Pražská Fedora 27 Release Party, oslava nedávného vydání Fedory 27, se uskuteční 19. prosince od 19:00 v prostorách společnosti Etnetera (Jankovcova 1037/49). Na programu budou přednášky o novinkách, diskuse, neřízený networking atd.

Ladislav Hagara | Komentářů: 0
Jak se vás potenciálně dotkne trend odstraňování analogového audio konektoru typu 3,5mm jack z „chytrých telefonů“?
 (8%)
 (0%)
 (1%)
 (1%)
 (75%)
 (14%)
Celkem 1007 hlasů
 Komentářů: 45, poslední 1.12. 19:00
    Rozcestník

    Dotaz: Vyladění jádra

    23.8.2006 23:01 tuner
    Vyladění jádra
    Přečteno: 131×
    Kde bych prosím Vás našel na internetu nějakou rozsáhlou nápovědu, jak si dobře zkompilovat jádro, jaké jsou nepotřebné věci v jádře... . Jádro zkompilovat umím, většinu nepotřebných věcí jsem taky dal pryč, ale přeci jenom s hodněma volbama se bojím manipulovat.

    Odpovědi

    23.8.2006 23:03 tuner
    Rozbalit Rozbalit vše Re: Vyladění jádra
    Pokud možno i s aktuálníma patchema zvyšujícími výkun
    23.8.2006 23:15 tuner
    Rozbalit Rozbalit vše Re: Vyladění jádra
    A ještě malá podotázečka, jak se dá zjistit, který modul používá moje síťovka?
    24.8.2006 00:25 trekker.dk | skóre: 71
    Rozbalit Rozbalit vše Re: Vyladění jádra
    lsmod, ten modul by se měl jmenovat podobně jako síťovka, jejíž jméno zjistíš lspci.

    Taky by možná mohl používat mii:
    $ lsmod
    Module                  Size  Used by
    ...
    mii                     5952  1 jméno_modulu_pro_tvojí_síťovku
    ...
    Quando omni flunkus moritati
    24.8.2006 09:46 Liska | skóre: 3
    Rozbalit Rozbalit vše Re: Vyladění jádra
    okrem toho mozes pozriet vystup lspci a najst v jadre adekvatny ovladac .. co do sviznosti jadra, skus pozriet tu. co sa tyka tej napovedy, pozri toto a toto samozrejme /usr/src/linux/Documentation
    24.8.2006 11:42 tuner
    Rozbalit Rozbalit vše Re: Vyladění jádra
    Moje síťovka je Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 11) a druhá realtek, což je celkem jastě 8139too, ale u ty broadband nevim - tg3 ???
    24.8.2006 15:38 Liska | skóre: 3
    Rozbalit Rozbalit vše Re: Vyladění jádra
    presne tak -- tg3 :)
    24.8.2006 15:45 pasmen | skóre: 45 | blog: glob | Praha
    Rozbalit Rozbalit vše Re: Vyladění jádra
    Jednou se vyplati projit vsechny volby jadra jednu po druhe a precist si cely help k ni, takze opravdu vis co chces a co ne. V podstate neni ceho se obavat, pokud mas v zaloze puvodni jadro pro pripad nouze, nemas co skazit.
    24.8.2006 18:35 tuner
    Rozbalit Rozbalit vše Re: Vyladění jádra
    Tak mi to hodilo takovejch varování. Tady je část z nich: fs/eventpoll.c: In function ‘sys_epoll_create’: fs/eventpoll.c:500: warning: ‘fd’ may be used uninitialized in this function fs/udf/balloc.c: In function ‘udf_table_new_block’: fs/udf/balloc.c:751: warning: ‘goal_eloc.logicalBlockNum’ may be used uninitialized in this function fs/udf/super.c: In function ‘udf_fill_super’: fs/udf/super.c:1358: warning: ‘ino.partitionReferenceNum’ may be used uninitialized in this function fs/xfs/xfs_dir.c: In function ‘xfs_dir_removename’: fs/xfs/xfs_dir.c:363: warning: ‘totallen’ may be used uninitialized in this function fs/xfs/xfs_dir.c:363: warning: ‘count’ may be used uninitialized in this function fs/xfs/xfs_inode.c: In function ‘xfs_ifree’: fs/xfs/xfs_inode.c:1960: warning: ‘last_offset’ may be used uninitialized in this function fs/xfs/xfs_inode.c:1958: warning: ‘last_dip’ may be used uninitialized in this function fs/xfs/xfs_log.c: In function ‘xlog_write’: fs/xfs/xfs_log.c:1749: warning: ‘iclog’ may be used uninitialized in this function fs/xfs/xfs_log_recover.c: In function ‘xlog_find_tail’: fs/xfs/xfs_log_recover.c:523: warning: ‘first_blk’ may be used uninitialized in this function ipc/msg.c: In function ‘sys_msgctl’: ipc/msg.c:338: warning: ‘setbuf.qbytes’ may be used uninitialized in this function ipc/msg.c:338: warning: ‘setbuf.uid’ may be used uninitialized in this function ipc/msg.c:338: warning: ‘setbuf.gid’ may be used uninitialized in this function ipc/msg.c:338: warning: ‘setbuf.mode’ may be used uninitialized in this function ipc/sem.c: In function ‘sys_semctl’: ipc/sem.c:810: warning: ‘setbuf.uid’ may be used uninitialized in this function ipc/sem.c:810: warning: ‘setbuf.gid’ may be used uninitialized in this function ipc/sem.c:810: warning: ‘setbuf.mode’ may be used uninitialized in this function drivers/char/ftape/lowlevel/fdc-io.c: In function ‘fdc_command’: drivers/char/ftape/lowlevel/fdc-io.c:217: warning: ‘restore_flags’ is deprecated (declared at include/linux/interrupt.h:84) drivers/char/ftape/lowlevel/fdc-io.c: In function ‘fdc_setup_formatting’: drivers/char/ftape/lowlevel/fdc-io.c:885: warning: ‘restore_flags’ is deprecated (declared at include/linux/interrupt.h:84) drivers/char/ftape/lowlevel/fdc-isr.c: In function ‘fdc_isr’: drivers/char/ftape/lowlevel/fdc-isr.c:1094: warning: ‘sti’ is deprecated (declared at include/linux/interrupt.h:75) drivers/char/ftape/lowlevel/ftape-io.c: In function ‘ftape_sleep’: drivers/char/ftape/lowlevel/ftape-io.c:98: warning: ‘save_flags’ is deprecated (declared at include/linux/interrupt.h:79) drivers/char/ftape/lowlevel/ftape-io.c:99: warning: ‘sti’ is deprecated (declared at include/linux/interrupt.h:75) drivers/char/ftape/lowlevel/ftape-io.c:106: warning: ‘restore_flags’ is deprecated (declared at include/linux/interrupt.h:84) drivers/char/ftape/lowlevel/ftape-format.c: In function ‘ftape_format_track’: drivers/char/ftape/lowlevel/ftape-format.c:135: warning: ‘restore_flags’ is deprecated (declared at include/linux/interrupt.h:84) drivers/char/ftape/zftape/zftape-read.c: In function ‘_zft_read’: drivers/char/ftape/zftape/zftape-read.c:298: warning: ‘req_clipped’ may be used uninitialized in this function drivers/char/ipmi/ipmi_si_intf.c: In function ‘init_ipmi_si’: drivers/char/ipmi/ipmi_si_intf.c:1797: warning: ‘data.irq’ may be used uninitialized in this function drivers/ide/ide-tape.c: In function ‘idetape_copy_stage_from_user’: drivers/ide/ide-tape.c:2663: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result drivers/ide/ide-tape.c: In function ‘idetape_copy_stage_to_user’: drivers/ide/ide-tape.c:2690: warning: ignoring return value of ‘copy_to_user’, declared with attribute warn_unused_result drivers/input/serio/serio_raw.c: In function ‘serio_raw_read’: drivers/input/serio/serio_raw.c:164: warning: ‘c’ may be used uninitialized in this function drivers/message/i2o/exec-osm.c: In function ‘i2o_msg_post_wait_mem’: drivers/message/i2o/exec-osm.c:187: warning: comparison of distinct pointer types lacks a cast drivers/mtd/chips/cfi_cmdset_0020.c: In function ‘cfi_staa_init’: drivers/mtd/chips/cfi_cmdset_0020.c:1417: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:563) drivers/mtd/chips/cfi_cmdset_0020.c: In function ‘cfi_staa_exit’: drivers/mtd/chips/cfi_cmdset_0020.c:1423: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:564) drivers/mtd/chips/cfi_cmdset_0002.c: In function ‘cfi_amdstd_init’: drivers/mtd/chips/cfi_cmdset_0002.c:1766: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:563) drivers/mtd/chips/cfi_cmdset_0002.c: In function ‘cfi_amdstd_exit’: drivers/mtd/chips/cfi_cmdset_0002.c:1773: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:564) drivers/mtd/chips/cfi_cmdset_0001.c: In function ‘cfi_intelext_init’: drivers/mtd/chips/cfi_cmdset_0001.c:2454: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:563) drivers/mtd/chips/cfi_cmdset_0001.c:2455: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:563) drivers/mtd/chips/cfi_cmdset_0001.c:2456: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:563) drivers/mtd/chips/cfi_cmdset_0001.c: In function ‘cfi_intelext_exit’: drivers/mtd/chips/cfi_cmdset_0001.c:2462: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:564) drivers/mtd/chips/cfi_cmdset_0001.c:2463: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:564) drivers/mtd/chips/cfi_cmdset_0001.c:2464: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:564) drivers/mtd/chips/gen_probe.c: In function ‘cfi_cmdset_unknown’: drivers/mtd/chips/gen_probe.c:210: warning: ‘inter_module_put’ is deprecated (declared at include/linux/module.h:567) drivers/mtd/devices/doc2000.c: In function ‘init_doc2000’: drivers/mtd/devices/doc2000.c:1282: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:563) drivers/mtd/devices/doc2000.c: In function ‘cleanup_doc2000’: drivers/mtd/devices/doc2000.c:1301: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:564) drivers/mtd/devices/doc2001.c: In function ‘init_doc2001’: drivers/mtd/devices/doc2001.c:861: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:563) drivers/mtd/devices/doc2001.c: In function ‘cleanup_doc2001’: drivers/mtd/devices/doc2001.c:880: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:564) drivers/mtd/devices/doc2001plus.c: In function ‘init_doc2001plus’: drivers/mtd/devices/doc2001plus.c:1127: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:563) drivers/mtd/devices/doc2001plus.c: In function ‘cleanup_doc2001plus’: drivers/mtd/devices/doc2001plus.c:1146: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:564) drivers/mtd/devices/docprobe.c: In function ‘DoC_Probe’: drivers/mtd/devices/docprobe.c:315: warning: ‘inter_module_put’ is deprecated (declared at include/linux/module.h:567) drivers/mtd/redboot.c: In function ‘parse_redboot_partitions’: drivers/mtd/redboot.c:103: warning: passing argument 1 of ‘__swab32s’ from incompatible pointer type drivers/mtd/redboot.c:104: warning: passing argument 1 of ‘__swab32s’ from incompatible pointer type drivers/mtd/redboot.c:105: warning: passing argument 1 of ‘__swab32s’ from incompatible pointer type drivers/mtd/redboot.c:106: warning: passing argument 1 of ‘__swab32s’ from incompatible pointer type drivers/mtd/redboot.c:107: warning: passing argument 1 of ‘__swab32s’ from incompatible pointer type drivers/mtd/redboot.c:108: warning: passing argument 1 of ‘__swab32s’ from incompatible pointer type drivers/mtd/redboot.c:109: warning: passing argument 1 of ‘__swab32s’ from incompatible pointer type drivers/scsi/sata_svw.c: In function ‘k2_sata_tf_load’: drivers/scsi/sata_svw.c:115: warning: passing argument 2 of ‘writeb’ makes pointer from integer without a cast drivers/scsi/sata_svw.c:120: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_svw.c:121: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_svw.c:122: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_svw.c:123: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_svw.c:124: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_svw.c:126: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_svw.c:127: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_svw.c:128: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_svw.c:129: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_svw.c:130: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_svw.c:134: warning: passing argument 2 of ‘writeb’ makes pointer from integer without a cast drivers/scsi/sata_svw.c: In function ‘k2_sata_tf_read’: drivers/scsi/sata_svw.c:146: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast drivers/scsi/sata_svw.c:147: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast drivers/scsi/sata_svw.c:148: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast drivers/scsi/sata_svw.c:149: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast drivers/scsi/sata_svw.c:150: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast drivers/scsi/sata_svw.c:151: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c: In function ‘vsc_sata_tf_load’: drivers/scsi/sata_vsc.c:152: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c:153: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c:154: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c:155: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c:156: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c:158: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c:159: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c:160: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c:161: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c:162: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c:166: warning: passing argument 2 of ‘writeb’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c: In function ‘vsc_sata_tf_read’: drivers/scsi/sata_vsc.c:178: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c:179: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c:180: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c:181: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c:182: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c:183: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c: In function ‘vsc_sata_setup_port’: drivers/scsi/sata_vsc.c:320: warning: passing argument 2 of ‘writel’ makes pointer from integer without a cast drivers/scsi/sata_vsc.c:321: warning: passing argument 2 of ‘writel’ makes pointer from integer without a cast drivers/scsi/fdomain.c:425: warning: ‘ports’ defined but not used drivers/scsi/fdomain.c:469: warning: ‘signatures’ defined but not used drivers/scsi/fdomain.c:652: warning: ‘fdomain_get_irq’ defined but not used drivers/usb/misc/auerswald.c: In function ‘auerchain_control_msg’: drivers/usb/misc/auerswald.c:667: warning: ‘length’ may be used uninitialized in this function net/ipv4/netfilter/ip_conntrack_ftp.c: In function ‘help’: net/ipv4/netfilter/ip_conntrack_ftp.c:298: warning: ‘matchoff’ may be used uninitialized in this function net/ipv4/netfilter/ip_conntrack_ftp.c:298: warning: ‘matchlen’ may be used uninitialized in this function

    Je to zlý?? P.S: omlouvám se, ale nešlo mi to dát do tagu pre.
    kozzi avatar 24.8.2006 18:39 kozzi | skóre: 55 | blog: vse_o_vsem | Pacman (Bratrušov)
    Rozbalit Rozbalit vše Re: Vyladění jádra
    no tak dokud to nedokazes dat do pre tagu tak mi je lito timto se fakt neproberu. Jinak pokud se nepletu tak tam nevidim error takze by to melo byt v poho
    Linux je jako mušketýři "jeden za všechny, všichni za jednoho"
    24.8.2006 19:19 Filip Jirsák | skóre: 67 | blog: Fa & Bi
    Rozbalit Rozbalit vše Re: Vyladění jádra
    omlouvám se, ale nešlo mi to dát do tagu pre.
    Mně to tedy do <pre> jde dát:
    fs/eventpoll.c: In function ‘sys_epoll_create’:
    fs/eventpoll.c:500: warning: ‘fd’ may be used uninitialized in this function
    fs/udf/balloc.c: In function ‘udf_table_new_block’:
    fs/udf/balloc.c:751: warning: ‘goal_eloc.logicalBlockNum’ may be used uninitialized in this function
    fs/udf/super.c: In function ‘udf_fill_super’:
    fs/udf/super.c:1358: warning: ‘ino.partitionReferenceNum’ may be used uninitialized in this function
    fs/xfs/xfs_dir.c: In function ‘xfs_dir_removename’:
    fs/xfs/xfs_dir.c:363: warning: ‘totallen’ may be used uninitialized in this function
    fs/xfs/xfs_dir.c:363: warning: ‘count’ may be used uninitialized in this function
    fs/xfs/xfs_inode.c: In function ‘xfs_ifree’:
    fs/xfs/xfs_inode.c:1960: warning: ‘last_offset’ may be used uninitialized in this function
    fs/xfs/xfs_inode.c:1958: warning: ‘last_dip’ may be used uninitialized in this function
    fs/xfs/xfs_log.c: In function ‘xlog_write’:
    fs/xfs/xfs_log.c:1749: warning: ‘iclog’ may be used uninitialized in this function
    fs/xfs/xfs_log_recover.c: In function ‘xlog_find_tail’:
    fs/xfs/xfs_log_recover.c:523: warning: ‘first_blk’ may be used uninitialized in this function
    ipc/msg.c: In function ‘sys_msgctl’:
    ipc/msg.c:338: warning: ‘setbuf.qbytes’ may be used uninitialized in this function
    ipc/msg.c:338: warning: ‘setbuf.uid’ may be used uninitialized in this function
    ipc/msg.c:338: warning: ‘setbuf.gid’ may be used uninitialized in this function
    ipc/msg.c:338: warning: ‘setbuf.mode’ may be used uninitialized in this function
    ipc/sem.c: In function ‘sys_semctl’:
    ipc/sem.c:810: warning: ‘setbuf.uid’ may be used uninitialized in this function
    ipc/sem.c:810: warning: ‘setbuf.gid’ may be used uninitialized in this function
    ipc/sem.c:810: warning: ‘setbuf.mode’ may be used uninitialized in this function
    drivers/char/ftape/lowlevel/fdc-io.c: In function ‘fdc_command’:
    drivers/char/ftape/lowlevel/fdc-io.c:217: warning: ‘restore_flags’ is deprecated (declared at include/linux/interrupt.h:84)
    drivers/char/ftape/lowlevel/fdc-io.c: In function ‘fdc_setup_formatting’:
    drivers/char/ftape/lowlevel/fdc-io.c:885: warning: ‘restore_flags’ is deprecated (declared at include/linux/interrupt.h:84)
    drivers/char/ftape/lowlevel/fdc-isr.c: In function ‘fdc_isr’:
    drivers/char/ftape/lowlevel/fdc-isr.c:1094: warning: ‘sti’ is deprecated (declared at include/linux/interrupt.h:75)
    drivers/char/ftape/lowlevel/ftape-io.c: In function ‘ftape_sleep’:
    drivers/char/ftape/lowlevel/ftape-io.c:98: warning: ‘save_flags’ is deprecated (declared at include/linux/interrupt.h:79)
    drivers/char/ftape/lowlevel/ftape-io.c:99: warning: ‘sti’ is deprecated (declared at include/linux/interrupt.h:75)
    drivers/char/ftape/lowlevel/ftape-io.c:106: warning: ‘restore_flags’ is deprecated (declared at include/linux/interrupt.h:84)
    drivers/char/ftape/lowlevel/ftape-format.c: In function ‘ftape_format_track’:
    drivers/char/ftape/lowlevel/ftape-format.c:135: warning: ‘restore_flags’ is deprecated (declared at include/linux/interrupt.h:84)
    drivers/char/ftape/zftape/zftape-read.c: In function ‘_zft_read’:
    drivers/char/ftape/zftape/zftape-read.c:298: warning: ‘req_clipped’ may be used uninitialized in this function
    drivers/char/ipmi/ipmi_si_intf.c: In function ‘init_ipmi_si’:
    drivers/char/ipmi/ipmi_si_intf.c:1797: warning: ‘data.irq’ may be used uninitialized in this function
    drivers/ide/ide-tape.c: In function ‘idetape_copy_stage_from_user’:
    drivers/ide/ide-tape.c:2663: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
    drivers/ide/ide-tape.c: In function ‘idetape_copy_stage_to_user’:
    drivers/ide/ide-tape.c:2690: warning: ignoring return value of ‘copy_to_user’, declared with attribute warn_unused_result
    drivers/input/serio/serio_raw.c: In function ‘serio_raw_read’:
    drivers/input/serio/serio_raw.c:164: warning: ‘c’ may be used uninitialized in this function
    drivers/message/i2o/exec-osm.c: In function ‘i2o_msg_post_wait_mem’:
    drivers/message/i2o/exec-osm.c:187: warning: comparison of distinct pointer types lacks a cast
    drivers/mtd/chips/cfi_cmdset_0020.c: In function ‘cfi_staa_init’:
    drivers/mtd/chips/cfi_cmdset_0020.c:1417: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:563)
    drivers/mtd/chips/cfi_cmdset_0020.c: In function ‘cfi_staa_exit’:
    drivers/mtd/chips/cfi_cmdset_0020.c:1423: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:564)
    drivers/mtd/chips/cfi_cmdset_0002.c: In function ‘cfi_amdstd_init’:
    drivers/mtd/chips/cfi_cmdset_0002.c:1766: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:563)
    drivers/mtd/chips/cfi_cmdset_0002.c: In function ‘cfi_amdstd_exit’:
    drivers/mtd/chips/cfi_cmdset_0002.c:1773: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:564)
    drivers/mtd/chips/cfi_cmdset_0001.c: In function ‘cfi_intelext_init’:
    drivers/mtd/chips/cfi_cmdset_0001.c:2454: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:563)
    drivers/mtd/chips/cfi_cmdset_0001.c:2455: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:563)
    drivers/mtd/chips/cfi_cmdset_0001.c:2456: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:563)
    drivers/mtd/chips/cfi_cmdset_0001.c: In function ‘cfi_intelext_exit’:
    drivers/mtd/chips/cfi_cmdset_0001.c:2462: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:564)
    drivers/mtd/chips/cfi_cmdset_0001.c:2463: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:564)
    drivers/mtd/chips/cfi_cmdset_0001.c:2464: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:564)
    drivers/mtd/chips/gen_probe.c: In function ‘cfi_cmdset_unknown’:
    drivers/mtd/chips/gen_probe.c:210: warning: ‘inter_module_put’ is deprecated (declared at include/linux/module.h:567)
    drivers/mtd/devices/doc2000.c: In function ‘init_doc2000’:
    drivers/mtd/devices/doc2000.c:1282: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:563)
    drivers/mtd/devices/doc2000.c: In function ‘cleanup_doc2000’:
    drivers/mtd/devices/doc2000.c:1301: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:564)
    drivers/mtd/devices/doc2001.c: In function ‘init_doc2001’:
    drivers/mtd/devices/doc2001.c:861: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:563)
    drivers/mtd/devices/doc2001.c: In function ‘cleanup_doc2001’:
    drivers/mtd/devices/doc2001.c:880: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:564)
    drivers/mtd/devices/doc2001plus.c: In function ‘init_doc2001plus’:
    drivers/mtd/devices/doc2001plus.c:1127: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:563)
    drivers/mtd/devices/doc2001plus.c: In function ‘cleanup_doc2001plus’:
    drivers/mtd/devices/doc2001plus.c:1146: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:564)
    drivers/mtd/devices/docprobe.c: In function ‘DoC_Probe’:
    drivers/mtd/devices/docprobe.c:315: warning: ‘inter_module_put’ is deprecated (declared at include/linux/module.h:567)
    drivers/mtd/redboot.c: In function ‘parse_redboot_partitions’:
    drivers/mtd/redboot.c:103: warning: passing argument 1 of ‘__swab32s’ from incompatible pointer type
    drivers/mtd/redboot.c:104: warning: passing argument 1 of ‘__swab32s’ from incompatible pointer type
    drivers/mtd/redboot.c:105: warning: passing argument 1 of ‘__swab32s’ from incompatible pointer type
    drivers/mtd/redboot.c:106: warning: passing argument 1 of ‘__swab32s’ from incompatible pointer type
    drivers/mtd/redboot.c:107: warning: passing argument 1 of ‘__swab32s’ from incompatible pointer type
    drivers/mtd/redboot.c:108: warning: passing argument 1 of ‘__swab32s’ from incompatible pointer type
    drivers/mtd/redboot.c:109: warning: passing argument 1 of ‘__swab32s’ from incompatible pointer type
    drivers/scsi/sata_svw.c: In function ‘k2_sata_tf_load’:
    drivers/scsi/sata_svw.c:115: warning: passing argument 2 of ‘writeb’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c:120: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c:121: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c:122: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c:123: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c:124: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c:126: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c:127: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c:128: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c:129: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c:130: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c:134: warning: passing argument 2 of ‘writeb’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c: In function ‘k2_sata_tf_read’:
    drivers/scsi/sata_svw.c:146: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c:147: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c:148: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c:149: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c:150: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast
    drivers/scsi/sata_svw.c:151: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c: In function ‘vsc_sata_tf_load’:
    drivers/scsi/sata_vsc.c:152: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c:153: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c:154: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c:155: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c:156: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c:158: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c:159: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c:160: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c:161: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c:162: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c:166: warning: passing argument 2 of ‘writeb’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c: In function ‘vsc_sata_tf_read’:
    drivers/scsi/sata_vsc.c:178: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c:179: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c:180: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c:181: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c:182: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c:183: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c: In function ‘vsc_sata_setup_port’:
    drivers/scsi/sata_vsc.c:320: warning: passing argument 2 of ‘writel’ makes pointer from integer without a cast
    drivers/scsi/sata_vsc.c:321: warning: passing argument 2 of ‘writel’ makes pointer from integer without a cast
    drivers/scsi/fdomain.c:425: warning: ‘ports’ defined but not used
    drivers/scsi/fdomain.c:469: warning: ‘signatures’ defined but not used
    drivers/scsi/fdomain.c:652: warning: ‘fdomain_get_irq’ defined but not used
    drivers/usb/misc/auerswald.c: In function ‘auerchain_control_msg’:
    drivers/usb/misc/auerswald.c:667: warning: ‘length’ may be used uninitialized in this function
    net/ipv4/netfilter/ip_conntrack_ftp.c: In function ‘help’:
    net/ipv4/netfilter/ip_conntrack_ftp.c:298: warning: ‘matchoff’ may be used uninitialized in this function
    net/ipv4/netfilter/ip_conntrack_ftp.c:298: warning: ‘matchlen’ may be used uninitialized in this function
    
    A jinak varování by měla být "OK", nás programátory zajímaj' jenom errory ;-)
    vasek125 avatar 24.8.2006 19:37 vasek125 | skóre: 30 | Mladá Boleslav
    Rozbalit Rozbalit vše Re: Vyladění jádra
    Jo, ale já jsem se na chvilku nedostal k mýmu pc, tak jsem odpovídal z jiného, kde je jen MS paskwil explorer, a tak se nedivim. Teď už by to určitě šlo. :-)
    24.8.2006 19:51 Michal Kubeček | skóre: 71 | Luštěnice
    Rozbalit Rozbalit vše Re: Vyladění jádra
    A jinak varování by měla být "OK", nás programátory zajímaj' jenom errory ;-)

    Tak to asi nejsem programátor, svůj kód se snažím psát podle zásady "0 warnings při -Wall". A už se mi to párkrát vyplatilo… :-)

    kozzi avatar 24.8.2006 19:56 kozzi | skóre: 55 | blog: vse_o_vsem | Pacman (Bratrušov)
    Rozbalit Rozbalit vše Re: Vyladění jádra
    No já osobně se zajímám jen o errory ale jinak pokud jde o můj projekt tak se snažím taky o 0 warnings pri -Wall ale nekdy se mi tam jeden nebo dva objevi a byva problem to vyresit.
    Linux je jako mušketýři "jeden za všechny, všichni za jednoho"
    24.8.2006 20:39 Filip Jirsák | skóre: 67 | blog: Fa & Bi
    Rozbalit Rozbalit vše Re: Vyladění jádra
    To byl jen odkaz na vtip ;-) Jinak se taky snažím psát tak, aby eclipse nezobrazovalo ani jeden žlutý trojúhelníček :-) Ale pokud překládám cizí program, warningy nejsou až tak důležité. A ono zrovna jádro asi bude používat konstrukce, které nejsou zrovna obvyklé…
    25.8.2006 00:45 diverman | skóre: 32 | blog: život s tučňáčkem
    Rozbalit Rozbalit vše Re: Vyladění jádra
    tááák ;-) moje oblíbené volby jsou -Wall -ansi -pedantic
    deb http://ftp.cz.debian.org/debian jessie main contrib non-free
    24.8.2006 18:49 Krystl
    Rozbalit Rozbalit vše Re: Vyladění jádra
    seznam modulu, co potrebujes najdes treba tady:
    http://kmuto.jp/debian/hcl/index.cgi
    Krystl
    24.8.2006 21:27 Jan Včelák | skóre: 28 | blog: Fcelda
    Rozbalit Rozbalit vše Re: Vyladění jádra
    Zkuste se podívat na video z avc.sh.cvut.cz - urcite se neco priucite, ja jsem se take priucil.
    vasek125 avatar 24.8.2006 22:57 vasek125 | skóre: 30 | Mladá Boleslav
    Rozbalit Rozbalit vše Re: Vyladění jádra
    Ale řekněte, jak se vyvarovat těm warning, docela mě to kraká. Mám gcc 4.1.
    kozzi avatar 24.8.2006 23:21 kozzi | skóre: 55 | blog: vse_o_vsem | Pacman (Bratrušov)
    Rozbalit Rozbalit vše Re: Vyladění jádra
    no napriklad muzes udelat toto make > /dev/null
    Linux je jako mušketýři "jeden za všechny, všichni za jednoho"
    24.8.2006 23:33 pasmen | skóre: 45 | blog: glob | Praha
    Rozbalit Rozbalit vše Re: Vyladění jádra
    Nebo mozna spis make 2> /dev/null
    kozzi avatar 24.8.2006 23:42 kozzi | skóre: 55 | blog: vse_o_vsem | Pacman (Bratrušov)
    Rozbalit Rozbalit vše Re: Vyladění jádra
    jo mas pravdu jen je dost nahoubi ze tak se mu schoovaji i errory
    Linux je jako mušketýři "jeden za všechny, všichni za jednoho"
    24.8.2006 23:51 pasmen | skóre: 45 | blog: glob | Praha
    Rozbalit Rozbalit vše Re: Vyladění jádra
    make | sed '/^.*[Ww]arning.*$/d'
    24.8.2006 23:59 Ritchie | skóre: 27 | blog: Ritchie's | Berlin
    Rozbalit Rozbalit vše Re: Vyladění jádra
    grep -v
    25.8.2006 00:10 pasmen | skóre: 45 | blog: glob | Praha
    Rozbalit Rozbalit vše Re: Vyladění jádra
    Soubor x obsahuje 10000 radku
    warning: bla bla bla
    Vysledky:
    [pasmen@nyx tmp]$ time cat x | sed '/^.*[Ww]arning.*$/d' 
    real    0m0.107s
    user    0m0.097s
    sys     0m0.002s
    [pasmen@nyx tmp]$ time cat x | grep -v '[Ww]arning' 
    real    0m21.110s
    user    0m19.641s
    sys     0m0.104s
    :D
    25.8.2006 00:33 Michal Kubeček | skóre: 71 | Luštěnice
    Rozbalit Rozbalit vše Re: Vyladění jádra
    To je sice zajímavé, ale vypovídací hodnota je úplně nulová. Co takhle místo cat měřit, jak dlouho běží sed a grep?
    25.8.2006 01:22 Ritchie | skóre: 27 | blog: Ritchie's | Berlin
    Rozbalit Rozbalit vše Re: Vyladění jádra
    Dalšího komentáře snad netřeba:
    time (cat x | sed '/^.*[Ww]arning.*$/d')
    real    0m0.071s
    user    0m0.044s
    sys     0m0.004s
    
    time (grep -v '[Ww]arning' x)
    real    0m0.006s
    user    0m0.004s
    sys     0m0.000s
    vasek125 avatar 25.8.2006 00:01 vasek125 | skóre: 30 | Mladá Boleslav
    Rozbalit Rozbalit vše Re: Vyladění jádra
    Já měl namysli např. upravit gcc ... Jak to dělaj distribuce při vytváření balíčků? Taky si snad musejí zkompilovat jádro ze zdrojových kódů a potom z toho vytvořit balíček. Ty tam asi takovejch warnings nemaj nebo jo?

    Založit nové vláknoNahoru

    Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

    ISSN 1214-1267   www.czech-server.cz
    © 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.