23 Jan
2005
23 Jan
'05
12:20
Hi Attila! Saturday 22, at 04:59:49 PM you wrote: > Hi, > > I am playinh with packet writing again since it is included in the main > 2.6 tree, and having lots of problems. > > First, this freezing umount thingy also hits me, however emergency sync > seems to be working. Also could be relvante information that after > trying to umount the dvd+rw, I cannot umount _anything_ even a hdd > partition mounted just to back it up to dvd. > > I'm runing 2.6.11-pre1, pktcdvd 0.2.0a > > Any ideas? Looks like you use kernel with swsusp2 patches, because I got this problem too - cannot mount/umount/tear down pkt device. Googling gives me solution - inline patch from Peter Osterlund. --- a/drivers/block/pktcdvd.c~ 2005-01-23 14:22:56 +0300 +++ a/drivers/block/pktcdvd.c 2005-01-23 15:08:51 +0300 @@ -2364,7 +2364,7 @@ static int pkt_new_dev(struct pktcdvd_de pkt_init_queue(pd); atomic_set(&pd->cdrw.pending_bios, 0); - pd->cdrw.thread = kthread_run(kcdrwd, pd, "%s", pd->name); + pd->cdrw.thread = kthread_run(kcdrwd, pd, PF_SYNCTHREAD, "%s", pd->name); if (IS_ERR(pd->cdrw.thread)) { printk("pktcdvd: can't start kernel thread\n"); ret = -ENOMEM; -- WBR, Konstantin chat with ==>ICQ: 109916175 Lepikhov, speak to ==>JID: lakostis@jabber.org aka L.A. Kostis write to ==>mailto:lakostis@pisem.net.nospam ...The information is like the bank... (c) EC8OR