View previous topic :: View next topic |
Author |
Message |
[/elBASTRON] n00b
Joined: 02 Apr 2003 Posts: 45
|
Posted: Fri Apr 25, 2003 11:12 am Post subject: |
|
|
Cossins wrote: | I have the same problem as port001 - mount tells me /dev/cdroms/cdrom0 isn't a block device. But it is!
Any solutions?
- Simon |
I had this problem because the device wasn't linked correctly. I could mount my cdroms with /dev/hdc and /dev/sr0 however, so I made a link of them with ln -sf /dev/ide/host0/bus1/target0/lun0/cd (you have to know your device of course, check how your cdrom is linked now, I think only the 'cd' at the ending isn't there) /dev/cdroms/cdrom0 for example. Just check the links with ls -n of your /dev/cdroms/cdromX , you'll see they are wrong :> ... link them correctly and you made it |
|
Back to top |
|
|
dufeu l33t
Joined: 30 Aug 2002 Posts: 924 Location: US-FL-EST
|
Posted: Fri Apr 25, 2003 6:37 pm Post subject: For ALSA |
|
|
The most reliable suggestion I have is to compile your required driver as a module then add the name of your driver to /etc/modules.autoload.d/kernel-2.5.
It will insert the snd module appropriately.
I'm running 2.4.20, 2.4.20-g2 and 2.5.68 (multiple booting) on two systems now. After you do:
# emerge development-sources
# emerge module-init-tools
your /etc/modules stuff is basically set up for supporting differently named modules for the same device.
Rather nice actually. _________________ People whom think M$ is mediocre, don't know the half of it. |
|
Back to top |
|
|
RickDB Apprentice
Joined: 20 Sep 2002 Posts: 155 Location: Netherlands
|
Posted: Fri Apr 25, 2003 8:59 pm Post subject: |
|
|
Hi i just tried the mm1 of 2.5.68, but check kv of the nvidia-kernel still points to /usr/src/linux instead of /usr/src/linux-beta.
Already tried some symlinks and the solutions that were pointed out after the nvidia-kernel did not emerge.
Does any1 have any idea?
I have also tried editing the ebuild but i can't find the kv=/usr/src/linux |
|
Back to top |
|
|
darktux Veteran
Joined: 16 Nov 2002 Posts: 1086 Location: Coimbra, Portugal
|
Posted: Fri Apr 25, 2003 9:09 pm Post subject: |
|
|
Why don't you just point /usr/src/linux-2.5.68-mm1 to /usr/src/linux?
That's what I do
(btw mm2 is already out) _________________ Lego my ego, and I'll lego your knowledge
www.tuxslare.org - My reborn website |
|
Back to top |
|
|
RickDB Apprentice
Joined: 20 Sep 2002 Posts: 155 Location: Netherlands
|
Posted: Fri Apr 25, 2003 9:45 pm Post subject: |
|
|
*edit
Ok ln -sf /usr/src/linux-2.5.68-mm2 /usr/src/linux did the trick mm2 works fine now
I used the elevator=cfq also that is too improve desktop behaviour right?
Now i need to fix the sound i compiled it in the kernel(standard emu10k1 card) but xmms seems to work only a hard beep is the result |
|
Back to top |
|
|
floam Veteran
Joined: 27 Oct 2002 Posts: 1067 Location: Vancouver, WA USA
|
Posted: Fri Apr 25, 2003 10:59 pm Post subject: |
|
|
mm-sources-2.5.68-mm2 fixes the cdrom block stuff. |
|
Back to top |
|
|
darktux Veteran
Joined: 16 Nov 2002 Posts: 1086 Location: Coimbra, Portugal
|
Posted: Fri Apr 25, 2003 11:10 pm Post subject: |
|
|
RickDB wrote: | *edit
Ok ln -sf /usr/src/linux-2.5.68-mm2 /usr/src/linux did the trick mm2 works fine now
I used the elevator=cfq also that is too improve desktop behaviour right?
Now i need to fix the sound i compiled it in the kernel(standard emu10k1 card) but xmms seems to work only a hard beep is the result |
I have also have a card with emu10k1 (Live!), what's your problem? Could you be more specific? _________________ Lego my ego, and I'll lego your knowledge
www.tuxslare.org - My reborn website |
|
Back to top |
|
|
RickDB Apprentice
Joined: 20 Sep 2002 Posts: 155 Location: Netherlands
|
Posted: Fri Apr 25, 2003 11:16 pm Post subject: |
|
|
Ok i compiled the sound support+alsa support+plus the emu10k1 in the kernel, emerge alsa-driver fails to compile(which is normal i think).
But when i start xmms it can see it playing but i don't hear sound.
I tried the alsamixer en kmix(which displays nothing) but i think it needs unmuting?
I just tried amixer set Master 100 unmute&&amixer set PCM 100 unmute but that didn't help.
*edit:
xmms console output:
Rick@T|_|X Rick $ xmms
** WARNING **: Buffer time reduced from 500 ms to 371 ms
seems normal..
Oh and i tried this 2:
Rick@T|_|X Rick $ grep audio /proc/pci
grep: /proc/pci: No such file or directory
Rick@T|_|X Rick $
And kde infocenter can't find my sound card??
Last edited by RickDB on Fri Apr 25, 2003 11:25 pm; edited 5 times in total |
|
Back to top |
|
|
floam Veteran
Joined: 27 Oct 2002 Posts: 1067 Location: Vancouver, WA USA
|
Posted: Fri Apr 25, 2003 11:17 pm Post subject: |
|
|
How can I check that the kernel is receiving its commands from grub config correctly? I have vga=791 and elevator=cqf, but it uses the a.s. evelavator and ignores my fbcon stuff. Using 2.5.68-mm2 |
|
Back to top |
|
|
Jarjar Apprentice
Joined: 21 Jul 2002 Posts: 265 Location: Sweden
|
Posted: Fri Apr 25, 2003 11:26 pm Post subject: |
|
|
RickDB wrote: |
Rick@T|_|X Rick $ grep audio /proc/pci
grep: /proc/pci: No such file or directory
Rick@T|_|X Rick $
And kde infocenter can't find my sound card?? |
Check your kernel config again, there's an option for this somewhere.
Anyway, emerge pciutils && lspci | grep audio should work.
floam: It's cfq, if you didn't make a typo in your post. _________________ [Server etc. | C2D 2.2 @ 3.0 GHz / 4 GB RAM / 3x1 TB + 1x2 TB SATA disks + 1.5 TB ext. | Gentoo]
[Laptop | Macbook Pro 15" / Core i7 (Sandy) Quad 2.2 GHz / 16 GB RAM / Samsung 840 250 GB SSD + 1 TB + 2 TB HDD / 6750M 1 GB / OS X, Win 7] |
|
Back to top |
|
|
RickDB Apprentice
Joined: 20 Sep 2002 Posts: 155 Location: Netherlands
|
Posted: Fri Apr 25, 2003 11:34 pm Post subject: |
|
|
root@T|_|X linux-beta # lspci | grep audio
00:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a)
root@T|_|X linux-beta #
Thx that seems to work now after remerging pci-utils, gonna make a new kernel just in case i forgot something
Found it:
[ ] Legacy /proc/pci interface |
|
Back to top |
|
|
darktux Veteran
Joined: 16 Nov 2002 Posts: 1086 Location: Coimbra, Portugal
|
Posted: Sat Apr 26, 2003 12:02 am Post subject: |
|
|
floam wrote: | How can I check that the kernel is receiving its commands from grub config correctly? I have vga=791 and elevator=cqf, but it uses the a.s. evelavator and ignores my fbcon stuff. Using 2.5.68-mm2 |
Check your dmesg, it has a part where it has the arguments passed by the bootloader to the kernel. _________________ Lego my ego, and I'll lego your knowledge
www.tuxslare.org - My reborn website |
|
Back to top |
|
|
RickDB Apprentice
Joined: 20 Sep 2002 Posts: 155 Location: Netherlands
|
Posted: Sat Apr 26, 2003 12:16 am Post subject: |
|
|
Hmm i have put my sound to the max 99 i hear the music but its like 1 volume i dunno why i unmuted and alsamixer has put everything to 99.. |
|
Back to top |
|
|
floam Veteran
Joined: 27 Oct 2002 Posts: 1067 Location: Vancouver, WA USA
|
Posted: Sat Apr 26, 2003 12:50 am Post subject: |
|
|
looks like I had the elevator misspelled, thanks. |
|
Back to top |
|
|
Seoushi Tux's lil' helper
Joined: 04 Feb 2003 Posts: 117 Location: Salt Lake City
|
Posted: Sat Apr 26, 2003 2:29 am Post subject: |
|
|
2.5.68-mm2 works great. I can defiantly tell a difference. Although I couldn't get my onboard broadcom 4401 card working because it wouldn't obtain an ip via dhcpcd. I just poped in a trust old 3com and its been great. Also they change a few module names arround on me, that was somewhat annoying, for example usb-ochi changed to ochi-hcd. Also my cdrom works fine, I'm playing audio cd off it right now. Alsa works but I have to unmute it everytime I boot, guess I'll just make an init script, unless anyone knows a cleaner way. _________________ -Seoushi |
|
Back to top |
|
|
keenan n00b
Joined: 30 Oct 2002 Posts: 33
|
Posted: Sat Apr 26, 2003 8:30 am Post subject: |
|
|
RickDB wrote: | Ok i compiled the sound support+alsa support+plus the emu10k1 in the kernel, emerge alsa-driver fails to compile(which is normal i think).
But when i start xmms it can see it playing but i don't hear sound.
I tried the alsamixer en kmix(which displays nothing) but i think it needs unmuting?
I just tried amixer set Master 100 unmute&&amixer set PCM 100 unmute but that didn't help.
*edit:
xmms console output:
Rick@T|_|X Rick $ xmms
** WARNING **: Buffer time reduced from 500 ms to 371 ms
seems normal..
Oh and i tried this 2:
Rick@T|_|X Rick $ grep audio /proc/pci
grep: /proc/pci: No such file or directory
Rick@T|_|X Rick $
And kde infocenter can't find my sound card?? |
Make sure you compile the OSS compat stuff as well, I had the same problem as you. The solution was to load up an OSS mixer (I just happened to use opmixer). You'll probably find that all your levels at 0. Turn em up and go nuts
After that, you should emerge inject the alsa-driver package, then build alsa-tools. Then you can alsactl store to save your current setup as default. |
|
Back to top |
|
|
RickDB Apprentice
Joined: 20 Sep 2002 Posts: 155 Location: Netherlands
|
Posted: Sat Apr 26, 2003 11:19 am Post subject: |
|
|
*edit:OSS API emulation(with the /dev/mixer options) worked
For a dev-kernel it sure runs bloody fast though
Woooohooo It works thx |
|
Back to top |
|
|
silverter Guru
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Sat Apr 26, 2003 1:05 pm Post subject: |
|
|
2.5.68-mm2 works fine for me too, but my only problem is xmms skipping while browsing the network. This is sorts annoying as I can't listen to my favorite music while reading news on the network. Anyone found a solution to this yet ? (Using cfq elevator).
regards _________________ -- A Guru was once a Beginner -- |
|
Back to top |
|
|
dufeu l33t
Joined: 30 Aug 2002 Posts: 924 Location: US-FL-EST
|
Posted: Sat Apr 26, 2003 5:42 pm Post subject: Tip for ADSL users running pppoe in the 2.5.68 kernel. |
|
|
As was pointed out early on in the thread, you need to add:
devpts /dev/pts devpts defaults 0 0
to your /etc/fstab file for pts support.
rp-pppoe or ppp aparently relies on pts. Therefore, if your want to do:
# adsl-start
you need to have pts properly mounted first.
_________________ People whom think M$ is mediocre, don't know the half of it. |
|
Back to top |
|
|
jimlynch11 Guru
Joined: 21 Feb 2003 Posts: 590 Location: massachusetts
|
Posted: Mon Apr 28, 2003 1:11 am Post subject: |
|
|
saw a cool article about the 2.6.* kernels...anyone know how close they are to being on the ~x86 tree? |
|
Back to top |
|
|
iamarug Apprentice
Joined: 09 Feb 2003 Posts: 220
|
Posted: Mon Apr 28, 2003 3:08 am Post subject: |
|
|
well, if you are asking when 2.6 will come out, I think I saw a thread somewhere around these forums that said june? |
|
Back to top |
|
|
sindre Guru
Joined: 01 Nov 2002 Posts: 315 Location: Norway
|
Posted: Tue Apr 29, 2003 12:06 am Post subject: |
|
|
I also have the choppy mp3 problem, on a 2.4 GHz p4.
I noticed X going to 99% cpu when dragging windows around, might be because I'm using the nv driver (nvidia was unstable, lockup when logging out etc.)
edit: Nevermind, I think it's a problem with net-rhythmbox. xmms gives me some strange noise on some mp3s. I'm running zinf now, which doesn't jump audio or have flawed sound. Only problem I have with zinf is that I have to have two windows open if I want to see my playlist. |
|
Back to top |
|
|
sindre Guru
Joined: 01 Nov 2002 Posts: 315 Location: Norway
|
Posted: Thu May 01, 2003 4:18 pm Post subject: |
|
|
mm3 is out.
Code: | gcc -Wp,-MD,net/core/.netfilter.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium4 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=netfilter -DKBUILD_MODNAME=netfilter -c -o net/core/.tmp_netfilter.o net/core/netfilter.c
net/core/netfilter.c: In function `nf_reinject':
net/core/netfilter.c:559: `i' undeclared (first use in this function)
net/core/netfilter.c:559: (Each undeclared identifier is reported only once
net/core/netfilter.c:559: for each function it appears in.)
net/core/netfilter.c:559: warning: left-hand operand of comma expression has no
effect
net/core/netfilter.c:559: warning: left-hand operand of comma expression has no
effect
make[2]: *** [net/core/netfilter.o] Error 1
make[1]: *** [net/core] Error 2
make: *** [net] Error 2 |
|
|
Back to top |
|
|
jimlynch11 Guru
Joined: 21 Feb 2003 Posts: 590 Location: massachusetts
|
Posted: Fri May 02, 2003 3:56 am Post subject: |
|
|
is it in portage...its not showing up in mine... |
|
Back to top |
|
|
dice Guru
Joined: 21 Apr 2002 Posts: 577
|
Posted: Fri May 02, 2003 4:35 am Post subject: |
|
|
jimlynch11 wrote: | is it in portage...its not showing up in mine... |
Not yet. Maybe by morning
Edit: If you rename mm-sorces-2.5.68-r2.ebuild to mm-sources-2.5.68-r3.ebuild it works just dandy |
|
Back to top |
|
|
|