Le 06.02.2005 09:18, Peter Osterlund a écrit : [snip] > > Anyway, the problem is that the add-struct-request-end_io-callback > patch forgot to update pktcdvd.c. This patch fixes it. It should > probably be merged into the add-struct-request-end_io-callback patch, > because that patch already fixes up other struct request users. > > Signed-off-by: Peter Osterlund > --- > > linux-petero/drivers/block/pktcdvd.c | 1 + > 1 files changed, 1 insertion(+) > > diff -puN drivers/block/pktcdvd.c~pktcdvd-endio-fix drivers/block/pktcdvd.c > --- linux/drivers/block/pktcdvd.c~pktcdvd-endio-fix 2005-02-06 08:59:16.000000000 +0100 > +++ linux-petero/drivers/block/pktcdvd.c 2005-02-06 09:01:22.000000000 +0100 > @@ -375,6 +375,7 @@ static int pkt_generic_packet(struct pkt > rq->ref_count++; > rq->flags |= REQ_NOMERGE; > rq->waiting = &wait; > + rq->end_io = blk_end_sync_rq; > elv_add_request(q, rq, ELEVATOR_INSERT_BACK, 1); > generic_unplug_device(q); > wait_for_completion(&wait); > _ > Ok, this patch fixed the problem. I'm able to mount the CDRW and write some data. Thank you. -- laurent