LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-14-2010, 06:01 AM   #1
tutanxamon
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Rep: Reputation: 0
Unhappy Slow SATA performance with PCMCIA via6421


Hi all.I have an old Amilo D laptop (compal cy23 mainboard) which I want to use as a NAS. As I wanted to add a big SATA drive I bought a PCMCIA SATA controller based on Via VT6421 chipset. This is where I have a problem. My drive is very slow (around 8mb/s) with this configuration. Other PATA drive is around 22-23mb/s. My O/S is latest archlinux. Before trying linux I went with FreeNAS option. While booting it was spitting "interrupt storm" messages and was hanging. There's no such error message in Linux but it's slow. I guess this is an IRQ conflict?BIOS is very restricted and there's no option to turn off unnecessary devices (firewire,modem,sound). Below you can see some command outputs.
Please help me investigate root cause. Thanks.

hdparm -I
Code:
/dev/sdb:

ATA device, with non-removable media
	Model Number:       Maxtor 6V080E0                          
	Serial Number:      V22CWBWG            
	Firmware Revision:  VA111680
Standards:
	Used: ATA/ATAPI-7 T13 1532D revision 0 
	Supported: 7 6 5 4 & some of 8
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:  156301488
	LBA48  user addressable sectors:  156301488
	Logical/Physical Sector size:           512 bytes
	device size with M = 1024*1024:       76319 MBytes
	device size with M = 1000*1000:       80026 MBytes (80 GB)
	cache/buffer size  = 8192 KBytes (type=DualPortCache)
Capabilities:
	LBA, IORDY(can be disabled)
	Standby timer values: spec'd by Standard, no device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 0
	Advanced power management level: disabled
	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	SMART feature set
	   *	Power Management feature set
	   *	Write cache
	   *	Look-ahead
	   *	WRITE_VERIFY command
	   *	WRITE_BUFFER command
	   *	READ_BUFFER command
	   *	NOP cmd
	   *	DOWNLOAD_MICROCODE
	    	Advanced Power Management feature set
	    	Power-Up In Standby feature set
	    	SET_FEATURES required to spinup after power up
	    	SET_MAX security extension
	   *	48-bit Address feature set
	   *	Device Configuration Overlay feature set
	   *	Mandatory FLUSH_CACHE
	   *	FLUSH_CACHE_EXT
	   *	SMART error logging
	   *	SMART self-test
	   *	General Purpose Logging feature set
	   *	Gen1 signaling speed (1.5Gb/s)
	   *	Gen2 signaling speed (3.0Gb/s)
	   *	Host-initiated interface power management
	   *	Software settings preservation
	   *	SMART Command Transport (SCT) feature set
	   *	SCT Data Tables (AC5)
Checksum: correct
hdparm -i
Code:
/dev/sdb:

 Model=Maxtor 6V080E0, FwRev=VA111680, SerialNo=V22CWBWG
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-7 T13 1532D revision 0:  ATA/ATAPI-1,2,3,4,5,6,7

 * signifies the current active mode
hdparm -tT
Code:
/dev/sdb:
 Timing cached reads:   130 MB in  2.01 seconds =  64.62 MB/sec
 Timing buffered disk reads:  26 MB in  3.24 seconds =   8.03 MB/sec
cat /proc/interrupts
Code:
           CPU0       
  0:     221488    XT-PIC-XT        timer
  1:       5564    XT-PIC-XT        i8042
  2:          0    XT-PIC-XT        cascade
  3:          2    XT-PIC-XT      
  4:          2    XT-PIC-XT      
  5:         93    XT-PIC-XT        firewire_ohci
  6:          2    XT-PIC-XT        floppy
  7:          2    XT-PIC-XT      
  8:          0    XT-PIC-XT        rtc0
  9:          0    XT-PIC-XT        acpi
 10:          5    XT-PIC-XT        yenta
 11:        307    XT-PIC-XT        yenta, uhci_hcd:usb1, sata_via, eth0
 12:          6    XT-PIC-XT        i8042
 14:       2879    XT-PIC-XT        pata_via
 15:          0    XT-PIC-XT        pata_via
NMI:          0   Non-maskable interrupts
LOC:          0   Local timer interrupts
SPU:          0   Spurious interrupts
PMI:          0   Performance monitoring interrupts
PND:          0   Performance pending work
RES:          0   Rescheduling interrupts
CAL:          0   Function call interrupts
TLB:          0   TLB shootdowns
TRM:          0   Thermal event interrupts
THR:          0   Threshold APIC interrupts
MCE:          0   Machine check exceptions
MCP:         20   Machine check polls
ERR:          0
MIS:          0
pccardctl
Code:
Socket 0:
  no card
Socket 1:
  3.3V 32-bit PC Card


Socket 0 Bridge:   	[yenta_cardbus] 	(bus ID: 0000:00:04.0)
Socket 1 Bridge:   	[yenta_cardbus] 	(bus ID: 0000:00:04.1)
  CardBus card -- see "lspci" for more information
lspci
Code:
00:00.0 Host bridge: VIA Technologies, Inc. VT8605 [ProSavage PM133]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8605 [PM133 AGP]
00:04.0 CardBus bridge: O2 Micro, Inc. OZ6933/711E1 CardBus/SmartCardBus Controller (rev 01)
00:04.1 CardBus bridge: O2 Micro, Inc. OZ6933/711E1 CardBus/SmartCardBus Controller (rev 01)
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 42)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1a)
00:07.4 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 50)
00:0d.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
00:10.0 Communication controller: Agere Systems LT WinModem (rev 02)
00:11.0 Ethernet controller: Accton Technology Corporation EN-1216 Ethernet Adapter (rev 11)
01:00.0 VGA compatible controller: S3 Inc. 86C380 [ProSavageDDR K4M266] (rev 02)
06:00.0 RAID bus controller: VIA Technologies, Inc. VT6421 IDE RAID Controller (rev 50)
 
Old 12-14-2010, 06:01 AM   #2
tutanxamon
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Original Poster
Rep: Reputation: 0
dmesg
Code:
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.33-ARCH (thomas@evey) (gcc version 4.5.0 (GCC) ) #1 SMP PREEMPT Thu May 13 12:06:25 CEST 2010
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000c0000 - 00000000000cc000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000f6f0000 (usable)
 BIOS-e820: 000000000f6f0000 - 000000000f6ff000 (ACPI data)
 BIOS-e820: 000000000f6ff000 - 000000000f700000 (ACPI NVS)
 BIOS-e820: 000000000f700000 - 000000000f800000 (usable)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
Notice: NX (Execute Disable) protection missing in CPU or disabled in BIOS!
DMI 2.3 present.
last_pfn = 0xf800 max_arch_pfn = 0x100000
MTRR default type: uncachable
MTRR fixed ranges enabled:
  00000-9FFFF write-back
  A0000-BFFFF uncachable
  C0000-C7FFF write-protect
  C8000-E7FFF uncachable
  E8000-FFFFF write-protect
MTRR variable ranges enabled:
  0 base 000000000 mask FF8000000 write-back
  1 base 008000000 mask FFC000000 write-back
  2 base 00C000000 mask FFE000000 write-back
  3 base 00E000000 mask FFF000000 write-back
  4 base 00F000000 mask FFF800000 write-back
  5 disabled
  6 disabled
  7 disabled
PAT not supported by CPU.
e820 update range: 0000000000002000 - 0000000000010000 (usable) ==> (reserved)
Scanning 1 areas for low memory corruption
modified physical RAM map:
 modified: 0000000000000000 - 0000000000002000 (usable)
 modified: 0000000000002000 - 0000000000010000 (reserved)
 modified: 0000000000010000 - 000000000009f000 (usable)
 modified: 000000000009f000 - 00000000000a0000 (reserved)
 modified: 00000000000c0000 - 00000000000cc000 (reserved)
 modified: 00000000000e0000 - 0000000000100000 (reserved)
 modified: 0000000000100000 - 000000000f6f0000 (usable)
 modified: 000000000f6f0000 - 000000000f6ff000 (ACPI data)
 modified: 000000000f6ff000 - 000000000f700000 (ACPI NVS)
 modified: 000000000f700000 - 000000000f800000 (usable)
 modified: 00000000fff80000 - 0000000100000000 (reserved)
initial memory mapped : 0 - 01800000
init_memory_mapping: 0000000000000000-000000000f800000
 0000000000 - 0000400000 page 4k
 0000400000 - 000f800000 page 2M
kernel direct mapping tables up to f800000 @ 15000-19000
RAMDISK: 0f571000 - 0f6dfe6e
ACPI: RSDP 000f72b0 00014 (v00 PTLTD )
ACPI: RSDT 0f6fbfd8 00028 (v01 PTLTD    RSDT   06040000  LTP 00000000)
ACPI: FACP 0f6fef8c 00074 (v01 VT8606 twisterT 06040000 PTL_ 000F4240)
ACPI: DSDT 0f6fc000 02F8C (v01 COMPAL CY23     06040000 MSFT 0100000D)
ACPI: FACS 0f6fffc0 00040
0MB HIGHMEM available.
248MB LOWMEM available.
  mapped low ram: 0 - 0f800000
  low ram: 0 - 0f800000
  node 0 low ram: 00000000 - 0f800000
  node 0 bootmap 00015000 - 00016f00
(9 early reservations) ==> bootmem [0000000000 - 000f800000]
  #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
  #1 [0000001000 - 0000002000]    EX TRAMPOLINE ==> [0000001000 - 0000002000]
  #2 [0001000000 - 0001550444]    TEXT DATA BSS ==> [0001000000 - 0001550444]
  #3 [000f571000 - 000f6dfe6e]          RAMDISK ==> [000f571000 - 000f6dfe6e]
  #4 [000009f000 - 0000100000]    BIOS reserved ==> [000009f000 - 0000100000]
  #5 [0001551000 - 0001557190]              BRK ==> [0001551000 - 0001557190]
  #6 [0000010000 - 0000011000]       TRAMPOLINE ==> [0000010000 - 0000011000]
  #7 [0000011000 - 0000015000]      ACPI WAKEUP ==> [0000011000 - 0000015000]
  #8 [0000015000 - 0000017000]          BOOTMAP ==> [0000015000 - 0000017000]
Zone PFN ranges:
  DMA      0x00000000 -> 0x00001000
  Normal   0x00001000 -> 0x0000f800
  HighMem  0x0000f800 -> 0x0000f800
Movable zone start PFN for each node
early_node_map[4] active PFN ranges
    0: 0x00000000 -> 0x00000002
    0: 0x00000010 -> 0x0000009f
    0: 0x00000100 -> 0x0000f6f0
    0: 0x0000f700 -> 0x0000f800
On node 0 totalpages: 63361
free_area_init_node: node 0, pgdat c13f9880, node_mem_map c1559000
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 3953 pages, LIFO batch:0
  Normal zone: 464 pages used for memmap
  Normal zone: 58912 pages, LIFO batch:15
