freeBSD 4.9 stable hang on start_init: trying /sbin/init
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:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 12:28 AM To: [EMAIL PROTECTED] 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. FilesystemSize Used Avail Capacity Mounted on /dev/ad1s1a 252M46M 186M20%/ /dev/ad1s2e20G 9.0M18G 0%/backup /dev/ad1s2f20G 130M18G 1%/data /dev/ad1s2g32G 8.9G21G30%/hd2 /dev/ad1s1f 252M18K 232M 0%/tmp /dev/ad1s1g 9.8G 1.6G 7.5G17%/usr /dev/ad1s1d47G10G33G24%/usr/home /dev/ad1s1h20G 190M18G 1%/usr/local /dev/ad1s1e 1008M49M 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9
My machine hangs at /sbin/init on boot, I just want to check if /sbin/init is corrupted or not. I have FreeBSD 4.9 stable on PIII 866. Here is the md5 MD5 (/mnt/sbin/init) = a7dc0528ae8a102c96f51dc516aa7f62 ident /mnt/sbin/init Gave out a long list of results, but at the end of the list, which is also the most recent is the following. $FreeBSD: src/lib/libc/locale//ldpart.c,v1.7.2.3 2002/08/12 11:17:37 ache Exp $ If anyone out there can verifies the md5 sum of /sbin/init of the version listed above, that would be very helpful. Tree -Original Message- From: Sergey 'DoubleF' Zaharchenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 6:44 AM To: treeml Subject: Re: freeBSD 4.9 stable hang on start_init: trying /sbin/init On Wed, 4 Feb 2004 05:41:14 -0500 treeml [EMAIL PROTECTED] probably wrote: 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 My bet is that the data in /sbin/init is broken. Do an md5 /sbin/init and send it to the list. Be sure to supply the date of your sources (as you're using STABLE, not 4.9-RELEASE) (or the output of ident /sbin/init). If nobody confirms the same checksum, then perhaps I'm right. 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. fsck will not necessarily notify you if there are hardware read errors somewhere on the drive. It just makes sure the filesystem areas are consistent and readable, not the data. If you use dd to read the whole disk, say # dd if=/dev/ad1s1a of=/dev/null bs=128k and it completes successfully, then it might be not a hardware fault, but something else. I'm sorry to say, but recently I had a power failure and it damaged my 80G Seagate (and FreeBSD gives pretty much the same errors when attempting to access the damages sectors). 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. -- DoubleF People will accept your ideas much more readily if you tell them that Benjamin Franklin said it first. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: freeBSD 4.9 stable hang on start_init: trying /sbin/init
Sergey, thanks for the answers. I did a # dd if=/dev/ad1s1a of=/dev/null bs=128k 2048+0 records in 2048+0 records out 268435456 bytes transferred in 7.044954 secs (38103223 bytes/sec) So it looks like my / partition in intact. I can mount and see all the file in that root partition as well as other ones. Just can get it to boot. I have tried resting my BIOs, no luck. I have tried to perform an upgrade from the 4.9 CD, but every time I get the point where it is looking for files on CD, it fails. I may try again from an FTP site. But I got the feeling reinstalling it will not fix the problem. Tree -Original Message- From: Sergey 'DoubleF' Zaharchenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 6:44 AM To: treeml Subject: Re: freeBSD 4.9 stable hang on start_init: trying /sbin/init On Wed, 4 Feb 2004 05:41:14 -0500 treeml [EMAIL PROTECTED] probably wrote: 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 My bet is that the data in /sbin/init is broken. Do an md5 /sbin/init and send it to the list. Be sure to supply the date of your sources (as you're using STABLE, not 4.9-RELEASE) (or the output of ident /sbin/init). If nobody confirms the same checksum, then perhaps I'm right. 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. fsck will not necessarily notify you if there are hardware read errors somewhere on the drive. It just makes sure the filesystem areas are consistent and readable, not the data. If you use dd to read the whole disk, say # dd if=/dev/ad1s1a of=/dev/null bs=128k and it completes successfully, then it might be not a hardware fault, but something else. I'm sorry to say, but recently I had a power failure and it damaged my 80G Seagate (and FreeBSD gives pretty much the same errors when attempting to access the damages sectors). 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. -- DoubleF People will accept your ideas much more readily if you tell them that Benjamin Franklin said it first. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to replace corrupted /sbin/init
Thanks Gilad, it looks like my /sbin/init is corrupted. The md5 of my init didn't match that of another user. And my system hangs at /sbin/init during boot. Does anyone have any suggestions on how to safely replace /sbin/init without erasing data on the drive? I have FBSD 4.9 stable, I try running upgrade from my the 4.9 RELEASE CD. Everything seems to be fine till the point after I select the installation media (I chose CD-ROM), it say it that it can't read data from /dev/acd0. I can try FTP option, but does anyone have a better sugguestions on how to replace a working copy of /sbin/init on to the root dir? Tree -Original Message- From: Gilad Rom [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 7:24 AM To: treeml Cc: [EMAIL PROTECTED] Subject: Re: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9 treeml wrote: My machine hangs at /sbin/init on boot, I just want to check if /sbin/init is corrupted or not. I have FreeBSD 4.9 stable on PIII 866. Here is the md5 MD5 (/mnt/sbin/init) = a7dc0528ae8a102c96f51dc516aa7f62 ident /mnt/sbin/init Gave out a long list of results, but at the end of the list, which is also the most recent is the following. $FreeBSD: src/lib/libc/locale//ldpart.c,v1.7.2.3 2002/08/12 11:17:37 ache Exp $ If anyone out there can verifies the md5 sum of /sbin/init of the version listed above, that would be very helpful. Here is mine: MD5 (/sbin/init) = bdcf745dd758b38727ba97f24be471e5 and ident /sbin/init shows: $FreeBSD: src/lib/libc/locale/ldpart.c,v 1.7.2.3 2002/08/12 11:17:37 ache Exp $ This is from FreeBSD 4.9-RC1. However, from a 4.9-STABLE box, I get MD5 (/sbin/init) = 3ce17ad04b21e20b91204dd9867e8f80 and ident /sbin/init shows: $FreeBSD: src/lib/libc/locale/ldpart.c,v 1.7.2.4 2003/12/22 20:45:16 jkh Exp $ Gilad. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
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. FilesystemSize Used Avail Capacity Mounted on /dev/ad1s1a 252M46M 186M20%/ /dev/ad1s2e20G 9.0M18G 0%/backup /dev/ad1s2f20G 130M18G 1%/data /dev/ad1s2g32G 8.9G21G30%/hd2 /dev/ad1s1f 252M18K 232M 0%/tmp /dev/ad1s1g 9.8G 1.6G 7.5G17%/usr /dev/ad1s1d47G10G33G24%/usr/home /dev/ad1s1h20G 190M18G 1%/usr/local /dev/ad1s1e 1008M49M 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
compile fdf for php on freebsd 5.0
Has anyone successfully compiled Forms Data Format function for PHP on FreeBSD? I know at the php site http://us4.php.net/manual/en/ref.fdf.php, they said that the platforms supported by Adobe are only Win32, Linux, Solaris and AIX. The tool kit you download at the adobe web site only contain .so files for those systems. BTW, you can download the fdf SDK tookit at http://partners.adobe.com/asn/acrobat/sdk/regeula/fdftkv5.tar.gz However, I know that FreeBSD supports Linux binary. Has anyone find anywork around to get php FDF function to compile under FreeBSD. Cant FreeBSD somehow use the Linux .so file? I really would like to use FreeBSD, but I also need to use FDF. Anyone? Any inputs? Thanks. Tree ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]