View previous topic :: View next topic |
Author |
Message |
funkmankey Guru
Joined: 06 Mar 2003 Posts: 304 Location: CH
|
Posted: Tue Aug 19, 2003 8:10 pm Post subject: |
|
|
tam wrote: | I have 2.6-test3 and OSS sound works nice with my Intel 8x0, but I can't get ALSA drivers to work.
Anyone here successfully has Intel 810 with ALSA running? |
my fileserver has SiS7012; intel8x0 works just fine on it in 2.6. using 0.9.6 of alsa-lib and alsa-utils, if that makes any difference. |
|
Back to top |
|
|
Safrax Guru
Joined: 23 Apr 2002 Posts: 422
|
Posted: Wed Aug 20, 2003 12:36 am Post subject: |
|
|
2.6.0-test3-mm3 is out. It fails to compile borking on various stuff.... |
|
Back to top |
|
|
Exner Tux's lil' helper
Joined: 08 Apr 2003 Posts: 128 Location: Melbourne, Australia
|
Posted: Wed Aug 20, 2003 2:09 am Post subject: |
|
|
watersb wrote: | Xaignar wrote: | I'm trying to compile 2.6.0-test3-mm2 with gcc-3.3.1, and I keep getting this error:
Code: | ...
.tmp_kallsyms1.S:6558: Error: unknown pseudo-op: `.ong'
.tmp_kallsyms1.S:21283: Error: unknown pseudo-op: `.yte'
make: *** [.tmp_kallsyms1.o] Error 1 |
|
Um, this is not a hardware error. I get this, too, with GCC-3.3.1
Use GCC 3.3-r1 or standard 3.2.3-r2; the gcc-3.4 (cvs) that I've built will compile this kernel without errors, but will result in an unbootable kernel. Hmm! |
With gcc-3.3.1 I can compile a 2.6.0-test3-mm3 kernel, but it oopses on boot. Hmm.
Edit: By the way, the entire ACPI section of the config is blanked in -test3-mm3. Something has gone wrong with that. _________________ - Exner (Antony Suter)
Last edited by Exner on Wed Aug 20, 2003 7:42 am; edited 1 time in total |
|
Back to top |
|
|
Yinchie Apprentice
Joined: 05 Mar 2003 Posts: 179 Location: The Netherlands
|
Posted: Wed Aug 20, 2003 6:54 am Post subject: |
|
|
I'm having a problem with linux-2.6.0-test3-bk6 and linux-2.6.0-test3-bk7 release.
I can't get nvidia-kernel compiled anymore.
It compiles fine on bk3.
Code: |
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.4496 to /
>>> md5 src_uri ;-) NVIDIA-Linux-x86-1.0-4496-pkg0.run
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86-1.0-4496-pkg0
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-4496.........................................................
* Linux kernel 2.6.0
* Applying tasklet patch for kernel 2.[56]... [ ok ]
* Applying NVIDIA_kernel-1.0-4496-tail.diff... [ ok ]
* Applying NVIDIA_kernel-1.0-4496-Makefile.diff... [ ok ]
>>> Source unpacked.
rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *.d NVdriver nvidia.o
echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > nv_compiler.h
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DKBUILD_MODNAME="nvidia" -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4348 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_RANGE_5 -I. -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default -Wno-cast-qual nv.c
nv.c: In function `nv_kern_read_agpinfo':
nv.c:1964: structure has no member named `name'
make: *** [nv.o] Error 1
!!! ERROR: media-video/nvidia-kernel-1.0.4496 failed.
!!! Function src_compile, Line 121, Exitcode 2
!!! (no error message)
|
Any ideas? |
|
Back to top |
|
|
jufoa Apprentice
Joined: 10 Dec 2002 Posts: 213 Location: Rovaniemi, Finland
|
Posted: Wed Aug 20, 2003 7:35 am Post subject: |
|
|
Yinchie wrote: | I'm having a problem with linux-2.6.0-test3-bk6 and linux-2.6.0-test3-bk7 release.
I can't get nvidia-kernel compiled anymore.
It compiles fine on bk3.
Any ideas? |
I have same problem and i found reason why it doesnt work..
"In Linux 2.6.0-test3-bk5, PCI names related data structures were changed again, you will need to apply the incremental patch below to make the driver build on this kernel. The patch is trivial, if you are using another driver release, you shouldn't have trouble porting the change."
http://www.minion.de/
here is another link:
http://deltaanime.ath.cx/~blight/nvidia_kernel_with_2.6.html |
|
Back to top |
|
|
tam Guru
Joined: 04 Mar 2003 Posts: 569
|
Posted: Wed Aug 20, 2003 9:40 am Post subject: |
|
|
funkmankey wrote: | my fileserver has SiS7012; intel8x0 works just fine on it in 2.6. using 0.9.6 of alsa-lib and alsa-utils, if that makes any difference. |
Hmm, It's still not clear, what I need for ALSA with new kernel. Too bad the ALSA docs don't cover the new kernel ALSA driver.
Ok, I've enabled ASLA in kernel (compiled in, not module) and the driver gets loaded during boot.
What's next? |
|
Back to top |
|
|
tam Guru
Joined: 04 Mar 2003 Posts: 569
|
Posted: Wed Aug 20, 2003 9:41 am Post subject: |
|
|
funkmankey wrote: | my fileserver has SiS7012; intel8x0 works just fine on it in 2.6. using 0.9.6 of alsa-lib and alsa-utils, if that makes any difference. |
Hmm, It's still not clear, what I need for ALSA with new kernel. Too bad the ALSA docs don't cover the new kernel ALSA driver.
Ok, I've enabled ASLA in kernel (compiled in, not module) and the driver gets loaded during boot.
What's next? |
|
Back to top |
|
|
Yinchie Apprentice
Joined: 05 Mar 2003 Posts: 179 Location: The Netherlands
|
Posted: Wed Aug 20, 2003 9:43 am Post subject: |
|
|
Thank you. |
|
Back to top |
|
|
Yinchie Apprentice
Joined: 05 Mar 2003 Posts: 179 Location: The Netherlands
|
Posted: Wed Aug 20, 2003 9:43 am Post subject: |
|
|
Thank you. |
|
Back to top |
|
|
tam Guru
Joined: 04 Mar 2003 Posts: 569
|
Posted: Wed Aug 20, 2003 9:44 am Post subject: |
|
|
funkmankey wrote: | my fileserver has SiS7012; intel8x0 works just fine on it in 2.6. using 0.9.6 of alsa-lib and alsa-utils, if that makes any difference. |
Hmm, It's still not clear, what I need for ALSA with new kernel. Too bad the ALSA docs don't cover the new kernel ALSA driver.
Ok, I've enabled ASLA in kernel (compiled in, not module) and the driver gets loaded during boot.
What's next? |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Wed Aug 20, 2003 9:52 am Post subject: |
|
|
Nick Piggin has rewritten the scheduler for -test3-mm1 and I rediffed it against test3-mm3 - I'll report back with my findings on this later. |
|
Back to top |
|
|
kaya n00b
Joined: 15 Aug 2003 Posts: 22
|
Posted: Wed Aug 20, 2003 12:45 pm Post subject: |
|
|
Ok i pass 3 days on playing with the 2.6.0-test3 kernel serie.
I upgrade form test3-bk3 to bk5 and bk6 i just see the bk7 (did not compile it yet).
Actullay the one giving me less trouble was bk3.
Since the bk5 the nvidia-kernel is not compile normaly.
As say jufoa thereis a patch but i haven't test it yet.
I will do it tonight with the bk7 release.
Otherwise to get my sound and everything else to work i did have to compile into the kernel not in module.
I using a cordless keyboard and USB mouse. Hard time to find the right one in the new kernel menuconfig
For the sound i am using a emu10k1 (SB Live) in alsa.
I did not install any alsa stuff and it is working. I just did have to get volume up from the PCM entry. Sometimes the sound is not perfectly clear, but the kernel still in dev so i don't think we can do much beside siteback and wait.
Quote: | Advanced Linux Sound Architecture Driver Version 0.9.6 (Mon Jul 28 11:08:42 2003 UTC).
request_module: failed /sbin/modprobe -- snd-card-0. error = -16
no UART detected at 0xffff
specify port
ALSA device list:
#0: Sound Blaster Live! (rev.7) at 0xe400, irq 12 |
The only thing, i can't get to work are the I2C modules to have the sensors working.
Kaya |
|
Back to top |
|
|
nephros Advocate
Joined: 07 Feb 2003 Posts: 2139 Location: Graz, Austria (Europe - no kangaroos.)
|
Posted: Wed Aug 20, 2003 1:24 pm Post subject: |
|
|
ebuild for nvidia-kernel with -mm3.
you will have to put this patch into files/1.0.4496/
Thanks jufoa for pointing to minion.de.
Code: |
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/media-video/nvidia-kernel/nvidia-kernel-1.0.4496.ebuild,v 1.2 2003/08/03 03:14:07 vapier Exp $
NV_V="${PV/1.0./1.0-}"
NV_PACKAGE="NVIDIA-Linux-x86-${NV_V}"
S="${WORKDIR}/${NV_PACKAGE}-pkg0/usr/src/nv"
DESCRIPTION="Linux kernel module for the NVIDIA's X driver"
HOMEPAGE="http://www.nvidia.com/"
SRC_URI="ftp://download.nvidia.com/XFree86/Linux-x86/${NV_V}/${NV_PACKAGE}-pkg0.run"
# The slow needs to be set to $KV to prevent unmerges of modules for other kernels.
LICENSE="NVIDIA"
SLOT="${KV}"
KEYWORDS="-* ~x86"
RESTRICT="nostrip"
DEPEND="virtual/linux-sources"
pkg_setup() {
if [ ! -f /proc/mtrr ]
then
eerror "This version needs MTRR support for most chipsets!"
eerror "Please enable MTRR support in your kernel config, found at:"
eerror
eerror " Processor type and features -> [*] MTRR (Memory Type Range Register) support"
eerror
eerror "and recompile your kernel ..."
die "MTRR support not detected!"
fi
check_version_h
}
check_version_h() {
if [ ! -f "${ROOT}/usr/src/linux/include/linux/version.h" ]
then
eerror "Please verify that your /usr/src/linux symlink is pointing"
eerror "to your current kernel sources, and that you did run:"
eerror
eerror " # make dep"
die "/usr/src/linux symlink not setup!"
fi
}
get_KV_info() {
check_version_h
# Get the kernel version of sources in /usr/src/linux ...
export KV_full="$(awk '/UTS_RELEASE/ { gsub("\"", "", $3); print $3 }' \
"${ROOT}/usr/src/linux/include/linux/version.h")"
export KV_major="$(echo "${KV_full}" | cut -d. -f1)"
export KV_minor="$(echo "${KV_full}" | cut -d. -f2)"
export KV_micro="$(echo "${KV_full}" | cut -d. -f3 | sed -e 's:[^0-9].*::')"
}
is_2_5_kernel() {
get_KV_info
if [ "${KV_major}" -eq 2 -a "${KV_minor}" -eq 5 ]
then
return 0
else
return 1
fi
}
is_2_6_kernel() {
get_KV_info
if [ "${KV_major}" -eq 2 -a "${KV_minor}" -eq 6 ]
then
return 0
else
return 1
fi
}
src_unpack() {
cd ${WORKDIR}
bash ${DISTDIR}/${NV_PACKAGE}-pkg0.run --extract-only
# Next section applies patches for linux-2.5 kernel, and/or
# bugfixes for linux-2.4. All these are from:
#
# http://www.minion.de/nvidia/
#
# Many thanks to Christian Zander <zander@minion.de> for bringing
# these to us, and being so helpful to select which to use.
get_KV_info
cd ${S}
einfo "Linux kernel ${KV_major}.${KV_minor}.${KV_micro}"
if is_2_5_kernel || is_2_6_kernel
then
EPATCH_SINGLE_MSG="Applying tasklet patch for kernel 2.[56]..." \
epatch ${FILESDIR}/${PV}/NVIDIA_kernel-${NV_V}-2.5-20030728.diff
# The minion.de patch revert the tail fixes (needed for coreutils)
epatch ${FILESDIR}/${PV}/NVIDIA_kernel-${NV_V}-tail.diff
# The KBuild Makefile still do not play nice, so use the one from
# version 1.0.4363.
epatch ${FILESDIR}/${PV}/NVIDIA_kernel-1.0-4496-Makefile.diff
# The minion.de patch to work with PCI name changes in bk5
EPATCH_SINGLE_MSG="Applying patch for I name changes..." \
epatch ${FILESDIR}/${PV}/NVIDIA_kernel-1.0-4496-2.6-bk5.diff
# Kbuild have issues currently (sandbox related).
ln -snf Makefile.nvidia Makefile
fi
}
src_compile() {
# Portage should determine the version of the kernel sources
check_KV
# IGNORE_CC_MISMATCH disables a sanity check that's needed when gcc has been
# updated but the running kernel is still compiled with an older gcc. This is
# needed for chrooted building, where the sanity check detects the gcc of the
# kernel outside the chroot rather than within.
make IGNORE_CC_MISMATCH="yes" KERNDIR="/usr/src/linux" \
clean nvidia.o || die
}
src_install() {
# The driver goes into the standard modules location
insinto /lib/modules/${KV}/video
doins nvidia.o
# Add the aliases
insinto /etc/modules.d
newins ${FILESDIR}/nvidia-1.1 nvidia
# Docs
dodoc ${S}/README
# The device creation script
into /
newsbin ${S}/makedevices.sh NVmakedevices.sh
}
pkg_postinst() {
if [ "${ROOT}" = "/" ]
then
# Update module dependency
[ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
if [ ! -e /dev/.devfsd ] && [ -x /sbin/NVmakedevices.sh ]
then
/sbin/NVmakedevices.sh >/dev/null 2>&1
fi
fi
echo
einfo "If you are not using devfs, loading the module automatically at"
einfo "boot up, you need to add \"nvidia\" to your /etc/modules.autoload."
echo
ewarn "Please note that the driver name changed from \"NVdriver\""
ewarn "to \"nvidia.o\"."
echo
}
|
[EDIT] fixed stupid cut&paste wraps, but fscked up indents instead.
[EDIT2] in case it doesn't work, a copy is here _________________ Please put [SOLVED] in your topic if you are a moron. |
|
Back to top |
|
|
Yinchie Apprentice
Joined: 05 Mar 2003 Posts: 179 Location: The Netherlands
|
Posted: Wed Aug 20, 2003 1:52 pm Post subject: |
|
|
I know how to update the ebuild.
I'm not that a newbie
Already done it before you posted the updated ebuild, but thanks anyway.
-
er.. nvm, you were replying to kaya. |
|
Back to top |
|
|
watersb Apprentice
Joined: 04 Sep 2002 Posts: 297 Location: take a left turn in Tesuque
|
Posted: Wed Aug 20, 2003 5:16 pm Post subject: |
|
|
Gentoo Bug 26958
Quote: |
error when building kernel 2.6.0-test3-mm3
kernel/built-in.o(.text+0xd9d7): In function '.text.lock.sysctl':
: undefined reference to 'rsem_wake'
make: *** [.tmp_vmlinux] Error 1
Tried this with GCC 3.3, 3.3.1, and 3.4 (cvs 14-august-2003) -- no luck.
# cd /usr/src/linux; find . -type f -exec grep -l rsem_wake '{}' ';'
./kernel/built-in.o
./kernel/sysctl.o
|
Can anyone get test3-mm3 to compile? on x86? |
|
Back to top |
|
|
Proton Apprentice
Joined: 16 Mar 2003 Posts: 195 Location: Estoril, Portugal
|
Posted: Wed Aug 20, 2003 5:39 pm Post subject: |
|
|
Well, it compiled here with gcc 3.3.1, but it crashes after the mice part:
Code: |
mice: PS/2 mouse device common for all mice
|
Went back to test3-mm2... _________________ Sérgio @ Portugal
IST - LEIC |
|
Back to top |
|
|
funkmankey Guru
Joined: 06 Mar 2003 Posts: 304 Location: CH
|
Posted: Wed Aug 20, 2003 6:01 pm Post subject: |
|
|
test3-mm3 working just fine here...used oldconfig from test3-mm2 and also enabled acpi-ht. no problems compiling or booting.
alsa and dri/drm are happy, same as previous 2.6 kernels.
Code: | Linux version 2.6.0-test3-mm3 (root@emphyrio) (gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)) #1 Wed Aug 20 11:11:47 EDT 2003 |
|
|
Back to top |
|
|
Regor Guru
Joined: 06 Aug 2002 Posts: 545 Location: 39° 2' 48" N, 120° 59' 2" W
|
Posted: Wed Aug 20, 2003 6:05 pm Post subject: |
|
|
"make xconfig" appears to be broken in test3-mm3, throwing the following error:
Code: |
make[1]: *** No rule to make target `scripts/kconfig/qconf.c', needed by `scripts/kconfig/qconf'. Stop.
make: *** [xconfig] Error 2
|
While, "make menuconfig" works, it doesn't give me much confidence in the whole thing. _________________ Sometimes the appropriate response to reality is to go insane.
-Philip K. Dick, Valis |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Wed Aug 20, 2003 6:28 pm Post subject: |
|
|
Quote: | Can anyone get test3-mm3 to compile? on x86? |
-mm3 works fine for me with gcc-3.3.1. The first time I tried I got an error on mm/filemap.c, so I fixed that and it's running fine now. _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
|
madtomkidd Apprentice
Joined: 13 Jan 2003 Posts: 170 Location: Dayton, OH
|
Posted: Wed Aug 20, 2003 6:58 pm Post subject: dvd error |
|
|
I'm running 2.6.0-test3-mm1 and am getting some weird stuff.
I'm trying to use dvd::rip to backup a couple of dvds and am getting some weird stuff.
first, I hit Read DVD Toc and it spits out an error:
Code: | using libdvdread to open dvd...
libdvdread: can't seek to 256
libdvdread: can't seek to 256
libdvdread: can't read file VIDEO_TS.IFO
(iodump.c): can't open device /dev/cdroms/cdrom0 |
Now, the command it is using to try and execute is the following:
Code: | dr_exec tcprobe -H 10 -i /dev/cdroms/cdrom0 |
So, i figure - hey, dmesg and see what errors there are.
Well, it says a few things like:
Code: | cdrom: this disc doesn't have any tracks I recognize
cdrom: this disc doesn't have any tracks I recognize
UDF-fs DEBUG fs/udf/super.c...<blah blah blah>
...
UDF-fs INFO UDF 0.9.7 (2002/11/15) Mounting volume 'WILD_THORNBERRYS' timestamp 2003/02/05 04:01 (1ed4)
cdrom: this disc doesn't have any tracks I recognize |
So, I'm totally confused. I _thought_ the Debug statements were bad, but since they're looking ok, and it's able to identify the disc, I'm totally confused.
Now, I can run the same thing in the default (2.4.20-r5 kernel) and it works. So, I'm thinking this is kernel specific.
Help? |
|
Back to top |
|
|
watersb Apprentice
Joined: 04 Sep 2002 Posts: 297 Location: take a left turn in Tesuque
|
Posted: Wed Aug 20, 2003 7:02 pm Post subject: |
|
|
Hmm... so -test3-mm3 success seems possible for some people...
Most likely due to different kernel configurations. I am re-compiling now without first issuing a "make mrproper; make oldconfig" -- that is, I'm using a different kernel config.
We shall see what we get...
... ah, yes. Fails to compile filemap.c, there is a typo in that source file, I can fix that one.
Code: |
--- mm/filemap.c.orig 2003-08-20 13:03:42 -0600
+++ mm/filemap.c 2003-08-20 13:04:17 -0600
@@ -1927,6 +1927,7 @@
generic_file_aio_write_nolock(struct kiocb *iocb, const struct iovec *iov,
unsigned long nr_segs, loff_t *ppos)
{
+ struct file *file = iocb->ki_filp;
struct address_space *mapping = file->f_dentry->d_inode->i_mapping;
struct inode *inode = mapping->host;
ssize_t ret;
|
... and once again it fails to link, with a new, strange error:
Code: |
LD .tmp_vmlinux1
kernel/built-in.o(.text +0x139af): In function 'L2786'
: undefined reference to '.L2786'
make: *** [.tmp_vmlinu1] Error 1
|
Sheesh... looks like we should pass on -mm3? |
|
Back to top |
|
|
Exner Tux's lil' helper
Joined: 08 Apr 2003 Posts: 128 Location: Melbourne, Australia
|
Posted: Wed Aug 20, 2003 7:42 pm Post subject: |
|
|
(Holds up hand) Vote [1] -test3-mm3, for being skipped!
*cough* Yes well, I can compile it, but it won't boot. Multiple attempts were had. My config file seems to lose all reference to ACPI anything. I'm waiting for the next release. _________________ - Exner (Antony Suter) |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Wed Aug 20, 2003 8:00 pm Post subject: |
|
|
Quote: | ... ah, yes. Fails to compile filemap.c, there is a typo in that source file, I can fix that one. |
That's the only problem I've had with it. ACPI is gone for some reason like Exner said, but apart from that it seems fine for me. _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
|
neenee Veteran
Joined: 20 Jul 2003 Posts: 1786
|
Posted: Wed Aug 20, 2003 8:37 pm Post subject: |
|
|
for those who are not used to working with ebuilds and want
to compile the fixed nvidia-kernel (like me a moment ago), here's
how to do it:
get this file, then run ebuild nvidia-kernel-1.0.4496-r1.ebuild digest.
after that you can use emerge nvidia-kernel-1.0.4496-r1.ebuild
to compile the patched kernel. |
|
Back to top |
|
|
Safrax Guru
Joined: 23 Apr 2002 Posts: 422
|
Posted: Wed Aug 20, 2003 8:43 pm Post subject: |
|
|
Wedge_ wrote: | Quote: | ... ah, yes. Fails to compile filemap.c, there is a typo in that source file, I can fix that one. |
That's the only problem I've had with it. ACPI is gone for some reason like Exner said, but apart from that it seems fine for me. |
I think I remember reading something on the LKML about having to enable APIC on uniprocessor pc's to get ACPI support. There was some stuff about changes to the linus tree that caused this screw up or something.. i'm not sure. |
|
Back to top |
|
|
|