Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dmraid with kernel > 2.6.15 [SOLVED]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Freman
n00b
n00b


Joined: 04 May 2005
Posts: 27

PostPosted: Tue Sep 05, 2006 3:40 am    Post subject: Reply with quote

I am also having this issue on both the amd64 and the x86 discs.
_________________
To err is human... but to trully mess things up you need a computer
Back to top
View user's profile Send private message
thauer
n00b
n00b


Joined: 28 Aug 2004
Posts: 22
Location: Switzerland

PostPosted: Tue Sep 05, 2006 8:16 am    Post subject: Reply with quote

Thanks for fixing the ebuild!

Unfortunately for me this thing still does not work and I am getting worried (I did a GCC upgrade but can't upgrade the kernel because of this)

What I can see over here is that /dev/mapper does not get created at all.

dmraid:

Code:
[ Found these USE variables for sys-fs/dmraid-1.0.0_rc12 ]
 U I
 - - selinux : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
 + + static  : !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically

genkernel.conf:

Code:
DMRAID_VER="1.0.0.rc12-pre1"
DMRAID_DIR="dmraid/${DMRAID_VER}"
DMRAID_SRCTAR="${GK_SHARE}/pkg/dmraid-${DMRAID_VER}.tar.bz2"
DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"


kernel:

Code:
lrwxrwxrwx 1 root root 22 Sep  4 12:39 /usr/src/linux -> linux-2.6.17-gentoo-r7

dmraid seems to work fine, kernel boots ok, but /dev/mapper does not get created
Any hint would be appreciated!

Thanks,

Tamas
Back to top
View user's profile Send private message
BobBraumeister
n00b
n00b


Joined: 12 Jul 2006
Posts: 15

PostPosted: Tue Sep 05, 2006 6:22 pm    Post subject: Problem with Hardware RAID (no /dev/mapper-Device) Reply with quote

Hi there,

I'm using an Mainboard with nForce4-Chipset. I buyed 2 western digital 320gb sata2 hard disks and connected them to the first controller (shouldn't matter to which of them). Then I enabled RAID in my BIOS (raid 0 - stripe) and it shows up as 'healthy'.

Dmraid detects my RAID correctly (i think):
Code:
# ./dmraid -s
*** Set
name   : nvidia_dcaciaac
size   : 1250284892
stride : 128
type   : stripe
status : ok
subsets: 0
devs   : 2
spares : 0


But there is no device availible :(
Code:
# ls /dev/mapper/
control


Greetings and thanks in advance
_________________
Don't wonder about the name, it's pronounced german ;)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Tue Sep 05, 2006 7:54 pm    Post subject: Reply with quote

BobBraumeister,

dmraid is for BIOS fakeraid, or BIOS softare raid. The only reason for using that is that Linux and Windows must share the raid set. On a pure Linux system, kernel raid is much preferred.

You will need to make a kernel with an initrd that supports dmraid. For kernels <=2.6.15, you want dmraid-1.0.0-rc8 for later kernels you need dmraid-1.0.0-rc12
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Wed Sep 06, 2006 12:36 am    Post subject: Reply with quote

krnlbg wrote:
When i using LiveCD 2006.1 with dodmraid option, i can't detect my fakeraid device(NVRAID 0) in /dev/mapper, but with 2006.0 it's ok.
May be that's because kernel 2.6.17 and dmraid 1.0.0-rc8?

Well, it's likely. You should try another live-cd.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
RaceTM
Apprentice
Apprentice


Joined: 16 Feb 2004
Posts: 281

PostPosted: Wed Sep 06, 2006 1:58 am    Post subject: Dual Booting Gentoo/WinXP off raid 0..getting desperate! Reply with quote

Hey guys,

I have been at this all weekend but I am afraid I have hit an impass. Right now, I have successfully created a chrooted environment after booting off of a knoppix disk. I have compiled a kernel with dmraid and the necessary sata drivers, but I am having problems getting grub to install correctly. After getting grub to work, my plan is to copy the first sector of the boot partition to an image file and boot this using the ntloader (since I have heard that having your boot partition on a raid 0 array will not work). Not even sure if this will work, but nothing else has, so I'm grasping at straws now.

This is what happens when I attempt to set up grub:

Knoppix / #grub --device-map=/dev/null
> device (hd0) /dev/mapper/pdc_daaibcic
> device (hd0,0) /dev/mapper/pdc_daaibcic1
> root (hd0,0)FLOATING POINT EXCEPTION
Knoppix / #

I have tried to emerge every version of grub available, and they have all either done the same thing, or not compiled successfully. I would appreciate any insight anyone could give.



My configuration is:
Promise S150TXII+ PCI sata raid adapter
2 WD raptor HDs in raid 0
Gentoo 2.6 kernel with dmraid installed and enabled
array partitioned as: [50 mb boot] [15gb windows] [15 gb root][extended [1 gb swap][files (fat32)]]

I have been using the following links as reference:
https://forums.gentoo.org/viewtopic-t-258981.html
http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Bios_(Onboard)_RAID
https://forums.gentoo.org/viewtopic-t-244941-postdays-0-postorder-asc-start-0.html
http://tienstra4.flatnet.tudelft.nl/~gerte/gen2dmraid/

I am all googled out and have nowheree else to turn. Help me Gentoo masters!!
Back to top
View user's profile Send private message
rekr
n00b
n00b


Joined: 30 Aug 2006
Posts: 6

PostPosted: Wed Sep 06, 2006 9:01 am    Post subject: Reply with quote

Can someone explain exatcly how to emerge dmraid-1.0.0.rc12 and compile it, a small step by step guide would be useful, thx. I have tried using an overlay but I can never get it to compile craps out with an unable to locate dmraid.h error.


Thanks
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Wed Sep 06, 2006 11:19 am    Post subject: Reply with quote

rekr,

I've merged this thread with the dmraid sticky. Note that dmraid-1.0.0-rc12 is in portage now.
It may be keyworded testing though.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
rekr
n00b
n00b


Joined: 30 Aug 2006
Posts: 6

PostPosted: Fri Sep 08, 2006 1:42 pm    Post subject: Reply with quote

Yep its in portage, still can't get it to emerge properly:

Quote:
emerge sys-fs/dmraid
Calculating dependencies... done!

>>> Emerging (1 of 1) sys-fs/dmraid-1.0.0_rc12 to /
* dmraid-1.0.0.rc12-pre1.tar.bz2 MD5 ;-) ... [ ok ]
* dmraid-1.0.0.rc12-pre1.tar.bz2 RMD160 ;-) ... [ ok ]
* dmraid-1.0.0.rc12-pre1.tar.bz2 SHA1 ;-) ... [ ok ]
* dmraid-1.0.0.rc12-pre1.tar.bz2 SHA256 ;-) ... [ ok ]
* dmraid-1.0.0.rc12-pre1.tar.bz2 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking dmraid-1.0.0.rc12-pre1.tar.bz2 ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.17-reiser4-r1-nosmp
>>> Unpacking source...
>>> Unpacking dmraid-1.0.0.rc12-pre1.tar.bz2 to /var/tmp/portage/dmraid-1.0.0_rc12/work
* Applying dmraid-destdir-fix.patch ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dmraid-1.0.0_rc12/work/dmraid/1.0.0.rc12-pre1 ...
* econf: updating dmraid/1.0.0.rc12-pre1/autoconf/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating dmraid/1.0.0.rc12-pre1/autoconf/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=i586-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-static_link --disable-libselinux --disable-libsepol --build=i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking for gawk... gawk
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for i586-pc-linux-gnu-ranlib... i586-pc-linux-gnu-ranlib
checking for i586-pc-linux-gnu-gcc... i586-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i586-pc-linux-gnu-gcc accepts -g... yes
checking for i586-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... i586-pc-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for struct stat.st_rdev... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether to enable debugging...
no
checking whether to enable malloc debugging...
no
checking whether to disable native metadata logging...
yes
checking whether to disable testing with mapped devices...
no
checking whether i586-pc-linux-gnu-gcc needs -traditional... no
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for mkdir... yes
checking for rmdir... yes
checking for uname... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating lib/Makefile
config.status: creating man/Makefile
config.status: creating tools/Makefile
config.status: creating tools/version.h
config.status: creating Makefile
config.status: creating make.tmpl
tools/dmraid.c:12:27: error: dmraid/dmraid.h: No such file or directory
In file included from tools/dmraid.c:13:
tools/commands.h:11:32: error: dmraid/lib_context.h: No such file or directory
In file included from tools/dmraid.c:13:
tools/commands.h:74: warning: ‘struct lib_context’ declared inside parameter list
tools/commands.h:74: warning: its scope is only this definition or declaration, which is probably not what you want
tools/commands.h:106: warning: ‘struct lib_context’ declared inside parameter list
tools/commands.h:109: warning: ‘struct lib_context’ declared inside parameter list
tools/commands.h:110: warning: ‘struct lib_context’ declared inside parameter list
In file included from tools/dmraid.c:14:
tools/toollib.h:13: warning: ‘struct lib_context’ declared inside parameter list
tools/toollib.h:14: warning: ‘struct lib_context’ declared inside parameter list
tools/toollib.h:15: warning: ‘struct lib_context’ declared inside parameter list
tools/toollib.h:18: error: expected declaration specifiers or ‘...’ before ‘size_t’
tools/toollib.h:18: warning: ‘struct lib_context’ declared inside parameter list
tools/toollib.h:19: warning: ‘struct lib_context’ declared inside parameter list
tools/dmraid.c: In function ‘main’:
tools/dmraid.c:23: warning: implicit declaration of function ‘libdmraid_init’
tools/dmraid.c:23: warning: assignment makes pointer from integer without a cast
tools/dmraid.c:34: warning: passing argument 1 of ‘handle_args’ from incompatible pointer type
tools/dmraid.c:35: warning: implicit declaration of function ‘init_locking’
tools/dmraid.c:36: warning: passing argument 1 of ‘perform’ from incompatible pointer type
tools/dmraid.c:39: warning: implicit declaration of function ‘libdmraid_exit’
tools/dmraid.c:43: warning: implicit declaration of function ‘exit’
tools/dmraid.c:43: warning: incompatible implicit declaration of built-in function ‘exit’
tools/dmraid.c:43: error: ‘EXIT_SUCCESS’ undeclared (first use in this function)
tools/dmraid.c:43: error: (Each undeclared identifier is reported only once
tools/dmraid.c:43: error: for each function it appears in.)
tools/dmraid.c:43: error: ‘EXIT_FAILURE’ undeclared (first use in this function)
tools/dmraid.c:44: warning: control reaches end of non-void function
make: *** [tools/dmraid] Error 1
make: *** Waiting for unfinished jobs....
ar: creating ../lib/libdmraid.a
../lib/libdmraid.a ../lib/libdmraid.a

!!! ERROR: sys-fs/dmraid-1.0.0_rc12 failed.
Call stack:
ebuild.sh, line 1545: Called dyn_compile
ebuild.sh, line 936: Called src_compile
dmraid-1.0.0_rc12.ebuild, line 49: Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.



Always errors out

Quote:
emerge --info sys-fs/dmraid
Portage 2.1.1_rc1-r6 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-reiser4-r1-nosmp i686)
=================================================================
System Settings
=================================================================
System uname: 2.6.17-reiser4-r1-nosmp i686 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.4
Last Sync: Thu, 07 Sep 2006 07:00:01 +0000
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r2
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-Os -march=i586 -mno-tls-direct-seg-refs -mmmx -m32"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm/ /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-Os -march=i586 -mno-tls-direct-seg-refs -mmmx -m32"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en it es de gr fr jp ga hu ja lt nb fi el pt ro ru sk sl sr sv zh_CN da ja en_GB nl pl"MAKEOPTS="-j2 -s "
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlay /usr/local/gentopia /usr/local/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7Zip X a52 aac accessibility acpi ada aim alsa amarok apache2 arts artswrappersuid asf audiofile avahi avi berkdb
bidi bitmap-fonts bluetooth cairo cdda chm cjk clearcase cli commercial config_wizard cpudetection crypt css cups dbus
dga dlloader dri dts dv dvb dvd dvdr dvdread dxr3 eds effects elibc_glibc emboss encode esd evo exscalibar ext-man ext-rtf
ext-tex extraicons extramodules fame fat ffmpeg fftw firefox flac flash foomatic-db foomaticdb fortran freetype gcj gdbm gif
gimpprint glitz gnokii gnome gnutls gphoto2 gpm gs gstreamer gtk gtk2 hal hfs icq ieee1394 imap imlib inkjar input_devices_evdev
input_devices_keyboard input_devices_mouse ipod ipv6 irc irda isdnlog jabber jack java jfs joystick jpeg
kde kdeenablefinal kdehiddenvisibility kerberos kernel_linux kqemu krb4 lcd libao libcaca libclamav libg++ libwww linguas_da
linguas_de linguas_el linguas_en linguas_en_GB linguas_es linguas_fi linguas_fr linguas_ga linguas_gr linguas_hu linguas_it
linguas_ja linguas_jp linguas_lt linguas_nb linguas_nl linguas_pl linguas_pt linguas_ro linguas_ru linguas_sk linguas_sl linguas_sr
linguas_sv linguas_zh_CN live livecd lj lm_sensors logitech-mouse lzo mad mail matroska mikmod mjpeg mmx mono motif
moznocompose moznoirc moznomail mp3 mpeg msn musepack musicbrainz mysql mythtv ncurses network new-login nls nptl
nptlonly nsplugin ntfs nvidia ogg ole openexr opengl pam pam_console pascal pcmcia pcre pda pdf pdflib perl php plugin png
postgres povray ppds pppd pwdb python qt qt3 qt4 quicktime quotas rar rdesktop readline real reflection reiser4 reiserfs
rss ruby samba scanner sdl session skins slp sms sndfile speech speex spell spl spreadsheet sql ssl stream streams subversion svg
switch_all_desktops sysfs tcpd theora truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l v4l2 vcd
video_cards_apm video_cards_ark video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy
video_cards_fbdev video_cards_fglrx video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810
video_cards_imstt video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv
video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_rendition video_cards_s3 video_cards_s3virge
video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga
video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via
video_cards_vmware video_cards_voodoo visualization voice vorbis weather webservices wifi win32codecs winbind wmf
wxwindows xfs xine xinerama xml xmms xorg xosd xpm xprint xscreensaver xsl xv xvid xvmc yahoo zeroconf zlib"

Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I'm new at all this so it may be something really simple that im doing wrong.

