Re: [Bugme-new] [Bug 13675] New: sierra_close sometimes crashes upon device removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 6 Jul 2009, Peter Naulls wrote:

> Ok, using that patch against 2.6.31-rc2, but look at this after reboot:
> 
> 
> sierra 1-3:1.0: Sierra USB modem converter detected
> usb 1-3: Sierra USB modem converter now attached to ttyUSB0
> sierra 1-3:1.1: Sierra USB modem converter detected
> usb 1-3: Sierra USB modem converter now attached to ttyUSB1
> sierra 1-3:1.2: Sierra USB modem converter detected
> usb 1-3: Sierra USB modem converter now attached to ttyUSB2
> sierra 1-3:1.3: Sierra USB modem converter detected
> usb 1-3: Sierra USB modem converter now attached to ttyUSB3
> sierra 1-3:1.4: Sierra USB modem converter detected
> usb 1-3: Sierra USB modem converter now attached to ttyUSB4
> sierra 1-3:1.5: Sierra USB modem converter detected
> usb 1-3: Sierra USB modem converter now attached to ttyUSB5
> sierra 1-3:1.6: Sierra USB modem converter detected
> usb 1-3: Sierra USB modem converter now attached to ttyUSB6
> 
> [ Unplug, devices vanish ]
> 
> sierra 1-3:1.0: Sierra USB modem converter detected
> usb 1-3: Sierra USB modem converter now attached to ttyUSB0
> sierra 1-3:1.1: Sierra USB modem converter detected
> usb 1-3: Sierra USB modem converter now attached to ttyUSB1
> sierra 1-3:1.2: Sierra USB modem converter detected
> usb 1-3: Sierra USB modem converter now attached to ttyUSB2
> sierra 1-3:1.3: Sierra USB modem converter detected
> usb 1-3: Sierra USB modem converter now attached to ttyUSB4
> sierra 1-3:1.4: Sierra USB modem converter detected
> usb 1-3: Sierra USB modem converter now attached to ttyUSB5
> sierra 1-3:1.5: Sierra USB modem converter detected
> usb 1-3: Sierra USB modem converter now attached to ttyUSB6
> sierra 1-3:1.6: Sierra USB modem converter detected
> usb 1-3: Sierra USB modem converter now attached to ttyUSB7
> 
> ttyUSB3 is now missing, which was the device I was trying to use.

This is correct behavior, isn't it?  Your program is still running and
still holding ttyUSB3 open, so that same minor number can't be used for
a new device node.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux