Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

hard drive kernel errors

  Date: Feb 05    Category: Unix / Linux / Ubuntu    Views: 556
  

I recently picked up a used hp
nx6125 agency series laptop for short money, no hard drive. I put in a
cheap 40 gig fujitsu and installed xubuntu. Things were going fine for a
few weeks until it started freezing up. dmesg shows errors like the
following consistently:

[ 178.816043] ata1: lost interrupt (Status 0x58)
[ 178.820013] ata1: drained 32768 bytes to clear DRQ.
[ 178.940951] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
frozen
[ 178.940957] ata1.00: failed command: READ DMA
[ 178.940966] ata1.00: cmd c8/00:18:9f:32:04/00:00:00:00:00/e0 tag 0 dma
12288 in
[ 178.940967] res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4
(timeout)
[ 178.940971] ata1.00: status: { DRDY }
[ 178.941003] ata1: soft resetting link
[ 179.120767] ata1.00: configured for UDMA/100
[ 179.120772] ata1.00: device reported invalid CHS sector 0
[ 179.120782] ata1: EH complete
[ 425.113667] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[ 425.113674] ata1.00: BMDMA stat 0x24
[ 425.113678] ata1.00: failed command: WRITE DMA
[ 425.113686] ata1.00: cmd ca/00:00:cf:1c:e2/00:00:00:00:00/e0 tag 0 dma
131072 out
[ 425.113687] res 51/84:00:ce:1d:e2/00:00:00:00:00/e0 Emask 0x10
(ATA bus error)
[ 425.113691] ata1.00: status: { DRDY ERR }
[ 425.113693] ata1.00: error: { ICRC ABRT }
[ 425.113726] ata1: soft resetting link
[ 425.292759] ata1.00: configured for UDMA/100
[ 425.292771] ata1: EH complete
[ 972.272511] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 972.272516] ata1.00: BMDMA stat 0x25
[ 972.272521] ata1.00: failed command: WRITE DMA
[ 972.272528] ata1.00: cmd ca/00:08:17:37:4c/00:00:00:00:00/e1 tag 0 dma
4096 out
[ 972.272530] res 51/04:28:37:37:6c/00:00:00:00:00/e1 Emask 0x1
(device error)
[ 972.272533] ata1.00: status: { DRDY ERR }
[ 972.272536] ata1.00: error: { ABRT }
[ 972.296856] ata1.00: configured for UDMA/100
[ 972.296867] ata1: EH complete

I have tried 2 different drives and 3 different distros (all debian based),
with the same result. I ran all of the hard drive self tests from the bios
without any failure. The output from hdparm -i is:


/dev/sda:

Model=FUJITSU, FwRev=00000096, SerialNo=NT38T5525BYR
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=17475/15/63, CurSects=16513875, LBA=yes, LBAsects=78140160
IORDY=yes, tPIO={min:240,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-6 T13 1410D revision 3a: ATA/ATAPI-2,3,4,5,6

* signifies the current active mode


lshw highlights:


description: Notebook
product: HP Compaq nx6125 (PZ092UA#ABA)
vendor: Hewlett-Packard
version: F.11
serial: CND6070CV5
width: 32 bits
capabilities: smbios-2.3 dmi-2.3
configuration: boot=normal chassis=notebook
uuid=CFBD6CA8-979D-DA11-0C9C-66990C0D9529
*-core
description: Motherboard
product: 308B
vendor: Hewlett-Packard
physical id: 0
version: KBC Version 45.26
*-firmware
description: BIOS
vendor: Hewlett-Packard
physical id: 0
version: 68DTT Ver. F.11 (08/29/2006)
size: 128KiB
capacity: 960KiB
capabilities: pci pcmcia pnp upgrade shadowing cdboot bootselect
edd int13floppy720 int5printscreen int9keyboard int14serial int17printer
acpi usb ls120boot smartbattery biosbootspecification netboot
*-cpu
description: CPU
product: AMD Turion(tm) 64 Mobile ML-37
vendor: Advanced Micro Devices [AMD]
physical id: 4
bus info: cpu@0
version: 15.4.2
slot: U10
size: 2GHz
capacity: 2GHz
width: 64 bits
clock: 200MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8
apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext
fxsr_opt x86-64 3dnowext 3dnow up pni lahf_lm
*-cache:0
description: L1 cache
physical id: 5
slot: Internal L1 Cache
size: 128KiB
capacity: 128KiB
capabilities: burst internal write-back unified
*-cache:1
description: L2 cache
physical id: 6
slot: Internal L2 Cache
size: 1MiB
capacity: 1MiB
capabilities: burst external write-back unified
*-memory
description: System Memory
physical id: a
slot: System board or motherboard
size: 2GiB
capacity: 2GiB
*-bank:0
description: SODIMM DDR Synchronous 333 MHz (3.0 ns)
vendor: 0000000000000000
physical id: 0
serial: 00000000
slot: DIMM #1
size: 1GiB
width: 64 bits
clock: 333MHz (3.0ns)
*-bank:1
description: SODIMM DDR Synchronous 333 MHz (3.0 ns)
product: 64D128021GBDL6B
vendor: C100000000000000
physical id: 1
serial: 03077627
slot: DIMM #2
size: 1GiB
width: 64 bits
clock: 333MHz (3.0ns)
*-pci:0
description: Host bridge
product: RS480 Host Bridge
vendor: ATI Technologies Inc
physical id: 100
bus info: pci@0000:00:00.0
version: 01
width: 32 bits
clock: 66MHz
configuration: latency=64
*-pci:0
description: PCI bridge
product: RS480 PCI Bridge
vendor: ATI Technologies Inc
physical id: 1
bus info: pci@0000:00:01.0
version: 00
width: 32 bits
clock: 66MHz
capabilities: pci ht bus_master cap_list
resources: ioport:6000(size=4096) memory:d8300000-d83fffff
ioport:c0000000(size=268435456)
*-display
description: VGA compatible controller
product: Radeon XPRESS 200M 5955 (PCIE)
vendor: ATI Technologies Inc
physical id: 5
bus info: pci@0000:01:05.0
version: 00
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list rom
configuration: driver=radeon latency=64 mingnt=8
resources: irq:17 memory:c0000000-cfffffff(prefetchable)
ioport:6000(size=256) memory:d8300000-d830ffff
memory:d8320000-d833ffff(prefetchable)
*-pci:1
description: PCI bridge
product: RS480 PCI Bridge
vendor: ATI Technologies Inc
physical id: 4
bus info: pci@0000:00:04.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pm pciexpress msi ht bus_master cap_list
resources: ioport:4000(size=8192) memory:d4000000-d7ffffff
memory:84000000-841fffff(prefetchable)
*-pci:2
description: PCI bridge
product: RS480 PCI Bridge
vendor: ATI Technologies Inc
physical id: 5
bus info: pci@0000:00:05.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pm pciexpress msi ht bus_master cap_list
resources: ioport:2000(size=8192) memory:d0000000-d3ffffff
memory:84200000-843fffff(prefetchable)

(...)

*-ide
description: IDE interface
product: IXP SB400 IDE Controller
vendor: ATI Technologies Inc
physical id: 14.1
bus info: pci@0000:00:14.1
logical name: scsi0
logical name: scsi1
version: 00
width: 32 bits
clock: 66MHz
capabilities: ide msi bus_master cap_list emulated
configuration: driver=pata_atiixp latency=64
resources: irq:16 ioport:1f0(size=8) ioport:3f6
ioport:170(size=8) ioport:376 ioport:7010(size=16)
*-disk
description: ATA Disk
product: FUJITSU MHV2040A
vendor: Fujitsu
physical id: 0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 0000
serial: NT38T5525BYR
size: 37GiB (40GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=000df3c8
*-volume:0
description: EXT4 volume
vendor: Linux
physical id: 1
bus info: scsi@0:0.0.0,1
logical name: /dev/sda1
logical name: /
version: 1.0
serial: 8dae9156-579c-4688-95ec-7318a912c135
size: 35GiB
capacity: 35GiB
capabilities: primary bootable journaled
extended_attributes large_files huge_files dir_nlink recover extents ext4
ext2 initialized
configuration: created=2011-07-10 12:10:34
filesystem=ext4 lastmountpoint=/y�e=���X�����:�t��E�
�݁/�h��>0!
modified=2011-07-11 14:46:03 mount.fstype=ext4
mount.options=rw,relatime,errors=remount-ro,barrier=1,data=ordered
mounted=2011-07-12 00:32:08 state=mounted
*-volume:1
description: Extended partition
physical id: 2
bus info: scsi@0:0.0.0,2
logical name: /dev/sda2
size: 1610MiB
capacity: 1610MiB
capabilities: primary extended partitioned
partitioned:extended
*-logicalvolume
description: Linux swap / Solaris partition
physical id: 5
logical name: /dev/sda5
capacity: 1610MiB
capabilities: nofs
*-cdrom
description: DVD writer
product: UJ-840D
vendor: MATSHITA
physical id: 1
bus info: scsi@1:0.0.0
logical name: /dev/cdrom
logical name: /dev/cdrw
logical name: /dev/dvd
logical name: /dev/dvdrw
logical name: /dev/scd0
logical name: /dev/sr0
version: 1.02
capabilities: removable audio cd-r cd-rw dvd dvd-r
configuration: ansiversion=5 status=nodisc
*-isa
description: ISA bridge
product: IXP SB400 PCI-ISA Bridge
vendor: ATI Technologies Inc
physical id: 14.3
bus info: pci@0000:00:14.3
version: 00
width: 32 bits
clock: 66MHz
capabilities: isa bus_master
configuration: latency=0
*-pci:3
description: PCI bridge
product: IXP SB400 PCI-PCI Bridge
vendor: ATI Technologies Inc
physical id: 14.4
bus info: pci@0000:00:14.4
version: 00
width: 32 bits
clock: 66MHz
capabilities: pci bus_master vga_palette
resources: ioport:1000(size=4096) memory:d8000000-d82fffff
memory:80000000-83ffffff(prefetchable)

(...)

*-pci:1
description: Host bridge
product: K8 [Athlon64/Opteron] HyperTransport Technology
Configuration
vendor: Advanced Micro Devices [AMD]
physical id: 101
bus info: pci@0000:00:18.0
version: 00
width: 32 bits
clock: 33MHz
*-pci:2
description: Host bridge
product: K8 [Athlon64/Opteron] Address Map
vendor: Advanced Micro Devices [AMD]
physical id: 102
bus info: pci@0000:00:18.1
version: 00
width: 32 bits
clock: 33MHz
*-pci:3
description: Host bridge
product: K8 [Athlon64/Opteron] DRAM Controller
vendor: Advanced Micro Devices [AMD]
physical id: 103
bus info: pci@0000:00:18.2
version: 00
width: 32 bits
clock: 33MHz
*-pci:4
description: Host bridge
product: K8 [Athlon64/Opteron] Miscellaneous Control
vendor: Advanced Micro Devices [AMD]
physical id: 104
bus info: pci@0000:00:18.3
version: 00
width: 32 bits
clock: 33MHz
configuration: driver=k8temp
resources: irq:0

I had a similar thing happen with a sony vaio running xubuntu, but only on
startup, and an fsck usually took care of it for a week or two. Not so
here. fsck fixes some fs errors, but the kernel errors persist and the
freezing persists. My guess is a physical problem between the system board
and the ide controller, but any help at all would be greatly appreciated.

Share: 

 

5 Answers Found

 
Answer #1    Answered On: Feb 05    

Try testing the RAM to see if there are any problems with one of the
memory sticks - would be as well re-seating both stick too and/or
testing them singly.

 
Answer #2    Answered On: Feb 05    

The computer came with one 1gb memory stick, I bought
another 1gb to reach the max for this system. It WAS shortly after this
that the problems started. I have checked the memory using bios tools and
also memtest86, clean on both counts. Today I decided to run the computer
with one stick, check for kernel errors, then run with the other stick and
check for errors. Both sticks worked fine alone, but when I put them both
in the kernel errors reappear. I even put them in different slots alone, no
problem. I even ran the memory test on each stick, then on both sticks. No
sign of a problem. Not sure what to try next, I'd really like to get both
sticks working together.

 
Answer #3    Answered On: Feb 05    

You have encountered that rare situation where the small differences in the
internal timing of the two RAM modules makes them incompatible. I doubt if
there is anything that can be done to makes them work reliably in your
system. Are they both made by the same manufacturer? (I doubt it.)

It is not a cost effective solution, and no guarantees, but probably two
identical new, or used, sticks would work perfectly. Identical is the key.
Otherwise just use one stick, which will probably give satisfactory
performance. I'm running 11.04 on my old 2GHz laptop with one GB of RAM and
it seems snappy enough.

 
Answer #4    Answered On: Feb 05    

Agree that the two sticks don't appear to get
on with each other. You may have success slowing down memory timings
in the BIOS if you can - laptops are notorious for having a crippled
BIOS that doesn't allow much in the way of tweaking !!

If that isn't an option then the only way to get 2Gb working would be
to purchase a matched pair of 1Gb sticks - is it worth it when 1Gb is
probably going to be ample for most situations ?

 
Answer #5    Answered On: Feb 05    

My thoughts exactly, and the installed BIOS is worthless for tweaking
anything. A few diagnostic tests, enable/disable hardware, and boot
options, that's about it. Oh well, at least we have a backup memory module
in case the installed one fails at some point. Thanks again for your help.

 
Didn't find what you were looking for? Find more on hard drive kernel errors Or get search suggestion and latest updates.




Tagged: