Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HAL e opzioni in fstab [risolto]
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
emix
Veteran
Veteran


Joined: 30 Nov 2003
Posts: 1014

PostPosted: Thu Jul 14, 2005 9:04 am    Post subject: HAL e opzioni in fstab [risolto] Reply with quote

Ho un problema con la chiave usb... la scrittura è lentissima. Dopo qualche ricerca penso che questo sia dovuto all'opzione sync, anche perché in lettura la velocità è ok. Il problema è che l'opzione sync viene messa automaticamente da hald ogni volta che inserisco la chiave.

La domanda è: esiste un qualche file di configurazione dove specificare queste cose? Finora non ho trovato nulla.

Grazie a tutti :wink:


Last edited by emix on Fri Jul 15, 2005 9:01 am; edited 1 time in total
Back to top
View user's profile Send private message
thewally
l33t
l33t


Joined: 12 May 2005
Posts: 703
Location: Genova

PostPosted: Thu Jul 14, 2005 7:06 pm    Post subject: Reply with quote

Ciao

Controlla di non aver inserito (neanche come modulo) nel kernel questa opzione:
Code:

  Device Drivers  --->
            Block devices  --->
                     < > Low Performance USB Block driver

Causa una drastica diminuzione delle prestazioni degli usb mass storage.

The Wally
Back to top
View user's profile Send private message
emix
Veteran
Veteran


Joined: 30 Nov 2003
Posts: 1014

PostPosted: Thu Jul 14, 2005 8:06 pm    Post subject: Reply with quote

Già avevo controllato dopo aver letto qualche topic passato... niente da fare, è disattivato.
Back to top
View user's profile Send private message
Ciccio
n00b
n00b


Joined: 17 Feb 2004
Posts: 67

PostPosted: Fri Jul 15, 2005 12:59 am    Post subject: Re: HAL e opzioni in fstab Reply with quote

emix wrote:
Ho un problema con la chiave usb... la scrittura è lentissima. Dopo qualche ricerca penso che questo sia dovuto all'opzione sync, anche perché in lettura la velocità è ok. Il problema è che l'opzione sync viene messa automaticamente da hald ogni volta che inserisco la chiave.

La domanda è: esiste un qualche file di configurazione dove specificare queste cose? Finora non ho trovato nulla.

Grazie a tutti :wink:


edita
Code:
/usr/share/hal/fdi/90defaultpolicy/storage-policy.fdi

lì trovi i valori che assegna alle periferiche nell'fstab... anche io ultimamente sto avendo lo stesso problema, curioso però che finché ho usato i ck-sources non mi avevo avuto nessun problema a riguardo...
_________________
Francesco
http://www.ciccio.org
Back to top
View user's profile Send private message
emix
Veteran
Veteran


Joined: 30 Nov 2003
Posts: 1014

PostPosted: Fri Jul 15, 2005 9:00 am    Post subject: Reply with quote

Bene... sembra che abbia risolto. La scrittura ora è normale, come deve essere. Però ho trovato una soluzione migliore rispetto a quella di editare il file di configurazione di default. Ho creato il file /usr/share/hal/fdi/95userpolicy/usb.fdi e ci ho messo dentro
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="@block.storage_device:storage.hotpluggable" bool="true">
      <merge key="volume.policy.mount_option.sync" type="bool">false</merge>
    </match>
    <match key="@block.storage_device:storage.removable" bool="true">
      <merge key="volume.policy.mount_option.sync" type="bool">false</merge>
    </match>
  </device>
</deviceinfo>

Funziona... grazie tante :wink:
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


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

PostPosted: Sat Jul 16, 2005 2:55 pm    Post subject: Re: HAL e opzioni in fstab [risolto] Reply with quote

grazie, emix.
ci ho litigato ieri senza risultato. non avevo pensato fosse colpa di hal.
ho trovato il tuo post stamattina e ho risolto al volo
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2495
Location: イタリアのロディで

PostPosted: Sun Oct 30, 2005 8:26 pm    Post subject: Reply with quote

SIETE GRANDI!
Grazie emix, grassie 1000.

Andrea
Back to top
View user's profile Send private message
thewally
l33t
l33t


Joined: 12 May 2005
Posts: 703
Location: Genova

PostPosted: Sun Oct 30, 2005 8:56 pm    Post subject: Reply with quote

Ragazzi, ho postato quel messaggio sopra, e non mi sono accorto di avere anche io lo stesso problema.

Ma, grazie a emix ho risolto in un secondo... Grandissimi :D :D :D
_________________
Proudly Member of GeCHI
Back to top
View user's profile Send private message
emix
Veteran
Veteran


Joined: 30 Nov 2003
Posts: 1014

PostPosted: Sun Oct 30, 2005 9:35 pm    Post subject: Reply with quote

Be' che dire... prego :roll:
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Mon Oct 31, 2005 10:28 am    Post subject: Reply with quote

avevo lo stesso problema anche io e non me ne ero
accorto....tnx

edit:
ho appena notato che lo slowdown avveniva per me sul fisso con
sys-apps/hal-0.4.7-r2, mentre sul portatile con sys-apps/hal-0.5.4
tutto funziona normalmente... mi date conferma?
_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
thewally
l33t
l33t


Joined: 12 May 2005
Posts: 703
Location: Genova

PostPosted: Mon Oct 31, 2005 12:41 pm    Post subject: Reply with quote

X-Drum wrote:
ho appena notato che lo slowdown avveniva per me sul fisso con
sys-apps/hal-0.4.7-r2, mentre sul portatile con sys-apps/hal-0.5.4
tutto funziona normalmente... mi date conferma?

Te la darei volentieri, ma hal-0.5.4 continua a darmi problemi, tanto che sono sempre costretto a tornare alla 0.4.7 ...
A quanto pare, quella versione ha piu bug che altro.... :evil: :evil:
_________________
Proudly Member of GeCHI
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