From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Hagen Subject: PROBLEM: tc-commands trigger oops on linux-2.4.25 Date: Fri, 26 Mar 2004 17:14:40 +0100 Sender: netdev-bounce@oss.sgi.com Message-ID: <406456F0.5040009@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: To: netdev@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org target: netdev@oss.sgi.com subject: PROBLEM: tc-commands trigger oops on linux-2.4.25 [1.] tc-commands trigger oops on linux-2.4.25 [2.] Using the tc-commands contained in the script in [6.] causes Linux 2.4.25 (and 2.4.24) to oops under certain conditions. It can be reproduced on the system mentioned here reliably by running the script immediately after bootup. After the oops, a number of processes get put into state D (ps-output) indefinitely. This always applies to new instances of ifconfig started without parameters. Some running daemons (e.g. named, pppd) also go into D state after variable amounts of time. "shutdown -r now" still puts the system into runlevel 6, but doesn't actually trigger a reboot anymore. Calling /sbin/reboot while in runlevel 6 does reboot it, though. [3.] networking, traffic control [4.] Linux version 2.4.25 (root@support-unit-001) (gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)) #3 Fri Mar 26 16:37:21 CET 2004 [5.] ksymoops 2.4.5 on i686 2.4.25. Options used -V (specified) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.25/ (default) -m /boot/System.map-2.4.25 (default) Unable to handle kernel NULL pointer dereference at virtual address 00000000 00000000 *pde = 00000000 Oops: 0000 CPU: 0 EIP: 0010:[<00000000>] Not tainted Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010202 eax: fffffffe ebx: 80000000 ecx: 00000001 edx: 00000001 esi: de7624c0 edi: c03c9520 ebp: dd1a9cd8 esp: dd1a9c5c ds: 0018 es: 0018 ss: 0018 Process tc (pid: 904, stackpage=dd1a9000) Stack: c02b4cac de7624c0 00000001 00000010 00010246 dd1a9e50 dd3be380 dd1a9c88 dddf34ac 00000007 dddf3600 00000000 00000001 c03c9520 de7624c0 00010001 00000000 00000008 def296d0 c03c9568 00000c68 00000c7c ddab82e4 000005dc Call Trace: [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] Code: Bad EIP value. >>EIP; 00000000 Before first symbol >>eax; fffffffe >>ebx; 80000000 Before first symbol >>esi; de7624c0 <_end+1e334f08/2048bac8> >>edi; c03c9520 >>ebp; dd1a9cd8 <_end+1cd7c720/2048bac8> >>esp; dd1a9c5c <_end+1cd7c6a4/2048bac8> Trace; c02b4cac Trace; c02b01c2 Trace; c02afe6f Trace; c02c590a Trace; c02c51fd Trace; c02c56a3 Trace; c02a1563 Trace; c02a29d9 Trace; c012f116 Trace; c01261e6 Trace; c01263ff Trace; c0113a01 Trace; c02a1eba Trace; c02a2ea8 Trace; c0113860 Trace; c01071cf [6.] #!/bin/sh tc qdisc add dev ppp0 root handle 1:0 tbf rate 15kbps latency 50ms \ burst 1454 tc filter add dev ppp0 parent 1:1 prio 0 protocol ip handle 10 fw \ flowid 1:10 [7.] [7.1.] # ./scripts/ver_linux If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes. Linux support-unit-001 2.4.25 #3 Fri Mar 26 16:37:21 CET 2004 i686 athlon i386 GNU/Linux Gnu C 3.3.2 Gnu make 3.79.1 util-linux 2.11y mount 2.11y modutils 2.4.25 e2fsprogs 1.34 jfsutils 1.1.3 reiserfsprogs 3.6.8 quota-tools 3.06. PPP 2.4.1 isdn4k-utils 3.3 Linux C Library 2.3.2 Dynamic linker (ldd) 2.3.2 Procps 2.0.17 Net-tools 1.60 Kbd 1.08 Sh-utils 5.0 Modules Loaded nfsd parport_pc lp parport sg scsi_mod # tc -V tc utility, iproute2-ss991023 [7.2.] processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 8 model name : AMD Athlon(tm) XP 2200+ stepping : 1 cpu MHz : 1800.545 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow bogomips : 3591.37 [7.3.] nfsd 79920 8 (autoclean) parport_pc 26472 1 (autoclean) lp 8708 0 (autoclean) parport 33576 1 (autoclean) [parport_pc lp] sg 30428 0 (autoclean) (unused) scsi_mod 96544 1 (autoclean) [sg] [7.4.] [/proc/ioports] 0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0376-0376 : ide1 0378-037a : parport0 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(auto) 0cf8-0cff : PCI conf1 d800-d81f : PCI device 10ec:8029 d800-d81f : ne2k-pci dc00-dcff : PCI device 1039:0900 dc00-dcff : sis900 ff00-ff0f : PCI device 1039:5513 ff00-ff07 : ide0 ff08-ff0f : ide1 [/proc/iomem] 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000e8000-000e9fff : reserved 000f0000-000fffff : System ROM 00100000-1ffeffff : System RAM 00100000-0034d994 : Kernel code 0034d995-003d0363 : Kernel data 1fff0000-1fff7fff : ACPI Tables 1fff8000-1fffffff : ACPI Non-volatile Storage cea00000-cebfffff : PCI Bus #01 ced00000-ceefffff : PCI Bus #01 cf7ec000-cf7ecfff : PCI device 1039:0900 cf7ec000-cf7ecfff : sis900 cf7ed000-cf7edfff : PCI device 1039:7001 cf7ed000-cf7edfff : usb-ohci cf7ee000-cf7eefff : PCI device 1039:7001 cf7ee000-cf7eefff : usb-ohci cf7ef000-cf7effff : PCI device 1039:7002 cf7ef000-cf7effff : ehci_hcd cf800000-cfffffff : PCI device 5333:8811 d0000000-d7ffffff : PCI device 1039:0746 fec00000-fec00fff : reserved fee00000-fee00fff : reserved ffee0000-ffefffff : reserved fffc0000-ffffffff : reserved [7.5.] 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 746 Host (rev 10) Subsystem: Elitegroup Computer Systems: Unknown device 1808 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202 (prog-if 00 [Normal decode]) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Reset- FastB2B- 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge) (rev 25) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR-