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

Re: Problem with added video card with Sun terminal and keyboard...



On Mon, Sep 16, 2002 at 04:59:23PM -0700, Andrew Sharp wrote:
> On Sun, Sep 15, 2002 at 11:25:20AM +0200, Christian J?nsson wrote:
> > I have a little problem here.
> > 
> > I had a SS20 (sun4m) system running debian 3.0 on a serial
> > terminal... Now I have just installed a TGX video card and hooked up a
> > real terminal and keyboard but I do not get to the login prompt.
> > 
> > Instead, when I push the 'Stop' button, I get a message like this:
> > 
> > SysRq : HELP : loglevel0-8 reBoot tErm kIII saK showMem showPc unRaw
> > showTasks Unmount
> > 
> > but I get inte the server remotely...
> > 
> > Now, I guess there's some reconfiguring to be done here... but where
> > can I read about it or if ytou can pls tell me on the liset here what
> > should I do?
> 
> Well, one thing is that you installed the system when using a serial
> console, so you probably need to add back into /etc/inittab the gettys
> for tty1-4 or 1-6 (I only configure four of them, myself).  OK, now the
> STOP button is pretty weird.  Dunno exactly about that one.
> 

i'm not sure I follow you here, but here's the dmesg:

PROMLIB: Sun Boot Prom Version 3 Revision 2
Linux version 2.4.19smp (rob@aloha) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Sun Aug 18 15:17:00 EDT 2002
ARCH: SUN4M
TYPE: Sun4m SparcStation10/20
Ethernet address: 8:0:20:21:59:c2
Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (jj@ultra.linux.cz). Patching kernel for srmmu[TI Viking/MXCC]/iommu
36677MB HIGHMEM available.
On node 0 totalpages: 68841
zone(0): 45056 pages.
zone(1): 0 pages.
zone(2): 73541 pages.
Found CPU 0 <node=ffd74150,mid=8>
Found CPU 1 <node=ffd74530,mid=10>
Found 2 CPU prom device tree node(s).
Power off control detected.
Kernel command line: root=/dev/sda4 ro
Console: colour dummy device 80x25
Calibrating delay loop... 74.75 BogoMIPS
Memory: 267716k available (1572k kernel code, 288k data, 164k init, 146708k highmem) [f0000000,1cf45000]
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
Entering SMP Mode...
Starting CPU 1 at f01def24
Calibrating delay loop... 74.95 BogoMIPS
Total of 2 Processors activated (149.70 BogoMIPS).
Waiting on wait_init_idle (map = 0x2)
All processors have done init_idle
IOMMU: impl 1 vers 1 page table at faf40000 of size 262144 bytes
sbus0: Clock 25.0 MHz
dma0: Revision 2 
dma1: Revision 2 
ioremap: done with statics, switching to malloc
dma2: ESC Revision 1 
Sparc Zilog8530 serial driver version 1.68.2.2
Sun Mouse-Systems mouse driver version 1.00
tty00 at 0xffede004 (irq = 44) is a Zilog8530
tty01 at 0xffede000 (irq = 44) is a Zilog8530
tty02 at 0xffedb004 (irq = 44) is a Zilog8530
tty03 at 0xffedb000 (irq = 44) is a Zilog8530
Sun TYPE 5 keyboard detected without keyclick
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
allocated 32 pages and 32 bhs reserved for the highmem bounces
Console: switching to colour frame buffer device 128x54
fb0: cgsix at e.30000000 TEC Rev 4 CPU sparc Rev b [TGX+]
pty: 256 Unix98 ptys configured
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
sunlance.c:v2.01 08/Nov/01 Miguel de Icaza (miguel@nuclecu.unam.mx)
eth0: LANCE 08:00:20:21:59:c2 
eth0: using auto-carrier-detection.
eth1: LANCE 08:00:20:21:59:c2 
SCSI subsystem driver Revision: 1.00
esp0: IRQ 36 SCSI ID 7 Clk 40MHz CCYC=25000 CCF=8 TOut 167 NCR53C9XF(espfast)
esp1: IRQ 53 SCSI ID 7 Clk 40MHz CCYC=25000 CCF=8 TOut 167 NCR53C9XF(espfast)
ESP: Total of 2 ESP hosts found, 2 actually in use.
scsi0 : Sparc ESP100A-FAST
scsi1 : Sparc ESP236-FAST
  Vendor: SEAGATE   Model: ST31200W          Rev: 8634
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: SEAGATE   Model: ST31200W SUN1.05  Rev: 9462
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: TOSHIBA   Model: XM-4101TASUNSLCD  Rev: 0494
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: SEAGATE   Model: ST41650           Rev: 6050
  Type:   Direct-Access                      ANSI SCSI revision: 02
sunmouse: Successfully adjusted to 1200 baud.
  Vendor: MICROP    Model: 1924-21MZf081503  Rev: PR35
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 1, lun 0
Attached scsi disk sdb at scsi0, channel 0, id 3, lun 0
Attached scsi disk sdc at scsi1, channel 0, id 1, lun 0
Attached scsi disk sdd at scsi1, channel 0, id 2, lun 0
esp0: target 1 [period 100ns offset 15 10.00MHz FAST SCSI-II]
SCSI device sda: 2061108 512-byte hdwr sectors (1055 MB)
Partition check:
 sda: sda1 sda2 sda3 sda4
esp0: target 3 [period 100ns offset 15 10.00MHz FAST SCSI-II]
SCSI device sdb: 2061108 512-byte hdwr sectors (1055 MB)
 sdb: sdb1 sdb3
esp1: target 1 [period 200ns offset 15 5.00MHz synchronous SCSI]
SCSI device sdc: 2767245 512-byte hdwr sectors (1417 MB)
 sdc: sdc1 sdc2 sdc3
esp1: target 2 [period 100ns offset 15 10.00MHz FAST SCSI-II]
SCSI device sdd: 4096656 512-byte hdwr sectors (2097 MB)
 sdd: sdd1 sdd2 sdd3
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0
esp0: target 6 asynchronous
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.12
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 16 buckets, 2Kbytes
TCP: Hash tables configured (established 256 bind 5461)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 164k freed
Adding Swap: 262108k swap-space (priority -1)
audio0 at 0xfd02b000 (irq 57) is DBRI(e)+CS4215(18)
eth0: Carrier Lost, trying TPE
eth0: Carrier Lost, trying AUI
eth0: Carrier Lost, trying TPE
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack (946 buckets, 7568 max)

and here's the /etc/inittab:

# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.8 1998/05/10 10:37:50 miquels Exp $

# The default runlevel.
id:2:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.
~~:S:wait:/sbin/sulogin

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

# Action on special keypress (ALT-UpArrow).
kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."

# What to do when the power fails/returns.
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop

# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
#  <id>:<runlevels>:<action>:<process>
#1:2345:respawn:/sbin/getty 38400 tty1
#2:23:respawn:/sbin/getty 38400 tty2
#3:23:respawn:/sbin/getty 38400 tty3
#4:23:respawn:/sbin/getty 38400 tty4
#5:23:respawn:/sbin/getty 38400 tty5
#6:23:respawn:/sbin/getty 38400 tty6

# Example how to put a getty on a serial line (for a terminal)
#
T0:23:respawn:/sbin/getty -L ttyS0 9600 vt102
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

# Example how to put a getty on a modem line.
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3

#-- isdnutils begin
# Change the lines below for your local setup and uncomment them.
# Use "init q" to reread inittab.
# look at the vboxgetty / mgetty manpage for more information (mgetty isn't
# standard!)
#
#I0:2345:respawn:/usr/sbin/vboxgetty -d /dev/ttyI0
#I1:2345:respawn:/sbin/mgetty -D -m '"" ATZ OK AT&Eyourmsnhere OK AT&B512 OK' -s 38400 ttyI1
#-- isdnutils end

Now, what are you suggesting me to do? 

Cheers,

/ChJ



Reply to: