Kernel 2.4.20 Panic Report - Panic + Ksymoops + Config

Kernel 2.4.20 Panic Report - Panic + Ksymoops + Config

Post by Djeizon Barro » Sat, 28 Dec 2002 19:00:08



Hi

I never had to fill a kernel bug report in 5 years using linux
- so please excuse me if I missed something here.This is kernel 2.4.20
vanilla and unpatched. Looks like something weird in usb.c.

Distro: Conectiva Linux 8.0
GCC: 2.95.3
Glibc: 2.2.4
Kernel config options: See below KSYMOOPS OUTPUT
Hardware: Toshiba Tecra 8000 PII300 128RAM 10GB

Thank you for your attention
(Specially if you consider that I handwrote the panic coz it couldn't
reach the disk).

Djeizon Barros

============= KERNEL 2.4.20 PANIC ==================

usb.c: Registered new drivers cpia
Unable to handle kernel NULL pointer dereference at virtual address
00000000
printing eip:
c0113794
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c0113794>] Not tainted
EFLAGS: 00010082
eax: c039d78c ebx: 00000000 ecx: 00000202 edx: c1177fa4
esi: c1177f9c edi: c1176000 ebp: 0008e000 esp: c1177f84
ds: 0018 es: 0018 ss:0018
Process swapper (pid: 1, stackpage=c1177000)
Stack: c039d780 c1177f9c c0105a39 c0314e60 c034dfd8 00000000 00000001
c1176000
c039d78c 00000000 c0105b98 c039d780 c0345560 c0314e70 c02455e7
c0314e60
c034dfd8 c0242898 c0368d3c c0359184 c0314e60 c034e687 00010f00
c034e6c2
Call trace: [<c0105a39>] [<c0105b98>] [<c02455e7>] [<c0242898>]
[<c010502f>]
[<c0105548>]
Code: 89 13 51 9d 5b 5e c3 90 56 53 89 d6 9c 5a fa 8d 5e 08 8b 4b
<0>Kernel Panic: Attempt to kill init!

============= KSYMOOPS OUTPUT ===============

ksymoops 2.4.8 on i686 2.4.18-2cl.

usb.c: Registered new drivers cpia
Unable to handle kernel NULL pointer dereference at virtual address
00000000
c0113794
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c0113794>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010082
eax: c039d78c ebx: 00000000 ecx: 00000202 edx: c1177fa4
esi: c1177f9c edi: c1176000 ebp: 0008e000 esp: c1177f84
ds: 0018 es: 0018 ss:0018
Process swapper (pid: 1, stackpage=c1177000)
Stack: c039d780 c1177f9c c0105a39 c0314e60 c034dfd8 00000000 00000001
c1176000
c039d78c 00000000 c0105b98 c039d780 c0345560 c0314e70 c02455e7
c0314e60
c034dfd8 c0242898 c0368d3c c0359184 c0314e60 c034e687 00010f00
c034e6c2
Call trace: [<c0105a39>] [<c0105b98>] [<c02455e7>] [<c0242898>]
[<c010502f>]
[<c0105548>]
Code: 89 13 51 9d 5b 5e c3 90 56 53 89 d6 9c 5a fa 8d 5e 08 8b 4b

>>EIP; c0113794 <add_wait_queue_exclusive+1c/24> <=====
>>eax; c039d78c <usb_bus_list_lock+c/14>
>>edx; c1177fa4 <_end+dd7244/848e2a0>
>>esi; c1177f9c <_end+dd723c/848e2a0>
>>edi; c1176000 <_end+dd52a0/848e2a0>
>>esp; c1177f84 <_end+dd7224/848e2a0>

Trace; c0105a39 <__down+41/9c>
Trace; c0105b98 <__down_failed+8/c>
Trace; c02455e7 <.text.lock.usb+5/be>
Trace; c0242898 <usb_register+98/a4>
Trace; c010502f <init+7/108>
Trace; c0105548 <kernel_thread+28/38>
Code; c0113794 <add_wait_queue_exclusive+1c/24>
00000000 <_EIP>:
Code; c0113794 <add_wait_queue_exclusive+1c/24> <=====
0: 89 13 mov %edx,(%ebx) <=====
Code; c0113796 <add_wait_queue_exclusive+1e/24>
2: 51 push %ecx
Code; c0113797 <add_wait_queue_exclusive+1f/24>
3: 9d popf
Code; c0113798 <add_wait_queue_exclusive+20/24>
4: 5b pop %ebx
Code; c0113799 <add_wait_queue_exclusive+21/24>
5: 5e pop %esi
Code; c011379a <add_wait_queue_exclusive+22/24>
6: c3 ret
Code; c011379b <add_wait_queue_exclusive+23/24>
7: 90 nop
Code; c011379c <remove_wait_queue+0/28>
8: 56 push %esi
Code; c011379d <remove_wait_queue+1/28>
9: 53 push %ebx
Code; c011379e <remove_wait_queue+2/28>
a: 89 d6 mov %edx,%esi
Code; c01137a0 <remove_wait_queue+4/28>
c: 9c pushf
Code; c01137a1 <remove_wait_queue+5/28>
d: 5a pop %edx
Code; c01137a2 <remove_wait_queue+6/28>
e: fa cli
Code; c01137a3 <remove_wait_queue+7/28>
f: 8d 5e 08 lea 0x8(%esi),%ebx
Code; c01137a6 <remove_wait_queue+a/28>
12: 8b 4b 00 mov 0x0(%ebx),%ecx
<0>Kernel Panic: Attempt to kill init!

================ THE CONFIG OPTIONS ===================

