* Re: ICH7m problem using libata
@ 2006-12-19 0:40 Matthew Stapleton
0 siblings, 0 replies; 18+ messages in thread
From: Matthew Stapleton @ 2006-12-19 0:40 UTC (permalink / raw)
To: linux-ide
Jan Gutter wrote:
> and the hard drive just uses PIO. With libata, it hangs up randomly,
> causing the driver to eventually clock down to PIO mode too.
I have a new Acer 5614WSMi with similar timeouts, and although it has a
different model PATA hard drive, the PATA cdrom is the same model and
firmware version, and it seems to be the cdrom that is timing out.
When I migrated my gentoo install over, the first kernel I tried was 2.6.18
with both the IDE PIIX driver (manually added the ICH7M pci id to get DMA)
and libata and I got timeouts on both drivers. I'm now using libata on
kernel: 2.6.19-gentoo-r2 which is based on mainline 2.6.19.1 and am still
getting timeouts.
At first I noticed that the timeouts stop if I don't have any programs running
(like hald) that regularly query the cdrom. Then I had a look at the hald
source code to find out which commands might be causing the timeouts. I
wrote a simple test program that just opens the cdrom with "O_RDONLY |
O_NONBLOCK" then immediately closes it and loops every second and it
triggered a timeout after a few hours. Then I changed the delay to 4 seconds
and still got a timeout after a while. If I change the test program to only
open the cdrom once then continously execute a status command such as the
CDROM_DRIVE_STATUS ioctl every second, the timeouts don't seem to occur.
Hopefully this should help with finding the source of the problem.
--
Matthew Stapleton
^ permalink raw reply [flat|nested] 18+ messages in thread* Re: ICH7m problem using libata @ 2007-01-16 14:11 Mikael Pettersson 2007-01-16 14:51 ` Jan Gutter 0 siblings, 1 reply; 18+ messages in thread From: Mikael Pettersson @ 2007-01-16 14:11 UTC (permalink / raw) To: htejun, jangutter; +Cc: linux-ide, matthew4196 On Tue, 16 Jan 2007 15:53:14 +0200, Jan Gutter wrote: > On Tue, 2007-01-16 at 20:42 +0900, Tejun Heo wrote: > > Can you try 2.6.20-rc5? It has better error reporting and will tell us > > which SCSI command is timing out. > > Here you go: attaching dmesg ... > nvidia: module license 'NVIDIA' taints kernel. ... > NVRM: loading NVIDIA UNIX x86 Kernel Module 1.0-9746 Fri Dec 15 09:54:45 PST 2006 > EXT3 FS on sda7, internal journal > Adding 2104472k swap on /dev/sda6. Priority:-1 extents:1 across:2104472k > Real Time Clock Driver v1.12ac > ipw3945: Detected geography ABG (13 802.11bg channels, 23 802.11a channels) > **WARNING** I2C adapter driver [NVIDIA i2c adapter 0 at 1:00.0] forgot to specify physical device; fix it! > **WARNING** I2C adapter driver [NVIDIA i2c adapter 1 at 1:00.0] forgot to specify physical device; fix it! > **WARNING** I2C adapter driver [NVIDIA i2c adapter 2 at 1:00.0] forgot to specify physical device; fix it! > ipw3945: Error sending SCAN_ABORT_CMD: time out after 500ms. > ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen > ata1.01: cmd a0/01:00:00:00:00/00:00:00:00:00/b0 tag 0 cdb 0x43 data 12 in > res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout) > ata1: port is slow to respond, please be patient (Status 0xd0) > ata1: port failed to respond (30 secs, Status 0xd0) > ata1: soft resetting port > ata1.00: configured for UDMA/100 > ata1.01: configured for UDMA/33 > ata1: EH complete Tainted kernel. Try again without the nvidia module. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ICH7m problem using libata 2007-01-16 14:11 Mikael Pettersson @ 2007-01-16 14:51 ` Jan Gutter 0 siblings, 0 replies; 18+ messages in thread From: Jan Gutter @ 2007-01-16 14:51 UTC (permalink / raw) To: Mikael Pettersson; +Cc: htejun, linux-ide, matthew4196 [-- Attachment #1: Type: text/plain, Size: 349 bytes --] On Tue, 2007-01-16 at 15:11 +0100, Mikael Pettersson wrote: > Tainted kernel. Try again without the nvidia module. Did so. Sorry for spamming the list with dmesgs. I'm pretty sure the nvidia driver won't affect libata, but you're correct: nobody knows what a binary does ;-) Just to confirm: seems the error pops up despite nvidia's absence. Jan [-- Attachment #2: 2.6.20-rc5-untainted-dmesg.txt --] [-- Type: text/plain, Size: 23774 bytes --] Linux version 2.6.20-rc5 (root@wookie) (gcc version 4.1.1 (Gentoo 4.1.1-r3)) #1 SMP PREEMPT Tue Jan 16 14:51:26 SAST 2007 BIOS-provided physical RAM map: sanitize start sanitize end copy_e820_map() start: 0000000000000000 size: 000000000009f800 end: 000000000009f800 type: 1 copy_e820_map() type is E820_RAM copy_e820_map() start: 000000000009f800 size: 0000000000000800 end: 00000000000a0000 type: 2 copy_e820_map() start: 00000000000dc000 size: 0000000000024000 end: 0000000000100000 type: 2 copy_e820_map() start: 0000000000100000 size: 000000003fd90000 end: 000000003fe90000 type: 1 copy_e820_map() type is E820_RAM copy_e820_map() start: 000000003fe90000 size: 0000000000070000 end: 000000003ff00000 type: 4 copy_e820_map() start: 000000003ff00000 size: 0000000000100000 end: 0000000040000000 type: 2 copy_e820_map() start: 00000000e0000000 size: 0000000010000000 end: 00000000f0000000 type: 2 copy_e820_map() start: 00000000fec00000 size: 0000000000010000 end: 00000000fec10000 type: 2 copy_e820_map() start: 00000000fed00000 size: 0000000000000400 end: 00000000fed00400 type: 2 copy_e820_map() start: 00000000fed14000 size: 0000000000006000 end: 00000000fed1a000 type: 2 copy_e820_map() start: 00000000fed1c000 size: 0000000000074000 end: 00000000fed90000 type: 2 copy_e820_map() start: 00000000fee00000 size: 0000000000001000 end: 00000000fee01000 type: 2 copy_e820_map() start: 00000000ff000000 size: 0000000001000000 end: 0000000100000000 type: 2 BIOS-e820: 0000000000000000 - 000000000009f800 (usable) BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003fe90000 (usable) BIOS-e820: 000000003fe90000 - 000000003ff00000 (ACPI NVS) BIOS-e820: 000000003ff00000 - 0000000040000000 (reserved) BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved) BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) BIOS-e820: 00000000fed00000 - 00000000fed00400 (reserved) BIOS-e820: 00000000fed14000 - 00000000fed1a000 (reserved) BIOS-e820: 00000000fed1c000 - 00000000fed90000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved) 126MB HIGHMEM available. 896MB LOWMEM available. found SMP MP-table at 000f5c80 Entering add_active_range(0, 0, 261776) 0 entries of 256 used Zone PFN ranges: DMA 0 -> 4096 Normal 4096 -> 229376 HighMem 229376 -> 261776 early_node_map[1] active PFN ranges 0: 0 -> 261776 On node 0 totalpages: 261776 DMA zone: 32 pages used for memmap DMA zone: 0 pages reserved DMA zone: 4064 pages, LIFO batch:0 Normal zone: 1760 pages used for memmap Normal zone: 223520 pages, LIFO batch:31 HighMem zone: 253 pages used for memmap HighMem zone: 32147 pages, LIFO batch:7 DMI present. ACPI: RSDP (v000 PTLTD ) @ 0x000f5ae0 ACPI: RSDT (v001 PTLTD RSDT 0x06040000 LTP 0x00000000) @ 0x3fe9515a ACPI: FADT (v001 INTEL CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x3fe9ddee ACPI: MADT (v001 INTEL CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x3fe9de62 ACPI: HPET (v001 INTEL CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x3fe9deca ACPI: MCFG (v001 INTEL CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x3fe9df02 ACPI: TCPA (v001 PTLTD CALISTGA 0x06040000 PTL 0x00000001) @ 0x3fe9df3e ACPI: MADT (v001 PTLTD APIC 0x06040000 LTP 0x00000000) @ 0x3fe9df70 ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06040000 LTP 0x00000001) @ 0x3fe9dfd8 ACPI: SSDT (v001 SataRe SataPri 0x00001000 INTL 0x20050624) @ 0x3fe96862 ACPI: SSDT (v001 SataRe SataSec 0x00001000 INTL 0x20050624) @ 0x3fe961d0 ACPI: SSDT (v001 PmRef Cpu0Tst 0x00003000 INTL 0x20050624) @ 0x3fe9573a ACPI: SSDT (v001 PmRef Cpu1Tst 0x00003000 INTL 0x20050624) @ 0x3fe95694 ACPI: SSDT (v001 PmRef CpuPm 0x00003000 INTL 0x20050624) @ 0x3fe951ae ACPI: DSDT (v001 INTEL CALISTGA 0x06040000 MSFT 0x0100000e) @ 0x00000000 ACPI: PM-Timer IO Port: 0x1008 ACPI: Local APIC address 0xfee00000 ACPI: 2 duplicate APIC table ignored. ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 6:15 APIC version 20 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) Processor #1 6:15 APIC version 20 ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23 ACPI: IOAPIC (id[0x02] address[0xfec28000] gsi_base[24]) IOAPIC[1]: apic_id 2, version 255, address 0xfec28000, GSI 24-279 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Enabling APIC mode: Flat. Using 2 I/O APICs ACPI: HPET id: 0x8086a201 base: 0xfed00000 Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at 50000000 (gap: 40000000:a0000000) Detected 1662.866 MHz processor. Built 1 zonelists. Total pages: 259731 Kernel command line: root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda7 udev video=vesafb:ywrap,1440x900-24@65 combined_mode=libata mapped APIC to ffffd000 (fee00000) mapped IOAPIC to ffffc000 (fec00000) mapped IOAPIC to ffffb000 (fec28000) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 16384 bytes) Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1024676k/1047104k available (3108k kernel code, 21800k reserved, 1460k data, 264k init, 129600k highmem) virtual kernel memory layout: fixmap : 0xfff4f000 - 0xfffff000 ( 704 kB) pkmap : 0xff800000 - 0xffc00000 (4096 kB) vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB) lowmem : 0xc0000000 - 0xf8000000 ( 896 MB) .init : 0xc057e000 - 0xc05c0000 ( 264 kB) .data : 0xc04093f7 - 0xc0576694 (1460 kB) .text : 0xc0100000 - 0xc04093f7 (3108 kB) Checking if this processor honours the WP bit even in supervisor mode... Ok. hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 hpet0: 3 64-bit timers, 14318180 Hz Using HPET for base-timer Calibrating delay using timer specific routine.. 3328.68 BogoMIPS (lpj=1664341) Mount-cache hash table entries: 512 CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e39d 00000000 00000001 monitor/mwait feature present. using mwait in idle threads. CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 2048K CPU: Physical Processor ID: 0 CPU: Processor Core ID: 0 CPU: After all inits, caps: bfebfbff 20100000 00000000 00003940 0000e39d 00000000 00000001 Compat vDSO mapped to ffffe000. Checking 'hlt' instruction... OK. Freeing SMP alternatives: 13k freed ACPI: Core revision 20060707 CPU0: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz stepping 06 Booting processor 1/1 eip 2000 Initializing CPU#1 Calibrating delay using timer specific routine.. 3325.36 BogoMIPS (lpj=1662682) CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e39d 00000000 00000001 monitor/mwait feature present. CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 2048K CPU: Physical Processor ID: 0 CPU: Processor Core ID: 1 CPU: After all inits, caps: bfebfbff 20100000 00000000 00003940 0000e39d 00000000 00000001 CPU1: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz stepping 06 Total of 2 processors activated (6654.04 BogoMIPS). ENABLING IO-APIC IRQs ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 checking TSC synchronization across 2 CPUs: passed. Brought up 2 CPUs migration_cost=28 NET: Registered protocol family 16 No dock devices found. ACPI: bus type pci registered PCI: Using MMCONFIG Setting up standard PCI resources ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) PCI quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO PCI quirk: region 1180-11bf claimed by ICH6 GPIO Boot video device is 0000:01:00.0 PCI: Transparent bridge - 0000:00:1e.0 PCI: Bus #0b (-#0e) is hidden behind transparent bridge #0a (-#0a) (try 'pci=assign-busses') Please report the result to linux-kernel to fix this permanently ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEGP._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP03._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP04._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 10 *11) ACPI: PCI Interrupt Link [LNKB] (IRQs 10 *11) ACPI: PCI Interrupt Link [LNKC] (IRQs *10 11) ACPI: PCI Interrupt Link [LNKD] (IRQs *10 11) ACPI: PCI Interrupt Link [LNKE] (IRQs 10 11) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 10 11) *0, disabled. ACPI: PCI Interrupt Link [LNKG] (IRQs *10 11) ACPI: PCI Interrupt Link [LNKH] (IRQs 10 *11) Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnP ACPI: found 11 devices SCSI subsystem initialized libata version 2.00 loaded. PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report pnp: 00:07: ioport range 0x6a0-0x6af has been reserved pnp: 00:07: ioport range 0x6b0-0x6ff has been reserved PCI: Failed to allocate mem resource #6:20000@c0000000 for 0000:01:00.0 PCI: Bridge: 0000:00:01.0 IO window: disabled. MEM window: d0000000-d1ffffff PREFETCH window: b0000000-bfffffff PCI: Bridge: 0000:00:1c.0 IO window: 2000-2fff MEM window: c8000000-c9ffffff PREFETCH window: c0000000-c1ffffff PCI: Bridge: 0000:00:1c.1 IO window: 3000-3fff MEM window: ca000000-cbffffff PREFETCH window: c2000000-c3ffffff PCI: Bridge: 0000:00:1c.2 IO window: 4000-4fff MEM window: cc000000-cdffffff PREFETCH window: c4000000-c5ffffff PCI: Bridge: 0000:00:1c.3 IO window: 5000-5fff MEM window: ce000000-cfffffff PREFETCH window: c6000000-c7ffffff PCI: Bus 11, cardbus bridge: 0000:0a:06.0 IO window: 00006000-000060ff IO window: 00006400-000064ff PREFETCH window: 50000000-53ffffff MEM window: 54000000-57ffffff PCI: Bridge: 0000:00:1e.0 IO window: 6000-6fff MEM window: d2000000-d20fffff PREFETCH window: 50000000-53ffffff ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:01.0 to 64 ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 17 PCI: Setting latency timer of device 0000:00:1c.0 to 64 ACPI: PCI Interrupt 0000:00:1c.1[B] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:1c.1 to 64 ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:00:1c.2 to 64 ACPI: PCI Interrupt 0000:00:1c.3[D] -> GSI 19 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1c.3 to 64 PCI: Enabling device 0000:00:1e.0 (0104 -> 0107) PCI: Setting latency timer of device 0000:00:1e.0 to 64 ACPI: PCI Interrupt 0000:0a:06.0[A] -> GSI 22 (level, low) -> IRQ 20 NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 8, 1572864 bytes) TCP bind hash table entries: 65536 (order: 7, 786432 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered checking if image is initramfs... it is Freeing initrd memory: 7477k freed Simple Boot Flag at 0x36 set to 0x1 cpufreq: No nForce2 chipset. IA-32 Microcode Update Driver: v1.14a <tigran@aivazian.fsnet.co.uk> audit: initializing netlink socket (disabled) audit(1168964883.771:1): initialized highmem bounce pool size: 64 pages SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled SGI XFS Quota Management subsystem io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) PCI: Setting latency timer of device 0000:00:01.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:01.0:pcie00] Allocate Port Service[0000:00:01.0:pcie03] PCI: Setting latency timer of device 0000:00:1c.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.0:pcie00] Allocate Port Service[0000:00:1c.0:pcie02] Allocate Port Service[0000:00:1c.0:pcie03] PCI: Setting latency timer of device 0000:00:1c.1 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.1:pcie00] Allocate Port Service[0000:00:1c.1:pcie02] Allocate Port Service[0000:00:1c.1:pcie03] PCI: Setting latency timer of device 0000:00:1c.2 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.2:pcie00] Allocate Port Service[0000:00:1c.2:pcie02] Allocate Port Service[0000:00:1c.2:pcie03] PCI: Setting latency timer of device 0000:00:1c.3 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.3:pcie00] Allocate Port Service[0000:00:1c.3:pcie02] Allocate Port Service[0000:00:1c.3:pcie03] ACPI: AC Adapter [ADP1] (on-line) ACPI: Battery Slot [BAT0] (battery present) input: Power Button (FF) as /class/input/input0 ACPI: Power Button (FF) [PWRF] input: Lid Switch as /class/input/input1 ACPI: Lid Switch [LID0] input: Sleep Button (CM) as /class/input/input2 ACPI: Sleep Button (CM) [SLPB] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no) ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no) ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu0Ist] [20060707] ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu0Cst] [20060707] Monitor-Mwait will be used to enter C-1 state Monitor-Mwait will be used to enter C-2 state Monitor-Mwait will be used to enter C-3 state ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3]) ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu1Ist] [20060707] ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu1Cst] [20060707] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3]) ACPI: Thermal Zone [TZS0] (51 C) ACPI: Thermal Zone [TZS1] (51 C) ibm_acpi: ec object not found toshiba: not a supported Toshiba laptop Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize loop: loaded (max 8 devices) ata_piix 0000:00:1f.2: version 2.00ac7 ata_piix 0000:00:1f.2: MAP [ IDE IDE P1 P3 ] ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1f.2 to 64 ata1: PATA max UDMA/100 cmd 0x1F0 ctl 0x3F6 bmdma 0x18B0 irq 14 ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x18B8 irq 15 scsi0 : ata_piix ata1.00: ATA-6, max UDMA/100, 234441648 sectors: LBA48 ata1.00: ata1: dev 0 multi count 16 ata1.01: ATAPI, max UDMA/33 ata1.00: configured for UDMA/100 ata1.01: configured for UDMA/33 scsi1 : ata_piix ATA: abnormal status 0x7F on port 0x177 scsi 0:0:0:0: Direct-Access ATA TOSHIBA MK1234GA AC00 PQ: 0 ANSI: 5 SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 > sd 0:0:0:0: Attached scsi disk sda scsi 0:0:1:0: CD-ROM TSSTcorp CD/DVDW TS-L632D ac00 PQ: 0 ANSI: 5 sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.20 sr 0:0:1:0: Attached scsi CD-ROM sr0 PNP: PS/2 Controller [PNP0303:KBD0,PNP0f13:PS2M] at 0x60,0x64 irq 1,12 i8042.c: Detected active multiplexing controller, rev 1.1. serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX0 port at 0x60,0x64 irq 12 serio: i8042 AUX1 port at 0x60,0x64 irq 12 serio: i8042 AUX2 port at 0x60,0x64 irq 12 serio: i8042 AUX3 port at 0x60,0x64 irq 12 mice: PS/2 mouse device common for all mice input: AT Translated Set 2 keyboard as /class/input/input3 Synaptics Touchpad, model: 1, fw: 6.2, id: 0x12a0b1, caps: 0xa04713/0x204000 input: SynPS/2 Synaptics TouchPad as /class/input/input4 dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2) padlock: No VIA PadLock drivers have been loaded. padlock: VIA PadLock not detected. padlock: VIA PadLock Hash Engine not detected. TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Starting balanced_irq Using IPI Shortcut mode Time: tsc clocksource has been installed. Freeing unused kernel memory: 264k freed Time: hpet clocksource has been installed. ata1: soft resetting port ata1.00: configured for UDMA/100 ata1.01: configured for UDMA/33 ata1: EH complete SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 21 PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: EHCI Host Controller ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:1d.7: debug port 1 PCI: cache line size of 32 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: irq 21, io mem 0xd2304000 ehci_hcd 0000:00:1d.7: 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 Initializing USB Mass Storage driver... usb 1-7: new high speed USB device using ehci_hcd and address 2 usb 1-7: configuration #1 chosen from 1 choice usbcore: registered new interface driver usb-storage USB Mass Storage support registered. USB Universal Host Controller Interface driver v3.0 ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 21 PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: UHCI Host Controller uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1d.0: irq 21, io base 0x00001800 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:1d.1: irq 19, io base 0x00001820 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:00:1d.2 to 64 uhci_hcd 0000:00:1d.2: UHCI Host Controller uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:1d.2: irq 18, io base 0x00001840 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:1d.3[D] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:1d.3 to 64 uhci_hcd 0000:00:1d.3: UHCI Host Controller uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5 uhci_hcd 0000:00:1d.3: irq 16, io base 0x00001860 usb usb5: configuration #1 chosen from 1 choice hub 5-0:1.0: USB hub found hub 5-0:1.0: 2 ports detected ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver sl811: driver sl811-hcd, 19 May 2005 ieee1394: Initialized config rom entry `ip1394' device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 JFS: nTxBlock = 8067, nTxLock = 64542 kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. input: PC Speaker as /class/input/input5 ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 19 (level, low) -> IRQ 19 ieee80211_crypt: registered algorithm 'NULL' ieee80211: 802.11 data/management/control stack, 1.2.16 ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com> ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:02:00.0 to 64 eth0: Identified chip type is 'RTL8168B/8111B'. eth0: r10001.04, the Linux device driver for Realtek Ethernet Controllers at 0x2000, 00:16:d3:47:66:2e, IRQ 16 sdhci: Secure Digital Host Controller Interface driver, 0.12 sdhci: Copyright(c) Pierre Ossman ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 1.2.0d ipw3945: Copyright(c) 2003-2006 Intel Corporation Realtek RTL8168/8111 Family PCI-E Gigabit Ethernet Network Adapter Driver version:1.04 Released date:2006/07/07 Link Status:Linked Link Speed:100Mbps Duplex mode:Full-Duplex I/O Base:0x2000(I/O port) IRQ:16 sdhci: SDHCI controller found at 0000:0a:06.3 [104c:803c] (rev 0) ACPI: PCI Interrupt 0000:0a:06.3[A] -> GSI 22 (level, low) -> IRQ 20 sdhci:slot0: Controller reports > 25 MHz base clock, but no high speed support. mmc0: SDHCI at 0xd2005800 irq 20 PIO Yenta: CardBus bridge found at 0000:0a:06.0 [1025:0107] Yenta: Using CSCINT to route CSC interrupts to PCI Yenta: Routing CardBus interrupts to PCI Yenta TI: socket 0000:0a:06.0, mfunc 0x01aa1b22, devctl 0x64 Yenta: ISA IRQ mask 0x0cf8, PCI irq 20 Socket status: 30000006 Yenta: Raising subordinate bus# of parent bus (#0a) from #0a to #0e pcmcia: parent PCI bridge I/O window: 0x6000 - 0x6fff pcmcia: parent PCI bridge Memory window: 0xd2000000 - 0xd20fffff pcmcia: parent PCI bridge Memory window: 0x50000000 - 0x53ffffff ACPI: PCI Interrupt 0000:0a:06.2[A] -> GSI 22 (level, low) -> IRQ 20 ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:05:00.0 to 64 ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection EXT3 FS on sda7, internal journal Adding 2104472k swap on /dev/sda6. Priority:-1 extents:1 across:2104472k Real Time Clock Driver v1.12ac ipw3945: Detected geography ABG (13 802.11bg channels, 23 802.11a channels) ipw3945: Error sending SCAN_ABORT_CMD: time out after 500ms. ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.01: cmd a0/01:00:00:00:00/00:00:00:00:00/b0 tag 0 cdb 0x25 data 8 in res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout) ata1: port is slow to respond, please be patient (Status 0xd0) ata1: port failed to respond (30 secs, Status 0xd0) ata1: soft resetting port ata1.00: configured for UDMA/100 ata1.01: configured for UDMA/33 ata1: EH complete SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA ^ permalink raw reply [flat|nested] 18+ messages in thread
* ICH7m problem using libata @ 2006-12-04 17:36 Jan Gutter 2006-12-20 0:18 ` Tejun Heo 0 siblings, 1 reply; 18+ messages in thread From: Jan Gutter @ 2006-12-04 17:36 UTC (permalink / raw) To: linux-ide Our company has recently purchased two Acer 5632WSMi laptops and we're running Gentoo x86 unstable on them. The most hindering problem that's currently plaguing us is the IDE chipset. Without the combined_mode=libata on the command line, DMA is disabled and the hard drive just uses PIO. With libata, it hangs up randomly, causing the driver to eventually clock down to PIO mode too. I'd be willing to test patches (like really INSANE ones), because the laptop's not too critical currently. I can post the full dmesg and lspci -vvnn if it might be of use. I have no idea whether this problem has been solved or reported before. Excerpt from lspci: 00:1f.2 0101: 8086:27c4 (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) \ Serial ATA Storage Controller IDE (rev 02) Excerpt from dmesg: Linux version 2.6.19-gentoo-r1 (root@wookie) (gcc version 4.1.1 \ (Gentoo 4.1.1-r3)) #2 SMP PREEMPT Mon Dec 4 18:33:02 SAST 2006 ...cut... Kernel command line: root=/dev/ram0 init=/linuxrc ramdisk=8192 \ real_root=/dev/sda7 udev video=vesafb:ywrap,1440x900-24@65 \ combined_mode=libata ...cut... Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx input: AT Translated Set 2 keyboard as /class/input/input0 ide0: I/O resource 0x1F0-0x1F7 not free. ide0: ports already in use, skipping probe ide1: I/O resource 0x170-0x177 not free. ide1: ports already in use, skipping probe ata_piix 0000:00:1f.2: version 2.00ac6 ata_piix 0000:00:1f.2: MAP [ IDE IDE P1 P3 ] ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1f.2 to 64 ata1: PATA max UDMA/100 cmd 0x1F0 ctl 0x3F6 bmdma 0x18B0 irq 14 ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x18B8 irq 15 scsi0 : ata_piix ata1.00: ATA-6, max UDMA/100, 234441648 sectors: LBA48 ata1.00: ata1: dev 0 multi count 16 ata1.01: ATAPI, max UDMA/33 ata1.00: configured for UDMA/100 ata1.01: configured for UDMA/33 scsi1 : ata_piix ATA: abnormal status 0x7F on port 0x177 scsi 0:0:0:0: Direct-Access ATA TOSHIBA MK1234GA AC00 PQ: 0 ANSI: 5 SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back SCSI device sda: 234441648 512-byte hdwr sectors (120034 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 > sd 0:0:0:0: Attached scsi disk sda scsi 0:0:1:0: CD-ROM TSSTcorp CD/DVDW TS-L632D ac00 PQ: 0 ANSI: 5 sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.20 sr 0:0:1:0: Attached scsi CD-ROM sr0 ...cut... ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.01: (BMDMA stat 0x64) ata1.01: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout) ata1: port is slow to respond, please be patient (Status 0xd0) ata1: port failed to respond (30 secs, Status 0xd0) ata1: soft resetting port ata1.00: configured for UDMA/100 ata1.01: configured for UDMA/33 ata1: EH complete SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.01: (BMDMA stat 0x64) ata1.01: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout) ata1: port is slow to respond, please be patient (Status 0xd0) ata1: port failed to respond (30 secs, Status 0xd0) ata1: soft resetting port ata1.00: configured for UDMA/100 ata1.01: configured for UDMA/33 ata1: EH complete SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.01: (BMDMA stat 0x64) ata1.01: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout) ata1: port is slow to respond, please be patient (Status 0xd0) ata1: port failed to respond (30 secs, Status 0xd0) ata1: soft resetting port ata1.00: configured for UDMA/100 ata1.01: configured for UDMA/33 ata1: EH complete SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back Thanks in advance for any help! Jan Gutter ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ICH7m problem using libata 2006-12-04 17:36 Jan Gutter @ 2006-12-20 0:18 ` Tejun Heo 2007-01-03 3:07 ` Matthew Stapleton 0 siblings, 1 reply; 18+ messages in thread From: Tejun Heo @ 2006-12-20 0:18 UTC (permalink / raw) To: Jan Gutter; +Cc: linux-ide [-- Attachment #1: Type: text/plain, Size: 771 bytes --] Jan Gutter wrote: > Our company has recently purchased two Acer 5632WSMi laptops and we're > running Gentoo x86 unstable on them. The most hindering problem that's > currently plaguing us is the IDE chipset. > > Without the combined_mode=libata on the command line, DMA is disabled > and the hard drive just uses PIO. With libata, it hangs up randomly, > causing the driver to eventually clock down to PIO mode too. > > I'd be willing to test patches (like really INSANE ones), because the > laptop's not too critical currently. I can post the full dmesg and lspci > -vvnn if it might be of use. I have no idea whether this problem has > been solved or reported before. Please apply the attached patch over 2.6.19 and report what the kernel says. Thanks. -- tejun [-- Attachment #2: patch --] [-- Type: text/plain, Size: 2496 bytes --] diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index 02b2b27..bbbec75 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c @@ -1433,16 +1433,47 @@ static void ata_eh_report(struct ata_port *ap) } for (tag = 0; tag < ATA_MAX_QUEUE; tag++) { + static const char *dma_str[] = { + [DMA_BIDIRECTIONAL] = "bidi", + [DMA_TO_DEVICE] = "out", + [DMA_FROM_DEVICE] = "in", + [DMA_NONE] = "", + }; struct ata_queued_cmd *qc = __ata_qc_from_tag(ap, tag); + struct ata_taskfile *cmd = &qc->tf, *res = &qc->result_tf; + const u8 *c = qc->cdb; + unsigned int nbytes; if (!(qc->flags & ATA_QCFLAG_FAILED) || !qc->err_mask) continue; - ata_dev_printk(qc->dev, KERN_ERR, "tag %d cmd 0x%x " - "Emask 0x%x stat 0x%x err 0x%x (%s)\n", - qc->tag, qc->tf.command, qc->err_mask, - qc->result_tf.command, qc->result_tf.feature, - ata_err_string(qc->err_mask)); + nbytes = qc->nbytes; + if (!nbytes) + nbytes = qc->nsect << 9; + + ata_dev_printk(qc->dev, KERN_ERR, + "cmd %02x/%02x:%02x:%02x:%02x:%02x/%02x:%02x:%02x:%02x:%02x/%02x " + "tag %d cdb 0x%x data %u %s\n " + "res %02x/%02x:%02x:%02x:%02x:%02x/%02x:%02x:%02x:%02x:%02x/%02x " + "Emask 0x%x (%s)\n", + cmd->command, cmd->feature, cmd->nsect, + cmd->lbal, cmd->lbam, cmd->lbah, + cmd->hob_feature, cmd->hob_nsect, + cmd->hob_lbal, cmd->hob_lbam, cmd->hob_lbah, + cmd->device, qc->tag, qc->cdb[0], nbytes, + dma_str[qc->dma_dir], + res->command, res->feature, res->nsect, + res->lbal, res->lbam, res->lbah, + res->hob_feature, res->hob_nsect, + res->hob_lbal, res->hob_lbam, res->hob_lbah, + res->device, qc->err_mask, ata_err_string(qc->err_mask)); + + ata_dev_printk(qc->dev, KERN_ERR, + "CDB: %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x " + "%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x p=%d\n", + c[0], c[1], c[2], c[3], c[4], c[5], c[6], c[7], + c[8], c[9], c[10], c[11], c[12], c[13], c[14], c[15], + cmd->protocol); } } diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 3ac4890..f018e49 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -191,6 +191,7 @@ int scsi_execute(struct scsi_device *sdev, const unsigned char *cmd, goto out; req->cmd_len = COMMAND_SIZE(cmd[0]); + memset(req->cmd, 0, BLK_MAX_CDB); /* ATAPI hates garbage after CDB */ memcpy(req->cmd, cmd, req->cmd_len); req->sense = sense; req->sense_len = 0; ^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: ICH7m problem using libata 2006-12-20 0:18 ` Tejun Heo @ 2007-01-03 3:07 ` Matthew Stapleton 2007-01-03 3:44 ` Tejun Heo 0 siblings, 1 reply; 18+ messages in thread From: Matthew Stapleton @ 2007-01-03 3:07 UTC (permalink / raw) To: Tejun Heo; +Cc: linux-ide Tejun Heo wrote: > Please apply the attached patch over 2.6.19 and report what the kernel says. > > Thanks. > I got the following errors during the timeout when running hald: ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.01: cmd a0/00:00:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0x1e data 0 in res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout) ata1.01: CDB: 1e:00:00:00:00:00:00:00 00:00:00:00:00:00:00:00 p=6 ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.01: (BMDMA stat 0x64) ata1.01: cmd a0/01:00:00:00:00/00:00:00:00:00/b0 tag 0 cdb 0x25 data 8 in res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout) ata1.01: CDB: 25:00:00:00:00:00:00:00 00:00:00:00:00:00:00:00 p=7 With my test program that opens and closes the cdrom drive every second, I got the following errors during the timeout: ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.01: (BMDMA stat 0x64) ata1.01: cmd a0/01:00:00:00:00/00:00:00:00:00/b0 tag 0 cdb 0x43 data 12 in res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout) ata1.01: CDB: 43:00:00:00:00:00:00:00 0c:40:00:00:00:00:00:00 p=7 ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.01: (BMDMA stat 0x4) ata1.01: cmd a0/01:00:00:00:00/00:00:00:00:00/b0 tag 0 cdb 0x25 data 8 in res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout) ata1.01: CDB: 25:00:00:00:00:00:00:00 00:00:00:00:00:00:00:00 p=7 -- Matthew Stapleton ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ICH7m problem using libata 2007-01-03 3:07 ` Matthew Stapleton @ 2007-01-03 3:44 ` Tejun Heo 2007-01-09 22:17 ` Matthew Stapleton 0 siblings, 1 reply; 18+ messages in thread From: Tejun Heo @ 2007-01-03 3:44 UTC (permalink / raw) To: Matthew Stapleton; +Cc: linux-ide [-- Attachment #1: Type: text/plain, Size: 1653 bytes --] Matthew Stapleton wrote: > Tejun Heo wrote: >> Please apply the attached patch over 2.6.19 and report what the kernel says. >> >> Thanks. >> > > I got the following errors during the timeout when running hald: > > ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen > ata1.01: cmd a0/00:00:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0x1e data 0 in > res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout) > ata1.01: CDB: 1e:00:00:00:00:00:00:00 00:00:00:00:00:00:00:00 p=6 > > ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen > ata1.01: (BMDMA stat 0x64) > ata1.01: cmd a0/01:00:00:00:00/00:00:00:00:00/b0 tag 0 cdb 0x25 data 8 in > res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout) > ata1.01: CDB: 25:00:00:00:00:00:00:00 00:00:00:00:00:00:00:00 p=7 > > With my test program that opens and closes the cdrom drive every second, I got > the following errors during the timeout: > > ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen > ata1.01: (BMDMA stat 0x64) > ata1.01: cmd a0/01:00:00:00:00/00:00:00:00:00/b0 tag 0 cdb 0x43 data 12 in > res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout) > ata1.01: CDB: 43:00:00:00:00:00:00:00 0c:40:00:00:00:00:00:00 p=7 > > ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen > ata1.01: (BMDMA stat 0x4) > ata1.01: cmd a0/01:00:00:00:00/00:00:00:00:00/b0 tag 0 cdb 0x25 data 8 in > res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout) > ata1.01: CDB: 25:00:00:00:00:00:00:00 00:00:00:00:00:00:00:00 p=7 Can you try the attached patch over 2.6.19 and report full dmesg? Thanks. -- tejun [-- Attachment #2: cocktail-2.6.19.patch --] [-- Type: text/x-patch, Size: 8082 bytes --] Index: work/drivers/ata/libata-core.c =================================================================== --- work.orig/drivers/ata/libata-core.c 2007-01-03 12:33:36.000000000 +0900 +++ work/drivers/ata/libata-core.c 2007-01-03 12:36:28.000000000 +0900 @@ -59,6 +59,10 @@ #include "libata.h" +enum { + ATA_MODE_STRING_MAX = 16, +}; + /* debounce timing parameters in msecs { interval, duration, timeout } */ const unsigned long sata_deb_timing_normal[] = { 5, 100, 2000 }; const unsigned long sata_deb_timing_hotplug[] = { 25, 500, 2000 }; @@ -367,6 +371,7 @@ static int ata_xfer_mode2shift(unsigned /** * ata_mode_string - convert xfer_mask to string * @xfer_mask: mask of bits supported; only highest bit counts. + * @buf: buffer of ATA_MODE_STRING_MAX bytes * * Determine string which represents the highest speed * (highest bit in @modemask). @@ -375,10 +380,10 @@ static int ata_xfer_mode2shift(unsigned * None. * * RETURNS: - * Constant C string representing highest speed listed in - * @mode_mask, or the constant C string "<n/a>". + * Pointer to @buf which contains C string representing highest + * DMA and PIO speeds listed in @mode_mask. */ -static const char *ata_mode_string(unsigned int xfer_mask) +static const char *ata_mode_string(unsigned int xfer_mask, char *buf) { static const char * const xfer_mode_str[] = { "PIO0", @@ -403,11 +408,24 @@ static const char *ata_mode_string(unsig "UDMA7", }; int highbit; + const char *str, *pio_str; + + str = pio_str = "<n/a>"; highbit = fls(xfer_mask) - 1; if (highbit >= 0 && highbit < ARRAY_SIZE(xfer_mode_str)) - return xfer_mode_str[highbit]; - return "<n/a>"; + str = xfer_mode_str[highbit]; + + highbit = fls(xfer_mask & ATA_MASK_PIO) - 1; + if (highbit >= 0 && highbit < ARRAY_SIZE(xfer_mode_str)) + pio_str = xfer_mode_str[highbit]; + + if (str != pio_str) + snprintf(buf, ATA_MODE_STRING_MAX, "%s:%s", str, pio_str); + else + snprintf(buf, ATA_MODE_STRING_MAX, "%s", str); + + return buf; } static const char *sata_spd_string(unsigned int spd) @@ -1389,7 +1407,7 @@ int ata_dev_configure(struct ata_device { struct ata_port *ap = dev->ap; const u16 *id = dev->id; - unsigned int xfer_mask; + char xfer_buf[ATA_MODE_STRING_MAX]; char revbuf[7]; /* XYZ-99\0 */ int rc; @@ -1427,7 +1445,7 @@ int ata_dev_configure(struct ata_device */ /* find max transfer mode; for printk only */ - xfer_mask = ata_id_xfermask(id); + ata_mode_string(ata_id_xfermask(id), xfer_buf); if (ata_msg_probe(ap)) ata_dump_id(id); @@ -1463,8 +1481,7 @@ int ata_dev_configure(struct ata_device if (ata_msg_drv(ap) && print_info) ata_dev_printk(dev, KERN_INFO, "%s, " "max %s, %Lu sectors: %s %s\n", - revbuf, - ata_mode_string(xfer_mask), + revbuf, xfer_buf, (unsigned long long)dev->n_sectors, lba_desc, ncq_desc); } else { @@ -1486,8 +1503,7 @@ int ata_dev_configure(struct ata_device if (ata_msg_drv(ap) && print_info) ata_dev_printk(dev, KERN_INFO, "%s, " "max %s, %Lu sectors: CHS %u/%u/%u\n", - revbuf, - ata_mode_string(xfer_mask), + revbuf, xfer_buf, (unsigned long long)dev->n_sectors, dev->cylinders, dev->heads, dev->sectors); @@ -1526,8 +1542,7 @@ int ata_dev_configure(struct ata_device /* print device info to dmesg */ if (ata_msg_drv(ap) && print_info) ata_dev_printk(dev, KERN_INFO, "ATAPI, max %s%s\n", - ata_mode_string(xfer_mask), - cdb_intr_string); + xfer_buf, cdb_intr_string); } if (dev->horkage & ATA_HORKAGE_DIAGNOSTIC) { @@ -2121,6 +2136,7 @@ int ata_timing_compute(struct ata_device int ata_down_xfermask_limit(struct ata_device *dev, int force_pio0) { unsigned long xfer_mask; + char xfer_buf[ATA_MODE_STRING_MAX]; int highbit; xfer_mask = ata_pack_xfermask(dev->pio_mask, dev->mwdma_mask, @@ -2143,7 +2159,7 @@ int ata_down_xfermask_limit(struct ata_d &dev->udma_mask); ata_dev_printk(dev, KERN_WARNING, "limiting speed to %s\n", - ata_mode_string(xfer_mask)); + ata_mode_string(xfer_mask, xfer_buf)); return 0; @@ -2154,6 +2170,7 @@ int ata_down_xfermask_limit(struct ata_d static int ata_dev_set_mode(struct ata_device *dev) { unsigned int err_mask; + char xfer_buf[ATA_MODE_STRING_MAX]; int rc; dev->flags &= ~ATA_DFLAG_PIO; @@ -2174,8 +2191,10 @@ static int ata_dev_set_mode(struct ata_d DPRINTK("xfer_shift=%u, xfer_mode=0x%x\n", dev->xfer_shift, (int)dev->xfer_mode); - ata_dev_printk(dev, KERN_INFO, "configured for %s\n", - ata_mode_string(ata_xfer_mode2mask(dev->xfer_mode))); + ata_mode_string(ata_xfer_mode2mask(dev->xfer_mode) | + ata_xfer_mode2mask(dev->pio_mode), xfer_buf); + ata_dev_printk(dev, KERN_INFO, "configured for %s\n", xfer_buf); + return 0; } @@ -2227,6 +2246,9 @@ int ata_set_mode(struct ata_port *ap, st pio_mask = ata_pack_xfermask(dev->pio_mask, 0, 0); dma_mask = ata_pack_xfermask(0, dev->mwdma_mask, dev->udma_mask); dev->pio_mode = ata_xfer_mask2mode(pio_mask); + /* XXX - debug */ + if (dev->pio_mode) + dev->pio_mode = XFER_PIO_0; dev->dma_mode = ata_xfer_mask2mode(dma_mask); found = 1; @@ -3109,6 +3131,7 @@ static void ata_dev_xfermask(struct ata_ struct ata_port *ap = dev->ap; struct ata_host *host = ap->host; unsigned long xfer_mask; + int i; /* controller modes available */ xfer_mask = ata_pack_xfermask(ap->pio_mask, @@ -3120,10 +3143,27 @@ static void ata_dev_xfermask(struct ata_ if (ap->cbl == ATA_CBL_PATA40) xfer_mask &= ~(0xF8 << ATA_SHIFT_UDMA); + /* apply xfermask limits of this device */ xfer_mask &= ata_pack_xfermask(dev->pio_mask, dev->mwdma_mask, dev->udma_mask); xfer_mask &= ata_id_xfermask(dev->id); + /* PIO xfermask limits are shared by all devices on the same + * channel to avoid violating device selection timing. + */ + for (i = 0; i < ATA_MAX_DEVICES; i++) { + struct ata_device *d = &ap->device[i]; + unsigned int pio_mask; + + if (ata_dev_absent(d)) + continue; + + ata_unpack_xfermask(ata_id_xfermask(d->id), + &pio_mask, NULL, NULL); + pio_mask &= d->pio_mask; + xfer_mask &= ata_pack_xfermask(pio_mask, UINT_MAX, UINT_MAX); + } + /* * CFA Advanced TrueIDE timings are not allowed on a shared * cable @@ -5479,7 +5519,7 @@ int ata_device_add(const struct ata_prob /* register each port bound to this device */ for (i = 0; i < host->n_ports; i++) { struct ata_port *ap; - unsigned long xfer_mode_mask; + char xfer_buf[ATA_MODE_STRING_MAX]; int irq_line = ent->irq; ap = ata_port_add(ent, host, i); @@ -5506,18 +5546,16 @@ int ata_device_add(const struct ata_prob if (i == 1 && ent->irq2) irq_line = ent->irq2; - xfer_mode_mask =(ap->udma_mask << ATA_SHIFT_UDMA) | - (ap->mwdma_mask << ATA_SHIFT_MWDMA) | - (ap->pio_mask << ATA_SHIFT_PIO); + ata_mode_string(ap->udma_mask << ATA_SHIFT_UDMA | + ap->mwdma_mask << ATA_SHIFT_MWDMA | + ap->pio_mask << ATA_SHIFT_PIO, xfer_buf); /* print per-port info to dmesg */ ata_port_printk(ap, KERN_INFO, "%cATA max %s cmd 0x%lX " "ctl 0x%lX bmdma 0x%lX irq %d\n", ap->flags & ATA_FLAG_SATA ? 'S' : 'P', - ata_mode_string(xfer_mode_mask), - ap->ioaddr.cmd_addr, - ap->ioaddr.ctl_addr, - ap->ioaddr.bmdma_addr, + xfer_buf, ap->ioaddr.cmd_addr, + ap->ioaddr.ctl_addr, ap->ioaddr.bmdma_addr, irq_line); ata_chk_status(ap); Index: work/drivers/ata/libata-sff.c =================================================================== --- work.orig/drivers/ata/libata-sff.c 2007-01-03 12:33:36.000000000 +0900 +++ work/drivers/ata/libata-sff.c 2007-01-03 12:36:19.000000000 +0900 @@ -662,6 +662,7 @@ void ata_bmdma_stop(struct ata_queued_cm */ void ata_bmdma_freeze(struct ata_port *ap) { +#if 0 struct ata_ioports *ioaddr = &ap->ioaddr; ap->ctl |= ATA_NIEN; @@ -671,6 +672,7 @@ void ata_bmdma_freeze(struct ata_port *a writeb(ap->ctl, (void __iomem *)ioaddr->ctl_addr); else outb(ap->ctl, ioaddr->ctl_addr); +#endif } /** ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ICH7m problem using libata 2007-01-03 3:44 ` Tejun Heo @ 2007-01-09 22:17 ` Matthew Stapleton 2007-01-15 5:20 ` Tejun Heo 0 siblings, 1 reply; 18+ messages in thread From: Matthew Stapleton @ 2007-01-09 22:17 UTC (permalink / raw) To: Tejun Heo; +Cc: linux-ide [-- Attachment #1: Type: text/plain, Size: 165 bytes --] Tejun Heo wrote: > Can you try the attached patch over 2.6.19 and report full dmesg? Thanks. > > -- > tejun > Attached is my full dmesg. -- Matthew Stapleton [-- Attachment #2: dmesg.log --] [-- Type: text/x-log, Size: 22343 bytes --] Linux version 2.6.19-gentoo-r3 (root@gentoomatt) (gcc version 4.1.1 (Gentoo 4.1.1-r3)) #1 SMP PREEMPT Sun Jan 7 14:13:35 EST 2007 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009f800 (usable) BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003fe90000 (usable) BIOS-e820: 000000003fe90000 - 000000003ff00000 (ACPI NVS) BIOS-e820: 000000003ff00000 - 0000000040000000 (reserved) BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved) BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) BIOS-e820: 00000000fed00000 - 00000000fed00400 (reserved) BIOS-e820: 00000000fed14000 - 00000000fed1a000 (reserved) BIOS-e820: 00000000fed1c000 - 00000000fed90000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved) 126MB HIGHMEM available. 896MB LOWMEM available. found SMP MP-table at 000f5ca0 Entering add_active_range(0, 0, 261776) 0 entries of 256 used Zone PFN ranges: DMA 0 -> 4096 Normal 4096 -> 229376 HighMem 229376 -> 261776 early_node_map[1] active PFN ranges 0: 0 -> 261776 On node 0 totalpages: 261776 DMA zone: 32 pages used for memmap DMA zone: 0 pages reserved DMA zone: 4064 pages, LIFO batch:0 Normal zone: 1760 pages used for memmap Normal zone: 223520 pages, LIFO batch:31 HighMem zone: 253 pages used for memmap HighMem zone: 32147 pages, LIFO batch:7 DMI present. ACPI: RSDP (v000 PTLTD ) @ 0x000f5b00 ACPI: RSDT (v001 PTLTD RSDT 0x06040000 LTP 0x00000000) @ 0x3fe95118 ACPI: FADT (v001 INTEL CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x3fe9ddee ACPI: MADT (v001 INTEL CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x3fe9de62 ACPI: HPET (v001 INTEL CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x3fe9deca ACPI: MCFG (v001 INTEL CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x3fe9df02 ACPI: TCPA (v001 PTLTD CALISTGA 0x06040000 PTL 0x00000001) @ 0x3fe9df3e ACPI: MADT (v001 PTLTD APIC 0x06040000 LTP 0x00000000) @ 0x3fe9df70 ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06040000 LTP 0x00000001) @ 0x3fe9dfd8 ACPI: SSDT (v001 SataRe SataPri 0x00001000 INTL 0x20050624) @ 0x3fe96862 ACPI: SSDT (v001 SataRe SataSec 0x00001000 INTL 0x20050624) @ 0x3fe961d0 ACPI: SSDT (v001 PmRef Cpu0Tst 0x00003000 INTL 0x20050624) @ 0x3fe956f8 ACPI: SSDT (v001 PmRef Cpu1Tst 0x00003000 INTL 0x20050624) @ 0x3fe95652 ACPI: SSDT (v001 PmRef CpuPm 0x00003000 INTL 0x20050624) @ 0x3fe9516c ACPI: DSDT (v001 INTEL CALISTGA 0x06040000 MSFT 0x0100000e) @ 0x00000000 ACPI: PM-Timer IO Port: 0x1008 ACPI: Local APIC address 0xfee00000 ACPI: 2 duplicate APIC table ignored. ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 6:14 APIC version 20 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) Processor #1 6:14 APIC version 20 ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23 ACPI: IOAPIC (id[0x02] address[0xfec28000] gsi_base[24]) IOAPIC[1]: apic_id 2, version 255, address 0xfec28000, GSI 24-279 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Enabling APIC mode: Flat. Using 2 I/O APICs ACPI: HPET id: 0x8086a201 base: 0xfed00000 Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at 50000000 (gap: 40000000:a0000000) Detected 1995.271 MHz processor. Built 1 zonelists. Total pages: 259731 Kernel command line: root=/dev/sda6 reboot=warm ro video=vesafb:ywrap,pmipal,1440x900-8 quiet resume=/dev/sda5 nmi_watchdog=1 mapped APIC to ffffd000 (fee00000) mapped IOAPIC to ffffc000 (fec00000) mapped IOAPIC to ffffb000 (fec28000) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 16384 bytes) Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1034084k/1047104k available (2145k kernel code, 12464k reserved, 786k data, 180k init, 129600k highmem) virtual kernel memory layout: fixmap : 0xfff4f000 - 0xfffff000 ( 704 kB) pkmap : 0xff800000 - 0xffc00000 (4096 kB) vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB) lowmem : 0xc0000000 - 0xf8000000 ( 896 MB) .init : 0xc03e4000 - 0xc0411000 ( 180 kB) .data : 0xc0318610 - 0xc03dd1b4 ( 786 kB) .text : 0xc0100000 - 0xc0318610 (2145 kB) Checking if this processor honours the WP bit even in supervisor mode... Ok. hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 hpet0: 3 64-bit timers, 14318180 Hz Using HPET for base-timer Calibrating delay using timer specific routine.. 3994.42 BogoMIPS (lpj=1997211) Mount-cache hash table entries: 512 CPU: After generic identify, caps: bfe9fbff 00100000 00000000 00000000 0000c1a9 00000000 00000000 monitor/mwait feature present. using mwait in idle threads. CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 2048K CPU: Physical Processor ID: 0 CPU: Processor Core ID: 0 CPU: After all inits, caps: bfe9fbff 00100000 00000000 00000940 0000c1a9 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code ACPI: Core revision 20060707 CPU0: Intel Genuine Intel(R) CPU T2500 @ 2.00GHz stepping 08 SMP alternatives: switching to SMP code Booting processor 1/1 eip 3000 Initializing CPU#1 Calibrating delay using timer specific routine.. 3990.48 BogoMIPS (lpj=1995242) CPU: After generic identify, caps: bfe9fbff 00100000 00000000 00000000 0000c1a9 00000000 00000000 monitor/mwait feature present. CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 2048K CPU: Physical Processor ID: 0 CPU: Processor Core ID: 1 CPU: After all inits, caps: bfe9fbff 00100000 00000000 00000940 0000c1a9 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#1. CPU1: Intel Genuine Intel(R) CPU T2500 @ 2.00GHz stepping 08 Total of 2 processors activated (7984.90 BogoMIPS). ENABLING IO-APIC IRQs ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 checking TSC synchronization across 2 CPUs: passed. Brought up 2 CPUs migration_cost=48 NET: Registered protocol family 16 ACPI: bus type pci registered PCI: Using MMCONFIG Setting up standard PCI resources ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) PCI quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO PCI quirk: region 1180-11bf claimed by ICH6 GPIO PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.2 Boot video device is 0000:01:00.0 PCI: Transparent bridge - 0000:00:1e.0 PCI: Bus #0b (-#0e) is hidden behind transparent bridge #0a (-#0a) (try 'pci=assign-busses') Please report the result to linux-kernel to fix this permanently ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEGP._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP03._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP04._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 10 *11) ACPI: PCI Interrupt Link [LNKB] (IRQs 10 *11) ACPI: PCI Interrupt Link [LNKC] (IRQs *10 11) ACPI: PCI Interrupt Link [LNKD] (IRQs *10 11) ACPI: PCI Interrupt Link [LNKE] (IRQs 10 11) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 10 11) *0, disabled. ACPI: PCI Interrupt Link [LNKG] (IRQs *10 11) ACPI: PCI Interrupt Link [LNKH] (IRQs 10 *11) Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnP ACPI: found 11 devices SCSI subsystem initialized libata version 2.00 loaded. PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report pnp: 00:07: ioport range 0x6a0-0x6af has been reserved pnp: 00:07: ioport range 0x6b0-0x6ff has been reserved PCI: Failed to allocate mem resource #6:20000@c0000000 for 0000:01:00.0 PCI: Bridge: 0000:00:01.0 IO window: disabled. MEM window: d0000000-d1ffffff PREFETCH window: b0000000-bfffffff PCI: Bridge: 0000:00:1c.0 IO window: 2000-2fff MEM window: c8000000-c9ffffff PREFETCH window: c0000000-c1ffffff PCI: Bridge: 0000:00:1c.1 IO window: 3000-3fff MEM window: ca000000-cbffffff PREFETCH window: c2000000-c3ffffff PCI: Bridge: 0000:00:1c.2 IO window: 4000-4fff MEM window: cc000000-cdffffff PREFETCH window: c4000000-c5ffffff PCI: Bridge: 0000:00:1c.3 IO window: 5000-5fff MEM window: ce000000-cfffffff PREFETCH window: c6000000-c7ffffff PCI: Bus 11, cardbus bridge: 0000:0a:06.0 IO window: 00006000-000060ff IO window: 00006400-000064ff PREFETCH window: 50000000-51ffffff MEM window: 52000000-53ffffff PCI: Bridge: 0000:00:1e.0 IO window: 6000-6fff MEM window: d2000000-d20fffff PREFETCH window: 50000000-51ffffff ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:01.0 to 64 ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 17 PCI: Setting latency timer of device 0000:00:1c.0 to 64 ACPI: PCI Interrupt 0000:00:1c.1[B] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:1c.1 to 64 ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:00:1c.2 to 64 ACPI: PCI Interrupt 0000:00:1c.3[D] -> GSI 19 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1c.3 to 64 PCI: Enabling device 0000:00:1e.0 (0104 -> 0107) PCI: Setting latency timer of device 0000:00:1e.0 to 64 ACPI: PCI Interrupt 0000:0a:06.0[A] -> GSI 22 (level, low) -> IRQ 20 NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 8, 1572864 bytes) TCP bind hash table entries: 65536 (order: 7, 786432 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered Simple Boot Flag at 0x36 set to 0x1 Machine check exception polling timer started. highmem bounce pool size: 64 pages VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) PCI: Setting latency timer of device 0000:00:01.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:01.0:pcie00] Allocate Port Service[0000:00:01.0:pcie03] PCI: Setting latency timer of device 0000:00:1c.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.0:pcie00] Allocate Port Service[0000:00:1c.0:pcie02] Allocate Port Service[0000:00:1c.0:pcie03] PCI: Setting latency timer of device 0000:00:1c.1 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.1:pcie00] Allocate Port Service[0000:00:1c.1:pcie02] Allocate Port Service[0000:00:1c.1:pcie03] PCI: Setting latency timer of device 0000:00:1c.2 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.2:pcie00] Allocate Port Service[0000:00:1c.2:pcie02] Allocate Port Service[0000:00:1c.2:pcie03] PCI: Setting latency timer of device 0000:00:1c.3 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.3:pcie00] Allocate Port Service[0000:00:1c.3:pcie02] Allocate Port Service[0000:00:1c.3:pcie03] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 pciehp: HPC vendor_id 8086 device_id 27d0 ss_vid 0 ss_did 0 Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005 pciehp: Cannot get control of hotplug hardware for pci 0000:00:1c.0 pciehp: HPC vendor_id 8086 device_id 27d2 ss_vid 0 ss_did 0 Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005 pciehp: Cannot get control of hotplug hardware for pci 0000:00:1c.1 pciehp: HPC vendor_id 8086 device_id 27d4 ss_vid 0 ss_did 0 Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005 pciehp: Cannot get control of hotplug hardware for pci 0000:00:1c.2 pciehp: HPC vendor_id 8086 device_id 27d6 ss_vid 0 ss_did 0 Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005 pciehp: Cannot get control of hotplug hardware for pci 0000:00:1c.3 pciehp: PCI Express Hot Plug Controller Driver version: 0.4 Real Time Clock Driver v1.12ac iTCO_wdt: Intel TCO WatchDog Timer Driver v1.00 (08-Oct-2006) iTCO_wdt: failed to reset NO_REBOOT flag, reboot disabled by hardware iTCO_wdt: No card detected vesafb: NVIDIA Corporation, G72 Board - e463h0v , Chip Rev (OEM: NVIDIA) vesafb: VBE version: 3.0 vesafb: protected mode interface info at c000:d5d0 vesafb: pmi: set display start = c00cd606, set palette = c00cd670 vesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da vesafb: VBIOS/hardware doesn't support DDC transfers vesafb: no monitor limits have been set vesafb: scrolling: ywrap using protected mode interface, yres_virtual=6144 Console: switching to colour frame buffer device 128x48 vesafb: framebuffer at 0xb0000000, mapped to 0xf8880000, using 6144k, total 131072k fb0: VESA VGA frame buffer device ACPI: AC Adapter [ADP1] (on-line) ACPI: Battery Slot [BAT0] (battery present) ACPI: Power Button (FF) [PWRF] ACPI: Lid Switch [LID0] ACPI: Sleep Button (CM) [SLPB] ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu0Ist] [20060707] ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu0Cst] [20060707] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3]) ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu1Ist] [20060707] ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu1Cst] [20060707] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3]) ACPI: Thermal Zone [TZS0] (39 C) ACPI: Thermal Zone [TZS1] (50 C) RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize ata_piix 0000:00:1f.2: version 2.00ac6 ata_piix 0000:00:1f.2: MAP [ IDE IDE P1 P3 ] ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1f.2 to 64 ata1: PATA max UDMA/100:PIO4 cmd 0x1F0 ctl 0x3F6 bmdma 0x18B0 irq 14 ata2: SATA max UDMA/133:PIO4 cmd 0x170 ctl 0x376 bmdma 0x18B8 irq 15 scsi0 : ata_piix ata1.00: ATA-7, max UDMA/100:PIO4, 234441648 sectors: LBA48 ata1.00: ata1: dev 0 multi count 16 ata1.01: ATAPI, max UDMA/33:PIO4 ata1.00: configured for UDMA/100:PIO0 ata1.01: configured for UDMA/33:PIO0 scsi1 : ata_piix ATA: abnormal status 0x7F on port 0x177 scsi 0:0:0:0: Direct-Access ATA WDC WD1200UE-22K 01.0 PQ: 0 ANSI: 5 SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back SCSI device sda: 234441648 512-byte hdwr sectors (120034 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 > sd 0:0:0:0: Attached scsi disk sda scsi 0:0:1:0: CD-ROM TSSTcorp CD/DVDW TS-L632D ac00 PQ: 0 ANSI: 5 PNP: PS/2 Controller [PNP0303:KBD0,PNP0f13:PS2M] at 0x60,0x64 irq 1,12 i8042.c: Detected active multiplexing controller, rev 1.1. serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX0 port at 0x60,0x64 irq 12 serio: i8042 AUX1 port at 0x60,0x64 irq 12 serio: i8042 AUX2 port at 0x60,0x64 irq 12 serio: i8042 AUX3 port at 0x60,0x64 irq 12 mice: PS/2 mouse device common for all mice input: PC Speaker as /class/input/input0 device-mapper: ioctl: 4.10.0-ioctl (2006-09-14) initialised: dm-devel@redhat.com TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 10 lo: Disabled Privacy Extensions IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 Testing NMI watchdog ... <6>input: AT Translated Set 2 keyboard as /class/input/input1 OK. Starting balanced_irq Using IPI No-Shortcut mode ACPI: (supports S0 S3 S4 S5) Time: tsc clocksource has been installed. Time: hpet clocksource has been installed. kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 180k freed Linux agpgart interface v0.101 (c) Dave Jones Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx agpgart: Detected an Intel 945GM Chipset. agpgart: AGP aperture is 256M @ 0x0 ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 19 (level, low) -> IRQ 19 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 20 PCI: Setting latency timer of device 0000:00:1b.0 to 64 USB Universal Host Controller Interface driver v3.0 ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 21 PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: EHCI Host Controller ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:1d.7: debug port 1 PCI: cache line size of 32 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: irq 21, io mem 0xd2304000 ehci_hcd 0000:00:1d.7: 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 ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 21 PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: UHCI Host Controller uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1d.0: irq 21, io base 0x00001800 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:1d.1: irq 19, io base 0x00001820 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:00:1d.2 to 64 uhci_hcd 0000:00:1d.2: UHCI Host Controller uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:1d.2: irq 18, io base 0x00001840 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:1d.3[D] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:1d.3 to 64 uhci_hcd 0000:00:1d.3: UHCI Host Controller uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5 uhci_hcd 0000:00:1d.3: irq 16, io base 0x00001860 usb usb5: configuration #1 chosen from 1 choice hub 5-0:1.0: USB hub found hub 5-0:1.0: 2 ports detected usb 1-7: new high speed USB device using ehci_hcd and address 3 usb 1-7: configuration #1 chosen from 1 choice Synaptics Touchpad, model: 1, fw: 6.2, id: 0x12a0b1, caps: 0xa04713/0x204000 input: SynPS/2 Synaptics TouchPad as /class/input/input2 psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1 usb 4-2: new low speed USB device using uhci_hcd and address 2 usb 4-2: configuration #1 chosen from 1 choice Yenta: CardBus bridge found at 0000:0a:06.0 [1025:0107] Yenta: Using CSCINT to route CSC interrupts to PCI Yenta: Routing CardBus interrupts to PCI Yenta TI: socket 0000:0a:06.0, mfunc 0x01aa1b22, devctl 0x64 Yenta: ISA IRQ mask 0x0cf8, PCI irq 20 Socket status: 30000006 Yenta: Raising subordinate bus# of parent bus (#0a) from #0a to #0e pcmcia: parent PCI bridge I/O window: 0x6000 - 0x6fff pcmcia: parent PCI bridge Memory window: 0xd2000000 - 0xd20fffff pcmcia: parent PCI bridge Memory window: 0x50000000 - 0x51ffffff r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:02:00.0 to 64 eth0: RTL8168b/8111b at 0xf8e9c000, 00:16:d3:45:f8:ca, IRQ 16 ACPI: PCI Interrupt 0000:0a:06.2[A] -> GSI 22 (level, low) -> IRQ 20 nvidia: module license 'NVIDIA' taints kernel. sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.20 sr 0:0:1:0: Attached scsi CD-ROM sr0 ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:01:00.0 to 64 NVRM: loading NVIDIA Linux x86 Kernel Module 1.0-9631 Thu Nov 9 17:38:10 PST 2006 usbcore: registered new interface driver hiddev input: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM) as /class/input/input3 input: USB HID v1.10 Mouse [Microsoft Microsoft 5-Button Mouse with IntelliEye(TM)] on usb-0000:00:1d.2-2 usbcore: registered new interface driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver EXT3 FS on sda6, internal journal tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> loop: loaded (max 8 devices) wistron_btns: BIOS signature found at c00f5b90, entry point 000FDD40 input: Wistron laptop buttons as /class/input/input4 wistron_btns: wifi probe returned: 0x0020 wistron_btns: bluetooth probe returned: 0x9601 ReiserFS: loop0: found reiserfs format "3.6" with standard journal ReiserFS: loop0: using ordered data mode ReiserFS: loop0: journal params: device loop0, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 ReiserFS: loop0: checking transaction log (loop0) ReiserFS: loop0: Using r5 hash to sort names Adding 1052216k swap on /dev/sda5. Priority:-1 extents:1 across:1052216k ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ICH7m problem using libata 2007-01-09 22:17 ` Matthew Stapleton @ 2007-01-15 5:20 ` Tejun Heo 2007-01-15 23:58 ` Matthew Stapleton 0 siblings, 1 reply; 18+ messages in thread From: Tejun Heo @ 2007-01-15 5:20 UTC (permalink / raw) To: Matthew Stapleton; +Cc: linux-ide Matthew Stapleton wrote: > Tejun Heo wrote: >> Can you try the attached patch over 2.6.19 and report full dmesg? Thanks. >> >> -- >> tejun >> > > Attached is my full dmesg. Does the problem still persist? -- tejun ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ICH7m problem using libata 2007-01-15 5:20 ` Tejun Heo @ 2007-01-15 23:58 ` Matthew Stapleton 2007-01-16 8:56 ` Tejun Heo 0 siblings, 1 reply; 18+ messages in thread From: Matthew Stapleton @ 2007-01-15 23:58 UTC (permalink / raw) To: Tejun Heo; +Cc: linux-ide Tejun Heo wrote: > Does the problem still persist? > > -- > tejun > With that kernel and the previous patches it does. I'll try kernel 2.6.20-rc5 and the which-cocktail-2.6.19.patch -- Matthew Stapleton ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ICH7m problem using libata 2007-01-15 23:58 ` Matthew Stapleton @ 2007-01-16 8:56 ` Tejun Heo 2007-01-16 11:31 ` Jan Gutter 0 siblings, 1 reply; 18+ messages in thread From: Tejun Heo @ 2007-01-16 8:56 UTC (permalink / raw) To: Matthew Stapleton; +Cc: linux-ide Matthew Stapleton wrote: > Tejun Heo wrote: >> Does the problem still persist? >> > With that kernel and the previous patches it does. I'll try kernel 2.6.20-rc5 > and the which-cocktail-2.6.19.patch I got confused between your report and Jan's. Yours (not so sure about Jan's) seems to be drive firmware bug which hald was successful to undiscover. Does hald clear CDO_USE_FFLAGS using ioctl CDROM_CLEAR_OPTIONS? The failed commands seem to be from cdrom open_for_data(). Considering general quality of ATAPI devices, I wouldn't be too surprised if some device fails after hours of repeated poll sequence containing READ_TOC and ALLOW_MEDIUM_REMOVAL. I think it's best to contact hal people about your issue. If/when you contact hal people, please cc me. Thanks. -- tejun ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ICH7m problem using libata 2007-01-16 8:56 ` Tejun Heo @ 2007-01-16 11:31 ` Jan Gutter 2007-01-16 11:42 ` Tejun Heo 0 siblings, 1 reply; 18+ messages in thread From: Jan Gutter @ 2007-01-16 11:31 UTC (permalink / raw) To: Tejun Heo; +Cc: Matthew Stapleton, linux-ide [-- Attachment #1: Type: text/plain, Size: 1283 bytes --] On Tue, 2007-01-16 at 17:56 +0900, Tejun Heo wrote: > Matthew Stapleton wrote: > > Tejun Heo wrote: > >> Does the problem still persist? Sorry for the delayed reply: Holidays attacked before I could apply the patch. > I got confused between your report and Jan's. Yours (not so sure about > Jan's) seems to be drive firmware bug which hald was successful to > undiscover. Does hald clear CDO_USE_FFLAGS using ioctl > CDROM_CLEAR_OPTIONS? The failed commands seem to be from cdrom > open_for_data(). Considering general quality of ATAPI devices, I > wouldn't be too surprised if some device fails after hours of repeated > poll sequence containing READ_TOC and ALLOW_MEDIUM_REMOVAL. Hmmm. I think I might have slightly different symptoms: Heavy disk use definitely causes the bug to appear more frequently. Compiling often causes it to kick in after about 15 minutes. I also get slightly different error messages. With the latest patch set (2.6.19-gentoo-r4 + cocktail) the resets still occur, but at least the drive doesn't go down to PIO so soon anymore. I'll keep watching it for the rest of the day. Attached dmesg of the first hour or so. (If Evolution borks this mail, I'll resort to telnet and SMTP ;-) Thanks for the feedback, and hope the sucker gets nailed. Jan [-- Attachment #2: cocktail-2.6.19-dmesg.txt --] [-- Type: text/plain, Size: 24833 bytes --] Linux version 2.6.19-gentoo-r4 (root@wookie) (gcc version 4.1.1 (Gentoo 4.1.1-r3)) #1 SMP PREEMPT Tue Jan 16 12:05:48 SAST 2007 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009f800 (usable) BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003fe90000 (usable) BIOS-e820: 000000003fe90000 - 000000003ff00000 (ACPI NVS) BIOS-e820: 000000003ff00000 - 0000000040000000 (reserved) BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved) BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) BIOS-e820: 00000000fed00000 - 00000000fed00400 (reserved) BIOS-e820: 00000000fed14000 - 00000000fed1a000 (reserved) BIOS-e820: 00000000fed1c000 - 00000000fed90000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved) 126MB HIGHMEM available. 896MB LOWMEM available. found SMP MP-table at 000f5c80 Entering add_active_range(0, 0, 261776) 0 entries of 256 used Zone PFN ranges: DMA 0 -> 4096 Normal 4096 -> 229376 HighMem 229376 -> 261776 early_node_map[1] active PFN ranges 0: 0 -> 261776 On node 0 totalpages: 261776 DMA zone: 32 pages used for memmap DMA zone: 0 pages reserved DMA zone: 4064 pages, LIFO batch:0 Normal zone: 1760 pages used for memmap Normal zone: 223520 pages, LIFO batch:31 HighMem zone: 253 pages used for memmap HighMem zone: 32147 pages, LIFO batch:7 DMI present. ACPI: RSDP (v000 PTLTD ) @ 0x000f5ae0 ACPI: RSDT (v001 PTLTD RSDT 0x06040000 LTP 0x00000000) @ 0x3fe9515a ACPI: FADT (v001 INTEL CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x3fe9ddee ACPI: MADT (v001 INTEL CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x3fe9de62 ACPI: HPET (v001 INTEL CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x3fe9deca ACPI: MCFG (v001 INTEL CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x3fe9df02 ACPI: TCPA (v001 PTLTD CALISTGA 0x06040000 PTL 0x00000001) @ 0x3fe9df3e ACPI: MADT (v001 PTLTD APIC 0x06040000 LTP 0x00000000) @ 0x3fe9df70 ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06040000 LTP 0x00000001) @ 0x3fe9dfd8 ACPI: SSDT (v001 SataRe SataPri 0x00001000 INTL 0x20050624) @ 0x3fe96862 ACPI: SSDT (v001 SataRe SataSec 0x00001000 INTL 0x20050624) @ 0x3fe961d0 ACPI: SSDT (v001 PmRef Cpu0Tst 0x00003000 INTL 0x20050624) @ 0x3fe9573a ACPI: SSDT (v001 PmRef Cpu1Tst 0x00003000 INTL 0x20050624) @ 0x3fe95694 ACPI: SSDT (v001 PmRef CpuPm 0x00003000 INTL 0x20050624) @ 0x3fe951ae ACPI: DSDT (v001 INTEL CALISTGA 0x06040000 MSFT 0x0100000e) @ 0x00000000 ACPI: PM-Timer IO Port: 0x1008 ACPI: Local APIC address 0xfee00000 ACPI: 2 duplicate APIC table ignored. ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 6:15 APIC version 20 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) Processor #1 6:15 APIC version 20 ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23 ACPI: IOAPIC (id[0x02] address[0xfec28000] gsi_base[24]) IOAPIC[1]: apic_id 2, version 255, address 0xfec28000, GSI 24-279 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Enabling APIC mode: Flat. Using 2 I/O APICs ACPI: HPET id: 0x8086a201 base: 0xfed00000 Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at 50000000 (gap: 40000000:a0000000) Detected 1662.718 MHz processor. Built 1 zonelists. Total pages: 259731 Kernel command line: root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda7 udev video=vesafb:ywrap,1440x900-24@65 combined_mode=libata mapped APIC to ffffd000 (fee00000) mapped IOAPIC to ffffc000 (fec00000) mapped IOAPIC to ffffb000 (fec28000) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 16384 bytes) Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1024416k/1047104k available (2910k kernel code, 21964k reserved, 1419k data, 256k init, 129600k highmem) virtual kernel memory layout: fixmap : 0xfff4f000 - 0xfffff000 ( 704 kB) pkmap : 0xff800000 - 0xffc00000 (4096 kB) vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB) lowmem : 0xc0000000 - 0xf8000000 ( 896 MB) .init : 0xc05a0000 - 0xc05e0000 ( 256 kB) .data : 0xc03d7bb1 - 0xc053aaf4 (1419 kB) .text : 0xc0100000 - 0xc03d7bb1 (2910 kB) Checking if this processor honours the WP bit even in supervisor mode... Ok. hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 hpet0: 3 64-bit timers, 14318180 Hz Using HPET for base-timer Calibrating delay using timer specific routine.. 3328.76 BogoMIPS (lpj=1664383) Mount-cache hash table entries: 512 CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e39d 00000000 00000001 monitor/mwait feature present. using mwait in idle threads. CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 2048K CPU: Physical Processor ID: 0 CPU: Processor Core ID: 0 CPU: After all inits, caps: bfebfbff 20100000 00000000 00000940 0000e39d 00000000 00000001 Compat vDSO mapped to ffffe000. Checking 'hlt' instruction... OK. Freeing SMP alternatives: 16k freed ACPI: Core revision 20060707 CPU0: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz stepping 06 Booting processor 1/1 eip 2000 Initializing CPU#1 Calibrating delay using timer specific routine.. 3325.37 BogoMIPS (lpj=1662688) CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e39d 00000000 00000001 monitor/mwait feature present. CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 2048K CPU: Physical Processor ID: 0 CPU: Processor Core ID: 1 CPU: After all inits, caps: bfebfbff 20100000 00000000 00000940 0000e39d 00000000 00000001 CPU1: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz stepping 06 Total of 2 processors activated (6654.14 BogoMIPS). ENABLING IO-APIC IRQs ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 checking TSC synchronization across 2 CPUs: passed. Brought up 2 CPUs migration_cost=44 checking if image is initramfs... it is Freeing initrd memory: 7411k freed NET: Registered protocol family 16 ACPI: bus type pci registered PCI: Using MMCONFIG Setting up standard PCI resources ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) PCI quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO PCI quirk: region 1180-11bf claimed by ICH6 GPIO PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.2 Boot video device is 0000:01:00.0 PCI: Transparent bridge - 0000:00:1e.0 PCI: Bus #0b (-#0e) is hidden behind transparent bridge #0a (-#0a) (try 'pci=assign-busses') Please report the result to linux-kernel to fix this permanently ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEGP._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP03._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP04._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 10 *11) ACPI: PCI Interrupt Link [LNKB] (IRQs 10 *11) ACPI: PCI Interrupt Link [LNKC] (IRQs *10 11) ACPI: PCI Interrupt Link [LNKD] (IRQs *10 11) ACPI: PCI Interrupt Link [LNKE] (IRQs 10 11) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 10 11) *0, disabled. ACPI: PCI Interrupt Link [LNKG] (IRQs *10 11) ACPI: PCI Interrupt Link [LNKH] (IRQs 10 *11) Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnP ACPI: found 11 devices SCSI subsystem initialized libata version 2.00 loaded. PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report pnp: 00:07: ioport range 0x6a0-0x6af has been reserved pnp: 00:07: ioport range 0x6b0-0x6ff has been reserved PCI: Failed to allocate mem resource #6:20000@c0000000 for 0000:01:00.0 PCI: Bridge: 0000:00:01.0 IO window: disabled. MEM window: d0000000-d1ffffff PREFETCH window: b0000000-bfffffff PCI: Bridge: 0000:00:1c.0 IO window: 2000-2fff MEM window: c8000000-c9ffffff PREFETCH window: c0000000-c1ffffff PCI: Bridge: 0000:00:1c.1 IO window: 3000-3fff MEM window: ca000000-cbffffff PREFETCH window: c2000000-c3ffffff PCI: Bridge: 0000:00:1c.2 IO window: 4000-4fff MEM window: cc000000-cdffffff PREFETCH window: c4000000-c5ffffff PCI: Bridge: 0000:00:1c.3 IO window: 5000-5fff MEM window: ce000000-cfffffff PREFETCH window: c6000000-c7ffffff PCI: Bus 11, cardbus bridge: 0000:0a:06.0 IO window: 00006000-000060ff IO window: 00006400-000064ff PREFETCH window: 50000000-51ffffff MEM window: 52000000-53ffffff PCI: Bridge: 0000:00:1e.0 IO window: 6000-6fff MEM window: d2000000-d20fffff PREFETCH window: 50000000-51ffffff ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:01.0 to 64 ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 17 PCI: Setting latency timer of device 0000:00:1c.0 to 64 ACPI: PCI Interrupt 0000:00:1c.1[B] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:1c.1 to 64 ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:00:1c.2 to 64 ACPI: PCI Interrupt 0000:00:1c.3[D] -> GSI 19 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1c.3 to 64 PCI: Enabling device 0000:00:1e.0 (0104 -> 0107) PCI: Setting latency timer of device 0000:00:1e.0 to 64 ACPI: PCI Interrupt 0000:0a:06.0[A] -> GSI 22 (level, low) -> IRQ 20 NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 8, 1572864 bytes) TCP bind hash table entries: 65536 (order: 7, 786432 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered Simple Boot Flag at 0x36 set to 0x1 cpufreq: No nForce2 chipset. IA-32 Microcode Update Driver: v1.14a <tigran@veritas.com> audit: initializing netlink socket (disabled) audit(1168951397.737:1): initialized highmem bounce pool size: 64 pages SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled SGI XFS Quota Management subsystem io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) PCI: Setting latency timer of device 0000:00:01.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:01.0:pcie00] Allocate Port Service[0000:00:01.0:pcie03] PCI: Setting latency timer of device 0000:00:1c.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.0:pcie00] Allocate Port Service[0000:00:1c.0:pcie02] Allocate Port Service[0000:00:1c.0:pcie03] PCI: Setting latency timer of device 0000:00:1c.1 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.1:pcie00] Allocate Port Service[0000:00:1c.1:pcie02] Allocate Port Service[0000:00:1c.1:pcie03] PCI: Setting latency timer of device 0000:00:1c.2 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.2:pcie00] Allocate Port Service[0000:00:1c.2:pcie02] Allocate Port Service[0000:00:1c.2:pcie03] PCI: Setting latency timer of device 0000:00:1c.3 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.3:pcie00] Allocate Port Service[0000:00:1c.3:pcie02] Allocate Port Service[0000:00:1c.3:pcie03] toshiba: not a supported Toshiba laptop vesafb: NVIDIA Corporation, G72 Board - e463h0v , Chip Rev (OEM: NVIDIA) vesafb: VBE version: 3.0 vesafb: protected mode interface info at c000:d4f0 vesafb: pmi: set display start = c00cd526, set palette = c00cd590 vesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da vesafb: VBIOS/hardware doesn't support DDC transfers vesafb: no monitor limits have been set vesafb: scrolling: ywrap using protected mode interface, yres_virtual=1536 Console: switching to colour frame buffer device 128x48 vesafb: framebuffer at 0xb0000000, mapped to 0xf8880000, using 6144k, total 131072k fb0: VESA VGA frame buffer device ACPI: AC Adapter [ADP1] (on-line) ACPI: Battery Slot [BAT0] (battery present) ACPI: Power Button (FF) [PWRF] ACPI: Lid Switch [LID0] ACPI: Sleep Button (CM) [SLPB] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no) ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no) ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu0Ist] [20060707] ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu0Cst] [20060707] Monitor-Mwait will be used to enter C-1 state Monitor-Mwait will be used to enter C-2 state Monitor-Mwait will be used to enter C-3 state ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3]) ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu1Ist] [20060707] ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu1Cst] [20060707] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3]) ACPI: Thermal Zone [TZS0] (48 C) ACPI: Thermal Zone [TZS1] (49 C) ibm_acpi: ec object not found Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize loop: loaded (max 8 devices) ata_piix 0000:00:1f.2: version 2.00ac6 ata_piix 0000:00:1f.2: MAP [ IDE IDE P1 P3 ] ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1f.2 to 64 ata1: PATA max UDMA/100:PIO4 cmd 0x1F0 ctl 0x3F6 bmdma 0x18B0 irq 14 ata2: SATA max UDMA/133:PIO4 cmd 0x170 ctl 0x376 bmdma 0x18B8 irq 15 scsi0 : ata_piix ata1.00: ATA-6, max UDMA/100:PIO4, 234441648 sectors: LBA48 ata1.00: ata1: dev 0 multi count 16 ata1.01: ATAPI, max UDMA/33:PIO4 ata1.00: configured for UDMA/100:PIO0 ata1.01: configured for UDMA/33:PIO0 scsi1 : ata_piix ATA: abnormal status 0x7F on port 0x177 scsi 0:0:0:0: Direct-Access ATA TOSHIBA MK1234GA AC00 PQ: 0 ANSI: 5 SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back SCSI device sda: 234441648 512-byte hdwr sectors (120034 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 > sd 0:0:0:0: Attached scsi disk sda scsi 0:0:1:0: CD-ROM TSSTcorp CD/DVDW TS-L632D ac00 PQ: 0 ANSI: 5 sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.20 sr 0:0:1:0: Attached scsi CD-ROM sr0 PNP: PS/2 Controller [PNP0303:KBD0,PNP0f13:PS2M] at 0x60,0x64 irq 1,12 i8042.c: Detected active multiplexing controller, rev 1.1. serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX0 port at 0x60,0x64 irq 12 serio: i8042 AUX1 port at 0x60,0x64 irq 12 serio: i8042 AUX2 port at 0x60,0x64 irq 12 serio: i8042 AUX3 port at 0x60,0x64 irq 12 mice: PS/2 mouse device common for all mice input: AT Translated Set 2 keyboard as /class/input/input0 dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2) padlock: No VIA PadLock drivers have been loaded. padlock: VIA PadLock not detected. padlock: VIA PadLock Hash Engine not detected. TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Starting balanced_irq Using IPI Shortcut mode Time: tsc clocksource has been installed. Freeing unused kernel memory: 256k freed Time: hpet clocksource has been installed. ata1: soft resetting port usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 21 PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: EHCI Host Controller ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:1d.7: debug port 1 PCI: cache line size of 32 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: irq 21, io mem 0xd2304000 ehci_hcd 0000:00:1d.7: 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 Initializing USB Mass Storage driver... ata1.00: configured for UDMA/100:PIO0 usb 1-7: new high speed USB device using ehci_hcd and address 2 ata1.01: configured for UDMA/33:PIO0 ata1: EH complete SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back usb 1-7: configuration #1 chosen from 1 choice usbcore: registered new interface driver usb-storage USB Mass Storage support registered. USB Universal Host Controller Interface driver v3.0 ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 21 PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: UHCI Host Controller uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1d.0: irq 21, io base 0x00001800 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:1d.1: irq 19, io base 0x00001820 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:00:1d.2 to 64 uhci_hcd 0000:00:1d.2: UHCI Host Controller uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:1d.2: irq 18, io base 0x00001840 usb usb4: configuration #1 chosen from 1 choice hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected Synaptics Touchpad, model: 1, fw: 6.2, id: 0x12a0b1, caps: 0xa04713/0x204000 input: SynPS/2 Synaptics TouchPad as /class/input/input1 psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1 ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:1d.3 to 64 uhci_hcd 0000:00:1d.3: UHCI Host Controller uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5 uhci_hcd 0000:00:1d.3: irq 16, io base 0x00001860 usb usb5: configuration #1 chosen from 1 choice hub 5-0:1.0: USB hub found hub 5-0:1.0: 2 ports detected ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver sl811: driver sl811-hcd, 19 May 2005 ieee1394: Initialized config rom entry `ip1394' ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1) ieee1394: sbp2: Try serialize_io=0 for better performance device-mapper: ioctl: 4.10.0-ioctl (2006-09-14) initialised: dm-devel@redhat.com md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 JFS: nTxBlock = 8065, nTxLock = 64527 Synaptics Touchpad, model: 1, fw: 6.2, id: 0x12a0b1, caps: 0xa04713/0x204000 input: SynPS/2 Synaptics TouchPad as /class/input/input2 kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. input: PC Speaker as /class/input/input3 ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 19 (level, low) -> IRQ 19 ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 20 PCI: Setting latency timer of device 0000:00:1b.0 to 64 ieee80211_crypt: registered algorithm 'NULL' ieee80211: 802.11 data/management/control stack, 1.2.16 ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com> ACPI: PCI Interrupt 0000:0a:06.2[A] -> GSI 22 (level, low) -> IRQ 20 ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:02:00.0 to 64 eth0: Identified chip type is 'RTL8168B/8111B'. eth0: r10001.04, the Linux device driver for Realtek Ethernet Controllers at 0x2000, 00:16:d3:47:66:2e, IRQ 16 ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 1.2.0d ipw3945: Copyright(c) 2003-2006 Intel Corporation sdhci: Secure Digital Host Controller Interface driver, 0.12 sdhci: Copyright(c) Pierre Ossman nvidia: module license 'NVIDIA' taints kernel. Realtek RTL8168/8111 Family PCI-E Gigabit Ethernet Network Adapter Driver version:1.04 Released date:2006/07/07 Link Status:Linked Link Speed:100Mbps Duplex mode:Full-Duplex I/O Base:0x2000(I/O port) IRQ:16 Yenta: CardBus bridge found at 0000:0a:06.0 [1025:0107] Yenta: Using CSCINT to route CSC interrupts to PCI Yenta: Routing CardBus interrupts to PCI Yenta TI: socket 0000:0a:06.0, mfunc 0x01aa1b22, devctl 0x64 Yenta: ISA IRQ mask 0x0cf8, PCI irq 20 Socket status: 30000006 Yenta: Raising subordinate bus# of parent bus (#0a) from #0a to #0e pcmcia: parent PCI bridge I/O window: 0x6000 - 0x6fff pcmcia: parent PCI bridge Memory window: 0xd2000000 - 0xd20fffff pcmcia: parent PCI bridge Memory window: 0x50000000 - 0x51ffffff sdhci: SDHCI controller found at 0000:0a:06.3 [104c:803c] (rev 0) ACPI: PCI Interrupt 0000:0a:06.3[A] -> GSI 22 (level, low) -> IRQ 20 mmc0: SDHCI at 0xd2005800 irq 20 PIO ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:05:00.0 to 64 ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:01:00.0 to 64 NVRM: loading NVIDIA UNIX x86 Kernel Module 1.0-9746 Fri Dec 15 09:54:45 PST 2006 EXT3 FS on sda7, internal journal fuse init (API version 7.8) fuse distribution version: 2.6.1 Adding 2104472k swap on /dev/sda6. Priority:-1 extents:1 across:2104472k Real Time Clock Driver v1.12ac ipw3945: Detected geography ABG (13 802.11bg channels, 23 802.11a channels) ipw3945: Error sending SCAN_ABORT_CMD: time out after 500ms. ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.01: (BMDMA stat 0x60) ata1.01: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout) ata1: port is slow to respond, please be patient (Status 0xd0) ata1: port failed to respond (30 secs, Status 0xd0) ata1: soft resetting port ata1.00: configured for UDMA/100:PIO0 ata1.01: configured for UDMA/33:PIO0 ata1: EH complete SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.01: (BMDMA stat 0x60) ata1.01: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout) ata1: port is slow to respond, please be patient (Status 0xd0) ata1: port failed to respond (30 secs, Status 0xd0) ata1: soft resetting port ata1.00: configured for UDMA/100:PIO0 ata1.01: configured for UDMA/33:PIO0 ata1: EH complete SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.01: (BMDMA stat 0x60) ata1.01: tag 0 cmd 0xa0 Emask 0x4 stat 0x40 err 0x0 (timeout) ata1: port is slow to respond, please be patient (Status 0xd0) ata1: port failed to respond (30 secs, Status 0xd0) ata1: soft resetting port ata1.00: configured for UDMA/100:PIO0 ata1.01: configured for UDMA/33:PIO0 ata1: EH complete SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ICH7m problem using libata 2007-01-16 11:31 ` Jan Gutter @ 2007-01-16 11:42 ` Tejun Heo 2007-01-16 13:53 ` Jan Gutter 0 siblings, 1 reply; 18+ messages in thread From: Tejun Heo @ 2007-01-16 11:42 UTC (permalink / raw) To: Jan Gutter; +Cc: Matthew Stapleton, linux-ide Jan Gutter wrote: > On Tue, 2007-01-16 at 17:56 +0900, Tejun Heo wrote: >> Matthew Stapleton wrote: >>> Tejun Heo wrote: >>>> Does the problem still persist? > > Sorry for the delayed reply: Holidays attacked before I could apply the > patch. > >> I got confused between your report and Jan's. Yours (not so sure about >> Jan's) seems to be drive firmware bug which hald was successful to >> undiscover. Does hald clear CDO_USE_FFLAGS using ioctl >> CDROM_CLEAR_OPTIONS? The failed commands seem to be from cdrom >> open_for_data(). Considering general quality of ATAPI devices, I >> wouldn't be too surprised if some device fails after hours of repeated >> poll sequence containing READ_TOC and ALLOW_MEDIUM_REMOVAL. > > Hmmm. I think I might have slightly different symptoms: Heavy disk use > definitely causes the bug to appear more frequently. Compiling often > causes it to kick in after about 15 minutes. I also get slightly > different error messages. > > With the latest patch set (2.6.19-gentoo-r4 + cocktail) the resets still > occur, but at least the drive doesn't go down to PIO so soon anymore. > I'll keep watching it for the rest of the day. Attached dmesg of the > first hour or so. (If Evolution borks this mail, I'll resort to telnet and > SMTP ;-) > > Thanks for the feedback, and hope the sucker gets nailed. Can you try 2.6.20-rc5? It has better error reporting and will tell us which SCSI command is timing out. -- tejun ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ICH7m problem using libata 2007-01-16 11:42 ` Tejun Heo @ 2007-01-16 13:53 ` Jan Gutter 2007-01-17 5:11 ` Tejun Heo 0 siblings, 1 reply; 18+ messages in thread From: Jan Gutter @ 2007-01-16 13:53 UTC (permalink / raw) To: Tejun Heo; +Cc: Matthew Stapleton, linux-ide [-- Attachment #1: Type: text/plain, Size: 194 bytes --] On Tue, 2007-01-16 at 20:42 +0900, Tejun Heo wrote: > Can you try 2.6.20-rc5? It has better error reporting and will tell us > which SCSI command is timing out. Here you go: attaching dmesg [-- Attachment #2: 2.6.20-rc5-dmesg.txt --] [-- Type: text/plain, Size: 24352 bytes --] Linux version 2.6.20-rc5 (root@wookie) (gcc version 4.1.1 (Gentoo 4.1.1-r3)) #1 SMP PREEMPT Tue Jan 16 14:51:26 SAST 2007 BIOS-provided physical RAM map: sanitize start sanitize end copy_e820_map() start: 0000000000000000 size: 000000000009f800 end: 000000000009f800 type: 1 copy_e820_map() type is E820_RAM copy_e820_map() start: 000000000009f800 size: 0000000000000800 end: 00000000000a0000 type: 2 copy_e820_map() start: 00000000000dc000 size: 0000000000024000 end: 0000000000100000 type: 2 copy_e820_map() start: 0000000000100000 size: 000000003fd90000 end: 000000003fe90000 type: 1 copy_e820_map() type is E820_RAM copy_e820_map() start: 000000003fe90000 size: 0000000000070000 end: 000000003ff00000 type: 4 copy_e820_map() start: 000000003ff00000 size: 0000000000100000 end: 0000000040000000 type: 2 copy_e820_map() start: 00000000e0000000 size: 0000000010000000 end: 00000000f0000000 type: 2 copy_e820_map() start: 00000000fec00000 size: 0000000000010000 end: 00000000fec10000 type: 2 copy_e820_map() start: 00000000fed00000 size: 0000000000000400 end: 00000000fed00400 type: 2 copy_e820_map() start: 00000000fed14000 size: 0000000000006000 end: 00000000fed1a000 type: 2 copy_e820_map() start: 00000000fed1c000 size: 0000000000074000 end: 00000000fed90000 type: 2 copy_e820_map() start: 00000000fee00000 size: 0000000000001000 end: 00000000fee01000 type: 2 copy_e820_map() start: 00000000ff000000 size: 0000000001000000 end: 0000000100000000 type: 2 BIOS-e820: 0000000000000000 - 000000000009f800 (usable) BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003fe90000 (usable) BIOS-e820: 000000003fe90000 - 000000003ff00000 (ACPI NVS) BIOS-e820: 000000003ff00000 - 0000000040000000 (reserved) BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved) BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) BIOS-e820: 00000000fed00000 - 00000000fed00400 (reserved) BIOS-e820: 00000000fed14000 - 00000000fed1a000 (reserved) BIOS-e820: 00000000fed1c000 - 00000000fed90000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved) 126MB HIGHMEM available. 896MB LOWMEM available. found SMP MP-table at 000f5c80 Entering add_active_range(0, 0, 261776) 0 entries of 256 used Zone PFN ranges: DMA 0 -> 4096 Normal 4096 -> 229376 HighMem 229376 -> 261776 early_node_map[1] active PFN ranges 0: 0 -> 261776 On node 0 totalpages: 261776 DMA zone: 32 pages used for memmap DMA zone: 0 pages reserved DMA zone: 4064 pages, LIFO batch:0 Normal zone: 1760 pages used for memmap Normal zone: 223520 pages, LIFO batch:31 HighMem zone: 253 pages used for memmap HighMem zone: 32147 pages, LIFO batch:7 DMI present. ACPI: RSDP (v000 PTLTD ) @ 0x000f5ae0 ACPI: RSDT (v001 PTLTD RSDT 0x06040000 LTP 0x00000000) @ 0x3fe9515a ACPI: FADT (v001 INTEL CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x3fe9ddee ACPI: MADT (v001 INTEL CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x3fe9de62 ACPI: HPET (v001 INTEL CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x3fe9deca ACPI: MCFG (v001 INTEL CALISTGA 0x06040000 LOHR 0x0000005a) @ 0x3fe9df02 ACPI: TCPA (v001 PTLTD CALISTGA 0x06040000 PTL 0x00000001) @ 0x3fe9df3e ACPI: MADT (v001 PTLTD APIC 0x06040000 LTP 0x00000000) @ 0x3fe9df70 ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06040000 LTP 0x00000001) @ 0x3fe9dfd8 ACPI: SSDT (v001 SataRe SataPri 0x00001000 INTL 0x20050624) @ 0x3fe96862 ACPI: SSDT (v001 SataRe SataSec 0x00001000 INTL 0x20050624) @ 0x3fe961d0 ACPI: SSDT (v001 PmRef Cpu0Tst 0x00003000 INTL 0x20050624) @ 0x3fe9573a ACPI: SSDT (v001 PmRef Cpu1Tst 0x00003000 INTL 0x20050624) @ 0x3fe95694 ACPI: SSDT (v001 PmRef CpuPm 0x00003000 INTL 0x20050624) @ 0x3fe951ae ACPI: DSDT (v001 INTEL CALISTGA 0x06040000 MSFT 0x0100000e) @ 0x00000000 ACPI: PM-Timer IO Port: 0x1008 ACPI: Local APIC address 0xfee00000 ACPI: 2 duplicate APIC table ignored. ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 6:15 APIC version 20 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) Processor #1 6:15 APIC version 20 ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23 ACPI: IOAPIC (id[0x02] address[0xfec28000] gsi_base[24]) IOAPIC[1]: apic_id 2, version 255, address 0xfec28000, GSI 24-279 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Enabling APIC mode: Flat. Using 2 I/O APICs ACPI: HPET id: 0x8086a201 base: 0xfed00000 Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at 50000000 (gap: 40000000:a0000000) Detected 1662.736 MHz processor. Built 1 zonelists. Total pages: 259731 Kernel command line: root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda7 udev video=vesafb:ywrap,1440x900-24@65 combined_mode=libata mapped APIC to ffffd000 (fee00000) mapped IOAPIC to ffffc000 (fec00000) mapped IOAPIC to ffffb000 (fec28000) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 16384 bytes) Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1024676k/1047104k available (3108k kernel code, 21800k reserved, 1460k data, 264k init, 129600k highmem) virtual kernel memory layout: fixmap : 0xfff4f000 - 0xfffff000 ( 704 kB) pkmap : 0xff800000 - 0xffc00000 (4096 kB) vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB) lowmem : 0xc0000000 - 0xf8000000 ( 896 MB) .init : 0xc057e000 - 0xc05c0000 ( 264 kB) .data : 0xc04093f7 - 0xc0576694 (1460 kB) .text : 0xc0100000 - 0xc04093f7 (3108 kB) Checking if this processor honours the WP bit even in supervisor mode... Ok. hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 hpet0: 3 64-bit timers, 14318180 Hz Using HPET for base-timer Calibrating delay using timer specific routine.. 3328.73 BogoMIPS (lpj=1664366) Mount-cache hash table entries: 512 CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e39d 00000000 00000001 monitor/mwait feature present. using mwait in idle threads. CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 2048K CPU: Physical Processor ID: 0 CPU: Processor Core ID: 0 CPU: After all inits, caps: bfebfbff 20100000 00000000 00003940 0000e39d 00000000 00000001 Compat vDSO mapped to ffffe000. Checking 'hlt' instruction... OK. Freeing SMP alternatives: 13k freed ACPI: Core revision 20060707 CPU0: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz stepping 06 Booting processor 1/1 eip 2000 Initializing CPU#1 Calibrating delay using timer specific routine.. 3325.36 BogoMIPS (lpj=1662681) CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e39d 00000000 00000001 monitor/mwait feature present. CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 2048K CPU: Physical Processor ID: 0 CPU: Processor Core ID: 1 CPU: After all inits, caps: bfebfbff 20100000 00000000 00003940 0000e39d 00000000 00000001 CPU1: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz stepping 06 Total of 2 processors activated (6654.09 BogoMIPS). ENABLING IO-APIC IRQs ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 checking TSC synchronization across 2 CPUs: passed. Brought up 2 CPUs migration_cost=49 NET: Registered protocol family 16 No dock devices found. ACPI: bus type pci registered PCI: Using MMCONFIG Setting up standard PCI resources ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) PCI quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO PCI quirk: region 1180-11bf claimed by ICH6 GPIO Boot video device is 0000:01:00.0 PCI: Transparent bridge - 0000:00:1e.0 PCI: Bus #0b (-#0e) is hidden behind transparent bridge #0a (-#0a) (try 'pci=assign-busses') Please report the result to linux-kernel to fix this permanently ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEGP._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP03._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP04._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 10 *11) ACPI: PCI Interrupt Link [LNKB] (IRQs 10 *11) ACPI: PCI Interrupt Link [LNKC] (IRQs *10 11) ACPI: PCI Interrupt Link [LNKD] (IRQs *10 11) ACPI: PCI Interrupt Link [LNKE] (IRQs 10 11) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 10 11) *0, disabled. ACPI: PCI Interrupt Link [LNKG] (IRQs *10 11) ACPI: PCI Interrupt Link [LNKH] (IRQs 10 *11) Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnP ACPI: found 11 devices SCSI subsystem initialized libata version 2.00 loaded. PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report pnp: 00:07: ioport range 0x6a0-0x6af has been reserved pnp: 00:07: ioport range 0x6b0-0x6ff has been reserved PCI: Failed to allocate mem resource #6:20000@c0000000 for 0000:01:00.0 PCI: Bridge: 0000:00:01.0 IO window: disabled. MEM window: d0000000-d1ffffff PREFETCH window: b0000000-bfffffff PCI: Bridge: 0000:00:1c.0 IO window: 2000-2fff MEM window: c8000000-c9ffffff PREFETCH window: c0000000-c1ffffff PCI: Bridge: 0000:00:1c.1 IO window: 3000-3fff MEM window: ca000000-cbffffff PREFETCH window: c2000000-c3ffffff PCI: Bridge: 0000:00:1c.2 IO window: 4000-4fff MEM window: cc000000-cdffffff PREFETCH window: c4000000-c5ffffff PCI: Bridge: 0000:00:1c.3 IO window: 5000-5fff MEM window: ce000000-cfffffff PREFETCH window: c6000000-c7ffffff PCI: Bus 11, cardbus bridge: 0000:0a:06.0 IO window: 00006000-000060ff IO window: 00006400-000064ff PREFETCH window: 50000000-53ffffff MEM window: 54000000-57ffffff PCI: Bridge: 0000:00:1e.0 IO window: 6000-6fff MEM window: d2000000-d20fffff PREFETCH window: 50000000-53ffffff ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:01.0 to 64 ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 17 PCI: Setting latency timer of device 0000:00:1c.0 to 64 ACPI: PCI Interrupt 0000:00:1c.1[B] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:1c.1 to 64 ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:00:1c.2 to 64 ACPI: PCI Interrupt 0000:00:1c.3[D] -> GSI 19 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1c.3 to 64 PCI: Enabling device 0000:00:1e.0 (0104 -> 0107) PCI: Setting latency timer of device 0000:00:1e.0 to 64 ACPI: PCI Interrupt 0000:0a:06.0[A] -> GSI 22 (level, low) -> IRQ 20 NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 8, 1572864 bytes) TCP bind hash table entries: 65536 (order: 7, 786432 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered checking if image is initramfs... it is Freeing initrd memory: 7477k freed Simple Boot Flag at 0x36 set to 0x1 cpufreq: No nForce2 chipset. IA-32 Microcode Update Driver: v1.14a <tigran@aivazian.fsnet.co.uk> audit: initializing netlink socket (disabled) audit(1168960449.883:1): initialized highmem bounce pool size: 64 pages SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled SGI XFS Quota Management subsystem io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) PCI: Setting latency timer of device 0000:00:01.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:01.0:pcie00] Allocate Port Service[0000:00:01.0:pcie03] PCI: Setting latency timer of device 0000:00:1c.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.0:pcie00] Allocate Port Service[0000:00:1c.0:pcie02] Allocate Port Service[0000:00:1c.0:pcie03] PCI: Setting latency timer of device 0000:00:1c.1 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.1:pcie00] Allocate Port Service[0000:00:1c.1:pcie02] Allocate Port Service[0000:00:1c.1:pcie03] PCI: Setting latency timer of device 0000:00:1c.2 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.2:pcie00] Allocate Port Service[0000:00:1c.2:pcie02] Allocate Port Service[0000:00:1c.2:pcie03] PCI: Setting latency timer of device 0000:00:1c.3 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.3:pcie00] Allocate Port Service[0000:00:1c.3:pcie02] Allocate Port Service[0000:00:1c.3:pcie03] ACPI: AC Adapter [ADP1] (on-line) ACPI: Battery Slot [BAT0] (battery present) input: Power Button (FF) as /class/input/input0 ACPI: Power Button (FF) [PWRF] input: Lid Switch as /class/input/input1 ACPI: Lid Switch [LID0] input: Sleep Button (CM) as /class/input/input2 ACPI: Sleep Button (CM) [SLPB] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no) ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no) ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu0Ist] [20060707] ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu0Cst] [20060707] Monitor-Mwait will be used to enter C-1 state Monitor-Mwait will be used to enter C-2 state Monitor-Mwait will be used to enter C-3 state ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3]) ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu1Ist] [20060707] ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu1Cst] [20060707] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3]) ACPI: Thermal Zone [TZS0] (54 C) ACPI: Thermal Zone [TZS1] (55 C) ibm_acpi: ec object not found toshiba: not a supported Toshiba laptop Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize loop: loaded (max 8 devices) ata_piix 0000:00:1f.2: version 2.00ac7 ata_piix 0000:00:1f.2: MAP [ IDE IDE P1 P3 ] ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1f.2 to 64 ata1: PATA max UDMA/100 cmd 0x1F0 ctl 0x3F6 bmdma 0x18B0 irq 14 ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x18B8 irq 15 scsi0 : ata_piix ata1.00: ATA-6, max UDMA/100, 234441648 sectors: LBA48 ata1.00: ata1: dev 0 multi count 16 ata1.01: ATAPI, max UDMA/33 ata1.00: configured for UDMA/100 ata1.01: configured for UDMA/33 scsi1 : ata_piix ATA: abnormal status 0x7F on port 0x177 scsi 0:0:0:0: Direct-Access ATA TOSHIBA MK1234GA AC00 PQ: 0 ANSI: 5 SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 > sd 0:0:0:0: Attached scsi disk sda scsi 0:0:1:0: CD-ROM TSSTcorp CD/DVDW TS-L632D ac00 PQ: 0 ANSI: 5 sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.20 sr 0:0:1:0: Attached scsi CD-ROM sr0 PNP: PS/2 Controller [PNP0303:KBD0,PNP0f13:PS2M] at 0x60,0x64 irq 1,12 i8042.c: Detected active multiplexing controller, rev 1.1. serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX0 port at 0x60,0x64 irq 12 serio: i8042 AUX1 port at 0x60,0x64 irq 12 serio: i8042 AUX2 port at 0x60,0x64 irq 12 serio: i8042 AUX3 port at 0x60,0x64 irq 12 mice: PS/2 mouse device common for all mice input: AT Translated Set 2 keyboard as /class/input/input3 Synaptics Touchpad, model: 1, fw: 6.2, id: 0x12a0b1, caps: 0xa04713/0x204000 input: SynPS/2 Synaptics TouchPad as /class/input/input4 dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2) padlock: No VIA PadLock drivers have been loaded. padlock: VIA PadLock not detected. padlock: VIA PadLock Hash Engine not detected. TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Starting balanced_irq Using IPI Shortcut mode Freeing unused kernel memory: 264k freed Time: tsc clocksource has been installed. Time: hpet clocksource has been installed. ata1: soft resetting port ata1.00: configured for UDMA/100 ata1.01: configured for UDMA/33 ata1: EH complete SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 21 PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: EHCI Host Controller ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:1d.7: debug port 1 PCI: cache line size of 32 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: irq 21, io mem 0xd2304000 ehci_hcd 0000:00:1d.7: 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 Initializing USB Mass Storage driver... usb 1-7: new high speed USB device using ehci_hcd and address 2 usb 1-7: configuration #1 chosen from 1 choice usbcore: registered new interface driver usb-storage USB Mass Storage support registered. USB Universal Host Controller Interface driver v3.0 ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 21 PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: UHCI Host Controller uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1d.0: irq 21, io base 0x00001800 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:1d.1: irq 19, io base 0x00001820 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:00:1d.2 to 64 uhci_hcd 0000:00:1d.2: UHCI Host Controller uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:1d.2: irq 18, io base 0x00001840 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:1d.3[D] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:1d.3 to 64 uhci_hcd 0000:00:1d.3: UHCI Host Controller uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5 uhci_hcd 0000:00:1d.3: irq 16, io base 0x00001860 usb usb5: configuration #1 chosen from 1 choice hub 5-0:1.0: USB hub found hub 5-0:1.0: 2 ports detected ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver sl811: driver sl811-hcd, 19 May 2005 ieee1394: Initialized config rom entry `ip1394' device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 JFS: nTxBlock = 8067, nTxLock = 64542 kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 19 (level, low) -> IRQ 19 input: PC Speaker as /class/input/input5 ieee80211_crypt: registered algorithm 'NULL' ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:02:00.0 to 64 eth0: Identified chip type is 'RTL8168B/8111B'. eth0: r10001.04, the Linux device driver for Realtek Ethernet Controllers at 0x2000, 00:16:d3:47:66:2e, IRQ 16 ieee80211: 802.11 data/management/control stack, 1.2.16 ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com> sdhci: Secure Digital Host Controller Interface driver, 0.12 sdhci: Copyright(c) Pierre Ossman nvidia: module license 'NVIDIA' taints kernel. ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 1.2.0d ipw3945: Copyright(c) 2003-2006 Intel Corporation Realtek RTL8168/8111 Family PCI-E Gigabit Ethernet Network Adapter Driver version:1.04 Released date:2006/07/07 Link Status:Linked Link Speed:100Mbps Duplex mode:Full-Duplex I/O Base:0x2000(I/O port) IRQ:16 Yenta: CardBus bridge found at 0000:0a:06.0 [1025:0107] Yenta: Using CSCINT to route CSC interrupts to PCI Yenta: Routing CardBus interrupts to PCI Yenta TI: socket 0000:0a:06.0, mfunc 0x01aa1b22, devctl 0x64 ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:05:00.0 to 64 ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection Yenta: ISA IRQ mask 0x0cf8, PCI irq 20 Socket status: 30000006 Yenta: Raising subordinate bus# of parent bus (#0a) from #0a to #0e pcmcia: parent PCI bridge I/O window: 0x6000 - 0x6fff pcmcia: parent PCI bridge Memory window: 0xd2000000 - 0xd20fffff pcmcia: parent PCI bridge Memory window: 0x50000000 - 0x53ffffff sdhci: SDHCI controller found at 0000:0a:06.3 [104c:803c] (rev 0) ACPI: PCI Interrupt 0000:0a:06.3[A] -> GSI 22 (level, low) -> IRQ 20 sdhci:slot0: Controller reports > 25 MHz base clock, but no high speed support. mmc0: SDHCI at 0xd2005800 irq 20 PIO ACPI: PCI Interrupt 0000:0a:06.2[A] -> GSI 22 (level, low) -> IRQ 20 ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:01:00.0 to 64 NVRM: loading NVIDIA UNIX x86 Kernel Module 1.0-9746 Fri Dec 15 09:54:45 PST 2006 EXT3 FS on sda7, internal journal Adding 2104472k swap on /dev/sda6. Priority:-1 extents:1 across:2104472k Real Time Clock Driver v1.12ac ipw3945: Detected geography ABG (13 802.11bg channels, 23 802.11a channels) **WARNING** I2C adapter driver [NVIDIA i2c adapter 0 at 1:00.0] forgot to specify physical device; fix it! **WARNING** I2C adapter driver [NVIDIA i2c adapter 1 at 1:00.0] forgot to specify physical device; fix it! **WARNING** I2C adapter driver [NVIDIA i2c adapter 2 at 1:00.0] forgot to specify physical device; fix it! ipw3945: Error sending SCAN_ABORT_CMD: time out after 500ms. ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.01: cmd a0/01:00:00:00:00/00:00:00:00:00/b0 tag 0 cdb 0x43 data 12 in res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout) ata1: port is slow to respond, please be patient (Status 0xd0) ata1: port failed to respond (30 secs, Status 0xd0) ata1: soft resetting port ata1.00: configured for UDMA/100 ata1.01: configured for UDMA/33 ata1: EH complete SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ICH7m problem using libata 2007-01-16 13:53 ` Jan Gutter @ 2007-01-17 5:11 ` Tejun Heo 2007-01-17 13:25 ` Jan Gutter 0 siblings, 1 reply; 18+ messages in thread From: Tejun Heo @ 2007-01-17 5:11 UTC (permalink / raw) To: Jan Gutter; +Cc: Matthew Stapleton, linux-ide Jan Gutter wrote: > ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen > ata1.01: cmd a0/01:00:00:00:00/00:00:00:00:00/b0 tag 0 cdb 0x43 data 12 in > res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout) That's READ TOC. Does the problem happen if you boot into single mode (no hald)? Can you access cd/dvd in single mode? -- tejun ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ICH7m problem using libata 2007-01-17 5:11 ` Tejun Heo @ 2007-01-17 13:25 ` Jan Gutter 2007-01-17 13:41 ` Tejun Heo 0 siblings, 1 reply; 18+ messages in thread From: Jan Gutter @ 2007-01-17 13:25 UTC (permalink / raw) To: Tejun Heo; +Cc: Matthew Stapleton, linux-ide On Wed, 2007-01-17 at 14:11 +0900, Tejun Heo wrote: > That's READ TOC. Does the problem happen if you boot into single mode > (no hald)? Can you access cd/dvd in single mode? OK, here's what I found out: 1) It's definitely hald that triggers the bug. Booting into a runlevel without a lot of services, and running compiles for almost 5 hours didn't show any negative symptoms. I did some small measure of cd access : mount/ls/unmount, and they also worked fine. 2) After googling for "TS-L632D" and "ac00" I found that there's a firmware update available for the drive. Google for TS-L632D and ac01 to find it: http://www.toshibaer.com/firmware/index.php?path=TS-L632D/ 3) As I was typing this email, the problem re-occured (with the newer firmware): ata1.01:exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.01:cmd a0/00:00:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0x1e data 0 in res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout) ata1: port is slow to respond, please be patient (Status 0xd0) ata1: port failed to respond (30 secs, Status 0xd0) ata1: soft resetting port I have found a few URLS of forums and bugreports where the users claim that keeping a CD in sometimes works, or booting off a CD, etc. The DVD seems to zap the controller good when it does hit, though... TS-L632D ac01 seems to be the correct incantation for Google. If it's a firmware bug and implementing a workaround in hald helps it, would other userspace apps (k3b, cdrecord, etc.) also be affected? JAn ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ICH7m problem using libata 2007-01-17 13:25 ` Jan Gutter @ 2007-01-17 13:41 ` Tejun Heo 2007-01-18 2:13 ` Matthew Stapleton 0 siblings, 1 reply; 18+ messages in thread From: Tejun Heo @ 2007-01-17 13:41 UTC (permalink / raw) To: Jan Gutter; +Cc: Matthew Stapleton, linux-ide Jan Gutter wrote: > If it's a firmware bug and implementing a workaround in hald helps it, > would other userspace apps (k3b, cdrecord, etc.) also be affected? Quite some number of ODDs don't seem to like the way hald polls them. I don't think other apps will be affected by this. I dunno much about hald and don't have enough time to chase it down myself but feel free to cc me when reporting this to hald people. I'll try to help as much as I can. Thanks. -- tejun ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ICH7m problem using libata 2007-01-17 13:41 ` Tejun Heo @ 2007-01-18 2:13 ` Matthew Stapleton 0 siblings, 0 replies; 18+ messages in thread From: Matthew Stapleton @ 2007-01-18 2:13 UTC (permalink / raw) To: Tejun Heo; +Cc: Jan Gutter, linux-ide [-- Attachment #1: Type: text/plain, Size: 580 bytes --] Tejun Heo wrote: > Quite some number of ODDs don't seem to like the way hald polls them. I > don't think other apps will be affected by this. I dunno much about > hald and don't have enough time to chase it down myself but feel free to > cc me when reporting this to hald people. I'll try to help as much as I > can. > > Thanks. > > -- > tejun > I've attached the test programs that I wrote about earlier. cdstatus.c causes a timeout after a few hours but cdstatus_working.c doesn't seem to get a timeout. The timeout always occurs during open. -- Matthew Stapleton [-- Attachment #2: cdstatus.c --] [-- Type: text/x-csrc, Size: 517 bytes --] #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/ioctl.h> #include <stdio.h> #include <unistd.h> #include <linux/cdrom.h> int main(void) { int fd, capabilities, drive; char *cddrive = "/dev/cdrom"; while (1) { printf("Opening %s\n", cddrive); fd = open (cddrive, O_RDONLY | O_NONBLOCK); if (fd < 0) { printf("Error\n"); return 1; } printf("Sleeping\n"); sleep(1); printf("Closing %s\n", cddrive); close(fd); printf("Sleeping\n"); sleep(1); } return 0; } [-- Attachment #3: cdstatus_working.c --] [-- Type: text/x-csrc, Size: 644 bytes --] #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/ioctl.h> #include <stdio.h> #include <unistd.h> #include <linux/cdrom.h> int main(void) { int fd, capabilities, drive; char *cddrive = "/dev/cdrom"; printf("Opening %s\n", cddrive); fd = open (cddrive, O_RDONLY | O_NONBLOCK); if (fd < 0) { printf("Error\n"); return 1; } while (1) { ioctl (fd, CDROM_SET_OPTIONS, CDO_USE_FFLAGS); capabilities = ioctl (fd, CDROM_GET_CAPABILITY, 0); drive = ioctl (fd, CDROM_DRIVE_STATUS, CDSL_CURRENT); printf("capabilities=0x%08X, drive=0x%08X\n", capabilities, drive); sleep(1); } close(fd); return 0; } ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2007-01-18 2:14 UTC | newest] Thread overview: 18+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-12-19 0:40 ICH7m problem using libata Matthew Stapleton -- strict thread matches above, loose matches on Subject: below -- 2007-01-16 14:11 Mikael Pettersson 2007-01-16 14:51 ` Jan Gutter 2006-12-04 17:36 Jan Gutter 2006-12-20 0:18 ` Tejun Heo 2007-01-03 3:07 ` Matthew Stapleton 2007-01-03 3:44 ` Tejun Heo 2007-01-09 22:17 ` Matthew Stapleton 2007-01-15 5:20 ` Tejun Heo 2007-01-15 23:58 ` Matthew Stapleton 2007-01-16 8:56 ` Tejun Heo 2007-01-16 11:31 ` Jan Gutter 2007-01-16 11:42 ` Tejun Heo 2007-01-16 13:53 ` Jan Gutter 2007-01-17 5:11 ` Tejun Heo 2007-01-17 13:25 ` Jan Gutter 2007-01-17 13:41 ` Tejun Heo 2007-01-18 2:13 ` Matthew Stapleton
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).