All of lore.kernel.org
 help / color / mirror / Atom feed
* Preemption patch for 2.4.26 - mips
@ 2005-08-25 13:57 Kishore K
  2005-08-25 15:32 ` Ralf Baechle
  2005-08-25 23:50 ` Jun Sun
  0 siblings, 2 replies; 6+ messages in thread
From: Kishore K @ 2005-08-25 13:57 UTC (permalink / raw)
  To: linux-mips@linux-mips.org

[-- Attachment #1: Type: text/plain, Size: 3683 bytes --]

When I try to compile 2.4.26 kernel with the pre-emption patch from
(http://www.kernel.org/pub/linux/kernel/people/rml/preempt-kernel/v2.4/)
for malta board based on MIPS 4kc, compilation fails with the
following error.

[kishorek@blrn0092 linux-2.4.26]$ make vmlinux.srec
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
mips-linux-gcc -D__KERNEL__ -I/home/kishorek/linux-2.4.26/include
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -I
/home/kishorek/linux-2.4.26/include/asm/gcc -G 0 -mno-abicalls
-fno-pic -pipe  -finline-limit=100000 -mabi=32 -march=mips32 -mips32
-Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap  
-DKBUILD_BASENAME=main -c -o init/main.o init/main.c
In file included from /home/kishorek/linux-2.4.26/include/linux/fs.h:200,
                 from
/home/kishorek/linux-2.4.26/include/linux/capability.h:17,            
    from /home/kishorek/linux-2.4.26/include/linux/binfmts.h:5,
                 from /home/kishorek/linux-2.4.26/include/linux/sched.h:9,
                 from /home/kishorek/linux-2.4.26/include/linux/mm.h:4,
                 from /home/kishorek/linux-2.4.26/include/linux/slab.h:14,
                 from /home/kishorek/linux-2.4.26/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/kishorek/linux-2.4.26/include/asm/semaphore.h: In function
`down_trylock':/home/kishorek/linux-2.4.26/include/asm/semaphore.h:230:
error: `current' undeclared (first use in this function)
/home/kishorek/linux-2.4.26/include/asm/semaphore.h:230: error: (Each
undeclared identifier is reported only once
/home/kishorek/linux-2.4.26/include/asm/semaphore.h:230: error: for
each function it appears in.)
/home/kishorek/linux-2.4.26/include/asm/semaphore.h:243: warning:
implicit declaration of function `preempt_schedule'
/home/kishorek/linux-2.4.26/include/asm/semaphore.h: In function `up':
/home/kishorek/linux-2.4.26/include/asm/semaphore.h:266: error:
`current' undeclared (first use in this function)
In file included from /home/kishorek/linux-2.4.26/include/linux/mm.h:4,
                 from /home/kishorek/linux-2.4.26/include/linux/slab.h:14,
                 from /home/kishorek/linux-2.4.26/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/kishorek/linux-2.4.26/include/linux/sched.h: At top level:
/home/kishorek/linux-2.4.26/include/linux/sched.h:152: warning: type
mismatch with previous implicit declaration
/home/kishorek/linux-2.4.26/include/asm/semaphore.h:273: warning:
previous implicit declaration of `preempt_schedule'
/home/kishorek/linux-2.4.26/include/linux/sched.h:152: warning:
`preempt_schedule' was previously implicitly declared to return `int'
In file included from /home/kishorek/linux-2.4.26/include/linux/sched.h:586,
                 from /home/kishorek/linux-2.4.26/include/linux/mm.h:4,
                 from /home/kishorek/linux-2.4.26/include/linux/slab.h:14,
                 from /home/kishorek/linux-2.4.26/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/kishorek/linux-2.4.26/include/asm/current.h:15: error: `current'
used prior to declaration
make: *** [init/main.o] Error 1

May I know, if any of you tried the pre-emption patch for 2.4.26 on
mips platform. If so, please let me know the changes to be done or any
other patch needs to be applied.

Here are the details of my toolchain
gcc 3.3.6, binutils: 2.14.90.0.8, uclibc-0.9.27
Kernel configuration file is enclosed along with this mail. 

TIA,
--kishore

[-- Attachment #2: config --]
[-- Type: application/octet-stream, Size: 18771 bytes --]

#
# Automatically generated make config: don't edit
#
CONFIG_MIPS=y
CONFIG_MIPS32=y
# CONFIG_MIPS64 is not set

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

#
# Machine selection
#
# CONFIG_ACER_PICA_61 is not set
# CONFIG_MIPS_BOSPORUS is not set
# CONFIG_MIPS_MIRAGE is not set
# CONFIG_MIPS_DB1000 is not set
# CONFIG_MIPS_DB1100 is not set
# CONFIG_MIPS_DB1500 is not set
# CONFIG_MIPS_PB1000 is not set
# CONFIG_MIPS_PB1100 is not set
# CONFIG_MIPS_PB1500 is not set
# CONFIG_MIPS_HYDROGEN3 is not set
# CONFIG_MIPS_PB1550 is not set
# CONFIG_MIPS_XXS1500 is not set
# CONFIG_MIPS_MTX1 is not set
# CONFIG_COGENT_CSB250 is not set
# CONFIG_BAGET_MIPS is not set
# CONFIG_CASIO_E55 is not set
# CONFIG_MIPS_COBALT is not set
# CONFIG_DECSTATION is not set
# CONFIG_MIPS_EV64120 is not set
# CONFIG_MIPS_EV96100 is not set
# CONFIG_MIPS_IVR is not set
# CONFIG_HP_LASERJET is not set
# CONFIG_IBM_WORKPAD is not set
# CONFIG_LASAT is not set
# CONFIG_MIPS_ITE8172 is not set
# CONFIG_MIPS_ATLAS is not set
# CONFIG_MIPS_MAGNUM_4000 is not set
CONFIG_MIPS_MALTA=y
# CONFIG_MIPS_SEAD is not set
# CONFIG_MOMENCO_OCELOT is not set
# CONFIG_MOMENCO_OCELOT_G is not set
# CONFIG_MOMENCO_OCELOT_C is not set
# CONFIG_MOMENCO_JAGUAR_ATX is not set
# CONFIG_PMC_YOSEMITE is not set
# CONFIG_DDB5074 is not set
# CONFIG_DDB5476 is not set
# CONFIG_DDB5477 is not set
# CONFIG_NEC_OSPREY is not set
# CONFIG_NEC_EAGLE is not set
# CONFIG_OLIVETTI_M700 is not set
# CONFIG_NINO is not set
# CONFIG_SGI_IP22 is not set
# CONFIG_SGI_IP27 is not set
# CONFIG_SIBYTE_SB1xxx_SOC is not set
# CONFIG_SNI_RM200_PCI is not set
# CONFIG_TANBAC_TB0226 is not set
# CONFIG_TANBAC_TB0229 is not set
# CONFIG_TOSHIBA_JMR3927 is not set
# CONFIG_TOSHIBA_RBTX4927 is not set
# CONFIG_VICTOR_MPC30X is not set
# CONFIG_ZAO_CAPCELLA is not set
# CONFIG_HIGHMEM is not set
CONFIG_RWSEM_GENERIC_SPINLOCK=y
# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
CONFIG_BOOT_ELF32=y
CONFIG_HAVE_STD_PC_SERIAL_PORT=y
CONFIG_I8259=y
CONFIG_MIPS_BONITO64=y
CONFIG_MIPS_GT64120=y
CONFIG_MIPS_MSC=y
CONFIG_L1_CACHE_SHIFT=5
CONFIG_NEW_TIME_C=y
CONFIG_NONCOHERENT_IO=y
CONFIG_SWAP_IO_SPACE_W=y
CONFIG_SWAP_IO_SPACE_L=y
CONFIG_PC_KEYB=y
CONFIG_PCI=y
# CONFIG_MIPS_AU1000 is not set

#
# CPU selection
#
CONFIG_CPU_MIPS32=y
# CONFIG_CPU_MIPS64 is not set
# CONFIG_CPU_R3000 is not set
# CONFIG_CPU_TX39XX is not set
# CONFIG_CPU_VR41XX is not set
# CONFIG_CPU_R4300 is not set
# CONFIG_CPU_R4X00 is not set
# CONFIG_CPU_TX49XX is not set
# CONFIG_CPU_R5000 is not set
# CONFIG_CPU_R5432 is not set
# CONFIG_CPU_R6000 is not set
# CONFIG_CPU_NEVADA is not set
# CONFIG_CPU_R8000 is not set
# CONFIG_CPU_R10000 is not set
# CONFIG_CPU_RM7000 is not set
# CONFIG_CPU_RM9000 is not set
# CONFIG_CPU_SB1 is not set
CONFIG_PAGE_SIZE_4KB=y
# CONFIG_PAGE_SIZE_16KB is not set
# CONFIG_PAGE_SIZE_64KB is not set
CONFIG_CPU_HAS_PREFETCH=y
# CONFIG_VTAG_ICACHE is not set
# CONFIG_64BIT_PHYS_ADDR is not set
# CONFIG_CPU_ADVANCED is not set
CONFIG_CPU_HAS_LLSC=y
# CONFIG_CPU_HAS_LLDSCD is not set
# CONFIG_CPU_HAS_WB is not set
CONFIG_CPU_HAS_SYNC=y

#
# General setup
#
# CONFIG_CPU_LITTLE_ENDIAN is not set
# CONFIG_BINFMT_IRIX is not set
CONFIG_NET=y
# CONFIG_PCI_NAMES is not set
# CONFIG_ISA is not set
# CONFIG_TC is not set
# CONFIG_MCA is not set
# CONFIG_SBUS is not set
# CONFIG_HOTPLUG is not set
# CONFIG_PCMCIA is not set
# CONFIG_HOTPLUG_PCI is not set
CONFIG_PREEMPT=y
# CONFIG_SYSVIPC is not set
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_ELF=y
# CONFIG_MIPS32_COMPAT is not set
# CONFIG_MIPS32_O32 is not set
# CONFIG_MIPS32_N32 is not set
# CONFIG_BINFMT_ELF32 is not set
# CONFIG_BINFMT_MISC is not set
# CONFIG_OOM_KILLER is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Plug and Play configuration
#
# CONFIG_PNP is not set
# CONFIG_ISAPNP is not set

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_CISS_SCSI_TAPE is not set
# CONFIG_CISS_MONITOR_THREAD is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_BLK_STATS is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
# CONFIG_BLK_DEV_MD is not set
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
# CONFIG_MD_RAID1 is not set
# CONFIG_MD_RAID5 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_BLK_DEV_LVM is not set

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
# CONFIG_IP_ROUTE_VERBOSE is not set
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
CONFIG_NET_IPGRE_BROADCAST=y
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set

#
#   IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=y
CONFIG_IP_NF_FTP=y
# CONFIG_IP_NF_AMANDA is not set
# CONFIG_IP_NF_TFTP is not set
CONFIG_IP_NF_IRC=y
CONFIG_IP_NF_QUEUE=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_MATCH_LIMIT=y
CONFIG_IP_NF_MATCH_MAC=y
CONFIG_IP_NF_MATCH_PKTTYPE=y
CONFIG_IP_NF_MATCH_MARK=y
CONFIG_IP_NF_MATCH_MULTIPORT=y
CONFIG_IP_NF_MATCH_TOS=y
# CONFIG_IP_NF_MATCH_RECENT is not set
CONFIG_IP_NF_MATCH_ECN=y
CONFIG_IP_NF_MATCH_DSCP=y
CONFIG_IP_NF_MATCH_AH_ESP=y
CONFIG_IP_NF_MATCH_LENGTH=y
CONFIG_IP_NF_MATCH_TTL=y
CONFIG_IP_NF_MATCH_TCPMSS=y
CONFIG_IP_NF_MATCH_HELPER=y
CONFIG_IP_NF_MATCH_STATE=y
CONFIG_IP_NF_MATCH_CONNTRACK=y
CONFIG_IP_NF_MATCH_UNCLEAN=y
CONFIG_IP_NF_MATCH_OWNER=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_TARGET_MIRROR=y
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP_NF_TARGET_REDIRECT=y
# CONFIG_IP_NF_NAT_LOCAL is not set
CONFIG_IP_NF_NAT_SNMP_BASIC=y
CONFIG_IP_NF_NAT_IRC=y
CONFIG_IP_NF_NAT_FTP=y
CONFIG_IP_NF_MANGLE=y
CONFIG_IP_NF_TARGET_TOS=y
CONFIG_IP_NF_TARGET_ECN=y
CONFIG_IP_NF_TARGET_DSCP=y
CONFIG_IP_NF_TARGET_MARK=y
CONFIG_IP_NF_TARGET_LOG=y
CONFIG_IP_NF_TARGET_ULOG=y
CONFIG_IP_NF_TARGET_TCPMSS=y
# CONFIG_IP_NF_ARPTABLES is not set

#
#   IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
# CONFIG_KHTTPD is not set

#
#    SCTP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_SCTP is not set
CONFIG_ATM=y
CONFIG_ATM_CLIP=y
CONFIG_ATM_CLIP_NO_ICMP=y
# CONFIG_ATM_LANE is not set
CONFIG_ATM_BR2684=y
# CONFIG_ATM_BR2684_IPFILTER is not set
# CONFIG_VLAN_8021Q is not set

#
#  
#
# CONFIG_IPX is not set
# CONFIG_ATALK is not set

#
# Appletalk devices
#
# CONFIG_DEV_APPLETALK is not set
# CONFIG_DECNET is not set
CONFIG_BRIDGE=y
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_LLC is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CBQ=y
CONFIG_NET_SCH_HTB=y
# CONFIG_NET_SCH_CSZ is not set
# CONFIG_NET_SCH_HFSC is not set
# CONFIG_NET_SCH_ATM is not set
CONFIG_NET_SCH_PRIO=y
CONFIG_NET_SCH_RED=y
# CONFIG_NET_SCH_SFQ is not set
# CONFIG_NET_SCH_TEQL is not set
# CONFIG_NET_SCH_TBF is not set
# CONFIG_NET_SCH_GRED is not set
# CONFIG_NET_SCH_DELAY is not set
CONFIG_NET_SCH_DSMARK=y
CONFIG_NET_SCH_INGRESS=y
CONFIG_NET_QOS=y
CONFIG_NET_ESTIMATOR=y
CONFIG_NET_CLS=y
CONFIG_NET_CLS_TCINDEX=y
CONFIG_NET_CLS_ROUTE4=y
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=y
CONFIG_NET_CLS_U32=y
# CONFIG_NET_CLS_RSVP is not set
# CONFIG_NET_CLS_RSVP6 is not set
CONFIG_NET_CLS_POLICE=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set
# CONFIG_PHONE_IXJ is not set
# CONFIG_PHONE_IXJ_PCMCIA is not set

#
# ATA/IDE/MFM/RLL support
#
# CONFIG_IDE is not set
# CONFIG_BLK_DEV_HD is not set

#
# SCSI support
#
# CONFIG_SCSI is not set

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set
# CONFIG_FUSION_BOOT is not set
# CONFIG_FUSION_ISENSE is not set
# CONFIG_FUSION_CTL is not set
# CONFIG_FUSION_LAN is not set

#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set
# CONFIG_I2O_PCI is not set
# CONFIG_I2O_BLOCK is not set
# CONFIG_I2O_LAN is not set
# CONFIG_I2O_SCSI is not set
# CONFIG_I2O_PROC is not set

#
# Network device support
#
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
CONFIG_DUMMY=y
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_SUNLANCE is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNBMAC is not set
# CONFIG_SUNQE is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
CONFIG_PCNET32=y
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_CS89x0 is not set
# CONFIG_TULIP is not set
# CONFIG_DE4X5 is not set
# CONFIG_DGRS is not set
# CONFIG_DM9102 is not set
CONFIG_EEPRO100=m
# CONFIG_EEPRO100_PIO is not set
# CONFIG_E100 is not set
# CONFIG_LNE390 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_FORCEDETH is not set
# CONFIG_NE3210 is not set
# CONFIG_ES3210 is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_8139TOO_PIO is not set
# CONFIG_8139TOO_TUNE_TWISTER is not set
# CONFIG_8139TOO_8129 is not set
# CONFIG_8139_OLD_RX_RESET is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_SUNDANCE_MMIO is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_VIA_RHINE_MMIO is not set
# CONFIG_WINBOND_840 is not set
# CONFIG_LAN_SAA9730 is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_MYRI_SBUS is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
CONFIG_PPP=y
# CONFIG_PPP_MULTILINK is not set
# CONFIG_PPP_FILTER is not set
# CONFIG_PPP_ASYNC is not set
CONFIG_PPP_SYNC_TTY=y
CONFIG_PPP_DEFLATE=y
# CONFIG_PPP_BSDCOMP is not set
CONFIG_PPPOE=y
CONFIG_PPPOATM=y
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_NET_FC is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# ATM drivers
#
# CONFIG_ATM_TCP is not set
# CONFIG_ATM_LANAI is not set
# CONFIG_ATM_ENI is not set
# CONFIG_ATM_FIRESTREAM is not set
# CONFIG_ATM_ZATM is not set
CONFIG_ATM_NICSTAR=m
CONFIG_ATM_NICSTAR_USE_SUNI=y
CONFIG_ATM_NICSTAR_USE_IDT77105=y
# CONFIG_ATM_IDT77252 is not set
# CONFIG_ATM_AMBASSADOR is not set
# CONFIG_ATM_HORIZON is not set
# CONFIG_ATM_IA is not set
# CONFIG_ATM_FORE200E_MAYBE is not set
# CONFIG_ATM_HE is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Input core support
#
# CONFIG_INPUT is not set
# CONFIG_INPUT_KEYBDEV is not set
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_UINPUT is not set

#
# Character devices
#
# CONFIG_VT is not set
CONFIG_SERIAL=y
CONFIG_SERIAL_CONSOLE=y
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=32

#
# I2C support
#
# CONFIG_I2C is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_MOUSE is not set

#
# Joysticks
#
# CONFIG_INPUT_GAMEPORT is not set

#
# Input core support is needed for gameports
#

#
# Input core support is needed for joysticks
#
# CONFIG_QIC02_TAPE is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_IPMI_PANIC_EVENT is not set
# CONFIG_IPMI_DEVICE_INTERFACE is not set
# CONFIG_IPMI_KCS is not set
# CONFIG_IPMI_WATCHDOG is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_SCx200 is not set
# CONFIG_SCx200_GPIO is not set
# CONFIG_AMD_PM768 is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_MIPS_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set

#
# Direct Rendering Manager (XFree86 DRI support)
#
# CONFIG_DRM is not set

#
# File systems
#
# CONFIG_QUOTA is not set
# CONFIG_QFMT_V2 is not set
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=m
# CONFIG_REISERFS_FS is not set
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_ADFS_FS is not set
# CONFIG_ADFS_FS_RW is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BEFS_DEBUG is not set
# CONFIG_BFS_FS is not set
# CONFIG_EXT3_FS is not set
# CONFIG_JBD is not set
# CONFIG_JBD_DEBUG is not set
# CONFIG_FAT_FS is not set
# CONFIG_MSDOS_FS is not set
# CONFIG_UMSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
# CONFIG_JFFS2_FS is not set
CONFIG_CRAMFS=y
# CONFIG_TMPFS is not set
CONFIG_RAMFS=y
# CONFIG_ISO9660_FS is not set
# CONFIG_JOLIET is not set
# CONFIG_ZISOFS is not set
# CONFIG_JFS_FS is not set
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_NTFS_RW is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
# CONFIG_DEVFS_MOUNT is not set
# CONFIG_DEVFS_DEBUG is not set
CONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX4FS_RW is not set
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
# CONFIG_UDF_FS is not set
# CONFIG_UDF_RW is not set
# CONFIG_UFS_FS is not set
# CONFIG_UFS_FS_WRITE is not set
# CONFIG_XFS_FS is not set
# CONFIG_XFS_QUOTA is not set
# CONFIG_XFS_RT is not set
# CONFIG_XFS_TRACE is not set
# CONFIG_XFS_DEBUG is not set

#
# Network File Systems
#
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_DIRECTIO is not set
# CONFIG_ROOT_NFS is not set
# CONFIG_NFSD is not set
# CONFIG_NFSD_V3 is not set
# CONFIG_NFSD_TCP is not set
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
# CONFIG_SMB_FS is not set
# CONFIG_NCP_FS is not set
# CONFIG_NCPFS_PACKET_SIGNING is not set
# CONFIG_NCPFS_IOCTL_LOCKING is not set
# CONFIG_NCPFS_STRONG is not set
# CONFIG_NCPFS_NFS_NS is not set
# CONFIG_NCPFS_OS2_NS is not set
# CONFIG_NCPFS_SMALLDOS is not set
# CONFIG_NCPFS_NLS is not set
# CONFIG_NCPFS_EXTRAS is not set
# CONFIG_ZISOFS_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_SMB_NLS is not set
# CONFIG_NLS is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# Sound
#
# CONFIG_SOUND is not set

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_EHCI_HCD is not set
CONFIG_USB_UHCI_ALT=y
# CONFIG_USB_OHCI is not set

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_BLUETOOTH is not set
# CONFIG_USB_MIDI is not set

#
#   SCSI support is needed for USB Storage
#
# CONFIG_USB_STORAGE is not set
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=y

#
# USB Human Interface Devices (HID)
#
# CONFIG_USB_HID is not set

#
#     Input core support is needed for USB HID input layer or HIDBP support
#
# CONFIG_USB_HIDINPUT is not set
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set

#
# USB Imaging devices
#
# CONFIG_USB_DC2XX is not set
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set

#
# USB Multimedia devices
#

#
#   Video4Linux support is needed for USB Multimedia device support
#

#
# USB Network adaptors
#
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_CATC is not set
# CONFIG_USB_CDCETHER is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_SPEEDTOUCH is not set

#
# Support for USB gadgets
#
# CONFIG_USB_GADGET is not set

#
# Bluetooth support
#
# CONFIG_BLUEZ is not set

#
# Kernel hacking
#
CONFIG_CROSSCOMPILE=y
# CONFIG_RUNTIME_DEBUG is not set
# CONFIG_KGDB is not set
# CONFIG_GDB_CONSOLE is not set
# CONFIG_DEBUG_INFO is not set
# CONFIG_MAGIC_SYSRQ is not set
# CONFIG_MIPS_UNCACHED is not set
CONFIG_LOG_BUF_SHIFT=0

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

#
# Library routines
#
# CONFIG_CRC32 is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Preemption patch for 2.4.26 - mips
  2005-08-25 13:57 Preemption patch for 2.4.26 - mips Kishore K
@ 2005-08-25 15:32 ` Ralf Baechle
  2005-08-25 16:00   ` Herbert Poetzl
  2005-08-26 14:17   ` Kishore K
  2005-08-25 23:50 ` Jun Sun
  1 sibling, 2 replies; 6+ messages in thread
From: Ralf Baechle @ 2005-08-25 15:32 UTC (permalink / raw)
  To: Kishore K; +Cc: linux-mips@linux-mips.org

On Thu, Aug 25, 2005 at 07:57:48PM +0600, Kishore K wrote:

> When I try to compile 2.4.26 kernel with the pre-emption patch from
> (http://www.kernel.org/pub/linux/kernel/people/rml/preempt-kernel/v2.4/)
> for malta board based on MIPS 4kc, compilation fails with the
> following error.

Straight Kernel.org kernels don't work for MIPS nor do the mentioned
patches.

  Ralf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Preemption patch for 2.4.26 - mips
  2005-08-25 15:32 ` Ralf Baechle
@ 2005-08-25 16:00   ` Herbert Poetzl
  2005-08-26 14:17   ` Kishore K
  1 sibling, 0 replies; 6+ messages in thread
From: Herbert Poetzl @ 2005-08-25 16:00 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Kishore K, linux-mips@linux-mips.org

On Thu, Aug 25, 2005 at 04:32:19PM +0100, Ralf Baechle wrote:
> On Thu, Aug 25, 2005 at 07:57:48PM +0600, Kishore K wrote:
> 
> > When I try to compile 2.4.26 kernel with the pre-emption patch from
> > (http://www.kernel.org/pub/linux/kernel/people/rml/preempt-kernel/v2.4/)
> > for malta board based on MIPS 4kc, compilation fails with the
> > following error.
> 
> Straight Kernel.org kernels don't work for MIPS 

any reason why that is so?
is it planned to make at least 2.6.x work for MIPS?
does it make sense to help there?

TIA,
Herbert

> nor do the mentioned patches.

> 
>   Ralf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Preemption patch for 2.4.26 - mips
  2005-08-25 13:57 Preemption patch for 2.4.26 - mips Kishore K
  2005-08-25 15:32 ` Ralf Baechle
@ 2005-08-25 23:50 ` Jun Sun
  1 sibling, 0 replies; 6+ messages in thread
From: Jun Sun @ 2005-08-25 23:50 UTC (permalink / raw)
  To: Kishore K; +Cc: linux-mips@linux-mips.org


You might be interested in an earlier patch I made for 2.4.21 against
MIPS CVS tree.

http://linux.junsun.net/patches/oss.sgi.com/experimental/030304-b.preempt-mips.patch

Jun

On Thu, Aug 25, 2005 at 07:57:48PM +0600, Kishore K wrote:
> When I try to compile 2.4.26 kernel with the pre-emption patch from
> (http://www.kernel.org/pub/linux/kernel/people/rml/preempt-kernel/v2.4/)
> for malta board based on MIPS 4kc, compilation fails with the
> following error.
> 
> [kishorek@blrn0092 linux-2.4.26]$ make vmlinux.srec
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
> scripts/split-include scripts/split-include.c
> scripts/split-include include/linux/autoconf.h include/config
> mips-linux-gcc -D__KERNEL__ -I/home/kishorek/linux-2.4.26/include
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
> -fno-common -fomit-frame-pointer -I
> /home/kishorek/linux-2.4.26/include/asm/gcc -G 0 -mno-abicalls
> -fno-pic -pipe  -finline-limit=100000 -mabi=32 -march=mips32 -mips32
> -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap  
> -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
> In file included from /home/kishorek/linux-2.4.26/include/linux/fs.h:200,
>                  from
> /home/kishorek/linux-2.4.26/include/linux/capability.h:17,            
>     from /home/kishorek/linux-2.4.26/include/linux/binfmts.h:5,
>                  from /home/kishorek/linux-2.4.26/include/linux/sched.h:9,
>                  from /home/kishorek/linux-2.4.26/include/linux/mm.h:4,
>                  from /home/kishorek/linux-2.4.26/include/linux/slab.h:14,
>                  from /home/kishorek/linux-2.4.26/include/linux/proc_fs.h:5,
>                  from init/main.c:15:
> /home/kishorek/linux-2.4.26/include/asm/semaphore.h: In function
> `down_trylock':/home/kishorek/linux-2.4.26/include/asm/semaphore.h:230:
> error: `current' undeclared (first use in this function)
> /home/kishorek/linux-2.4.26/include/asm/semaphore.h:230: error: (Each
> undeclared identifier is reported only once
> /home/kishorek/linux-2.4.26/include/asm/semaphore.h:230: error: for
> each function it appears in.)
> /home/kishorek/linux-2.4.26/include/asm/semaphore.h:243: warning:
> implicit declaration of function `preempt_schedule'
> /home/kishorek/linux-2.4.26/include/asm/semaphore.h: In function `up':
> /home/kishorek/linux-2.4.26/include/asm/semaphore.h:266: error:
> `current' undeclared (first use in this function)
> In file included from /home/kishorek/linux-2.4.26/include/linux/mm.h:4,
>                  from /home/kishorek/linux-2.4.26/include/linux/slab.h:14,
>                  from /home/kishorek/linux-2.4.26/include/linux/proc_fs.h:5,
>                  from init/main.c:15:
> /home/kishorek/linux-2.4.26/include/linux/sched.h: At top level:
> /home/kishorek/linux-2.4.26/include/linux/sched.h:152: warning: type
> mismatch with previous implicit declaration
> /home/kishorek/linux-2.4.26/include/asm/semaphore.h:273: warning:
> previous implicit declaration of `preempt_schedule'
> /home/kishorek/linux-2.4.26/include/linux/sched.h:152: warning:
> `preempt_schedule' was previously implicitly declared to return `int'
> In file included from /home/kishorek/linux-2.4.26/include/linux/sched.h:586,
>                  from /home/kishorek/linux-2.4.26/include/linux/mm.h:4,
>                  from /home/kishorek/linux-2.4.26/include/linux/slab.h:14,
>                  from /home/kishorek/linux-2.4.26/include/linux/proc_fs.h:5,
>                  from init/main.c:15:
> /home/kishorek/linux-2.4.26/include/asm/current.h:15: error: `current'
> used prior to declaration
> make: *** [init/main.o] Error 1
> 
> May I know, if any of you tried the pre-emption patch for 2.4.26 on
> mips platform. If so, please let me know the changes to be done or any
> other patch needs to be applied.
> 
> Here are the details of my toolchain
> gcc 3.3.6, binutils: 2.14.90.0.8, uclibc-0.9.27
> Kernel configuration file is enclosed along with this mail. 
> 
> TIA,
> --kishore

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Preemption patch for 2.4.26 - mips
  2005-08-25 15:32 ` Ralf Baechle
  2005-08-25 16:00   ` Herbert Poetzl
@ 2005-08-26 14:17   ` Kishore K
  2005-08-26 14:47     ` Ralf Baechle
  1 sibling, 1 reply; 6+ messages in thread
From: Kishore K @ 2005-08-26 14:17 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips@linux-mips.org

On 8/25/05, Ralf Baechle <ralf@linux-mips.org> wrote:
> Straight Kernel.org kernels don't work for MIPS nor do the mentioned
> patches.
> 
I could bring up the malta board with vanilla linux kernels (2.4.25 -
2.4.31) from kernel.org. Just curious to know, what extra features we
get from linux-mips kernels?

--kishore

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Preemption patch for 2.4.26 - mips
  2005-08-26 14:17   ` Kishore K
@ 2005-08-26 14:47     ` Ralf Baechle
  0 siblings, 0 replies; 6+ messages in thread
From: Ralf Baechle @ 2005-08-26 14:47 UTC (permalink / raw)
  To: Kishore K; +Cc: linux-mips@linux-mips.org

On Fri, Aug 26, 2005 at 08:17:43PM +0600, Kishore K wrote:

> On 8/25/05, Ralf Baechle <ralf@linux-mips.org> wrote:
> > Straight Kernel.org kernels don't work for MIPS nor do the mentioned
> > patches.
> > 
> I could bring up the malta board with vanilla linux kernels (2.4.25 -
> 2.4.31) from kernel.org. Just curious to know, what extra features we
> get from linux-mips kernels?

Generally the MIPS code in kernel.org is simply lagging far behind
linux-mips.org and is not tested at all on MIPS.  There are also various
bits in 2.4 that were necessary for some platforms but which for the one
or other reason won't wasn't merged.

  Ralf

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-08-26 14:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-25 13:57 Preemption patch for 2.4.26 - mips Kishore K
2005-08-25 15:32 ` Ralf Baechle
2005-08-25 16:00   ` Herbert Poetzl
2005-08-26 14:17   ` Kishore K
2005-08-26 14:47     ` Ralf Baechle
2005-08-25 23:50 ` Jun Sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.