Re: [gentoo-user] X-Server-1.8 and Intel i915 modesetting stability

2010-06-30 Thread Andrea Conti
1. On boot up, the screen goes completely black until the xserver is started. KMS provides its own framebuffer console driver -- disable any other framebuffer drivers such as (u)vesafb and enable FRAMEBUFFER_CONSOLE_DETECT_PRIMARY under drivers/graphics support/console display driver support.

Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-07 Thread Andrea Conti
Does anyone has experiences with gparted? I have no experience with Parted Magic, but I have used a lot the Gparted live CD (http://gparted.sourceforge.net/livecd.php). No idea on how the two compare. As for gparted (which is a lot more than a gui for parted), I have used it on ext4 a couple of

Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-06 Thread Andrea Conti
1. boot up knoppix 2. create a partition: mkdir /work 3. mount /work to the root partition: mount /dev/sdc /work 4. cd /work/usr/bin 5. run dcfldd: ./dcfldd This is fine, provided that 1- if the root partition is [part of] what you're copying, you *must* mount it read-only (mount -o ro

Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-06 Thread Andrea Conti
1- if the root partition is [part of] what you're copying, you *must* mount it read-only (mount -o ro /dev/sdc /work) Not from my experience; I simply mount, exec, and go - Works fine Let's say you are 50% done copying a partition, when something writes to it. If the write only affects the

Re: [gentoo-user] Fast checksumming of whole partitions

2010-06-05 Thread Andrea Conti
Is there any faster and reliable way to checksum whole paritions (not on per file base)??? It depends on where your bottleneck is... If you're cpu-bound you can try with a faster hash: md5sum or even md4sum would be a good choice (collision resistance is irrelevant in this application). On

Re: [gentoo-user] Re: Harddisk trouble ... or not yet?

2010-05-29 Thread Andrea Conti
ata1.00: failed command: READ DMA ata1.00: cmd c8/00:80:00:3f:c1/00:00:00:00:00/e0 tag 0 dma 65536 in res 51/84:4f:00:3f:c1/00:00:00:00:00/e0 Emask 0x10 (ATA bus error) ata1.00: status: { DRDY ERR } ata1.00: error: { ICRC ABRT } ata1: soft resetting link ata1.00: configured for

Re: [gentoo-user] Re: Harddisk trouble ... or not yet?

2010-05-29 Thread Andrea Conti
Hi, I tried these kernels (all vanilla): 2.6.32.13 2.6.33.5 2.6.34.0 So it's not a known problem that has been fixed. Just a wild guess... can you try recompiling the kernel *without* pata_via? Some people have reported having problems with sata drives on VIA controllers when pata_via is

Re: [gentoo-user] Re: Harddisk trouble ... or not yet?

2010-05-27 Thread Andrea Conti
I was more thinking of a tool, which test the whole disc surface and reports every bad sector. badblocks -wvs (which takes forever, but in my experience is quite good at make failing disks actually fail ;) During the test you can monitor the smart attributes (smartctl -A, esp. the reallocated

Re: [gentoo-user] x86 boot failure

2010-05-07 Thread Andrea Conti
Are you sure ext[234] is compiled statically into the kernel in this .config? Also the drivers for the EIDE / SATA controller. Missing FS and/or controller drivers will result in a regular kernel boot with a panic at the end, when it's time to mount root and load init. In this case grubs

Re: [gentoo-user] Strategy for using SAN/NAS for storage with Gentoo...

2010-03-16 Thread Andrea Conti
1. Are there reliability issues surrounding this technology in Gentoo? My only experience is with a Gentoo-based iSCSI target (ie. server); my clients are windows-based. The system is a low-end Core 2 duo running the latest stable kernel and Iscsi Enterprise Target; I have been running this

Re: [gentoo-user] Re: Strategy for using SAN/NAS for storage with Gentoo...

2010-03-15 Thread Andrea Conti
Hi, The budget is miniscule - and the performance demands (bandwidth and latency) are completely non-challenging. This IMHO pretty much rules out any kind of server-class hardware, which tends to be both costly and power-hungry. If you're thinking about buying used stuff, be sure to factor in

Re: [gentoo-user] Re: Who believes in cylinders?

2010-02-28 Thread Andrea Conti
Many years ago I wrote an OS/2 program to handle all of this. Perhaps I should blow the dust off it, convert it to use POSIX functions and publish it as FOSS. Why reinvent the wheel? Just use 'sfdisk -d'. andrea

Re: [gentoo-user] recovering RAID from an old server

2010-02-21 Thread Andrea Conti
Agreed, however Iain also said that he tried to mount individual partitions and this failed. This should work with RAID1 Only if you force the filesystem type (i.e. mount -t xxx, or use mount.xxx directly). However, while I know this works with ext2/ext3/ext4, I have no idea if xfs is also

Re: [gentoo-user] recovering RAID from an old server

2010-02-21 Thread Andrea Conti
The RAID superblock is at the end of the filesystem, to avoid any conflicts with the filesystem superblock. It can be either at the start, at the end or even 4K into the device, depending on which format (metadata revision) is used. In this case I suppose it's 0.90, which is stored at the

Re: [gentoo-user] recovering RAID from an old server

2010-02-20 Thread Andrea Conti
md: bindhdg2,1 md: bindhde2,2 md: bindhda2,3 raid1: raid set md100 active with 3 out of 4 mirrors md: bindhdg5,1 md: bindhde5,2 md: bindhda5,3 raid1: raid set md101 active with 3 out of 4 mirrors AFAICT this is all you need to know -- you definitely have two software (mdraid) RAID 1

<    1   2