Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
il disco scrive ed il mouse scatta [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
no|one
n00b
n00b


Joined: 12 May 2004
Posts: 9

PostPosted: Wed May 12, 2004 10:36 pm    Post subject: il disco scrive ed il mouse scatta [risolto] Reply with quote

Ho fatto una breve ricerca e ho trovato questo:

https://forums.gentoo.org/viewtopic.php?t=171430

E' esattamente quello che succede a me, il mio problema però è che hdparm non mi vuole settare i dischi in DMA.

Ho un pc con una motherboard gigabyte con Nforce2, due HD IBM (60 e 30 Gb, quello linux è il 30) sul primo canale IDE, un DVD asus master sul secondo ide.
Da BIOS tutto a posto, sotto windows i dischi vengono visti come SuperDMA con DMA attivato.

Gentoo è un gentoo 2004 stage1 con praticamente giusto KDE e i driver ATI oltre alla configurazione di base.

Può essere un problema di kernel? o di mouse (USB)?

Qualcuno ha qualche idea?

Grazie :)


Last edited by no|one on Fri May 14, 2004 7:04 am; edited 1 time in total
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Wed May 12, 2004 10:40 pm    Post subject: Reply with quote

Benvenuto. Sei sicuro di aver incluso nel kernel il supporto al tuo controller IDE?
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
no|one
n00b
n00b


Joined: 12 May 2004
Posts: 9

PostPosted: Thu May 13, 2004 6:55 am    Post subject: Reply with quote

Ciao grazie :)

Uhm si avevo incluso Generic/default IDE chipset

Ma ho visto ora AMD and nVidia support (è la mia prima nforce2 :oops: ) ora provo a ricompilare con quello.

Nel dubbio, kernel 2.6.5 e risultato di hdparm:

Code:

noone root # hdparm -d1 -a1 -A1 -D1 -k1 -m16 -u1 -c3 -X udma5 /dev/hda

/dev/hda:
 setting fs readahead to 1
 setting 32-bit IO_support flag to 3
 setting multcount to 16
 setting unmaskirq to 1 (on)
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 setting keep_settings to 1 (on)
 setting drive defect-mgmt to 1
 HDIO_DRIVE_CMD(defectmgmt) failed: Input/output error
 setting xfermode to 69 (UltraDMA mode5)
 setting drive read-lookahead to 1 (on)
 multcount    = 16 (on)
 IO_support   =  3 (32-bit w/sync)
 unmaskirq    =  1 (on)
 using_dma    =  0 (off)
 keepsettings =  1 (on)
 readahead    =  0 (off)
noone root #


Ricompilo vah.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu May 13, 2004 7:37 am    Post subject: Re: il disco scrive ed il mouse scatta Reply with quote

no|one wrote:
https://forums.gentoo.org/viewtopic.php?t=171430

E' esattamente quello che succede a me, il mio problema però è che hdparm non mi vuole settare i dischi in DMA.

Può essere un problema di kernel? o di mouse (USB)?


Messaggi di errore?

Il kernel é configurato correttamente (ovvero, hai selezionato il tuo controller IDE)?
_________________
Ciao da me!
Back to top
View user's profile Send private message
no|one
n00b
n00b


Joined: 12 May 2004
Posts: 9

PostPosted: Thu May 13, 2004 9:14 am    Post subject: Reply with quote

No è a posto ora (credo, hdparm mi da dma on), ho ricompilato con il supporto IDE giusto (non avevo visto quello AMD/Nforce, avevo letto AMD e basta).

Il problema è che non va più il mouse ora 8O

Effettivamente già prima andava per grazia di dio, è un Intellimouse Explorer/USB. Ho seguito i vari Doc che si trovano in giro ma mi sfugge qualcosa su alcuni moduli che non riesco a capire da che opzione sono generati.

Secondo la guida al desktop vanno compilati e caricati i moduli usbmouse, mousedev, hid, usbcore, usb-uhci, e input

Fino a prima di ricompilare il kernel col supporto IDE esatto funzionava il mouse anche senza alcuni di questi moduli (credo usbcore e input, non posso essere preciso perchè non ho il computer davanti in questo momento), ora nonva completamente.

XFree è configurato correttamente.

Se qualcuno mi sa dire quali sono le opzioni del kernel per compilare quei moduli questa sera provo a sistemare.

Grazie :)
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Thu May 13, 2004 9:44 am    Post subject: Reply with quote

Posta l'output di "lsmod" e di "dmesg | grep -i usb". Sei sicuro che il tuo controller USB non usi usb-ohci?
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
no|one
n00b
n00b


Joined: 12 May 2004
Posts: 9

PostPosted: Thu May 13, 2004 4:13 pm    Post subject: Reply with quote

MyZelF wrote:
Posta l'output di "lsmod" e di "dmesg | grep -i usb". Sei sicuro che il tuo controller USB non usi usb-ohci?


Uhm, non ricordo, ma forse ce l'ho attivato come modulo, la macchina è a casa, questa sera appena rientro faccio un test e posto.

Grazie :)
Back to top
View user's profile Send private message
no|one
n00b
n00b


Joined: 12 May 2004
Posts: 9

PostPosted: Thu May 13, 2004 9:42 pm    Post subject: Reply with quote

ok, c'era usb-ohci ma in modules.autoload faceva casino con la scheda di rete e non si caricava 8O l'ho spostato prima ed ora è tutto a posto.

Metto cmq lsmod e dmesg che si sa mai che c'ho ancora qualcosa di scazzato:

Code:

noone root # lsmod
Module                  Size  Used by
snd_emu10k1_synth       6560  -
snd_emux_synth         36288  -
snd_seq_virmidi         5312  -
snd_seq_midi_emul       6656  -
snd_emu10k1            92900  -
snd_util_mem            3232  -
snd_hwdep               7104  -
fglrx                 200580  -
nvidia_agp              5564  -
agpgart                27944  -
rtc                    10328  -
hid                    23200  -
usbmouse                4096  -
r8169                   9444  -
ohci_hcd               16676  -
noone root #


----------------------------------------------------------------

noone root # dmesg | grep -i usb
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
ehci_hcd 0000:00:02.2: nVidia Corporation nForce2 USB Controller
ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29
hub 1-0:1.0: USB hub found
drivers/usb/core/usb.c: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:00:02.0: nVidia Corporation nForce2 USB Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
ohci_hcd 0000:00:02.1: nVidia Corporation nForce2 USB Controller (#2)
ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
usb 3-1: new full speed USB device using address 2
hub 3-1:1.0: USB hub found
usb 3-1.4: new low speed USB device using address 3
input: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM) on usb-0000:00:02.1-1.4
drivers/usb/core/usb.c: registered new driver usbmouse
drivers/usb/input/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
noone root #



Grazie, ciao :)
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Thu May 13, 2004 9:45 pm    Post subject: Reply with quote

Puoi usare hotplug per il caricamento automatico dei moduli.

Code:
# emerge hotplug
# rc-update add hotplug boot


Non dimenticare di aggiungere il tag [Risolto] al titolo.
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
no|one
n00b
n00b


Joined: 12 May 2004
Posts: 9

PostPosted: Fri May 14, 2004 7:06 am    Post subject: Reply with quote

MyZelF wrote:
Puoi usare hotplug per il caricamento automatico dei moduli.
Code:
# emerge hotplug
# rc-update add hotplug boot



Qualcuno mi aveva sconsigliato l'utilizzo, dicendo che serviva solo usando genkernel :?:

Vado di emerge hotplug tranquillo quindi?


Quote:


Non dimenticare di aggiungere il tag [Risolto] al titolo.


Done!
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri May 14, 2004 7:12 am    Post subject: Reply with quote

no|one wrote:
Qualcuno mi aveva sconsigliato l'utilizzo, dicendo che serviva solo usando genkernel :?:


No, con hotplug puoi fare di tutto.

Se fai una ricerca nel forum trovi numerosi post di motaboy, uno script di Panda per l'OSD e altra "roba varia" che potrebbero aiutarti ;-)
_________________
Ciao da me!
Back to top
View user's profile Send private message
no|one
n00b
n00b


Joined: 12 May 2004
Posts: 9

PostPosted: Fri May 14, 2004 10:09 pm    Post subject: Reply with quote

Ok, esiste un howto in giro su Hotplug?

Ho cercato al volo ma sul forum non ho trovato un tutorial
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Fri May 14, 2004 10:15 pm    Post subject: Reply with quote

Per cominciare ti basta emerge ed aggiungerlo ad un runlevel (preferibilmente boot, nonostante la documentazione gentoo consigli default).

Puoi "studiare" gli script in /etc/hotplug e fare riferimento al sito ufficiale:
http://linux-hotplug.sourceforge.net
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
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