lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 18 Jan 2013 16:47:32 -0800
From:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To:	Arkadiusz Miskiewicz <a.miskiewicz@...il.com>
Cc:	linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
	Johan Hovold <jhovold@...il.com>,
	Peter Korsgaard <jacmet@...site.dk>,
	Alan Cox <alan@...ux.intel.com>,
	Preston Fick <preston.fick@...abs.com>
Subject: Re: 3.7.3, ttyUSB0 serial problem - devices stop working and only
 reboot helps (Inappropriate ioctl for device)

On Fri, Jan 18, 2013 at 11:28:43PM +0100, Arkadiusz Miskiewicz wrote:
> Hi.
> 
> Using 3.7.3 kernel and connecting two rs232 usb adapters, CP2102 and FT232RL, 
> one after disconnecting another.
> 
> After few cycles of reconnecting and using socat (below) I'm getting problems 
> accessing ttyUSB0:
> ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 
> 0x7fffb70c6ae0) = -1 ENOTTY (Inappropriate ioctl for device)
> 
> Unloading and reloading (by udev) modules ftdio_sio, cp210x, usbserial doesn't 
> help. I have to reboot to get ttyUSB0 working (regardless of which driver, 
> ftdio_sio or cp210x is handling ttyUSB0 - both stop working).
> 
> Any clues?

The kernel log shows the device getting removed a bunch and then coming
back, which implies electrical issues (flaky connection, low power,
etc.)  Are you really removing it and plugging it back in?  Or is it
doing it all by itself?

Can you try better cables?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