* oops in bus_add_driver with 2.5.67-bk4
@ 2003-04-12 21:55 Florin Iucha
2003-04-14 18:31 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Florin Iucha @ 2003-04-12 21:55 UTC (permalink / raw)
To: Greg KH; +Cc: Linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2402 bytes --]
2.5.67-bk4 oopses at boot with:
ohci-hcd 00:02.2: Silicon Integrated S 7001
ohci-hcd 00:02.2: irq 5, pci mem e485b000
Please use the 'usbfs' filetype instead, the 'usbdevfs' name is deprecated.
ohci-hcd 00:02.2: new USB bus registered, assigned bus number 1
hub 1-0:0: USB hub found
hub 1-0:0: 3 ports detected
ohci-hcd 00:02.3: Silicon Integrated S 7001 (#2)
ohci-hcd 00:02.3: irq 10, pci mem e485d000
ohci-hcd 00:02.3: new USB bus registered, assigned bus number 2
hub 2-0:0: USB hub found
hub 2-0:0: 3 ports detected
Unable to handle kernel NULL pointer dereference at virtual address 00000040
printing eip:
c0282904
*pde = 00000000
Oops: 0002 [#1]
CPU: 0
EIP: 0060:[<c0282904>] Not tainted
EFLAGS: 00010282
EIP is at devclass_add_driver+0x34/0x90
eax: 00000040 ebx: fffffff8 ecx: fffffff0 edx: ffff0001
esi: 00000040 edi: 00000000 ebp: c03f8658 esp: c151df50
ds: 007b es: 007b ss: 0068
Process swapper (pid: 1, threadinfo=c151c000 task=dff8e040)
Stack: c03f88c0 c03f8674 c03f7c44 00000000 c03f7c00 c0282152 c03f8658 c03f8640
00000001 00000000 00000000 c0282628 c03f8658 00000000 00000000 c0282628
c03f8408 c02dc8b3 c03f8658 00000000 c04570e0 c02324f7 c03f8408 c044c3e3
Call Trace:
[<c0282152>] bus_add_driver+0x82/0xe0
[<c0282628>] driver_register+0x38/0x40
[<c0282628>] driver_register+0x38/0x40
[<c02dc8b3>] usb_register+0x73/0xb0
[<c02324f7>] pci_register_driver+0x47/0x60
[<c012c27f>] init_workqueues+0xf/0x50
[<c01050a3>] init+0x33/0x190
[<c0105070>] init+0x0/0x190
[<c0108abd>] kernel_thread_helper+0x5/0x18
Code: 0f c1 10 85 d2 0f 85 48 04 00 00 89 2c 24 e8 99 fe ff ff 85
<0>Kernel panic: Attempted to kill init!
Kernel compiled with
florin@beaver:~$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.3/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext
--enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm
--enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.3 20030407 (Debian prerelease)
Let me know if you need more details.
florin
--
"NT is to UNIX what a doughnut is to a particle accelerator."
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: oops in bus_add_driver with 2.5.67-bk4
2003-04-12 21:55 oops in bus_add_driver with 2.5.67-bk4 Florin Iucha
@ 2003-04-14 18:31 ` Greg KH
2003-04-14 22:52 ` Florin Iucha
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2003-04-14 18:31 UTC (permalink / raw)
To: Florin Iucha; +Cc: Linux-kernel
On Sat, Apr 12, 2003 at 04:55:44PM -0500, Florin Iucha wrote:
> 2.5.67-bk4 oopses at boot with:
Try the following patch from David Miller.
thanks,
greg k-h
# Input: change input_init() to be a subsys initcall
#
# This fixes oopses when it and the hid core are compiled into the kernel.
diff -Nru a/drivers/input/input.c b/drivers/input/input.c
--- a/drivers/input/input.c Mon Apr 14 11:16:02 2003
+++ b/drivers/input/input.c Mon Apr 14 11:16:02 2003
@@ -717,5 +717,5 @@
devclass_unregister(&input_devclass);
}
-module_init(input_init);
+subsys_initcall(input_init);
module_exit(input_exit);
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-04-14 22:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-12 21:55 oops in bus_add_driver with 2.5.67-bk4 Florin Iucha
2003-04-14 18:31 ` Greg KH
2003-04-14 22:52 ` Florin Iucha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox