freeBSD 4.9 stable hang on start_init: trying /sbin/init
treeml
treeml at itree.org
Wed Feb 4 02:42:10 PST 2004
After a power failure, my freebsd 4.9 stable is giving out the UDMA ICRC
error. (see my first email below), but after a few boot, and change of a IDE
cable, it is no longer giving out that error.
However, it still hangs at boot at
>Mounting root from ufs:/dev/ads1a
If I boot with "boot -v" option. It will stop at
>Start_init: trying /sbin/init
This happens with my custom kernel and the default kernel. I also can't
boot into single user mode using "boot -s"
It is worth mentioning that I was able to boot the box from a FreeBSD 5.1
rescue CD, and remount all the partitions. I even used fsck and check all
the partitions to make sure they are clean. But still can't boot from it.
I have search the Internet, and it looks like quite a few people had the
same problem during installation, but I didn't find any suitable solutions.
Tree
-----Original Message-----
From: treeml [mailto:treeml at itree.org]
Sent: Wednesday, February 04, 2004 12:28 AM
To: freebsd-questions at freebsd.org
Subject: UDMA ICRC Error FreeBSD 4.9, falling back to PIO mode
I get a following error on boot
ad1s1a: UDMA ICRC error reading fsbn 511 of 244-255 (ad1s1 bn 511; cn 0 tn
8sn 7) retrying
ad1s1a: UDMA ICRC error reading fsbn 511 of 244-255 (ad1s1 bn 511; cn 0 tn
8sn 7) retrying
ad1s1a: UDMA ICRC error reading fsbn 511 of 244-255 (ad1s1 bn 511; cn 0 tn
8sn 7) retrying
ad1s1a: UDMA ICRC error reading fsbn 511 of 244-255 (ad1s1 bn 511; cn 0 tn
8sn 7) retrying
falling back to PIO mode
BTW, this all happened after a power failure. At first I was prompted to go
into the single user mode, but then after second reboot that doesn't even
happen anymore. Just the error message. I switch a IDE cable to the hard
drive, and now, I don't even get the error message anymore. The system
stuck at
Mounting root from ufs:/dev/ad1s1a
And it stuck there. I can reboot by "ctr+alt+del"
I boot the system using the FreeBSD Fixit disk. However, I can't seem to
see all the hard drive partitions in /dev.
Following is my partition setup.
Filesystem Size Used Avail Capacity Mounted on
/dev/ad1s1a 252M 46M 186M 20% /
/dev/ad1s2e 20G 9.0M 18G 0% /backup
/dev/ad1s2f 20G 130M 18G 1% /data
/dev/ad1s2g 32G 8.9G 21G 30% /hd2
/dev/ad1s1f 252M 18K 232M 0% /tmp
/dev/ad1s1g 9.8G 1.6G 7.5G 17% /usr
/dev/ad1s1d 47G 10G 33G 24% /usr/home
/dev/ad1s1h 20G 190M 18G 1% /usr/local
/dev/ad1s1e 1008M 49M 878M 5% /var
/dev/ad0s1e /space
I only see
/dev/ad0s1
/dev/ad1s1
What happened to
/dev/ad1s1a
/dev/ad1s2f
/dev/ad0s1e
I ran fsck
Fixit# fsck /dev/ad1s1
and it seems to be fine
Fixit# mount /dev/ad1s1 /mnt
That seems to be the root, but I still can't find /dev/ad1s2f or any other
/dev/ad1s2* partitions.
Any idea?
Tree
More information about the freebsd-questions
mailing list