Ticket #546 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

kernel oops with latest svn

Reported by: anonymous Assigned to: proski
Priority: major Milestone: version 0.9.x - progressive release candidate phase
Component: madwifi: other Version: trunk
Keywords: oops panic Cc:
Patch is attached: 0 Pending:

Description

After the latest hal.o fake compile changes (at least i think its caused by this change) i'm getting a kernel oops on modprobing' ath_pci:

Apr 19 19:31:13 deprecated kernel: [17179582.104000] ath_hal: module license 'Proprietary' taints kernel.
Apr 19 19:31:13 deprecated kernel: [17179582.104000] ath_hal:  ()
Apr 19 19:31:13 deprecated kernel: [17179582.176000] wlan: 0.8.4.2 (svn 1514)
Apr 19 19:31:13 deprecated kernel: [17179582.188000] ath_rate_sample: 1.2 (svn 1514)
Apr 19 19:31:13 deprecated kernel: [17179582.316000] cs: IO port probe 0x100-0x4ff: excluding 0x4d0-0x4d7
Apr 19 19:31:13 deprecated kernel: [17179582.316000] cs: IO port probe 0x800-0x8ff: clean.
Apr 19 19:31:13 deprecated kernel: [17179582.316000] cs: IO port probe 0xc00-0xcff: clean.
Apr 19 19:31:13 deprecated kernel: [17179582.316000] cs: IO port probe 0xa00-0xaff: clean.
Apr 19 19:31:13 deprecated kernel: [17179582.320000] cs: IO port probe 0x100-0x4ff: excluding 0x4d0-0x4d7
Apr 19 19:31:13 deprecated kernel: [17179582.320000] cs: IO port probe 0x800-0x8ff: clean.
Apr 19 19:31:13 deprecated kernel: [17179582.320000] cs: IO port probe 0xc00-0xcff: clean.
Apr 19 19:31:13 deprecated kernel: [17179582.324000] cs: IO port probe 0xa00-0xaff: clean.
Apr 19 19:31:13 deprecated kernel: [17179582.424000] ath_pci: 0.9.4.5 (svn 1514)
Apr 19 19:31:13 deprecated kernel: [17179582.424000] ACPI: PCI Interrupt 0000:02:02.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
Apr 19 19:31:13 deprecated kernel: [17179582.424000] wifi%%d: HAL ABI mismatch; driver expects 0x5122200, HAL reports 0x0
Apr 19 19:31:13 deprecated kernel: [17179582.424000] Unable to handle kernel NULL pointer dereference at virtual address 00000000
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  printing eip:
Apr 19 19:31:13 deprecated kernel: [17179582.424000] 00000000
Apr 19 19:31:13 deprecated kernel: [17179582.424000] *pde = 00000000
Apr 19 19:31:13 deprecated kernel: [17179582.424000] Oops: 0000 [#1]
Apr 19 19:31:13 deprecated kernel: [17179582.424000] PREEMPT
Apr 19 19:31:13 deprecated kernel: [17179582.424000] Modules linked in: ath_pci ath_rate_sample wlan ath_hal intel_agp agpgart
Apr 19 19:31:13 deprecated kernel: [17179582.424000] CPU:    0
Apr 19 19:31:13 deprecated kernel: [17179582.424000] EIP:    0060:[<00000000>]    Tainted: PF     VLI
Apr 19 19:31:13 deprecated kernel: [17179582.424000] EFLAGS: 00010286   (2.6.16 #4)
Apr 19 19:31:13 deprecated kernel: [17179582.424000] EIP is at _stext+0x3feffde0/0x30
Apr 19 19:31:13 deprecated kernel: [17179582.424000] eax: f7bce260   ebx: f7bba000   ecx: 00000000   edx: 00000000
Apr 19 19:31:13 deprecated kernel: [17179582.424000] esi: 05122200   edi: f7bce260   ebp: f7bbbbfc   esp: f7bbbbf0
Apr 19 19:31:13 deprecated kernel: [17179582.424000] ds: 007b   es: 007b   ss: 0068
Apr 19 19:31:13 deprecated kernel: [17179582.424000] Process modprobe (pid: 1891, threadinfo=f7bba000 task=f7cc6a70)
Apr 19 19:31:13 deprecated kernel: [17179582.424000] Stack: <0>f88fb2ec f7bce260 00000006 f7bbbcf8 f892719a f7bce260 f7bce000 05122200
Apr 19 19:31:13 deprecated kernel: [17179582.424000]        00000000 f7bbbce4 c592da40 c06c7c3a f7bce000 f7cc6a70 69666977 00006425
Apr 19 19:31:13 deprecated kernel: [17179582.424000]        f7bce260 00000000 00000000 00001014 f7bcf880 00000000 f7bce260 00000000
Apr 19 19:31:13 deprecated kernel: [17179582.424000] Call Trace:
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [phys_startup_32+-1089453619/-1073741824] show_stack_log_lvl+0xcd/0x120
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [phys_startup_32+-1089453138/-1073741824] show_registers+0x18e/0x220
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [phys_startup_32+-1089452354/-1073741824] die+0xfe/0x260
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [phys_startup_32+-1089370150/-1073741824] do_page_fault+0x33a/0x5de
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [phys_startup_32+-1089455357/-1073741824] error_code+0x4f/0x54
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [pg0+922866074/1047479296] ath_attach+0x20a/0x1a10 [ath_pci]
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [pg0+922909408/1047479296] ath_pci_probe+0x380/0x420 [ath_pci]
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [phys_startup_32+-1087426607/-1073741824] pci_device_probe+0x61/0x80
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [phys_startup_32+-1086943714/-1073741824] driver_probe_device+0x4e/0xd0
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [phys_startup_32+-1086943335/-1073741824] __driver_attach+0x69/0x70
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [phys_startup_32+-1086946860/-1073741824] bus_for_each_dev+0x54/0x80
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [phys_startup_32+-1086944073/-1073741824] driver_attach+0x27/0x30
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [phys_startup_32+-1086945900/-1073741824] bus_add_driver+0x84/0x180
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [phys_startup_32+-1086942171/-1073741824] driver_register+0x65/0xa0
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [phys_startup_32+-1087427845/-1073741824] __pci_register_driver+0x5b/0x90
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [pg0+922943545/1047479296] init_ath_pci+0x39/0x65 [ath_pci]
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [phys_startup_32+-1089221265/-1073741824] sys_init_module+0x15f/0x1ac0
Apr 19 19:31:13 deprecated kernel: [17179582.424000]  [phys_startup_32+-1089458223/-1073741824] syscall_call+0x7/0xb
Apr 19 19:31:13 deprecated kernel: [17179582.424000] Code:  Bad EIP value.

Change History

04/19/06 22:04:53 changed by dyqith

which revision ? there's been at least 2 changes in the last half hour.

04/19/06 22:10:52 changed by anonymous

04/19/06 22:16:03 changed by anonymous

tested this with r1518, same result. :(

04/19/06 22:35:41 changed by dyqith

Wondering if you can give a little history of your system ?

kernel ver, card info, cpu info, linux distro

04/19/06 22:57:51 changed by svens

Hrmpf. I should be logged in when writing bug report. Well, the system i get this oops is an IBM Thinkpad T42, with an ALPS Atheros card. I'm running a vanilla 2.6.16 kernel right now on a debian unstable distro. I have an idea whats happening: the build process builds the hal.c source file, but doesn't copy the hal.obj over the resulting hal.o. don't ask me why, but thats the only explanation i've got why my ath_hal.ko is only about ~10K...

04/20/06 06:09:11 changed by anonymous

kernel panic also with r1518
- IBM Thinkpad T23 with RHEL4 i686 kernel-2.6.9-34.EL.
# lspci -v
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
        Subsystem: Global Sun Technology Inc: Unknown device 7103
        Flags: bus master, medium devsel, latency 168, IRQ 11
        Memory at 20800000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2

Apr 20 05:24:22 ibmt23ub kernel: ath_hal:  ()
Apr 20 05:24:22 ibmt23ub kernel: wlan: 0.8.4.2 (svn 1518)
Apr 20 05:24:22 ibmt23ub kernel: ath_rate_sample: 1.2 (svn 1518)
Apr 20 05:24:22 ibmt23ub kernel: ath_pci: 0.9.4.5 (svn 1518)
Apr 20 05:24:22 ibmt23ub kernel: ACPI: PCI interrupt 0000:03:00.0[A] -> GSI 11 (level, low) -> IRQ 11
Apr 20 05:24:22 ibmt23ub kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000017
Apr 20 05:24:22 ibmt23ub kernel:  printing eip:
Apr 20 05:24:22 ibmt23ub kernel: e0bcb265
Apr 20 05:24:22 ibmt23ub kernel: *pde = 1eae6067
Apr 20 05:24:22 ibmt23ub kernel: Oops: 0000 [#1]
Apr 20 05:24:22 ibmt23ub kernel: Modules linked in: ath_pci(U) ath_rate_sample(U) wlan(U) ath_hal(U) nfsd exportfs lockd nf
s_acl md5 ipv6 parport_pc lp parport autofs4 i2c_dev i2c_core sunrpc button battery ac yenta_socket pcmcia_core uhci_hcd sh
pchp hw_random snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_r
awmidi snd_seq_device snd soundcore e100 mii floppy dm_snapshot dm_zero dm_mirror ext3 jbd dm_mod
Apr 20 05:24:22 ibmt23ub kernel: CPU:    0
Apr 20 05:24:22 ibmt23ub kernel: EIP:    0060:[<e0bcb265>]    Tainted: P      VLI
Apr 20 05:24:22 ibmt23ub kernel: EFLAGS: 00210202   (2.6.9-34.EL)
Apr 20 05:24:22 ibmt23ub kernel: EIP is at ath_attach+0x265/0x100b [ath_pci]
Apr 20 05:24:22 ibmt23ub kernel: eax: 00000013   ebx: 00000013   ecx: e09e0000   edx: c3106fc4
Apr 20 05:24:22 ibmt23ub kernel: esi: df7ab000   edi: df63eeac   ebp: c3106280   esp: df63ee70
Apr 20 05:24:22 ibmt23ub kernel: ds: 007b   es: 007b   ss: 0068
Apr 20 05:24:22 ibmt23ub kernel: Process modprobe (pid: 7434, threadinfo=df63e000 task=d90c07a0)
Apr 20 05:24:22 ibmt23ub kernel: Stack: c030ebe4 00200246 df7ab000 001e0000 e09e0000 20800000 c011ae7a 00200246
Apr 20 05:24:22 ibmt23ub kernel:        00000001 00000000 00000013 c3106000 00000013 c3106fc4 20000001 1d244b3c
Apr 20 05:24:22 ibmt23ub kernel:        00000000 0000000a e0bd9873 00000000 00000000 c3106000 df7ab000 c3106000
Apr 20 05:24:22 ibmt23ub kernel: Call Trace:
Apr 20 05:24:22 ibmt23ub kernel:  [<c030ebe4>] schedule+0x438/0x5ea
Apr 20 05:24:22 ibmt23ub kernel:  [<c011ae7a>] remap_area_pages+0x122/0x2a6
Apr 20 05:24:22 ibmt23ub kernel:  [<e0bd8acc>] ath_pci_probe+0x204/0x2a0 [ath_pci]
Apr 20 05:24:22 ibmt23ub kernel:  [<c01ed01d>] pci_device_probe_static+0x2a/0x3d
Apr 20 05:24:22 ibmt23ub kernel:  [<c01ed04b>] __pci_device_probe+0x1b/0x2c
Apr 20 05:24:22 ibmt23ub kernel:  [<c01ed077>] pci_device_probe+0x1b/0x2d
Apr 20 05:24:22 ibmt23ub kernel:  [<c024b217>] bus_match+0x27/0x45
Apr 20 05:24:22 ibmt23ub kernel:  [<c024b2e0>] driver_attach+0x37/0x66
Apr 20 05:24:22 ibmt23ub kernel:  [<c024b695>] bus_add_driver+0x77/0x97
Apr 20 05:24:22 ibmt23ub kernel:  [<c024bab0>] driver_register+0x51/0x58
Apr 20 05:24:22 ibmt23ub kernel:  [<c01ed235>] pci_register_driver+0x85/0xa1
Apr 20 05:24:22 ibmt23ub kernel:  [<e0982020>] init_ath_pci+0x20/0x4a [ath_pci]
Apr 20 05:24:22 ibmt23ub kernel:  [<c013de72>] sys_init_module+0xe9/0x1d0
Apr 20 05:24:22 ibmt23ub kernel:  [<c0311443>] syscall_call+0x7/0xb
Apr 20 05:24:22 ibmt23ub kernel: Code: 44 24 38 e8 ce d5 00 00 50 ff 74 24 34 68 db 98 bd e0 e8 c0 66 55 df c7 44 24 34 0600 00 00 83 c4 10 e9 97 0d 00 00 8b 5c 24 28 <8b> 43 04 3d 00 22 12 05 74 24 50 68 00 22 12 05 ff 74 24 34 68
Apr 20 05:24:22 ibmt23ub kernel:  <0>Fatal exception: panic in 5 seconds

Regards,
Uwe

04/20/06 06:10:54 changed by ubeck@c3pdm.com

Last entry comes form ubeck@c3pdm.com

kernel panic also with r1518 - IBM Thinkpad T23 with RHEL4 i686 kernel-2.6.9-34.EL

Uwe

04/20/06 06:20:10 changed by dyqith

Maybe we should roll svn back to r1513 ? That seems to have no trouble in compiling.

04/20/06 10:16:37 changed by mrenzmann

I'd say: proski should be consulted, too. He's the one who did the changes in question, maybe he has some ideas what went wrong here.

04/20/06 20:24:05 changed by dyqith

Okay, looks like its crashing for me too, it worked yesterday, but now modprobe'ing ath_pci is crashing with a similar kernel panic as above. However, it doesn't hang the system.

04/21/06 08:21:51 changed by svens

Looks to me like the change in r1503 is causing the trouble, will test later.

04/21/06 23:58:13 changed by proski

  • owner set to proski.

Please test revision 1521.

04/22/06 16:53:32 changed by svens

  • status changed from new to closed.
  • resolution set to fixed.

1521 works ok here, thanks proski. I'm closing thiis ticket, seems to be fixed.