Bug 5586 - mv_sata doesn't detect any disk and OOPS on rmmod on Marvell MV88SX5041
Summary: mv_sata doesn't detect any disk and OOPS on rmmod on Marvell MV88SX5041
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Serial ATA (show other bugs)
Hardware: i386 Linux
: P2 high
Assignee: Jeff Garzik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-10 11:07 UTC by Gael STEPHAN
Modified: 2006-10-05 14:40 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.14
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Gael STEPHAN 2005-11-10 11:07:04 UTC
Most recent kernel where this bug did not occur: kernel-smp-2.6.10-1.771_FC2
Distribution: Fedora Core 2
Hardware Environment: SUPERMICRO Motherboard with 02:04.0 SCSI storage
controller: Marvell MV88SX5041 4-port SATA I PCI-X Controller (rev 03)
Software Environment: FC2 - nothing special
Problem Description: 

rmmod mv_sata

Unable to handle kernel NULL pointer dereference at virtual address 00000010
 printing eip:
f882daf7
*pde = 00000000
Oops: 0000 [#1]
SMP
Modules linked in: aes dm_crypt sata_mv w83627hf hwmon_vid i2c_isa i2c_core ipv6
autofs4 sunrpc ipt_LOG ipt_TOS ipt_TCPMSS ipt_tos iptable_mangle ipt_tcpmss
iptable_nat ip_nat iptable_filter ipt_multiport ipt_state ipt_limit
ipt_conntrack ip_conntrack_ftp ip_conntrack ip_tables e1000 floppy sg microcode
uhci_hcd ehci_hcd video button battery ac ext3 jbd dm_mod ata_piix libata
CPU:    1
EIP:    0060:[<f882daf7>]    Not tainted VLI
EFLAGS: 00010246   (2.6.14)
EIP is at ata_host_set_remove+0x7/0xb0 [libata]
eax: 00000000   ebx: f7f25000   ecx: 00000000   edx: f882e120
esi: 00000000   edi: 00000000   ebp: f89d3298   esp: e2037f08
ds: 007b   es: 007b   ss: 0068
Process rmmod (pid: 4580, threadinfo=e2036000 task=e89e1030)
Stack: f7f25000 f7f25044 f89d324c f882e13a f7f25000 f7f25044 c01cd9c8 f7f250bc
       c023a984 f7f25044 f7f2507c f89d324c c023aa45 f89d329c f89d324c 00000000
       00000880 e2036000 c023a39f f89d3254 c023acfb f89d3220 c01cdbeb f89d3300
Call Trace:
 [<f882e13a>] ata_pci_remove_one+0x1a/0x40 [libata]
 [<c01cd9c8>] pci_device_remove+0x28/0x30
 [<c023a984>] __device_release_driver+0x74/0x90
 [<c023aa45>] driver_detach+0x75/0x83
 [<c023a39f>] bus_remove_driver+0x3f/0x60
 [<c023acfb>] driver_unregister+0xb/0x20
 [<c01cdbeb>] pci_unregister_driver+0xb/0x20
 [<c0139d0b>] sys_delete_module+0x11b/0x150
 [<c015572a>] unmap_vma_list+0x1a/0x30
 [<c0155afa>] do_munmap+0xfa/0x130
 [<c0102d9f>] sysenter_past_esp+0x54/0x75
Code: ff ff 8b 44 ab 1c 45 8b 00 e8 96 8a a4 c7 3b 6c 24 24 72 e0 e9 78 fe ff ff
8d 74 26 00 8d bc 27 00 00 00 00 57 31 ff 56 89 c6 53 <3b> 78 10 0f 82 83 00 00
00 8b 46 08 89 f2 31 ff e8 04 44 91 c7


Steps to reproduce:
boot the computer, modprobe mv_sata, and then rmmod mv_sata.
Comment 1 Diego Calleja 2006-07-30 11:29:22 UTC
Does it still reproduces in recent kernels? (libata is moving target)

If so, can you try 2.6.18-rc3? There's a better error handlind there and may
oputput more useful info.
Comment 2 Adrian Bunk 2006-10-05 14:40:04 UTC
Please reopen this bug if it's still present in kernel 2.6.18.

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