Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Sparc64] Error at boot after installation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
Soef
n00b
n00b


Joined: 17 Mar 2005
Posts: 41

PostPosted: Mon Oct 17, 2005 2:40 pm    Post subject: [Sparc64] Error at boot after installation Reply with quote

After the installation on a Sparc Enterprise 250 the booting ends with this weird messages and characters:

Code:

 * Cleaning /tmp directory ...                                            [ ok ]
 * Loading key mappings ...Couldnt get a file descriptor referring to the console

 * Error loading key mappings
                                                                          [ !! ]
 * Setting terminal encoding to ASCII .../etc/init.d/keymaps: line 71: /dev/vc/1: Permission denied
/etc/init.d/keymaps: line 71: /dev/vc/2: Permission denied
/etc/init.d/keymaps: line 71: /dev/vc/3: Permission denied
/etc/init.d/keymaps: line 71: /dev/vc/4: Permission denied
/etc/init.d/keymaps: line 71: /dev/vc/5: Permission denied
/etc/init.d/keymaps: line 71: /dev/vc/6: Permission denied
/etc/init.d/keymaps: line 71: /dev/vc/7: Permission denied
/etc/init.d/keymaps: line 71: /dev/vc/8: Permission denied
/etc/init.d/keymaps: line 71: /dev/vc/9: Permission denied
/etc/init.d/keymaps: line 71: /dev/vc/10: Permission denied
/etc/init.d/keymaps: line 71: /dev/vc/11: Permission denied
                                 [ ok ]
 * Setting user font ...Couldnt open //dev/vc/1
Couldnt open //dev/vc/2
Couldnt open //dev/vc/3
Couldnt open //dev/vc/4
Couldnt open //dev/vc/5
Couldnt open //dev/vc/6
Couldnt open //dev/vc/7
Couldnt open //dev/vc/8
Couldnt open //dev/vc/9
Couldnt open //dev/vc/10
Couldnt open //dev/vc/11

 * Failed to set user font
                                                                          [ !! ]
 * Setting NIS domainname to solidpartners.local ...                      [ ok ]
 * Starting lo
 *   Bringing up lo ...                                                   [ ok ]
 * Initializing random number generator ...                               [ ok ]
INIT: Entering runlevel: 3
                                                                          [ ok ]
 * Starting syslog-ng ...                                                 [ ok ]
 * Starting eth0
 *   Bringing up eth0
 *     192.168.20.22
                                                                          [ ok ]
                                                                          [ ok ]
 *   Adding routes
 *     default gw 192.168.20.2 ...                                        [ ok ]
 * Starting vixie-cron ...                                                [ ok ]
 * Starting local ...                                                     [ ok ]
 * Mounting network filesystems ...                                       [ ok ]
KEü^Å^oÆò=+à|+Ñ+¥üóccü2à=D0o"Ñ=àë#òæü2c+ü¬ojÑ+|Dò=
KEü^+^oÆò=+à|+Ñ+¥üóccü2à=D0o"Ñ=àë#òæü2c+ü¬ojÑ+|Dò=
KEü^=^oÆò=+à|+Ñ+¥üóccü2à=D0o"Ñ=àë#òæü2c+ü¬ojÑ+|Dò=
KEÆE¼ô$$ÂCCàKEü^+^oÆò=+à|+Ñ+¥üóccü2à=D0o"Ñ=àë#òæü2c+ü¬ojÑ+|Dò=
+cüjc+òüé+cìò==ò=übòÖDüJ+üóíÑ=üÆ|+#ò+ò#
INIT: Id "c1" respawning too fast: disabled for 5 minutes
INIT: Id "c2" respawning too fast: disabled for 5 minutes
INIT: Id "c3" respawning too fast: disabled for 5 minutes
INIT: Id "c4" respawning too fast: disabled for 5 minutes
INIT: Id "c6" respawning too fast: disabled for 5 minutes
%æü^|^oÆò=+à|+Ñ+¥üóccü2à=D0o"Ñ=àë#òæü2c+ü¬ojÑ+|Dò=


I cant figure it out...

Another problem is that I don't know how to change my boot sequence. The system directly boots from HD and skips the Live CD. In order to fix thinks I think i need the Live CD to approach my system. Enyone any id ?

Oh yeah, I am connected to my Sparc by a serial cable due lack of Keyboard & monitor...

Thanks in advance...
_________________
Bleeding edge is our downfall...
Back to top
View user's profile Send private message
chuckpl
n00b
n00b


Joined: 04 Oct 2005
Posts: 16

PostPosted: Wed Oct 19, 2005 6:33 am    Post subject: Reply with quote

YO...

You can change your boot sequence in your /etc/silo.conf file.
Or just type "boot cdrom" when u have LiveCD inserted.

I think u should try to add ssh deamon at boot 'cose it looks like your system is up but got some coding problems.
After boot try to connect from putty terminal and check if u can log in :]

Gd luck :]
Back to top
View user's profile Send private message
Soef
n00b
n00b


Joined: 17 Mar 2005
Posts: 41

PostPosted: Thu Oct 20, 2005 11:56 am    Post subject: Reply with quote

I may found the sollution to this problem.

Quote from the installation docs about vmlinux:
Quote:

If the (uncompressed) size is bigger than 2.5 MB (for Sparc32) or 3.5 MB (for Sparc64), reconfigure your kernel until it doesn't exceed these limits. One way of accomplishing this is by having most kernel drivers compiled as modules. Ignoring this can lead to a non-booting kernel.


I found out that I booted the kernel with a 3.9MB sized vmlinux so i ran "make manuconfig" again to turn off some stuff I don't need.

It's compiling as I type so I will have an update about this in a few minutes...
_________________
Bleeding edge is our downfall...
Back to top
View user's profile Send private message
Soef
n00b
n00b


Joined: 17 Mar 2005
Posts: 41

PostPosted: Thu Oct 20, 2005 12:49 pm    Post subject: Reply with quote

Soef wrote:
I may found the sollution to this problem.

Quote from the installation docs about vmlinux:
Quote:

If the (uncompressed) size is bigger than 2.5 MB (for Sparc32) or 3.5 MB (for Sparc64), reconfigure your kernel until it doesn't exceed these limits. One way of accomplishing this is by having most kernel drivers compiled as modules. Ignoring this can lead to a non-booting kernel.


I found out that I booted the kernel with a 3.9MB sized vmlinux so i ran "make manuconfig" again to turn off some stuff I don't need.

It's compiling as I type so I will have an update about this in a few minutes...


no luck -_-
_________________
Bleeding edge is our downfall...
Back to top
View user's profile Send private message
chuckpl
n00b
n00b


Joined: 04 Oct 2005
Posts: 16

PostPosted: Fri Oct 21, 2005 6:42 am    Post subject: Reply with quote

Yes you are right about kernel size, but when u have too big kernel u will get

"Image too large to fit the destination" message...

Did u try to connect to your system with terminal ?

Regards
Chuckpl
Back to top
View user's profile Send private message
freshy98
Apprentice
Apprentice


Joined: 11 Jul 2002
Posts: 274
Location: The Netherlands

PostPosted: Fri Oct 21, 2005 6:59 am    Post subject: Reply with quote

Which kernel version do you use? If it's 2.6.x you can try make image to strip the kernel down in size.
3.9M may end up a lot smaller.
_________________
Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha.
Back to top
View user's profile Send private message
Sunthief
n00b
n00b


Joined: 22 Dec 2005
Posts: 34
Location: Grand Forks, BC

PostPosted: Thu Dec 22, 2005 4:44 am    Post subject: I have the same problem Reply with quote

I am also running a e250 sun system with 2x ultra sparc cpu's. Here is my bootup messages:

Code:

Sun (TM) Enterprise 250 (2 X UltraSPARC-II 400MHz), No Keyboard
OpenBoot 3.16, 2048 MB memory installed, Serial #11669691.
Ethernet address 8:0:20:b2:10:bb, Host ID: 80b210bb.



Rebooting with command: boot
Boot device: /pci@1f,4000/scsi@3/disk@0,0:a  File and args:
SILO Version 1.4.9
boot:
Allocated 8 Megs of memory at 0x40000000 for kernel
Loaded kernel version 2.4.32

