vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I'm searching the web to solve this but for now without any effect. this is kernel-independent problem I believe. Problems for sure with alsa and ptty(?)- not sure what is responsible for xterm or any other term in X - none of them opens. when the system starts on both selinux-sources (2.4) and gentoo-dev-sources (2.6) with the gentoo=nodevfs (and no /dev in the kernel compiled) I see error "unable to set user font and on the machine on which I have X (2.6) I cannot enable sound nor open xterm etc. I did MAKEDEV update in /dev but it says it doesn't know "alsa" and trying to. How to fix these? god knows what other devices are missing. I found a text about ./snddevices but I don't have it (it is supposed to be in alsa-driver which of course I don't have due to kernel 2.6) |
| |||
| PiotrAF enlightened us with: > when the system starts on both selinux-sources (2.4) and > gentoo-dev-sources (2.6) with the gentoo=nodevfs (and no /dev in the > kernel compiled) Why don't you want devfs? I can only see advantages... Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? |
| |||
| On Sat, 21 Feb 2004 00:16:08 +0000, Sybren Stuvel wrote: >> when the system starts on both selinux-sources (2.4) and >> gentoo-dev-sources (2.6) with the gentoo=nodevfs (and no /dev in the >> kernel compiled) > > Why don't you want devfs? I can only see advantages... > a) SElinux doesn't allow devfs b) I need to be capable of managing a system without devfs |
| |||
| PiotrAF wrote: > On Sat, 21 Feb 2004 00:16:08 +0000, Sybren Stuvel wrote: > > >>>when the system starts on both selinux-sources (2.4) and >>>gentoo-dev-sources (2.6) with the gentoo=nodevfs (and no /dev in the >>>kernel compiled) >> >>Why don't you want devfs? I can only see advantages... >> > > > a) SElinux doesn't allow devfs Did you follow http://www.gentoo.org/proj/en/harden...86-install.xml ? > b) I need to be capable of managing a system without devfs Weird job interview? -- Ben M. ---------------- What are Software Patents for? To protect the small enterprise from bigger companies. What do Software Patents do? In its current form, they protect only companies with big legal departments as they: a.) Patent everything no matter how general b.) Sue everybody. Even if the patent can be argued invalid, small companies can ill-afford the typical $500k cost of a law-suit (not to mention years of harassment). Don't let them take away your right to program whatever you like. Make a stand on Software Patents before its too late. Read about the ongoing battle at http://swpat.ffii.org/ ---------------- |
| |||
| On Sat, 21 Feb 2004 18:42:37 +0000, Ben Measures wrote: >> a) SElinux doesn't allow devfs > > Did you follow > http://www.gentoo.org/proj/en/harden...86-install.xml ? of course > >> b) I need to be capable of managing a system without devfs > > Weird job interview? hehehe :P just stubbornness |
| |||
| PiotrAF <piotraf@nospam.poczta.onet.pl> writes: > On Sat, 21 Feb 2004 18:42:37 +0000, Ben Measures wrote: > > >> a) SElinux doesn't allow devfs > > > > Did you follow > > http://www.gentoo.org/proj/en/harden...86-install.xml ? > > of course > > > > >> b) I need to be capable of managing a system without devfs > > > > > Weird job interview? > > hehehe :P just stubbornness No wonder you've been married twice ;0) |
| |||
| Yup... devfs sucks... PiotrAF wrote: > I'm searching the web to solve this but for now without any effect. > this is kernel-independent problem I believe. Problems for sure with alsa > and ptty(?)- not sure what is responsible for xterm or any other term in > X - none of them opens. > when the system starts on both selinux-sources (2.4) and > gentoo-dev-sources (2.6) with the gentoo=nodevfs (and no /dev in the > kernel compiled) I see error "unable to set user font and on the machine > on which I have X (2.6) I cannot enable sound nor open xterm etc. I did > MAKEDEV update in /dev but it says it doesn't know "alsa" and trying to. > How to fix these? god knows what other devices are missing. I found a text > about ./snddevices but I don't have it (it is supposed to be in > alsa-driver which of course I don't have due to kernel 2.6) Here's what you do... You must compile in pty support in the kernel. It's off by default in the 2.6 versions... You must run snddevices in the alsa-drivers package to create the alsa soujnd devices.... Once you do this, it all should begin working. What you will run into, is missing devices under /dev. Have no fear, as they (the devices) are enumerated in the documentation in the linux source tree.Just figure out which ones you need and then mknod as you go... After you go through these steps, and still have problems, either post here or reach me via email and I can help you further. Cheers. |
| ||||
| On Sat, 21 Feb 2004 12:01:53 -0500, Jerry McBride wrote: > > Yup... devfs sucks... > > Here's what you do... I started dreaming..... > > You must compile in pty support in the kernel. It's off by default in the > 2.6 versions... I have them This is my current config (temporarily I have the /dev(fs)) http://piotr.toya.net.pl/~piotraf/li...rent/config.gz > > You must run snddevices in the alsa-drivers package to create the alsa > soujnd devices.... I did run.. well it made few devices and it might be sufficent to play any sound which I didn't check due to the fact that immediatelly after startx i saw that my gkrellm-sound plugin stopped working (dissappeared) i.e. I still didn't have the /dev/pcm etc I guess > > Once you do this, it all should begin working. What you will run into, > is missing devices under /dev. Have no fear, as they (the devices) are > enumerated in the documentation in the linux source tree.Just figure out > which ones you need and then mknod as you go... > That's a good tip. really. By any chance you know what could be responsible for: unable to set user font which also probably causes the (any)term fail to start + some weird keyboard problems related to this I guess - when booted in such "missing-dev" environmnent I was going out and wanted to emerge some stuff. so without the X I did so, and suddenly my PC speaker started playing some weird "alarm-music" quite chaotic and I think invoked from what was going on the creen during the emerge. > After you go through these steps, and still have problems, either post > here or reach me via email and I can help you further. I will if you won;t reply here |
| Thread Tools | |
| Display Modes | |
|
|