verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread treeml
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: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread Gilad Rom
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]


Re: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread Sergey 'DoubleF' Zaharchenko
On Wed, 4 Feb 2004 07:21:39 -0500
treeml [EMAIL PROTECTED] probably wrote:

 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 $
 

I can't believe it's the most recent entry! I'm on 4.8-REL and my most
recent entry is

$FreeBSD: src/lib/libc/string/strerror.c,v 1.2.14.3 2003/01/17 13:39:32 mike Exp $

(I mean, more recent than yours). Try running

# ident /mnt/sbin/init | sort -k 4

and look at the bottommost entry instead of vgrepping through the
whole list. Then maybe that string will serve some purpose.

HTH,

-- 
DoubleF
I didn't know it was impossible when I did it.


pgp0.pgp
Description: PGP signature


RE: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread Edmund Craske
1.2 is not greater than 1.7. Check your logic.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Sergey 'DoubleF' Zaharchenko
 Sent: 04 February 2004 13:17
 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
 
 
 On Wed, 4 Feb 2004 07:21:39 -0500
 treeml [EMAIL PROTECTED] probably wrote:
 
  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 $
  
 
 I can't believe it's the most recent entry! I'm on 4.8-REL 
 and my most recent entry is
 
 $FreeBSD: src/lib/libc/string/strerror.c,v 1.2.14.3 
 2003/01/17 13:39:32 mike Exp $
 
 (I mean, more recent than yours). Try running
 
 # ident /mnt/sbin/init | sort -k 4
 
 and look at the bottommost entry instead of vgrepping through 
 the whole list. Then maybe that string will serve some purpose.
 
 HTH,
 
 -- 
 DoubleF
 I didn't know it was impossible when I did it.
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread Sergey 'DoubleF' Zaharchenko
On Wed, 4 Feb 2004 13:51:16 -
Edmund Craske [EMAIL PROTECTED] probably wrote:

 1.2 is not greater than 1.7. Check your logic.


I mean the dates. Revision numbers have no correspondence between them.
If you have two *different* files, and one of them has a revision number
greated than the other, it doesn't necessarily mean it's older.

You can commit a file ten times, and after that commit another file one
time. If they were both at 1.1, then the first one, in your opinion,
will be `older' than the second, when it's indeed vice versa.

HTH,

--
DoubleF
Equal bytes for women.


pgp0.pgp
Description: PGP signature


Re: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread Scott W
Edmund Craske wrote:

1.2 is not greater than 1.7. Check your logic.

 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
Sergey 'DoubleF' Zaharchenko
Sent: 04 February 2004 13:17
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

On Wed, 4 Feb 2004 07:21:39 -0500
treeml [EMAIL PROTECTED] probably wrote:
   

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 $
   

I can't believe it's the most recent entry! I'm on 4.8-REL 
and my most recent entry is

$FreeBSD: src/lib/libc/string/strerror.c,v 1.2.14.3 
2003/01/17 13:39:32 mike Exp $

(I mean, more recent than yours). Try running

# ident /mnt/sbin/init | sort -k 4

and look at the bottommost entry instead of vgrepping through 
the whole list. Then maybe that string will serve some purpose.

HTH,

--
DoubleF
I didn't know it was impossible when I did it.
   

Note the file names, which make the file revisions  completely 
irrelevant in comparison to each other, even if they come from the same 
source (opposed to BSD specific/built from scratch).  Assuming they DO 
come from the same source, you'd have to check each file listed by ident

Scott

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread Sergey 'DoubleF' Zaharchenko
X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd4.8)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Wed, 4 Feb 2004 17:05:12 +0300
Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] probably wrote:

 On Wed, 4 Feb 2004 13:51:16 -
 Edmund Craske [EMAIL PROTECTED] probably wrote:
 
  1.2 is not greater than 1.7. Check your logic.
 
 
 I mean the dates. Revision numbers have no correspondence between them.
 If you have two *different* files, and one of them has a revision number
 greated than the other, it doesn't necessarily mean it's older.
  ^^
I meant *either* of the files:) (read if you have two different files,
and one of them has a revision number greated than the other, it doesn't
necessarily mean anything).

-- 
DoubleF
Time flies like an arrow, but fruit flies like a banana.




pgp0.pgp
Description: PGP signature


RE: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread Edmund Craske
Yeah, I must have been asleep. Should have reread the message
before replying! I'm so stupid sometimes :-P

 -Original Message-
 From: Scott W [mailto:[EMAIL PROTECTED] 
 Sent: 04 February 2004 14:17
 To: Edmund Craske
 Cc: 'Sergey 'DoubleF' Zaharchenko'; [EMAIL PROTECTED]
 Subject: Re: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 
 11:17:37 ) on FreeBSD Stable 4.9
 
 
 Edmund Craske wrote:
 
 1.2 is not greater than 1.7. Check your logic.
 
   
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Sergey 'DoubleF' Zaharchenko
 Sent: 04 February 2004 13:17
 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
 
 
 On Wed, 4 Feb 2004 07:21:39 -0500
 treeml [EMAIL PROTECTED] probably wrote:
 
 
 
 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 $
 
 
 I can't believe it's the most recent entry! I'm on 4.8-REL
 and my most recent entry is
 
 $FreeBSD: src/lib/libc/string/strerror.c,v 1.2.14.3
 2003/01/17 13:39:32 mike Exp $
 
 (I mean, more recent than yours). Try running
 
 # ident /mnt/sbin/init | sort -k 4
 
 and look at the bottommost entry instead of vgrepping through
 the whole list. Then maybe that string will serve some purpose.
 
 HTH,
 
 --
 DoubleF
 I didn't know it was impossible when I did it.
 
 
 
 Note the file names, which make the file revisions  completely 
 irrelevant in comparison to each other, even if they come 
 from the same 
 source (opposed to BSD specific/built from scratch).  
 Assuming they DO 
 come from the same source, you'd have to check each file 
 listed by ident
 
 Scott
 
 
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]