
some things to try:
0. stating the obvious, but maybe try a different kernel. you don't mention what version of ubuntu you're running (the latest?) but you could see if there's an updated kernel for it.
Just upgraded to a new one today, but before rebooting into new kernel, everything got chucked into RO again (dmesg barf at the bottom). Presently: $ uname -a Linux AH01 4.2.0-25-generic #30-Ubuntu SMP Mon Jan 18 12:31:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux $ dpkg --get-selections | grep linux-image linux-image-4.2.0-23-generic install linux-image-4.2.0-25-generic install linux-image-extra-4.2.0-23-generic install linux-image-extra-4.2.0-25-generic install linux-image-generic install I also have an nvidia graphics card running the binary driver. To date, I've found the nvidia + nouveau drivers crack the sads if KMS is enabled, so my grub config adds "nomodeset" to kernel boot parms.
if there isn't one, you could use the liquorix kernel (latest liquorix version which runs on both debian and ubuntu is linux-image-4.3-3.dmz.6-liquorix-amd64. i've installed that but haven't got around to rebooting yet, so am still running linux-image-4.3-3.dmz.2-liquorix-amd64).
Will have a squiz!
1. disable AHCI in the BIOS.
Done - dmesg still noisy as all buggery. I'll tackle Windows 10 (the lesser used, dual booted OS on the system) at another time (it will no doubt bitch and moan about the change from AHCI to "IDE" mode).
2. disable AHCI in the BIOS and move both SATA drives onto the Marvell 6Gbps ports and use the sata_mv driver (which is in the mainline kernel, has been for years). The driver has a few parms that might be worth reading about and experimenting with. ... marvell ports should be labelled GSATA3_6 and GSATA3_7
I'll give that a go next!
NOTE: I'm not a fan of marvell sata (i had problems with them in the distant past but the bugs have probably been fixed long ago, and they're not exactly high-performance controllers, they're decidedly low-budget stuff), but it's worth a try.
Heh, yeah, I'm getting that impression of it. The mobo also has an old NEC/Renesas USB3 chip which from what I'm told can also be problematic.
the DVD can stay where it is on one of the 3Gbps SATA ports.
I'll have to check if indeed that's where it is. The more I go through the screens, the less confident I feel about what's plugged where :) #unplugallthedrives :)
3. Check all other settings in the BIOS and make sure they're reasonably sane. Since BIOS features and options tend to be extremely badly documented (if at all) this isn't as easy as it sounds. unless you have another computer with internet access nearby you be able to google any of the more obscure settings from the BIOS. and the "helpful descriptions" of the options in the bios screen are generally neither helpful nor descriptive.
Perhaps it could be best described as BIOS Engrish? In terms of performance options, I tend to select the default and not overclock (I figure with only a stock heatsink on the CPU, it'd be bad to fiddle). I might give Google a whirl on my phone when next in the BIOS config.
5. Buy a 2 or 4 port PCI-e SATA 3 6Gbps card using a known good ... if you want to be certain you're getting something good and don't mind a bit of overkill for the task at hand, look for one of the LSI 2008 SAS controllers. there are many brands with re-badged versions, including the IBM M1015 which typically sell for around $100 on ebay for an 8-port card - I have three of these and they're great. OTOH, $100-ish is not too far off what the cheapest new Haswell CPU + m/b would cost.
I guess this is my primary desktop machine, so I'm not beyond making it more reliable. I mean, the 3TB "enterprise" drive was probably a bit of overkill in and of itself, but I figured it'd be running a lot of the time, and would hold a lot of my data.
5. which brings us to the final option: replace the m/b and cpu. The ... dunno what CPU you've got in your current board or how it compares to the G1840....but swapping the m/b should not only fix your current
Heh, yeah.. even when I bought the machine it wasn't blinged out - I just wanted something with the CPU and enough RAM to run a couple of VMs if and when required. Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz NVIDIA Corporation G92 [GeForce GTS 250] (rev a2) Seasonic 750W PSU It has been awhile since I got this machine (April '10), though the 3TB drive is a lot newer than the rest of it. Today's blargh (turns out knowing basic SMTP is handy in these situations :)): [200860.130029] ------------[ cut here ]------------ [200860.130035] WARNING: CPU: 3 PID: 26390 at /build/linux-AFqQDb/linux-4.2.0/fs/buffer.c:1160 mark_buffer_dirty+0xf3/0x100() [200860.130036] Modules linked in: nls_utf8 btrfs xor raid6_pq ufs qnx4 hfsplus hfs minix ntfs msdos jfs [200860.130044] Buffer I/O error on dev sdb1, logical block 0, lost sync page write [200860.130045] xfs libcrc32c cpuid binfmt_misc nfsv3 nfs_acl rpcsec_gss_krb5 auth_rpcgss nfsv4 nfs lockd grace fscache bnep rfcomm bluetooth uas usb_storage pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) nvidia(POE) coretemp kvm_intel mxm_wmi snd_hda_codec_realtek snd_hda_codec_generic i7core_edac kvm snd_hda_intel snd_hda_codec snd_hda_core gpio_ich snd_hwdep snd_pcm drm edac_core input_leds snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq serio_raw snd_seq_device snd_timer wmi snd 8250_fintek shpchp soundcore lpc_ich mac_hid sunrpc parport_pc ppdev lp parport autofs4 pata_acpi hid_generic usbhid hid firewire_ohci firewire_core r8169 pata_it8213 crc_itu_t mii ahci libahci [200860.130079] CPU: 3 PID: 26390 Comm: Cache2 I/O Tainted: P OE 4.2.0-23-generic #28-Ubuntu [200860.130081] Hardware name: Gigabyte Technology Co., Ltd. P55A-UD4/P55A-UD4, BIOS F15 09/16/2010 [200860.130082] 0000000000000000 000000007621f8ae ffff8801486a7b48 ffffffff817e94c9 [200860.130084] 0000000000000000 0000000000000000 ffff8801486a7b88 ffffffff8107b3d6 [200860.130086] ffffffff81ac2d38 ffffffff81d2a8a0 ffff880211ff80d0 00000000012e8320 [200860.130087] Call Trace: [200860.130093] [<ffffffff817e94c9>] dump_stack+0x45/0x57 [200860.130097] [<ffffffff8107b3d6>] warn_slowpath_common+0x86/0xc0 [200860.130099] [<ffffffff8107b50a>] warn_slowpath_null+0x1a/0x20 [200860.130101] [<ffffffff812323b3>] mark_buffer_dirty+0xf3/0x100 [200860.130104] [<ffffffff812a4613>] ext4_commit_super+0x1a3/0x260 [200860.130106] [<ffffffff812a4ddd>] __ext4_std_error+0x6d/0xf0 [200860.130108] [<ffffffff812337bf>] ? __getblk_gfp+0x2f/0x60 [200860.130112] [<ffffffff81287fc0>] ext4_mark_iloc_dirty+0x4f0/0x710 [200860.130114] [<ffffffff81289764>] ? ext4_truncate+0x1c4/0x3e0 [200860.130116] [<ffffffff81288303>] ext4_mark_inode_dirty+0x83/0x200 [200860.130118] [<ffffffff81289764>] ext4_truncate+0x1c4/0x3e0 [200860.130120] [<ffffffff8128b2b4>] ext4_setattr+0x3f4/0x870 [200860.130122] [<ffffffff8123e8b6>] ? fsnotify+0x316/0x4a0 [200860.130125] [<ffffffff8121a165>] notify_change+0x235/0x360 [200860.130128] [<ffffffff811fa055>] do_truncate+0x75/0xc0 [200860.130131] [<ffffffff811fb049>] do_sys_ftruncate.constprop.13+0x119/0x170 [200860.130133] [<ffffffff811fe109>] ? SyS_write+0x79/0xc0 [200860.130135] [<ffffffff811fb25e>] SyS_ftruncate+0xe/0x10 [200860.130138] [<ffffffff817f02b2>] entry_SYSCALL_64_fastpath+0x16/0x75 [200860.130139] ---[ end trace 0603547224088737 ]--- [200860.130147] Buffer I/O error on dev sdb1, logical block 0, lost sync page write [201106.718794] scsi_io_completion: 2 callbacks suppressed [201106.718804] sd 9:0:0:0: [sdb] tag#21 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK [201106.718810] sd 9:0:0:0: [sdb] tag#21 CDB: Read(16) 88 00 00 00 00 00 1e 34 b0 40 00 00 00 08 00 00 [201106.718812] blk_update_request: 2 callbacks suppressed [201106.718815] blk_update_request: I/O error, dev sdb, sector 506769472 [201106.718838] sd 9:0:0:0: [sdb] tag#22 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK [201106.718842] sd 9:0:0:0: [sdb] tag#22 CDB: Read(16) 88 00 00 00 00 00 1e 34 b0 40 00 00 00 08 00 00 [201106.718845] blk_update_request: I/O error, dev sdb, sector 506769472 [202459.714979] sd 9:0:0:0: [sdb] tag#27 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK [202459.714984] sd 9:0:0:0: [sdb] tag#27 CDB: Read(16) 88 00 00 00 00 00 1e 34 b0 40 00 00 00 08 00 00 [202459.714986] blk_update_request: I/O error, dev sdb, sector 506769472 [202459.760308] sd 9:0:0:0: [sdb] tag#28 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK [202459.760330] sd 9:0:0:0: [sdb] tag#28 CDB: Read(16) 88 00 00 00 00 00 1e 34 b0 40 00 00 00 08 00 00 [202459.760337] blk_update_request: I/O error, dev sdb, sector 506769472