[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: N4k: failled to mount / rw since initscripts-2.85-12?



Hi All,

>PS: other system running same kernel but 32bit (as b180 or b2k) don't encounter
>the same pb but config files are different (repectively b180 and c3k)

Here is the actual pb:
. with a 32bit kernel:
# mount -n -o remount,ro /dev/sda11 /Develop (used by checkroot.sh)
  no pb

. with a 64bit kernel:
# mount -n -o remount,ro /dev/sda11 /Develop
  failed with message:
mount: you must specify the filesystem type

Some additional info:
 - in /etc/fstab of the two systems /dev/sda11
is defined as:
/dev/sda11 /Develop ext3 defaults 0 1.
 - the 2 systems were updated nearly at the same time this morning
 - the 32bit kernel (runing on a b2k model) is build with c3k config with
gcc-3-3
 - the 64bit kernel (runing on a N4k model) is build with a500 config with
gcc-hppa64-3.0 (from ftp.p-l.org)
 - the k src are the same 2.6.5-rc2-pa2 (the pb seems also the same with
2.6.5-rc1-pa1).

Any idea?

Thanks for help,
    Joel

PS: temporary w-a:
--- checkroot.sh.orig   
004-03-26 14:22:23.000000000 +0100
+++ checkroot.sh        2004-03-26 14:24:06.161703472 +0100
@@ -181,7 +181,7 @@
        #
        # Ensure that root is quiescent and read-only before fsck'ing.
        #
-       if ! mount -n -o remount,ro $roo
dev /
+       if ! mount -n -t $roottype -o remount,ro $rootdev /
        then
                echo -n "*** ERROR!  Cannot fsck root fs because it is "
                echo    "not mounted read-only!"
@@ -262,7 +262,7 @@
 #
 if [ "$rootdev" != n
ne ] && [ "$roottype" != none ]
 then
-       mount -n -o remount,$rootopts $rootdev /
+       mount -n -t $roottype -o remount,$rootopts $rootdev /
 fi

 #





----------------------------------------------------------------------------------------
Tiscali ADSL: 35 ?/mois, la meilleure offre du marché!
http://reg.tiscali.be/default.asp?lg=fr





Reply to: