Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 93694

Summary: raidtools mkraid aborts when creating superblock
Product: Gentoo Linux Reporter: Radek "rush" Senfeld <rush>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: amd64
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: added __x86_64__

Description Radek "rush" Senfeld 2005-05-23 07:00:38 UTC
mkraid exits after device print-out and refuses to create an array when
permanent super-block turned on. The cause is that in raid_io.c is on AMD64 used
wrong _llseek function, lseek is the good one. more information is here:
http://www.usenetlinux.com/archive/index.php/t-188311.html

Reproducible: Always
Steps to Reproduce:
Comment 1 Radek "rush" Senfeld 2005-05-23 07:21:15 UTC
Created attachment 59628 [details]
added __x86_64__

I don't know if this file is good location for this modification. All I did is
that I added __x86_64__ to those two ifdefs to force using lseek instead of
_llseek
Comment 2 Mike Doty (RETIRED) gentoo-dev 2005-05-28 12:18:48 UTC
why the __PIC__ ?  I think that might break other archs.
Comment 3 SpanKY gentoo-dev 2005-05-28 14:36:05 UTC
the patch he posted is an updated one of the PIC we use currently ...

it's outdated ... with newer linux headers we shouldnt need the PIC check
anymore ...

anyways, added the x86_64 check to the patch, thanks