Anonymous | Login | Signup for a new account | 11-10-2008 11:07 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001075 | [BusyBox] Other | major | always | 10-20-06 06:00 | 12-21-06 16:47 | ||||
Reporter | RenHoek | View Status | public | ||||||
Assigned To | BusyBox | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 1.2.x | ||||||
Summary | 0001075: getty breaks on ioctl on MPC850 | ||||||||
Description |
I'm trying upgrade from busybox 1.00 (which works) to 1.2.1, but I'm running into trouble with getty. I'm on an embedded Motorola platform. When init tries to start getty I get this error and getty exits: I traced this to this bit in loginutils/getty.c /* * The following ioctl will fail if stdin is not a tty, but also when * there is noise on the modem control lines. In the latter case, the * common course of action is (1) fix your cables (2) give the modem more * time to properly reset after hanging up. SunOS users can achieve (2) * by patching the SunOS kernel variable "zsadtrlow" to a larger value; * 5 seconds seems to be a good value. */ if (ioctl(0, TCGETA, tp) < 0) error("%s: ioctl: %m", tty); When I comment it out, I get my login prompt. I fill in my username and getty break again with this error: getty: /dev/tts/0: ioctl: TCSETA: Invalid argument Since 1.00 worked, I'll try and find out what has changed. I realise this would be hard to reproduce for you guys since it's a custom platform, but any tips are appreciated. :) |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Copyright © 2000 - 2006 Mantis Group |