Edit USE= statement broken up for post legibility by NeddySeagoon
Back to top
View user's profile Send private message
RaceTM
Apprentice
Apprentice


Joined: 16 Feb 2004
Posts: 281

PostPosted: Fri Sep 08, 2006 6:16 pm    Post subject: Reply with quote

Looks like someone merged my question in to this thread; hopefully someone still sees it. Any help would be appreciated!

8O
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Fri Sep 08, 2006 8:21 pm    Post subject: Reply with quote

RaceTM,

Code:
FLOATING POINT EXCEPTION
Is a Very Bad Thing.
Normally it implies you have asked the FPU to execute an instruction its never heard of.

Please post your /proc/cpuinfo and emerge --info
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Fri Sep 08, 2006 8:33 pm    Post subject: Reply with quote

rekr

Code:
checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
You appear to be making for an i586.

It claims you have a file missing
Code:
tools/dmraid.c:12:27: error: dmraid/dmraid.h: No such file or directory

Do you ?
It will be at /var/tmp/portage/dmraid-1.0.0_rc12/work/dmraid/dmraid.h after the emerge failed.
If its not there, is the filesystem full ?

I can say WorksForMe building for an Athlon-XP with an i686 tool chain
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2995
Location: Bay Area, CA

PostPosted: Fri Sep 08, 2006 9:29 pm    Post subject: Reply with quote

why are two different issues tracked as one?

grub one looks like a geometry issue. Please have a look at the wiki again.
compile one looks like a corrupt tar or file system full error.
Back to top
View user's profile Send private message
rekr
n00b
n00b


Joined: 30 Aug 2006
Posts: 6

PostPosted: Sat Sep 09, 2006 9:20 am    Post subject: Reply with quote

NeddySeagoon wrote:
rekr

Code:
checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
You appear to be making for an i586.

It claims you have a file missing
Code:
tools/dmraid.c:12:27: error: dmraid/dmraid.h: No such file or directory

Do you ?
It will be at /var/tmp/portage/dmraid-1.0.0_rc12/work/dmraid/dmraid.h after the emerge failed.
If its not there, is the filesystem full ?

I can say WorksForMe building for an Athlon-XP with an i686 tool chain



NeddySeagoon,

If that file is missing how would I got about getting it?

Thanks,

Rekr
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Sat Sep 09, 2006 10:47 am    Post subject: Reply with quote

rekr,

That file is supplied as a part of the dmraid tarball, or derived from such a file.
Its very unlikely to be missing just for you, unless you have filled your /var/tmp/portae filesystem.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2995
Location: Bay Area, CA

PostPosted: Sat Sep 09, 2006 5:09 pm    Post subject: Reply with quote

I just did an unpack of that same very ebuild. The file is present. And it compiles fine. Have you checked the space on the disk? Have you done an 'emerge --sync', /bin/rm /usr/portage/distfiles/*dmraid* followed by a re-compile? That would be first thing I would try if disk space is present.

post output of :
Code:
df -k /var/tmp/portage


if you mounted it on tmpfs and have garbage lying in /var/tmp/portage, it will fill in even faster.
Back to top
View user's profile Send private message
ElSenorPantelone
n00b
n00b


Joined: 24 Jan 2006
Posts: 72

PostPosted: Sat Sep 09, 2006 9:40 pm    Post subject: Kernel will not boot with dmraid setup Reply with quote

I installed gentoo on a friend's computer with a 2.6.17-r7 kernel, but I am unable to boot the system.
I dual boot with windows, so I need to use dmraid instead of kernel raid. I got grub to install properly by manually
specifying the cylinders, heads, and sectors. I followed the gentoo dmraid guide, but I do not want to use
genkernel because I have always configured my own.

To cut to the chase, I have 3 partitions, /dev/mapper/nvidia_xxxxxx1 is windows/ntfs /dev/mapper/nvidia_xxxxx2
is swap and /dev/mapper/nvidia_xxxxxx3 is root with reiserfs.

When the kernel boots, I have an ramdisk that should contain the dmraid program for constructing the array,
but when I boot the kernel, md does not find any arrays. I am pretty damn sure that I compiled the proper
support into the kernel. I have a 2 NVRaid SATA controllers, and installed sata support into the kernel with
the nvidia driver. I am using 4 harddrives in raid0 and I can't, for the life of me, figure out why the system is not booting.

I have the outputs of lspci lsmod and dmesg, which I will subsequently attach, and, I will attach the kernel
configuration file, if someone tells me where to find it.

LSPCI:
00:00.0 Host bridge: nVidia Corporation Unknown device 0071 (rev c1)
00:00.1 RAM memory: nVidia Corporation Unknown device 007f (rev a1)
00:00.2 RAM memory: nVidia Corporation Unknown device 0075 (rev a1)
00:00.3 RAM memory: nVidia Corporation Unknown device 006f (rev a1)
00:00.4 RAM memory: nVidia Corporation Unknown device 00b4 (rev a1)
00:01.0 RAM memory: nVidia Corporation Unknown device 0076 (rev a1)
00:01.1 RAM memory: nVidia Corporation Unknown device 0078 (rev a1)
00:01.2 RAM memory: nVidia Corporation Unknown device 0079 (rev a1)
00:01.3 RAM memory: nVidia Corporation Unknown device 007a (rev a1)
00:01.4 RAM memory: nVidia Corporation Unknown device 007b (rev a1)
00:01.5 RAM memory: nVidia Corporation Unknown device 007c (rev a1)
00:01.6 RAM memory: nVidia Corporation Unknown device 007d (rev a1)
00:02.0 PCI bridge: nVidia Corporation Unknown device 007e (rev a2)
00:04.0 PCI bridge: nVidia Corporation Unknown device 007e (rev a2)
00:05.0 PCI bridge: nVidia Corporation Unknown device 007e (rev a2)
00:06.0 PCI bridge: nVidia Corporation Unknown device 007e (rev a2)
00:07.0 PCI bridge: nVidia Corporation Unknown device 007e (rev a2)
00:09.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a4)
00:0a.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a4)
00:0a.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:0b.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:0b.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a4)
00:0d.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
00:0f.0 IDE interface: nVidia Corporation CK804 IDE (rev f3)
00:10.0 RAID bus controller: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:11.0 RAID bus controller: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:12.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:13.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
00:14.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:16.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:17.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
01:00.0 PCI bridge: nVidia Corporation Unknown device 01b3 (rev a3)
02:00.0 PCI bridge: nVidia Corporation Unknown device 01b3 (rev a3)
02:01.0 PCI bridge: nVidia Corporation Unknown device 01b3 (rev a3)
03:00.0 3D controller: nVidia Corporation Unknown device 0294 (rev a1)
04:00.0 VGA compatible controller: nVidia Corporation Unknown device 0294 (rev a1)
06:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)
08:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
09:0b.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)

LSMOD:
Module Size Used by
ipv6 262016 8
snd_mpu401 9352 0
analog 12000 0
ns558 6660 0
parport_pc 42216 0
parport 40716 1 parport_pc
floppy 69288 0
pcspkr 3464 0
rtc 11048 0
sky2 40960 0
nvidia 4059260 0
sk98lin 153056 0
i2c_nforce2 8704 0
i2c_core 24064 1 i2c_nforce2
forcedeth 25604 0
snd_pcm_oss 52768 0
snd_mixer_oss 18432 1 snd_pcm_oss
snd_seq_dummy 5252 0
snd_seq_oss 34048 0
snd_seq_midi_event 9216 1 snd_seq_oss
snd_seq 56384 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_ymfpci 88896 0
snd_vx222 15904 0
snd_vx_lib 34176 1 snd_vx222
snd_via82xx_modem 17292 0
snd_via82xx 30632 0
snd_trident 46148 0
snd_sonicvibes 25732 0
snd_rme9652 29924 0
snd_rme96 25924 0
snd_rme32 25344 0
snd_nm256 72100 0
snd_mixart 38496 0
snd_maestro3 27588 0
snd_korg1212 43080 0
snd_intel8x0m 19860 0
snd_intel8x0 35880 1
snd_ice1724 72448 0
snd_ak4114 11776 1 snd_ice1724
snd_ice1712 66080 0
snd_ice17xx_ak4xxx 5760 2 snd_ice1724,snd_ice1712
snd_ak4xxx_adda 8192 3 snd_ice1724,snd_ice1712,snd_ice17xx_ak4xxx
snd_cs8427 11520 1 snd_ice1712
snd_i2c 7168 2 snd_ice1712,snd_cs8427
snd_hdspm 36416 0
snd_hdsp 48580 0
firmware_class 12544 3 snd_vx_lib,snd_mixart,snd_hdsp
snd_hda_intel 19096 0
snd_hda_codec 97792 1 snd_hda_intel
snd_fm801 21732 0
snd_tea575x_tuner 5632 1 snd_fm801
videodev 12672 1 snd_tea575x_tuner
snd_es1968 32800 0
snd_es1938 24772 0
snd_ens1371 27264 0
snd_ens1370 22016 0
snd_ak4531_codec 10752 1 snd_ens1370
snd_emu10k1x 21828 0
snd_emu10k1 114500 0
snd_util_mem 6272 2 snd_trident,snd_emu10k1
snd_cs46xx 89064 0
snd_cs4281 24320 0
snd_cmipci 37760 0
snd_ca0106 36548 0
snd_bt87x 17128 0
snd_azt3328 23680 0
snd_au8830 54624 0
snd_au8820 34912 0
snd_au8810 49120 0
snd_atiixp_modem 18188 0
snd_atiixp 22164 0
snd_als4000 16384 0
snd_sb_common 18944 1 snd_als4000
gameport 17808 19 analog,ns558,snd_ymfpci,snd_via82xx,snd_trident,snd_sonicvibes,snd_es1968,snd_es1938,snd_ens1371,snd_ens1370,snd_cs46xx,
snd_cs4281,snd_cmipci,snd_azt3328,snd_au8830,snd_au8820,snd_au8810,snd_als4000
snd_opl3_lib 12288 8 snd_ymfpci,snd_sonicvibes,snd_fm801,snd_es1938,snd_cs4281,snd_cmipci,snd_azt3328,snd_als4000
snd_hwdep 11936 4 snd_hdspm,snd_hdsp,snd_emu10k1,snd_opl3_lib
snd_mpu401_uart 9472 16 snd_mpu401,snd_ymfpci,snd_via82xx,snd_trident,snd_sonicvibes,snd_ice1724,snd_ice1712,snd_fm801,snd_es1968,snd_es1938,
snd_cmipci,snd_azt3328,snd_au8830,snd_au8820,snd_au8810,snd_als4000
snd_rawmidi 28704 10 snd_hdspm,snd_hdsp,snd_ens1371,snd_ens1370,snd_emu10k1x,snd_emu10k1,snd_cs46xx,snd_cs4281,snd_ca0106,snd_mpu401_uart
snd_seq_device 10384 7 snd_seq_dummy,snd_seq_oss,snd_seq,snd_trident,snd_emu10k1,snd_opl3_lib,snd_rawmidi
snd_ali5451 25620 0
snd_ad1889 16672 0
snd_ac97_codec 102744 25 snd_ymfpci,snd_via82xx_modem,snd_via82xx,snd_trident,snd_nm256,snd_maestro3,snd_intel8x0m,snd_intel8x0,snd_ice1724,
snd_ice1712,snd_fm801,snd_es1968,snd_ens1371,snd_emu10k1x,snd_emu10k1,snd_cs46xx,snd_cs4281,snd_ca0106,snd_au8830,snd_au8820,snd_au8810,
snd_atiixp_modem,snd_atiixp,snd_ali5451,snd_ad1889
snd_pcm 95496 45 snd_pcm_oss,snd_ymfpci,snd_vx_lib,snd_via82xx_modem,snd_via82xx,snd_trident,snd_sonicvibes,snd_rme9652,snd_rme96,snd_rme32,snd_nm256,
snd_mixart,snd_maestro3,snd_korg1212,snd_intel8x0m,snd_intel8x0,snd_ice1724,snd_ak4114,snd_ice1712,snd_hdspm,snd_hdsp,snd_hda_intel,snd_hda_codec,snd_fm801,
snd_es1968,snd_es1938,snd_ens1371,snd_ens1370,snd_emu10k1x,snd_emu10k1,snd_cs46xx,snd_cs4281,snd_cmipci,snd_ca0106,snd_bt87x,snd_azt3328,snd_au8830,
snd_au8820,snd_au8810,snd_atiixp_modem,snd_atiixp,snd_als4000,snd_ali5451,snd_ad1889,snd_ac97_codec
snd_timer 26376 6 snd_seq,snd_ymfpci,snd_emu10k1,snd_azt3328,snd_opl3_lib,snd_pcm
snd 61512 64 snd_mpu401,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_ymfpci,snd_vx222,snd_vx_lib,snd_via82xx_modem,snd_via82xx,
snd_trident,snd_sonicvibes,
snd_rme9652,snd_rme96,snd_rme32,snd_nm256,snd_mixart,snd_maestro3,snd_korg1212,snd_intel8x0m,snd_intel8x0,snd_ice1724,snd_ak4114,snd_ice1712,
snd_ak4xxx_adda,snd_cs8427,snd_i2c,snd_hdspm,snd_hdsp,snd_hda_intel,snd_hda_codec,snd_fm801,snd_es1968,snd_es1938,snd_ens1371,snd_ens1370,
snd_ak4531_codec,snd_emu10k1x,snd_emu10k1,snd_cs46xx,snd_cs4281,snd_cmipci,snd_ca0106,snd_bt87x,snd_azt3328,snd_au8830,snd_au8820,
snd_au8810,snd_atiixp_modem,snd_atiixp,snd_als4000,snd_sb_common,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_ali5451,
snd_ad1889,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc 12944 21 snd_ymfpci,snd_via82xx_modem,snd_via82xx,snd_trident,snd_rme9652,snd_mixart,snd_korg1212,snd_intel8x0m,snd_intel8x0,
snd_hdsp,snd_hda_intel,snd_es1968,snd_ens1370,snd_emu10k1x,snd_emu10k1,snd_cs46xx,snd_ca0106,snd_bt87x,snd_atiixp_modem,snd_atiixp,snd_pcm
snd_ac97_bus 3968 1 snd_ac97_codec
eth1394 22032 0
dm_mirror 21760 0
dm_mod 56784 6 dm_mirror
pdc_adma 11652 0
sata_mv 20228 0
ata_piix 12548 0
ahci 15620 0
sata_qstor 11780 0
sata_vsc 10500 0
sata_uli 9604 0
sata_sis 10244 0
sata_sx4 15876 0
sata_nv 11908 4
sata_via 11012 0
sata_svw 9988 0
sata_sil24 13316 0
sata_sil 12036 0
sata_promise 14340 0
libata 62352 15 pdc_adma,sata_mv,ata_piix,ahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil24,sata_sil,sata_promise
sbp2 26244 0
ohci1394 34380 0
ieee1394 102648 3 eth1394,sbp2,ohci1394
sl811_hcd 14464 0
ohci_hcd 21636 0
uhci_hcd 33440 0
usb_storage 74560 0
usbhid 45728 0
ehci_hcd 31752 0
usbcore 132136 7 sl811_hcd,ohci_hcd,uhci_hcd,usb_storage,usbhid,ehci_hcd

DMESG:
Bootdata ok (command line is root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs loop=/image.squashfs cdroot initrd=gentoo.igz
vga=791 splash=silent,theme:livecd-2006.0 CONSOLE=/dev/tty1 quiet BOOT_IMAGE=gentoo dodmraid)
Linux version 2.6.15-gentoo-r5 (root@poseidon) (gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #1 SMP Tue Feb 21 19:28:55 UTC 2006
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 0000000000098400 (usable)
BIOS-e820: 0000000000098400 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e9b60 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003ffb0000 (usable)
BIOS-e820: 000000003ffb0000 - 000000003ffbe000 (ACPI data)
BIOS-e820: 000000003ffbe000 - 000000003ffe0000 (ACPI NVS)
BIOS-e820: 000000003ffe0000 - 0000000040000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
BIOS-e820: 00000000ff700000 - 0000000100000000 (reserved)
ACPI: RSDP (v000 ACPIAM ) @ 0x00000000000fb650
ACPI: RSDT (v001 A M I OEMRSDT 0x07000618 MSFT 0x00000097) @ 0x000000003ffb0000
ACPI: FADT (v002 A M I OEMFACP 0x07000618 MSFT 0x00000097) @ 0x000000003ffb0200
ACPI: MADT (v001 A M I OEMAPIC 0x07000618 MSFT 0x00000097) @ 0x000000003ffb0390
ACPI: MCFG (v001 A M I OEMMCFG 0x07000618 MSFT 0x00000097) @ 0x000000003ffb0410
ACPI: OEMB (v001 A M I AMI_OEM 0x07000618 MSFT 0x00000097) @ 0x000000003ffbe040
ACPI: DSDT (v001 A0570 A0570001 0x00000001 INTL 0x02002026) @ 0x0000000000000000
No NUMA configuration found
Faking a node at 0000000000000000-000000003ffb0000
Bootmem setup node 0 0000000000000000-000000003ffb0000
On node 0 totalpages: 257288
DMA zone: 2846 pages, LIFO batch:0
DMA32 zone: 254442 pages, LIFO batch:31
Normal zone: 0 pages, LIFO batch:0
HighMem zone: 0 pages, LIFO batch:0
Nvidia board detected. Ignoring ACPI timer override.
ACPI: PM-Timer IO Port: 0x508
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 6:15 APIC version 20
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 6:15 APIC version 20
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: BIOS IRQ0 pin2 override ignored.
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 15 high edge)
ACPI: IRQ9 used by override.
ACPI: IRQ14 used by override.
ACPI: IRQ15 used by override.
Setting APIC routing to flat
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000)
Checking aperture...
Built 1 zonelists
Kernel command line: root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs loop=/image.squashfs cdroot initrd=gentoo.igz vga=791
splash=silent,theme:livecd-2006.0 CONSOLE=/dev/tty1 quiet BOOT_IMAGE=gentoo dodmraid
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 131072 bytes)
time.c: Using 3.579545 MHz PM timer.
time.c: Detected 2400.189 MHz processor.
Speakup v-2.00 CVS: Wed Dec 21 14:36:03 EST 2005 : initialized
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Memory: 1023440k/1048256k available (2706k kernel code, 24400k reserved, 984k data, 212k init)
Calibrating delay using timer specific routine.. 4806.04 BogoMIPS (lpj=9612098)
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
using mwait in idle threads.
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
MCE: warning: using only 6 banks
CPU0: Thermal monitoring enabled (TM1)
mtrr: v2.0 (20020519)
activating NMI Watchdog ... done.
Using local APIC timer interrupts.
Detected 16.667 MHz APIC timer.
Booting processor 1/2 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 4800.76 BogoMIPS (lpj=9601522)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
MCE: warning: using only 6 banks
CPU1: Thermal monitoring enabled (TM1)
Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz stepping 06
APIC error on CPU1: 00(40)
CPU 1: Syncing TSC to CPU 0.
CPU 1: synchronized TSC with CPU 0 (last diff 0 cycles, maxerr 1161 cycles)
Brought up 2 CPUs
time.c: Using PIT/TSC based timekeeping.
testing NMI watchdog ... CPU#0: NMI appears to be stuck (0->0)!
checking if image is initramfs... it is
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
PCI: Using MMCONFIG at e0000000
ACPI: Subsystem revision 20050902
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:04:00.0
PCI: Transparent bridge - 0000:00:12.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P8._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0PA._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0PB._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0PC._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0PD._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0PE._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0PF._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 16 17 18 19) *10
ACPI: PCI Interrupt Link [LNKB] (IRQs 16 17 18 19) *11
ACPI: PCI Interrupt Link [LNKC] (IRQs 16 17 18 19) *11
ACPI: PCI Interrupt Link [LNKD] (IRQs 16 17 18 19) *11
ACPI: PCI Interrupt Link [LUB0] (IRQs 20 21 22 23) *11
ACPI: PCI Interrupt Link [LUB2] (IRQs 20 21 22 23) *3
ACPI: PCI Interrupt Link [LMAC] (IRQs 20 21 22 23) *11
ACPI: PCI Interrupt Link [LACI] (IRQs 20 21 22 23) *10
ACPI: PCI Interrupt Link [LMC9] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LSMB] (IRQs 20 21 22 23) *10
ACPI: PCI Interrupt Link [LSA0] (IRQs 20 21 22 23) *11
ACPI: PCI Interrupt Link [LSA1] (IRQs 20 21 22 23) *11
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 16 devices
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
PCI-DMA: Disabling IOMMU.
pnp: 00:0d: ioport range 0xc00-0xc0f has been reserved
pnp: 00:0d: ioport range 0xd00-0xd0f has been reserved
pnp: 00:0d: ioport range 0xa20-0xa2f has been reserved
pnp: 00:0d: ioport range 0xa30-0xa3f has been reserved
PCI: Bridge: 0000:02:00.0
IO window: 7000-7fff
MEM window: f6400000-fa4fffff
PREFETCH window: 9ff00000-bfefffff
PCI: Bridge: 0000:02:01.0
IO window: 8000-8fff
MEM window: fa500000-fe5fffff
PREFETCH window: bff00000-dfefffff
PCI: Bridge: 0000:01:00.0
IO window: 7000-8fff
MEM window: f6400000-fe5fffff
PREFETCH window: 9ff00000-dfefffff
PCI: Bridge: 0000:00:02.0
IO window: 7000-8fff
MEM window: f6400000-fe6fffff
PREFETCH window: 9ff00000-dfefffff
PCI: Bridge: 0000:00:04.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Bridge: 0000:00:05.0
IO window: 9000-9fff
MEM window: fe700000-fe8fffff
PREFETCH window: disabled.
PCI: Bridge: 0000:00:06.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Bridge: 0000:00:07.0
IO window: a000-afff
MEM window: fe900000-fe9fffff
PREFETCH window: disabled.
PCI: Bridge: 0000:00:12.0
IO window: disabled.
MEM window: fea00000-feafffff
PREFETCH window: disabled.
PCI: Bridge: 0000:00:14.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Bridge: 0000:00:16.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Bridge: 0000:00:17.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Setting latency timer of device 0000:00:02.0 to 64
PCI: Setting latency timer of device 0000:01:00.0 to 64
PCI: Setting latency timer of device 0000:02:00.0 to 64
PCI: Setting latency timer of device 0000:02:01.0 to 64
PCI: Setting latency timer of device 0000:00:04.0 to 64
PCI: Setting latency timer of device 0000:00:05.0 to 64
PCI: Setting latency timer of device 0000:00:06.0 to 64
PCI: Setting latency timer of device 0000:00:07.0 to 64
PCI: Setting latency timer of device 0000:00:12.0 to 64
PCI: Setting latency timer of device 0000:00:14.0 to 64
PCI: Setting latency timer of device 0000:00:16.0 to 64
PCI: Setting latency timer of device 0000:00:17.0 to 64
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
audit: initializing netlink socket (disabled)
audit(1157822055.684:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Squashfs 2.2 (released 2005/07/03) (C) 2002-2005 Phillip Lougher
SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
PCI: Setting latency timer of device 0000:00:02.0 to 64
pcie_portdrv_probe->Dev[007e:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
Allocate Port Service[pcie03]
PCI: Setting latency timer of device 0000:00:04.0 to 64
pcie_portdrv_probe->Dev[007e:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
Allocate Port Service[pcie03]
PCI: Setting latency timer of device 0000:00:05.0 to 64
pcie_portdrv_probe->Dev[007e:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
Allocate Port Service[pcie03]
PCI: Setting latency timer of device 0000:00:06.0 to 64
pcie_portdrv_probe->Dev[007e:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
Allocate Port Service[pcie03]
PCI: Setting latency timer of device 0000:00:07.0 to 64
pcie_portdrv_probe->Dev[007e:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
Allocate Port Service[pcie03]
PCI: Setting latency timer of device 0000:00:14.0 to 64
pcie_portdrv_probe->Dev[005d:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
Allocate Port Service[pcie03]
PCI: Setting latency timer of device 0000:00:16.0 to 64
pcie_portdrv_probe->Dev[005d:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
Allocate Port Service[pcie03]
PCI: Setting latency timer of device 0000:00:17.0 to 64
pcie_portdrv_probe->Dev[005d:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
Allocate Port Service[pcie03]
PCI: Setting latency timer of device 0000:01:00.0 to 64
pcie_portdrv_probe->Dev[01b3:10de] has invalid IRQ. Check vendor BIOS
Allocate Port Service[pcie10]
PCI: Setting latency timer of device 0000:02:00.0 to 64
pcie_portdrv_probe->Dev[01b3:10de] has invalid IRQ. Check vendor BIOS
Allocate Port Service[pcie20]
PCI: Setting latency timer of device 0000:02:01.0 to 64
pcie_portdrv_probe->Dev[01b3:10de] has invalid IRQ. Check vendor BIOS
Allocate Port Service[pcie20]
initialized device: /dev/synth, node ( MAJOR 10, MINOR 25 )
Linux agpgart interface v0.101 (c) Dave Jones
vesafb: framebuffer at 0xc0000000, mapped to 0xffffc20010100000, using 3072k, total 262144k
vesafb: mode is 1024x768x16, linelength=2048, pages=1
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
vesafb: Mode is not VGA compatible
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 controller doesn't have AUX irq; using default 12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS0 at I/O 0x3f8 (irq = 0) is a 16550A
00:0c: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
mice: PS/2 mouse device common for all mice
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE-CK804: IDE controller at PCI slot 0000:00:0f.0
NFORCE-CK804: chipset revision 243
NFORCE-CK804: not 100% native mode: will probe irqs later
NFORCE-CK804: 0000:00:0f.0 (rev f3) UDMA133 controller
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
input: AT Translated Set 2 keyboard as /class/input/input0
Probing IDE interface ide1...
hdc: TSSTcorpCD/DVDW TS-H552B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide0...
hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 212k freed
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ACPI: PCI Interrupt Link [LUB2] enabled at IRQ 23
GSI 16 sharing vector 0x3A and IRQ 16
ACPI: PCI Interrupt 0000:00:0b.1[B] -> Link [LUB2] -> GSI 23 (level, low) -> IRQ 58
PCI: Setting latency timer of device 0000:00:0b.1 to 64
ehci_hcd 0000:00:0b.1: EHCI Host Controller
ehci_hcd 0000:00:0b.1: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:0b.1
ehci_hcd 0000:00:0b.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0b.1: irq 58, io mem 0xfebffc00
ehci_hcd 0000:00:0b.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 10 ports detected
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
USB Universal Host Controller Interface driver v2.3
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt Link [LUB0] enabled at IRQ 22
GSI 17 sharing vector 0x42 and IRQ 17
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LUB0] -> GSI 22 (level, low) -> IRQ 66
PCI: Setting latency timer of device 0000:00:0b.0 to 64
ohci_hcd 0000:00:0b.0: OHCI Host Controller
ohci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0b.0: irq 66, io mem 0xfebfe000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 10 ports detected
sl811: driver sl811-hcd, 19 May 2005
ieee1394: Initialized config rom entry `ip1394'
ohci1394: $Rev: 1313 $ Ben Collins <bcollins@debian.org>
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 19
GSI 18 sharing vector 0x4A and IRQ 18
ACPI: PCI Interrupt 0000:09:0b.0[A] -> Link [LNKC] -> GSI 19 (level, low) -> IRQ 74
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[74] MMIO=[feaff800-feafffff] Max Packet=[2048]
sbp2: $Rev: 1306 $ Ben Collins <bcollins@debian.org>
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
libata version 1.20 loaded.
usb 2-2: new low speed USB device using ohci_hcd and address 2
sata_sil24 0000:06:00.0: version 0.23
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 18
GSI 19 sharing vector 0x52 and IRQ 19
ACPI: PCI Interrupt 0000:06:00.0[A] -> Link [LNKB] -> GSI 18 (level, low) -> IRQ 82
PCI: Setting latency timer of device 0000:06:00.0 to 64
ata1: SATA max UDMA/100 cmd 0xFFFFC20000058000 ctl 0x0 bmdma 0x0 irq 82
ata2: SATA max UDMA/100 cmd 0xFFFFC2000005A000 ctl 0x0 bmdma 0x0 irq 82
input: Logitech USB Receiver as /class/input/input1
input: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:0b.0-2
ata1: no device found (phy stat 00000000)
scsi0 : sata_sil24
ata2: no device found (phy stat 00000000)
scsi1 : sata_sil24
sata_nv 0000:00:10.0: version 0.8
ACPI: PCI Interrupt Link [LSA0] enabled at IRQ 21
GSI 20 sharing vector 0x5A and IRQ 20
ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [LSA0] -> GSI 21 (level, low) -> IRQ 90
PCI: Setting latency timer of device 0000:00:10.0 to 64
ata3: SATA max UDMA/133 cmd 0xCC00 ctl 0xC882 bmdma 0xC400 irq 90
ata4: SATA max UDMA/133 cmd 0xC800 ctl 0xC482 bmdma 0xC408 irq 90
ata3: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4023 85:3469 86:3c01 87:4023 88:407f
ata3: dev 0 ATA-7, max UDMA/133, 156301488 sectors: LBA48
nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
ata3: dev 0 configured for UDMA/133
scsi2 : sata_nv
ieee1394: Host added: ID:BUS[0-00:1023] GUID[0011d80000c8d5e2]
ata4: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4023 85:3469 86:3c01 87:4023 88:407f
ata4: dev 0 ATA-7, max UDMA/133, 156301488 sectors: LBA48
nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
ata4: dev 0 configured for UDMA/133
scsi3 : sata_nv
Vendor: ATA Model: ST380811AS Rev: 3.AA
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sda: drive cache: write back
sda:<4>nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
unknown partition table
sd 2:0:0:0: Attached scsi disk sda
Vendor: ATA Model: ST380811AS Rev: 3.AA
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sdb: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sdb: drive cache: write back
sdb:<4>nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
unknown partition table
sd 3:0:0:0: Attached scsi disk sdb
ACPI: PCI Interrupt Link [LSA1] enabled at IRQ 20
GSI 21 sharing vector 0x62 and IRQ 21
ACPI: PCI Interrupt 0000:00:11.0[A] -> Link [LSA1] -> GSI 20 (level, low) -> IRQ 98
PCI: Setting latency timer of device 0000:00:11.0 to 64
ata5: SATA max UDMA/133 cmd 0xC080 ctl 0xC002 bmdma 0xB800 irq 98
ata6: SATA max UDMA/133 cmd 0xBC00 ctl 0xB882 bmdma 0xB808 irq 98
ata5: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4023 85:3469 86:3c01 87:4023 88:407f
ata5: dev 0 ATA-7, max UDMA/133, 156301488 sectors: LBA48
nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
ata5: dev 0 configured for UDMA/133
scsi4 : sata_nv
ata6: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4023 85:3469 86:3c01 87:4023 88:407f
ata6: dev 0 ATA-7, max UDMA/133, 156301488 sectors: LBA48
nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
ata6: dev 0 configured for UDMA/133
scsi5 : sata_nv
Vendor: ATA Model: ST380811AS Rev: 3.AA
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sdc: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sdc: drive cache: write back
SCSI device sdc: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sdc: drive cache: write back
sdc:<4>nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
unknown partition table
sd 4:0:0:0: Attached scsi disk sdc
Vendor: ATA Model: ST380811AS Rev: 3.AA
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sdd: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sdd: drive cache: write back
SCSI device sdd: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sdd: drive cache: write back
sdd:<4>nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
sdd1 sdd2 sdd3
sd 5:0:0:0: Attached scsi disk sdd
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
Buffer I/O error on device sdd1, logical block 409592960
Buffer I/O error on device sdd1, logical block 409592961
Buffer I/O error on device sdd1, logical block 409592962
Buffer I/O error on device sdd1, logical block 409592963
Buffer I/O error on device sdd1, logical block 409592964
Buffer I/O error on device sdd1, logical block 409592965
Buffer I/O error on device sdd1, logical block 409592966
Buffer I/O error on device sdd1, logical block 409592967
Buffer I/O error on device sdd1, logical block 409592960
Buffer I/O error on device sdd1, logical block 409592961
ReiserFS: hdc: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on hdc
VFS: Can't find ext3 filesystem on dev hdc.
VFS: Can't find an ext2 filesystem on dev hdc.
SQUASHFS error: Can't find a SQUASHFS superblock on hdc
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev hdc.
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
printk: 846 messages suppressed.
Buffer I/O error on device sdd2, logical block 8016256
Buffer I/O error on device sdd2, logical block 8016257
Buffer I/O error on device sdd2, logical block 8016258
Buffer I/O error on device sdd2, logical block 8016259
Buffer I/O error on device sdd2, logical block 8016260
eth1394: $Rev: 1312 $ Ben Collins <bcollins@debian.org>
eth1394: eth0: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
Linux video capture interface: v1.00
ACPI: PCI Interrupt Link [LACI] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LACI] -> GSI 23 (level, low) -> IRQ 58
PCI: Setting latency timer of device 0000:00:0d.0 to 64
intel8x0_measure_ac97_clock: measured 54731 usecs
intel8x0: clocking to 46913
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
pnp: Device 00:05 disabled.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.48.
ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:13.0[A] -> Link [LMAC] -> GSI 22 (level, low) -> IRQ 66
PCI: Setting latency timer of device 0000:00:13.0 to 64
eth1: forcedeth.c: subsystem: 01043:81d3 bound to 0000:00:13.0
i2c_adapter i2c-0: nForce2 SMBus adapter at 0x600
i2c_adapter i2c-1: nForce2 SMBus adapter at 0x700
eth1: no link during initialization.
eth1: no link during initialization.
eth1: link up.
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:04:00.0[A] -> Link [LNKB] -> GSI 18 (level, low) -> IRQ 82
PCI: Setting latency timer of device 0000:04:00.0 to 64
NVRM: loading NVIDIA Linux x86_64 NVIDIA Kernel Module 1.0-6629 Wed Nov 3 11:43:48 PST 2004
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 17
GSI 22 sharing vector 0x6A and IRQ 22
ACPI: PCI Interrupt 0000:08:00.0[A] -> Link [LNKD] -> GSI 17 (level, low) -> IRQ 106
PCI: Setting latency timer of device 0000:08:00.0 to 64
sky2 v0.15 addr 0xfe9fc000 irq 106 Yukon-EC (0xb6) rev 2
sky2 eth2: addr 00:18:f3:2e:6a:e7
Real Time Clock Driver v1.12
input: PC Speaker as /class/input/input2
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
pnp: Device 00:05 activated.
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
sky2 eth2: enabling interface
sky2 eth2: disabling interface
sky2 eth2: enabling interface
gameport: NS558 PnP Gameport is pnp00:06/gameport0, io 0x201, speed 774kHz
fbsplash: console 0 using theme 'default'
fbsplash: switched splash state to 'on' on console 0
ReiserFS: dm-3: found reiserfs format "3.6" with standard journal
ReiserFS: dm-3: using ordered data mode
ReiserFS: dm-3: journal params: device dm-3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: dm-3: checking transaction log (dm-3)
ReiserFS: dm-3: Using r5 hash to sort names
sky2 eth2: disabling interface
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
eth1: no IPv6 routers present
Adding 4008208k swap on /dev/mapper/nvidia_hebcaeea2. Priority:-1 extents:1 across:4008208k

Extra line breaks added by NeddySeagoon
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Sat Sep 09, 2006 9:59 pm    Post subject: Reply with quote

ElSenorPantelone,

Check your dmraid version - not the one you get with with
Code:
emerge dmraid
the one that genkernel has put in your initrd. emerging dmraid tells you haow to check the genkernel version.

Kernels <=2.6.15 want dmraid-1.0.0-rc8
Kernels > 2.6.15 want dmraid-1.0.0-rc12 Other combinations don't work.

Your dmesg shows
Code:
assign_interrupt_mode Found MSI capability

I've read bad things about that today but don't recall exactly what.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ElSenorPantelone
n00b
n00b


Joined: 24 Jan 2006
Posts: 72

PostPosted: Sat Sep 09, 2006 10:05 pm    Post subject: Reply with quote

I did not use genkernel to configure/compile the kernel because I have always liked configuring it myself, in so doing, I followed the guide for dmraid gentoo installed, and set the initrd creation to use the latest verstion of dmraid: rc12, and busybox etc.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Sat Sep 09, 2006 10:25 pm    Post subject: Reply with quote

ElSenorPantelone,

There are two ways forward. The system is installed, so clearly you have had a combination of kernel and dmraid that work togther to do the install. Are you able to reproduce this combination in the install as a get you going measure and to prove the steps you take to make a working initrd file.

The other thing to investigate is that the initrd should offer you a busybox shell when it fails to mount root.
Are able to get dmraid up by issuing the commands manualy in this shell?
If so, it points to a timing issue, possibly udev relared.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ElSenorPantelone
n00b
n00b


Joined: 24 Jan 2006
Posts: 72

PostPosted: Sat Sep 09, 2006 10:52 pm    Post subject: Reply with quote

Please understand that the system was installed from a live cd, under no circumstances am I able to boot sucessfully into my own kernel. As far as reproducing the same conditions as the install enviornment, I have attemped to, however the 2006.1 livecd uses a different kernel then what I am installing, and as per your prior statements, with a 2.6.17 kernel, I require dmraid r12, so I have done my best to install it, (it fails the emerge, but I am able to make -i to allow the system to install even though touch cannot modify timestamps.)

As for your second point, I am not even sure that the initrd is loading properly into the kernel because I do not get a busybox shell when it fails. Just a kernel panic, failed to sync. I have enabled ramdisk support in the kernel, and I have no idea as to why the busybox shell does not come up. The instructions that I used to create the initrd are: http://gentoo-wiki.com/HOWTO_Install_Gentoo_with_NVRAID_using_dmraid#The_Hard_Solution however I used the patched version which includes a later version of busybox, 1.2 I belive, as well as patching the dmraidinitrd file to download the latest version of dmraid from the redhat mirror.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Sat Sep 09, 2006 11:40 pm    Post subject: Reply with quote

ElSenorPantelone

Quote:
I have a 2 NVRaid SATA controllers, and installed sata support into the kernel with
the nvidia driver. I am using 4 harddrives in raid0


Your kernel looks good - all 4 drives are found, all 80Gb devices.
Then device-mapper starts and reports an errors on sdd1, and sdd2.
In th middle of that, the kernel is trying to auto mount your CD/DVD at hdc and running throgh all the filesystems it knows.
That suggests that root is mouted and /etc/fstab has been read

Booting continues (This looks like root)
Code:
ReiserFS: dm-3: found reiserfs format "3.6" with standard journal
ReiserFS: dm-3: using ordered data mode
ReiserFS: dm-3: journal params: device dm-3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: dm-3: checking transaction log (dm-3)
ReiserFS: dm-3: Using r5 hash to sort names

and
Code:
Adding 4008208k swap on /dev/mapper/nvidia_hebcaeea2. Priority:-1 extents:1 across:4008208k

It would appear to find root and swap. That suggests that the /dev/ entries are creaded.

I'm not a genkernel fan either but I would be tempted to try it, just as a diagnostic aid.

You can duplicate the liveCD kernel. Its a genkerneled version of gentoo-sources at the version that uname -r shows.
Genkernel is doing something for the liveCD thatyour own kernel is not.

Your kernel .config file is at /usr/src/linux/.config in your install

What is your exact panic message?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ElSenorPantelone
n00b
n00b


Joined: 24 Jan 2006
Posts: 72

PostPosted: Sun Sep 10, 2006 3:05 am    Post subject: Reply with quote

The dmesg information that I have provided was that of the livecd, since I am unable to boot properly into my own kernel, is there a way that I can save the partial dmesg output to paste here so you can see? It scrolls too fast for me to be able to read. I am afraid that information that might help diagnose the problem gets overwhelmed with failed attempts to access the file system.

Perhaps my initrd is incorrect because busybox does not even appear when the kernel fails.

However, I just recreated my initrd, and now my system boots properly, I wish I could tell you step for step what I did, but it just appears that the correct selection of packages to inject into the ramdisk was needed to facilitate the boot process. I'll tell you what I did for my system:

I downloaded the script from the gentoo dmraid wiki article. I proceeded to modify the files properly to point to the older version of busybox and the older version of device-mapper. I inserted the updated string for dmraid r12-pre1.tar.gz. I proceeded to ./dmraidinitrd linuxrc initrd and waited for the system to compile the needed items. Lastly I copied the linuxrc and initrd to my /boot section and rebooted, and it worked this time.

I will take some time later to research into which change gave me success, so thanks for your time Neddy in particular.
Back to top
View user's profile Send private message
ElSenorPantelone
n00b
n00b


Joined: 24 Jan 2006
Posts: 72

PostPosted: Sun Sep 10, 2006 9:03 pm    Post subject: Reply with quote

As I did more research into the solution, I determined that my initrd was not correctly initializing dmraid to create the entries in /dev/mapper/nvidia*, so to solve the error, I had to follow the directions located here: http://gentoo-wiki.com/HOWTO_Install_Gentoo_with_NVRAID_using_dmraid

However, I made a few modifications. Since the 2.6.17 series kernel will not function with dmraid unless it is a newer version, version r12, I had to edit the string in dmraidinitrd to match that of the latest version of dmraid. After rechecking the kernel to insure that all of the drivers were correctly marked, I was able to boot into my native enviornment.
Back to top
View user's profile Send private message
burger
n00b
n00b


Joined: 07 Mar 2004
Posts: 35
Location: Sweden

PostPosted: Mon Sep 11, 2006 5:09 am    Post subject: Reply with quote

burger wrote:
jmbsvicetto wrote:
Hi.

If you have BIOS RAID, aka FAKE RAID, you need to use dmraid. At the cd boot, did you add the dodmraid option?
You might have a problem when compiling the kernel to support dmraid. You will need either to use a 2.6.15 kernel with the previous dmraid version, or you will need to update the Portage tree, emerge --sync, to get the new dmraid that was released earlier today / last few days.
By the way, you'll be better off usinng kernel RAID in Linux than BIOS RAID.


Hi, yes, but the livecd don't have dmraid =( and I tried the dodmraid option, but nothing new in /dev/mapper/ =(
I can try to update the portage tree on the livecd and check if I can get dmraid compiled.

Yes I know that kernel RAID in Linux is better, but I use the same drives for Windows XP and Windows Vista so I have to use FAKE RAID =(


I downloaded http://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-1.0.0.rc12-pre1.tar.bz2 and compiled and got the fake RAID working, but now I have another problem... the gentoo 2006.1 Installer don't find the raid partitions =(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 2 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum