Re: Comtrol Rocketport UNIVERSAL PCI 32-port
- From: Vitaliy Skakun <vit.ska@xxxxxxxxx>
- Date: Thu, 26 Jan 2006 20:07:25 +0200
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@xxxxxxxxxxx>:
>
> 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@xxxxxxxxxxx> <>< http://www.FreeBSD.org/~jhb/
> "Power Users Use the Power to Serve" = http://www.FreeBSD.org
>
>
>
_______________________________________________freebsd-hackers@xxxxxxxxxxx mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- Comtrol Rocketport UNIVERSAL PCI 32-port
- From: Vitaliy Skakun
- Re: Comtrol Rocketport UNIVERSAL PCI 32-port
- From: John Baldwin
- Re: Comtrol Rocketport UNIVERSAL PCI 32-port
- From: Vitaliy Skakun
- Re: Comtrol Rocketport UNIVERSAL PCI 32-port
- From: John Baldwin
- Comtrol Rocketport UNIVERSAL PCI 32-port
- Prev by Date: Re: CPU/case/disk temperature sensors for Dell PowerEdge 2850
- Next by Date: Re: Comtrol Rocketport UNIVERSAL PCI 32-port
- Previous by thread: Re: Comtrol Rocketport UNIVERSAL PCI 32-port
- Next by thread: Re: Comtrol Rocketport UNIVERSAL PCI 32-port
- Index(es):
Relevant Pages
|
|