Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Re: zsh on console
  2002-05-06 12:44 zsh on console Kjeld Borch Egevang
@ 2002-05-06 11:53 ` Ralf Baechle
  2002-05-06 12:57 ` Kevin D. Kissell
  1 sibling, 0 replies; 7+ messages in thread
From: Ralf Baechle @ 2002-05-06 11:53 UTC (permalink / raw)
  To: Kjeld Borch Egevang; +Cc: linux-mips mailing list

On Mon, May 06, 2002 at 02:44:33PM +0200, Kjeld Borch Egevang wrote:

> When I run zsh on the console (serial interface) the process hangs. I can 
> login with /bin/bash, but when I start /bin/zsh it waits forever. I can 
> interrupt the process and regain control.
> 
> It's only related to the console. If I login with telnet it works just 
> fine.
> 
> Any idea, what could be wrong?

I recently fixed a simliar bug in the sb1250_duart.c driver.  Basically
a hangup of the tty did result in the close routine getting called thus
the driver's usage counter for ttyS0 eventually dropping to zero though
it was still open ...

  Ralf

^ permalink raw reply	[flat|nested] 7+ messages in thread

* zsh on console
@ 2002-05-06 12:44 Kjeld Borch Egevang
  2002-05-06 11:53 ` Ralf Baechle
  2002-05-06 12:57 ` Kevin D. Kissell
  0 siblings, 2 replies; 7+ messages in thread
From: Kjeld Borch Egevang @ 2002-05-06 12:44 UTC (permalink / raw)
  To: linux-mips mailing list

When I run zsh on the console (serial interface) the process hangs. I can 
login with /bin/bash, but when I start /bin/zsh it waits forever. I can 
interrupt the process and regain control.

It's only related to the console. If I login with telnet it works just 
fine.

Any idea, what could be wrong?


/Kjeld

-- 
_    _ ____  ___                       Mailto:kjelde@mips.com
|\  /|||___)(___    MIPS Denmark       Direct: +45 44 86 55 85
| \/ |||    ____)   Lautrupvang 4 B    Switch: +45 44 86 55 55
  TECHNOLOGIES      DK-2750 Ballerup   Fax...: +45 44 86 55 56
                    Denmark            http://www.mips.com/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: zsh on console
  2002-05-06 12:44 zsh on console Kjeld Borch Egevang
  2002-05-06 11:53 ` Ralf Baechle
@ 2002-05-06 12:57 ` Kevin D. Kissell
  2002-05-06 19:16   ` H . J . Lu
  1 sibling, 1 reply; 7+ messages in thread
From: Kevin D. Kissell @ 2002-05-06 12:57 UTC (permalink / raw)
  To: Kjeld Borch Egevang, linux-mips mailing list

> When I run zsh on the console (serial interface) the process hangs. I can 
> login with /bin/bash, but when I start /bin/zsh it waits forever. I can 
> interrupt the process and regain control.
> 
> It's only related to the console. If I login with telnet it works just 
> fine.
> 
> Any idea, what could be wrong?

I don't know what it would be specifically, but having
dealt with similar problems on other Unix systems,
it's proably the case that zsh uses a particular tty
mode that isn't correctly supported by the serial
console driver, either due to a bug in the driver or
due to a conflict with some other feature enabled
on the console port.  The next step to take would
be to run "stty -all" under /bin/bash and under
/bin/zsh on a telnet session, and compare the 
outputs.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: zsh on console
  2002-05-06 12:57 ` Kevin D. Kissell
@ 2002-05-06 19:16   ` H . J . Lu
  2002-05-06 22:06     ` Hartvig Ekner
  0 siblings, 1 reply; 7+ messages in thread
From: H . J . Lu @ 2002-05-06 19:16 UTC (permalink / raw)
  To: Kevin D. Kissell; +Cc: Kjeld Borch Egevang, linux-mips mailing list

On Mon, May 06, 2002 at 02:57:28PM +0200, Kevin D. Kissell wrote:
> > When I run zsh on the console (serial interface) the process hangs. I can 
> > login with /bin/bash, but when I start /bin/zsh it waits forever. I can 
> > interrupt the process and regain control.
> > 
> > It's only related to the console. If I login with telnet it works just 
> > fine.
> > 
> > Any idea, what could be wrong?
> 
> I don't know what it would be specifically, but having
> dealt with similar problems on other Unix systems,
> it's proably the case that zsh uses a particular tty
> mode that isn't correctly supported by the serial
> console driver, either due to a bug in the driver or
> due to a conflict with some other feature enabled
> on the console port.  The next step to take would
> be to run "stty -all" under /bin/bash and under
> /bin/zsh on a telnet session, and compare the 
> outputs.

That sounds like a zsh bug I fixed. Please try zsh 3.0.8-8.1 in my RedHat 7.1
port and let me know if it doesn't work for you.



H.J.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: zsh on console
  2002-05-06 19:16   ` H . J . Lu
@ 2002-05-06 22:06     ` Hartvig Ekner
  2002-05-06 22:06       ` Hartvig Ekner
  2002-05-06 23:06       ` H . J . Lu
  0 siblings, 2 replies; 7+ messages in thread
From: Hartvig Ekner @ 2002-05-06 22:06 UTC (permalink / raw)
  To: H . J . Lu; +Cc: Kevin D. Kissell, Kjeld Borch Egevang, linux-mips mailing list