Remapping the kernel... done.
Booting Linux...
Starting CPU 1... OK
PROMLIB: Sun IEEE Boot Prom 3.16.1 1999/04/19 07:55
Linux version 2.4.32-sparc (root@livecd) (gcc version 3.3.5 (Gentoo Linux 3.3.5)) #1 SMP Wed Dec 21 1
3:54:06 PST 2005
ARCH: SUN4U
Ethernet address: 08:00:20:b2:10:bb
On node 0 totalpages: 261433
zone(0): 261990 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Found CPU 0 (node=f0085030,mid=0)
Found CPU 1 (node=f008539c,mid=1)
Found 2 CPU prom device tree node(s).
Kernel command line: root=/dev/sda1
Calibrating delay loop... 799.53 BogoMIPS
Memory: 2066824k available (2336k kernel code, 752k data, 192k init) [fffff80000000000,000000007fecc0
00]
Dentry cache hash table entries: 262144 (order: 9, 4194304 bytes)
Inode cache hash table entries: 131072 (order: 8, 2097152 bytes)
Mount cache hash table entries: 512 (order: 0, 8192 bytes)
Buffer cache hash table entries: 131072 (order: 7, 1048576 bytes)
Page-cache hash table entries: 262144 (order: 8, 2097152 bytes)
POSIX conformance testing by UNIFIX
Entering UltraSMPenguin Mode...
Calibrating delay loop... 799.53 BogoMIPS
Total of 2 processors activated (1599.07 BogoMIPS).
CPU 1: synchronized TICK with master CPU (last diff -22 cycles,maxerr 712 cycles)
Waiting on wait_init_idle (map = 0x2)
All processors have done init_idle
PCI: Probing for controllers.
PCI: Found PSYCHO, control regs at 000001fe00000000
PSYCHO: Shared PCI config space at 000001fe01000000
PCI0(PBMB): Bus running at 33MHz
PCI0(PBMA): Bus running at 66MHz
ebus0: [auxio] [power] [SUNW,pll] [sc] [se] [se] [su] [su] [ecpp] [eeprom] [flashprom] [SUNW,envctrlt
wo]
PCIO serial driver version 1.54
su(mouse) at 0x1fff13062f8 (irq = 4,7ea) is a 16550A
Sun Mouse-Systems mouse driver version 1.00
su(kbd) at 0x1fff13083f8 (irq = 9,7e9) is a 16550A
keyboard: not present
SAB82532 serial driver version 1.65
ttyS00 at 0x1fff1400000 (irq = 12,7eb) is a SAB82532 V3.2
ttyS01 at 0x1fff1400040 (irq = 12,7eb) is a SAB82532 V3.2
Console: ttyS0 (SAB82532)
power: Control reg at 000001fff1724000 ... not using powerd.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
EFS: 1.0a - http://aeschi.ch.eu.org/efs/
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
i2c-algo-bit.o: i2c bit algorithm module
i2c-proc.o version 2.6.1 (20010830)
pty: 256 Unix98 ptys configured
rtc_init: no PC rtc found
sunhme.c:v2.01 26/Mar/2002 David S. Miller (davem@redhat.com)
eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:b2:10:bb
SCSI subsystem driver Revision: 1.00
sym.0.3.0: setting PCI_COMMAND_INVALIDATE.
sym.0.3.1: setting PCI_COMMAND_PARITY...
sym.0.3.1: setting PCI_COMMAND_INVALIDATE.
sym0: <875> rev 0x14 on pci bus 0 device 3 function 0 irq 4,7e0
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
sym0: SCSI BUS has been reset.
sym1: <875> rev 0x14 on pci bus 0 device 3 function 1 irq 4,7e6
sym1: No NVRAM, ID 7, Fast-20, SE, parity checking
sym1: SCSI BUS has been reset.
scsi0 : sym-2.1.17a
scsi1 : sym-2.1.17a
  Vendor: FUJITSU   Model: MAG3182L SUN18G   Rev: 1111
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: TOSHIBA   Model: XM6201TASUN32XCD  Rev: 1103
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: FUJITSU   Model: MAG3182L SUN18G   Rev: 1111
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: FUJITSU   Model: MAJ3364M SUN36G   Rev: 0804
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: FUJITSU   Model: MAJ3364M SUN36G   Rev: 0804
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: FUJITSU   Model: MAJ3364M SUN36G   Rev: 0804
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: FUJITSU   Model: MAJ3364M SUN36G   Rev: 0804
  Type:   Direct-Access                      ANSI SCSI revision: 02
sym0:0:0: tagged command queuing enabled, command queue depth 16.
sym0:8:0: tagged command queuing enabled, command queue depth 16.
sym0:9:0: tagged command queuing enabled, command queue depth 16.
sym0:10:0: tagged command queuing enabled, command queue depth 16.
sym0:11:0: tagged command queuing enabled, command queue depth 16.
sym0:12:0: tagged command queuing enabled, command queue depth 16.
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi0, channel 0, id 8, lun 0
Attached scsi disk sdc at scsi0, channel 0, id 9, lun 0
Attached scsi disk sdd at scsi0, channel 0, id 10, lun 0
Attached scsi disk sde at scsi0, channel 0, id 11, lun 0
Attached scsi disk sdf at scsi0, channel 0, id 12, lun 0
sym0:0: FAST-20 WIDE SCSI 40.0 MB/s ST (50.0 ns, offset 16)
SCSI device sda: 35378533 512-byte hdwr sectors (18114 MB)
Partition check:
 /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 p4 p5
sym0:8: FAST-20 WIDE SCSI 40.0 MB/s ST (50.0 ns, offset 16)
SCSI device sdb: 35378533 512-byte hdwr sectors (18114 MB)
 /dev/scsi/host0/bus0/target8/lun0: p1 p2 p3 p4 p5
sym0:9: FAST-20 WIDE SCSI 40.0 MB/s ST (50.0 ns, offset 16)
SCSI device sdc: 71132959 512-byte hdwr sectors (36420 MB)
 /dev/scsi/host0/bus0/target9/lun0: p3 p8
sym0:10: FAST-20 WIDE SCSI 40.0 MB/s ST (50.0 ns, offset 16)
SCSI device sdd: 71132959 512-byte hdwr sectors (36420 MB)
 /dev/scsi/host0/bus0/target10/lun0: p3 p8
sym0:11: FAST-20 WIDE SCSI 40.0 MB/s ST (50.0 ns, offset 16)
SCSI device sde: 71132959 512-byte hdwr sectors (36420 MB)
 /dev/scsi/host0/bus0/target11/lun0: p3 p8
sym0:12: FAST-20 WIDE SCSI 40.0 MB/s ST (50.0 ns, offset 16)
SCSI device sdf: 71132959 512-byte hdwr sectors (36420 MB)
 /dev/scsi/host0/bus0/target12/lun0: p3 p8
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0
sym0:6: FAST-10 SCSI 10.0 MB/s ST (100.0 ns, offset 16)
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.12
Linux video capture interface: v1.00
mice: PS/2 mouse device common for all mice
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   VIS       :   117.600 MB/sec
raid5: using function: VIS (117.600 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 16384 buckets, 256Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
ÿversion R¨Hø on /dev
Gentoo Linux; http://www.gentoo.org/
 Copyright 1999-2005 Gentoo Foundation; Distributed under the GPLv2

 * Mounting proc at /proc ...                                             [ ok ]
 * Kernel automatically mounted devfs at /dev ...                         [ ok ]
 * Starting devfsd ...Started device management daemon v1.3.25 for /dev
Adding Swap: 998928k swap-space (priority -1)       [ ok ]

 * Activating (possible) swap ...                                         [ ok ]
 * Checking root filesystem .../dev/sda1: clean, 2471/250368 files, 24463/500060 blocks
                                           [ ok ]
 * Remounting root filesystem read/write ...                              [ ok ]
 * Setting hostname to sunsquared ...                                     [ ok ]
 * Calculating module dependencies ...                                    [ ok ]
 * Checking all filesystems .../dev/sda4: recovering journal
/dev/sda4: clean, 174359/589824 files, 317992/1178000 blocks
/dev/sda5: recovering journal
/dev/sda5: clean, 25411/1246784 files, 74912/2493236 blocks
                                           [ ok ]
 * Mounting local filesystems ...                                         [ ok ]
 * Activating (possibly) more swap ...                                    [ ok ]
 * Setting system clock to hardware clock [UTC] ...                       [ ok ]
 * Configuring kernel parameters ...                                      [ ok ]
 * Updating environment ...                                               [ ok ]
 * Cleaning /var/lock, /var/run ...                                       [ ok ]
 * Cleaning /tmp directory ...                                            [ ok ]
 * Loading key mappings ...Couldnt get a file descriptor referring to the console

 * Error loading key mappings
                                                                          [ !! ]
 * Setting terminal encoding to ASCII .../etc/init.d/keymaps: line 70: /dev/vc/1: Permission denied
/etc/init.d/keymaps: line 70: /dev/vc/2: Permission denied
/etc/init.d/keymaps: line 70: /dev/vc/3: Permission denied
/etc/init.d/keymaps: line 70: /dev/vc/4: Permission denied
/etc/init.d/keymaps: line 70: /dev/vc/5: Permission denied
/etc/init.d/keymaps: line 70: /dev/vc/6: Permission denied
/etc/init.d/keymaps: line 70: /dev/vc/7: Permission denied
/etc/init.d/keymaps: line 70: /dev/vc/8: Permission denied
/etc/init.d/keymaps: line 70: /dev/vc/9: Permission denied
/etc/init.d/keymaps: line 70: /dev/vc/10: Permission denied
/etc/init.d/keymaps: line 70: /dev/vc/11: Permission denied
                                 [ ok ]
 * Setting user font ...Couldnt open //dev/vc/1
Couldnt open //dev/vc/2
Couldnt open //dev/vc/3
Couldnt open //dev/vc/4
Couldnt open //dev/vc/5
Couldnt open //dev/vc/6
Couldnt open //dev/vc/7
Couldnt open //dev/vc/8
Couldnt open //dev/vc/9
Couldnt open //dev/vc/10
Couldnt open //dev/vc/11

 * Failed to set user font
                                                                          [ !! ]
 * Starting lo
 *   Bringing up lo ...                                                   [ ok ]
 * Initializing random number generator ...                               [ ok ]
INIT: Entering runlevel: 3
 * Starting eth0
 *   Bringing up eth0
 *     dhcp
 *     No loaded modules provide "dhcp" (dhcp_start)
                                                                          [ !! ]
 * ERROR:  Problem starting needed services.
 *         "netmount" was not started.
 * ERROR:  Problem starting needed services.
 *         "sshd" was not started.
 * Starting local ...                                                     [ ok ]
INIT: Id "c1" respawning too fast: disabled for 5 minutes
INIT: Id "c2" respawning too fast: disabled for 5 minutes
INIT: Id "c3" respawning too fast: disabled for 5 minutes
INIT: Id "c4" respawning too fast: disabled for 5 minutes
INIT: Id "c5" respawning too fast: disabled for 5 minutes
INIT: Id "c6" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel
Type  'go' to resume



I've tried a few things to try and get the system to boot, like changing my keymaps file etc. No luck, Any ideas?
Back to top
View user's profile Send private message
Sunthief
n00b
n00b


Joined: 22 Dec 2005
Posts: 34
Location: Grand Forks, BC

PostPosted: Thu Dec 22, 2005 5:32 am    Post subject: Reply with quote

I found out a lot of the errors. If you edit your

/etc/inittab file you can remove the c1 etc:

# TERMINALS
#c1:12345:respawn:/sbin/agetty 38400 tty1 linux
#c2:12345:respawn:/sbin/agetty 38400 tty2 linux
#c3:12345:respawn:/sbin/agetty 38400 tty3 linux
#c4:12345:respawn:/sbin/agetty 38400 tty4 linux
#c5:12345:respawn:/sbin/agetty 38400 tty5 linux
#c6:12345:respawn:/sbin/agetty 38400 tty6 linux

Also if you are useing a terminal connection to boot you need to add the "s0" interface by uncommenting the fallowing line:

# SERIAL CONSOLES
s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
#s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100


As for the original problem with the keymaps all i did was booted with the livecd and removed it from the boot level useing rc-update. Good luck anyone, HTH
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum