Bug 1118 - atp870u driver causes segfault on load
Summary: atp870u driver causes segfault on load
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: SCSI Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: i386 Linux
: P2 blocking
Assignee: Mike Anderson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-16 21:50 UTC by z l
Modified: 2005-07-05 11:54 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.0-test4
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description z l 2003-08-16 21:50:53 UTC
Distribution: RH9.0
Hardware Environment:pentium4 1.8 ghz uniprocessor
Software Environment: stardard RH
Problem Description:can load driver for ACARD SCSI cards

Steps to reproduce:
modprobe atp870u
result: CPU use goes to 100% and module never loads.
Comment 1 z l 2003-08-23 13:14:38 UTC
aec671x_detect:
   ACARD AEC-671X PCI Ultra/W SCSI-3 Host Adapter: 0    IO:dc00, IRQ:22.
         ID:  0  SONY    SDX-300C        0700
         ID:  1  WDIGTL  WDE9150 ULTRA3  1.30
         ID:  7  Host Adapter
Unable to handle kernel NULL pointer dereference at virtual address 00000055
 printing eip:
c01b318d
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<c01b318d>]    Not tainted
EFLAGS: 00210002
EIP is at pci_bus_read_config_byte+0x2d/0x85
eax: d1271be4   ebx: d1270000   ecx: 00000025   edx: cb09bf00
esi: 00200282   edi: 000000b2   ebp: dfb15800   esp: d1271bd0
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 2997, threadinfo=d1270000 task=d513cd80)
Stack: d31857fc c01203e5 c1540524 d31857e0 000000b2 00000000 ffffffff 0000dc3b
       000000b2 e0a8e184 00000025 00000000 00000049 d1271c3b dfb15800 00000030
       00000001 dfb159bc 0000dc3a d1270000 d1270000 d1270000 c12ecd18 00000001
Call Trace:
 [<c01203e5>] __request_region+0x6d/0xac
 [<e0a8e184>] atp870u_detect+0x1be/0x926 [atp870u]
 [<c01b8010>] pci_pm_callback+0x30/0x40
 [<c013fe7e>] do_anonymous_page+0x138/0x22a
 [<c01404b9>] handle_mm_fault+0xd9/0x16e
 [<c014fe4f>] bh_lru_install+0xb1/0xed
 [<c0194e09>] __journal_file_buffer+0x186/0x278
 [<c0194e09>] __journal_file_buffer+0x186/0x278
 [<c01934c1>] do_get_write_access+0x2eb/0x61a
 [<c0193e9e>] journal_dirty_metadata+0x139/0x203
 [<c018765e>] ext3_get_inode_loc+0x7a/0x27b
 [<c019438c>] journal_stop+0x1bd/0x28f
 [<c018811e>] ext3_mark_iloc_dirty+0x28/0x35
 [<c018824d>] ext3_mark_inode_dirty+0x4f/0x51
 [<c018c339>] __ext3_journal_stop+0x24/0x50
 [<c01882b8>] ext3_dirty_inode+0x69/0x87
 [<c016c272>] __mark_inode_dirty+0x10a/0x10f
 [<c01668cb>] update_atime+0xd9/0xde
 [<c0133ca6>] __generic_file_aio_read+0x1f3/0x22f
 [<c01339ca>] file_read_actor+0x0/0xe9
 [<c0136ba4>] buffered_rmqueue+0xc1/0x15a
 [<c0147d3c>] map_area_pmd+0x66/0x8e
 [<c0147c2a>] unmap_area_pmd+0x4b/0x56
 [<c01480fd>] vfree+0x27/0x35
 [<c01312fe>] load_module+0x745/0x914
 [<e08b1000>] init_this_scsi_driver+0x0/0x102 [atp870u]
 [<e0a8ec3e>] atp870u_release+0x0/0xa6 [atp870u]
 [<e08b1066>] init_this_scsi_driver+0x66/0x102 [atp870u]
 [<c01315fb>] sys_init_module+0x12e/0x24b
 [<c0108fb5>] sysenter_past_esp+0x52/0x71
 
Code: 8b 51 30 89 0c 24 89 44 24 10 c7 44 24 0c 01 00 00 00 8b 44
 <6>note: modprobe[2997] exited with preempt_count 1
bad: scheduling while atomic!
Call Trace:
 [<c0118d58>] schedule+0x3b6/0x3bb
 [<c013ea39>] unmap_page_range+0x43/0x69
 [<c013ec17>] unmap_vmas+0x1b8/0x210
 [<c0142856>] exit_mmap+0x7c/0x191
 [<c011a625>] mmput+0x67/0xb6
 [<c011e1ba>] do_exit+0x126/0x3cc
 [<c010a059>] do_divide_error+0x0/0xfb
 [<c01175ca>] do_page_fault+0x14a/0x44b
 [<c0118dd7>] default_wake_function+0x2a/0x2e
 [<c0118e0c>] __wake_up_common+0x31/0x50
 [<c0118359>] try_to_wake_up+0xa2/0x144
 [<c0123d7c>] process_timeout+0x0/0x9
 [<c0118421>] wake_up_process+0x26/0x2a
 [<c0123b30>] run_timer_softirq+0x111/0x1b0
 [<c011fd1c>] tasklet_action+0x40/0x61
 [<c0117480>] do_page_fault+0x0/0x44b
 [<c0109a11>] error_code+0x2d/0x38
 [<c01b318d>] pci_bus_read_config_byte+0x2d/0x85
 [<c01203e5>] __request_region+0x6d/0xac
 [<e0a8e184>] atp870u_detect+0x1be/0x926 [atp870u]
 [<c01b8010>] pci_pm_callback+0x30/0x40
 [<c013fe7e>] do_anonymous_page+0x138/0x22a
 [<c01404b9>] handle_mm_fault+0xd9/0x16e
 [<c014fe4f>] bh_lru_install+0xb1/0xed
 [<c0194e09>] __journal_file_buffer+0x186/0x278
 [<c0194e09>] __journal_file_buffer+0x186/0x278
 [<c01934c1>] do_get_write_access+0x2eb/0x61a
 [<c0193e9e>] journal_dirty_metadata+0x139/0x203
 [<c018765e>] ext3_get_inode_loc+0x7a/0x27b
 [<c019438c>] journal_stop+0x1bd/0x28f
 [<c018811e>] ext3_mark_iloc_dirty+0x28/0x35
 [<c018824d>] ext3_mark_inode_dirty+0x4f/0x51
 [<c018c339>] __ext3_journal_stop+0x24/0x50
 [<c01882b8>] ext3_dirty_inode+0x69/0x87
 [<c016c272>] __mark_inode_dirty+0x10a/0x10f
 [<c01668cb>] update_atime+0xd9/0xde
 [<c0133ca6>] __generic_file_aio_read+0x1f3/0x22f
 [<c01339ca>] file_read_actor+0x0/0xe9
 [<c0136ba4>] buffered_rmqueue+0xc1/0x15a
 [<c0147d3c>] map_area_pmd+0x66/0x8e
 [<c0147c2a>] unmap_area_pmd+0x4b/0x56
 [<c01480fd>] vfree+0x27/0x35
 [<c01312fe>] load_module+0x745/0x914
 [<e08b1000>] init_this_scsi_driver+0x0/0x102 [atp870u]
 [<e0a8ec3e>] atp870u_release+0x0/0xa6 [atp870u]
 [<e08b1066>] init_this_scsi_driver+0x66/0x102 [atp870u]
 [<c01315fb>] sys_init_module+0x12e/0x24b
 [<c0108fb5>] sysenter_past_esp+0x52/0x71
Comment 2 Nishanth Aravamudan 2004-11-23 16:42:51 UTC
Hi,

Are you still having this problem in 2.6.9 or above?
Comment 3 Nishanth Aravamudan 2005-02-17 15:44:36 UTC
No feedback, bug closed. Thanks, Nish

Note You need to log in before you can comment on or make changes to this bug.