Re: [BUG] serial ioctl not returning with 2.4.3

2001-04-12 Thread Russell King
On Wed, Apr 11, 2001 at 05:36:42PM -0500, Steven Walter wrote: > It would appear that way, if not for something I neglected to mention in > my first message--the ioctl is on the fd for the opened serial port. > This succeeds in other version of the kernel (as described in my > original posting) an

Re: [BUG] serial ioctl not returning with 2.4.3

2001-04-11 Thread Steven Walter
On Wed, Apr 11, 2001 at 04:50:21PM -0400, Jeff Garzik wrote: > Steven Walter wrote: > > > > When I try to start "agetty" on my serial line, agetty hangs in an > > ioctl; according to strace, this ioctl is "SNDCTL_TMR_STOP". This > > doesn't sound right, but that ioctl is defined as _IO('T', 3) i

Re: [BUG] serial ioctl not returning with 2.4.3

2001-04-11 Thread Russell King
On Wed, Apr 11, 2001 at 04:50:21PM -0400, Jeff Garzik wrote: > I am not sure this is a serial driver bug: Some ioctls are reused ;( #define TCSETSW 0x5403 Its really a TCSETSW ioctl. > [jgarzik@rum linux_2_4]$ find . -name '*.[ch]'|xargs grep -wn > SNDCTL_TMR_STOP > ./arch/sparc64/kern

Re: [BUG] serial ioctl not returning with 2.4.3

2001-04-11 Thread Jeff Garzik
Steven Walter wrote: > > When I try to start "agetty" on my serial line, agetty hangs in an > ioctl; according to strace, this ioctl is "SNDCTL_TMR_STOP". This > doesn't sound right, but that ioctl is defined as _IO('T', 3) if that > makes any more sense. > > The reason that this must be a kern

[BUG] serial ioctl not returning with 2.4.3

2001-04-11 Thread Steven Walter
When I try to start "agetty" on my serial line, agetty hangs in an ioctl; according to strace, this ioctl is "SNDCTL_TMR_STOP". This doesn't sound right, but that ioctl is defined as _IO('T', 3) if that makes any more sense. The reason that this must be a kernel bug is because agetty works flawl