2006-09-26 12:00:35

by Diego Calleja

[permalink] [raw]
Subject: pata_serverworks oopses in latest -git

When trying to test the new libata PATA drivers in the latest -git tree, I
got this when udev tried to load the module:

[ 13.006189] FDC 0 is a National Semiconductor PC87306
[ 13.136324] ata3: PATA max UDMA/33 cmd 0x1F0 ctl 0x3F6 bmdma 0xFFA0 irq 14
[ 13.136355] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 13.136366] printing eip:
[ 13.136370] 00000000
[ 13.136373] *pde = 00000000
[ 13.136380] Oops: 0000 [#1]
[ 13.136383] PREEMPT SMP
[ 13.136391] Modules linked in: pata_serverworks floppy psmouse snd_page_alloc e100 serio_raw i2c_piix4 pcspkr i2c_core sworks_agp agpgart evdev ext3 jbd mbcache ohci_hcd usbcore sd_mod sata_sil libata scsi_mod thermal processor fan vga16fb vgastate
[ 13.136430] CPU: 0
[ 13.136432] EIP: 0060:[<00000000>] Not tainted VLI
[ 13.136435] EFLAGS: 00010246 (2.6.18custom1 #2)
[ 13.136451] EIP is at stext+0x3feffd6c/0xc
[ 13.136458] eax: f898c480 ebx: 0000ffa0 ecx: 00000000 edx: f7c62ca0
[ 13.136465] esi: 000003f6 edi: 000001f0 ebp: f7b38308 esp: dff67d2c
[ 13.136471] ds: 007b es: 007b ss: 0068
[ 13.136478] Process modprobe (pid: 3643, ti=dff67000 task=dfcaf250 task.ti=dff67000)
[ 13.136483] Stack: f885bf04 f7b38308 00000003 00000050 f88650da 000001f0 000003f6 0000ffa0
[ 13.136498] 0000000e 0000000d c1916048 f7c62ca0 0000000e f7c62ca0 00000000 00000079
[ 13.136512] f7dc9800 00000000 00000002 00000002 f8860973 f7dc9800 f898c640 00000000
[ 13.136526] Call Trace:
[ 13.136534] [<f885bf04>] ata_device_add+0x264/0x630 [libata]
[ 13.136660] [<f8860973>] ata_pci_init_one+0x203/0x550 [libata]
[ 13.136689] [<c01f8ca8>] pci_bus_write_config_dword+0x68/0x80
[ 13.136716] [<f898a5b8>] serverworks_init_one+0xa8/0x420 [pata_serverworks]
[ 13.136734] [<c01fe1c3>] pci_device_probe+0x63/0x80
[ 13.136749] [<c024ff24>] driver_probe_device+0x54/0xf0
[ 13.136766] [<c0250040>] __driver_attach+0x0/0x80
[ 13.136774] [<c02500b1>] __driver_attach+0x71/0x80
[ 13.136783] [<c024f1ed>] bus_for_each_dev+0x5d/0x80
[ 13.136794] [<c024fd95>] driver_attach+0x25/0x30
[ 13.136802] [<c0250040>] __driver_attach+0x0/0x80
[ 13.136809] [<c024f60c>] bus_add_driver+0x8c/0x180
[ 13.136818] [<c02504e0>] driver_register+0x60/0xa0
[ 13.136828] [<c01fdd01>] __pci_register_driver+0x61/0x90
[ 13.136837] [<f895e018>] serverworks_init+0x18/0x1c [pata_serverworks]
[ 13.136848] [<c01415ab>] sys_init_module+0x18b/0x1d30
[ 13.136884] [<c0107fc1>] sys_mmap2+0x81/0xb0
[ 13.136910] [<c010326d>] sysenter_past_esp+0x56/0x79
[ 13.136924] Code: Bad EIP value.
[ 13.136932] EIP: [<00000000>] stext+0x3feffd6c/0xc SS:ESP 0068:dff67d2c


No hard disk are connected to this controller, just a cdrom/dvd.


0000:00:00.0 Host bridge: Broadcom CNB20-LE Host Bridge (rev 23)
Flags: fast devsel
Memory at d0000000 (32-bit, prefetchable) [disabled] [size=128M]
Memory at cffff000 (32-bit, non-prefetchable) [disabled] [size=4K]
00: 66 11 07 00 00 00 00 00 23 00 00 06 08 20 80 00
10: 08 00 00 d0 00 f0 ff cf 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 00 02 00 00 00 5d f1 60 00 00 00 00
50: 03 00 00 00 00 00 00 00 00 00 00 87 40 00 00 00
60: 00 00 00 10 00 01 00 07 72 02 00 00 00 00 00 00
70: 10 aa 2a af e3 0d ff 2f 01 20 82 00 04 00 00 00
80: 00 20 00 00 00 00 00 00 ff ff ff ff ff ff ff ff
90: 01 03 3e df 01 10 00 81 03 10 00 81 00 00 00 00
a0: 20 00 00 00 04 05 06 07 00 00 00 00 00 00 00 00
b0: ff ff ff ff 00 00 00 00 ff 7f 00 00 ff fb 00 00
c0: e6 0f eb 0f e3 0d e5 0f ff ff ff ff 05 07 c0 fe
d0: 00 c0 fc df 00 e0 fc ef 00 00 00 00 03 00 00 00
e0: 04 00 ff 7f 00 00 3b 4c 00 a1 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 c0 00 00 00

0000:00:00.1 PCI bridge: Broadcom CNB20-LE Host Bridge (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: fe600000-fe6fffff
Prefetchable memory behind bridge: de300000-fe3fffff
Capabilities: [80] AGP version 2.0
00: 66 11 05 00 07 01 b0 22 01 00 04 06 08 40 81 00
10: 00 00 00 00 00 00 00 00 00 01 01 40 c0 c0 a0 22
20: 60 fe 60 fe 30 de 30 fe 00 00 00 00 ff ff ff fe
30: 00 00 00 00 80 00 00 00 00 00 00 00 ff 00 0b 00
40: 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 02 00 20 00 01 02 00 1f 01 03 00 00 05 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: ff ff ff fc ff ff ff 05 ff ff ff fe 00 00 00 00
d0: fc ff fc fc 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: df ff fe ff ff bf ff ff 00 00 00 00 c2 0f 00 00

0000:00:00.2 Host bridge: Broadcom CNB20HE Host Bridge (rev 01)
Flags: medium devsel
00: 66 11 06 00 02 00 00 22 01 00 00 06 08 40 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 00 01 00 00 02 00 00 c4 00 00 00 20
50: 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 aa 2a af e3 0d ff 0f 00 00 00 00 00 00 00 00
80: 40 00 00 00 f5 f7 fd ff fd ff df ff 00 00 00 00
90: 5c 5f 74 ff f8 f7 74 fd 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: e6 0f ea 0f e3 0d e4 0f 55 ff 75 ff 0d 07 00 00
d0: 00 c0 fc df fc 75 dc 6f 5c ff f4 7f 01 00 00 00
e0: ff d7 ff ff 00 00 00 00 00 00 00 00 c4 00 00 00
f0: 40 e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:00.3 Host bridge: Broadcom CNB20HE Host Bridge (rev 01)
Flags: medium devsel
00: 66 11 06 00 02 00 00 22 01 00 00 06 08 40 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 02 02 00 00 12 00 00 0e 00 00 00 e0
50: 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 aa 2a af e3 0d ff 0f 00 00 00 00 00 00 00 00
80: 40 00 00 00 f5 f7 fd ff fd ff df ff 00 00 00 00
90: fc 7d dc fc fc ff f8 57 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: eb 0f eb 0f e5 0f e5 0f d7 7f ff ff 0d 07 00 00
d0: 00 e0 fc ef f8 7f f4 f7 58 ff dc ff 01 00 00 00
e0: 77 7f 7d 7d 00 00 00 00 00 00 00 00 c6 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:04.0 Mass storage controller: Silicon Image, Inc. SiI 3112 [SATALink/SATARaid] Serial ATA Controller (rev 02)
Subsystem: Silicon Image, Inc. SiI 3112 SATALink Controller
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
I/O ports at dff0 [size=8]
I/O ports at dfe4 [size=4]
I/O ports at dfa8 [size=8]
I/O ports at dfe0 [size=4]
I/O ports at df90 [size=16]
Memory at feafbc00 (32-bit, non-prefetchable) [size=512]
Expansion ROM at fea00000 [disabled] [size=512K]
Capabilities: [60] Power Management version 2
00: 95 10 12 31 07 01 b0 02 02 00 80 01 08 40 00 00
10: f1 df 00 00 e5 df 00 00 a9 df 00 00 e1 df 00 00
20: 91 df 00 00 00 bc af fe 00 00 00 00 95 10 12 31
30: 00 00 a0 fe 60 00 00 00 00 00 00 00 0a 01 00 00
40: 02 00 00 00 5a 00 08 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 01 00 22 06 00 40 00 64 00 00 00 00 00 00 00 00
70: 00 00 60 00 00 30 d8 37 00 00 00 00 00 00 00 00
80: 03 00 00 00 22 00 00 00 00 00 00 00 df 7d f4 bf
90: 00 fc 01 0d ff ff ff 38 00 00 00 19 00 00 00 00
a0: 01 21 15 65 dd 62 dd 62 92 43 92 43 09 40 09 40
b0: 01 21 15 65 dd 62 dd 62 92 43 92 43 09 40 09 40
c0: 84 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:06.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
Subsystem: Intel Corporation EtherExpress PRO/100+ Server Adapter (PILA8470B)
Flags: bus master, medium devsel, latency 64, IRQ 17
Memory at feafd000 (32-bit, non-prefetchable) [size=4K]
I/O ports at d800 [size=64]
Memory at fe900000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [dc] Power Management version 2
00: 86 80 29 12 17 01 90 02 08 00 00 02 08 40 00 00
10: 00 d0 af fe 01 d8 00 00 00 00 90 fe 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 0c 10
30: 00 00 00 00 dc 00 00 00 00 00 00 00 09 01 08 38
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 22 fe
e0: 00 40 00 3a 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 50)
Subsystem: Broadcom OSB4 South Bridge
Flags: bus master, medium devsel, latency 0
00: 66 11 00 02 07 00 00 02 50 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 66 11 00 02
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: f0 33 00 00 00 00 00 00 07 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 01 00 00 00 0f c1 20 00 00 00 00 00 00 00 00 00
70: 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 81 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:0f.1 IDE interface: Broadcom OSB4 IDE Controller (prog-if 8a [Master SecP PriP])
Flags: bus master, medium devsel, latency 64
I/O ports at ffa0 [size=16]
00: 66 11 11 02 05 00 00 02 00 8a 01 01 00 40 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: a1 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 5d 20 5d 5d 00 20 00 00 08 00 00 00 00 00 00 00
50: 00 00 00 00 01 00 02 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 04) (prog-if 10 [OHCI])
Subsystem: Broadcom OSB4/CSB5 OHCI USB Controller
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at feaff000 (32-bit, non-prefetchable) [size=4K]
00: 66 11 20 02 17 01 80 02 04 10 03 0c 08 40 80 00
10: 00 f0 af fe 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 66 11 20 02
30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 01 00 50
40: 00 00 0f 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01) (prog-if 00 [VGA])
Subsystem: PC Partner Limited: Unknown device 0260
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
Memory at f0000000 (32-bit, prefetchable) [size=128M]
I/O ports at c800 [size=256]
Memory at fe6f0000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at fe6c0000 [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2
00: 02 10 60 59 07 01 b0 02 01 00 00 03 08 40 80 00
10: 08 00 00 f0 01 c8 00 00 00 00 6f fe 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 4b 17 60 02
30: 00 00 6c fe 58 00 00 00 00 00 00 00 0b 01 08 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 4b 17 60 02
50: 01 00 02 06 00 00 00 00 02 50 20 00 13 02 00 4f
60: 01 03 00 1f 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (Secondary) (rev 01)
Subsystem: PC Partner Limited: Unknown device 0261
Flags: bus master, 66MHz, medium devsel, latency 64
Memory at e8000000 (32-bit, prefetchable) [size=128M]
Memory at fe6e0000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 2
00: 02 10 40 59 07 00 b0 02 01 00 80 03 08 40 00 00
10: 08 00 00 e8 00 00 6e fe 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 4b 17 61 02
30: 00 00 00 00 50 00 00 00 00 00 00 00 ff 00 08 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 01 00 02 06 00 00 00 00 02 50 20 00 13 02 00 4f
60: 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:02:02.0 Multimedia audio controller: Creative Labs SB Audigy LS
Subsystem: Creative Labs SB0410 SBLive! 24-bit
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at ef80 [size=32]
Capabilities: [dc] Power Management version 2
00: 02 11 07 00 05 01 90 02 00 00 01 04 00 40 00 00
10: 81 ef 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 02 11 06 10
30: 00 00 00 00 dc 00 00 00 00 00 00 00 05 01 02 14
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 82 00 00
50: 00 80 00 00 ff ff 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 22 06
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


2006-09-26 12:25:23

by Alan

[permalink] [raw]
Subject: Re: pata_serverworks oopses in latest -git

Ar Maw, 2006-09-26 am 14:00 +0200, ysgrifennodd Diego Calleja:
> When trying to test the new libata PATA drivers in the latest -git tree, I
> got this when udev tried to load the module:

Yes something seems to be very ill in the -git tree but I'm not sure
what has changed in the libata core to trigger all this at the moment.

Alan

2006-09-26 15:56:38

by Jeff Garzik

[permalink] [raw]
Subject: Re: pata_serverworks oopses in latest -git

diff --git a/drivers/ata/pata_serverworks.c b/drivers/ata/pata_serverworks.c
index af45611..9c1719c 100644
--- a/drivers/ata/pata_serverworks.c
+++ b/drivers/ata/pata_serverworks.c
@@ -356,6 +356,8 @@ static struct ata_port_operations server
.data_xfer = ata_pio_data_xfer,

.irq_handler = ata_interrupt,
+ .irq_clear = ata_bmdma_irq_clear,
+
.port_start = ata_port_start,
.port_stop = ata_port_stop,
.host_stop = ata_host_stop
@@ -389,6 +391,8 @@ static struct ata_port_operations server
.data_xfer = ata_pio_data_xfer,

.irq_handler = ata_interrupt,
+ .irq_clear = ata_bmdma_irq_clear,
+
.port_start = ata_port_start,
.port_stop = ata_port_stop,
.host_stop = ata_host_stop


Attachments:
patch (697.00 B)

2006-09-26 19:29:48

by Diego Calleja

[permalink] [raw]
Subject: Re: pata_serverworks oopses in latest -git

El Tue, 26 Sep 2006 11:56:29 -0400,
Jeff Garzik <[email protected]> escribi?:

> Diego, does the attached patch help?

Yes and no :) It fixes that problem but I hit another oops, but this
time it's triggered because it hits the BUG() at:

static int serverworks_pre_reset(struct ata_port *ap) {
[...]
BUG();
return -1; /* kill compiler warning */
}

Before:
[ 19.530190] ata3: PATA max UDMA/33 cmd 0x1F0 ctl 0x3F6 bmdma 0xFFA0 irq 14
<BOOM>

After:
[ 19.530190] ata3: PATA max UDMA/33 cmd 0x1F0 ctl 0x3F6 bmdma 0xFFA0 irq 14
[ 19.530250] ata4: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xFFA8 irq 15
[ 19.530282] scsi2 : pata_serverworks
[ 19.530394] ------------[ cut here ]------------
[ 19.530401] kernel BUG at drivers/ata/pata_serverworks.c:161!
[ 19.530407] invalid opcode: 0000 [#1]
[ 19.530411] PREEMPT SMP
[ 19.530416] Modules linked in: pata_serverworks sworks_agp e100 snd_page_alloc pcspkr i2c_piix4 i2c_core agpgart nls_utf8 ntfs psmouse parport_pc evdev tsdev lp parport usbhid ext3 jbd mbcache sd_mod ohci_hcd usbcore sata_sil libata scsi_mod thermal processor fan vga16fb vgastate
[ 19.530457] CPU: 1
[ 19.530459] EIP: 0060:[<f8a3f0e3>] Not tainted VLI
[ 19.530462] EFLAGS: 00010246 (2.6.18custom1 #4)
[ 19.530477] EIP is at serverworks_pre_reset+0x63/0x80 [pata_serverworks]
[ 19.530484] eax: 00000000 ebx: 00000211 ecx: 00000002 edx: f8a41680
[ 19.530491] esi: c191b000 edi: f1304308 ebp: f1304484 esp: dff7de4c
[ 19.530497] ds: 007b es: 007b ss: 0068
[ 19.530504] Process scsi_eh_2 (pid: 3950, ti=dff7d000 task=dfcb92f0 task.ti=dff7d000)
[ 19.530509] Stack: f1304404 f8a3f080 00000000 00000000 f886298a f1304308 dfcb82d0 f12f4f1c
[ 19.530524] c01354e4 f12f4e50 00000000 00800f00 00000003 002f4f10 00000020 f1304490
[ 19.530538] c0120a51 f1304404 00800f00 c02d7f80 00000004 34354e50 dff73339 f12f4f10
[ 19.530553] Call Trace:
[ 19.530560] [<f8a3f080>] serverworks_pre_reset+0x0/0x80 [pata_serverworks]
[ 19.530572] [<f886298a>] ata_do_eh+0x7fa/0x1780 [libata]
[ 19.530646] [<c01354e4>] attach_pid+0x34/0xc0
[ 19.530661] [<c0120a51>] copy_process+0x1001/0x12e0
[ 19.530679] [<f8860476>] ata_bmdma_drive_eh+0xb6/0x180 [libata]
[ 19.530706] [<f885af40>] ata_std_postreset+0x0/0x1a0 [libata]
[ 19.530730] [<f88590e0>] ata_std_softreset+0x0/0x120 [libata]
[ 19.530754] [<f8a3f080>] serverworks_pre_reset+0x0/0x80 [pata_serverworks]
[ 19.530767] [<f8a3f130>] serverworks_error_handler+0x30/0x40 [pata_serverworks]
[ 19.530778] [<f8a3f080>] serverworks_pre_reset+0x0/0x80 [pata_serverworks]
[ 19.530788] [<f88590e0>] ata_std_softreset+0x0/0x120 [libata]
[ 19.530813] [<f885af40>] ata_std_postreset+0x0/0x1a0 [libata]
[ 19.530837] [<f8861c57>] ata_scsi_error+0x1d7/0x5f0 [libata]
[ 19.530864] [<c02ccdba>] schedule+0x33a/0x920
[ 19.530876] [<f88789a0>] scsi_error_handler+0x0/0x7a0 [scsi_mod]
[ 19.530946] [<f8878a49>] scsi_error_handler+0xa9/0x7a0 [scsi_mod]
[ 19.530981] [<f88789a0>] scsi_error_handler+0x0/0x7a0 [scsi_mod]
[ 19.531007] [<c01385a6>] kthread+0x116/0x120
[ 19.531021] [<c0138490>] kthread+0x0/0x120
[ 19.531029] [<c0101005>] kernel_thread_helper+0x5/0x10
[ 19.531038] Code: 2a 39 d8 75 f3 8b 4a 04 0f b7 46 28 39 c1 74 03 41 75 e5 89 3c 24 89 f6 ff 52 08 89 47 78 89 7c 24 14 59 5b 5e 5f e9 1d a1 e1 ff <0f> 0b a1 00 84 f9 a3 f8 5a b8 ff ff ff ff 5b 5e 5f c3 8d 74 26
[ 19.531103] EIP: [<f8a3f0e3>] serverworks_pre_reset+0x63/0x80 [pata_serverworks] SS:ESP 0068:dff7de4c

2006-09-26 19:38:09

by Alan

[permalink] [raw]
Subject: Re: pata_serverworks oopses in latest -git

Ar Maw, 2006-09-26 am 21:29 +0200, ysgrifennodd Diego Calleja:
> El Tue, 26 Sep 2006 11:56:29 -0400,
> Jeff Garzik <[email protected]> escribió:
>
> > Diego, does the attached patch help?
>
> Yes and no :) It fixes that problem but I hit another oops, but this
> time it's triggered because it hits the BUG() at:

Burble.....

Can you send me an lspci -vxxx of your serverworks controller. That
shouldn't be possible so I must have the table wrong.

2006-09-26 19:43:19

by Jeff Garzik

[permalink] [raw]
Subject: Re: pata_serverworks oopses in latest -git

Diego Calleja wrote:
> El Tue, 26 Sep 2006 11:56:29 -0400,
> Jeff Garzik <[email protected]> escribi?:
>
>> Diego, does the attached patch help?
>
> Yes and no :) It fixes that problem but I hit another oops, but this
> time it's triggered because it hits the BUG() at:
>
> static int serverworks_pre_reset(struct ata_port *ap) {
> [...]
> BUG();
> return -1; /* kill compiler warning */

I'll punt this one to Alan :)

Can you provide using with 'lspci -vvvxxxn' output, as root?

Jeff



2006-09-26 20:39:39

by Diego Calleja

[permalink] [raw]
Subject: Re: pata_serverworks oopses in latest -git

El Tue, 26 Sep 2006 21:02:26 +0100,
Alan Cox <[email protected]> escribi?:

> Can you send me an lspci -vxxx of your serverworks controller. That
> shouldn't be possible so I must have the table wrong.

0000:00:00.0 Host bridge: Broadcom CNB20-LE Host Bridge (rev 23)
Flags: fast devsel
Memory at d0000000 (32-bit, prefetchable) [disabled] [size=128M]
Memory at cffff000 (32-bit, non-prefetchable) [disabled] [size=4K]
00: 66 11 07 00 00 00 00 00 23 00 00 06 08 20 80 00
10: 08 00 00 d0 00 f0 ff cf 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 00 02 00 00 00 5d f1 60 00 00 00 00
50: 03 00 00 00 00 00 00 00 00 00 00 87 40 00 00 00
60: 00 00 00 10 00 01 04 00 32 02 00 00 00 00 00 00
70: 10 aa 2a af e3 0d ff 2f 01 20 82 00 04 00 00 00
80: 00 20 00 00 00 00 00 00 ff ff ff ff ff ff ff ff
90: 01 03 3e df 01 10 00 81 03 10 00 81 00 00 00 00
a0: 20 00 00 00 04 05 06 07 00 00 00 00 00 00 00 00
b0: 7f 00 00 00 00 00 00 00 ff 7f ff ff f7 fc ff ff
c0: e6 0f eb 0f e3 0d e5 0f ff ff ff ff 05 07 c0 fe
d0: 00 c0 fc df 00 e0 fc ef 00 00 00 00 03 00 00 00
e0: 04 00 ff 7f 00 00 00 00 07 ff 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 c0 00 00 00

0000:00:00.1 PCI bridge: Broadcom CNB20-LE Host Bridge (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: fe600000-fe6fffff
Prefetchable memory behind bridge: de300000-fe3fffff
Capabilities: [80] AGP version 2.0
00: 66 11 05 00 07 01 b0 22 01 00 04 06 08 40 81 00
10: 00 00 00 00 00 00 00 00 00 01 01 40 c0 c0 a0 22
20: 60 fe 60 fe 30 de 30 fe 00 00 00 00 ff fb ff fe
30: 00 00 00 00 80 00 00 00 00 00 00 00 ff 00 0b 00
40: 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 02 00 20 00 01 02 00 1f 01 01 00 00 05 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: ff fb fb fc ff fb ff 05 ff fb ff fe 00 00 00 00
d0: fc fb fc fc 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: cd ff fe ff ff bf ff ff 00 00 00 00 c2 0f 00 00

0000:00:00.2 Host bridge: Broadcom CNB20HE Host Bridge (rev 01)
Flags: medium devsel
00: 66 11 06 00 02 00 00 22 01 00 00 06 08 40 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 00 01 00 00 02 00 00 c4 00 00 00 20
50: 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 aa 2a af e3 0d ff 0f 00 00 00 00 00 00 00 00
80: 40 00 00 00 d5 f7 fd ff fd ff df ff 00 00 00 00
90: 5c 5f 74 ff fc f7 74 fd 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: e6 0f ea 0f e3 0d e4 0f 55 ff 55 ff 0d 07 00 00
d0: 00 c0 fc df fc 75 dc ef 5c ff f4 7f 01 00 00 00
e0: ff f7 ff ff 00 00 00 00 00 00 00 00 c4 00 00 00
f0: 40 e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:00.3 Host bridge: Broadcom CNB20HE Host Bridge (rev 01)
Flags: medium devsel
00: 66 11 06 00 02 00 00 22 01 00 00 06 08 40 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 02 02 00 00 12 00 00 0e 00 00 00 e0
50: 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 aa 2a af e3 0d ff 0f 00 00 00 00 00 00 00 00
80: 40 00 00 00 d5 f7 fd ff fd ff df ff 00 00 00 00
90: fc fd dc fd fc ff f8 77 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: eb 0f eb 0f e5 0f e5 0f d7 7f ff ff 0d 07 00 00
d0: 00 e0 fc ef fc 7f f4 f7 d8 ff dc ff 01 00 00 00
e0: 77 ff 7d fd 00 00 00 00 00 00 00 00 c6 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:04.0 Mass storage controller: Silicon Image, Inc. SiI 3112 [SATALink/SATARaid] Serial ATA Controller (rev 02)
Subsystem: Silicon Image, Inc. SiI 3112 SATALink Controller
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 169
I/O ports at dff0 [size=8]
I/O ports at dfe4 [size=4]
I/O ports at dfa8 [size=8]
I/O ports at dfe0 [size=4]
I/O ports at df90 [size=16]
Memory at feafbc00 (32-bit, non-prefetchable) [size=512]
Expansion ROM at fea00000 [disabled] [size=512K]
Capabilities: [60] Power Management version 2
00: 95 10 12 31 07 01 b0 02 02 00 80 01 08 40 00 00
10: f1 df 00 00 e5 df 00 00 a9 df 00 00 e1 df 00 00
20: 91 df 00 00 00 bc af fe 00 00 00 00 95 10 12 31
30: 00 00 a0 fe 60 00 00 00 00 00 00 00 0a 01 00 00
40: 02 00 00 00 5a 00 08 02 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 01 00 22 06 00 40 00 64 00 00 00 00 00 00 00 00
70: 00 00 60 00 00 70 a0 1f 00 00 00 00 00 00 00 00
80: 03 00 00 00 22 00 00 00 00 00 00 00 cf 7d b5 ff
90: 00 fc 01 0d ff ff ff 38 00 00 00 19 00 00 00 00
a0: 01 21 15 65 dd 62 dd 62 92 43 92 43 09 40 09 40
b0: 01 21 15 65 dd 62 dd 62 92 43 92 43 09 40 09 40
c0: 84 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:06.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
Subsystem: Intel Corporation EtherExpress PRO/100+ Server Adapter (PILA8470B)
Flags: bus master, medium devsel, latency 64, IRQ 177
Memory at feafd000 (32-bit, non-prefetchable) [size=4K]
I/O ports at d800 [size=64]
Memory at fe900000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [dc] Power Management version 2
00: 86 80 29 12 17 01 90 02 08 00 00 02 08 40 00 00
10: 00 d0 af fe 01 d8 00 00 00 00 90 fe 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 0c 10
30: 00 00 00 00 dc 00 00 00 00 00 00 00 09 01 08 38
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 22 fe
e0: 00 40 00 3a 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 50)
Subsystem: Broadcom OSB4 South Bridge
Flags: bus master, medium devsel, latency 0
00: 66 11 00 02 07 00 00 02 50 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 66 11 00 02
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: f0 33 00 00 00 00 00 00 07 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 01 00 00 00 0f c1 20 00 00 00 00 00 00 00 00 00
70: 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 81 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:0f.1 IDE interface: Broadcom OSB4 IDE Controller (prog-if 8a [Master SecP PriP])
Flags: bus master, medium devsel, latency 64
I/O ports at ffa0 [size=16]
00: 66 11 11 02 05 00 00 02 00 8a 01 01 00 40 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: a1 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 5d 20 5d 5d 00 20 00 00 08 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 04) (prog-if 10 [OHCI])
Subsystem: Broadcom OSB4/CSB5 OHCI USB Controller
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at feaff000 (32-bit, non-prefetchable) [size=4K]
00: 66 11 20 02 17 01 80 02 04 10 03 0c 08 40 80 00
10: 00 f0 af fe 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 66 11 20 02
30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 01 00 50
40: 00 00 0f 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01) (prog-if 00 [VGA])
Subsystem: PC Partner Limited: Unknown device 0260
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 193
Memory at f0000000 (32-bit, prefetchable) [size=128M]
I/O ports at c800 [size=256]
Memory at fe6f0000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at fe6c0000 [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2
00: 02 10 60 59 07 01 b0 02 01 00 00 03 08 40 80 00
10: 08 00 00 f0 01 c8 00 00 00 00 6f fe 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 4b 17 60 02
30: 00 00 6c fe 58 00 00 00 00 00 00 00 0b 01 08 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 4b 17 60 02
50: 01 00 02 06 00 00 00 00 02 50 20 00 13 02 00 4f
60: 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (Secondary) (rev 01)
Subsystem: PC Partner Limited: Unknown device 0261
Flags: bus master, 66MHz, medium devsel, latency 64
Memory at e8000000 (32-bit, prefetchable) [size=128M]
Memory at fe6e0000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 2
00: 02 10 40 59 07 00 b0 02 01 00 80 03 08 40 00 00
10: 08 00 00 e8 00 00 6e fe 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 4b 17 61 02
30: 00 00 00 00 50 00 00 00 00 00 00 00 ff 00 08 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 01 00 02 06 00 00 00 00 02 50 20 00 13 02 00 4f
60: 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:02:02.0 Multimedia audio controller: Creative Labs SB Audigy LS
Subsystem: Creative Labs SB0410 SBLive! 24-bit
Flags: bus master, medium devsel, latency 64, IRQ 185
I/O ports at ef80 [size=32]
Capabilities: [dc] Power Management version 2
00: 02 11 07 00 05 01 90 02 00 00 01 04 00 40 00 00
10: 81 ef 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 02 11 06 10
30: 00 00 00 00 dc 00 00 00 00 00 00 00 05 01 02 14
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 82 00 00
50: 00 80 00 00 ff ff 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 22 06
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

2006-09-26 20:59:59

by Alan

[permalink] [raw]
Subject: Re: pata_serverworks oopses in latest -git

Doh.. OSB4IDE not OSB4


Signed-off-by: Alan Cox <[email protected]>

--- linux.vanilla-2.6.18-mm1/drivers/ata/pata_serverworks.c 2006-09-25 12:10:08.000000000 +0100
+++ linux-2.6.18-mm1/drivers/ata/pata_serverworks.c 2006-09-26 21:44:17.190601032 +0100
@@ -41,7 +41,7 @@
#include <linux/libata.h>

#define DRV_NAME "pata_serverworks"
-#define DRV_VERSION "0.3.6"
+#define DRV_VERSION "0.3.7"

#define SVWKS_CSB5_REVISION_NEW 0x92 /* min PCI_REVISION_ID for UDMA5 (A2.0) */
#define SVWKS_CSB6_REVISION 0xa0 /* min PCI_REVISION_ID for UDMA4 (A1.0) */
@@ -128,7 +128,7 @@
{ PCI_DEVICE_ID_SERVERWORKS_CSB5IDE, PCI_VENDOR_ID_DELL, dell_cable },
{ PCI_DEVICE_ID_SERVERWORKS_CSB6IDE, PCI_VENDOR_ID_DELL, dell_cable },
{ PCI_DEVICE_ID_SERVERWORKS_CSB5IDE, PCI_VENDOR_ID_SUN, sun_cable },
- { PCI_DEVICE_ID_SERVERWORKS_OSB4, PCI_ANY_ID, osb4_cable },
+ { PCI_DEVICE_ID_SERVERWORKS_OSB4IDE, PCI_ANY_ID, osb4_cable },
{ PCI_DEVICE_ID_SERVERWORKS_CSB5IDE, PCI_ANY_ID, csb_cable },
{ PCI_DEVICE_ID_SERVERWORKS_CSB6IDE, PCI_ANY_ID, csb_cable },
{ PCI_DEVICE_ID_SERVERWORKS_CSB6IDE2, PCI_ANY_ID, csb_cable },



2006-09-26 22:22:19

by Diego Calleja

[permalink] [raw]
Subject: Re: pata_serverworks oopses in latest -git

El Tue, 26 Sep 2006 22:24:31 +0100,
Alan Cox <[email protected]> escribi?:

> Doh.. OSB4IDE not OSB4

That made things work! I can confirm I can read CDs, but I wasn't
able to read DVDs, though.

[ 13.023296] ata3: PATA max UDMA/33 cmd 0x1F0 ctl 0x3F6 bmdma 0xFFA0 irq 14
[ 13.023356] ata4: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xFFA8 irq 15
[ 13.023407] scsi2 : pata_serverworks
[ 13.213080] FDC 0 is a National Semiconductor PC87306
[ 13.329056] ata3.00: ATAPI, max UDMA/33
[ 13.484999] ata3.00: configured for UDMA/33
[ 13.485030] scsi3 : pata_serverworks
[ 13.647669] ATA: abnormal status 0x8 on port 0x177
[ 13.658291] scsi 2:0:0:0: CD-ROM HL-DT-ST DVDRAM GSA-4163B A103 PQ: 0 ANSI: 5
[ 13.693611] usbcore: registered new driver hiddev
[ 13.699398] input: Forward USB Optical Mouse as /class/input/input2
[ 13.699479] input: USB HID v1.10 Mouse [Forward USB Optical Mouse] on usb-0000:00:0f.2-2
[ 13.705461] input: PS/2+USB Mouse as /class/input/input3
[ 13.705556] input: USB HID v1.10 Mouse [PS/2+USB Mouse] on usb-0000:00:0f.2-1
[ 13.705581] usbcore: registered new driver usbhid
[ 13.705588] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
[ 13.824876] ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 24 (level, low) -> IRQ 18
[ 13.824928] Model 1006 Rev 00000000 Serial 10061102
[ 14.066099] sr0: scsi3-mmc drive: 62x/62x writer dvd-ram cd/rw xa/form2 cdda tray
[ 14.066113] Uniform CD-ROM driver Revision: 3.20
[ 14.066260] sr 2:0:0:0: Attached scsi CD-ROM sr0
[ 14.090382] ts: Compaq touchscreen protocol output
[ 15.228271] NET: Registered protocol family 17
[ 20.190245] ACPI: Power Button (FF) [PWRF]
[ 20.190271] ACPI: Sleep Button (CM) [SLPB]
[ 20.218224] Using specific hotkey driver
[ 23.655420] [drm] Initialized drm 1.0.1 20051102
[ 23.666922] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 30 (level, low) -> IRQ 19
[ 23.668312] [drm] Initialized radeon 1.25.0 20060524 on minor 0
[ 24.847392] agpgart: Putting AGP V2 device at 0000:00:00.1 into 1x mode
[ 24.847652] agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
[ 25.158828] [drm] Setting GART location based on new memory map
[ 25.159052] [drm] Loading R200 Microcode
[ 25.159263] [drm] writeback test succeeded in 1 usecs
[ 35.966143] NET: Registered protocol family 10
[ 35.966719] lo: Disabled Privacy Extensions
[ 35.967014] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 35.967276] IPv6 over IPv4 tunneling driver
[ 39.931359] UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'AMELI_SCN', timestamp 2002/04/05 17:04 (1078)
[ 54.829894] PPP generic driver version 2.4.2
[ 86.083878] PPP BSD Compression module registered
[ 86.134263] PPP Deflate Compression module registered
[ 98.782085] UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'AMELI_SCN', timestamp 2002/04/05 17:04 (1078)
[ 129.270661] sr 2:0:0:0: SCSI error: return code = 0x08000002
[ 129.270675] sr0: Current: sense key=0x3
[ 129.270680] ASC=0x10 <<vendor>> ASCQ=0x90
[ 129.270689] end_request: I/O error, dev sr0, sector 86372
[ 129.270698] Buffer I/O error on device sr0, logical block 21593
[ 129.270713] Buffer I/O error on device sr0, logical block 21594
[ 129.270724] Buffer I/O error on device sr0, logical block 21595
[ 129.270731] Buffer I/O error on device sr0, logical block 21596
[ 129.270738] Buffer I/O error on device sr0, logical block 21597
[ 129.270745] Buffer I/O error on device sr0, logical block 21598
[ 129.270751] Buffer I/O error on device sr0, logical block 21599
[ 129.270758] Buffer I/O error on device sr0, logical block 21600
[ 129.270765] Buffer I/O error on device sr0, logical block 21601
[ 129.270772] Buffer I/O error on device sr0, logical block 21602
[ 157.089352] sr 2:0:0:0: SCSI error: return code = 0x08000002
[ 157.089365] sr0: Current: sense key=0x3
[ 157.089374] ASC=0x10 <<vendor>> ASCQ=0x90
[ 157.089385] end_request: I/O error, dev sr0, sector 422912
[ 157.089392] printk: 53 messages suppressed.

