Re: Comtrol Rocketport UNIVERSAL PCI 32-port



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"


Relevant Pages

  • Re: panic: getnewvnode: free vnode isnt
    ... >> Could people seeing this panic try the following patch? ... >> callers of vcleanensure that the vnode is not on the free list, ... > The patch hasn't stopped the panics, but I've tracked down a series of ... I've just started using USB keyboard/mouse and a KVM. ...
    (freebsd-current)
  • Re: ZFS patches.
    ... I would like to note that the patch has been working for me ... I experienced a couple panics yesterday while working with some video files ... This system is currently running ZFS filesystem version 3. ... %zpool upgrade ...
    (freebsd-current)
  • [PATCH] Dump partition list on inability to mount /
    ... The attached patch dumps a list of partitions (in a similar ... One of the annoying things about the fail to mount / panics is that you ... can no longer scroll up to find out what errors came from device driver ...
    (Linux-Kernel)
  • Re: panic: System call lstat returning with 1 locks held
    ... >>> I'm committing my WITNESS patch now to perforce so that other people ... >> I use it to get more debug info on my panics? ... I disabled the mounting of the NTFS filesystems. ... Rebuilt/installed kernel and rebooted. ...
    (freebsd-current)
  • Re: usb-serial ipaq kernel problem
    ... |> I know exits in the write URB callback if the URB got an error. ... | The machine is now running with this patch (and my ipaq_open patch, ... just after the control message has succeeded. ... panics as soon as an ipaq reboots. ...
    (Linux-Kernel)