Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hotplug e kernel 2.6
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
bubble27
Guru
Guru


Joined: 07 Aug 2003
Posts: 365
Location: Campobasso

PostPosted: Tue Feb 17, 2004 12:59 pm    Post subject: hotplug e kernel 2.6 Reply with quote

Ciao Gechi mi sto imbattendo in questo problema che riscontro quando voglio fare un reboot, un poweroff oppure solamente uno stop di hotplug con il kernel 2.6.
Dopo aver dato uno dei tre comandi elencati sopra mi posta questa serie di righe che sono riuscito a recuperare tramite /var/log/messages.
Code:

Feb 17 13:04:35 Carlsberg Oops: 0000 [#1]
Feb 17 13:04:35 Carlsberg CPU:    0
Feb 17 13:04:35 Carlsberg EIP:    0060:[<d19820a7>]    Not tainted
Feb 17 13:04:35 Carlsberg EFLAGS: 00010296
Feb 17 13:04:35 Carlsberg EIP is at disconnect_scanner+0x2c/0x66 [scanner]
Feb 17 13:04:35 Carlsberg eax: ce79bc80   ebx: ce79bc94   ecx: d198207b   edx: cf67fc00
Feb 17 13:04:35 Carlsberg esi: 00000000   edi: ce7a0928   ebp: d19863dc   esp: c5195d94
Feb 17 13:04:35 Carlsberg ds: 007b   es: 007b   ss: 0068
Feb 17 13:04:35 Carlsberg Process rmmod (pid: 9807, threadinfo=c5194000 task=ce6bb2e0)
Feb 17 13:04:35 Carlsberg Stack: ce79bc80 d1986458 ce79bc80 d19864c0 d18aa0ef ce79bc80 ce79bc80 ce79bcc0
Feb 17 13:04:35 Carlsberg ce79bc94 d19864e0 c01fad16 ce79bc94 ce79bcc0 ce7a093c ce7a0900 d1981a2e
Feb 17 13:04:35 Carlsberg ce79bc94 ce79bc80 ce7a093c d19863ec 00000000 00000000 c01b3510 ce7a093c
Feb 17 13:04:35 Carlsberg Call Trace:
Feb 17 13:04:35 Carlsberg [<d18aa0ef>] usb_unbind_interface+0x7b/0x7d [usbcore]
Feb 17 13:04:35 Carlsberg [<c01fad16>] device_release_driver+0x64/0x66
Feb 17 13:04:35 Carlsberg [<d1981a2e>] destroy_scanner+0x4f/0xa4 [scanner]
Feb 17 13:04:35 Carlsberg [<c01b3510>] kobject_cleanup+0x98/0x9a
Feb 17 13:04:35 Carlsberg [<d18aa0ef>] usb_unbind_interface+0x7b/0x7d [usbcore]
Feb 17 13:04:35 Carlsberg [<c01fad16>] device_release_driver+0x64/0x66
Feb 17 13:04:35 Carlsberg [<c01fae3a>] bus_remove_device+0x55/0x96
Feb 17 13:04:35 Carlsberg [<c01f9ec4>] device_del+0x5d/0x9b
Feb 17 13:04:35 Carlsberg [<d18b0246>] usb_disable_device+0x71/0xac [usbcore]
Feb 17 13:04:35 Carlsberg [<d18aaac0>] usb_disconnect+0x9b/0xe8 [usbcore]
Feb 17 13:04:35 Carlsberg [<d18aab03>] usb_disconnect+0xde/0xe8 [usbcore]
Feb 17 13:04:35 Carlsberg [<d18aab03>] usb_disconnect+0xde/0xe8 [usbcore]
Feb 17 13:04:35 Carlsberg [<d18b2848>] usb_hcd_pci_remove+0x88/0x16a [usbcore]
Feb 17 13:04:35 Carlsberg [<c01bceef>] pci_device_remove+0x3b/0x3d
Feb 17 13:04:35 Carlsberg [<c01fad16>] device_release_driver+0x64/0x66
Feb 17 13:04:35 Carlsberg [<c01fad38>] driver_detach+0x20/0x2e
Feb 17 13:04:35 Carlsberg [<c01faf55>] bus_remove_driver+0x3d/0x75
Feb 17 13:04:35 Carlsberg [<c01fb2fc>] driver_unregister+0x13/0x28
Feb 17 13:04:35 Carlsberg [<c01bd090>] pci_unregister_driver+0x16/0x26
Feb 17 13:04:35 Carlsberg [<d1961c32>] uhci_hcd_cleanup+0xf/0x59 [uhci_hcd]
Feb 17 13:04:35 Carlsberg [<c0132d90>] sys_delete_module+0x13b/0x1b1
Feb 17 13:04:35 Carlsberg [<c0146300>] do_munmap+0x121/0x183
Feb 17 13:04:35 Carlsberg [<c010b1fb>] syscall_call+0x7/0xb

Dopo di questo messaggio non riesco a fare nient'altro, al di là del reset :cry: .
Spero in qualcuno di voi !!!
Ho cercato su bugzilla ma non ho trovato niente al riguardo, nel forum idem (anche se mi ricordavo qualcosa di simile non molto tempo fa, il fatto sta a ricordarsi in quale occasione :roll: )
_________________
Ciao Gentooaglia
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Feb 17, 2004 1:05 pm    Post subject: Re: hotplug e kernel 2.6 Reply with quote

bubble27 wrote:
Ciao Gechi mi sto imbattendo in questo problema che riscontro quando voglio fare un reboot, un poweroff oppure solamente uno stop di hotplug con il kernel 2.6.


E' un kernel Oops :(

Non c'é molto da fare (a meno che non vuoi mettere le mani nel codice del kernel) salvo segnalarlo. Dovresti però trovare la causa, a prima vista non gli piace che cerchi di scaricare i moduli dell'usb mentre lo scanner é collegato.

C'é qualche processo che usa lo scanner in quel momento (chessò un demone... non sono pratico di scanner)?
Hai provato a rimuovere i moduli uno per uno a mano per vedere il messaggio che da?
_________________
Ciao da me!
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Feb 17, 2004 1:07 pm    Post subject: Reply with quote

Dimenticavo: quale versione del kernel stai usando? Con qualche patch?
_________________
Ciao da me!
Back to top
View user's profile Send private message
emix
Veteran
Veteran


Joined: 30 Nov 2003
Posts: 1014

PostPosted: Tue Feb 17, 2004 1:11 pm    Post subject: Reply with quote

Stesso problema... mi capita col kernel 2.6.2 (col 2.6.0 nessun problema) solo quando ho lo scanner attaccato. Se stacco lo scanner nessun problema. Credo sia un bug.

Per il momento ho risolto cancellando il modulo dello scanner, che comunque è considerato deprecated.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Feb 17, 2004 1:21 pm    Post subject: Reply with quote

emi wrote:
Per il momento ho risolto cancellando il modulo dello scanner, che comunque è considerato deprecated.


Hai provato anche a rimuoverlo manualmente prima di dare l'halt?
_________________
Ciao da me!
Back to top
View user's profile Send private message
bubble27
Guru
Guru


Joined: 07 Aug 2003
Posts: 365
Location: Campobasso

PostPosted: Tue Feb 17, 2004 1:42 pm    Post subject: Re: hotplug e kernel 2.6 Reply with quote

randomaze wrote:
bubble27 wrote:
Ciao Gechi mi sto imbattendo in questo problema che riscontro quando voglio fare un reboot, un poweroff oppure solamente uno stop di hotplug con il kernel 2.6.


E' un kernel Oops :(

Non c'é molto da fare (a meno che non vuoi mettere le mani nel codice del kernel) salvo segnalarlo. Dovresti però trovare la causa, a prima vista non gli piace che cerchi di scaricare i moduli dell'usb mentre lo scanner é collegato.

C'é qualche processo che usa lo scanner in quel momento (chessò un demone... non sono pratico di scanner)?
Hai provato a rimuovere i moduli uno per uno a mano per vedere il messaggio che da?


Credo che hai beccato in pieno il problema.
Ecco cosa accada se rimuovo il modulo a mano!!!
Code:

Carlsberg root # rmmod scanner
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<d39880a7>]    Not tainted
EFLAGS: 00010296
EIP is at disconnect_scanner+0x2c/0x66 [scanner]
eax: ce2ffc80   ebx: ce2ffc94   ecx: d398807b   edx: cf404400
esi: 00000000   edi: ce370828   ebp: d398c3dc   esp: cbb49e78
ds: 007b   es: 007b   ss: 0068
Process rmmod (pid: 5442, threadinfo=cbb48000 task=ce17ecc0)
Stack: ce2ffc80 d398c458 ce2ffc80 d398c4c0 d38cc0ef ce2ffc80 ce2ffc80 ce2ffcc0
       ce2ffc94 d398c4e0 c01fbd16 ce2ffc94 ce2ffcc0 ce37083c ce370800 d3987a2e
       ce2ffc94 ce2ffc80 ce37083c d398c3ec 00000000 00000000 c01b4510 ce3                                                               7083c
              Call Trace:
               [<d38cc0ef>] usb_unbind_interface+0x7b/0x7d [usbcore]
               [<c01fbd16>] device_release_driver+0x64/0x66
               [<d3987a2e>] destroy_scanner+0x4f/0xa4 [scanner]
               [<c01b4510>] kobject_cleanup+0x98/0x9a
               [<d38cc0ef>] usb_unbind_interface+0x7b/0x7d [usbcore]
               [<c01fbd16>] device_release_driver+0x64/0x66
               [<c01fbd38>] driver_detach+0x20/0x2e
               [<c01fbf55>] bus_remove_driver+0x3d/0x75
               [<c01fc2fc>] driver_unregister+0x13/0x28
               [<d38cc1bd>] usb_deregister+0x31/0x3d [usbcore]
               [<d39881f7>] usb_scanner_exit+0xf/0x13 [scanner]
               [<c0133d90>] sys_delete_module+0x13b/0x1b1
               [<c0147325>] do_munmap+0x146/0x183
               [<c010b1fb>] syscall_call+0x7/0xb
