Ik heb in m'n Gentoo machine een raidcontroller zitten (HighPoint RocketRaid 2310 4x sata), nu heb ik deze wel aan de praat met een simpele install, maar dat is natuurlijk niet handig.
Om dit alles te automatiseren ben ik een ebuild aan het schrijven.
ebuild:
Nu faalt emake (anders had ik natuurlijk niets gepost
);
Maar als ik make run met dezelfde gaat het wel:
iemand die hier de oplossing voor ziet?
Om dit alles te automatiseren ben ik een ebuild aan het schrijven.
ebuild:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit linux-mod MY_PR="091022" MY_PVR="${PV}-${MY_PR}" DESCRIPTION="Kernel module for Highpoint RocketRaid 231x raid cards" HOMEPAGE="http://www.highpoint-tech.com/USA/rr2310.htm" SRC_URI="http://www.support-highpoint-tech.com/Main/${PN}_00/Linux/opensrc/${PN}_0x-linux-src-v${MY_PVR}-1618.tar.gz" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="" RDEPEND="" S="${WORKDIR}/${PN}_0x-linux-src-v${PV}" BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}" BUILD_TARGETS=" " MODULE_NAMES="rr2310_00(scsi:"${S}/product/rr2310pm/linux/":)" |
Nu faalt emake (anders had ik natuurlijk niets gepost
code:
1
2
3
4
5
6
7
| * Preparing rr2310_00 module make -j5 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KERNELDIR=/usr/src/linux make[1]: Entering directory `/usr/src/linux-2.6.32-gentoo-r5' Makefile:529: /usr/src/linux-2.6.32-gentoo-r5/arch/i686/Makefile: No such file or directory make[1]: *** No rule to make target `/usr/src/linux-2.6.32-gentoo-r5/arch/i686/Makefile'. Stop. make[1]: Leaving directory `/usr/src/linux-2.6.32-gentoo-r5' make: *** [rr2310_00.ko] Error 2 |
Maar als ik make run met dezelfde gaat het wel:
code:
1
2
3
4
5
6
7
8
9
10
11
12
| make[1]: Entering directory `/usr/src/linux-2.6.32-gentoo-r5' CC [M] /var/tmp/portage/sys-block/rr231x-2.5-r091022/work/rr231x_0x-linux-src-v2.5/product/rr2310pm/linux/.build/os_linux.o CC [M] /var/tmp/portage/sys-block/rr231x-2.5-r091022/work/rr231x_0x-linux-src-v2.5/product/rr2310pm/linux/.build/osm_linux.o CC [M] /var/tmp/portage/sys-block/rr231x-2.5-r091022/work/rr231x_0x-linux-src-v2.5/product/rr2310pm/linux/.build/div64.o CC [M] /var/tmp/portage/sys-block/rr231x-2.5-r091022/work/rr231x_0x-linux-src-v2.5/product/rr2310pm/linux/.build/hptinfo.o CC [M] /var/tmp/portage/sys-block/rr231x-2.5-r091022/work/rr231x_0x-linux-src-v2.5/product/rr2310pm/linux/.build/config.o LD [M] /var/tmp/portage/sys-block/rr231x-2.5-r091022/work/rr231x_0x-linux-src-v2.5/product/rr2310pm/linux/.build/rr2310_00.o Building modules, stage 2. MODPOST 1 modules CC /var/tmp/portage/sys-block/rr231x-2.5-r091022/work/rr231x_0x-linux-src-v2.5/product/rr2310pm/linux/.build/rr2310_00.mod.o LD [M] /var/tmp/portage/sys-block/rr231x-2.5-r091022/work/rr231x_0x-linux-src-v2.5/product/rr2310pm/linux/.build/rr2310_00.ko make[1]: Leaving directory `/usr/src/linux-2.6.32-gentoo-r5' |
iemand die hier de oplossing voor ziet?