All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brice Goglin <Brice.Goglin@ens-lyon.org>
To: Greg KH <greg@kroah.com>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.14-rc4-mm1
Date: Tue, 18 Oct 2005 00:06:53 +0200	[thread overview]
Message-ID: <4354207D.5070500@ens-lyon.org> (raw)
In-Reply-To: <20051017204410.GA3861@kroah.com>

[-- Attachment #1: Type: text/plain, Size: 746 bytes --]

Le 17.10.2005 22:44, Greg KH a écrit :
> Odd, what userspace program is wanting to see the proc input stuff?
> 
> What distro and version of it are you running?
> 
> And did this oops happen after init started, or before?

My distro is a Debian testing/sid.
hotplug is 0.0.20040329-25
udev is 0.70-2

This occurs after init started.

>From what I see, it's during hotplug, when it scans isapnp devices.
hotplug finds PNP0800 in /sys/bus/pnp/devices/00:07/id and then
loads pcspkr. The oops occurs during "modprobe -s -q -q pcspkr"
in the isapnp.rc script.
This script is attached in case there's something specific in Debian.

I don't see how I could investigate further.
Let me know if you have any idea to debug the modprobe.

Regards,
Brice



[-- Attachment #2: isapnp.rc --]
[-- Type: text/plain, Size: 1719 bytes --]

#!/bin/sh -e
#
# isapnp.rc	synthesizes isapnp hotplug events at boot time
#		it requires a 2.6 kernel with CONFIG_ISAPNP defined
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#	
#  Copyright (C) 2004 Simone Gotti <simone.gotti@email.it>
#  Copyright (C) 2004 Marco d'Itri <md@linux.it>
#

# only 2.6 kernels are supported
[ -d /sys/bus/pnp/devices/ ] || exit 0

cd /etc/hotplug
. ./hotplug.functions

isapnp_boot_events()
{
    if [ "$(echo /sys/bus/pnp/devices/*/id)" = "/sys/bus/pnp/devices/*/id" ];
    then
	return 0
    fi

    cat /sys/bus/pnp/devices/*/id \
    | while read PNPID; do
	# get the name of the module which should be loaded
	MODULE=$(modprobe --show-depends -q pnp:d$PNPID \
		| sed -e '$!d;s/.*\/\(.*\)\.ko .*/\1/')

	case "$MODULE" in
	"")			# continue if there is no alias available
	    continue
	    ;;
	install*)		# skip the blacklist check if install is used
	    MODULE="pnp:d$PNPID"
	    ;;
	*)			# ignore blacklisted devices
	    if is_blacklisted $MODULE; then
		mesg "     $MODULE: blacklisted"
		continue
	    fi
	    ;;
	esac

	# see do_pnp_entry() in /usr/src/linux/scripts/file2alias.c
	if $MODPROBE -q $MODULE; then
	    mesg "     $MODULE: loaded successfully"
	else
	    mesg "     $MODULE: can't be loaded"
	fi
    done
}

# See how we were called.
case "$1" in
    start|restart)
	isapnp_boot_events
	;;
    stop)
	# echo "isapnp stop -- ignored"
	;;
    status)
	# echo "isapnp status -- ignored"
	;;
    *)
	echo "Usage: $0 {start|stop|status|restart}"
	exit 1
esac


  reply	other threads:[~2005-10-17 22:07 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-16 22:41 2.6.14-rc4-mm1 Andrew Morton
2005-10-17  0:05 ` [PATCH] add missing header in include/asm/atomic.h Dominik Karall
2005-10-17  0:13 ` 2.6.14-rc4-mm1 Michal Piotrowski
2005-10-17  3:19   ` 2.6.14-rc4-mm1 Andrew Morton
2005-10-17  6:03     ` 2.6.14-rc4-mm1 Michal Piotrowski
2005-10-17  6:42     ` 2.6.14-rc4-mm1 Michal Piotrowski
2005-10-17  7:47     ` 2.6.14-rc4-mm1 Russell King
2005-10-17  0:46 ` 2.6.14-rc4-mm1 Con Kolivas
2005-10-17  7:10 ` 2.6.14-rc4-mm1 MAEDA Naoaki
2005-10-17  9:56 ` ntfs CFT - was: 2.6.14-rc4-mm1 Anton Altaparmakov
     [not found]   ` <4489a22a0510172209v322e9d9eqe90c489c66b5c83b@mail.gmail.com>
     [not found]     ` <Pine.LNX.4.64.0510180859580.7514@hermes-1.csi.cam.ac.uk>
     [not found]       ` <4489a22a0510181026v577f9b0ev535cf0acc74661f@mail.gmail.com>
     [not found]         ` <4489a22a0510181048n60ec5952i33d52c1b3527f906@mail.gmail.com>
2005-10-19 11:10           ` Warning: Serious NTFS data corruption bug! + Fix! - Was: " Anton Altaparmakov
2005-10-17 10:29 ` 2.6.14-rc4-mm1 - drivers/serial/jsm/jsm_tty.c: no member named 'flip' Damir Perisa
2005-10-17 14:56   ` V. Ananda Krishnan
2005-10-17 15:21     ` Damir Perisa
2005-10-18 14:02       ` 2.6.14-rc4-mm1 - drivers/serial/ V. Ananda Krishnan
2005-10-18 20:12         ` Greg KH
2005-10-17 18:05   ` 2.6.14-rc4-mm1 - drivers/serial/jsm/jsm_tty.c: no member named 'flip' Alan Cox
2005-10-22  2:08     ` Paul Jackson
2005-10-22  6:39       ` Andrew Morton
2005-10-22  9:54         ` Alan Cox
2005-10-24  7:52           ` Andrew Morton
2005-10-17 12:21 ` 2.6.14-rc4-mm1 Brice Goglin
2005-10-17 20:22   ` 2.6.14-rc4-mm1 Andrew Morton
2005-10-17 21:27     ` 2.6.14-rc4-mm1 Vojtech Pavlik
2005-10-17 21:39       ` 2.6.14-rc4-mm1 Dmitry Torokhov
2005-10-17 21:48         ` 2.6.14-rc4-mm1 Greg KH
2005-10-17 21:58           ` 2.6.14-rc4-mm1 Dmitry Torokhov
2005-10-18  6:42             ` 2.6.14-rc4-mm1 Greg KH
2005-10-18  6:39         ` 2.6.14-rc4-mm1 Vojtech Pavlik
2005-10-18  6:44           ` 2.6.14-rc4-mm1 Dmitry Torokhov
2005-10-18  6:58     ` 2.6.14-rc4-mm1 Greg KH
2005-10-18  7:09       ` 2.6.14-rc4-mm1 Dmitry Torokhov
2005-10-18  7:17         ` 2.6.14-rc4-mm1 Greg KH
2005-10-18  7:22           ` 2.6.14-rc4-mm1 Dmitry Torokhov
2005-10-18  7:38             ` 2.6.14-rc4-mm1 Greg KH
2005-10-18  7:30       ` 2.6.14-rc4-mm1 Brice Goglin
2005-10-18  7:40         ` 2.6.14-rc4-mm1 Greg KH
2005-10-18  8:26           ` 2.6.14-rc4-mm1 Brice Goglin
2005-10-19  3:44             ` 2.6.14-rc4-mm1 Greg KH
2005-10-19  3:58               ` 2.6.14-rc4-mm1 Dmitry Torokhov
2005-10-17 20:44   ` 2.6.14-rc4-mm1 Greg KH
2005-10-17 22:06     ` Brice Goglin [this message]
2005-10-17 21:06 ` 2.6.14-rc4-mm1 dead in early boot Helge Hafting
2005-10-17 21:09   ` Andrew Morton
2005-10-17 21:27     ` Helge Hafting
2005-10-17 21:53     ` Helge Hafting
2005-10-18  0:38       ` Andrew Morton
2005-10-18 14:30         ` Michael Neuffer
2005-10-17 22:24     ` Helge Hafting
2005-10-18  7:45 ` [PATCH] disable PREEMPT_BKL per default Olaf Hering
2005-10-18  7:53   ` Arjan van de Ven
2005-10-18  8:47     ` Olaf Hering
2005-10-18  8:58       ` Arjan van de Ven
2005-10-18 11:12         ` Olaf Hering
2005-10-18 11:52           ` Ingo Molnar
2005-10-19 14:04 ` 2.6.14-rc4-mm1 Alexandre Buisse
2005-10-19 15:52   ` 2.6.14-rc4-mm1 Jiri Slaby
2005-10-19 15:04     ` 2.6.14-rc4-mm1 Alexandre Buisse
2005-10-19 18:49   ` Wifi oddness [Was: Re: 2.6.14-rc4-mm1] Jiri Slaby
2005-10-20 16:48     ` Alexandre Buisse
2005-10-20 21:02       ` Jiri Slaby
2005-10-20 21:26         ` Mark Lord
2005-10-20 23:08         ` Jiri Slaby
2005-10-20 23:39         ` Jeff Garzik
2005-10-20 23:45           ` Andrew Morton
2005-10-21  0:21             ` Jeff Garzik
     [not found] <fa.h4unqgj.l34e31@ifi.uio.no>
2005-10-17  6:19 ` 2.6.14-rc4-mm1 Reuben Farrelly
     [not found] <20051006082231.GA21800@elte.hu>
     [not found] ` <20051010172631.59d98198.akpm@osdl.org>
2005-10-17  7:07   ` 2.6.14-rc4-mm1 WU Fengguang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4354207D.5070500@ens-lyon.org \
    --to=brice.goglin@ens-lyon.org \
    --cc=akpm@osdl.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.