Using APIC driver default
ACPI: PM-Timer IO Port: 0x8008
SMP: Allowing 1 CPUs, 0 hotplug CPUs
Local APIC disabled by BIOS -- you can enable it with "lapic"
APIC: disable apic facility
APIC: switched to apic NOOP
nr_irqs_gsi: 16
PM: Registered nosave memory: 0000000000002000 - 0000000000010000
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000c0000
PM: Registered nosave memory: 00000000000c0000 - 00000000000cc000
PM: Registered nosave memory: 00000000000cc000 - 00000000000e0000
PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
PM: Registered nosave memory: 000000000f6f0000 - 000000000f6ff000
PM: Registered nosave memory: 000000000f6ff000 - 000000000f700000
Allocating PCI resources starting at f800000 (gap: f800000:f0780000)
Booting paravirtualized kernel on bare hardware
setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
PERCPU: Embedded 14 pages/cpu @c1800000 s34776 r0 d22568 u4194304
pcpu-alloc: s34776 r0 d22568 u4194304 alloc=1*4194304
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 62865
Kernel command line: root=/dev/disk/by-uuid/771c2fc4-fbd1-452f-a1af-86eeb6629630 ro
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
allocated 1269760 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Initializing HighMem for node 0 (00000000:00000000)
Memory: 242660k/253952k available (2895k kernel code, 10464k reserved, 1208k data, 408k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfff1e000 - 0xfffff000   ( 900 kB)
    pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
    vmalloc : 0xd0000000 - 0xff7fe000   ( 759 MB)
    lowmem  : 0xc0000000 - 0xcf800000   ( 248 MB)
      .init : 0xc1403000 - 0xc1469000   ( 408 kB)
      .data : 0xc12d3f1e - 0xc14022e0   (1208 kB)
      .text : 0xc1000000 - 0xc12d3f1e   (2895 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:512
Console: colour VGA+ 80x25
console [tty0] enabled
Fast TSC calibration using PIT
Detected 994.825 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 1990.55 BogoMIPS (lpj=3316083)
Security Framework initialized
Mount-cache hash table entries: 512
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys net_cls
CPU serial number disabled.
mce: CPU supports 5 MCE banks
Performance Events: 
no APIC, boot with the "lapic" boot parameter to force-enable it.
no hardware sampling interrupt available.
p6 PMU driver.
... version:                0
... bit width:              32
... generic registers:      2
... value mask:             00000000ffffffff
... max period:             000000007fffffff
... fixed-purpose events:   0
... event mask:             0000000000000003
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 11k freed
ACPI: Core revision 20091214
ACPI: setting ELCR to 0200 (from 0c20)
weird, boot CPU (#0) not listed by the BIOS.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
SMP disabled
Brought up 1 CPUs
Total of 1 processors activated (1990.55 BogoMIPS).
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfd80e, last bus=1
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S4 S5)
ACPI: Using PIC for interrupt routing
ACPI: EC: GPE = 0x6, I/O: command/status = 0x66, data = 0x62
ACPI: No dock devices found.
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci_root PNP0A03:00: ignoring host bridge windows from ACPI; boot with "pci=use_crs" to use them
pci_root PNP0A03:00: host bridge window [io  0x0000-0x0cf7] (ignored)
pci_root PNP0A03:00: host bridge window [io  0x0d00-0xffff] (ignored)
pci_root PNP0A03:00: host bridge window [mem 0x000a0000-0x000cbfff] (ignored)
pci_root PNP0A03:00: host bridge window [mem 0x000d0000-0x000d3fff] (ignored)
pci_root PNP0A03:00: host bridge window [mem 0x000d4000-0x000d7fff] (ignored)
pci_root PNP0A03:00: host bridge window [mem 0x000d8000-0x000dbfff] (ignored)
pci_root PNP0A03:00: host bridge window [mem 0x000dc000-0x000dffff] (ignored)
pci_root PNP0A03:00: host bridge window [mem 0x10000000-0xfff7ffff] (ignored)
pci 0000:00:00.0: reg 10: [mem 0xec000000-0xefffffff pref]
pci 0000:00:01.0: supports D1
pci 0000:00:04.0: reg 10: [mem 0x00000000-0x00000fff]
pci 0000:00:04.0: supports D1 D2
pci 0000:00:04.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:04.0: PME# disabled
pci 0000:00:04.1: reg 10: [mem 0x00000000-0x00000fff]
pci 0000:00:04.1: supports D1 D2
pci 0000:00:04.1: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:04.1: PME# disabled
pci 0000:00:07.1: reg 20: [io  0x1000-0x100f]
pci 0000:00:07.2: reg 20: [io  0x1020-0x103f]
pci 0000:00:07.4: quirk: [io  0x8100-0x810f] claimed by vt82c686 SMB
pci 0000:00:07.5: reg 10: [io  0x1400-0x14ff]
pci 0000:00:07.5: reg 14: [io  0x1014-0x1017]
pci 0000:00:07.5: reg 18: [io  0x1010-0x1013]
pci 0000:00:0d.0: reg 10: [mem 0xe8004000-0xe80047ff]
pci 0000:00:0d.0: reg 14: [mem 0xe8000000-0xe8003fff]
pci 0000:00:0d.0: supports D1 D2
pci 0000:00:0d.0: PME# supported from D0 D1 D2 D3hot
pci 0000:00:0d.0: PME# disabled
pci 0000:00:10.0: reg 10: [mem 0xe8004800-0xe80048ff]
pci 0000:00:10.0: reg 14: [io  0x1018-0x101f]
pci 0000:00:10.0: reg 18: [io  0x1800-0x18ff]
pci 0000:00:10.0: PME# supported from D3hot D3cold
pci 0000:00:10.0: PME# disabled
pci 0000:00:11.0: reg 10: [io  0x1c00-0x1cff]
pci 0000:00:11.0: reg 14: [mem 0xe8004c00-0xe8004fff]
pci 0000:00:11.0: reg 30: [mem 0x00000000-0x0001ffff pref]
pci 0000:00:11.0: supports D1 D2
pci 0000:00:11.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:11.0: PME# disabled
pci 0000:01:00.0: reg 10: [mem 0xe8100000-0xe817ffff]
pci 0000:01:00.0: reg 14: [mem 0xf0000000-0xf7ffffff pref]
pci 0000:01:00.0: reg 30: [mem 0x00000000-0x0000ffff pref]
pci 0000:01:00.0: supports D1 D2
pci 0000:00:01.0: PCI bridge to [bus 01-01]
pci 0000:00:01.0:   bridge window [mem 0xe8100000-0xe81fffff]
pci 0000:00:01.0:   bridge window [mem 0xf0000000-0xf7ffffff pref]
pci_bus 0000:00: on NUMA node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs *10)
ACPI: PCI Interrupt Link [LNKB] (IRQs *11)
ACPI: PCI Interrupt Link [LNKC] (IRQs *5 9 10 11)
ACPI: PCI Interrupt Link [LNKD] (IRQs *11)
vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=io+mem,locks=none
vgaarb: loaded
PCI: Using ACPI for IRQ routing
PCI: pci_cache_line_size set to 32 bytes
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
Switching to clocksource tsc
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 10 devices
ACPI: ACPI bus type pnp unregistered
system 00:05: [mem 0x00000000-0x0009ffff] could not be reserved
system 00:05: [mem 0x000e0000-0x000fffff] could not be reserved
system 00:06: [io  0x04d0-0x04d1] has been reserved
system 00:06: [io  0x8000-0x807f] has been reserved
system 00:06: [mem 0xffefb000-0xffefb6ff] has been reserved
pci 0000:00:04.0: BAR 15: assigned [mem 0x10000000-0x13ffffff pref]
pci 0000:00:04.0: BAR 16: assigned [mem 0x14000000-0x17ffffff]
pci 0000:00:04.1: BAR 15: assigned [mem 0x18000000-0x1bffffff pref]
pci 0000:00:04.1: BAR 16: assigned [mem 0x1c000000-0x1fffffff]
pci 0000:00:11.0: BAR 6: assigned [mem 0x20000000-0x2001ffff pref]
pci 0000:00:04.0: BAR 0: assigned [mem 0x20020000-0x20020fff]
pci 0000:00:04.0: BAR 0: set to [mem 0x20020000-0x20020fff] (PCI address [0x20020000-0x20020fff]
pci 0000:00:04.1: BAR 0: assigned [mem 0x20021000-0x20021fff]
pci 0000:00:04.1: BAR 0: set to [mem 0x20021000-0x20021fff] (PCI address [0x20021000-0x20021fff]
pci 0000:00:04.0: BAR 13: assigned [io  0x2000-0x20ff]
pci 0000:00:04.0: BAR 14: assigned [io  0x2400-0x24ff]
pci 0000:00:04.1: BAR 13: assigned [io  0x2800-0x28ff]
pci 0000:00:04.1: BAR 14: assigned [io  0x2c00-0x2cff]
pci 0000:01:00.0: BAR 6: assigned [mem 0xe8180000-0xe818ffff pref]
pci 0000:00:01.0: PCI bridge to [bus 01-01]
pci 0000:00:01.0:   bridge window [io  disabled]
pci 0000:00:01.0:   bridge window [mem 0xe8100000-0xe81fffff]
pci 0000:00:01.0:   bridge window [mem 0xf0000000-0xf7ffffff pref]
pci 0000:00:04.0: CardBus bridge to [bus 02-05]
pci 0000:00:04.0:   bridge window [io  0x2000-0x20ff]
pci 0000:00:04.0:   bridge window [io  0x2400-0x24ff]
pci 0000:00:04.0:   bridge window [mem 0x10000000-0x13ffffff pref]
pci 0000:00:04.0:   bridge window [mem 0x14000000-0x17ffffff]
pci 0000:00:04.1: CardBus bridge to [bus 06-09]
pci 0000:00:04.1:   bridge window [io  0x2800-0x28ff]
pci 0000:00:04.1:   bridge window [io  0x2c00-0x2cff]
pci 0000:00:04.1:   bridge window [mem 0x18000000-0x1bffffff pref]
pci 0000:00:04.1:   bridge window [mem 0x1c000000-0x1fffffff]
pci 0000:00:01.0: setting latency timer to 64
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
pci 0000:00:04.0: PCI INT A -> Link[LNKA] -> GSI 10 (level, low) -> IRQ 10
pci 0000:00:04.0: setting latency timer to 64
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
pci 0000:00:04.1: PCI INT B -> Link[LNKB] -> GSI 11 (level, low) -> IRQ 11
pci 0000:00:04.1: setting latency timer to 64
pci_bus 0000:00: resource 0 [io  0x0000-0xffff]
pci_bus 0000:00: resource 1 [mem 0x00000000-0xffffffff]
pci_bus 0000:01: resource 1 [mem 0xe8100000-0xe81fffff]
pci_bus 0000:01: resource 2 [mem 0xf0000000-0xf7ffffff pref]
pci_bus 0000:02: resource 0 [io  0x2000-0x20ff]
pci_bus 0000:02: resource 1 [io  0x2400-0x24ff]
pci_bus 0000:02: resource 2 [mem 0x10000000-0x13ffffff pref]
pci_bus 0000:02: resource 3 [mem 0x14000000-0x17ffffff]
pci_bus 0000:06: resource 0 [io  0x2800-0x28ff]
pci_bus 0000:06: resource 1 [io  0x2c00-0x2cff]
pci_bus 0000:06: resource 2 [mem 0x18000000-0x1bffffff pref]
pci_bus 0000:06: resource 3 [mem 0x1c000000-0x1fffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 128 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
NET: Registered protocol family 1
pci 0000:00:01.0: disabling DAC on VIA PCI bridge
pci 0000:00:07.0: Disabling VIA external APIC routing
pci 0000:01:00.0: Boot video device
PCI: CLS 32 bytes, default 32
Unpacking initramfs...
Freeing initrd memory: 1467k freed
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
Scanning for low memory corruption every 60 seconds
audit: initializing netlink socket (disabled)
type=2000 audit(1292315003.329:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 477
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
input: Macintosh mouse button emulation as /devices/virtual/input/input0
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
cpuidle: using governor ladder
cpuidle: using governor menu
TCP cubic registered
NET: Registered protocol family 17
Using IPI No-Shortcut mode
PM: Resume from disk failed.
registered taskstats version 1
Initalizing network drop monitor service
Freeing unused kernel memory: 408k freed
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
SCSI subsystem initialized
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
libata version 3.00 loaded.
pata_via 0000:00:07.1: version 0.3.4
scsi0 : pata_via
scsi1 : pata_via
ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x1000 irq 14
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x1008 irq 15
ata1.00: ATA-6: TOSHIBA MK4025GAS, KA100A, max UDMA/100
ata1.00: 78140160 sectors, multi 16: LBA 
ata1.00: limited to UDMA/33 due to 40-wire cable
ata1.00: configured for UDMA/33
scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA MK4025GA KA10 PQ: 0 ANSI: 5
ata2: port disabled. ignoring.
sd 0:0:0:0: [sda] 78140160 512-byte logical blocks: (40.0 GB/37.2 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI disk
udev: starting version 151
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
sd 0:0:0:0: Attached scsi generic sg0 type 0
Marking TSC unstable due to TSC halts in idle
input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input2
ACPI: Lid Switch [LID]
input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3
ACPI: Power Button [PWBN]
input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
ACPI: Power Button [PWRF]
Switching to clocksource acpi_pm
thermal LNXTHERM:01: registered as thermal_zone0
ACPI: Thermal Zone [THRM] (45 C)
Linux Tulip driver version 1.1.15 (Feb 27, 2007)
tulip 0000:00:11.0: power state changed by ACPI to D0
tulip 0000:00:11.0: power state changed by ACPI to D0
tulip 0000:00:11.0: enabling device (0012 -> 0013)
tulip 0000:00:11.0: PCI INT A -> Link[LNKB] -> GSI 11 (level, low) -> IRQ 11
tulip0:  MII transceiver #1 config 3100 status 7849 advertising 05e1.
tulip0:  MII transceiver #2 config 1000 status 7849 advertising 05e1.
tulip0:  MII transceiver #3 config 1000 status 7849 advertising 05e1.
tulip0:  MII transceiver #4 config 1000 status 7849 advertising 05e1.
eth0: ADMtek Comet rev 17 at Port 0x1c00, 00:90:96:24:4f:06, IRQ 11.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
input: PC Speaker as /devices/platform/pcspkr/input/input5
Linux agpgart interface v0.103
ACPI: AC Adapter [ACAD] (on-line)
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
ACPI: Battery Slot [BAT1] (battery present)
yenta_cardbus 0000:00:04.0: CardBus bridge found [14c0:0012]
yenta_cardbus 0000:00:04.0: O2: res at 0x94/0xD4: c8/00
yenta_cardbus 0000:00:04.0: Yenta O2: old bridge, disabling read prefetch/write burst
parport_pc: VIA 686A/8231 detected
parport_pc: probing current configuration
parport_pc: Current parallel port base: 0x0
parport_pc: VIA parallel port disabled in BIOS
yenta_cardbus 0000:00:04.0: ISA IRQ mask 0x0098, PCI irq 10
yenta_cardbus 0000:00:04.0: Socket status: 30000006
agpgart: Detected VIA ProSavage PM133/PL133/PN133 chipset
agpgart-via 0000:00:00.0: AGP aperture is 64M @ 0xec000000
firewire_ohci 0000:00:0d.0: enabling device (0010 -> 0012)
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
firewire_ohci 0000:00:0d.0: PCI INT A -> Link[LNKC] -> GSI 5 (level, low) -> IRQ 5
firewire_ohci: Added fw-ohci device 0000:00:0d.0, OHCI version 1.10
yenta_cardbus 0000:00:04.1: CardBus bridge found [14c0:0012]
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ppdev: user-space parallel port driver
uhci_hcd: USB Universal Host Controller Interface driver
yenta_cardbus 0000:00:04.1: ISA IRQ mask 0x0098, PCI irq 11
yenta_cardbus 0000:00:04.1: Socket status: 30000820
rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one year, y3k, 242 bytes nvram
firewire_core: created device fw0: GUID 00023f2313001c54, S400
vt596_smbus 0000:00:07.4: SMBUS: Error: Host SMBus controller not enabled! - upgrade BIOS or use force=1
uhci_hcd 0000:00:07.2: enabling device (0010 -> 0011)
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
uhci_hcd 0000:00:07.2: PCI INT D -> Link[LNKD] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 11, io base 0x00001020
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af: clean.
pcmcia_socket pcmcia_socket1: cs: IO port probe 0x100-0x3af: clean.
pcmcia_socket pcmcia_socket1: cs: IO port probe 0x3e0-0x4ff: clean.
pcmcia_socket pcmcia_socket0: cs: IO port probe 0x3e0-0x4ff: clean.
pcmcia_socket pcmcia_socket0: cs: IO port probe 0x820-0x8ff: clean.
pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcf7: clean.
pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: clean.
pcmcia_socket pcmcia_socket1: cs: IO port probe 0x820-0x8ff: clean.
pcmcia_socket pcmcia_socket1: cs: IO port probe 0xc00-0xcf7: clean.
pcmcia_socket pcmcia_socket1: cs: IO port probe 0xa00-0xaff: clean.
VIA 82xx Audio 0000:00:07.5: PCI INT C -> Link[LNKC] -> GSI 5 (level, low) -> IRQ 5
pcmcia_socket pcmcia_socket1: pccard: CardBus card inserted into slot 1
pci 0000:06:00.0: reg 10: [io  0x0af0-0x0aff]
pci 0000:06:00.0: reg 14: [io  0x0a70-0x0a7f]
pci 0000:06:00.0: reg 18: [io  0x01f0-0x01ff]
pci 0000:06:00.0: reg 1c: [io  0x0170-0x017f]
pci 0000:06:00.0: reg 20: [io  0xcc00-0xcc1f]
pci 0000:06:00.0: reg 24: [io  0x8c00-0x8cff]
pci 0000:06:00.0: reg 30: [mem 0xffff0000-0xffffffff pref]
pci 0000:06:00.0: BAR 6: assigned [mem 0x18000000-0x1800ffff pref]
pci 0000:06:00.0: BAR 5: assigned [io  0x2800-0x28ff]
pci 0000:06:00.0: BAR 5: set to [io  0x2800-0x28ff] (PCI address [0x2800-0x28ff]
pci 0000:06:00.0: BAR 4: assigned [io  0x2c00-0x2c1f]
pci 0000:06:00.0: BAR 4: set to [io  0x2c00-0x2c1f] (PCI address [0x2c00-0x2c1f]
pci 0000:06:00.0: BAR 0: assigned [io  0x2c20-0x2c2f]
pci 0000:06:00.0: BAR 0: set to [io  0x2c20-0x2c2f] (PCI address [0x2c20-0x2c2f]
pci 0000:06:00.0: BAR 1: assigned [io  0x2c30-0x2c3f]
pci 0000:06:00.0: BAR 1: set to [io  0x2c30-0x2c3f] (PCI address [0x2c30-0x2c3f]
pci 0000:06:00.0: BAR 2: assigned [io  0x2c40-0x2c4f]
pci 0000:06:00.0: BAR 2: set to [io  0x2c40-0x2c4f] (PCI address [0x2c40-0x2c4f]
pci 0000:06:00.0: BAR 3: assigned [io  0x2c50-0x2c5f]
pci 0000:06:00.0: BAR 3: set to [io  0x2c50-0x2c5f] (PCI address [0x2c50-0x2c5f]
pci 0000:06:00.0: cache line size of 32 is not supported
sata_via 0000:06:00.0: version 2.4
sata_via 0000:06:00.0: enabling device (0000 -> 0001)
sata_via 0000:06:00.0: PCI INT A -> Link[LNKB] -> GSI 11 (level, low) -> IRQ 11
sata_via 0000:06:00.0: routed to hard irq line 11
scsi2 : sata_via
scsi3 : sata_via
scsi4 : sata_via
ata3: SATA max UDMA/133 port i16@0x2c20 bmdma 0x2c00 irq 11
ata4: SATA max UDMA/133 port i16@0x2c30 bmdma 0x2c08 irq 11
ata5: PATA max UDMA/133 port i16@0x2c40 bmdma 0x2c10 irq 11
ata3: SATA link down (SStatus 0 SControl 310)
VIA 82xx Audio 0000:00:07.5: setting latency timer to 64
codec_read: codec 0 is not valid [0x1fc0000]
codec_read: codec 0 is not valid [0x1fe0000]
codec_ready: codec 0 is not ready [0x1000000]
codec_ready: codec 0 is not ready [0x1000000]
ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata4.00: ATA-7: Maxtor 6V080E0, VA111680, max UDMA/100
ata4.00: 156301488 sectors, multi 0: LBA48 
ata4.00: configured for UDMA/100
scsi 3:0:0:0: Direct-Access     ATA      Maxtor 6V080E0   VA11 PQ: 0 ANSI: 5
sd 3:0:0:0: Attached scsi generic sg1 type 0
sd 3:0:0:0: [sdb] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdb: sdb1
sd 3:0:0:0: [sdb] Attached SCSI disk
codec_read: codec 0 is not valid [0x1fc0000]
codec_read: codec 0 is not valid [0x1fe0000]
AC'97 0 access is not valid [0xffffffff], removing mixer.
VIA 82xx Audio 0000:00:07.5: PCI INT C disabled
VIA 82xx Audio: probe of 0000:00:07.5 failed with error -5
Adding 265064k swap on /dev/sda2.  Priority:-1 extents:1 across:265064k
 
Old 12-14-2010, 06:03 AM   #3
tutanxamon
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Original Poster
Rep: Reputation: 0
I also tried this the same PCMCIA controller with the same HDD with same O/S on different laptop. It's working fine with speed around 25mb/s
 
Old 12-15-2010, 04:48 AM   #4
tutanxamon
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Is there a way to test bus speed between PCMCIA controller and CPU? I think PCMCIA controller is the bottleneck.
I mean this..CardBus bridge: O2 Micro, Inc. OZ6933/711E1 CardBus/SmartCardBus Controller (rev 01)
 
Old 12-15-2010, 03:47 PM   #5
jefro
Guru
 
Registered: Mar 2008
Posts: 11,956

Rep: Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482
Why not look at the actual speed of a pcmcia bus. Even a pc card bus is pretty slow by sata speeds these days. Pcmcia was a very old standard.
 
Old 12-15-2010, 04:42 PM   #6
tutanxamon
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Theoretical bandwidth of PCMCIA interface is 133MB/s. Even if we assume that speed is 100MB/s excluding overhead I'm using less than 10% throughput of the PCMCIA bus. I wish I knew how to test real speed of the interface between RAM and PCMCIA bus.
 
Old 12-15-2010, 08:29 PM   #7
jefro
Guru
 
Registered: Mar 2008
Posts: 11,956

Rep: Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482
Theoretical and actual may be way off. I agree that you do seem to have a card bus type and not a pcmcia slot.

I suspect then you should look at the actual pc-card controller or some issue there. If the drive is OK and the card is OK on another system we are left with little else.

Try a few live cd's just to see.

In other os's there was some commands I think to manually modify settings on cardbus. May be in linux still.

Last edited by jefro; 12-15-2010 at 08:35 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SATA performance kwlg Linux - Kernel 2 04-16-2008 03:39 PM
Performance of CentOS 5.1 is slow...very slow! 90% mem used!! Why? Jazzmaster777 Linux - Server 5 04-13-2008 06:48 AM
Slow performance!!! System using a lot of Physical Memory SLOW HELP! badgerbox76 Linux - Newbie 31 07-19-2007 11:23 AM
Suse 9.2 & SATA - Slow, Slow, Slow jess1975 Suse/Novell 6 01-28-2007 01:17 PM
SATA performance Tomasfuego Linux - Hardware 1 07-30-2004 12:29 AM


All times are GMT -5. The time now is 07:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration