[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Cannot get a login-prompt (Sun Ultra 1)



Sorry for applying to the "clueless newbie award" :-/


My Ultra 1 has been running fine quite a time with Sarge. I compiled
my own kernel because I needed the Happy Meal patch to have a reliable
NIC.


Today I decided to re-attach keyboard an a monitor to that box - and
noticed I cannot get a login: there is no login prompt.

Neither X Free (kdm) nor any other console were accessible.


Looking in the logs (network access works still fine) I noticed:


,----
| Apr  1 22:34:04 plasmatic kdm[614]: Cannot read randomDevice "/dev/random": No such file or directory
| Apr  1 22:34:10 plasmatic kdm: :0[632]: IO Error in XOpenDisplay
| Apr  1 22:34:10 plasmatic kdm[614]: Display :0 cannot be opened
| Apr  1 22:34:10 plasmatic kdm[614]: Unable to fire up local display :0; disabling.
| Apr  1 22:35:44 plasmatic init: Id "1" respawning too fast: disabled for 5 minutes
| Apr  1 22:35:44 plasmatic init: Id "2" respawning too fast: disabled for 5 minutes
| Apr  1 22:35:44 plasmatic init: Id "3" respawning too fast: disabled for 5 minutes
| Apr  1 22:35:44 plasmatic init: Id "5" respawning too fast: disabled for 5 minutes
| Apr  1 22:35:44 plasmatic init: Id "6" respawning too fast: disabled for 5 minutes
| Apr  1 22:35:44 plasmatic init: Id "4" respawning too fast: disabled for 5 minutes
| Apr  1 22:35:44 plasmatic init: no more processes left in this runlevel
`----




Trying to start a getty manually resulted in:


,----
| execve("/sbin/getty", ["/sbin/getty", "38400", "tty6"], [/* 20 vars */]) = 0
| uname({sys="Linux", node="plasmatic", ...}) = 0
| brk(0)                                  = 0x25d38
| access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
| open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
| open("/etc/ld.so.cache", O_RDONLY)      = 3
| fstat64(3, {st_mode=S_IFREG|0644, st_size=32476, ...}) = 0
| mmap(NULL, 32476, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7001c000
| close(3)                                = 0
| access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
|
| [...]
|
| open("/usr/lib/gconv/ISO8859-1.so", O_RDONLY) = 1
| read(1, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\2\0\0\0\1\0\0\007"..., 512) = 512
| fstat64(1, {st_mode=S_IFREG|0644, st_size=6568, ...}) = 0
| mmap(NULL, 70944, PROT_READ|PROT_EXEC, MAP_PRIVATE, 1, 0) = 0x70344000
| mprotect(0x70346000, 62752, PROT_NONE)  = 0
| mmap(0x70354000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 1, 0) = 0x70354000
| close(1)                                = 0
| brk(0)                                  = 0x48000
| brk(0x6a000)                            = 0x6a000
| time([1112389776])                      = 1112389776
| open("/etc/localtime", O_RDONLY)        = 1
| fstat64(1, {st_mode=S_IFREG|0644, st_size=837, ...}) = 0
| mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7001a000
| read(1, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\10"..., 8192) = 837
| close(1)                                = 0
| munmap(0x7001a000, 8192)                = 0
| getpid()                                = 1253
| rt_sigaction(SIGPIPE, {0x7010bd2c, [], 0}, {SIG_DFL}, 0x7005f010, 8) = 0
| socket(PF_FILE, SOCK_DGRAM, 0)          = 1
| nfssvc(0x1)                             = 0
| connect(1, {sa_family=AF_FILE, path="/dev/log"}, 16) = 0
| rt_sigreturn()                          = 81
| rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 0x7005f010, 8) = 0
| close(1)                                = 0
| rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
| rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 0, 8) = 0
| rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
| nanosleep({10, 0}, {10, 0})             = 0
| sysconf(0x1 <unfinished ... exit status 1>
`----


dmesg output:

,----
| 
| [...]
| 
| Kernel command line: root=/dev/sda1 ro Console: colour dummy device
| 80x25
| 
| [...]
| 
| Console: switching to colour frame buffer device 128x54 fb0: Creator
| 3D at 000001fc00000000 type 11 DAC 10 pty: 256 Unix98 ptys configured
| 
| [...]
| 
`----

If I move the mouse it seems to be recognized: 

| sunmouse: Successfully adjusted to 1200 baud.


Is there anyone who has a hint where I should look for? (If you have
to point me to a different mailing list you are welcome)


Thanks in advance,


Sebastian



Reply to: