From: Dave Jones <davej@redhat.com>
To: Marc Zyngier <mzyngier@freesurf.fr>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: EISA & sysfs.
Date: Wed, 18 Feb 2004 15:53:17 +0000 [thread overview]
Message-ID: <20040218155317.GQ6242@redhat.com> (raw)
In-Reply-To: <wrp1xos5s2o.fsf@panther.wild-wind.fr.eu.org>
On Wed, Feb 18, 2004 at 04:24:15PM +0100, Marc Zyngier wrote:
> EISA-ID table terminator. What about changing it to :
>
> static struct eisa_device_id hp100_eisa_tbl[] = {
> { "HWPF180" }, /* HP J2577 rev A */
> { "HWP1920" }, /* HP 27248B */
> { "HWP1940" }, /* HP J2577 */
> { "HWP1990" }, /* HP J2577 */
> { "CPX0301" }, /* ReadyLink ENET100-VG4 */
> { "CPX0401" }, /* FreedomLine 100/VG */
> { "" }, /* THIS ENTRY IS MANDATORY !!! */
> };
ok, that stops it hanging at least, it now barfs a little failure
message, and a calltrace. This seems awfully verbose for a failure
path that isn't unreasonable IMO.
kernel: kobject_register failed for hp100 (-17)
kernel: Call Trace:
kernel: [<c01d3662>] kobject_register+0x31/0x39
kernel: [<c0221d0c>] bus_add_driver+0x2e/0x83
kernel: [<c01db6db>] pci_register_driver+0x6b/0x87
kernel: [<c78078ad>] hp100_module_init+0x12/0x22 [hp100]
kernel: [<c013c0fc>] sys_init_module+0x14e/0x25e
kernel: [<c010b697>] syscall_call+0x7/0xb
Something also seems awry someplace else..
(15:54:51:root@mindphaser:linux-2.6.2)# cat /proc/modules | grep hp100
(15:54:55:root@mindphaser:linux-2.6.2)# rmmod hp100
ERROR: Module hp100 does not exist in /proc/modules
(15:55:18:root@mindphaser:linux-2.6.2)# modprobe hp100
FATAL: Module hp100 already in kernel.
(15:55:25:root@mindphaser:linux-2.6.2)# cat /proc/modules | grep hp100
(15:55:33:root@mindphaser:linux-2.6.2)#
Odd.
Dave
next prev parent reply other threads:[~2004-02-18 15:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-17 23:54 EISA & sysfs Dave Jones
2004-02-18 9:42 ` Marc Zyngier
2004-02-18 11:16 ` Dave Jones
2004-02-18 15:24 ` Marc Zyngier
2004-02-18 15:40 ` Dave Jones
2004-02-18 15:53 ` Dave Jones [this message]
2004-02-18 16:12 ` Marc Zyngier
2004-02-18 17:23 ` Bartlomiej Zolnierkiewicz
2004-02-18 18:01 ` Greg KH
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=20040218155317.GQ6242@redhat.com \
--to=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mzyngier@freesurf.fr \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox