2.5.47-ac4 panic on boot.
My thinkpad 760e starts to boot but panics while running depmod -a:
(unfortunately the top is cut off...it doesn't fit:))
...
CPU: 0
EIP: 0060:[<c012b914>] Not tainted
EFLAGS: 00010006
EIP is at reap_timer_fnc+0x104/0x40c
eax: 00000002 ebx: c47ffab4 ecx: c47fe8a0 edx: 00000003
esi: 00000002 edi: c4742414 ebp: c47ffa98 esp: c031df8c
ds: 0068 es: 0068 ss: 0068
Process swapper (pid: 0, threadinfo=c031c000 task=c02da3e0)
Stack: same as call trace... Call trace: [<c012b810>] reap_timer_fnc+0x0/0x40c [<c011ae47>] run_timer_tasklet+0xb7/0xe8 [<c0117f39>] tasklet_hi_action+0x3d/0x60 [<c0117d5a>] do_softirq+0x5a/0xac [<c010a268>] do_IRQ+0xc8/0xd4 [<c0105000>] stext+0x0/0x1c [<c0108b03>] common_interrupt+0x43/x060 Code: 0f 0b fb 07 a8 fe 21 c0 8d 74 26 00 8b 41 04 8b 11 89 42 04
I tried it a few times...the last few change, but its always in reap_timer_fnc.
I haven't tried any other 2.5 kernels, but 2.4.18/19 work.
Signature · 1 line
-Justin
Quoted 26 lines · Justin A
My thinkpad 760e starts to boot but panics while running depmod -a:
(unfortunately the top is cut off...it doesn't fit:))...
CPU: 0 EIP: 0060:[<c012b914>] Not tainted EFLAGS: 00010006EIP is at
reap_timer_fnc+0x104/0x40c
eax: 00000002 ebx:c47ffab4ecx:c47fe8a0edx: 00000003
esi: 00000002 edi:c4742414ebp:c47ffa98esp:c031df8c
ds: 0068 es: 0068 ss: 0068
Process swapper (pid: 0, threadinfo=c031c000 task=c02da3e0)Stack: same as call trace... Call trace: [<c012b810>] reap_timer_fnc+0x0/0x40c [<c011ae47>] run_timer_tasklet+0xb7/0xe8 [<c0117f39>] tasklet_hi_action+0x3d/0x60 [<c0117d5a>] do_softirq+0x5a/0xac [<c010a268>] do_IRQ+0xc8/0xd4 [<c0105000>] stext+0x0/0x1c [<c0108b03>] common_interrupt+0x43/x060 Code: 0f 0b fb 07 a8 fe 21 c0 8d 74 26 00 8b 41 04 8b 11 89 42 04
Quoted 3 lines
I tried it a few times...the last few change, but its always in
reap_timer_fnc.
This is probably a dodgy device driver doing something bad with kmalloced memory.
If you have time, please go through and disable various drivers in config, see if you can isolate it to a particular one.
Thanks.
I did that...
Disabling PM made it boot:
< CONFIG_PM=y
< CONFIG_APM=m
< # CONFIG_APM_IGNORE_USER_SUSPEND is not set
< CONFIG_APM_DO_ENABLE=y
< CONFIG_APM_CPU_IDLE=y
< CONFIG_APM_DISPLAY_BLANK=y
< # CONFIG_APM_RTC_IS_GMT is not set
< # CONFIG_APM_ALLOW_INTS is not set
< # CONFIG_APM_REAL_MODE_POWER_OFF is not set
---
Quoted 1 line
#
CONFIG_PMis not set
I think I still had swsusp on before I disabled PM...I will have to test more tomorrow to make sure thats it...
Perhaps its the CONFIG_APM_CPU_IDLE that did it?
I had tried linux init=/bin/sh, which got to the shell, then 2 seconds later paniced, so I have a feeling its the idle thingy:)
On another note, pcibios_read_config_dword seems to be missing, and pcmcia-core wants it. I'll have to see whats up with that tomorrow...but at least I got it booting now:)
Signature · 1 line
-Justin
Quoted 36 lines · Andrew Morton
Quoted 25 lines · Justin A
My thinkpad 760e starts to boot but panics while running depmod -a:
(unfortunately the top is cut off...it doesn't fit:))...
CPU: 0 EIP: 0060:[<c012b914>] Not tainted EFLAGS: 00010006EIP is at
reap_timer_fnc+0x104/0x40c
eax: 00000002 ebx:c47ffab4ecx:c47fe8a0edx: 00000003
esi: 00000002 edi:c4742414ebp:c47ffa98esp:c031df8c
ds: 0068 es: 0068 ss: 0068
Process swapper (pid: 0, threadinfo=c031c000 task=c02da3e0)Stack: same as call trace... Call trace: [<c012b810>] reap_timer_fnc+0x0/0x40c [<c011ae47>] run_timer_tasklet+0xb7/0xe8 [<c0117f39>] tasklet_hi_action+0x3d/0x60 [<c0117d5a>] do_softirq+0x5a/0xac [<c010a268>] do_IRQ+0xc8/0xd4 [<c0105000>] stext+0x0/0x1c [<c0108b03>] common_interrupt+0x43/x060 Code: 0f 0b fb 07 a8 fe 21 c0 8d 74 26 00 8b 41 04 8b 11 89 42 04Quoted 2 lines
I tried it a few times...the last few change, but its always in
reap_timer_fnc.This is probably a dodgy device driver doing something bad with kmalloced memory.
If you have time, please go through and disable various drivers in config, see if you can isolate it to a particular one.
Thanks.
Quoted 14 lines · Justin A
I did that...
Disabling PM made it boot:<
CONFIG_PM=y
<CONFIG_APM=m
< #CONFIG_APM_IGNORE_USER_SUSPENDis not set
<CONFIG_APM_DO_ENABLE=y
<CONFIG_APM_CPU_IDLE=y
<CONFIG_APM_DISPLAY_BLANK=y
< #CONFIG_APM_RTC_IS_GMTis not set
< #CONFIG_APM_ALLOW_INTSis not set
< #CONFIG_APM_REAL_MODE_POWER_OFFis not set
---
Quoted 5 lines
Quoted 1 line
#
CONFIG_PMis not setI think I still had swsusp on before I disabled PM...I will have to test more tomorrow to make sure thats it...
Perhaps its theCONFIG_APM_CPU_IDLEthat did it?
Could be...
Quoted 2 lines
I had tried linux init=/bin/sh, which got to the shell, then 2 seconds later paniced, so I have a feeling its the idle thingy:)
slab runs a timer every couple of seconds to drain caches which could otherwise be wasted-for-ever memory. So it looks like we don't get to find out about abuse until much later. Damn.
Oh, it'd be interesting to enable memory debugging under the kernel-hacking menu - that may trap the bug when it's happening.
Quoted 26 lines · you
Quoted 14 lines · Justin A
I did that...
Disabling PM made it boot:<
CONFIG_PM=y
<CONFIG_APM=m
< #CONFIG_APM_IGNORE_USER_SUSPENDis not set
<CONFIG_APM_DO_ENABLE=y
<CONFIG_APM_CPU_IDLE=y
<CONFIG_APM_DISPLAY_BLANK=y
< #CONFIG_APM_RTC_IS_GMTis not set
< #CONFIG_APM_ALLOW_INTSis not set
< #CONFIG_APM_REAL_MODE_POWER_OFFis not set
---Quoted 5 lines
Quoted 1 line
#
CONFIG_PMis not setI think I still had swsusp on before I disabled PM...I will have to test more tomorrow to make sure thats it...
Perhaps its theCONFIG_APM_CPU_IDLEthat did it?Could be...
Quoted 2 lines
I had tried linux init=/bin/sh, which got to the shell, then 2 seconds later paniced, so I have a feeling its the idle thingy:)
Quoted 6 lines
slab runs a timer every couple of seconds to drain caches which could otherwise be wasted-for-ever memory. So it looks like we don't get to find out about abuse until much later. Damn.
Oh, it'd be interesting to enable memory debugging under the kernel-hacking menu - that may trap the bug when it's happening.
I tried 2.5.47-ac5...
I got the configs confused so I had started from an old one and built up until it crashed:
(%:/data/src/tp/2.5/linux-2.5.47-ac5)- diff .config ../CONFIG_works 159,167c159
< CONFIG_PNP=y
< # CONFIG_PNP_NAMES is not set
< # CONFIG_PNP_DEBUG is not set
<
< #
< # Protocols
< #
< CONFIG_ISAPNP=y
< CONFIG_PNPBIOS=y
---
Quoted 1 line
#
CONFIG_PNPis not set
213d204
< # CONFIG_BLK_DEV_ISAPNP is not set
362d352
< # CONFIG_NET_SB1000 is not set
.config crashes, it oopses as soon as pnp starts, then 2 seconds later the previous oops comes up and it panics.
the only thing I managed to read was that the EIP was in kfree, and most of the call traces had pnp_ in the name
I can't get the rest until I figure out how to get some kind of serial console working...I wonder if I can get it working over infrared to my pda :)
attached is the full .config:
Signature · 1 line
-Justin
#
# Automatically generated make config: don't edit
#CONFIG_X86=yCONFIG_MMU=yCONFIG_SWAP=yCONFIG_UID16=yCONFIG_GENERIC_ISA_DMA=y
#
# Code maturity level options
#CONFIG_EXPERIMENTAL=y
#
# General setup
#CONFIG_NET=yCONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not setCONFIG_SYSCTL=y
#
# Loadable module support
#CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not setCONFIG_KMOD=y
#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not setCONFIG_M586TSC=y
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MGEODE is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not setCONFIG_X86_CMPXCHG=yCONFIG_X86_XADD=yCONFIG_X86_L1_CACHE_SHIFT=5CONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_X86_PPRO_FENCE=yCONFIG_X86_F00F_BUG=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=yCONFIG_X86_USE_STRING_486=yCONFIG_X86_ALIGNMENT_16=yCONFIG_X86_TSC=y
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not set
# CONFIG_X86_UP_APIC is not set
# CONFIG_X86_MCE is not set
# CONFIG_CPU_FREQ is not set
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
# CONFIG_EDD is not setCONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
# CONFIG_MTRR is not set
#
# Power management options (ACPI, APM)
#
#
# ACPI Support
#
# CONFIG_ACPI is not setCONFIG_PM=yCONFIG_APM=m
# CONFIG_APM_IGNORE_USER_SUSPEND is not setCONFIG_APM_DO_ENABLE=yCONFIG_APM_CPU_IDLE=yCONFIG_APM_DISPLAY_BLANK=y
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set
#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not setCONFIG_PCI_GOANY=yCONFIG_PCI_BIOS=yCONFIG_PCI_DIRECT=y
# CONFIG_SCx200 is not setCONFIG_PCI_NAMES=yCONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not setCONFIG_HOTPLUG=y
#
# PCMCIA/CardBus support
#CONFIG_PCMCIA=mCONFIG_CARDBUS=yCONFIG_I82092=mCONFIG_I82365=mCONFIG_TCIC=m
#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set
#
# Executable file formats
#CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not setCONFIG_BINFMT_AOUT=yCONFIG_BINFMT_ELF=yCONFIG_BINFMT_MISC=y
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Parallel port support
#CONFIG_PARPORT=mCONFIG_PARPORT_PC=mCONFIG_PARPORT_PC_CML1=mCONFIG_PARPORT_SERIAL=mCONFIG_PARPORT_PC_FIFO=yCONFIG_PARPORT_PC_SUPERIO=y
# CONFIG_PARPORT_PC_PCMCIA is not setCONFIG_PARPORT_OTHER=yCONFIG_PARPORT_1284=y
#
# Plug and Play configuration
#CONFIG_PNP=y
# CONFIG_PNP_NAMES is not set
# CONFIG_PNP_DEBUG is not set
#
# Protocols
#CONFIG_ISAPNP=yCONFIG_PNPBIOS=y
#
# Block devices
#CONFIG_BLK_DEV_FD=y
# 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_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not setCONFIG_BLK_DEV_LOOP=mCONFIG_BLK_DEV_NBD=mCONFIG_BLK_DEV_RAM=mCONFIG_BLK_DEV_RAM_SIZE=4096
# CONFIG_LBD is not set
#
# ATA/ATAPI/MFM/RLL device support
#CONFIG_IDE=y
#
# IDE, ATA and ATAPI Block devices
#CONFIG_BLK_DEV_IDE=y
#
# Please see Documentation/ide.txt for help/info on IDE drives #
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set CONFIG_BLK_DEV_IDEDISK=yCONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set
# CONFIG_BLK_DEV_IDECS is not set CONFIG_BLK_DEV_IDECD=m
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_IDE_TASK_IOCTL is not set
#
# IDE chipset support/bugfixes
#CONFIG_BLK_DEV_CMD640=y
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
# CONFIG_BLK_DEV_ISAPNP is not setCONFIG_BLK_DEV_IDEPCI=yCONFIG_BLK_DEV_GENERIC=yCONFIG_IDEPCI_SHARE_IRQ=yCONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDE_TCQ is not set
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_IDEDMA_FORCED is not setCONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not setCONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not setCONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not setCONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_NFORCE is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not setCONFIG_BLK_DEV_RZ1000=y
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_CHIPSETS is not setCONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not setCONFIG_BLK_DEV_IDE_MODES=y
#
# SCSI device support
#
# CONFIG_SCSI is not set
#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
#
# Fusion MPT device support
#
#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set
#
# I2O device support
#
# CONFIG_I2O is not set
#
# Networking options
#CONFIG_PACKET=yCONFIG_PACKET_MMAP=y
# CONFIG_NETLINK_DEV is not setCONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
# CONFIG_FILTER is not setCONFIG_UNIX=yCONFIG_NET_KEY=yCONFIG_INET=yCONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not setCONFIG_INET_AH=yCONFIG_INET_ESP=y
#
# IP: Netfilter Configuration
#
# CONFIG_IP_NF_CONNTRACK is not set
# CONFIG_IP_NF_QUEUE is not set
# CONFIG_IP_NF_IPTABLES is not set
# CONFIG_IP_NF_ARPTABLES is not set
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set
# CONFIG_IPV6 is not set
#
# SCTP Configuration (EXPERIMENTAL)
#CONFIG_IPV6_SCTP__=yCONFIG_IP_SCTP=m
# CONFIG_SCTP_ADLER32 is not set
# CONFIG_SCTP_DBG_MSG is not set
# CONFIG_SCTP_DBG_OBJCNT is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_X25 is not set
# CONFIG_LAPB 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 is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
#
# Network device support
#CONFIG_NETDEVICES=y
#
# ARCnet devices
#
# CONFIG_ARCNET is not setCONFIG_DUMMY=m
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not setCONFIG_TUN=m
# CONFIG_ETHERTAP is not set
# CONFIG_NET_SB1000 is not set
#
# Ethernet (10 or 100Mbit)
#CONFIG_NET_ETHERNET=y
# CONFIG_HAPPYMEAL 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
#
# Tulip family network device support
#CONFIG_NET_TULIP=y
# CONFIG_DE2104X is not set
# CONFIG_TULIP is not set
# CONFIG_DE4X5 is not set
# CONFIG_WINBOND_840 is not set
# CONFIG_DM9102 is not setCONFIG_PCMCIA_XIRCOM=mCONFIG_PCMCIA_XIRTULIP=m
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
# CONFIG_NET_PCI 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_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN 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 setCONFIG_PPP=mCONFIG_PPP_MULTILINK=yCONFIG_PPP_ASYNC=mCONFIG_PPP_SYNC_TTY=mCONFIG_PPP_DEFLATE=mCONFIG_PPP_BSDCOMP=mCONFIG_PPPOE=m
# CONFIG_SLIP is not set
#
# Wireless LAN (non-hamradio)
#CONFIG_NET_RADIO=y
# CONFIG_STRIP is not set
# CONFIG_ARLAN is not setCONFIG_AIRONET4500=mCONFIG_AIRONET4500_NONCS=m
# CONFIG_AIRONET4500_PNP is not set
# CONFIG_AIRONET4500_PCI is not set
# CONFIG_AIRONET4500_ISA is not set
# CONFIG_AIRONET4500_I365 is not set
# CONFIG_AIRONET4500_PROC is not set
#
# Wireless ISA/PCI cards support
#
# CONFIG_WAVELAN is not setCONFIG_AIRO=m
# CONFIG_HERMES is not set
#
# Wireless Pcmcia/Cardbus cards support
#
# CONFIG_PCMCIA_NETWAVE is not set
# CONFIG_PCMCIA_WAVELAN is not set
# CONFIG_AIRO_CS is not setCONFIG_NET_WIRELESS=y
#
# 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
#
# PCMCIA network device support
#CONFIG_NET_PCMCIA=yCONFIG_PCMCIA_3C589=mCONFIG_PCMCIA_3C574=mCONFIG_PCMCIA_FMVJ18X=mCONFIG_PCMCIA_PCNET=mCONFIG_PCMCIA_NMCLAN=mCONFIG_PCMCIA_SMC91C92=mCONFIG_PCMCIA_XIRC2PS=mCONFIG_PCMCIA_AXNET=mCONFIG_NET_PCMCIA_RADIO=yCONFIG_PCMCIA_RAYCS=mCONFIG_AIRONET4500_CS=m
#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set
#
# IrDA (infrared) support
#CONFIG_IRDA=m
#
# IrDA protocols
#CONFIG_IRLAN=mCONFIG_IRNET=mCONFIG_IRCOMM=mCONFIG_IRDA_ULTRA=y
#
# IrDA options
#
# CONFIG_IRDA_CACHE_LAST_LSAP is not set
# CONFIG_IRDA_FAST_RR is not set
# CONFIG_IRDA_DEBUG is not set
#
# Infrared-port device drivers
#
#
# SIR device drivers
#CONFIG_IRTTY_SIR=m
#
# Dongle support
#
# CONFIG_DONGLE is not set
#
# Old SIR device drivers
#
# CONFIG_IRTTY_OLD is not setCONFIG_IRPORT_SIR=m
#
# Old Serial dongle support
#
# CONFIG_DONGLE_OLD is not set
#
# FIR device drivers
#
# CONFIG_NSC_FIR is not set
# CONFIG_WINBOND_FIR is not set
# CONFIG_TOSHIBA_OLD is not set
# CONFIG_TOSHIBA_FIR is not set
# CONFIG_SMC_IRCC_FIR is not set
# CONFIG_ALI_FIR is not set
# CONFIG_VLSI_FIR is not set
#
# ISDN subsystem
#
# CONFIG_ISDN_BOOL is not set
#
# Telephony Support
#
# CONFIG_PHONE is not set
#
# Input device support
#CONFIG_INPUT=y
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=m
# CONFIG_INPUT_MOUSEDEV_PSAUX is not setCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not setCONFIG_INPUT_EVDEV=m
# CONFIG_INPUT_EVBUG is not set
#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not setCONFIG_SOUND_GAMEPORT=yCONFIG_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ATKBD=yCONFIG_KEYBOARD_SUNKBD=mCONFIG_KEYBOARD_XTKBD=mCONFIG_KEYBOARD_NEWTON=mCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_PS2=yCONFIG_MOUSE_SERIAL=m
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not setCONFIG_INPUT_MISC=yCONFIG_INPUT_PCSPKR=m
# CONFIG_INPUT_UINPUT is not set
#
# Character devices
#CONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set
#
# Serial drivers
#CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=y
# CONFIG_SERIAL_8250_CS is not set
# CONFIG_SERIAL_8250_EXTENDED is not set
#
# Non-8250 serial port support
#CONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_UNIX98_PTYS=yCONFIG_UNIX98_PTY_COUNT=256
# CONFIG_PRINTER is not set
# CONFIG_PPDEV is not set
# CONFIG_TIPAR is not set
#
# I2C support
#
# CONFIG_I2C is not set
#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set
#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_INTEL_RNG is not set
# CONFIG_AMD_RNG is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not setCONFIG_GEN_RTC=mCONFIG_GEN_RTC_X=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set
#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set
# CONFIG_DRM is not set
#
# PCMCIA character devices
#
# CONFIG_SYNCLINK_CS is not setCONFIG_MWAVE=m
# CONFIG_RAW_DRIVER is not set
#
# Multimedia devices
#CONFIG_VIDEO_DEV=m
#
# Video For Linux
#
# CONFIG_VIDEO_PROC_FS is not set
#
# Video Adapters
#
# CONFIG_VIDEO_PMS is not set
# CONFIG_VIDEO_BWQCAM is not set
# CONFIG_VIDEO_CQCAM is not set
# CONFIG_VIDEO_W9966 is not set
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_STRADIS is not set
#
# Radio Adapters
#
# CONFIG_RADIO_CADET is not set
# CONFIG_RADIO_RTRACK is not set
# CONFIG_RADIO_RTRACK2 is not set
# CONFIG_RADIO_AZTECH is not set
# CONFIG_RADIO_GEMTEK is not set
# CONFIG_RADIO_GEMTEK_PCI is not set
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_MAESTRO is not set
# CONFIG_RADIO_SF16FMI is not set
# CONFIG_RADIO_TERRATEC is not set
# CONFIG_RADIO_TRUST is not set
# CONFIG_RADIO_TYPHOON is not set
# CONFIG_RADIO_ZOLTRIX is not set
#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set
#
# File systems
#
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not setCONFIG_AUTOFS4_FS=mCONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not setCONFIG_HFS_FS=m
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not setCONFIG_EXT3_FS=yCONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not setCONFIG_JBD=yCONFIG_JBD_DEBUG=yCONFIG_FAT_FS=mCONFIG_MSDOS_FS=mCONFIG_VFAT_FS=m
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not setCONFIG_TMPFS=yCONFIG_RAMFS=yCONFIG_ISO9660_FS=mCONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
# CONFIG_JFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_HPFS_FS is not setCONFIG_PROC_FS=yCONFIG_DEVFS_FS=y
# CONFIG_DEVFS_MOUNT is not set
# CONFIG_DEVFS_DEBUG is not setCONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not setCONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UDF_FS is not set
# CONFIG_UFS_FS is not set
# CONFIG_XFS_FS is not set
#
# Network File Systems
#
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not setCONFIG_NFS_FS=mCONFIG_NFS_V3=y
# CONFIG_NFS_V4 is not setCONFIG_NFSD=m
# CONFIG_NFSD_V3 is not set
# CONFIG_NFSD_TCP is not setCONFIG_SUNRPC=mCONFIG_LOCKD=mCONFIG_LOCKD_V4=yCONFIG_EXPORTFS=mCONFIG_CIFS=mCONFIG_SMB_FS=mCONFIG_SMB_NLS_DEFAULT=yCONFIG_SMB_NLS_REMOTE="cp437"
# CONFIG_NCP_FS is not set
# CONFIG_AFS_FS is not setCONFIG_FS_MBCACHE=y
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not setCONFIG_MSDOS_PARTITION=yCONFIG_SMB_NLS=yCONFIG_NLS=y
#
# Native Language Support
#CONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set
#
# Console drivers
#CONFIG_VGA_CONSOLE=yCONFIG_VIDEO_SELECT=y
# CONFIG_MDA_CONSOLE is not set
#
# Frame-buffer support
#
# CONFIG_FB is not set
#
# Sound
#
# CONFIG_SOUND is not set
#
# USB support
#
# CONFIG_USB is not set
#
# Bluetooth support
#
# CONFIG_BT is not set
#
# Profiling support
#
# CONFIG_PROFILING is not set
#
# Kernel hacking
#CONFIG_SOFTWARE_SUSPEND=yCONFIG_DEBUG_KERNEL=yCONFIG_DEBUG_STACKOVERFLOW=yCONFIG_DEBUG_SLAB=yCONFIG_DEBUG_IOVIRT=yCONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SPINLOCK is not setCONFIG_KALLSYMS=y
# CONFIG_X86_STACK_CHECK is not setCONFIG_IOMMU_DEBUG=y
#
# Security options
#CONFIG_SECURITY_CAPABILITIES=y
#
# Cryptographic options
#CONFIG_CRYPTO=yCONFIG_CRYPTO_HMAC=yCONFIG_CRYPTO_MD4=mCONFIG_CRYPTO_MD5=mCONFIG_CRYPTO_SHA1=mCONFIG_CRYPTO_SHA256=mCONFIG_CRYPTO_DES=mCONFIG_CRYPTO_BLOWFISH=mCONFIG_CRYPTO_TEST=m
#
# Library routines
#CONFIG_CRC32=mCONFIG_ZLIB_INFLATE=mCONFIG_ZLIB_DEFLATE=mCONFIG_X86_BIOS_REBOOT=y
Quoted 3 lines · Justin A
.config crashes, it oopses as soon as pnp starts, then 2 seconds later the previous oops comes up and it panics.
Irritating when it does that. Here's a little patch which should stop the machine dead after the first ooops, prevent stuff from scrolling off the screen.
This, with the missing touch_nmi_watchdog() would be a handy kernel boot option, perhaps.
arch/i386/kernel/traps.c renamed from arch/i386/kernel/traps.c~noscroll +4 -1
@@ -84,7 +84,7 @@ asmlinkage void alignment_check(void); asmlinkage void spurious_interrupt_bug(void); asmlinkage void machine_check(void); -static int kstack_depth_to_print =24 ; +static int kstack_depth_to_print =10 ;/*
@@ -246,6 +246,9 @@ bad:printk ("%02x " , c); } } +local_irq_disable (); +for ( ; ; ) + ;printk ("\n" ); }
_
Ok..that worked:
for future reference...what is the important part of the oops so I don't have to type the useless parts?
I'm guessing just the Call Trace, which is:
pnpbios_set_resources+0x7c/0x90 pnp_activate_dev+0xe6/0x114 pnp_device_probe+0x33/0xc4 bus_match+0x37/0x5c driver_attach+0x44/0x74 bus_add_driver+0x60/0x80 driver_register+0x69/0x84 pnp_register_driver+0x29/0x48 init+0x0/0x13c init+0x1a/0x13c init+0x0/0x13c kernel_thread_helper+0x5/0xc
Signature · 1 line
-Justin
Quoted 35 lines · Andrew Morton
Quoted 2 lines · Justin A
.config crashes, it oopses as soon as pnp starts, then 2 seconds later the previous oops comes up and it panics.
Irritating when it does that. Here's a little patch which should stop the machine dead after the first ooops, prevent stuff from scrolling off the screen.
This, with the missing
touch_nmi_watchdog()would be a handy kernel boot option, perhaps.arch/i386/kernel/traps.c renamed from arch/i386/kernel/traps.c~noscroll +4
-1@@ -84,7 +84,7 @@ asmlinkage void alignment_check(void); asmlinkage void spurious_interrupt_bug(void); asmlinkage void machine_check(void); -static int kstack_depth_to_print =24 ; +static int kstack_depth_to_print =10 ;/* @@ -246,6 +246,9 @@ bad:printk ("%02x " , c); } } +local_irq_disable (); +for ( ; ; ) + ;printk ("\n" ); }_
Quoted 3 lines · Justin A
On another note,
pcibios_read_config_dwordseems to be missing, and pcmcia-core wants it. I'll have to see whats up with that tomorrow...but at least I got it booting now:)
Osamu Tomita sent following fix a few days ago. No rediffed against 2.5.47-ac4. With this, I was able to get pcmcia_core loading. On the other hand, I seem to be able to crash my Dell Latitude by removing and then re-inserting 3c59x -cardbus-adapter. And by trying to reboot or halt, so I really cannot tell whether this patch _really_ works. But it definitely did something!-)
Suonpää...
drivers/pcmcia/cistpl.c renamed from drivers/pcmcia/cistpl.c.orig +1 -1
@@ -430,7 +430,7 @@#ifdef CONFIG_CARDBUS if (s->state &SOCKET_CARDBUS ) {u_int ptr; -pcibios_read_config_dword (s->cap.cb_dev->subordinate->number,0 ,0x28 , &ptr); +pci_bus_read_config_dword (s->cap.cb_dev->subordinate,0 ,0x28 , &ptr); tuple->CISOffset = ptr & ~7 ;SPACE (tuple->Flags) = (ptr &7 ); }else
Thanks! that lets pcmcia_core load at least...It still doesn't work though:( I had the same problem with 2.4.19 though, I need to use pcmcia-cs for it to work. pcmcia-cs is 3.2.1 while the kernel is 3.1.22, and I haven't figured out how to get pcmcia-cs to work with 2.5 yet:)
Quoted 26 lines · Samuli Suonpaa
Quoted 3 lines · Justin A
On another note,
pcibios_read_config_dwordseems to be missing, and pcmcia-core wants it. I'll have to see whats up with that tomorrow...but at least I got it booting now:)Osamu Tomita sent following fix a few days ago. No rediffed against 2.5.47-ac4. With this, I was able to get
pcmcia_coreloading. On the other hand, I seem to be able to crash my Dell Latitude by removing and then re-inserting 3c59x -cardbus-adapter. And by trying to reboot or halt, so I really cannot tell whether this patch _really_ works. But it definitely did something!-)Suonpää...
--- linux-2.5.47-ac4/drivers/pcmcia/cistpl.c.orig 2002-11-15
23:29:24.000000000 +0200 +++linux-2.5.47-ac4/drivers/pcmcia/cistpl.c2002-11-15 23:31:35.000000000
+0200 @@ -430,7 +430,7 @@#ifdef CONFIG_CARDBUS if (s->state & SOCKET_CARDBUS) {(quoted diff) +0
-1u_int ptr; - pcibios_read_config_dword(s->cap.cb_dev->subordinate->number, 0, 0x28,&ptr); + pci_bus_read_config_dword(s->cap.cb_dev->subordinate, 0,
0x28,
&ptr);tuple->CISOffset= ptr & ~7;SPACE(tuple->Flags) = (ptr & 7); } else
Signature · 1 line
-Justin