#
# Automatically generated by make menuconfig: don't edit
#
CONFIG_X86=y
# CONFIG_SBUS is not set
CONFIG_UID16=y
#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
CONFIG_M686=y
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUM4 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 set
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_X86_HAS_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_PGE=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_PPRO_FENCE=y
CONFIG_X86_F00F_WORKS_OK=y
CONFIG_X86_MCE=y
CONFIG_TOSHIBA=y
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_HIGHMEM is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_SMP is not set
# CONFIG_X86_UP_APIC is not set
# CONFIG_X86_UP_IOAPIC is not set
# CONFIG_X86_TSC_DISABLE is not set
CONFIG_X86_TSC=y
#
# General setup
#
CONFIG_NET=y
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_ISA=y
CONFIG_PCI_NAMES=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
CONFIG_HOTPLUG=y
#
# PCMCIA/CardBus support
#
CONFIG_PCMCIA=y
CONFIG_CARDBUS=y
CONFIG_TCIC=y
CONFIG_I82092=y
CONFIG_I82365=y
#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set
# CONFIG_HOTPLUG_PCI_COMPAQ is not set
# CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set
# CONFIG_HOTPLUG_PCI_IBM is not set
# CONFIG_HOTPLUG_PCI_ACPI is not set
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
CONFIG_PM=y
# CONFIG_ACPI is not set
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
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
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Parallel port support
#
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PARPORT_PC_CML1=y
# CONFIG_PARPORT_SERIAL is not set
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_PC_PCMCIA is not set
# CONFIG_PARPORT_AMIGA is not set
# CONFIG_PARPORT_MFC3 is not set
# CONFIG_PARPORT_ATARI is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_SUNBPP is not set
# CONFIG_PARPORT_OTHER is not set
CONFIG_PARPORT_1284=y
#
# Plug and Play configuration
#
# CONFIG_PNP is not set
# CONFIG_ISAPNP is not set
#
# 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_CISS_SCSI_TAPE 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=y
#
# 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 is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_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 set
# CONFIG_IPV6 is not set
# CONFIG_KHTTPD is not set
# CONFIG_ATM 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 is not set
# 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 is not set
#
# 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=y
#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set
# CONFIG_BLK_DEV_IDEDISK_VENDOR is not set
# CONFIG_BLK_DEV_IDEDISK_FUJITSU is not set
# CONFIG_BLK_DEV_IDEDISK_IBM is not set
# CONFIG_BLK_DEV_IDEDISK_MAXTOR is not set
# CONFIG_BLK_DEV_IDEDISK_QUANTUM is not set
# CONFIG_BLK_DEV_IDEDISK_SEAGATE is not set
# CONFIG_BLK_DEV_IDEDISK_WD is not set
# CONFIG_BLK_DEV_COMMERIAL is not set
# CONFIG_BLK_DEV_TIVO is not set
CONFIG_BLK_DEV_IDECS=y
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
CONFIG_BLK_DEV_IDESCSI=y
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_BLK_DEV_CMD640=y
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
# CONFIG_BLK_DEV_ISAPNP is not set
CONFIG_BLK_DEV_RZ1000=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_IDEDMA_FORCED is not ...

read more »

 
 
 

Kernel 2.4.20 Panic Report - Panic + Ksymoops + Config

Post by Greg K » Sat, 28 Dec 2002 20:50:06



> Hi

> I never had to fill a kernel bug report in 5 years using linux
> - so please excuse me if I missed something here.This is kernel 2.4.20
> vanilla and unpatched. Looks like something weird in usb.c.

Ah, here's a patch for this problem.  It's in my list of things to send
to Marcelo next.  If you want to fix this without patching, make the
cpia driver a module.

thanks,

greg k-h

diff -Nru a/Makefile b/Makefile
--- a/Makefile  Fri Dec 27 10:51:55 2002

 DRIVERS-y += drivers/char/char.o \
        drivers/block/block.o \
        drivers/misc/misc.o \
-       drivers/net/net.o \
-       drivers/media/media.o
+       drivers/net/net.o
 DRIVERS-$(CONFIG_AGP) += drivers/char/agp/agp.o
 DRIVERS-$(CONFIG_DRM_NEW) += drivers/char/drm/drm.o

 DRIVERS-$(CONFIG_HAMRADIO) += drivers/net/hamradio/hamradio.o
 DRIVERS-$(CONFIG_TC) += drivers/tc/tc.a
 DRIVERS-$(CONFIG_USB) += drivers/usb/usbdrv.o
+DRIVERS-y +=drivers/media/media.o
 DRIVERS-$(CONFIG_INPUT) += drivers/input/inputdrv.o
 DRIVERS-$(CONFIG_HIL) += drivers/hil/hil.o
 DRIVERS-$(CONFIG_I2O) += drivers/message/i2o/i2o.o
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. usb ftdi_sio kernel 2.4.20 panic

Yeah, lots of people are getting this lately, unfortunatly I can't
duplicate it :(

But I think it's now fixed up in the latest 2.5-bk tree.  If you could
test 2.5.62 and 2.5.63 when it comes out and let me know if it still
happens there, I would greatly appreciate it.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. mini [PATCH] 2.4.19-pre2-ac1 one sched hunk missing

3. Kernel 2.4.20 does compile and install but panic on boot

4. boots from hard disk, not floppy

5. Kernel panic with 2.4.20-rc3

6. Slackware CD Vendors

7. 2.4.20 + Supermount patch + Pre-empt patch = Kernel panic

8. Linux UMSDOS HOWTO

9. PROBLEM: ide-related kernel panic in 2.4.19 and 2.4.20-pre11

10. Kernel 2.4.20 panic in scheduler

11. kernel panic on heavily loaded 2.4.20 router

12. PROBLEM: kernel panic in 2.4.20

13. 2.4.20-rc2 - Kernel Panic