Code: 80 7e 1e 00 75 27 85 f6 74 17 8d 46 3c 8b 5c 2                                                               4 08 8b 74 24
Segmentation fault

Adesso faccio qualche prova togliendolo del tutto e anche dicendo a hotplug di non caricare il modulo dello scanner !!!
_________________
Ciao Gentooaglia
Back to top
View user's profile Send private message
emix
Veteran
Veteran


Joined: 30 Nov 2003
Posts: 1014

PostPosted: Tue Feb 17, 2004 1:42 pm    Post subject: Reply with quote

randomaze wrote:
Hai provato anche a rimuoverlo manualmente prima di dare l'halt?

Si, e va in segmentation fault.
Back to top
View user's profile Send private message
emix
Veteran
Veteran


Joined: 30 Nov 2003
Posts: 1014

PostPosted: Tue Feb 17, 2004 1:48 pm    Post subject: Reply with quote

Nei changelog del kernel 2.6.3
Quote:
<trini@kernel.crashing.org>
[PATCH] USB: mark the scanner driver BROKEN

Greg, I think this now makes 2 distinct bugs in the scanner kernel
driver. Maybe it should be protected with a BROKEN:

<bunk@fs.tum.de>
[PATCH] USB: remove USB_SCANNER from the build

USB_SCANNER is obsolete, and it's now marked as BROKEN.

I there a good reason to keep it in the kernel?

<greg@kroah.com>
[PATCH] USB: remove scanner driver files.

Penso possa bastare...
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Feb 17, 2004 2:00 pm    Post subject: Reply with quote

emi wrote:
Nei changelog del kernel 2.6.3
Quote:
<trini@kernel.crashing.org>
[PATCH] USB: mark the scanner driver BROKEN

Greg, I think this now makes 2 distinct bugs in the scanner kernel
driver. Maybe it should be protected with a BROKEN:

<bunk@fs.tum.de>
[PATCH] USB: remove USB_SCANNER from the build

USB_SCANNER is obsolete, and it's now marked as BROKEN.

I there a good reason to keep it in the kernel?

<greg@kroah.com>
[PATCH] USB: remove scanner driver files.

Penso possa bastare...


Direi proprio di si.
_________________
Ciao da me!
Back to top
View user's profile Send private message
bubble27
Guru
Guru


Joined: 07 Aug 2003
Posts: 365
Location: Campobasso

PostPosted: Tue Feb 17, 2004 2:03 pm    Post subject: Reply with quote

Purtroppo anche senza il modulo dello scanner ricevo un OOPS simile..... :cry:
La cosa buona e che non mi blocca proprio tutto il sistema !!!
_________________
Ciao Gentooaglia
Back to top
View user's profile Send private message
-YoShi-
l33t
l33t


Joined: 26 Nov 2003
Posts: 684
Location: Besana Brianza - ItaLy -

PostPosted: Tue Feb 17, 2004 5:10 pm    Post subject: Reply with quote

Avevo anche io lo stesso problema quando cercavo di installare lo scanner
Ricordate?

Allora, e tuttora ho risolto rimuovendo hotplug :( Però così tutte le volte che devo usare qualcosa devo preventivamente collegarla al pc oppure collegare e riavviare, fortuna che non lo faccio spesso e che la stampante è sempre accesa..

Avevo provato sia con la 2.6 stabile che con la 2.6.1 e con tutte le versioni di hotplug che avevo in portage, ma niente da fare...
_________________
Io lo vedo tutti i giorni, un Re per vederlo deve uscire dal suo regno, e il Papa lo vede quando si spoglia. Chi è?
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