[OpenAFS] Fwd: Bug#430179: Oops loading openafs module on kernel 2.6.22-rc3

Russ Allbery rra@debian.org
Sat, 23 Jun 2007 00:41:36 -0700


--=-=-=

Bcc'd to bugs.

Looks like we still don't have everything quite right for 2.6.22, or I
didn't pull up enough.  I pulled up various patches from the current
STABLE CVS around the build logic, but is there another that I missed?

Subject: Bug#430179: Oops loading openafs module on kernel 2.6.22-rc3
Reply-To: Anders Kaseorg <anders@kaseorg.com>, 430179@bugs.debian.org
From: Anders Kaseorg <anders@kaseorg.com>
Date: Fri, 22 Jun 2007 21:07:45 -0400

Package: openafs-modules-source
Version: 1.4.4.dfsg1-4

On Ubuntu gutsy amd64 with kernel 2.6.22-6-generic (2.6.22-rc3), the
openafs module now compiles (yay!) but causes a kernel oops when loaded:

[ 1316.697959] Found system call table at 0xffffffff80442a80 (pattern scan)
[ 1316.717214] Unable to handle kernel paging request at ffffffff80585000 RIP: 
[ 1316.717221]  [<ffffffff88c10270>] :openafs:check_table+0x30/0x50
[ 1316.717266] PGD 203067 PUD 205063 PMD 7c05c163 PTE 585000
[ 1316.717274] Oops: 0000 [1] SMP 
[ 1316.717279] CPU 0 
[ 1316.717283] Modules linked in: openafs(P) af_packet snd_rtctimer binfmt_misc rfcomm l2cap autofs4 ipv6 acpi_cpufreq cpufreq_userspace cpufreq_ondemand cpufreq_stats freq_table cpufreq_powersave cpufreq_conservative button battery ac video asus_acpi sbs container dock ndiswrapper fuse sbp2 parport_pc lp parport joydev snd_hda_intel snd_pcm snd_seq_dummy snd_seq_oss hci_usb bluetooth snd_seq_midi snd_rawmidi snd_seq_midi_event pcmcia snd_seq snd_timer snd_seq_device nvidia(P) sdhci mmc_core yenta_socket rsrc_nonstatic pcmcia_core snd i2c_core intel_agp psmouse soundcore snd_page_alloc iTCO_wdt iTCO_vendor_support serio_raw shpchp pci_hotplug evdev ext3 jbd mbcache 8139too sg sr_mod cdrom sd_mod ata_generic ohci1394 ieee1394 8139cp mii ehci_hcd uhci_hcd usbcore ata_piix libata scsi_mod dm_mirror dm_snapshot dm_mod thermal processor fan capability commoncap
[ 1316.717383] Pid: 6960, comm: modprobe Tainted: P       2.6.22-6-generic #1
[ 1316.717388] RIP: 0010:[<ffffffff88c10270>]  [<ffffffff88c10270>] :openafs:check_table+0x30/0x50
[ 1316.717429] RSP: 0000:ffff81005a631db0  EFLAGS: 00010286
[ 1316.717434] RAX: ffffffff80200000 RBX: 000000000000b7f0 RCX: 0000000000000000
[ 1316.717439] RDX: 0000000000000000 RSI: ffffffff80585000 RDI: 0000000000000000
[ 1316.717444] RBP: 0000000000000000 R08: 0000000000000007 R09: ffffffff88c40ee0
[ 1316.717449] R10: 0000000000000000 R11: 0000000000000006 R12: ffffffff88c41170
[ 1316.717454] R13: ffffffff80585000 R14: 0000000000030000 R15: 0000000000000000
[ 1316.717460] FS:  00002b3e852896f0(0000) GS:ffffffff8055d000(0000) knlGS:0000000000000000
[ 1316.717465] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 1316.717470] CR2: ffffffff80585000 CR3: 000000006fe55000 CR4: 00000000000006e0
[ 1316.717476] Process modprobe (pid: 6960, threadinfo ffff81005a630000, task ffff81005d9914a0)
[ 1316.717480] Stack:  ffffffff88c1038e ffffffff88c40ee0 0000000000000000 ffffffff802991d0
[ 1316.717491]  ffffffff88c40ee0 0000000000000000 ffff810057fbe540 000000000000002d
[ 1316.717499]  ffffffff88c41e00 ffffc20013cbde40 ffffffff88c1068a ffff810057fbe540
[ 1316.717507] Call Trace:
[ 1316.717545]  [<ffffffff88c1038e>] :openafs:scan_for_syscall_table+0xfe/0x280
[ 1316.717557]  [<ffffffff802991d0>] sys_close+0x0/0xf0
[ 1316.717601]  [<ffffffff88c1068a>] :openafs:osi_find_syscall_table+0x17a/0x200
[ 1316.717643]  [<ffffffff88c10e52>] :openafs:osi_syscall_init+0x62/0xe0
[ 1316.717671]  [<ffffffff880c5017>] :openafs:init_module+0x17/0xa6
[ 1316.717681]  [<ffffffff802577fb>] sys_init_module+0x19b/0x19b0
[ 1316.717709]  [<ffffffff80325da1>] __up_write+0x21/0x130
[ 1316.717728]  [<ffffffff80209e8e>] system_call+0x7e/0x83
[ 1316.717744] 
[ 1316.717746] 
[ 1316.717747] Code: 48 39 06 76 16 83 c1 01 81 f9 de 00 00 00 74 06 48 83 c6 08 
[ 1316.717766] RIP  [<ffffffff88c10270>] :openafs:check_table+0x30/0x50
[ 1316.717805]  RSP <ffff81005a631db0>
[ 1316.717809] CR2: ffffffff80585000




--=-=-=


-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

--=-=-=--