Package: openafs-modules-source Version: 1.4.0-4 Followup-For: Bug #358203 AFAICT, KBUILD_BASENAME is actually supposed to have been defined on the command line; I worked around that problem by tweaking all the configure tests accordingly, and it looks like 1.4.1 will do the same. However, there are two further problems, one at compile time and one at runtime (at least on amd64).
The other compile-time problem is relatively trivial: osi_file.c expects struct inode to have a semaphore named i_sem rather than a mutex named i_mutex. 1.4.1rc10 fixes this problem too. However, even with the compilation errors out of the way, I still have a serious problem: I get an oops in osi_syscall_init when loading the module, both with a minimally-tweaked version of 1.4.0-4 and with 1.4.1rc10 merged in. This lossage may be architecture-dependent, as I couldn't find any similar reports in the OpenAFS mailing list archives. Anyway, here are the full oops messages: [closer to 1.4.0-4] openafs: module license 'http://www.openafs.org/dl/license10.html' taints kernel. System call hooks will not be installed; proceeding anyway Found 32-bit system call table at 0xffffffff80315850 (exported) Unable to handle kernel paging request at ffffffff80315c98 RIP: <ffffffff883087c7>{:openafs:osi_syscall_init+147} PGD 103027 PUD 105027 PMD 3eff0163 PTE 315161 Oops: 0003 [1] SMP CPU 1 Modules linked in: openafs nfsd exportfs lockd nfs_acl sunrpc binfmt_misc autofs4 fan button ac ipv6 af_packet w83627ehf hwmon eeprom i2c_isa cpufreq_conservative quickcam videodev usbhid usb_storage libusual eth1394 snd_hda_intel generic snd_hda_codec snd_pcm_oss snd_mixer_oss snd_mpu401 snd_pcm snd_mpu401_uart snd_rawmidi snd_seq_device snd_timer analog snd ohci1394 gameport i2c_i801 evdev ieee1394 floppy rtc soundcore i2c_core ehci_hcd uhci_hcd piix snd_page_alloc usbcore intel_agp agpgart ide_cd cdrom ide_generic ide_core Pid: 5708, comm: modprobe Tainted: P 2.6.16 #1 RIP: 0010:[_end+132724679/2132324352] <ffffffff883087c7>{:openafs:osi_syscall_init+147} RSP: 0000:ffff8100279a7f38 EFLAGS: 00010286 RAX: ffffffff8011c4ec RBX: ffffffff80388920 RCX: ffffffff803855a8 RDX: ffffffff80315850 RSI: 0000000000000296 RDI: ffffffff803855a0 RBP: 00000000000e8997 R08: 000000003ac3c0c6 R09: 0000000000000001 R10: 0000000000003c6b R11: ffffffff80117e43 R12: ffffffff88334900 R13: 00002af2fc14b000 R14: ffffffff803888e0 R15: 00002af2fc14b000 FS: 00002af2fc4896d0(0000) GS:ffff810001fb94c0(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: ffffffff80315c98 CR3: 0000000027e8b000 CR4: 00000000000006e0 Process modprobe (pid: 5708, threadinfo ffff8100279a6000, task ffff810028ebb740) Stack: ffffffff80388920 ffffffff88089017 ffffffff80388920 ffffffff8014820c 0000000000000000 0000000000000000 000000000050a650 0000000000000000 000000000050a668 ffffffff8010aab6 Call Trace: <ffffffff88089017>{:openafs:init_module+23} <ffffffff8014820c>{sys_init_module+248} <ffffffff8010aab6>{system_call+126} Code: 48 c7 82 48 04 00 00 50 10 31 88 48 8b 82 88 02 00 00 48 89 RIP <ffffffff883087c7>{:openafs:osi_syscall_init+147} RSP <ffff8100279a7f38> CR2: ffffffff80315c98 [1.4.1rc10 merged in] openafs: module license 'http://www.openafs.org/dl/license10.html' taints kernel. System call hooks will not be installed; proceeding anyway Found 32-bit system call table at 0xffffffff80315850 (exported) Unable to handle kernel paging request at ffffffff80315c98 RIP: <ffffffff88309f63>{:openafs:osi_syscall_init+147} PGD 103027 PUD 105027 PMD 3f48e163 PTE 315161 Oops: 0003 [1] SMP CPU 0 Modules linked in: openafs nfsd exportfs lockd nfs_acl sunrpc binfmt_misc autofs4 fan button ac ipv6 af_packet w83627ehf hwmon eeprom i2c_isa cpufreq_conservative usb_storage libusual eth1394 usbhid quickcam videodev generic snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_mpu401 snd_mpu401_uart snd_rawmidi snd_pcm snd_seq_device snd_timer evdev analog gameport ohci1394 snd i2c_i801 ieee1394 floppy ehci_hcd piix rtc i2c_core uhci_hcd soundcore intel_agp agpgart usbcore snd_page_alloc ide_cd cdrom ide_generic ide_core Pid: 5623, comm: modprobe Tainted: P 2.6.16 #1 RIP: 0010:[_end+132730723/2132324352] <ffffffff88309f63>{:openafs:osi_syscall_init+147} RSP: 0000:ffff81002a9f9f38 EFLAGS: 00010286 RAX: ffffffff8011c4ec RBX: ffffffff80388920 RCX: 000000000000546e RDX: ffffffff80315850 RSI: 0000000000000246 RDI: ffffffff803855c0 RBP: 00000000000e4a6d R08: 000000000000000b R09: 000000000000001e R10: 000000000000001f R11: 00000000000003d4 R12: ffffffff88334e00 R13: 00002b1734069000 R14: ffffffff803888e0 R15: 00002b1734069000 FS: 00002b17343a76d0(0000) GS:ffffffff80431000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: ffffffff80315c98 CR3: 000000002a994000 CR4: 00000000000006e0 Process modprobe (pid: 5623, threadinfo ffff81002a9f8000, task ffff8100332df180) Stack: ffffffff80388920 ffffffff88088017 ffffffff80388920 ffffffff8014820c 0000000000000000 0000000000000000 000000000050a650 0000000000000000 000000000050a668 ffffffff8010aab6 Call Trace: <ffffffff88088017>{:openafs:init_module+23} <ffffffff8014820c>{sys_init_module+248} <ffffffff8010aab6>{system_call+126} Code: 48 c7 82 48 04 00 00 33 1f 31 88 48 8b 82 88 02 00 00 48 89 RIP <ffffffff88309f63>{:openafs:osi_syscall_init+147} RSP <ffff81002a9f9f38> CR2: ffffffff80315c98 FWIW, the corresponding un-relocated assembly appears to be 4ff63: 48 c7 82 48 04 00 00 movq $0x0,0x448(%rdx) 4ff6a: 00 00 00 00 4ff6e: 48 8b 82 88 02 00 00 mov 0x288(%rdx),%rax 4ff75: 48 89 05 00 00 00 00 mov %rax,0(%rip) # 4ff7c <osi_ syscall_init+0xac> -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (300, 'unstable'), (300, 'testing'), (300, 'stable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages openafs-modules-source depends on: ii bison 1:2.1-0.2 A parser generator that is compati ii debhelper 5.0.25 helper programs for debian/rules ii flex 2.5.33-2 A fast lexical analyzer generator. ii kernel-package 10.036 A utility for building Linux kerne ii module-assistant 0.10.2 tool to make module package creati openafs-modules-source recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]