* [gentoo-dev] mount works not correct with kernel 2.6.8-gentoo-r3
@ 2004-09-07 11:48 Christian Fischer
2004-09-07 12:28 ` Paul de Vrieze
0 siblings, 1 reply; 9+ messages in thread
From: Christian Fischer @ 2004-09-07 11:48 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've a problem with mounting partitions. I've two gentoo systems on this box,
both are stable tree. The old one is a build from stage 3, the new one is a
build from stage 2.
kernel: linux-2.6.8-gentoo-r3
gcc: version 3.3.4 20040623
platform: intel p4 celeron
partitions: hda1 ext2 /boot
hda2 swap
hda 3 reiserfs /old
hda4 reiserfs /
hda3 is the old system
hda4 is the new system
I've tried to copy a directoriy with cp -a from /old/home/user1/directory/
to /home/user1/. Copy told me that both directories are the same and copy
cannot be done. I'm shure that these directories shouldn't be the same, one
comes from /dev/hda3 and the other comes from /dev/hda4. I've done a test:
# mkdir /home/user1/testdir
I got two directories testdir, one in /home/user1/ and a second
in /old/home/user1/. Well, next test:
# umount /old
# mkdir /home/user1/testdir2
Nothing in /old.
# mount /dev/hda3 /old
got testdir2 in both homes, the old and the new one
There are no problems with kernel 2.6.7-gentoo-r11 or kernel 2.4.26-gentoo-r9.
In /old/home/user1/ are files and directories from the old home, which are
not in new home, and some from new home which seems to be the same. Adding
and removing directories in the new home affects the old home.
Regards
Christian
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBPaAEszmQKstIgt4RAgNZAKC6lGF1QUESjEaZor5aLVzTkN6pkACdEr4e
d88zWR6vhprzHKK0/bQLYZE=
=rQcg
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] mount works not correct with kernel 2.6.8-gentoo-r3
2004-09-07 11:48 [gentoo-dev] mount works not correct with kernel 2.6.8-gentoo-r3 Christian Fischer
@ 2004-09-07 12:28 ` Paul de Vrieze
2004-09-07 22:18 ` Christian Fischer
0 siblings, 1 reply; 9+ messages in thread
From: Paul de Vrieze @ 2004-09-07 12:28 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1036 bytes --]
On Tuesday 07 September 2004 13:48, Christian Fischer wrote:
> I've tried to copy a directoriy with cp -a from
> /old/home/user1/directory/ to /home/user1/. Copy told me that both
> directories are the same and copy cannot be done. I'm shure that these
> directories shouldn't be the same, one comes from /dev/hda3 and the
> other comes from /dev/hda4. I've done a test:
> There are no problems with kernel 2.6.7-gentoo-r11 or kernel
> 2.4.26-gentoo-r9. In /old/home/user1/ are files and directories from
> the old home, which are not in new home, and some from new home which
> seems to be the same. Adding and removing directories in the new home
> affects the old home.
You might want to check your bootloader configuration. For the root
filesystem the kernel does not actually consult fstab at all, only it's
commandline. To check what the kernel believes to actually be mounted
look at /proc/mounts
Paul
--
Paul de Vrieze
Gentoo Developer
Mail: pauldv@gentoo.org
Homepage: http://www.devrieze.net
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] mount works not correct with kernel 2.6.8-gentoo-r3
2004-09-07 12:28 ` Paul de Vrieze
@ 2004-09-07 22:18 ` Christian Fischer
2004-09-08 2:07 ` Greg KH
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Christian Fischer @ 2004-09-07 22:18 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 07 September 2004 14:28, Paul de Vrieze wrote:
> You might want to check your bootloader configuration. For the root
> filesystem the kernel does not actually consult fstab at all, only it's
> commandline. To check what the kernel believes to actually be mounted
> look at /proc/mounts
Paul,
that's not a problem of mounting the rootfs in the right way or specifying the
right kernel commandline. I've different partitions on different mountpoints.
Changes in new home shouldn't affect the old home. That's not normal.
# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / reiserfs rw,noatime 0 0
none /proc proc rw,nodiratime 0 0
none /sys sysfs rw 0 0
none /dev devfs rw 0 0
none /dev/pts devpts rw 0 0
none /dev/shm tmpfs rw 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/hda3 /old reiserfs rw 0 0
Christian
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBPjOqszmQKstIgt4RArNuAJ0QnNoNx6OlLmm3XhKJn2ufRCQsfwCeIM0k
dhjxcGmradkLoRzqDQw8SKA=
=+uuA
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] mount works not correct with kernel 2.6.8-gentoo-r3
2004-09-07 22:18 ` Christian Fischer
@ 2004-09-08 2:07 ` Greg KH
2004-09-08 14:21 ` Christian Fischer
2004-09-08 2:16 ` Mike Frysinger
2004-09-08 16:21 ` Maurice van der Pot
2 siblings, 1 reply; 9+ messages in thread
From: Greg KH @ 2004-09-08 2:07 UTC (permalink / raw
To: Christian Fischer; +Cc: gentoo-dev
On Wed, Sep 08, 2004 at 12:18:18AM +0200, Christian Fischer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tuesday 07 September 2004 14:28, Paul de Vrieze wrote:
> > You might want to check your bootloader configuration. For the root
> > filesystem the kernel does not actually consult fstab at all, only it's
> > commandline. To check what the kernel believes to actually be mounted
> > look at /proc/mounts
>
> Paul,
> that's not a problem of mounting the rootfs in the right way or specifying the
> right kernel commandline. I've different partitions on different mountpoints.
> Changes in new home shouldn't affect the old home. That's not normal.
>
> # cat /proc/mounts
> rootfs / rootfs rw 0 0
> /dev/root / reiserfs rw,noatime 0 0
> none /proc proc rw,nodiratime 0 0
> none /sys sysfs rw 0 0
> none /dev devfs rw 0 0
> none /dev/pts devpts rw 0 0
> none /dev/shm tmpfs rw 0 0
> none /proc/bus/usb usbfs rw 0 0
> /dev/hda3 /old reiserfs rw 0 0
I don't see /dev/hda4 being used here.
greg k-h
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] mount works not correct with kernel 2.6.8-gentoo-r3
2004-09-07 22:18 ` Christian Fischer
2004-09-08 2:07 ` Greg KH
@ 2004-09-08 2:16 ` Mike Frysinger
2004-09-08 14:38 ` Christian Fischer
2004-09-08 16:21 ` Maurice van der Pot
2 siblings, 1 reply; 9+ messages in thread
From: Mike Frysinger @ 2004-09-08 2:16 UTC (permalink / raw
To: gentoo-dev
On Tuesday 07 September 2004 06:18 pm, Christian Fischer wrote:
> that's not a problem of mounting the rootfs in the right way or specifying
> the right kernel commandline. I've different partitions on different
> mountpoints. Changes in new home shouldn't affect the old home. That's not
> normal.
can you show /proc/cmdline and /proc/mounts from the 'good' kernel and then
from the 'bad' kernel ?
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] mount works not correct with kernel 2.6.8-gentoo-r3
2004-09-08 2:07 ` Greg KH
@ 2004-09-08 14:21 ` Christian Fischer
0 siblings, 0 replies; 9+ messages in thread
From: Christian Fischer @ 2004-09-08 14:21 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 08 September 2004 04:07, Greg KH wrote:
> > # cat /proc/mounts
> > rootfs / rootfs rw 0 0
> > /dev/root / reiserfs rw,noatime 0 0
> > none /proc proc rw,nodiratime 0 0
> > none /sys sysfs rw 0 0
> > none /dev devfs rw 0 0
> > none /dev/pts devpts rw 0 0
> > none /dev/shm tmpfs rw 0 0
> > none /proc/bus/usb usbfs rw 0 0
> > /dev/hda3 /old reiserfs rw 0 0
>
> I don't see /dev/hda4 being used here.
I also can't see it but I don' know enough about that, probably this is
normal. This is from an other machine with kernel 2.6.7-gentoo-r11.
# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / reiserfs rw,noatime 0 0
none /dev devfs rw 0 0
none /proc proc rw,nodiratime 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw 0 0
none /dev/shm tmpfs rw 0 0
none /proc/bus/usb usbfs rw 0 0
Christian
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBPxWBszmQKstIgt4RAkxhAJwMHsTiX47hNddeWFeG2TMEAOELdgCgkzwv
CsFHXbHptp2qBF1ddqlPRfk=
=UIJh
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] mount works not correct with kernel 2.6.8-gentoo-r3
2004-09-08 2:16 ` Mike Frysinger
@ 2004-09-08 14:38 ` Christian Fischer
0 siblings, 0 replies; 9+ messages in thread
From: Christian Fischer @ 2004-09-08 14:38 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 08 September 2004 04:16, Mike Frysinger wrote:
> can you show /proc/cmdline and /proc/mounts from the 'good' kernel and then
> from the 'bad' kernel ?
This is the good one (2.4.26):
# cat /proc/cmdline
root=/dev/hda4
# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / reiserfs rw,noatime 0 0
none /proc proc rw 0 0
none /dev devfs rw 0 0
none /dev/shm tmpfs rw 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/hda3 /old reiserfs rw 0 0
And that is the bad one (2.6.8):
# cat /proc/cmdline
root=/dev/hda4
# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / reiserfs rw,noatime 0 0
none /proc proc rw,nodiratime 0 0
none /sys sysfs rw 0 0
none /dev devfs rw 0 0
none /dev/pts devpts rw 0 0
none /dev/shm tmpfs rw 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/hda3 /old reiserfs rw 0 0
There is another ugly thing: symlinks seems to be work incorrect.
# cat /proc/version
Linux version 2.6.8-gentoo-r3 (root@server03) (gcc version 3.3.4 20040623
(Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)) #1 Mon Aug 30 20:22:33 Local
time zone must be set--see zic manu
# ls -al /etc/localtime
lrwxrwxrwx 1 root root 33 Sep 1 10:50 localtime
- -> /usr/share/zoneinfo/Europe/Berlin
Thanks
Christian
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBPxlxszmQKstIgt4RAq7kAJ45TEU78zRKOJOWpqjfLHv5mvt1/QCgnRFc
our4lg+i4IlHWJxi3S/Q0qw=
=i5Kq
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] mount works not correct with kernel 2.6.8-gentoo-r3
2004-09-07 22:18 ` Christian Fischer
2004-09-08 2:07 ` Greg KH
2004-09-08 2:16 ` Mike Frysinger
@ 2004-09-08 16:21 ` Maurice van der Pot
2004-09-08 20:59 ` Christian Fischer
2 siblings, 1 reply; 9+ messages in thread
From: Maurice van der Pot @ 2004-09-08 16:21 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 208 bytes --]
On Wed, Sep 08, 2004 at 12:18:18AM +0200, Christian Fischer wrote:
> /dev/root / reiserfs rw,noatime 0 0
> /dev/hda3 /old reiserfs rw 0 0
What is /dev/root? That's not a link to /dev/hda3, is it?
Maurice.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] mount works not correct with kernel 2.6.8-gentoo-r3
2004-09-08 16:21 ` Maurice van der Pot
@ 2004-09-08 20:59 ` Christian Fischer
0 siblings, 0 replies; 9+ messages in thread
From: Christian Fischer @ 2004-09-08 20:59 UTC (permalink / raw
To: gentoo-dev
On Wednesday 08 September 2004 18:21, Maurice van der Pot wrote:
> On Wed, Sep 08, 2004 at 12:18:18AM +0200, Christian Fischer wrote:
> > /dev/root / reiserfs rw,noatime 0 0
> > /dev/hda3 /old reiserfs rw 0 0
>
> What is /dev/root? That's not a link to /dev/hda3, is it?
No, it isn't. That is /dev/hda4.
# mount
/dev/hda4 on / type reiserfs (rw,noatime)
[...]
--
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-09-08 20:45 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-07 11:48 [gentoo-dev] mount works not correct with kernel 2.6.8-gentoo-r3 Christian Fischer
2004-09-07 12:28 ` Paul de Vrieze
2004-09-07 22:18 ` Christian Fischer
2004-09-08 2:07 ` Greg KH
2004-09-08 14:21 ` Christian Fischer
2004-09-08 2:16 ` Mike Frysinger
2004-09-08 14:38 ` Christian Fischer
2004-09-08 16:21 ` Maurice van der Pot
2004-09-08 20:59 ` Christian Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox