[BusyBox] Problem with getty ! (ATTACHED getty output and strace output)

Massimiliano Zilio massimiliano.z at tiscali.it
Wed Oct 15 09:23:46 UTC 2003


Hi,

    I'm not able to login on my arm-linux system via getty on serial 
console.
I' m using busybox-1.00-pre2, gcc-3.2.2, uClibc-0.9.19 and kernel 2.4.19.

After the boot I have this output on serial console :

VFS: Mounted root (nfs filesystem).
Freeing init memory: 52K
Starting syslogd...
---------------------------------------------------------------------------------
Initializing rele module...
Initializing serial module...
Initializing fpga module...
Initializing clock module...
---------------------------------------------------------------------------------
Network interface ACTIVE on 10.1.2.66
XINETD                     [    OK    ]
Wed Oct 15 09:39:00 UTC 2003
getty: ioctl() TIOCSPGR
*******************************
*  Welcome to Fracarro KTLC!  *
*******************************

frktlc login:

When I try to login I have this output:

frktlc login: user [enter]

Login timed out after 60 seconds.
getty: ioctl() TIOCSPGR
*******************************
*  Welcome to Fracarro KTLC!  *
*******************************

frktlc login:


And this the strace output of getty when I try to login:


108   read(0, "u", 1)                   = 1
108   write(1, "u", 1)                  = 1
108   read(0, "s", 1)                   = 1
108   write(1, "s", 1)                  = 1
108   read(0, "e", 1)                   = 1
108   write(1, "e", 1)                  = 1
108   read(0, "r", 1)                   = 1
108   write(1, "r", 1)                  = 1
108   read(0, "\n", 1)                  = 1
108   ioctl(0, SNDCTL_TMR_START, {B115200 opost isig icanon echo ...}) = 0
108   write(1, "\n", 1)                 = 1
108   execve("/bin/login", ["/bin/login", "--", "user"], [/* 5 vars */]) = 0
108   syscall_913412(0, 0xbfffff91, 0xbfffff9c, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0xbffffed0, 0, 0x80d0, 0x10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0) = 0
108   ioctl(0, SNDCTL_TMR_TIMEBASE, {B115200 opost isig icanon echo 
...}) = 1
108   ioctl(0, SNDCTL_TMR_TIMEBASE, {B0 -opost -isig -icanon -echo ...}) = 0
108   brk(0x3b088)                      = 0x3e088
108   brk(0x3e088)                      = 0x3f000
108   brk(0x3f000)                      = 0x40000
108   brk(0x40000)                      = 0x3
108   getuid()                          = 14
108   rt_sigaction(SIG_0, {0xb8d0, [ALRM], SA_RESTART|0x4000000}, 
{SIG_DFL}, 8) = 60
108   alarm(0)                          = 0
108   ioctl(0, SNDCTL_TMR_TIMEBASE, {B115200 opost isig icanon echo 
...}) = 1
108   ioctl(0, SNDCTL_TMR_TIMEBASE, {B115200 opost isig icanon echo 
...}) = 2
108   ioctl(0, SNDCTL_TMR_TIMEBASE, {B115200 opost isig icanon echo 
...}) = 0
108   getpid()                          = 127656
108   open(0xfffffffe, O_RDWR)          = 127656
108   open(0xfffffffe, O_RDONLY)        = -1 EPERM (Operation not permitted)
108   close(-9)                         = 127656
108   open(0xfffffffe, O_RDWR)          = 127656
108   open(0xfffffffe, O_RDONLY)        = -1 EPERM (Operation not permitted)
108   close(-9)                         = 0
108   ioctl(0, SNDCTL_TMR_TIMEBASE, {B115200 opost isig icanon echo 
...}) = 0
108   fstat(0, {st_mode=0377, st_size=0, ...}) = 0
108   ioctl(0, SNDCTL_TMR_TIMEBASE, {B115200 opost isig icanon echo 
...}) = 130852
108   stat(0xfffffffe, {st_mode=0134320, st_size=8192, ...}) = 130860
108   stat(0xfffffffe, {st_mode=0134320, st_size=8192, ...}) = 130872
108   stat(0, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 130872
108   open(0x4, O_RDONLY)               = 4
108   fcntl(0, F_SETFD, FD_CLOEXEC)     = 266240
108   brk(0x41000)                      = 0x42000
108   brk(0x42000)                      = 0x4
108   getdents(76, /* d_reclen == 0, problem here *//* 6 entries */, 
984) = 240286
108   lstat(0, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 240286
108   lstat(0, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 240286
108   lstat(0, {st_mode=S_IFCHR|0622, st_rdev=makedev(136, 0), ...}) = 
240286
108   lstat(0, {st_mode=S_IFCHR|0622, st_rdev=makedev(136, 1), ...}) = 
240286
108   lstat(0, {st_mode=S_IFCHR|0622, st_rdev=makedev(136, 2), ...}) = 
240286
108   lstat(0, {st_mode=S_IFCHR|0622, st_rdev=makedev(255, 255), ...}) = 4
108   getdents(0, /* d_reclen == 0, problem here *//* 0 entries */, 984) = 4
108   close(0)                          = 130884
108   stat(0, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 130884
108   open(0x4, O_RDONLY)               = 4
108   fcntl(0, F_SETFD, FD_CLOEXEC)     = 274432
108   brk(0x43000 <unfinished ...>
108   --- SIGALRM (Alarm clock) ---


What do you think?

                                                                        
               Thank you very much!
                                                                        
                Massimiliano Zilio




More information about the busybox mailing list