Bug 123918
Summary: | kernel oops when using atmel_cs module | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jørgen Wahlberg <jw+spam> |
Component: | kernel | Assignee: | Dave Jones <davej> |
Status: | CLOSED NEXTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2 | CC: | bnocera, byte, pfrields, rpm |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-04-16 05:36:28 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jørgen Wahlberg
2004-05-21 18:02:03 UTC
This is a duplicate of bug #123239. *** Bug 123239 has been marked as a duplicate of this bug. *** From the duped bug: See http://www.uwsg.iu.edu/hypermail/linux/kernel/0404.2/1604.html And for the thread: http://article.gmane.org/gmane.linux.kernel/200108 The patch that solves this problem is available at http://thekelleys.org.uk/atmel/READ-ME.linux-2.6.6 !!! Please apply this patch to the next kernel update. --- linux.orig/drivers/net/wireless/atmel_cs.c +++ linux/drivers/net/wireless/atmel_cs.c @@ -350,6 +350,9 @@ static struct { static struct device atmel_device = { .bus_id = "pcmcia", + .kobj = { + .k_name = "atmel_cs" + } }; static void atmel_config(dev_link_t *link) The latest kernel-2.6.6-1.403.i686.rpm from http://people.redhat.com/arjanv/2.6/RPMS.kernel/ does not give oops messages and works fine with atmel wireless card. the only problem is that in dmesg it gives the following message: divert: allocating divert_blk for eth1 eth1: MAC address 00:04:75:bc:54:3d eth1: Atmel at76c50x wireless. Version 0.96 simon.uk eth1: 3com 3CRSHPW196 index 0x01: Vcc 3.3, irq 3, io 0x0100-0x011f Badness in kobject_get at lib/kobject.c:433 [<0218e801>] kobject_get+0x2c/0x36 [<0216c222>] sysfs_create_link+0x5e/0x7f [<021d99e7>] class_device_add+0xd7/0xfb [<021db4be>] fw_register_class_device+0xe5/0x120 [<0212de98>] buffered_rmqueue+0x124/0x147 [<021db517>] fw_setup_class_device+0x1e/0x90 [<021db5f1>] request_firmware+0x68/0x139 [<2289e481>] reset_atmel_card+0x105/0x535 [atmel] [<2289b503>] atmel_open+0xb6/0x178 [atmel] [<0223631b>] dev_open+0x5f/0xcc [<02237250>] dev_change_flags+0x48/0xee [<022688b5>] devinet_ioctl+0x255/0x4a1 [<0226a344>] inet_ioctl+0x47/0x73 [<0223098a>] sock_ioctl+0x26d/0x285 [<02230db8>] sys_socket+0x25/0x38 [<0214e66e>] sys_ioctl+0x1f2/0x224 eth1: no IPv6 routers present The current kernel (2.6.6-1.427) works great for me. I get Badness in kobject_get in /var/log/messages as well, but I kan live with that. kernel 2.6.6-1.435 will oops when I insert the card, even with the 2.6.6 patch that is recommended by the driver author. Jun 24 10:10:08 localhost kernel: EIP: 0060:[<02132082>] Not tainted Jun 24 10:10:08 localhost kernel: EFLAGS: 00010006 (2.6.6-1.435mts1) Jun 24 10:10:08 localhost kernel: EIP is at free_block+0xa7/0xbb Jun 24 10:10:08 localhost kernel: eax: 0381a604 ebx: 0381a608 ecx: 00000049 edx: 00100100 Jun 24 10:10:08 localhost kernel: esi: 0381a5f8 edi: 0381a600 ebp: 00000001 esp: 3766ee0c Jun 24 10:10:08 localhost kernel: ds: 007b es: 007b ss: 0068 Jun 24 10:10:08 localhost kernel: Process ip (pid: 2136, threadinfo=3766e000 task=3c55ceb0) Jun 24 10:10:08 localhost kernel: Stack: 0381a608 0381a600 0381a5f8 0381a608 0381a628 021320f0 0381a5f8 0381a5f8 Jun 24 10:10:08 localhost kernel: 42d2fcec 0381a608 00000202 02132406 42d307e4 00000000 00000000 00000000 Jun 24 10:10:08 localhost kernel: 021906ef 375e5a64 37596200 022b0498 375e5afc 0216cc55 022e0460 022e0400 Jun 24 10:10:08 localhost kernel: Call Trace: Jun 24 10:10:08 localhost kernel: [<021320f0>] cache_flusharray+0x5a/0x9a Jun 24 10:10:09 localhost kernel: [<02132406>] kfree+0x3b/0x49 Jun 24 10:10:09 localhost kernel: [<021906ef>] kobject_cleanup+0x2c/0x60 Jun 24 10:10:09 localhost kernel: [<0216cc55>] sysfs_hash_and_remove+0x8c/0xad Jun 24 10:10:09 localhost kernel: [<021db8d0>] class_device_del+0x81/0xa2 Jun 24 10:10:09 localhost kernel: [<021db8f9>] class_device_unregister+0x8/0x10 Jun 24 10:10:09 localhost kernel: [<021dd4e4>] request_firmware+0x127/0x139 Jun 24 10:10:09 localhost kernel: [<42d3f481>] reset_atmel_card+0x105/0x535 [atmel] Jun 24 10:10:09 localhost kernel: [<42d3c503>] atmel_open+0xb6/0x178 [atmel] Jun 24 10:10:09 localhost kernel: [<0223832b>] dev_open+0x5f/0xcc Jun 24 10:10:09 localhost kernel: [<02239303>] dev_change_flags+0x48/0xee Jun 24 10:10:09 localhost kernel: [<0226b9c9>] devinet_ioctl+0x255/0x4a1 Jun 24 10:10:10 localhost kernel: [<0226d458>] inet_ioctl+0x47/0x73 Jun 24 10:10:10 localhost kernel: [<0223299a>] sock_ioctl+0x26d/0x285 Jun 24 10:10:10 localhost kernel: [<02232dc8>] sys_socket+0x25/0x38 Jun 24 10:10:10 localhost kernel: [<0214f7f6>] sys_ioctl+0x1f2/0x224 Jun 24 10:10:10 localhost kernel: Jun 24 10:10:10 localhost kernel: Code: 89 1a 89 53 04 45 39 fd 0f 8c 64 ff ff ff 5b 5b 5e 5f 5d c3 Using kernel 2.6.6-1.435.2.3 and no addtional patches the driver will load and the card will work but I do get this error: eth1: Atmel at76c50x wireless. Version 0.96 simon.uk eth1: Belkin F5D6020-V2 index 0x01: Vcc 5.0, irq 3, io 0x0100-0x011f ip_tables: (C) 2000-2002 Netfilter core team Badness in kobject_get at lib/kobject.c:433 [<021906cd>] kobject_get+0x2c/0x36 [<0216d632>] sysfs_create_link+0x5e/0x7f [<021db82f>] class_device_add+0xd7/0xfb [<021dd306>] fw_register_class_device+0xe5/0x120 [<021dd35f>] fw_setup_class_device+0x1e/0x90 [<021dd439>] request_firmware+0x68/0x139 [<42d10481>] reset_atmel_card+0x105/0x535 [atmel] [<42d0d503>] atmel_open+0xb6/0x178 [atmel] [<0223833f>] dev_open+0x5f/0xcc [<02239317>] dev_change_flags+0x48/0xee [<0226b9dd>] devinet_ioctl+0x255/0x4a1 [<0226d46c>] inet_ioctl+0x47/0x73 [<022329ae>] sock_ioctl+0x26d/0x285 [<02232ddc>] sys_socket+0x25/0x38 [<0214f7f6>] sys_ioctl+0x1f2/0x224 Which I believe is solved by the authors patch. Fedora Core 2 has now reached end of life, and no further updates will be provided by Red Hat. The Fedora legacy project will be producing further kernel updates for security problems only. If this bug has not been fixed in the latest Fedora Core 2 update kernel, please try to reproduce it under Fedora Core 3, and reopen if necessary, changing the product version accordingly. Thank you. |