Date: Thu, 26 Jan 2006 20:07:25 +0200 From: Vitaliy Skakun <vit.ska@gmail.com> To: freebsd-hackers@freebsd.org Subject: Re: Comtrol Rocketport UNIVERSAL PCI 32-port Message-ID: <806128ad0601261007n29b19bb3y@mail.gmail.com> In-Reply-To: <200601261133.39848.jhb@freebsd.org> References: <806128ad0601250608u67aae744u@mail.gmail.com> <200601250956.35818.jhb@freebsd.org> <806128ad0601260254u42dfd927k@mail.gmail.com> <200601261133.39848.jhb@freebsd.org>
index | next in thread | previous in thread | raw e-mail
tried this patch echo "~WC" > /dev/cuaR00 worked ok when I tried this a lot of times quickly, but when I try to send larger files, it panics again : root@pl2:~ [0]# cat 1.txt > /dev/cuaR00 root@pl2:~ [0]# cat 1.txt > /dev/cuaR00 ^^^^ after this the same panic occured the size of file is 194 bytes. same thing occured when I sent only once the file of size=1164 after reboot: root@pl2:~ [0]# grep panic /var/log/messages Jan 26 17:38:49 pl2 savecore: reboot after panic: device_unbusy: called for non-busy device rp0 also noticed the following : when trying root@pl2:~ [0]# cat /root/1.txt|cu -lcuaR00 Connected ~. ~.^C ^^^ cu hang root@pl2:~ [1]# ps xau|grep cu root 733 0.0 0.0 1284 972 p0- I 5:55PM 0:00.00 cu -lcuaR00 root@pl2:~ [0]# killall cu And cu is killed, with no panic. Cheers Vit 2006/1/26, John Baldwin <jhb@freebsd.org>: > > On Thursday 26 January 2006 05:54, Vitaliy Skakun wrote: > > Hi everybody! > > > > One problem arised: > > > > when doing in the shell > > echo "~WS" > /dev/cuaR00 > > > > for several times as quick as I can, I get panic with the following > > message: panic: device_unbusy: called for non-busy device rp0 > > > > same thing when trying to send data to /dev/cuaR00 via JDK File streams > ... > > > > :((( > > > > (Some kind of barcode printers are attached to this multiport card) > > > > Any help will be kindly accepted. > > > > Cheers > > Vit > > Try the attached patch. tty's don't use D_TRACKCLOSE but rp(4) was > expecting > that rpclose() was called on every close, not just the last close. > > -- > John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve" = http://www.FreeBSD.org > > >help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?806128ad0601261007n29b19bb3y>
