View previous topic :: View next topic |
Author |
Message |
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Jan 18, 2004 10:28 am Post subject: |
|
|
ah, it works now . The problem was that /etc/udev/udev/conf hadnt been updated to put the database into /dev so udev can write to it. Sorted and working on 2.6.1-love5 . The only problem is that since I have two monitors on my nvidia card, I forgot to create /dev/nvidia1, so X locked up on startup. Sorted now thou
Someone should email the udev ppl and say that its working fine now... _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock
Last edited by TheCoop on Sun Jan 18, 2004 11:39 am; edited 1 time in total |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Jan 18, 2004 11:37 am Post subject: |
|
|
just one question, I want /dev/cdrom, /dev/dvd etc to be symlinks to /dev/hdc etc. In udev.rules you can tell it to move /dev/hdc to /dev/cdrom and then symlink back to /dev/hdc, but I just want a symlink to /dev/cdrom. How would you specify that? _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
fredor Tux's lil' helper
Joined: 13 Oct 2003 Posts: 84 Location: UK
|
Posted: Sun Jan 18, 2004 7:23 pm Post subject: |
|
|
Tried pure udev as per Decibels instructions.
Mouse was on /dev/mouse0 with udev-013
and on /dev/input/mouse0 with udev-013-r1.
I am running with kernel-2.6.1-mm4 and everything works fine except the Shell-console which shows no bash promp and does not accept keyboard input.
I am using kde-5 from 'iamlarryboy' |
|
Back to top |
|
|
nepenthe Guru
Joined: 14 Jul 2002 Posts: 317 Location: Sanford, ME
|
Posted: Sun Jan 18, 2004 7:35 pm Post subject: |
|
|
TheCoop wrote: | ah, it works now . The problem was that /etc/udev/udev/conf hadnt been updated to put the database into /dev so udev can write to it. Sorted and working on 2.6.1-love5 . The only problem is that since I have two monitors on my nvidia card, I forgot to create /dev/nvidia1, so X locked up on startup. Sorted now thou
Someone should email the udev ppl and say that its working fine now... |
could you explain further... I'm getting the /dev/console and /dev/hda error
/etc/udev/udev.conf
Code: |
# udev_root - where in the filesystem to place the device nodes
udev_root="/dev/"
|
Is this not right? |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Jan 18, 2004 7:55 pm Post subject: |
|
|
this is the line you need to change:
Code: | # udev_db - The name and location of the udev database.
# NOTE: this should be somewhere that is writable before
# / is mounted rw, like /dev ...
udev_db="/dev/.udev.tdb" |
try re-downloading and reemerging udev-013-r1 to get it _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
NuclearFusi0n Apprentice
Joined: 20 Jun 2003 Posts: 297
|
Posted: Sun Jan 18, 2004 8:22 pm Post subject: |
|
|
TheCoop wrote: | just one question, I want /dev/cdrom, /dev/dvd etc to be symlinks to /dev/hdc etc. In udev.rules you can tell it to move /dev/hdc to /dev/cdrom and then symlink back to /dev/hdc, but I just want a symlink to /dev/cdrom. How would you specify that? |
Just make the symlinks with ln -s. They will be saved when you shutdown and restored when you boot up. _________________ I will keel yoo grub |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Jan 18, 2004 8:27 pm Post subject: |
|
|
im not using devices.tar.bz2 anymore, its all specified in /etc/udev/udev.rules. Nothing is stored over reboots anymore, its all created dynamically. Whats the correct line in udev.rules? _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
nepenthe Guru
Joined: 14 Jul 2002 Posts: 317 Location: Sanford, ME
|
Posted: Sun Jan 18, 2004 8:48 pm Post subject: |
|
|
TheCoop wrote: | this is the line you need to change:
Code: | # udev_db - The name and location of the udev database.
# NOTE: this should be somewhere that is writable before
# / is mounted rw, like /dev ...
udev_db="/dev/.udev.tdb" |
try re-downloading and reemerging udev-013-r1 to get it |
from my file
Code: |
# udev_root - where in the filesystem to place the device nodes
udev_root="/dev/"
# udev_db - The name and location of the udev database.
# NOTE: this should be somewhere that is writable before
# / is mounted rw, like /dev ...
udev_db="/dev/.udev.tdb"
|
?? |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Jan 18, 2004 9:45 pm Post subject: |
|
|
you can have a look at my current /etc/udev/* files at http://thecoop.dyndns.org/udev/udev.{conf,permissions,rules} _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
nepenthe Guru
Joined: 14 Jul 2002 Posts: 317 Location: Sanford, ME
|
Posted: Sun Jan 18, 2004 10:09 pm Post subject: |
|
|
url not working =\ |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Jan 18, 2004 10:11 pm Post subject: |
|
|
you need to substitute {thing} for each one you want to access
eg: http://thecoop.dyndns.org/udev/udev.conf _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
nepenthe Guru
Joined: 14 Jul 2002 Posts: 317 Location: Sanford, ME
|
Posted: Sun Jan 18, 2004 10:12 pm Post subject: |
|
|
lol
thanks |
|
Back to top |
|
|
nepenthe Guru
Joined: 14 Jul 2002 Posts: 317 Location: Sanford, ME
|
Posted: Sun Jan 18, 2004 10:22 pm Post subject: |
|
|
hmm our configs look pretty much identical...
edit... yup identical =) |
|
Back to top |
|
|
uglyman Apprentice
Joined: 21 Apr 2002 Posts: 216 Location: Seattle, WA USA
|
Posted: Sat Jan 24, 2004 1:01 am Post subject: alsa + udev = problems? |
|
|
Hi guys,
I was on board for the initial run of this 2.6 + udev adventure, but then my IBM deathstar crapped out on me. It took me a while to score a couple more hard drives, and now I am FINALLY getting it all running again. btw thanks for all the hard work you guys have done, since I was away.
I haven't tried the udev only setup, disabling the tar ball thing. I would like to get it working a little better first.I have 2.6 (no devfs compiled) with alsa compiled in, and I have udev.
now my main issue may or may not be udev related. When I access certain things in the dev directory I get errors about no such device or address. I must say that MOST things have worked great, and the few holdouts are rather obscure. This is making it tough to know if udev is my problem, or if maybe it is another issue. I am hoping somebody here has some hints for me.
two examples of the No such device or address problem:
trying to load sound fonts for use with midi on my emu10k1:
$ sfxload /path/to/.sf2
/dev/sequencer: No such device or address
trying to do anything to /dev/lircd gives similar errors.
these are the only two problems I have noticed and it is very likely that I just have something set up wrong with alsa or lirc. I didn't want to lay this on the rest of the community without trying here first though, because udev + 2.6 is still kind of uncommon. if you think my problem is related to something off topic, feel free to PM me or IM me.
thanks for the help!
later
uglyman |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sat Jan 24, 2004 8:37 am Post subject: |
|
|
on mine /dev/sequencer is a symlink to /dev/sound/sequencer, does /dev/sound exist? if not have you got alsa-oss compatability compiled into the kernel? _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
NuclearFusi0n Apprentice
Joined: 20 Jun 2003 Posts: 297
|
Posted: Sat Jan 24, 2004 10:51 pm Post subject: |
|
|
i cant believe it hasn't been mentioned yet, udev 014 is out _________________ I will keel yoo grub |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sat Jan 24, 2004 10:59 pm Post subject: |
|
|
*eagerly awaits ebuild, prods devs* _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
aufrank n00b
Joined: 30 Sep 2002 Posts: 3 Location: Columbia University, New York, NY
|
Posted: Sun Jan 25, 2004 1:38 am Post subject: still getting /dev/console error |
|
|
I tried running a system with udev dynamically discovering all devices, rather than with the tarballs, as shown in this thread. I've tried this with 2.6.1-mm5 and 2.6.2-rc1-mm2, both with udev version 013-r1. all of the files in /etc/udev/ are current with the latest examples posted in these forums.
in each case, when I boot I get an error that /dev/console is not available. I do have unix98 tty support compiled in, as well as /dev/pts support. I do not have devfs support built at all.
when I look in /var/log/messages, I get a _ton_ of messages about nbd (network block devices)... here's a sample:
Code: |
Jan 20 01:42:04 gryphlet end_request: I/O error, dev nbd105, sector 0
Jan 20 01:42:04 gryphlet nbd106: Request when not-ready
Jan 20 01:42:04 gryphlet end_request: I/O error, dev nbd106, sector 0
Jan 20 01:42:04 gryphlet nbd107: Request when not-ready
Jan 20 01:42:04 gryphlet end_request: I/O error, dev nbd107, sector 0
|
does anyone have any suggestions?
thanks,
/au |
|
Back to top |
|
|
uglyman Apprentice
Joined: 21 Apr 2002 Posts: 216 Location: Seattle, WA USA
|
Posted: Sun Jan 25, 2004 2:30 am Post subject: |
|
|
hi thanks for the tip TheCoop!
I see that I dont' have /dev/sound but I do have /dev/snd.
I have /dev/snd/seq and if I simlink to that and sfxload, I get an error that there is no sound card.
vary strange. well I found out that I need to recompile my kernel for some other stuff I want to change, so I am planning to just double check all the sound settings as carefully as I can. I am in the middle of an emerge -UD world right now, so I am gonna wait for that to finish anyway.
I have seen some people recommend compiling alsa directly in, and some say to do it all as modules. which do you guys recommend? I believe I had it working on my old (now broken) hard drive, with it compiled in, but I can do it either way.
thanks
ugl |
|
Back to top |
|
|
Decibels Veteran
Joined: 16 Aug 2002 Posts: 1623 Location: U.S.A.
|
|
Back to top |
|
|
uglyman Apprentice
Joined: 21 Apr 2002 Posts: 216 Location: Seattle, WA USA
|
Posted: Sun Jan 25, 2004 4:07 am Post subject: |
|
|
thanks,
looks like I have more reading to do
I got my stuff updated so after I etc-update I will try the kernel again.
later,
ugl |
|
Back to top |
|
|
uglyman Apprentice
Joined: 21 Apr 2002 Posts: 216 Location: Seattle, WA USA
|
Posted: Sun Jan 25, 2004 8:45 am Post subject: w00t w00t w00t |
|
|
w00t!
ok so I ran snddevices from the alsa-driver package again. I am 99.999% sure I already did this once, but for some reason the problems with sfxload stopped. so midi works.
thanks for the help
later
ugl
ps: can anyone explain this to me? no no wait... its working now so I am gonna go ahead and NOT CARE AT ALL |
|
Back to top |
|
|
nepenthe Guru
Joined: 14 Jul 2002 Posts: 317 Location: Sanford, ME
|
Posted: Mon Jan 26, 2004 9:30 pm Post subject: |
|
|
anyone ever have a problem with udev not creating /dev/discs and /dev/cdroms ? |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Mon Jan 26, 2004 10:07 pm Post subject: |
|
|
ive got a problem with udev not creating /dev/js0... _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
Evil Dark Archon Guru
Joined: 21 Dec 2002 Posts: 562 Location: Santa Rosa, CA
|
Posted: Tue Jan 27, 2004 12:28 am Post subject: |
|
|
latest news from lkml, udev 015 is out. |
|
Back to top |
|
|
|