H . J . Lu writes:
> 
> On Mon, May 06, 2002 at 02:57:28PM +0200, Kevin D. Kissell wrote:
> > > When I run zsh on the console (serial interface) the process hangs. I can 
> > > login with /bin/bash, but when I start /bin/zsh it waits forever. I can 
> > > interrupt the process and regain control.
> > > 
> > > It's only related to the console. If I login with telnet it works just 
> > > fine.
> > > 
> > > Any idea, what could be wrong?
> > 
> > I don't know what it would be specifically, but having
> > dealt with similar problems on other Unix systems,
> > it's proably the case that zsh uses a particular tty
> > mode that isn't correctly supported by the serial
> > console driver, either due to a bug in the driver or
> > due to a conflict with some other feature enabled
> > on the console port.  The next step to take would
> > be to run "stty -all" under /bin/bash and under
> > /bin/zsh on a telnet session, and compare the 
> > outputs.
> 
> That sounds like a zsh bug I fixed. Please try zsh 3.0.8-8.1 in my RedHat 7.1
> port and let me know if it doesn't work for you.

You only have the source RPM on OSS?
I believe we compiled from another SRC RPM: zsh-4.0.4-5.src.rpm. 

What was your fix? 

/Hartvig

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: zsh on console
  2002-05-06 22:06     ` Hartvig Ekner
@ 2002-05-06 22:06       ` Hartvig Ekner
  2002-05-06 23:06       ` H . J . Lu
  1 sibling, 0 replies; 7+ messages in thread
From: Hartvig Ekner @ 2002-05-06 22:06 UTC (permalink / raw)
  To: H . J . Lu; +Cc: Kevin D. Kissell, Kjeld Borch Egevang, linux-mips mailing list

H . J . Lu writes:
> 
> On Mon, May 06, 2002 at 02:57:28PM +0200, Kevin D. Kissell wrote:
> > > When I run zsh on the console (serial interface) the process hangs. I can 
> > > login with /bin/bash, but when I start /bin/zsh it waits forever. I can 
> > > interrupt the process and regain control.
> > > 
> > > It's only related to the console. If I login with telnet it works just 
> > > fine.
> > > 
> > > Any idea, what could be wrong?
> > 
> > I don't know what it would be specifically, but having
> > dealt with similar problems on other Unix systems,
> > it's proably the case that zsh uses a particular tty
> > mode that isn't correctly supported by the serial
> > console driver, either due to a bug in the driver or
> > due to a conflict with some other feature enabled
> > on the console port.  The next step to take would
> > be to run "stty -all" under /bin/bash and under
> > /bin/zsh on a telnet session, and compare the 
> > outputs.
> 
> That sounds like a zsh bug I fixed. Please try zsh 3.0.8-8.1 in my RedHat 7.1
> port and let me know if it doesn't work for you.

You only have the source RPM on OSS?
I believe we compiled from another SRC RPM: zsh-4.0.4-5.src.rpm. 

What was your fix? 

/Hartvig

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: zsh on console
  2002-05-06 22:06     ` Hartvig Ekner
  2002-05-06 22:06       ` Hartvig Ekner
@ 2002-05-06 23:06       ` H . J . Lu
  1 sibling, 0 replies; 7+ messages in thread
From: H . J . Lu @ 2002-05-06 23:06 UTC (permalink / raw)
  To: Hartvig Ekner
  Cc: Kevin D. Kissell, Kjeld Borch Egevang, linux-mips mailing list

On Tue, May 07, 2002 at 12:06:42AM +0200, Hartvig Ekner wrote:
> H . J . Lu writes:
> > 
> > On Mon, May 06, 2002 at 02:57:28PM +0200, Kevin D. Kissell wrote:
> > > > When I run zsh on the console (serial interface) the process hangs. I can 
> > > > login with /bin/bash, but when I start /bin/zsh it waits forever. I can 
> > > > interrupt the process and regain control.
> > > > 
> > > > It's only related to the console. If I login with telnet it works just 
> > > > fine.
> > > > 
> > > > Any idea, what could be wrong?
> > > 
> > > I don't know what it would be specifically, but having
> > > dealt with similar problems on other Unix systems,
> > > it's proably the case that zsh uses a particular tty
> > > mode that isn't correctly supported by the serial
> > > console driver, either due to a bug in the driver or
> > > due to a conflict with some other feature enabled
> > > on the console port.  The next step to take would
> > > be to run "stty -all" under /bin/bash and under
> > > /bin/zsh on a telnet session, and compare the 
> > > outputs.
> > 
> > That sounds like a zsh bug I fixed. Please try zsh 3.0.8-8.1 in my RedHat 7.1
> > port and let me know if it doesn't work for you.
> 
> You only have the source RPM on OSS?

I didn't add cross compile support for zsh. You have to compile it natively.

> I believe we compiled from another SRC RPM: zsh-4.0.4-5.src.rpm. 

zsh-4.0.4-5 will be in my RedHat 7.3 port.

> 
> What was your fix? 
> 

zsh-3.0.8-open.patch is in baseline.tar.bz2.


H.J.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-05-07  2:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-06 12:44 zsh on console Kjeld Borch Egevang
2002-05-06 11:53 ` Ralf Baechle
2002-05-06 12:57 ` Kevin D. Kissell
2002-05-06 19:16   ` H . J . Lu
2002-05-06 22:06     ` Hartvig Ekner
2002-05-06 22:06       ` Hartvig Ekner
2002-05-06 23:06       ` H . J . Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox