Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

Problem with RedHat 5.0 Install

Roberto Pavan (rpavan@physics.ubc.ca)
Tue, 24 Feb 1998 08:41:29 -0800

Hey people. A little while ago I wrote to this group about the
monumental screw-up I did upgrading my kernel... well, I never got that
problem solved. Instead, I attempted a clean install of RedHat 5.0 and I
can't get it to work. It fails at boot every time, one way or another.
I think it is a problem with the LBA, but I'm not sure. I notice at
bootup that the kernel seems to see the CHS information for my second IDE
disk is not as it's written in the BIOS setup using LBA, and as it
appears to fdisk, but actually in large disk format, or somesuch. I'm
including the boot-time information here in the hopes that one of this
group can help me solve this problem <<<< by the way, my comments appear
like this >> I hope your mail readers can handle <bold>rich
text</bold>:...

---------------

Boot: linux

Loading Linux...

Uncompressing Linux...done

Now booting the kernel

Console: 16point font, 400 scans

Consele: colour VGA+80x25, 1 virtual console (max63)

pciboios_init: BIOS 32 Service Directory Structure at 0x00f8480

pciboios_init: BIOS 32 Service Directory Structure entry at 0xf7f00

Probin PCI hardware

Calibrating delay loop...ok- 48.64 BogoMIPS

Memory: 63160K/65536K available (736k kernel code, 384k reserved, 1256k
data)

Swansea University Computer Society NET3.035 for Linux 2.0

NET3: Unix domain sockets 0.13 for Linux 2.0

IP Protocols: IGMP,ICMP, UDP, TCP

UFS: Diskquatas version dquot_5.6.0 initialized

Checking 386/486 copuling... ok, fp using exception 16 error reporting

Checking 'hlt' instruction... ok

Intel Pentium with F0 0F bug - workaround enabled

moving IDT...done

Linux version 2.0.32 (root@porky.redhat.com) (gcc version 2.7.2.3) #1 Wed
Nov 19 00.46:45 EST 1997

Starting kswapd v. 1.4.2.2

Serial driver version 4.13 with no serial options enabled

tty00 at 0x03f8 (irq=4) is a 16550A

tty01 at 0x02f8 (irq=3) is a 16550A

Real time clock driver v1.07

Ramdisk drver initialized: 16 ramdisks of 4096k size

ide: i82371 PIIX (Triton) on PCI bus 0 functions 57

id0: BM-DMA at 0xe800-0xe807

ide1: BMDMA at 0xe808-0xe80f

hda: Fujitsu M1623TAU, 1623 MB w/128kB Cache, <bold>CHS=824/64/63,DMA

</bold>hdc: Fujitsu MPB3043ATAU, 4125MB w/0kB Cache,
<bold>CHS=8940/15/63,DMA

</bold>hdd: CD-ROM CDU 311, ATAPI CDROM drive

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

ide1 at 0x170-0x177,0x376 on irq 15

Floppy drive(s) fd0 is 1.44M

mddriver 0.35 MAX_MD_DEV=4, MAX_REAL=8

scsi: 0 hosts

scsi: detected total

Partition check:

hda: hda1 hda2<<hda5,hda6,hda7,hda8>

hdc: [PBTL] [525/255/63] hdc1 hdc2<<hdc5,hdc6,hdc7,hdc8>,hdc3,hdc4

VFS: Mounted root (ext2 filesystem) readonly

<<<< system hangs here, or sometimes prints out... >>

while opening UTMP file: No such file or directory

Init: Id "1" respawning too fast: disabled for 5 minutes

while opening UTMP file: No such file or directory

.. <<<<repeated>>

..

while opening UTMP file: No such file or directory

Init: Id "2" respawning too fast: disabled for 5 minutes

while opening UTMP file: No such file or directory

..

..

while opening UTMP file: No such file or directory

Init: Id "3" respawning too fast: disabled for 5 minutes

<<<< etc., etc. until... >>

while opening UTMP file: No such file or directory

Init: Id "6" respawning too fast: disabled for 5 minutes

Init: no more processes left in this runlevel

<<<< here I try a Ctrl-Alt-Del to force a reboot and... >>

while opening UTMP file: No such file or directory

ext2fs warning (device 03:05): ext_2_free_inode: bit already cleared
for 2030

ext2fs warning (device 03:05): ext_2_free_inode: bit already cleared
for 2032

<<<< here's the real charmer - who coded _that_?>>

You don't exist. Go away.

Init: no more processes left in this runlevel

<<<< system keeps repeating this last pattern with more Ctrl-Alt-Del's
>>

<<<< on other occasions the boot ends like this: >>

..

..

VFS: Mounted root (ext2 filesystem) readonly

EXT2-fs error (device 03:05): ext2_find_entry: bad entry in directory
#19841: rec_len is smaller than

minimal - offset=516 inode=1170997369, rec_len=0, name_len=20

..

..

EXT2-fs error (device 03:05): ext2_find_entry: bad entry in directory
#19841: rec_len is smaller than

minimal - offset=516 inode=1170997369, rec_len=0, name_len=20

Enter runlevel: <<<< I tried 5 >>

Init: no more processes left in this runlevel

<<<< system hangs and this last message just repeats with more
Ctrl-Alt-Del's >>

<<<< sometimes, the boot ends like this: >>

..

..

VFS: Mounted root (ext2 filesystem) readonly

init:error in loading shared libraries

e: cannot open shared object file: no such file or directory

<<<< this time Ctrl-Alt-Del actually rebooted the system >>

<<<< sometimes, the boot puts me in a maintenance mode: >>

VFS: Mounted root (ext2 filesystem) readonly

INIT v. 2.71 booting

EXT2-fs error (device 03:05) ext2_free_inode: bit already cleared for
inode 2030

EXT2-fs error (device 03:05) ext2_free_inode: bit already cleared for
inode 2032

Activating swap partitions

Adding swap:98748k swap-space (priority -1)

hostname: localhost.localdomain

Checking root filesystems.

EXT2-fs warning (device 03:05) ext2_free_inode: bit already cleared for
inode 15886

EXT2-fs warning (device 03:05) ext2_free_inode: bit already cleared for
inode 15886

EXT2-fs warning (device 03:05) ext2_free_inode: bit already cleared for
inode 15886

/etc/rcd.rs.sysinit: /sbin/fsck: Permission denied

*** An error occurred during the filesystem check.

*** Dropping you to a shell; the system will reboot

*** when you leave the shell.

Give root password for maintenance.

(or type Ctrl-D for normal startup): <<<< I type in root password and...
>>

EXT2-fs error (device 03:05) ext2_free_inode: bit already cleared for
inode 2030

EXT2-fs error (device 03:05) ext2_free_inode: bit already cleared for
inode 2032

bash id: command not found

bash id: command not found

bash id: command not found

[: too many arguments

bash id: command not found

bash mesg: command not found

[I have no name!@localhost/root]# <<<< here I can poke around a bit >>

<<<< I find several things .. first the 'more' command doesn't work. I
wonder why, so

I go into /usr, do an 'ls -a' and find the directory empty. Same with
/home. Hmm, I try to cd to

/usr/local and am told there is no such file or directory. I wonder
what's going on, so

I cd to /etc/ and... >>

[I have no name!@localhost/root]# cat /etc/fstab

/dev/hda5 / ext2 defaults 1 1

/dev/hda1 /dosc msdos defaults 0 0

/dev/hdc1 /dosd msdos defaults 0 0

..

..

/dev/hdc8 /dosh msdos defaults 0 0

/dev/hdc4 /home ext2 defaults 1 2

/dev/hda7 /opt ext2 defaults 1 2

/dev/hdc3 /usr ext2 defaults 1 2

/dev/hda6 /usr/local ext2 defaults 1 2

/dev/hda8 swap swap defaults 0 0

/dev/fdo /mnt/floppy ext2 noauto 0 0

/dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0

none /proc proc defaults 0 0

<<<< so it looks like part of the install worked, but nothing seems to be
on my second hard

drive since /usr/local doesn't exits, and /usr and /home are empty. >>

------------------------------

Roberto Pavan

rpavan@physics.ubc.ca

Linux - because computing power is a terrible thing to waste.