I've recently upgraded to Debian 2.2 and cannot get sound and ppp on
the same kernel. I have each of them working on individual kernels,
at least - but its painful to switch :). 

I'm running an old soundblaster card that fits into the ISA (?) bus,
and so had to compile the modules to make it work - the default sound
and sb modules did not work.

The kernel, vmlinuz-2.2.17-idepci, runs pppd but I cannot get the sound
modules (force) loaded into it. They complain about lack of midi 
support, amongst other things.

I compiled a kernel from kernel-source-2.2.17_2.2.17pre6-1.deb, got
the sound modules installed, sound works hunky-dory. But I cannot
get ppp to work on this kernel.

What stops ppp from working ? The following strace shows the story :

open("/dev/pts/0", O_RDWR|O_NOCTTY)     = 6
ioctl(6, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(6, SNDCTL_TMR_CONTINUE, {B38400 -opost -isig -icanon -echo ...}) = 0
ioctl(6, TIOCSETD, [3])                 = -1 EPERM (Operation not permitted)

pppd opens a file to the "serial" device, and cannot send the TIOCSETD,
one of the tty ioctl commands. This happens without a hitch on the 
-idepci kernel.

One subtlety : the -idepci kernel loads all of the modules : slhc, ppp,
ppp_deflate and bsd_comp, but the plain 2.2.17 kernel does not. Make
modules has not prompted it to compile ppp.o or slhc.o (but it did 
compile ppp_deflate and bsd_comp), perhaps these are included in the
kernel itself.

Guess I could try compiling the sound modules into the -idepci kernel,
but I'm not certain this will work - I'd like a better idea of what is
going on.

Thanks,

-- 
John August

"Do you sell cats ?"

"Well ... yes and no"

- Schrodinger's Pet Shop


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to