2006-09-26 22:43:03

by Alan

[permalink] [raw]
Subject: Re: pata_serverworks oopses in latest -git

Ar Mer, 2006-09-27 am 00:21 +0200, ysgrifennodd Diego Calleja:
> That made things work! I can confirm I can read CDs, but I wasn't
> able to read DVDs, though.

That appears to a hardware problem


> [ 129.270661] sr 2:0:0:0: SCSI error: return code = 0x08000002
> [ 129.270675] sr0: Current: sense key=0x3

MEDIUM ERROR. As reported by the drive.


2006-09-26 22:58:19

by Diego Calleja

[permalink] [raw]
Subject: Re: pata_serverworks oopses in latest -git

El Wed, 27 Sep 2006 00:06:48 +0100,
Alan Cox <[email protected]> escribi?:

> > [ 129.270661] sr 2:0:0:0: SCSI error: return code = 0x08000002
> > [ 129.270675] sr0: Current: sense key=0x3
>
> MEDIUM ERROR. As reported by the drive.


Mmh, this dvd does work with the old ide driver. I've tested other
DVDs and it always happens, but this is very weird...totem is able
to read it for 3 or 4 seconds, then totem hangs, it popups an error,
and I'll get error messages in dmesg:

[ 2980.945085] UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'cqc2', timestamp 2036/02/07 03:58 (1078)
[ 3012.955882] sr 2:0:0:0: SCSI error: return code = 0x08000002
[ 3012.955897] sr0: Current: sense key=0x3
[ 3012.955903] ASC=0x10 <<vendor>> ASCQ=0x90
[ 3012.955917] end_request: I/O error, dev sr0, sector 79104
[ 3012.955926] printk: 54 messages suppressed.
[ 3012.955933] Buffer I/O error on device sr0, logical block 19776
[ 3012.955949] Buffer I/O error on device sr0, logical block 19777
[ 3012.955961] Buffer I/O error on device sr0, logical block 19778
[ 3012.955970] Buffer I/O error on device sr0, logical block 19779
[ 3012.955979] Buffer I/O error on device sr0, logical block 19780
[ 3012.955988] Buffer I/O error on device sr0, logical block 19781
[ 3012.955997] Buffer I/O error on device sr0, logical block 19782
[ 3012.956005] Buffer I/O error on device sr0, logical block 19783
[ 3012.956014] Buffer I/O error on device sr0, logical block 19784

2006-09-26 23:27:12

by Diego Calleja

[permalink] [raw]
Subject: Re: pata_serverworks oopses in latest -git

El Wed, 27 Sep 2006 00:58:13 +0200,
Diego Calleja <[email protected]> escribi?:

> Mmh, this dvd does work with the old ide driver. I've tested other
> DVDs and it always happens, but this is very weird...totem is able
> to read it for 3 or 4 seconds, then totem hangs, it popups an error,
> and I'll get error messages in dmesg:

Weird, and I'll get the same error with CDs, it just took longer to
stop submitting data