* RE: ASUS A8V Deluxe, x86_64
@ 2006-05-16 11:45 Fortier,Vincent [Montreal]
2006-05-16 12:05 ` Tejun Heo
0 siblings, 1 reply; 18+ messages in thread
From: Fortier,Vincent [Montreal] @ 2006-05-16 11:45 UTC (permalink / raw)
To: Andi Kleen, Marko Macek, Jeff Garzik; +Cc: linux-kernel, linux-ide
> > Now I'm having an ASUS A8V Deluxe.... and sadly a lot of problems:
> >
> > - My SATA Controller make my Linux crash when connecting a
> > Plextor 716SA CD-DVD-R
> > (http://bugzilla.kernel.org/show_bug.cgi?id=5533)
> Patch:
>
http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/2.6.17-rc4-
git2-libata1.patch.bz2
> (diff'd against 2.6.17-rc4-git2, but should apply to most recent
2.6.17-rcX[-gitY] kernels)
I gave a try at the latest ata patches announced yesterday by Jeff and
it completelly solved my SATA ATAPI bug.. I even been able to burn my
first DVD using my Plextor 716SA on my Linux!!! Really nice and much
anticipated work! Thnx a lot!
I have already marked bug 5533 as resolved and I'll wait until inclusion
into 2.6.18 to close it. I've also marked bug 6317 has closed since
that did not occur since around rc2 or rc3 of 2.6.17.
I also ran a memtest86+ all night to make sure there where no problems
with my memory... And everything is fine so no problems there.
> "Fortier,Vincent [Montreal]" <Vincent.Fortier1@EC.GC.CA> writes:
> - My onboard network card either stops responding (using
> sk98lin) or make my PC freeze (using skge)
> - My USB mouse goes crazy from times to times (at least every
> few hours) until I remove ehci_hcd and uhci_hcd and readd uhci_hcd
> - My PC partially wakes up and freeze after a few hours of no usage
> On Monday 15 May 2006 21:23, Marko Macek wrote:
> > Andi Kleen wrote:
> > > "Fortier,Vincent [Montreal]" <Vincent.Fortier1@EC.GC.CA> writes:
> > >>> I also have A8V Deluxe.
> > >>> No real problems with single core A64 3000.
> > >>> But now with and X2 dual core CPU, I needed to disable
irqbalance
> > >>> to get any stability.
> > See for example:
> > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=182618
Wow.. This exactly resume all my other BUGS I have... And they where
quite hard to find actually... Thnx for the info. I'll disable
irqbalance tonight for sure until there is a final fix into the kernel.
> Ok, that's new. We knew that SIS didn't like setting
> interrupt affinity on IRQ 0. Maybe VIA forgot to validate one
> of these cases too.
> we should probably do a kernel side fix. I'll put it on my todo list.
Thnx.. Would be really appreciated... And just ask if you need a tester!
Thanks to all of you!
- vin
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ASUS A8V Deluxe, x86_64
2006-05-16 11:45 Fortier,Vincent [Montreal]
@ 2006-05-16 12:05 ` Tejun Heo
2006-05-16 12:57 ` Albert Lee
2006-05-16 14:32 ` Jeff Garzik
0 siblings, 2 replies; 18+ messages in thread
From: Tejun Heo @ 2006-05-16 12:05 UTC (permalink / raw)
To: Fortier,Vincent [Montreal]
Cc: Andi Kleen, Marko Macek, Jeff Garzik, linux-kernel, linux-ide
Fortier,Vincent [Montreal] wrote:
>>> Now I'm having an ASUS A8V Deluxe.... and sadly a lot of problems:
>>>
>>> - My SATA Controller make my Linux crash when connecting a
>>> Plextor 716SA CD-DVD-R
>>> (http://bugzilla.kernel.org/show_bug.cgi?id=5533)
>
>> Patch:
>>
> http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/2.6.17-rc4-
> git2-libata1.patch.bz2
>> (diff'd against 2.6.17-rc4-git2, but should apply to most recent
> 2.6.17-rcX[-gitY] kernels)
>
> I gave a try at the latest ata patches announced yesterday by Jeff and
> it completelly solved my SATA ATAPI bug.. I even been able to burn my
> first DVD using my Plextor 716SA on my Linux!!! Really nice and much
> anticipated work! Thnx a lot!
>
> I have already marked bug 5533 as resolved and I'll wait until inclusion
> into 2.6.18 to close it. I've also marked bug 6317 has closed since
> that did not occur since around rc2 or rc3 of 2.6.17.
>
Jeff, do you know what fixed this one? I've been following the bug and
thought it was one of those via-ATAPI-have-no-idea bugs. How come the
update fix this one? Have I missed something?
--
tejun
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ASUS A8V Deluxe, x86_64
2006-05-16 12:05 ` Tejun Heo
@ 2006-05-16 12:57 ` Albert Lee
2006-05-16 13:11 ` Tejun Heo
2006-08-10 6:46 ` Reinhard Brandstädter
2006-05-16 14:32 ` Jeff Garzik
1 sibling, 2 replies; 18+ messages in thread
From: Albert Lee @ 2006-05-16 12:57 UTC (permalink / raw)
To: Tejun Heo
Cc: Fortier,Vincent [Montreal], Andi Kleen, Marko Macek, Jeff Garzik,
linux-kernel, linux-ide, Reinhard Brandstädter
Tejun Heo wrote:
> Fortier,Vincent [Montreal] wrote:
>
>>>> Now I'm having an ASUS A8V Deluxe.... and sadly a lot of problems:
>>>>
>>>> - My SATA Controller make my Linux crash when connecting a Plextor
>>>> 716SA CD-DVD-R (http://bugzilla.kernel.org/show_bug.cgi?id=5533)
>>
>>
>>> Patch:
>>>
>> http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/2.6.17-rc4-
>> git2-libata1.patch.bz2
>>
>>> (diff'd against 2.6.17-rc4-git2, but should apply to most recent
>>
>> 2.6.17-rcX[-gitY] kernels)
>>
>> I gave a try at the latest ata patches announced yesterday by Jeff and
>> it completelly solved my SATA ATAPI bug.. I even been able to burn my
>> first DVD using my Plextor 716SA on my Linux!!! Really nice and much
>> anticipated work! Thnx a lot!
>>
>> I have already marked bug 5533 as resolved and I'll wait until inclusion
>> into 2.6.18 to close it. I've also marked bug 6317 has closed since
>> that did not occur since around rc2 or rc3 of 2.6.17.
>>
>
> Jeff, do you know what fixed this one? I've been following the bug and
> thought it was one of those via-ATAPI-have-no-idea bugs. How come the
> update fix this one? Have I missed something?
>
I'm also curious how the svia-atapi problem got fixed.
Reinhard has a Plextor PX-712SA + svia.
Maybe he can also help to check whether the patch fixes the problem on his box.
--
albert
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ASUS A8V Deluxe, x86_64
2006-05-16 12:57 ` Albert Lee
@ 2006-05-16 13:11 ` Tejun Heo
2006-08-10 6:46 ` Reinhard Brandstädter
1 sibling, 0 replies; 18+ messages in thread
From: Tejun Heo @ 2006-05-16 13:11 UTC (permalink / raw)
To: albertl
Cc: Fortier,Vincent [Montreal], Andi Kleen, Marko Macek, Jeff Garzik,
linux-kernel, linux-ide, Reinhard Brandstädter
Albert Lee wrote:
> Tejun Heo wrote:
>> Fortier,Vincent [Montreal] wrote:
>>
>>>>> Now I'm having an ASUS A8V Deluxe.... and sadly a lot of problems:
>>>>>
>>>>> - My SATA Controller make my Linux crash when connecting a Plextor
>>>>> 716SA CD-DVD-R (http://bugzilla.kernel.org/show_bug.cgi?id=5533)
>>>
>>>> Patch:
>>>>
>>> http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/2.6.17-rc4-
>>> git2-libata1.patch.bz2
>>>
>>>> (diff'd against 2.6.17-rc4-git2, but should apply to most recent
>>> 2.6.17-rcX[-gitY] kernels)
>>>
>>> I gave a try at the latest ata patches announced yesterday by Jeff and
>>> it completelly solved my SATA ATAPI bug.. I even been able to burn my
>>> first DVD using my Plextor 716SA on my Linux!!! Really nice and much
>>> anticipated work! Thnx a lot!
>>>
>>> I have already marked bug 5533 as resolved and I'll wait until inclusion
>>> into 2.6.18 to close it. I've also marked bug 6317 has closed since
>>> that did not occur since around rc2 or rc3 of 2.6.17.
>>>
>> Jeff, do you know what fixed this one? I've been following the bug and
>> thought it was one of those via-ATAPI-have-no-idea bugs. How come the
>> update fix this one? Have I missed something?
>>
>
> I'm also curious how the svia-atapi problem got fixed.
This is funny. I thought you would know. We're just a bunch of
clueless people, aren't we? :-)
Fortier, can you please post full boot dmesg?
--
tejun
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ASUS A8V Deluxe, x86_64
2006-05-16 12:05 ` Tejun Heo
2006-05-16 12:57 ` Albert Lee
@ 2006-05-16 14:32 ` Jeff Garzik
1 sibling, 0 replies; 18+ messages in thread
From: Jeff Garzik @ 2006-05-16 14:32 UTC (permalink / raw)
To: Tejun Heo
Cc: Fortier,Vincent [Montreal], Andi Kleen, Marko Macek, linux-kernel,
linux-ide
Tejun Heo wrote:
> Fortier,Vincent [Montreal] wrote:
>>>> Now I'm having an ASUS A8V Deluxe.... and sadly a lot of problems:
>>>>
>>>> - My SATA Controller make my Linux crash when connecting a Plextor
>>>> 716SA CD-DVD-R (http://bugzilla.kernel.org/show_bug.cgi?id=5533)
>>
>>> Patch:
>>>
>> http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/2.6.17-rc4-
>> git2-libata1.patch.bz2
>>> (diff'd against 2.6.17-rc4-git2, but should apply to most recent
>> 2.6.17-rcX[-gitY] kernels)
>>
>> I gave a try at the latest ata patches announced yesterday by Jeff and
>> it completelly solved my SATA ATAPI bug.. I even been able to burn my
>> first DVD using my Plextor 716SA on my Linux!!! Really nice and much
>> anticipated work! Thnx a lot!
>>
>> I have already marked bug 5533 as resolved and I'll wait until inclusion
>> into 2.6.18 to close it. I've also marked bug 6317 has closed since
>> that did not occur since around rc2 or rc3 of 2.6.17.
>>
>
> Jeff, do you know what fixed this one? I've been following the bug and
> thought it was one of those via-ATAPI-have-no-idea bugs. How come the
> update fix this one? Have I missed something?
No idea :)
Though this update should solve several classes of longstanding bugs.
* irq-pio is much friendlier to the controller, and should eliminate
several screaming interrupt problems, particularly on sata_sil.
* The better EH should allow recovery from problems we couldn't recover
from before.
* The removal of assert()s (or, removal of conditions that caused
asserts) that triggered in earlier kernels will also eliminate the
associated forced oopsen.
But in the via+ATAPI case, the only thing I can think of is that VIA
AHCI support is included in the update. Other than that... <shrug>
Jeff
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: ASUS A8V Deluxe, x86_64
@ 2006-05-16 14:40 Fortier,Vincent [Montreal]
0 siblings, 0 replies; 18+ messages in thread
From: Fortier,Vincent [Montreal] @ 2006-05-16 14:40 UTC (permalink / raw)
To: Jeff Garzik, Tejun Heo; +Cc: Andi Kleen, Marko Macek, linux-kernel, linux-ide
> But in the via+ATAPI case, the only thing I can think of is
> that VIA AHCI support is included in the update. Other than
> that... <shrug>
For the sake of understanding what patch fixed this would you like me to
test individual patches or is it useless?
- vin
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: ASUS A8V Deluxe, x86_64
@ 2006-05-16 14:43 Fortier,Vincent [Montreal]
2006-05-16 15:40 ` Tejun Heo
0 siblings, 1 reply; 18+ messages in thread
From: Fortier,Vincent [Montreal] @ 2006-05-16 14:43 UTC (permalink / raw)
To: Tejun Heo, albertl
Cc: Andi Kleen, Marko Macek, Jeff Garzik, linux-kernel, linux-ide,
Reinhard Brandstädter
> Fortier, can you please post full boot dmesg?
Sure.. Tonight when I`ll come back home.
BTW, you can use vincent instead :)
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ASUS A8V Deluxe, x86_64
2006-05-16 14:43 Fortier,Vincent [Montreal]
@ 2006-05-16 15:40 ` Tejun Heo
0 siblings, 0 replies; 18+ messages in thread
From: Tejun Heo @ 2006-05-16 15:40 UTC (permalink / raw)
To: Fortier,Vincent [Montreal]
Cc: albertl, Andi Kleen, Marko Macek, Jeff Garzik, linux-kernel,
linux-ide, Reinhard Brandstädter
Fortier,Vincent [Montreal] wrote:
>> Fortier, can you please post full boot dmesg?
>
> Sure.. Tonight when I`ll come back home.
>
> BTW, you can use vincent instead :)
>
Yeap, Vincent. :-)
As bisecting patches is painful, let's postpone it until it can't be
anymore. If the boot log doesn't show much, I think I can insert codes
disabling some of the new features such that full bisecting isn't necessary.
--
tejun
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: ASUS A8V Deluxe, x86_64
@ 2006-05-17 11:02 Fortier,Vincent [Montreal]
2006-05-18 3:29 ` Tejun Heo
0 siblings, 1 reply; 18+ messages in thread
From: Fortier,Vincent [Montreal] @ 2006-05-17 11:02 UTC (permalink / raw)
To: Tejun Heo
Cc: albertl, Andi Kleen, Marko Macek, Jeff Garzik, linux-kernel,
linux-ide, Reinhard Brandstädter
[-- Attachment #1: Type: text/plain, Size: 2473 bytes --]
> >> Fortier, can you please post full boot dmesg?
> As bisecting patches is painful, let's postpone it until it
> can't be anymore. If the boot log doesn't show much, I think
> I can insert codes disabling some of the new features such
> that full bisecting isn't necessary.
Here is my dmesg... I also tought of taking a screenshot of k3b in a burning process but letf it home :)
Anyhow, if you need me to run a few tests to find out exactly where/how/what made ATAPI work correctly on sata_via just ask.
Also note that I disabled irqbalance and switch back to my onboard nic using skge yesterday night and it did solved all my other problems (jerky mouse, lan dropping, PC freezing, etc.). I presume that using sk98lin would work also. A fix for that would solve many problems on K8T800 chipsets.
- vin
Here is the most interesting part which does not say much more than it used to... except that it does detect it properly:
libata version 1.30 loaded.
sata_via 0000:00:0f.0: version 1.2
ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 16
sata_via 0000:00:0f.0: routed to hard irq line 10
ata1: SATA max UDMA/133 cmd 0xD000 ctl 0xC802 bmdma 0xB800 irq 16
ata2: SATA max UDMA/133 cmd 0xC400 ctl 0xC002 bmdma 0xB808 irq 16
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: cfg 49:2f00 82:7c6b 83:7f09 84:4673 85:7c69 86:3e01 87:4663 88:407f
ata1.00: ATA-7, max UDMA/133, 490234752 sectors: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
scsi0 : sata_via
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: cfg 49:0f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:001f
ata2.00: ATAPI, max UDMA/66
ata2.00: applying bridge limits
ata2.00: configured for UDMA/66
scsi1 : sata_via
Vendor: ATA Model: Maxtor 6B250S0 Rev: BANC
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 sda12 sda13 >
sd 0:0:0:0: Attached scsi disk sda
Vendor: PLEXTOR Model: DVDR PX-716A Rev: 1.09
Type: CD-ROM ANSI SCSI revision: 05
[-- Attachment #2: dmesg.2.6.17-rc4-git3-ATA-x86_64-007 --]
[-- Type: application/octet-stream, Size: 20094 bytes --]
Bootdata ok (command line is ro root=LABEL=/FC5_x86_64 vga=0x305)
Linux version 2.6.17-rc4-git3-ATA-x86_64-007 (root@gustav) (gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)) #1 SMP Mon May 15 20:39:54 EDT 2006
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000007ffb0000 (usable)
BIOS-e820: 000000007ffb0000 - 000000007ffc0000 (ACPI data)
BIOS-e820: 000000007ffc0000 - 000000007fff0000 (ACPI NVS)
BIOS-e820: 000000007fff0000 - 0000000080000000 (reserved)
BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
DMI 2.3 present.
ACPI: RSDP (v002 ACPIAM ) @ 0x00000000000fa7c0
ACPI: XSDT (v001 A M I OEMXSDT 0x12000530 MSFT 0x00000097) @ 0x000000007ffb0100
ACPI: FADT (v003 A M I OEMFACP 0x12000530 MSFT 0x00000097) @ 0x000000007ffb0290
ACPI: MADT (v001 A M I OEMAPIC 0x12000530 MSFT 0x00000097) @ 0x000000007ffb0390
ACPI: OEMB (v001 A M I OEMBIOS 0x12000530 MSFT 0x00000097) @ 0x000000007ffc0040
ACPI: DSDT (v001 A0036 A0036001 0x00000001 MSFT 0x0100000d) @ 0x0000000000000000
Scanning NUMA topology in Northbridge 24
Number of nodes 1
Node 0 MemBase 0000000000000000 Limit 000000007ffb0000
NUMA: Using 63 for the hash shift.
Using node hash shift of 63
Bootmem setup node 0 0000000000000000-000000007ffb0000
On node 0 totalpages: 516935
DMA zone: 3933 pages, LIFO batch:0
DMA32 zone: 513002 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:11 APIC version 16
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 15:11 APIC version 16
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Setting APIC routing to physical flat
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 88000000 (gap: 80000000:7f780000)
Checking aperture...
CPU 0: aperture @ e8000000 size 64 MB
SMP: Allowing 2 CPUs, 0 hotplug CPUs
Built 1 zonelists
Kernel command line: ro root=LABEL=/FC5_x86_64 vga=0x305
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Disabling vsyscall due to use of PM timer
time.c: Using 3.579545 MHz WALL PM GTOD PM timer.
time.c: Detected 2202.856 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Memory: 2043684k/2096832k available (2167k kernel code, 52760k reserved, 953k data, 196k init)
Calibrating delay using timer specific routine.. 4411.12 BogoMIPS (lpj=8822257)
Security Framework v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0/0(2) -> Node 0 -> Core 0
Using local APIC timer interrupts.
result 12516250
Detected 12.516 MHz APIC timer.
Booting processor 1/2 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 4405.93 BogoMIPS (lpj=8811862)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 1/1(2) -> Node 0 -> Core 1
AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ stepping 01
CPU 1: Syncing TSC to CPU 0.
CPU 1: synchronized TSC with CPU 0 (last diff 1 cycles, maxerr 535 cycles)
Brought up 2 CPUs
testing NMI watchdog ... OK.
migration_cost=203
checking if image is initramfs... it is
Freeing initrd memory: 1134k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
ACPI: Subsystem revision 20060127
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI: Quirk-MSI-K8T Soundcard On
PCI: Unexpected Value in PCI-Register: no Change!
PCI: enabled onboard AC97/MC97 devices
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 13 devices
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
agpgart: Detected AGP bridge 0
agpgart: AGP aperture is 64M @ 0xe8000000
PCI-DMA: Disabling IOMMU.
pnp: 00:07: ioport range 0x680-0x6ff has been reserved
pnp: 00:07: ioport range 0x290-0x297 has been reserved
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: f9f00000-fbffffff
PREFETCH window: f0000000-f8ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 131072 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 9, 2097152 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
audit: initializing netlink socket (disabled)
audit(1147807609.456:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
SELinux: Registering netfilter hooks
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
vesafb: framebuffer at 0xf0000000, mapped to 0xffffc20000080000, using 1536k, total 131072k
vesafb: mode is 1024x768x8, linelength=1024, pages=3
vesafb: scrolling: redraw
vesafb: Pseudocolor: size=8:8:8:8, shift=0:0:0:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.101 (c) Dave Jones
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
isa bounce pool size: 16 pages
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:0f.1
GSI 16 sharing vector 0xA9 and IRQ 16
ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 16
PCI: VIA IRQ fixup for 0000:00:0f.1, from 255 to 0
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: YAMAHA CRW3200E, ATAPI CD/DVD-ROM drive
hdb: JLMS XJ-HD166S, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
hda: ATAPI 40X CD-ROM CD-R/RW drive, 8192kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdb: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
ide-floppy driver 0.99.newide
usbcore: registered new driver libusual
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 controller doesn't have AUX irq; using default 12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
powernow-k8: Found 2 AMD Athlon 64 / Opteron processors (version 1.60.2)
powernow-k8: 0 : fid 0xe (2200 MHz), vid 0x8 (1350 mV)
powernow-k8: 1 : fid 0xc (2000 MHz), vid 0xa (1300 mV)
powernow-k8: 2 : fid 0xa (1800 MHz), vid 0xc (1250 mV)
powernow-k8: 3 : fid 0x2 (1000 MHz), vid 0x12 (1100 mV)
cpu_init done, current fid 0xe, vid 0x8
input: AT Translated Set 2 keyboard as /class/input/input0
ACPI wakeup devices:
PCI0 PS2K UAR2 UAR1 AC97 USB1 USB2 USB3 USB4 EHCI PWRB SLPB
ACPI: (supports S0 S1 S3 S4 S5)
Freeing unused kernel memory: 196k freed
Write protecting the kernel read-only data: 428k
SCSI subsystem initialized
libata version 1.30 loaded.
sata_via 0000:00:0f.0: version 1.2
ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 16
sata_via 0000:00:0f.0: routed to hard irq line 10
ata1: SATA max UDMA/133 cmd 0xD000 ctl 0xC802 bmdma 0xB800 irq 16
ata2: SATA max UDMA/133 cmd 0xC400 ctl 0xC002 bmdma 0xB808 irq 16
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: cfg 49:2f00 82:7c6b 83:7f09 84:4673 85:7c69 86:3e01 87:4663 88:407f
ata1.00: ATA-7, max UDMA/133, 490234752 sectors: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
scsi0 : sata_via
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: cfg 49:0f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:001f
ata2.00: ATAPI, max UDMA/66
ata2.00: applying bridge limits
ata2.00: configured for UDMA/66
scsi1 : sata_via
Vendor: ATA Model: Maxtor 6B250S0 Rev: BANC
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 sda12 sda13 >
sd 0:0:0:0: Attached scsi disk sda
Vendor: PLEXTOR Model: DVDR PX-716A Rev: 1.09
Type: CD-ROM ANSI SCSI revision: 05
device-mapper: 4.6.0-ioctl (2006-02-17) initialised: dm-devel@redhat.com
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: Disabled at runtime.
SELinux: Unregistering netfilter hooks
audit(1147807615.320:2): selinux=0 auid=4294967295
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
GSI 17 sharing vector 0xB1 and IRQ 17
ACPI: PCI Interrupt 0000:00:0d.0[A] -> GSI 18 (level, low) -> IRQ 17
e100: eth0: e100_probe: addr 0xeff00000, irq 17, MAC addr 00:90:27:15:CD:B6
ieee1394: Initialized config rom entry `ip1394'
GSI 18 sharing vector 0xB9 and IRQ 18
ACPI: PCI Interrupt 0000:00:07.0[A] -> GSI 16 (level, low) -> IRQ 18
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[18] MMIO=[f9800000-f98007ff] Max Packet=[2048] IR/IT contexts=[4/8]
GSI 19 sharing vector 0xC1 and IRQ 19
ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 19
skge 1.5 addr 0xf9a00000 irq 19 chip Yukon-Lite rev 9
skge eth1: addr 00:13:d4:11:03:a9
GSI 20 sharing vector 0xC9 and IRQ 20
ACPI: PCI Interrupt 0000:00:10.4[C] -> GSI 21 (level, low) -> IRQ 20
ehci_hcd 0000:00:10.4: EHCI Host Controller
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.4: irq 20, io mem 0xf9e00000
ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v3.0
sd 0:0:0:0: Attached scsi generic sg0 type 0
1:0:0:0: Attached scsi generic sg1 type 5
ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 20
PCI: VIA IRQ fixup for 0000:00:10.0, from 11 to 4
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.0: irq 20, io base 0x0000d400
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:00:10.1[A] -> GSI 21 (level, low) -> IRQ 20
PCI: VIA IRQ fixup for 0000:00:10.1, from 11 to 4
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.1: irq 20, io base 0x0000d800
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
sr 1:0:0:0: Attached scsi CD-ROM sr0
ACPI: PCI Interrupt 0000:00:10.2[B] -> GSI 21 (level, low) -> IRQ 20
PCI: VIA IRQ fixup for 0000:00:10.2, from 10 to 4
uhci_hcd 0000:00:10.2: UHCI Host Controller
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:10.2: irq 20, io base 0x0000e000
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.3[B] -> GSI 21 (level, low) -> IRQ 20
PCI: VIA IRQ fixup for 0000:00:10.3, from 10 to 4
uhci_hcd 0000:00:10.3: UHCI Host Controller
uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:10.3: irq 20, io base 0x0000e400
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 18
NVRM: loading NVIDIA Linux x86_64 Kernel Module 1.0-8756 Wed Mar 29 15:12:41 PST 2006
ieee1394: The root node is not cycle master capable; selecting a new root node and resetting...
usb 2-1: new full speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
ieee1394: Node added: ID:BUS[0-00:1023] GUID[0010100500001b74]
ieee1394: Host added: ID:BUS[0-01:1023] GUID[0011d800003a31cd]
GSI 21 sharing vector 0xD1 and IRQ 21
ACPI: PCI Interrupt 0000:00:11.5[C] -> GSI 22 (level, low) -> IRQ 21
PCI: Setting latency timer of device 0000:00:11.5 to 64
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
scsi2 : SBP-2 IEEE-1394
usb 3-1: new full speed USB device using uhci_hcd and address 2
usb 3-1: configuration #1 chosen from 1 choice
Linux video capture interface: v1.00
usb 3-2: new low speed USB device using uhci_hcd and address 3
pwc Philips webcam module version 9.0.2-unofficial loaded.
pwc Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
pwc Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
pwc the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
usb 3-2: configuration #1 chosen from 1 choice
input: Logitech USB Receiver as /class/input/input1
input: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:10.1-2
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
Vendor: PI-036 Model: 1394/USB20 Drive Rev: 4.65
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sdb: 321672960 512-byte hdwr sectors (164697 MB)
sdb: Write Protect is off
sdb: Mode Sense: 86 0b 00 02
sdb: missing header in MODE_SENSE response
SCSI device sdb: drive cache: write back
SCSI device sdb: 321672960 512-byte hdwr sectors (164697 MB)
sdb: Write Protect is off
sdb: Mode Sense: 86 0b 00 02
sdb: missing header in MODE_SENSE response
SCSI device sdb: drive cache: write back
sdb: sdb1 sdb2 sdb4 < sdb5 sdb6 sdb7 sdb8 sdb9 >
sd 2:0:0:0: Attached scsi disk sdb
sd 2:0:0:0: Attached scsi generic sg2 type 0
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 pid 0x1204
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
pwc Logitech QuickCam 4000 Pro USB webcam detected.
pwc Registered as /dev/video0.
usbcore: registered new driver Philips webcam
usbcore: registered new driver snd-usb-audio
Non-volatile memory driver v1.2
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
lp: driver loaded but no devices found
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: Sleep Button (CM) [SLPB]
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT3 FS on sda7, internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda10, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda8, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda9, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-0, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 1959888k swap on /dev/sda5. Priority:-1 extents:1 across:1959888k
ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.4 (8192 buckets, 65536 max) - 304 bytes per conntrack
skge eth1: enabling interface
skge eth1: Link is up at 100 Mbps, full duplex, flow control tx and rx
w83627hf 9191-0290: Reading VID from GPIO5
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
i2c_adapter i2c-1: SMBus Quick command not supported, can't probe for chips
i2c_adapter i2c-2: SMBus Quick command not supported, can't probe for chips
i2c_adapter i2c-3: SMBus Quick command not supported, can't probe for chips
pwc Failed to set LED on/off time.
pwc type = 740
pwc type = 740
pwc set_video_mode(176x144 @ 10, palette 15).
pwc decode_size = 1.
pwc Using alternate setting 1.
pwc Dumping frame 6.
pwc Dumping frame 7.
pwc Dumping frame 8.
pwc Dumping frame 9.
pwc Dumping frame 10.
pwc Dumping frame 11.
pwc type = 740
pwc type = 740
pwc set_video_mode(160x120 @ 10, palette 15).
pwc decode_size = 1.
pwc Using alternate setting 1.
pwc Dumping frame 6.
pwc Dumping frame 7.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ASUS A8V Deluxe, x86_64
2006-05-17 11:02 Fortier,Vincent [Montreal]
@ 2006-05-18 3:29 ` Tejun Heo
2006-05-18 5:28 ` Albert Lee
0 siblings, 1 reply; 18+ messages in thread
From: Tejun Heo @ 2006-05-18 3:29 UTC (permalink / raw)
To: Fortier,Vincent [Montreal]
Cc: albertl, Andi Kleen, Marko Macek, Jeff Garzik, linux-kernel,
linux-ide, Reinhard Brandstädter
Fortier,Vincent [Montreal] wrote:
> scsi0 : sata_via
> ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata2.00: cfg 49:0f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:001f
> ata2.00: ATAPI, max UDMA/66
> ata2.00: applying bridge limits
> ata2.00: configured for UDMA/66
[--snip--]
> sd 0:0:0:0: Attached scsi disk sda
> Vendor: PLEXTOR Model: DVDR PX-716A Rev: 1.09
> Type: CD-ROM ANSI SCSI revision: 05
Above and the detailed log too indicate that everything went smooth the
first time around. Albert, do you have any ideas? Could it be
something related to irq-pio?
--
tejun
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ASUS A8V Deluxe, x86_64
2006-05-18 3:29 ` Tejun Heo
@ 2006-05-18 5:28 ` Albert Lee
0 siblings, 0 replies; 18+ messages in thread
From: Albert Lee @ 2006-05-18 5:28 UTC (permalink / raw)
To: Tejun Heo, Fortier,Vincent [Montreal]
Cc: albertl, Andi Kleen, Marko Macek, Jeff Garzik, linux-kernel,
linux-ide, Reinhard Brandstädter
Tejun Heo wrote:
> Fortier,Vincent [Montreal] wrote:
>
>> scsi0 : sata_via
>> ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
>> ata2.00: cfg 49:0f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000
>> 88:001f
>> ata2.00: ATAPI, max UDMA/66
>> ata2.00: applying bridge limits
>> ata2.00: configured for UDMA/66
>
> [--snip--]
>
>> sd 0:0:0:0: Attached scsi disk sda
>> Vendor: PLEXTOR Model: DVDR PX-716A Rev: 1.09
>> Type: CD-ROM ANSI SCSI revision: 05
>
>
> Above and the detailed log too indicate that everything went smooth the
> first time around. Albert, do you have any ideas? Could it be
> something related to irq-pio?
>
I've checked Vincent't dmesg for 2.6.17-rc0 again.
(http://bugzilla.kernel.org/show_bug.cgi?id=5533)
(http://bugzilla.kernel.org/attachment.cgi?id=7700&action=view)
It seems DMA commands are also affected by this problem, not PIO unique.
ata2: command 0xa0 timeout, stat 0xd0 host_stat 0x1 <==== Device busy. DMA on going.
ata2: translated ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00
sr0: scsi-1 drive
sr 1:0:0:0: Attached scsi CD-ROM sr0
ata2 is slow to respond, please be patient
ata2 failed to respond (30 secs)
BUG: warning at drivers/scsi/libata-core.c:3303/ata_pio_complete()
Call Trace: <ffffffff88031bd0>{:libata:ata_pio_task+1398}
<ffffffff810298cf>{__wake_up+56} <ffffffff81219b3a>{_spin_unlock_irqrestore+11}
<ffffffff8803165a>{:libata:ata_pio_task+0} <ffffffff8103f2ed>{run_workqueue+159}
<ffffffff8103fcd0>{worker_thread+0} <ffffffff8104265f>{keventd_create_kthread+0}
<ffffffff8103fdd9>{worker_thread+265} <ffffffff8102880b>{default_wake_function+0}
<ffffffff8104265f>{keventd_create_kthread+0} <ffffffff8104265f>{keventd_create_kthread+0}
<ffffffff81042964>{kthread+212} <ffffffff8100a7a6>{child_rip+8}
<ffffffff8104265f>{keventd_create_kthread+0} <ffffffff81218504>{thread_return+0}
<ffffffff81042890>{kthread+0} <ffffffff8100a79e>{child_rip+0}
ata2: command 0xa0 timeout, stat 0xd0 host_stat 0x0 <==== Device busy, PIO.
ata2: translated ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00
=> It looks like the device is waiting for something.
After comparing the code of 2.6.17-rc4 and current libata upstream, maybe "flush" is the fix:
The CDB was sent to the ATAPI device by PIO, but not flushed to device.
So, the device was busy waiting for the CDB to arrive.
Hi Vincent,
Could you please try 2.6.17-rc4, both with and without the attached patch,
to see if the flush works. Thanks.
--
albert
--- linux-2.6.17-rc4/drivers/scsi/libata-core.c 2006-05-18 12:59:23.000000000 +0800
+++ linux-2.6.17-rc4-mod/drivers/scsi/libata-core.c 2006-05-18 13:04:11.000000000 +0800
@@ -3638,6 +3638,8 @@ static void ata_pio_block(struct ata_por
ata_pio_sector(qc);
}
+
+ ata_altstatus(ap); /* flush */
}
static void ata_pio_error(struct ata_port *ap)
@@ -3754,11 +3756,14 @@ static void atapi_packet_task(void *_dat
spin_lock_irqsave(&ap->host_set->lock, flags);
ap->flags &= ~ATA_FLAG_NOINTR;
ata_data_xfer(ap, qc->cdb, qc->dev->cdb_len, 1);
+ ata_altstatus(ap); /* flush */
+
if (qc->tf.protocol == ATA_PROT_ATAPI_DMA)
ap->ops->bmdma_start(qc); /* initiate bmdma */
spin_unlock_irqrestore(&ap->host_set->lock, flags);
} else {
ata_data_xfer(ap, qc->cdb, qc->dev->cdb_len, 1);
+ ata_altstatus(ap); /* flush */
/* PIO commands are handled by polling */
ap->hsm_task_state = HSM_ST;
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: ASUS A8V Deluxe, x86_64
@ 2006-05-18 10:57 Fortier,Vincent [Montreal]
2006-05-18 11:25 ` Albert Lee
0 siblings, 1 reply; 18+ messages in thread
From: Fortier,Vincent [Montreal] @ 2006-05-18 10:57 UTC (permalink / raw)
To: albertl, Tejun Heo
Cc: Andi Kleen, Marko Macek, Jeff Garzik, linux-kernel, linux-ide,
Reinhard Brandstädter
> >> sd 0:0:0:0: Attached scsi disk sda
> >> Vendor: PLEXTOR Model: DVDR PX-716A Rev: 1.09
> >> Type: CD-ROM ANSI SCSI revision: 05
> >
> > Above and the detailed log too indicate that everything went smooth
> > the first time around. Albert, do you have any ideas? Could it be
> > something related to irq-pio?
You cannot image how happy I was :)
> I've checked Vincent't dmesg for 2.6.17-rc0 again.
> (http://bugzilla.kernel.org/show_bug.cgi?id=5533)
> (http://bugzilla.kernel.org/attachment.cgi?id=7700&action=view)
>
> It seems DMA commands are also affected by this problem, not
> PIO unique.
> After comparing the code of 2.6.17-rc4 and current libata
> upstream, maybe "flush" is the fix:
> The CDB was sent to the ATAPI device by PIO, but not flushed
> to device.
> So, the device was busy waiting for the CDB to arrive.
> Hi Vincent,
> Could you please try 2.6.17-rc4, both with and without the
> attached patch, to see if the flush works. Thanks.
On a pure 2.6.17-rc4 without upstream libata patches I presume? Sure I will tonight.
I'll forward this patch to my home email address and come back to you.
- vin
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ASUS A8V Deluxe, x86_64
2006-05-18 10:57 ASUS A8V Deluxe, x86_64 Fortier,Vincent [Montreal]
@ 2006-05-18 11:25 ` Albert Lee
0 siblings, 0 replies; 18+ messages in thread
From: Albert Lee @ 2006-05-18 11:25 UTC (permalink / raw)
To: Fortier,Vincent [Montreal]
Cc: albertl, Tejun Heo, Andi Kleen, Marko Macek, Jeff Garzik,
linux-kernel, linux-ide, Reinhard Brandstädter
Fortier,Vincent [Montreal] wrote:
>
>
>>Hi Vincent,
>> Could you please try 2.6.17-rc4, both with and without the
>>attached patch, to see if the flush works. Thanks.
>
>
> On a pure 2.6.17-rc4 without upstream libata patches I presume? Sure I will tonight.
> I'll forward this patch to my home email address and come back to you.
>
Yes, pure 2.6.17-rc4 without upstream libata patches. Thanks.
-- albert
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ASUS A8V Deluxe, x86_64
2006-05-16 12:57 ` Albert Lee
2006-05-16 13:11 ` Tejun Heo
@ 2006-08-10 6:46 ` Reinhard Brandstädter
2006-08-10 7:37 ` Albert Lee
1 sibling, 1 reply; 18+ messages in thread
From: Reinhard Brandstädter @ 2006-08-10 6:46 UTC (permalink / raw)
To: linux-ide
[-- Attachment #1: Type: text/plain, Size: 982 bytes --]
On Tuesday 16 May 2006 14:57, Albert Lee wrote:
> Reinhard has a Plextor PX-712SA + svia.
> Maybe he can also help to check whether the patch fixes the problem on his
> box.
What I finally ended up with was solving the problem on the hardware side:
The Plextor PX-712SA is a normal ATA device wich a IDE:SATA adapter plugged in
at the back. I openend the DVDR Device (2 srews at the back) repoved the
adapter (1 screw) and then u get the normal IDE Interface (with master/slave
jumpers, audio interface and normal ower plug). You can use this device on an
normal IDE interface then. Works perfect for me, maybe the 716SA Drive is
similar
This was the only solution that fixed the problem for me, any submitted kernel
patches didn't work.
Reinhard
--
Dipl.-Ing. Reinhard Brandstaedter
Wiener Str. 28 phone: 0043 650 2419541
4020 Linz icq: 73059068
Austria skype: redchili78
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ASUS A8V Deluxe, x86_64
2006-08-10 6:46 ` Reinhard Brandstädter
@ 2006-08-10 7:37 ` Albert Lee
2006-08-10 8:56 ` Reinhard Brandstädter
0 siblings, 1 reply; 18+ messages in thread
From: Albert Lee @ 2006-08-10 7:37 UTC (permalink / raw)
To: r.brandstaedter; +Cc: linux-ide
Reinhard Brandstädter wrote:
> On Tuesday 16 May 2006 14:57, Albert Lee wrote:
>
>
>>Reinhard has a Plextor PX-712SA + svia.
>>Maybe he can also help to check whether the patch fixes the problem on his
>>box.
>
>
> What I finally ended up with was solving the problem on the hardware side:
>
> The Plextor PX-712SA is a normal ATA device wich a IDE:SATA adapter plugged in
> at the back. I openend the DVDR Device (2 srews at the back) repoved the
> adapter (1 screw) and then u get the normal IDE Interface (with master/slave
> jumpers, audio interface and normal ower plug). You can use this device on an
> normal IDE interface then. Works perfect for me, maybe the 716SA Drive is
> similar
> This was the only solution that fixed the problem for me, any submitted kernel
> patches didn't work.
>
I'm curious what's the PATA-to-SATA bridge chip used on the Plextor PX-712SA.
(Maybe it is not compatible with the VIA chip.)
Could you please check the IC on the IDE-SATA adapter?
--
albert
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ASUS A8V Deluxe, x86_64
2006-08-10 7:37 ` Albert Lee
@ 2006-08-10 8:56 ` Reinhard Brandstädter
2006-08-14 6:31 ` Albert Lee
0 siblings, 1 reply; 18+ messages in thread
From: Reinhard Brandstädter @ 2006-08-10 8:56 UTC (permalink / raw)
To: albertl; +Cc: linux-ide
[-- Attachment #1.1: Type: text/plain, Size: 1407 bytes --]
On Thursday 10 August 2006 09:37, Albert Lee wrote:
> Reinhard Brandstädter wrote:
> > On Tuesday 16 May 2006 14:57, Albert Lee wrote:
> >>Reinhard has a Plextor PX-712SA + svia.
> >>Maybe he can also help to check whether the patch fixes the problem on
> >> his box.
> >
> > What I finally ended up with was solving the problem on the hardware
> > side:
> >
> > The Plextor PX-712SA is a normal ATA device wich a IDE:SATA adapter
> > plugged in at the back. I openend the DVDR Device (2 srews at the back)
> > repoved the adapter (1 screw) and then u get the normal IDE Interface
> > (with master/slave jumpers, audio interface and normal ower plug). You
> > can use this device on an normal IDE interface then. Works perfect for
> > me, maybe the 716SA Drive is similar
> > This was the only solution that fixed the problem for me, any submitted
> > kernel patches didn't work.
>
> I'm curious what's the PATA-to-SATA bridge chip used on the Plextor
> PX-712SA. (Maybe it is not compatible with the VIA chip.)
> Could you please check the IC on the IDE-SATA adapter?
On the IC it reads:
88SA8040-TBC
AP039208.3
0432 B0S
I also attached a picture of the IC.
Reinhard
--
Dipl.-Ing. Reinhard Brandstaedter
Wiener Str. 28 phone: 0043 650 2419541
4020 Linz icq: 73059068
Austria skype: redchili78
[-- Attachment #1.2: img_3774.jpg --]
[-- Type: image/jpeg, Size: 56222 bytes --]
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: ASUS A8V Deluxe, x86_64
@ 2006-08-10 14:03 Fortier,Vincent [Montreal]
0 siblings, 0 replies; 18+ messages in thread
From: Fortier,Vincent [Montreal] @ 2006-08-10 14:03 UTC (permalink / raw)
To: r.brandstaedter, albertl; +Cc: linux-ide
> > >>Reinhard has a Plextor PX-712SA + svia.
> > >>Maybe he can also help to check whether the patch fixes the
problem on
> > >> his box.
> > >
> > > What I finally ended up with was solving the problem on the
hardware
> > > side:
> > >
> > > The Plextor PX-712SA is a normal ATA device wich a IDE:SATA
adapter
> > > plugged in at the back. I openend the DVDR Device (2 srews at the
back)
> > > repoved the adapter (1 screw) and then u get the normal IDE
Interface
> > > (with master/slave jumpers, audio interface and normal ower plug).
You
> > > can use this device on an normal IDE interface then. Works perfect
for
> > > me, maybe the 716SA Drive is similar
> > > This was the only solution that fixed the problem for me, any
submitted
> > > kernel patches didn't work.
> >
> > I'm curious what's the PATA-to-SATA bridge chip used on the Plextor
> > PX-712SA. (Maybe it is not compatible with the VIA chip.)
> > Could you please check the IC on the IDE-SATA adapter?
I'm also having an ASUS A8V Deluxe, running x86_64 with a 716SA plextor
drive.
Since 2.6.17 it's been working really well. I don't think there is an
PATA-to-SATA interface into it but I can check that out tonight if
needed.
Cheers.
- vin
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ASUS A8V Deluxe, x86_64
2006-08-10 8:56 ` Reinhard Brandstädter
@ 2006-08-14 6:31 ` Albert Lee
0 siblings, 0 replies; 18+ messages in thread
From: Albert Lee @ 2006-08-14 6:31 UTC (permalink / raw)
To: r.brandstaedter; +Cc: albertl, linux-ide, Unicorn Chang
Reinhard Brandstädter wrote:
> On Thursday 10 August 2006 09:37, Albert Lee wrote:
>
>>Reinhard Brandstädter wrote:
>>
>>>On Tuesday 16 May 2006 14:57, Albert Lee wrote:
>>>
>>>>Reinhard has a Plextor PX-712SA + svia.
>>>>Maybe he can also help to check whether the patch fixes the problem on
>>>>his box.
>>>
>>>What I finally ended up with was solving the problem on the hardware
>>>side:
>>>
>>>The Plextor PX-712SA is a normal ATA device wich a IDE:SATA adapter
>>>plugged in at the back. I openend the DVDR Device (2 srews at the back)
>>>repoved the adapter (1 screw) and then u get the normal IDE Interface
>>>(with master/slave jumpers, audio interface and normal ower plug). You
>>>can use this device on an normal IDE interface then. Works perfect for
>>>me, maybe the 716SA Drive is similar
>>>This was the only solution that fixed the problem for me, any submitted
>>>kernel patches didn't work.
>>
>>I'm curious what's the PATA-to-SATA bridge chip used on the Plextor
>>PX-712SA. (Maybe it is not compatible with the VIA chip.)
>>Could you please check the IC on the IDE-SATA adapter?
>
>
> On the IC it reads:
> 88SA8040-TBC
> AP039208.3
> 0432 B0S
>
> I also attached a picture of the IC.
>
Hi Reinhard,
It's a Marvell 88SA8040. I have a Marvell 88SA8040 bridge at hand and
the bridge has been tested with SiI 3112 and it works ok with SiI 3112
and several CD-ROM drives.
Don't know whether the Marvell 88SA8040 works with SVIA.
Unicorn (on the cc list) has a VIA VT6421 SATA adapter. Will try
connecting the Marvell 88SA8040 with the VIA VT6421 and see if it works.
--
albert
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2006-08-14 6:31 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-18 10:57 ASUS A8V Deluxe, x86_64 Fortier,Vincent [Montreal]
2006-05-18 11:25 ` Albert Lee
-- strict thread matches above, loose matches on Subject: below --
2006-08-10 14:03 Fortier,Vincent [Montreal]
2006-05-17 11:02 Fortier,Vincent [Montreal]
2006-05-18 3:29 ` Tejun Heo
2006-05-18 5:28 ` Albert Lee
2006-05-16 14:43 Fortier,Vincent [Montreal]
2006-05-16 15:40 ` Tejun Heo
2006-05-16 14:40 Fortier,Vincent [Montreal]
2006-05-16 11:45 Fortier,Vincent [Montreal]
2006-05-16 12:05 ` Tejun Heo
2006-05-16 12:57 ` Albert Lee
2006-05-16 13:11 ` Tejun Heo
2006-08-10 6:46 ` Reinhard Brandstädter
2006-08-10 7:37 ` Albert Lee
2006-08-10 8:56 ` Reinhard Brandstädter
2006-08-14 6:31 ` Albert Lee
2006-05-16 14:32 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).