View previous topic :: View next topic |
Author |
Message |
emix Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 30 Nov 2003 Posts: 1014
|
Posted: Thu Jul 14, 2005 9:04 am Post subject: HAL e opzioni in fstab [risolto] |
|
|
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 :wink:](images/smiles/icon_wink.gif)
Last edited by emix on Fri Jul 15, 2005 9:01 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thewally l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/772977575436a9e90e35b9.jpg)
Joined: 12 May 2005 Posts: 703 Location: Genova
|
Posted: Thu Jul 14, 2005 7:06 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
emix Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 30 Nov 2003 Posts: 1014
|
Posted: Thu Jul 14, 2005 8:06 pm Post subject: |
|
|
Già avevo controllato dopo aver letto qualche topic passato... niente da fare, è disattivato. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ciccio n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Feb 2004 Posts: 67
|
Posted: Fri Jul 15, 2005 12:59 am Post subject: Re: HAL e opzioni in fstab |
|
|
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 :wink:](images/smiles/icon_wink.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
emix Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 30 Nov 2003 Posts: 1014
|
Posted: Fri Jul 15, 2005 9:00 am Post subject: |
|
|
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 :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
.:chrome:. Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1738078993454a825c7608f.jpg)
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Sat Jul 16, 2005 2:55 pm Post subject: Re: HAL e opzioni in fstab [risolto] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
bandreabis Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/188011968046698f5684c86.jpg)
Joined: 18 Feb 2005 Posts: 2495 Location: イタリアのロディで
|
Posted: Sun Oct 30, 2005 8:26 pm Post subject: |
|
|
SIETE GRANDI!
Grazie emix, grassie 1000.
Andrea |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thewally l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/772977575436a9e90e35b9.jpg)
Joined: 12 May 2005 Posts: 703 Location: Genova
|
Posted: Sun Oct 30, 2005 8:56 pm Post subject: |
|
|
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 ![Very Happy :D](images/smiles/icon_biggrin.gif) _________________ Proudly Member of GeCHI |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
emix Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 30 Nov 2003 Posts: 1014
|
Posted: Sun Oct 30, 2005 9:35 pm Post subject: |
|
|
Be' che dire... prego ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
X-Drum Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1870365650443690caa453e.png)
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Mon Oct 31, 2005 10:28 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
thewally l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/772977575436a9e90e35b9.jpg)
Joined: 12 May 2005 Posts: 703 Location: Genova
|
Posted: Mon Oct 31, 2005 12:41 pm Post subject: |
|
|
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 or Very Mad :evil:](images/smiles/icon_evil.gif) _________________ Proudly Member of GeCHI |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|