i am using mm-sources 2.6.4-r1. the sbp2 module generates a memory access error ("speicherzugriffsfehler" on german) after logging out of the device on unloading. it works fine if the module was not in use, but if a partition was mounted on the external disc, the module crashes every time on unloading. this problem didn't exist before version 2.6.4-rc1, but i didn't test the versions 2.6.4-rc2 and 2.6.4. Reproducible: Always Steps to Reproduce: 1. plug in firewire-disc. /dev/sda1 is created. 2. mount /dev/sda1, use it, unmount it. 3. do a rmmod sbp2. the device is powered down and the module crashes. it isn't unloaded, but unusable. Actual Results: lsmod shows sbp2 still in the list of loaded modules, but it is unusable. dmesg shows: ieee1394: sbp2: Logged out of SBP-2 device Unable to handle kernel NULL pointer dereference at virtual address 00000008 printing eip: c018845f *pde = 00000000 Oops: 0000 [#1] PREEMPT CPU: 0 EIP: 0060:[<c018845f>] Not tainted VLI EFLAGS: 00210282 (2.6.4-mm1) EIP is at sysfs_hash_and_remove+0xf/0x7d eax: 00000000 ebx: d6819e90 ecx: c032d548 edx: d6819d7c esi: 00000000 edi: 00000000 ebp: d3f21200 esp: c8fe9e70 ds: 007b es: 007b ss: 0068 Process rmmod (pid: 18903, threadinfo=c8fe8000 task=d02a87b0) Stack: d6819e3c d6819e34 d6819e90 d6819e90 c022dbe6 00000000 c032d548 c022dfed d6819e90 d8afaa8c d6819e90 d6819d7c d3f211f8 d3f21200 c022e043 d6819e90 d6819c00 d8af39f4 d6819e90 c8fe8000 d6819c00 d8af2dd4 d6819c00 d3f21200 Call Trace: [<c022dbe6>] class_device_dev_unlink+0x26/0x30 [<c022dfed>] class_device_del+0x7d/0xc0 [<c022e043>] class_device_unregister+0x13/0x30 [<d8af39f4>] scsi_remove_device+0x54/0xa0 [scsi_mod] [<d8af2dd4>] scsi_forget_host+0x44/0x90 [scsi_mod] [<d8aed0c1>] scsi_remove_host+0x21/0x60 [scsi_mod] [<d8adfec8>] sbp2_remove_device+0x1e8/0x210 [sbp2] [<d8adf624>] sbp2_remove+0x24/0x30 [sbp2] [<c022d2f6>] device_release_driver+0x66/0x70 [<c022d32b>] driver_detach+0x2b/0x40 [<c022d56d>] bus_remove_driver+0x3d/0x80 [<c022d973>] driver_unregister+0x13/0x28 [<d8ae1c3f>] sbp2_module_exit+0xf/0x1d [sbp2] [<c013168c>] sys_delete_module+0x11c/0x180 [<c01490ca>] do_munmap+0x14a/0x190 [<c02f9cef>] syscall_call+0x7/0xb Code: 24 89 44 24 04 8d 44 24 08 89 04 24 e8 ab b2 fd ff 83 c4 18 5b 5f c3 90 8d 74 26 00 83 ec 10 89 74 24 0c 8b 74 24 14 89 5c 24 08 <8b> 46 08 8d 48 70 ff 48 70 78 63 89 34 24 8b 44 24 18 89 44 24 Expected Results: unload the module, no crash. the computer is a acer notebook. the filesystem on the external disk is xfs. lspci: 0000:00:0b.0 FireWire (IEEE 1394): Texas Instruments TSB43AA22 IEEE-1394 Controller (PHY/Link Integrated) (rev 02) emerge info: Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-mm1) ================================================================= System uname: 2.6.4-mm1 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.13p1 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.pudas.net/gentoo ftp://ftp.uninett.no/pub/linux/Gentoo ftp://mirror.gentoo.ru/pub/mirror/gentoo/ http://mirror.gentoo.ru/pub/mirror/gentoo/ ftp://mirror.pudas.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.se.gentoo.org/gentoo-portage" USE="X acpi acpi4linux alsa apache2 avi bluetooth bonobo crypt curl dga dvd encode esd evms2 evo faad fam ffmpeg gd gdbm gnome gtk gtk2 gtkhtml guile idea imagemagick imap imlib imlib2 innodb irda irmc jabber java javascript jbig jikes jpeg justify lcms libwww lufsusermount maildir mldonkeypango mmx motif moznocompose moznoirc mpeg mpi music mysql ncurses nls nocd nomac nptl oav odbc offensive ofx oggvorbis opengl pam pcmcia pdflib pear-db perl png pnp ppds python qt quicktime readline samba sasl sdl slang slp spell sse ssl svga tcltk tcpd tetex tiff transcode truetype unicode usagi usb v4l videos vim-with-x x86 xfs xine xml xml2 xmms xosd xv xvid zlib"
Could you try a vanilla kernel or a newer mm kernel? Preferably one based off of 2.6.5 if you don't mind.
Not hearing anything back. No need for this to be open still.
2.6.5-mm1 works fine.