[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RaQ4i but not RaQ4r
- Subject: Re: [cobalt-users] RaQ4i but not RaQ4r
- From: "Mike's List" <mikelist@xxxxxxx>
- Date: Sat Jan 4 12:23:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
I finally got the null modem and cable plugged, below is what I can salvage
from the console...can you make any sense out of it or why there's so many
errors towards the end?
- Mike
fi # DESTRUCTIVE
+ [ yes = yes ]
+ inform Partitioning disk
+ echo Partitioning disk
Partitioning disk
+ [ yes = yes ]
+ /sbin/writelcd Partitioning disk
+ true
+ [ yes = yes ]
+ [ -e /dev/md1 ]
+ /sbin/raidstop -c /test/NOW-20030104.01CBE3/raidtab /dev/md1
/dev/md1: Invalid argument
+ [ -e /dev/md6 ]
+ /sbin/raidstop -c /test/NOW-20030104.01CBE3/raidtab /dev/md6
/dev/md6: Invalid argument
+ [ -e /dev/md3 ]
+ /sbin/raidstop -c /test/NOW-20030104.01CBE3/raidtab /dev/md3
/dev/md3: Invalid argument
+ [ -e /dev/md4 ]
+ /sbin/raidstop -c /test/NOW-20030104.01CBE3/raidtab /dev/md4
/dev/md4: Invalid argument
+ [ -e /dev/md5 ]
+ /sbin/raidstop -c /test/NOW-20030104.01CBE3/raidtab /dev/md5
/dev/md5: Invalid argument
+ [ -e /dev/hda ]
+ /sbin/sfdisk -f -L -uM /dev/hda
Checking that no hda:-one is using th hda1is disk right no hda2w ...
< hda5 hda6 > hda3 hda4
OK
Disk /dev/hda: 58168 cylinders, 16 heads, 63 sectors/track
Old situation:
Units = megabytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End MB #blocks Id System
/dev/hda1 0+ 750- 751- 768095+ fd Linux raid autodetect
/dev/hda2 750+ 908- 159- 162288 5 Extended
/dev/hda3 908+ 1108- 201- 205128 fd Linux raid autodetect
/dev/hda4 1108+ 28629- 27521- 28181160 fd Linux raid autodetect
/dev/hda5 750+ 780- 31- 30743+ 83 Linux
/dev/hda6 780+ 908- 129- 131543+ fd Linux raid autodetect
New situation:
Units = megabytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End MB #blocks Id System
/dev/hda1 0+ 750- 751- 78095+ fd Linux raid autodetect
/dev/hda2 750+ 908- 159- 162288 5 Extended
/dev/hda3 908+ 1108- 201- 205128 fd Linux raid autodetect
/dev/hda4 1108+ 28629- 27521- 28181160 fd Linux raid autodetect
/dev/hda5 750+ 780- 31- 30743+ 83 Linux
/dev/hda6 780+ 908- 129- 131543+ fd Linux raid autodetect
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
Successfully wrote the new partition table
Re-reading the partition table ...
hda: hda1 hda2 < hda5 hda6 > hda3 hda4
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
+ [ -e /dev/hdc ]
+ /sbin/sfdisk -f -L -uM /dev/hdc
Checking that no hdc:-one is using th hdc1is disk right no hdc2w ...
< hdc5 hdc6 > hdc3 hdc4
OK
Disk /dev/hdc: 58168 cylinders, 16 heads, 63 sectors/track
Old situation:
Unts = megabytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End MB #blocks Id System
/dev/hdc1 0+ 750- 751- 768095+ fd Linux raid autodetect
/dev/hdc2 750+ 908- 159- 162288 5 Extended
/dev/hdc3 908+ 1108- 201- 205128 fd Linux raid autodetect
/dev/hdc4 1108+ 28629- 27521- 28181160 fd Linux raid autodetect
/dev/hdc5 750+ 780- 31- 30743+ 83 Linux
/dev/hdc6 780+ 908- 129- 131543+ fd Linux raid autodetect
New situation:
Units = megabytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End MB #blocks Id System
/dev/hdc1 0+ 750- 751- 768095+ fd Linux raid autodetect
/dev/hdc2 750+ 908- 159- 162288 5 Extended
/dev/hdc3 908+ 1108- 201- 205128 fd Linux raid autodetect
/dev/hdc4 1108+ 28629- 27521- 28181160 fd Linux raid autodetect
/dev/hdc5 750+ 780- 31- 30743+ 83 Linux
/dev/hdc6 780+ 908- 129- 131543+ fd Linux raid autodetect
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
Successfully wrote the new partition table
Re-reading the partition table ...
hdc: hdc1 hdc2 < hdc5 hdc6 > hdc3 hdc4
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 byts: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
+ cat /test/NOW-20030104.01CBE3/fstab
+ awk /^\/dev\/.*/ && ! /swap/ {print substr($1, length($1))}
+ read fs
+ filesys=/dev/md1
cat $mkfs_opts | egrep "^$filesys" | cut -f2
++ cat /test/NOW-20030104.01CBE3/mkfs_opts
++ egrep ^/dev/md1
++ cut -f2
+ opts=
+ inform Formatting /dev/md1
+ echo Formatting /dev/md1
Formatting /dev/md1
+ [ yes = yes ]
+ /sbin/writelcd Formatting /dev/md1
+ true
+ [ yes = yes ]
+ /sbin/raidstop -c /test/NOW-20030104.01CBE3/raidtab /dev/md1
/dev/md1: Invalid argument
+ /sbin/mkraid -q --really-force -c /test/NOW-20030104.01CBE3/raidtab
/dev/md1
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
handling MD device /dev/md1
analyzing super-block
disk 0: /dev/hda1, 768095kB, raid superblock at 768000kB
disk 1: /dev/hdc1, 768095kB, raid superblock at 768000kB
+ mke2fs -m 0 /dev/md1
mke2fs 1.14, 9-Jan-1999 for EXT2 FS 0.5b, 95/08/09
/dev/md1: Invalid argument passed to ext2 library while setting up
superblock
+ read fs
+ filesys=/dev/md3
cat $mkfs_opts | egrep "^$filesys" | cut -f2
++ cat /test/NOW-20030104.01CBE3/mkfs_opts
++ egrep ^/dev/md3
++ cut -f2
+ opts=
+ inform Formatting /dev/md3
+ echo Formatting /dev/md3
Formatting /dev/md3
+ [ yes = yes ]
+ /sbin/writelcd Formatting /dev/md3
+ true
+ [ yes = yes ]
+ /sbin/raidstop -c /test/NOW-20030104.01CBE3/raidtab /dev/md3
/dev/md3: Invalid argument
+ /sbin/mkraid -q --really-force -c /test/NOW-20030104.01CBE3/raidtab
/dev/md3
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
handling MD device /dev/md3
analyzing super-block
disk 0: /dev/hda3, 205128kB, raid superblock at 205056kB
disk 1: /dev/hdc3, 205128kB, raid superblock at 205056kB
+ mke2fs -m 0 /dev/md3
mke2fs 1.14, 9-Jan-1999 for EXT2 FS 0.5b, 95/08/09
/dev/md3: Invalid argument passed to ext2 library while setting up
superblock
+ read fs
+ filesys=/dev/md4
cat $mkfs_opts | egrep "^$filesys" | cut -f2
++ cat /test/NOW-20030104.01CBE3/mkfs_opts
++ egrep ^/dev/md4
++ cut -f2
+ opts=
+ inform Formatting /dev/md4
+ echo Formatting /dev/md4
\/dev\/.*/ && /swap/ {print substr($1, length($1))}
+ read fs
+ filesys=/dev/md6
+ inform Creating swap /dev/md6
+ echo Creating swap
Creating swap
+ [ yes = yes ]
+ /sbin/writelcd Creating swap
+ true
+ [ yes = yes ]
+ /sbin/raidstop -c /test/NOW-20030104.01CBE3/raidtab /dev/md6
/dev/md6: Invalid argument
+ /sbin/mkraid -q --really-force -c /test/NOW-20030104.01CBE3/raidtab
/dev/md6
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
handling MD device /dev/md6
analyzing super-block
disk 0: /dev/hda6, 131543kB, raid superblock at 131456kB
disk 1: /dev/hdc6, 131543kB, raid superblock at 131456kB
+ mkswap /dev/md6
mkswap: error: swap area needs to be at least 40kB
Usage: mkswap [-c] [-v0|-v1] /dev/name [blocks]
+ swapon /dev/md6
swapon: warning: /dev/md6 has insecure permissions 0644, 0600 suggested
swapon: /dev/md6: No such device
+ read fs
# Test mountpoint, mount partitions
must mount_all_filesystems "$filesystem_list"
+ must mount_all_filesystems /dev/md1 /dev/md3 /dev/md4
+ mount_all_filesystems /dev/md1 /dev/md3 /dev/md4
+ local filesystem_list=/dev/md1 /dev/md3 /dev/md4
+ [ no = yes -a -e /mntdir ]
+ set /dev/md1 /mntdir/ /dev/md3 /mntdir/var /dev/md4 /mntdir/home
+ [ -n /dev/md1 ]
+ inform Mounting /dev/md1 on /mntdir/
+ echo Mounting /dev/md1 on /mntdir/
Mounting /dev/md1 on /mntdir/
+ [ yes = yes ]
+ /sbin/writelcd Mounting /dev/md1 on /mntdir/
+ true
+ [ -d /mntdir/ ]
+ must mount /dev/md1 /mntdir/
+ mount /dev/md1 /mntdir/
/dev/md1: Device not configured
mount: you must specify the filesystem type
+ echo ./cobalt_install: mount /dev/md1 /mntdir/ failed. Terminating.
./cobalt_install: mount /dev/md1 /mntdir/ failed. Terminating.
+ exit 1
+ echo build_release: /bin/sh -vx ./cobalt_install failed. Terminating.
build_rlease: /bin/sh -vx ./cobalt_install failed. Terminating.
+ exit 1
/dev/md1: Device not configured
mount: you must specify the filesystem type
Loading MFG hook
sh: /mntdir/etc/rc.d/rc3.d/S98zzzDELETE_MEzzz: No such file or directory
/bin/chmod: /mntdir/etc/rc.d/rc3.d/S98zzzDELETE_MEzzz: No such file or
directory
Creating .master files if needed
eth0 Link encap:Ethernet HWaddr 00:10:E0:01:CB:E3
inet addr:10.0.0.150 Bcast:10.255.255.255 Mask:255.0.0.0
Found Broadcast(10.255.255.255) and Netmask(255.0.0.0)!
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4253 errors:0 dropped:0 overruns:0 frame:0
TX packets:2394 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
eth0
Found Network(10.0.0.0)!
cp: cannot create regular file `/mntdir/etc/resolv.conf': No such file or
direct
ory
Contents of /mntdir/etc/resolv.conf:
cat: /mntdir/etc/resolv.conf: No such file or directory
Contents of /mntdir/etc/sysconfig/network:
cat: /mntdir/etc/sysconfig/network: No such file or directory
sh: /mntdir/etc/HOSTNAME: No such file or directory
Contents of /mntdir/etc/HOSTNAME:
cat: /mntdir/etc/HOSTNAE: No such file or directory
sh: /mntdir/etc/NET-CONFIG: No such file or directory
Contents of /mntdir/etc/NET-CONFIG:
cat: /mntdir/etc/NET-CONFIG: No such file or directory
Contents of /mntdir/etc/sysconfig/network-scripts/ifcfg-eth0:
cat: /mntdir/etc/sysconfig/network-scripts/ifcfg-eth0: No such file or
directory
Writing Updates to the disk:
01_RaQ4-en-Security-0.0.1-6453.pkg
02_RaQ4R-All-System-0.0.1-6618.pkg
Writing Bundles to the disk:
/bin/cp: cannot create regular file `/mntdir/etc': Read-only file system
can't create lock file /etc/mtab~~: Read-only file system (use -n flag to
overri
de)
INIT: Switching to runlevel: 6
INIT: Sending procesShutting down Mail Service: sendmail okrm: cannot
unlink `/v
ar/run/sendmail.pid': Read-only file system
rm: cannot unlink `/var/lock/subsys/sendmail': Read-only file system
Stopping INET services: inetd okrm: cannot unlink `/var/run/inetd.pid':
Read-onl
y file system
rm: cannot unlink `/var/lock/subsys/inet': Read-only file system
Stopping cron daemon: crond okrm: cannot unlink `/var/run/crond.pid':
Read-only
file system
rm: cannot unlink `/var/lock/subsys/crond': Read-only file system
Stopping httpd
Stopping random Saving random seed...
rm: cannot unlink `/var/lock/subsys/random': Read-only file system
Shutting down SMB Service: Warning: /boot/System.map has an incorrect
kernel ver
sion.
ERROR!Warning: /boot/System.map has an incorrect kernel version.
ERROR!rm: cannot unlink `/var/lock/subsys/smb': Read-only file system
Stopping portmap services: Warning: /boot/System.map has an incorrect
kernel ver
sion.
ERROR!
rm: cannot unlink `/var/lock/subsys/portmap': Read-only file system
Stopping nfsfs Unmounting remote filesystems.rm: cannot unlink
`/var/lock/subsys
/nfsfs': Read-only file system
Shutting down kernel logger: klogd okrm: cannot unlink
`/var/run/klogd.pid': Rea
d-only file system
Shutting down system logger: syslogd okrm: cannot unlink
`/var/run/syslogd.pid':
Read-only file system
rm: cannot unlink `/var/lock/subsys/syslog': Read-only file system
Sending all processes the TERM signal...
INIT: no more processes left in this runlevel
Sending all processes the KILL signal..
Turning off swap
Unmounting file systems
Remounting remaining filesystems (if any) readonly
SYSTEM REBOOTING
Restarting system.