Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto] Stranezza con la lista dei device montati
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Sun Mar 27, 2005 10:11 am    Post subject: [risolto] Stranezza con la lista dei device montati Reply with quote

Da poco ho fatto l'upgrade del kernel (gentoo-dev-sources-2.6.11-r4) e mi sono accorto che usando i comandi mount o df non mi vengono listati tutti i device montati che non siano quello di root o quelli montati successivamente al boot. Ovviamente questo non accade sempre 8O

A qualcuno succede qualcosa di simile? Possile causa (con il kernel 2.6.10 nessun problema)?


Last edited by fabius on Sat Jun 11, 2005 5:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Mar 27, 2005 10:37 am    Post subject: Reply with quote

In che senso?
Postaci il risultato di:

Code:
mount -l


e cosa hai attualmente momtato.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Sun Mar 27, 2005 10:44 am    Post subject: Reply with quote

Code:
$ mount -l
/dev/hde6 on / type reiserfs (rw,notail)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev type ramfs (rw)
none on /dev/pts type devpts (rw)
none on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)

mentre in realtà ho montati anche /dev/hde[157] /dev/hdf[158] (ci accedo regolarmente attraverso i mount point specificati in /etc/fstab)
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Mar 27, 2005 10:46 am    Post subject: Reply with quote

Posta il tuo fstab.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Sun Mar 27, 2005 10:49 am    Post subject: Reply with quote

Code:
/dev/hde6         /                 reiserfs    notail                                                            0 1
/dev/hde7         /mnt/lfs          ext3        defaults                                                          0 2
/dev/hdf1         /mnt/data         ext3        defaults                                                          0 2
/dev/hdf5         /mnt/data2        ext3        defaults                                                          0 3

/dev/hde1         /mnt/winXP        vfat        quiet,umask=0,iocharset=iso8859-1,codepage=850                    0 0
/dev/hde5         /mnt/winD         vfat        quiet,umask=0,iocharset=iso8859-1,codepage=850                    0 0
/dev/hdf8         /mnt/winE         vfat        quiet,umask=0,iocharset=iso8859-1,codepage=850                    0 0

Questo è corretto dato che funzionava bene fino al kernel 2.6.10 :(
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Mar 27, 2005 11:02 am    Post subject: Reply with quote

Se fai un:

Code:
cat /etc/mtab


che ti da?
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Sun Mar 27, 2005 11:15 am    Post subject: Reply with quote

Lo stesso risultato di mount
Code:
/dev/hde6 / reiserfs rw,notail 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev ramfs rw 0 0
none /dev/pts devpts rw 0 0
none /proc/bus/usb usbfs rw,devmode=0664,devgid=85 0 0

Mi sembra molto strano dato che posso accedere alle partizioni non listate!
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sun Mar 27, 2005 1:08 pm    Post subject: Re: Stranezza con la lista dei device montati (kernel 2.6.11 Reply with quote

fabius wrote:
Da poco ho fatto l'upgrade del kernel (gentoo-dev-sources-2.6.11-r4) e mi sono accorto che usando i comandi mount o df non mi vengono listati tutti i device montati che non siano quello di root o quelli montati successivamente al boot. Ovviamente questo non accade sempre 8O

A qualcuno succede qualcosa di simile? Possile causa (con il kernel 2.6.10 nessun problema)?


non è che per caso hai abilitato GRSecurity e/o una voce tipo "/proc restrictions"?
nascondere quelle e altre cose è proprio quello che fanno patch come PaX, GRSecurity, ecc...
Back to top
View user's profile Send private message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Sun Mar 27, 2005 1:23 pm    Post subject: Re: Stranezza con la lista dei device montati (kernel 2.6.11 Reply with quote

k.gothmog wrote:
non è che per caso hai abilitato GRSecurity e/o una voce tipo "/proc restrictions"?
nascondere quelle e altre cose è proprio quello che fanno patch come PaX, GRSecurity, ecc...

No, ho solo aggiornato il file config del kernel 2.6.10 (con il quale tutto funzionava regolarmente). Le differenze nel config tra i due kernel sono
Code:
diff /boot/config-2.6.10-gentoo-r6 /boot/config-2.6.11-gentoo-r4  | grep -v \#
3,4c3,4
---
95a96
> CONFIG_GENERIC_CALIBRATE_DELAY=y
106a108
> CONFIG_PREEMPT_BKL=y
158a161
175a179
250a255
272a278
365a372
403d409
513d518
615a621
710a717
> CONFIG_SERIO_LIBPS2=y
738d744
< CONFIG_INOTIFY=y
868a875
989a997
1042a1051,1052
1065a1076
1148d1158
1187d1196
1195a1205
1206,1217d1215
1224a1223,1227
>
1245a1249,1252
>
1248a1256
> CONFIG_INOTIFY=y
1314d1321
1380a1388,1389
> CONFIG_DEBUG_BUGVERBOSE=y
1419a1429,1433
>
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Mar 27, 2005 2:00 pm    Post subject: Reply with quote

Non saprei che dire :(

Prova a disabilitare una ad una le opzioni diverse fino a che non trovi quella che crea il problema.
Lo so che non è una cosa simpatica ma non mi viene in mente altra soluzione.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Tue Mar 29, 2005 1:33 pm    Post subject: Reply with quote

Ho provato ad elimare le opzioni dal config del kernel senza successo. Ho provato anche ad usare il kernel vanilla: stesso problema :cry:

La cosa strana è che il fenomeno è casuale ovvero non si manifesta ad ogni reboot 8O
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Mar 29, 2005 3:33 pm    Post subject: Reply with quote

fabius wrote:

La cosa strana è che il fenomeno è casuale ovvero non si manifesta ad ogni reboot 8O


Questo non è un buon segno :(
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Sat Jun 11, 2005 5:44 pm    Post subject: Reply with quote

Già che sono mi taggo risolto :D Non so il motivo, penso sia dovuto al kernel, ora uso 2.6.11-gentoo-r9
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum