Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261628AbUC3WzZ (ORCPT ); Tue, 30 Mar 2004 17:55:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261627AbUC3Wx3 (ORCPT ); Tue, 30 Mar 2004 17:53:29 -0500 Received: from inova102.correio.tnext.com.br ([200.222.67.102]:42426 "HELO trinity-auth.correio.tnext.com.br") by vger.kernel.org with SMTP id S261677AbUC3WtU (ORCPT ); Tue, 30 Mar 2004 17:49:20 -0500 X-qfilter-stat: ok X-Analyze: Velop Mail Shield v0.0.4 X-Inova-Extscan: attachments authorized Date: Tue, 30 Mar 2004 19:49:11 -0300 (BRT) From: =?ISO-8859-1?Q?Fr=E9d=E9ric_L=2E_W=2E_Meunier?= <1@pervalidus.net> To: linux-kernel@vger.kernel.org cc: linux-hotplug-devel@lists.sourceforge.net Subject: udev related ? (Was Re: rmmod deadlocks with 2.6.5-rc[2,3]) In-Reply-To: Message-ID: References: <406996C2.4030204@reactivated.net> X-Archive: encrypt MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1225865561-1080686951=:1237" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4342 Lines: 110 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1225865561-1080686951=:1237 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE OK, I gave 2.6.3-rc3-mm1 a try and could reproduce it. I still compile with CONFIG_DEVFS_FS=3Dy and CONFIG_DEVFS_MOUNT=3Dy, but to use udev boot with devfs=3Dnomount. I then booted with devfs=3Dmount acpi=3Doff noapic. Guess what ? I was able to unmount all offending modules. What next ? Boot with devfs=3Dmount to see if ACPI was to blame. No, it wasn't. My /etc/rc.d/rc.S is very simple: [ -e /dev/.devfsd -a -x /sbin/devfsd ] && devfsd /dev (only run devfsd if devfs is mounted) mount -vn -t proc proc /proc # Needed for LABEL=3D in /etc/fstab mount -vn -t sysfs sysfs /sys [ ! -e /dev/.devfsd -a -d /sys/block ] && /etc/rc.d/start_udev (only run start_udev if devfs isn't mounted and sysfs is mounted) Since 2.6.4 works fine for me using devfs=3Dnomount, something is broken. I'm using the latest udev and hotplug. I'm attaching a strace of a rmmod that failed. On Tue, 30 Mar 2004, Fr=E9d=E9ric L. W. Meunier wrote: > On Tue, 30 Mar 2004, Daniel Drake wrote: > > > Fr=E9d=E9ric L. W. Meunier wrote: > > > If I boot with 2.6.5-rc[2,3] and use rmmod snd_via82xx or rmmod > > > ohci_hcd (it doesn't happen with all modules), rmmod deadlocks. > > > 2.6.4 works fine. > > > > The ohci_hcd problem should be temporarily fixed by a recent > > patch to this list, from Greg KH (subject: [PATCH] USB: > > Eliminate wait following interface unregistration). This > > worked for me. > > I forgot to report that I don't need OHCI. It's hotplug which > loads it for some reason under 2.6, but not under 2.4. > > > As for the snd_ modules, this is a different problem, which I > > am still experiencing. I have had it with both snd_emu10k1 > > and snd_intel8x0 - but it does not happen every time. I have > > experienced it on 2.6.5-rc2 and -rc3 (plus their -mm > > patches). rmmod hangs and doesnt respond to kill -9. > > I used ALSA from CVS. > > > Is there any output I can capture to diagnose this? > > Here nothing gets printed. Maybe strace can help. But I'll > wait. > > It also happened removing i2c_isa when I went through removing > all modules. Nothing wrong with joydev, adi, gameport, it87... --=20 http://www.pervalidus.net/contact.html --0-1225865561-1080686951=:1237 Content-Type: APPLICATION/octet-stream; name="rmmod.txt.bz2" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="rmmod.txt.bz2" QlpoOTFBWSZTWW2rs0IABIf/gFY8IQVYd//3L6ff7r9v/39QA946qXVu4Uo6 sJJFTanpNB6mnpNHqeo00GTQwQ0Bo0GTQGmQaCSkaNAJPBTIAABoAAAAAAAJ TSFJpk9TBGgANNNAAaA0yZAAAAcwmgNAaNGEaDEaYmT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+hFMQKKEJoRZV1cnWyZGujH/i7kinChI NtXZoQA= --0-1225865561-1080686951=:1237-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/