すでに 2.6.23 が portage 上にお目見えしていますが(maskされてるけど)、未だに 2.6.21 カーネルを使っています。 2.6.22 を普通に genkernel すると・・・
# genkernel –makeopts=-j3 –kernel-config=/etc/kernels/kernel-config-x86_64-2.6.22-gentoo-
r8 all
* Gentoo Linux Genkernel; Version 3.4.8
* Running with options: –makeopts=-j3 –kernel-config=/etc/kernels/kernel-config-x86_64-2.6.22-gentoo-r8 all* Linux Kernel 2.6.22-gentoo-r8 for x86_64…
* kernel: >> Running mrproper…
* config: Using config from /etc/kernels/kernel-config-x86_64-2.6.22-gentoo-r8
* Previous config backed up to .config.bak
* >> Running oldconfig…
* kernel: >> Cleaning…
* ERROR: Failed to compile the “prepare” target…* — Grepping log… –
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -o arch/x86_64/Kconfig
.config:171:warning: trying to assign nonexistent symbol REORDER
.config:201:warning: trying to assign nonexistent symbol ACPI_IBM
.config:202:warning: trying to assign nonexistent symbol ACPI_IBM_BAY
.config:300:warning: trying to assign nonexistent symbol NETDEBUG
.config:378:warning: trying to assign nonexistent symbol NF_CONNTRACK_SUPPORT
.config:379:warning: trying to assign nonexistent symbol IP_NF_CONNTRACK_SUPPORT
.config:756:warning: trying to assign nonexistent symbol AIC79XX_ENABLE_RD_STRM
.config:825:warning: trying to assign nonexistent symbol SATA_INTEL_COMBINED
.config:826:warning: trying to assign nonexistent symbol SATA_ACPI
.config:908:warning: trying to assign nonexistent symbol IEEE1394_EXTRA_CONFIG_ROMS
.config:909:warning: trying to assign nonexistent symbol IEEE1394_CONFIG_ROM_IP1394
.config:1094:warning: trying to assign nonexistent symbol NET_RADIO
.config:1095:warning: trying to assign nonexistent symbol NET_WIRELESS_RTNETLINK
.config:1158:warning: trying to assign nonexistent symbol NET_WIRELESS
.config:1466:warning: trying to assign nonexistent symbol DVB
.config:1545:warning: trying to assign nonexistent symbol SPEAKUP
.config:1546:warning: trying to assign nonexistent symbol SPEAKUP_ACNTSA
.config:1547:warning: trying to assign nonexistent symbol SPEAKUP_ACNTPC
.config:1548:warning: trying to assign nonexistent symbol SPEAKUP_APOLLO
.config:1549:warning: trying to assign nonexistent symbol SPEAKUP_AUDPTR
.config:1550:warning: trying to assign nonexistent symbol SPEAKUP_BNS
.config:1551:warning: trying to assign nonexistent symbol SPEAKUP_DECTLK
.config:1552:warning: trying to assign nonexistent symbol SPEAKUP_DECEXT
.config:1553:warning: trying to assign nonexistent symbol SPEAKUP_DECPC
.config:1554:warning: trying to assign nonexistent symbol SPEAKUP_DTLK
.config:1555:warning: trying to assign nonexistent symbol SPEAKUP_KEYPC
.config:1556:warning: trying to assign nonexistent symbol SPEAKUP_LTLK
.config:1557:warning: trying to assign nonexistent symbol SPEAKUP_SFTSYN
.config:1558:warning: trying to assign nonexistent symbol SPEAKUP_SPKOUT
.config:1559:warning: trying to assign nonexistent symbol SPEAKUP_TXPRT
.config:1564:warning: trying to assign nonexistent symbol SPEAKUP_DEFAULT
.config:1652:warning: trying to assign nonexistent symbol USB_AIPTEK
.config:1653:warning: trying to assign nonexistent symbol USB_WACOM
.config:1654:warning: trying to assign nonexistent symbol USB_ACECAD
.config:1655:warning: trying to assign nonexistent symbol USB_KBTAB
.config:1656:warning: trying to assign nonexistent symbol USB_POWERMATE
.config:1657:warning: trying to assign nonexistent symbol USB_TOUCHSCREEN
.config:1658:warning: trying to assign nonexistent symbol USB_YEALINK
.config:1659:warning: trying to assign nonexistent symbol USB_XPAD
.config:1660:warning: trying to assign nonexistent symbol USB_ATI_REMOTE
.config:1661:warning: trying to assign nonexistent symbol USB_ATI_REMOTE2
.config:1662:warning: trying to assign nonexistent symbol USB_KEYSPAN_REMOTE
.config:1663:warning: trying to assign nonexistent symbol USB_APPLETOUCH
.config:1664:warning: trying to assign nonexistent symbol USB_GTCO
.config:1828:warning: symbol value ‘m’ invalid for RTC_INTF_SYSFS
.config:1829:warning: symbol value ‘m’ invalid for RTC_INTF_PROC
.config:1830:warning: symbol value ‘m’ invalid for RTC_INTF_DEV
–
* Bus options (PCI etc.)
*
PCI support (PCI) [Y/n] y
Support mmconfig PCI config space access (PCI_MMCONFIG) [Y/n] y
PCI Express support (PCIEPORTBUS) [Y/n/?] y
Root Port Advanced Error Reporting support (PCIEAER) [Y/n/?] y
–
SCSI media changer support (CHR_DEV_SCH) [N/m/y/?] n
*
* Some SCSI devices (e.g. CD jukebox) support multiple LUNs
*
Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [N/y/?] n
Verbose SCSI error reporting (kernel size +=12K) (SCSI_CONSTANTS) [N/y/?] n
–
IP-over-InfiniBand Connected Mode support (INFINIBAND_IPOIB_CM) [N/y/?] n
IP-over-InfiniBand debugging (INFINIBAND_IPOIB_DEBUG) [N/y/?] n
InfiniBand SCSI RDMA Protocol (INFINIBAND_SRP) [M/n/?] m
iSCSI Extensions for RDMA (iSER) (INFINIBAND_ISER) [M/n/?] m
*
* EDAC – error detection and reporting (RAS) (EXPERIMENTAL)
*
EDAC core system error reporting (EXPERIMENTAL) (EDAC) [N/m/y/?] n
–
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from include/linux/module.h:9,
from include/linux/crypto.h:21,
from arch/x86_64/kernel/asm-offsets.c:7:
include/asm/page.h:89:2: error: #error “CONFIG_PHYSICAL_START must be a multiple of 2MB”
make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
* Gentoo Linux Genkernel; Version 3.4.8
* Running with options: –makeopts=-j3 –kernel-config=/etc/kernels/kernel-config-x86_64-2.6.22-gentoo-r8 all* ERROR: Failed to compile the “prepare” target…
* — End log… –
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*
と言われてしまう。
どうやら、Config ファイルの大幅な変更が生じた様なのだけど、amd64 ではダメで x86 では OK というのがよくわからない。
/usr/share/genkernel/x86_64/kernel-config-2.6
を使ってみてもダメ
# genkernel –makeopts=-j3 –kernel-config=/usr/share/genkernel/x86_64/kernel-config-2.6
all
* Gentoo Linux Genkernel; Version 3.4.8
* Running with options: –makeopts=-j3 –kernel-config=/usr/share/genkernel/x86_64/kernel-config-2.6 all* Linux Kernel 2.6.22-gentoo-r8 for x86_64…
* kernel: >> Running mrproper…
* config: Using config from /usr/share/genkernel/x86_64/kernel-config-2.6
* Previous config backed up to .config.bak
* >> Running oldconfig…
* kernel: >> Cleaning…
* ERROR: Failed to compile the “prepare” target…* — Grepping log… –
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -o arch/x86_64/Kconfig
.config:47:warning: trying to assign nonexistent symbol VM86
.config:148:warning: trying to assign nonexistent symbol GART_IOMMU
.config:161:warning: trying to assign nonexistent symbol REORDER
.config:182:warning: trying to assign nonexistent symbol ACPI_HOTKEY
.config:188:warning: trying to assign nonexistent symbol ACPI_IBM
.config:189:warning: trying to assign nonexistent symbol ACPI_IBM_DOCK
.config:288:warning: trying to assign nonexistent symbol NETDEBUG
.config:351:warning: trying to assign nonexistent symbol NET_DIVERT
.config:512:warning: trying to assign nonexistent symbol PARIDE_PARPORT
.config:594:warning: trying to assign nonexistent symbol IDEDMA_PCI_AUTO
.config:625:warning: trying to assign nonexistent symbol IDEDMA_AUTO
.config:679:warning: trying to assign nonexistent symbol AIC79XX_ENABLE_RD_STRM
.config:688:warning: trying to assign nonexistent symbol SCSI_SATA
.config:689:warning: trying to assign nonexistent symbol SCSI_SATA_AHCI
.config:690:warning: trying to assign nonexistent symbol SCSI_SATA_SVW
.config:691:warning: trying to assign nonexistent symbol SCSI_ATA_PIIX
.config:692:warning: trying to assign nonexistent symbol SCSI_SATA_MV
.config:693:warning: trying to assign nonexistent symbol SCSI_SATA_NV
.config:694:warning: trying to assign nonexistent symbol SCSI_PDC_ADMA
.config:695:warning: trying to assign nonexistent symbol SCSI_SATA_QSTOR
.config:696:warning: trying to assign nonexistent symbol SCSI_SATA_PROMISE
.config:697:warning: trying to assign nonexistent symbol SCSI_SATA_SX4
.config:698:warning: trying to assign nonexistent symbol SCSI_SATA_SIL
.config:699:warning: trying to assign nonexistent symbol SCSI_SATA_SIL24
.config:700:warning: trying to assign nonexistent symbol SCSI_SATA_SIS
.config:701:warning: trying to assign nonexistent symbol SCSI_SATA_ULI
.config:702:warning: trying to assign nonexistent symbol SCSI_SATA_VIA
.config:703:warning: trying to assign nonexistent symbol SCSI_SATA_VITESSE
.config:704:warning: trying to assign nonexistent symbol SCSI_SATA_INTEL_COMBINED
.config:731:warning: trying to assign nonexistent symbol SCSI_QLA2XXX_EMBEDDED_FIRMWARE
.config:753:warning: trying to assign nonexistent symbol MD_RAID5
.config:755:warning: trying to assign nonexistent symbol MD_RAID6
.config:787:warning: trying to assign nonexistent symbol IEEE1394_OUI_DB
.config:788:warning: trying to assign nonexistent symbol IEEE1394_EXTRA_CONFIG_ROMS
.config:789:warning: trying to assign nonexistent symbol IEEE1394_CONFIG_ROM_IP1394
.config:790:warning: trying to assign nonexistent symbol IEEE1394_EXPORT_FULL_API
.config:955:warning: trying to assign nonexistent symbol NET_RADIO
.config:956:warning: trying to assign nonexistent symbol NET_WIRELESS_RTNETLINK
.config:978:warning: trying to assign nonexistent symbol IPW_QOS
.config:1015:warning: trying to assign nonexistent symbol NET_WIRELESS
.config:1038:warning: trying to assign nonexistent symbol SYNCLINK_SYNCPPP
.config:1055:warning: trying to assign nonexistent symbol DLCI_COUNT
.config:1451:warning: symbol value ‘m’ invalid for VIDEO_V4L2
.config:1532:warning: trying to assign nonexistent symbol DVB
.config:1535:warning: trying to assign nonexistent symbol VIDEO_VIDEOBUF
.config:1551:warning: trying to assign nonexistent symbol FB_FIRMWARE_EDID
.config:1604:warning: trying to assign nonexistent symbol BACKLIGHT_DEVICE
.config:1606:warning: trying to assign nonexistent symbol LCD_DEVICE
.config:1612:warning: trying to assign nonexistent symbol SPEAKUP
.config:1613:warning: trying to assign nonexistent symbol SPEAKUP_ACNTSA
.config:1614:warning: trying to assign nonexistent symbol SPEAKUP_ACNTPC
.config:1615:warning: trying to assign nonexistent symbol SPEAKUP_APOLLO
.config:1616:warning: trying to assign nonexistent symbol SPEAKUP_AUDPTR
.config:1617:warning: trying to assign nonexistent symbol SPEAKUP_BNS
.config:1618:warning: trying to assign nonexistent symbol SPEAKUP_DECTLK
.config:1619:warning: trying to assign nonexistent symbol SPEAKUP_DECEXT
.config:1620:warning: trying to assign nonexistent symbol SPEAKUP_DECPC
.config:1621:warning: trying to assign nonexistent symbol SPEAKUP_DTLK
.config:1622:warning: trying to assign nonexistent symbol SPEAKUP_KEYPC
.config:1623:warning: trying to assign nonexistent symbol SPEAKUP_LTLK
.config:1624:warning: trying to assign nonexistent symbol SPEAKUP_SFTSYN
.config:1625:warning: trying to assign nonexistent symbol SPEAKUP_SPKOUT
.config:1626:warning: trying to assign nonexistent symbol SPEAKUP_TXPRT
.config:1631:warning: trying to assign nonexistent symbol SPEAKUP_DEFAULT
.config:1668:warning: trying to assign nonexistent symbol SND_AC97_BUS
.config:1757:warning: trying to assign nonexistent symbol USB_BANDWIDTH
.config:1770:warning: trying to assign nonexistent symbol USB_OHCI_BIG_ENDIAN
.config:1806:warning: trying to assign nonexistent symbol USB_HIDINPUT
.config:1819:warning: trying to assign nonexistent symbol USB_AIPTEK
.config:1820:warning: trying to assign nonexistent symbol USB_WACOM
.config:1821:warning: trying to assign nonexistent symbol USB_ACECAD
.config:1822:warning: trying to assign nonexistent symbol USB_KBTAB
.config:1823:warning: trying to assign nonexistent symbol USB_POWERMATE
.config:1824:warning: trying to assign nonexistent symbol USB_TOUCHSCREEN
.config:1825:warning: trying to assign nonexistent symbol USB_TOUCHSCREEN_EGALAX
.config:1826:warning: trying to assign nonexistent symbol USB_TOUCHSCREEN_PANJIT
.config:1827:warning: trying to assign nonexistent symbol USB_TOUCHSCREEN_3M
.config:1828:warning: trying to assign nonexistent symbol USB_TOUCHSCREEN_ITM
.config:1829:warning: trying to assign nonexistent symbol USB_YEALINK
.config:1830:warning: trying to assign nonexistent symbol USB_XPAD
.config:1831:warning: trying to assign nonexistent symbol USB_ATI_REMOTE
.config:1832:warning: trying to assign nonexistent symbol USB_ATI_REMOTE2
.config:1833:warning: trying to assign nonexistent symbol USB_KEYSPAN_REMOTE
.config:1834:warning: trying to assign nonexistent symbol USB_APPLETOUCH
.config:1872:warning: trying to assign nonexistent symbol USB_SERIAL_ANYDATA
.config:1968:warning: trying to assign nonexistent symbol IPATH_CORE
.config:1988:warning: symbol value ‘m’ invalid for RTC_INTF_SYSFS
.config:1989:warning: symbol value ‘m’ invalid for RTC_INTF_PROC
.config:1990:warning: symbol value ‘m’ invalid for RTC_INTF_DEV
.config:2037:warning: trying to assign nonexistent symbol XFS_EXPORT
.config:2061:warning: trying to assign nonexistent symbol ZISOFS_FS
.config:2151:warning: trying to assign nonexistent symbol RXRPC
.config:2244:warning: trying to assign nonexistent symbol UNWIND_INFO
–
* Bus options (PCI etc.)
*
PCI support (PCI) [Y] y
Support mmconfig PCI config space access (PCI_MMCONFIG) [Y/n] y
PCI Express support (PCIEPORTBUS) [Y/n/?] y
Root Port Advanced Error Reporting support (PCIEAER) [Y/n/?] (NEW) Message Signaled Interrupts (MSI and MSI-X) (PCI_MSI) [Y/n/?] y
–
SCSI media changer support (CHR_DEV_SCH) [M/n/y/?] m
*
* Some SCSI devices (e.g. CD jukebox) support multiple LUNs
*
Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [N/y/?] n
Verbose SCSI error reporting (kernel size +=12K) (SCSI_CONSTANTS) [N/y/?] n
–
QLogic InfiniPath Driver (INFINIBAND_IPATH) [M/n/?] m
Ammasso 1100 HCA support (INFINIBAND_AMSO1100) [N/m/?] (NEW) Mellanox ConnectX HCA support (MLX4_INFINIBAND) [N/m/?] (NEW) IP-over-InfiniBand (INFINIBAND_IPOIB) [M/n/?] m
IP-over-InfiniBand Connected Mode support (INFINIBAND_IPOIB_CM) [N/y/?] (NEW) IP-over-InfiniBand debugging (INFINIBAND_IPOIB_DEBUG) [N/y/?] n
InfiniBand SCSI RDMA Protocol (INFINIBAND_SRP) [M/n/?] m
iSCSI Extensions for RDMA (iSER) (INFINIBAND_ISER) [N/m/?] (NEW) *
* EDAC – error detection and reporting (RAS) (EXPERIMENTAL)
*
EDAC core system error reporting (EXPERIMENTAL) (EDAC) [N/m/y/?] n
–
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from include/linux/module.h:9,
from include/linux/crypto.h:21,
from arch/x86_64/kernel/asm-offsets.c:7:
include/asm/page.h:89:2: error: #error “CONFIG_PHYSICAL_START must be a multiple of 2MB”
make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
* Gentoo Linux Genkernel; Version 3.4.8
* Running with options: –makeopts=-j3 –kernel-config=/usr/share/genkernel/x86_64/kernel-config-2.6 all* ERROR: Failed to compile the “prepare” target…
* — End log… –
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*
なのですが、gentoo on x86_64 で 2.6.22 系カーネルのコンパイル通った方いらっしゃいますか。
VM でも、Real-Machine でもどちらも同じような症状なのですが。
Related posts:


:





1 user commented in " Gentoo Linux 2.6.22 がビルドできない "
コメントをフィードする comment rss / トラックバックする[...] genkernelを使わなくても同じ…。 エラーメッセージをぐぐってみると、AMD64とlinux2.6.22で発生しているらしい。でも、今のkernelは2.6.24。これはちょっと難航しそうな予感。 [...]
コメントする