Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[DEVICE - RISOLTO] Problema con un masterizzatore DVD su USB
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
kender_m
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2004
Posts: 78

PostPosted: Tue Jun 15, 2004 3:44 pm    Post subject: [DEVICE - RISOLTO] Problema con un masterizzatore DVD su USB Reply with quote

Sto cercando di usare un masterizzatore DVD su USB come dispositivo di backup ma sto incontrando qualche difficoltà.. :cry:
Il masterizzatore è un SONY DRU-700A (che sarebbe la versione interna) montato su un cassettino USB e sto usando un kernel 2.6.6 con il supporto udf modulare mentre il supporto per le periferiche SCSI è dentro il kernel

Il problema mi insorge quando cerco di masterizzare file molto grossi (dell'ordine di 1 Gb - fino a 50 Mb va senza problemi, nell'intervallo 50 - 1000 non ho provato), in pratica è come se s'incasinasse il trasferimento dati...

Questo è il primo messaggio di errore che mi compare nel log

Code:

Jun 15 16:26:41 vega scsi: Device offlined - not ready after error recovery: host 0 channel 0 id 0 lun 0
Jun 15 16:26:41 vega SCSI error : <0 0 0 0> return code = 0x50000
Jun 15 16:26:41 vega scsi0 (0:0): rejecting I/O to offline device
Jun 15 16:26:41 vega scsi0 (0:0): rejecting I/O to offline device

ed a questo punto seguono migliaia di righe con scsi0 (0:0): rejecting I/O to offline device e la masterizzazione risulta inchiodata...
inoltre provando a "blankarlo" come suggerisce il man di growisofs
Code:

bash-2.05b# growisofs -dvd-compat -speed=2 -Z /dev/scd0=/dev/zero
Executing 'builtin_dd if=/dev/zero of=/dev/scd0 obs=32k seek=0'
/dev/scd0: "Current Write Speed" is 2.4x1385KBps.
  15663104/4700372992 ( 0.3%) @3.3x, remaining 29:54
  26509312/4700372992 ( 0.6%) @2.3x, remaining 26:26
  37388288/4700372992 ( 0.8%) @2.3x, remaining 24:56
  48234496/4700372992 ( 1.0%) @2.3x, remaining 25:43
  59113472/4700372992 ( 1.3%) @2.3x, remaining 24:51
  69992448/4700372992 ( 1.5%) @2.3x, remaining 24:15
  80838656/4700372992 ( 1.7%) @2.3x, remaining 24:45
  91717632/4700372992 ( 2.0%) @2.3x, remaining 24:17
 102596608/4700372992 ( 2.2%) @2.3x, remaining 23:54
 113442816/4700372992 ( 2.4%) @2.3x, remaining 24:15
 124321792/4700372992 ( 2.6%) @2.3x, remaining 23:55
 135168000/4700372992 ( 2.9%) @2.3x, remaining 23:38
 146046976/4700372992 ( 3.1%) @2.3x, remaining 23:54
 156925952/4700372992 ( 3.3%) @2.3x, remaining 23:38
 167804928/4700372992 ( 3.6%) @2.3x, remaining 23:24
 178683904/4700372992 ( 3.8%) @2.3x, remaining 23:37
 189562880/4700372992 ( 4.0%) @2.3x, remaining 23:23
 200409088/4700372992 ( 4.3%) @2.3x, remaining 23:12
 211288064/4700372992 ( 4.5%) @2.3x, remaining 23:22
 222167040/4700372992 ( 4.7%) @2.3x, remaining 23:10
 233046016/4700372992 ( 5.0%) @2.3x, remaining 23:00
 243924992/4700372992 ( 5.2%) @2.3x, remaining 23:08
 254803968/4700372992 ( 5.4%) @2.3x, remaining 22:58
 265650176/4700372992 ( 5.7%) @2.3x, remaining 22:48
 276529152/4700372992 ( 5.9%) @2.3x, remaining 22:55
 287408128/4700372992 ( 6.1%) @2.3x, remaining 22:46
 298287104/4700372992 ( 6.3%) @2.3x, remaining 22:37
 309166080/4700372992 ( 6.6%) @2.3x, remaining 22:43
 320045056/4700372992 ( 6.8%) @2.3x, remaining 22:34
 330924032/4700372992 ( 7.0%) @2.3x, remaining 22:26
 341803008/4700372992 ( 7.3%) @2.3x, remaining 22:31
 352681984/4700372992 ( 7.5%) @2.3x, remaining 22:23
 363560960/4700372992 ( 7.7%) @2.3x, remaining 22:16
 374439936/4700372992 ( 8.0%) @2.3x, remaining 22:20
 385318912/4700372992 ( 8.2%) @2.3x, remaining 22:12
 396197888/4700372992 ( 8.4%) @2.3x, remaining 22:05
 404488192/4700372992 ( 8.6%) @1.8x, remaining 22:18
 404488192/4700372992 ( 8.6%) @0.0x, remaining 22:50
 404488192/4700372992 ( 8.6%) @0.0x, remaining 23:21
 404488192/4700372992 ( 8.6%) @0.0x, remaining 24:04
.
.
.
 404488192/4700372992 ( 8.6%) @0.0x, remaining 44:04
 404488192/4700372992 ( 8.6%) @0.0x, remaining 44:36
 846626816/4700372992 (18.0%) @93.5x, remaining 19:25
2757263360/4700372992 (58.7%) @404.1x, remaining 3:02
4667932672/4700372992 (99.3%) @404.1x, remaining 0:01
6815350784/4700372992 (145.0%) @454.2x, remaining -1:-22
8723070976/4700372992 (185.6%) @403.5x, remaining -2:-4
10635640832/4700372992 (226.3%) @404.6x, remaining -2:-31
12606472192/4700372992 (268.2%) @416.9x, remaining -2:-53
14512521216/4700372992 (308.8%) @403.2x, remaining -3:-8
16426434560/4700372992 (349.5%) @404.8x, remaining -3:-21
18326945792/4700372992 (389.9%) @402.0x, remaining -3:-32
20242989056/4700372992 (430.7%) @405.3x, remaining -3:-41
22365208576/4700372992 (475.8%) @448.9x, remaining -3:-50
24270077952/4700372992 (516.3%) @402.9x, remaining -3:-58
26184744960/4700372992 (557.1%) @405.0x, remaining -4:-5
28096200704/4700372992 (597.7%) @404.3x, remaining -4:-11
30413619200/4700372992 (647.0%) @490.2x, remaining -4:-18
32326909952/4700372992 (687.8%) @404.7x, remaining -4:-24
34228961280/4700372992 (728.2%) @402.3x, remaining -4:-29
36125966336/4700372992 (768.6%) @401.3x, remaining -4:-34
38038732800/4700372992 (809.3%) @404.6x, remaining -4:-39
40126152704/4700372992 (853.7%) @441.5x, remaining -4:-44
42027548672/4700372992 (894.1%) @402.2x, remaining -4:-49
44016697344/4700372992 (936.5%) @420.8x, remaining -4:-53
45955645440/4700372992 (977.7%) @410.1x, remaining -4:-58
47859400704/4700372992 (1018.2%) @402.7x, remaining -5:-3
49822236672/4700372992 (1060.0%) @415.2x, remaining -5:-7
51866107904/4700372992 (1103.4%) @432.3x, remaining -5:-11
53775663104/4700372992 (1144.1%) @403.9x, remaining -5:-15
55661166592/4700372992 (1184.2%) @398.8x, remaining -5:-19
57568428032/4700372992 (1224.8%) @403.4x, remaining -5:-23
59464220672/4700372992 (1265.1%) @401.0x, remaining -5:-27
61363093504/4700372992 (1305.5%) @401.7x, remaining -5:-31
63270289408/4700372992 (1346.1%) @403.4x, remaining -5:-35
65169555456/4700372992 (1386.5%) @401.7x, remaining -5:-39
67075702784/4700372992 (1427.0%) @403.2x, remaining -5:-43
68988731392/4700372992 (1467.7%) @404.6x, remaining -5:-46
70889242624/4700372992 (1508.2%) @402.0x, remaining -5:-51
72865611776/4700372992 (1550.2%) @418.0x, remaining -5:-54
*
/dev/scd0: flushing cache
/dev/scd0: writing lead-out
:-( unable to reload tray: No such device or address

* = sono io che per disperazione dò ^C oggi a pranzo è stato un'ora e mezza in questo "stato"

Secondo voi da cosa è dovuto questo problema? e sopratutto, come potrei risolverlo?
(domani vedrò se è possibile almeno provare a metterlo, provvisoriamente, su uno slot PCI interno)


Last edited by kender_m on Mon Jun 21, 2004 4:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
kender_m
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2004
Posts: 78

PostPosted: Mon Jun 21, 2004 7:32 am    Post subject: Reply with quote

Visto che ancora non sono riuscito a risolvere il problema :( ... uppo il topic ;)
Back to top
View user's profile Send private message
motaboy
Retired Dev
Retired Dev


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Mon Jun 21, 2004 8:31 am    Post subject: Reply with quote

Questo probabilmente è un problema con l´usb-storage, ci sono post simili al tuo sulla mailing-list dell-usb-devel e usb-user.

1) Prova col 2.6.7 e col 2.6.7-mm1.

2) Curiosità, per caso il chipset è un genesis ?

Fammi sapere, altrimenti posta il tuo problema, nei dettagli come richiesto nella faq del sito dell'usb.
_________________
...
Back to top
View user's profile Send private message
kender_m
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2004
Posts: 78

PostPosted: Mon Jun 21, 2004 10:34 am    Post subject: Reply with quote

Dunque...
1) ho messo il kernel gentoo-dev-sources-2.6.7 ed ho provato il masterizzatore sia internamente che su usb...
interno va che è una meraviglia...
su usb sempre lo stesso problema.. inoltre se lo stacco e lo riattacco questo è il messaggio che mi compare su /var/log/messages:

Code:

Jun 21 12:16:51 vega usb 1-5: new high speed USB device using address 3
Jun 21 12:16:51 vega kmem_cache_create: duplicate cache scsi_cmd_cache
Jun 21 12:16:51 vega ------------[ cut here ]------------
Jun 21 12:16:51 vega kernel BUG at mm/slab.c:1392!
Jun 21 12:16:51 vega invalid operand: 0000 [#1]
Jun 21 12:16:51 vega Modules linked in:
Jun 21 12:16:51 vega CPU:    0
Jun 21 12:16:51 vega EIP:    0060:[<c0135983>]    Not tainted
Jun 21 12:16:51 vega EFLAGS: 00010202   (2.6.7-2.6.7)
Jun 21 12:16:51 vega EIP is at kmem_cache_create+0x3bb/0x547
Jun 21 12:16:51 vega eax: 00000032   ebx: c15b23f0   ecx: c0497758   edx: c03c6478
Jun 21 12:16:51 vega esi: c0397d34   edi: c0397d34   ebp: c15b2300   esp: c15e9d58
Jun 21 12:16:51 vega ds: 007b   es: 007b   ss: 0068
Jun 21 12:16:51 vega Process khubd (pid: 23, threadinfo=c15e9000 task=dfe15130)
Jun 21 12:16:51 vega Stack: c037eef8 c0397d25 00000080 00002000 c15e9d78 c15b233c ffffffff ffffff80
Jun 21 12:16:51 vega 00000080 dfe1b200 c040faa0 dfe1b20c c040fac8 c02a1d85 c0397d25 00000180
Jun 21 12:16:51 vega 00000080 00002000 00000000 00000000 000001d8 dfe1b200 dfe1b3d8 c04120c0
Jun 21 12:16:51 vega Call Trace:
Jun 21 12:16:51 vega [<c02a1d85>] scsi_setup_command_freelist+0x74/0xfc
Jun 21 12:16:51 vega [<c02a2c20>] scsi_host_alloc+0x1a8/0x2a9
Jun 21 12:16:51 vega [<c0113e6f>] default_wake_function+0x0/0x12
Jun 21 12:16:51 vega [<c02ddb6f>] usb_stor_acquire_resources+0xac/0x107
Jun 21 12:16:51 vega [<c02dde3f>] storage_probe+0xee/0x16f
Jun 21 12:16:51 vega [<c02c39e8>] usb_probe_interface+0x5a/0x60
Jun 21 12:16:51 vega [<c026e4e1>] bus_match+0x3f/0x6a
Jun 21 12:16:51 vega [<c026e54d>] device_attach+0x41/0x91
Jun 21 12:16:51 vega [<c026e70c>] bus_add_device+0x5b/0x9f
Jun 21 12:16:51 vega [<c026d744>] device_add+0xa1/0x120
Jun 21 12:16:51 vega [<c02c9dd0>] usb_set_configuration+0x2c4/0x41c
Jun 21 12:16:51 vega [<c02c4830>] usb_new_device+0x9f/0x120
Jun 21 12:16:51 vega [<c02c664d>] hub_port_connect_change+0x170/0x330
Jun 21 12:16:51 vega [<c02c6aab>] hub_events+0x29e/0x2f1
Jun 21 12:16:51 vega [<c02c6b2b>] hub_thread+0x2d/0xe4
Jun 21 12:16:51 vega [<c0113e6f>] default_wake_function+0x0/0x12
Jun 21 12:16:51 vega [<c02c6afe>] hub_thread+0x0/0xe4
Jun 21 12:16:51 vega [<c010225d>] kernel_thread_helper+0x5/0xb
Jun 21 12:16:51 vega
Jun 21 12:16:51 vega Code: 0f 0b 70 05 8d e8 37 c0 8b 0b e9 63 ff ff ff 8b 47 34 c7 04


qual'è l'indirizzo dei forum di sviluppo? così provo a darci un'occhiata ed eventualmente posto il postabile ;)
Il kernel 2.6.7-mm1 non è mascherato? (visto che questo Pc una volta sistemato dovrebbe fare da server preferirei evitare di metterci su qualcosa di non completamente testato, per quanto abbia letto che in alcuni casi i pacchetti masked sono perfettamente stabili..)

2) il chipset è intel
Back to top
View user's profile Send private message
motaboy
Retired Dev
Retired Dev


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Mon Jun 21, 2004 10:45 am    Post subject: Reply with quote

1) ti ritorna un oops e quindi c'é qualche problema.

Non é un forum ma una mailing list. per info vai su

http://linux-usb.org

leggiti le faq e posta sulla usb-devel TUTTE le informazioni richieste. sono tutte persone molto preparate che mi hanno giá risolto vari problemi.

2) Io intendevo il chipset dello scatolotto USB, non il chipset della scheda madre.

Te lo chiedo perché visto che seguo l'usb-devel ci sono vari problemi simili al tuo con questi chipsets e proprio adesso sembra che abbiano trovato una soluzione.
_________________
...
Back to top
View user's profile Send private message
kender_m
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2004
Posts: 78

PostPosted: Mon Jun 21, 2004 12:39 pm    Post subject: Reply with quote

motaboy wrote:
1) ti ritorna un oops e quindi c'é qualche problema.


si.. a quel punto non mi riconosce più lo scatolotto... nemmeno ricollegandolo o spegnendolo...

motaboy wrote:
Non é un forum ma una mailing list. per info vai su

http://linux-usb.org

leggiti le faq e posta sulla usb-devel TUTTE le informazioni richieste. sono tutte persone molto preparate che mi hanno giá risolto vari problemi.


interessante... ho provato a fare il cat di /proc/bus/usb/devices e non dava segni di vita..
adesso che ho riavviato il pc per fare lsusb dava qualcosa... a questo punto suppongo che incasini proprio il controller usb...

motaboy wrote:
2) Io intendevo il chipset dello scatolotto USB, non il chipset della scheda madre.

Te lo chiedo perché visto che seguo l'usb-devel ci sono vari problemi simili al tuo con questi chipsets e proprio adesso sembra che abbiano trovato una soluzione.


Ehmmm :oops: mi sembrava una domanda strana...
in ogni caso adesso ho potuto controllare, ha un chipset genesys..
mi accingo a cercare tutte le informazioni da postare sulla ML ;)

grazie mille!
Back to top
View user's profile Send private message
motaboy
Retired Dev
Retired Dev


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Mon Jun 21, 2004 12:58 pm    Post subject: Reply with quote

aaaaaa il bastardone genesys.

Un tipo qualche giorno fa ha detto che ha risolto il problema attivando il debug dell'usb storage. e poi é andato, quindi stanno pensando a problemi di timing e Alan Stern ha fornito una patch.

I 2 thread dovrebbero essere questi:

http://marc.theaimsgroup.com/?l=linux-usb-devel&m=108747830711153&w=2

http://marc.theaimsgroup.com/?l=linux-usb-devel&m=108757416611420&w=2
_________________
...
Back to top
View user's profile Send private message
kender_m
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2004
Posts: 78

PostPosted: Tue Jun 22, 2004 8:43 am    Post subject: Reply with quote

Finalmente sono riuscito a far funzionare lo scatolotto USB.. :D

Dunque sto usando attualmente il kernel gentoo-dev-sources-2.6.7-r3 ed ho "patchato" a mano il file /drivers/usb/storage/usb.c nel modo seguente:

Code:

--- 1.119/drivers/usb/storage/usb.c     Sun Jun 13 16:09:07 2004
+++ edited/drivers/usb/storage/usb.c    Mon Jun 21 10:51:41 2004
@@ -359,6 +359,7 @@
                /* we've got a command, let's do it! */
                else {
                        US_DEBUG(usb_stor_show_command(us->srb));
+                       udelay(300);
                        us->proto_handler(us->srb, us);
                }


sto ancora facendo dei test per vedere se sia necessario inserire nel kernel l'opzione usb storage verbose debug o meno..

un ringraziamento particolare a motaboy per avermi indicato la via :D
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