Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93694 - raidtools mkraid aborts when creating superblock
Summary: raidtools mkraid aborts when creating superblock
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-23 07:00 UTC by Radek "rush" Senfeld
Modified: 2005-05-28 14:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
added __x86_64__ (raidtools-1.00.3-PIC.patched,772 bytes, text/plain)
2005-05-23 07:21 UTC, Radek "rush" Senfeld
Details

Note You need to log in before you can comment on or make changes to this bug.
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