On Sun, Apr 13, 2008 at 07:38:58PM +0200, Olivier Berger wrote: > On Sun, Apr 13, 2008 at 04:01:12PM +0200, Olivier Berger wrote: > > Will try and recompile a kernel with the > git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git > contents for the cifs driver, to see if it has been solved. >
Unfortunately it evolved in a way which prevents replacing directly the cifs driver source dir into the 2.6.24 kernel sources and rebuild. Instead, I tried and test with 2.6.25-rc8-686 package from http://kernel-archive.buildserver.net/debian-kernel. Unfortunately, it still fails : [ 183.990770] BUG: unable to handle kernel NULL pointer dereference at 00000010 [ 183.990770] IP: [<f0fd99f8>] :cifs:cifs_strfromUCS_le+0x50/0x5f [ 183.990770] *pde = 00000000 [ 183.990770] Oops: 0002 [#1] SMP [ 183.990770] Modules linked in: nls_utf8 cifs nls_base binfmt_misc radeon drm nfsd auth_rpcgss exportfs ppdev lp ac battery microcode firmware_class nfs lockd nfs_acl sunrpc ipv6 rfcomm l2cap bluetooth reiserfs dm_crypt crypto_blkcipher fuse smsc47m1 eeprom firewire_sbp2 loop evdev joydev usbhid hid ff_memless usblp parport_pc parport snd_intel8x0 snd_ac97_codec ac97_bus psmouse snd_bt87x pcspkr serio_raw snd_pcm_oss snd_mixer_oss rtc snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event container snd_seq snd_timer snd_seq_device snd button i2c_sis96x soundcore snd_page_alloc i2c_core sis_agp agpgart shpchp pci_hotplug ext3 jbd mbcache dm_mirror dm_snapshot dm_mod sg sr_mod cdrom sd_mod sis5513 ide_pci_generic ide_core floppy ehci_hcd firewire_ohci firewire_core crc_itu_t ohci_hcd tulip pata_sis ata_generic usbcore libata scsi_mod dock thermal processor fan [ 183.990770] [ 183.990770] Pid: 4322, comm: mount.cifs Not tainted (2.6.25-rc8-686 #1) [ 183.990770] EIP: 0060:[<f0fd99f8>] EFLAGS: 00210246 CPU: 0 [ 183.990770] EIP is at cifs_strfromUCS_le+0x50/0x5f [cifs] [ 183.990770] EAX: 00000010 EBX: 00000000 ECX: 00000000 EDX: dfb7132e [ 183.990770] ESI: 0000000b EDI: 00000000 EBP: 00000010 ESP: dfb4dccc [ 183.990770] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 [ 183.990770] Process mount.cifs (pid: 4322, ti=dfb4c000 task=dfb1b310 task.ti=dfb4c000) [ 183.990770] Stack: dfb765c0 00000000 dfb7132e 00000000 0000000b dfb7132d dfacfe80 f0fdc914 [ 183.990770] f0cdd4c0 00000001 00000000 00000000 ef992800 f0fd712a 00000000 dfb7132e [ 183.990770] df9aebc0 dfb58300 44ac3674 8576505f 6a921331 47b2bed6 5fbcea37 6c58df6b [ 183.990770] Call Trace: [ 183.990770] [<f0fdc914>] CIFS_SessSetup+0x4c8/0x728 [cifs] [ 183.990770] [<f0fd712a>] SendReceive+0x3bf/0x3d2 [cifs] [ 183.990770] [<f0fca5a4>] cifs_setup_session+0x124/0xaec [cifs] [ 183.990770] [<c01db711>] sprintf+0x1d/0x20 [ 183.990770] [<f0fcd871>] cifs_mount+0x1841/0x1e92 [cifs] [ 183.990770] [<f0fcd8f4>] cifs_mount+0x18c4/0x1e92 [cifs] [ 183.990770] [<c01599b3>] get_page_from_freelist+0x2fe/0x37b [ 183.990770] [<c01da7c2>] strlcpy+0x10/0x3a [ 183.990770] [<f0fc1589>] cifs_get_sb+0x94/0x166 [cifs] [ 183.990770] [<c0174154>] vfs_kern_mount+0x7b/0xed [ 183.990770] [<c0174204>] do_kern_mount+0x2f/0xb4 [ 183.990770] [<c0185999>] do_new_mount+0x55/0x89 [ 183.990770] [<c0185b66>] do_mount+0x199/0x1b8 [ 183.990770] [<c0183fc2>] copy_mount_options+0x26/0x109 [ 183.990770] [<c0185bf2>] sys_mount+0x6d/0xa7 [ 183.990770] [<c01048cc>] sysenter_past_esp+0x6d/0xa5 [ 183.990770] [<c02a0000>] tpacket_rcv+0x369/0x3b4 [ 183.990770] ======================= [ 183.990770] Code: b9 06 00 00 00 ff 56 08 85 c0 7e 04 01 c3 eb 07 8b 04 24 43 c6 00 3f 47 3b 7c 24 04 7d 0d 8b 54 24 08 66 8b 04 7a 66 85 c0 75 c7 <c6> 44 1d 00 00 89 d8 83 c4 0c 5b 5e 5f 5d c3 55 31 ed 57 89 cf [ 183.990770] EIP: [<f0fd99f8>] cifs_strfromUCS_le+0x50/0x5f [cifs] SS:ESP 0068:dfb4dccc [ 183.990770] ---[ end trace c210fe14b4e416ce ]--- Hope this helps. Best regards, -- Olivier BERGER (OpenPGP: 1024D/B4C5F37F) http://www.olivierberger.com/weblog/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]