Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Witam
Próbuję sobie skompilować kernela 3.7.4(dla nauki i optymalizacji) opcją localmodconfig jednak za każdym razem mam ten sam błąd po pewnym czasie
CC drivers/video/efifb.o CC drivers/video/output.o LD drivers/video/built-in.o LD drivers/built-in.o make[2]: *** Brak reguł do zrobienia obiektu `n/n', wymaganego przez `firmware/n.gen.o'. Stop. make[1]: *** [firmware] Błąd 2 make[1]: Opuszczenie katalogu `/usr/src/linux-3.7.4' make: *** [debian/stamp/build/kernel] Błąd 2 root@debian:/usr/src/linux-3.7.4#
Kompiluje w ten sposób
cd Pulpit tar -xvf linux-3.7.4.tar.bz2 -C /usr/src/ cd /usr/src/linux-3.7.4/ make localmodconfig make-kpkg --initrd kernel-image kernel-headers
Make localmodconfig
root@debian:/home/kamil# cd /usr/src/linux-3.7.4/ root@debian:/usr/src/linux-3.7.4# rm .config root@debian:/usr/src/linux-3.7.4# make localmodconfigusing config: '/proc/config.gz' osscore config not found!! oss_via823x config not found!! oss_usb config not found!! * * Restart config... * * * Generic Driver Options * path to uevent helper (UEVENT_HELPER_PATH) [] Maintain a devtmpfs filesystem to mount at /dev (DEVTMPFS) [Y/n/?] y Automount devtmpfs at /dev, after the kernel mounted the rootfs (DEVTMPFS_MOUNT) [Y/n/?] y Select only drivers that don't need compile-time external firmware (STANDALONE) [Y/n/?] y Prevent firmware from being built (PREVENT_FIRMWARE_BUILD) [Y/n/?] y Userspace firmware loading support (FW_LOADER) [Y/?] y Include in-kernel firmware blobs in kernel binary (FIRMWARE_IN_KERNEL) [N/y/?] n External firmware blobs to build into the kernel binary (EXTRA_FIRMWARE) [] (NEW) n Firmware blobs root directory (EXTRA_FIRMWARE_DIR) [firmware] (NEW) n Contiguous Memory Allocator (EXPERIMENTAL) (CMA) [N/y/?] n * * GPIO Support * GPIO Support (GPIOLIB) [Y/?] y /sys/class/gpio/... (sysfs interface) (GPIO_SYSFS) [Y/n/?] y * * Memory mapped GPIO drivers: * Generic memory-mapped GPIO controller support (MMIO platform device) (GPIO_GENERIC_PLATFORM) [N/m/y/?] n IT8761E GPIO support (GPIO_IT8761E) [N/m/y/?] n Intel SCH/TunnelCreek/Centerton GPIO (GPIO_SCH) [N/m/y/?] n Intel ICH GPIO (GPIO_ICH) [N/m/y/?] n VIA VX855/VX875 GPIO (GPIO_VX855) [N/m/y/?] n * * I2C GPIO expanders: * Maxim MAX7300 GPIO expander (GPIO_MAX7300) [N/m/y/?] n MAX7319, MAX7320-7327 I2C Port Expanders (GPIO_MAX732X) [N/m/y/?] n PCA953x, PCA955x, PCA957x, TCA64xx, and MAX7310 I/O ports (GPIO_PCA953X) [N/m/y/?] n PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders (GPIO_PCF857X) [N/m/y/?] n RICOH RC5T583 GPIO (GPIO_RC5T583) [N/y/?] n Semtech SX150x I2C GPIO expander (GPIO_SX150X) [N/y/?] n TWL6040 GPO (GPIO_TWL6040) [N/m/y/?] n ADP5588 I2C GPIO expander (GPIO_ADP5588) [N/m/y/?] n Avionic Design N-bit GPIO expander (GPIO_ADNP) [N/m/y/?] n * * PCI GPIO expanders: * BT8XX GPIO abuser (GPIO_BT8XX) [N/m/y/?] (NEW) n AMD 8111 GPIO driver (GPIO_AMD8111) [N/m/y/?] n Intel Langwell/Penwell GPIO support (GPIO_LANGWELL) [Y/n/?] y Intel EG20T PCH/LAPIS Semiconductor IOH(ML7223/ML7831) GPIO (GPIO_PCH) [N/m/y/?] n OKI SEMICONDUCTOR ML7213 IOH GPIO support (GPIO_ML_IOH) [N/m/y/?] n Intel Sodaville GPIO support (GPIO_SODAVILLE) [N/y/?] n RDC R-321x GPIO support (GPIO_RDC321X) [N/m/y/?] n * * SPI GPIO expanders: * Microchip MCP23xxx I/O expander (GPIO_MCP23S08) [N/m/y/?] n * * AC97 GPIO expanders: * * * MODULbus GPIO expanders: * * * Support for frame buffer devices * Support for frame buffer devices (FB) [Y/n/m/?] y Enable firmware EDID (FIRMWARE_EDID) [Y/n/?] y Enable Video Mode Handling Helpers (FB_MODE_HELPERS) [Y/n/?] y Enable Tile Blitting Support (FB_TILEBLITTING) [Y/n/?] y * * Frame buffer hardware drivers * Cirrus Logic support (FB_CIRRUS) [N/m/y/?] n Permedia2 support (FB_PM2) [N/m/y/?] n CyberPro 2000/2010/5000 support (FB_CYBER2000) [N/m/y/?] n Arc Monochrome LCD board support (FB_ARC) [N/m/y/?] n Asiliant (Chips) 69000 display support (FB_ASILIANT) [N/y/?] n IMS Twin Turbo display support (FB_IMSTT) [N/y/?] n VGA 16-color graphics support (FB_VGA16) [N/m/y/?] n Userspace VESA VGA graphics support (FB_UVESA) [N/m/y/?] n VESA VGA graphics support (FB_VESA) [Y/n/?] y EFI-based Framebuffer Support (FB_EFI) [Y/n/?] y N411 Apollo/Hecuba devkit support (FB_N411) [N/m/y/?] n Hercules mono graphics support (FB_HGA) [N/m/y/?] n Epson S1D13XXX framebuffer support (FB_S1D13XXX) [N/m/y/?] n nVidia Framebuffer Support (FB_NVIDIA) [N/m/y/?] (NEW) n nVidia Riva support (FB_RIVA) [N/m/y/?] (NEW) n Intel740 support (EXPERIMENTAL) (FB_I740) [N/m/y/?] n Intel LE80578 (Vermilion) support (FB_LE80578) [N/m/y/?] n Matrox acceleration (FB_MATROX) [N/m/y/?] n ATI Radeon display support (FB_RADEON) [N/m/y/?] n ATI Rage128 display support (FB_ATY128) [N/m/y/?] n ATI Mach64 display support (FB_ATY) [N/m/y/?] n S3 Trio/Virge support (FB_S3) [N/m/y/?] n S3 Savage support (FB_SAVAGE) [N/m/y/?] n SiS/XGI display support (FB_SIS) [N/m/y/?] n VIA UniChrome (Pro) and Chrome9 display support (FB_VIA) [N/m/y/?] n NeoMagic display support (FB_NEOMAGIC) [N/m/y/?] n IMG Kyro support (FB_KYRO) [N/m/y/?] n 3Dfx Banshee/Voodoo3/Voodoo5 display support (FB_3DFX) [N/m/y/?] n 3Dfx Voodoo Graphics (sst1) support (FB_VOODOO1) [N/m/y/?] n VIA VT8623 support (FB_VT8623) [N/m/y/?] n Trident/CyberXXX/CyberBlade support (FB_TRIDENT) [N/m/y/?] n ARK 2000PV support (FB_ARK) [N/m/y/?] n Permedia3 support (EXPERIMENTAL) (FB_PM3) [N/m/y/?] n Fujitsu carmine frame buffer support (FB_CARMINE) [N/m/y/?] n AMD Geode family framebuffer support (EXPERIMENTAL) (FB_GEODE) [N/y/?] n Toshiba Mobile IO FrameBuffer support (FB_TMIO) [N/m/y/?] n SMSC UFX6000/7000 USB Framebuffer support (FB_SMSCUFX) [N/m/?] n Displaylink USB Framebuffer support (FB_UDL) [N/m/?] n Virtual Frame Buffer support (ONLY FOR TESTING!) (FB_VIRTUAL) [N/m/y/?] n E-Ink Metronome/8track controller support (FB_METRONOME) [N/m/y/?] n Fujitsu MB862xx GDC support (FB_MB862XX) [N/m/y/?] n E-Ink Broadsheet/Epson S1D13521 controller support (FB_BROADSHEET) [N/m/y/?] n AUO-K190X EPD controller support (FB_AUO_K190X) [N/m/y/?] n * * Staging drivers * Staging drivers (STAGING) [Y/n/?] y Agere ET-1310 Gigabit Ethernet support (ET131X) [N/m/y/?] n Alacritech Gigabit IS-NIC support (SLICOSS) [N/m/y/?] n USB/IP support (USBIP_CORE) [N/m/?] n IS89C35 WLAN USB driver (W35UND) [N/m/?] n Prism2.5/3 USB driver (PRISM2_USB) [N/m/?] n Line Echo Canceller support (ECHO) [N/m/y/?] n Data acquisition support (comedi) (COMEDI) [N/m/?] n One Laptop Per Child Display CONtroller support (FB_OLPC_DCON) [N/m/y/?] n Asus OLED driver (ASUS_OLED) [N/m/?] n RealTek RTL8187SE Wireless LAN NIC driver (R8187SE) [N/m/?] n RealTek RTL8192U Wireless LAN NIC driver (RTL8192U) [N/m/?] n Support for rtllib wireless devices (RTLLIB) [N/m/?] n RealTek RTL8712U (RTL8192SU) Wireless LAN NIC driver (R8712U) [N/m/?] n RealTek PCI-E Card Reader support (RTS_PSTOR) [N/m/?] n Realtek RTS5139 USB card reader support (RTS5139) [N/m/?] n Frontier Tranzport and Alphatrack support (TRANZPORT) [N/m/?] n PCIE ATA PS5000 IDE support (IDE_PHISON) [N/m/?] n VIA Technologies VT6655 support (VT6655) [N/m/?] n VIA Technologies VT6656 support (VT6656) [N/m/?] n Discretix SEP driver (DX_SEP) [N/m/y/?] n Memory allocator for compressed pages (ZSMALLOC) [N/m/y/?] n Agere Systems HERMES II Wireless PC Card Model 0110 (WLAGS49_H2) [N/m/?] (NEW) n Linksys HERMES II.5 WCF54G_Wireless-G_CompactFlash_Card (WLAGS49_H25) [N/m/?] (NEW) n Silicon Motion SM7XX framebuffer support (FB_SM7XX) [N/m/y/?] n Broadcom Crystal HD video decoder support (CRYSTALHD) [N/m/y/?] n XGI display support (FB_XGI) [N/m/y/?] n ACPI Quickstart key driver (ACPI_QUICKSTART) [N/m/y/?] n USB ENE SM card reader support (USB_ENESTORAGE) [N/m/?] (NEW) n Beceem BCS200/BCS220-3 and BCSM250 wimax support (BCM_WIMAX) [N/m/?] n Drivers for Flarion ft1000 devices (FT1000) [N/m/y] n Synaptics Clearpad TM1217 (TOUCHSCREEN_CLEARPAD_TM1217) [N/m/y/?] n Synaptics i2c rmi4 touchscreen (TOUCHSCREEN_SYNAPTICS_I2C_RMI4) [N/m/y/?] n USB over WiFi Host Controller (USB_WPAN_HCD) [N/m/?] n Dynamic compression of swap pages and clean pagecache pages (ZCACHE2) [N/y/?] n Silicom devices (NET_VENDOR_SILICOM) [N/y/?] n Cambridge Electronic Design 1401 USB support (CED1401) [N/m/?] n Digi Realport driver (DGRP) [N/m/y/?] n * * Security options * Enable access key retention support (KEYS) [Y/n/?] y TRUSTED KEYS (TRUSTED_KEYS) [N/m/y/?] n ENCRYPTED KEYS (ENCRYPTED_KEYS) [N/m/y/?] n Enable the /proc/keys file by which keys may be viewed (KEYS_DEBUG_PROC_KEYS) [N/y/?] n Restrict unprivileged access to the kernel syslog (SECURITY_DMESG_RESTRICT) [N/y/?] n Enable different security models (SECURITY) [Y/n/?] y Enable the securityfs filesystem (SECURITYFS) [Y/?] y Socket and Networking Security Hooks (SECURITY_NETWORK) [Y/n/?] y Security hooks for pathname based access control (SECURITY_PATH) [N/y/?] n Enable Intel(R) Trusted Execution Technology (Intel(R) TXT) (INTEL_TXT) [Y/n/?] y Low address space for LSM to protect from user allocation (LSM_MMAP_MIN_ADDR) [65536] 65536 NSA SELinux Support (SECURITY_SELINUX) [Y/n/?] y NSA SELinux boot parameter (SECURITY_SELINUX_BOOTPARAM) [Y/n/?] y NSA SELinux boot parameter default value (SECURITY_SELINUX_BOOTPARAM_VALUE) [0] 0 NSA SELinux runtime disable (SECURITY_SELINUX_DISABLE) [Y/n/?] y NSA SELinux Development Support (SECURITY_SELINUX_DEVELOP) [Y/n/?] y NSA SELinux AVC Statistics (SECURITY_SELINUX_AVC_STATS) [Y/n/?] y NSA SELinux checkreqprot default value (SECURITY_SELINUX_CHECKREQPROT_VALUE) [1] 1 NSA SELinux maximum supported policy format version (SECURITY_SELINUX_POLICYDB_VERSION_MAX) [N/y/?] n Simplified Mandatory Access Control Kernel Support (SECURITY_SMACK) [N/y/?] n TOMOYO Linux Support (SECURITY_TOMOYO) [N/y/?] n AppArmor support (SECURITY_APPARMOR) [N/y/?] n Yama support (SECURITY_YAMA) [N/y/?] n Digital signature verification using multiple keyrings (INTEGRITY_SIGNATURE) [Y/n/?] y Integrity Measurement Architecture(IMA) (IMA) [Y/n/?] y Enables auditing support (IMA_AUDIT) [Y/n/?] y Appraise integrity measurements (IMA_APPRAISE) [N/y/?] n EVM support (EVM) [N/y/?] (NEW) n Default security module > 1. SELinux (DEFAULT_SECURITY_SELINUX) 2. Unix Discretionary Access Controls (DEFAULT_SECURITY_DAC) choice[1-2?]: 1 # # configuration written to .config # root@debian:/usr/src/linux-3.7.4#
lsmod
kamil@debian:~$ lsmod Module Size Used by via 28303 2 drm 154889 3 via af_packet 19327 4 cpufreq_powersave 599 0 cpufreq_conservative 3590 0 cpufreq_stats 2632 0 oss_usb 95180 0 oss_via823x 9515 0 osscore 547013 2 oss_via823x,oss_usb loop 11519 0 arc4 1432 2 ath9k_htc 42167 0 ath9k_common 1397 1 ath9k_htc ath9k_hw 309937 2 ath9k_common,ath9k_htc joydev 6560 0 ath 10954 3 ath9k_common,ath9k_htc,ath9k_hw i2c_viapro 4145 0 mac80211 196547 1 ath9k_htc cfg80211 125103 3 ath,mac80211,ath9k_htc rfkill 10685 2 cfg80211 via_ircc 11798 0 powernow_k8 8855 0 pcmcia 25014 0 k8temp 2444 0 pcspkr 1297 0 psmouse 59531 0 evdev 6681 11 serio_raw 3199 0 yenta_socket 15854 0 pcmcia_rsrc 6023 1 yenta_socket pcmcia_core 8462 3 pcmcia,pcmcia_rsrc,yenta_socket amd64_agp 5700 1 irda 72114 1 via_ircc crc_ccitt 1032 1 irda video 9647 0 shpchp 18888 0 pci_hotplug 7848 1 shpchp battery 5419 0 ac 1777 0 processor 24001 2 powernow_k8 button 3537 0 hid_generic 658 0 usbhid 26907 0 hid 59029 2 hid_generic,usbhid xfs 410720 1 sg 16594 0 sd_mod 29898 2 sr_mod 11395 0 crc_t10dif 1005 1 sd_mod cdrom 26021 1 sr_mod ata_generic 2203 0 pata_acpi 2016 0 pata_via 6666 1 libata 120921 3 pata_acpi,pata_via,ata_generic via_rhine 15641 0 scsi_mod 104889 4 sg,libata,sd_mod,sr_mod mii 2816 1 via_rhine thermal 6626 0 uhci_hcd 16157 0 ehci_hcd 33191 0 usbcore 108751 5 uhci_hcd,ehci_hcd,usbhid,ath9k_htc,oss_usb usb_common 575 1 usbcore kamil@debian:~$
lspci
kamil@debian:~$ lspci 00:00.0 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge 00:00.1 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge 00:00.2 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge 00:00.3 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge 00:00.4 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge 00:00.7 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge 00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/8251 PCI bridge [K8M890/K8T800/K8T890 South] 00:09.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01) 00:10.0 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) 00:10.1 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) 00:10.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) 00:10.3 USB controller: VIA Technologies, Inc. USB 2.0 (rev 82) 00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge 00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50) 00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80) 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74) 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 01:00.0 VGA compatible controller: VIA Technologies, Inc. K8M800/K8N800/K8N800A [S3 UniChrome Pro] (rev 01) kamil@debian:~$
Robię coś źle?Na czym polega problem?
[quote=make help]localmodconfig - Update current config disabling modules not loaded[/quote]
Czyli nie:
rm .config
i jazda, tylko
cp /boot/config-`uname -r` .config make localmodconfig
Wtedy nie będziesz musiał odpowiadać na pytania. Może źle coś odpowiadasz i tu jest błąd.
Poza tym wydaje mi się że:
tar xjvf ...
jak coś. No i spróbuj na początek samo:
make
Jak to nie pójdzie to będziemy się martwić dalej.
Ostatnio edytowany przez P@blo (2013-02-10 13:24:04)
Offline
[quote=P@blo]
cp /boot/config-`uname -r` .config make localmodconfig
[/quote]
Kopiujesz dystrybucyjny konfig gdzie niemal wszystko jest zaznaczone jako moduły i zaznaczasz w nim aktualnie załadowane moduły jako moduły. :) Jeśli faktycznie jak piszesz chcesz się nauczyć kompilacji/konfiguracji kernela, to polecam raczej [url]kernel-seeds.org[/url] (konfigi + opisy) niż automagicznie tworzące konfig narzędzia.
Offline
No masz racje... :p Trochę zamieszany jestem.
Offline
Dodam tylko, że kiedy ostatnio zaglądałem do README, to przy make local{mod|yes}config było napisane, żeby sprawdzić, czy wynik jest taki, jak pacjent oczekuje.
Jak zawsze, żeby korzystać z automagicznych konfiguratorów, najpierw trzeba dokładnie wiedzieć, jak sobie poradzić bez nich, żeby móc ocenić prawidłowość wyniku takiej automagii.
W ogóle pliczek README w źródłach kernela, to bardzo ciekawa lektura do poduszki ;)
PS:
Najnowsze obecnie jajo, to 3.7.6, nie czaję, po co kompilować starsze, o ile nie jest to warunek konieczny dla jakichś łatek, których nie ma na nowsze wersje.
Pozdrawiam
;-)
Ostatnio edytowany przez Jacekalex (2013-02-10 18:37:36)
Offline
Udało się,skompilowałem ten kernel :) .Specjalnie wziąłem wersje 3.7.4 bo z aptosida ją miałem wcześniej i działała a wersja 3.7.6 już nie więc chciałem mieć pewność,że dobrze skonfigurowałem kernela a nie myśleć czy to przez nowszą wersje nie chce się odpalić.Wielkie dzięki za szybką i fachową pomoc ;)
Strony: 1
Time (s) | Query |
---|---|
0.00010 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00119 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='52.15.72.229' WHERE u.id=1 |
0.00226 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '52.15.72.229', 1732686926) |
0.00032 | SELECT * FROM punbb_online WHERE logged<1732686626 |
0.00041 | SELECT topic_id FROM punbb_posts WHERE id=224008 |
0.00022 | SELECT id FROM punbb_posts WHERE topic_id=22920 ORDER BY posted |
0.00032 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=22920 AND t.moved_to IS NULL |
0.00030 | SELECT search_for, replace_with FROM punbb_censoring |
0.00099 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=22920 ORDER BY p.id LIMIT 0,25 |
0.00105 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=22920 |
Total query time: 0.0072 s |