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:	Sun, 5 Apr 2009 19:23:57 -0700
From:	Greg KH <greg@...ah.com>
To:	Jon Grant <jg@...k.org>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: USB disconnect, address 6

On Sun, Apr 05, 2009 at 07:04:45PM +0100, Jon Grant wrote:
> Hello
> 
> Would there be a way to propagate the device name back from the scsi
> system to the usb so it can name the device which is disconnected in
> the output? This saves needing to go hunting to find what the
> disconnected device was.

What do you mean, all the info needed is already in the messages below,
what more do you need?

> Apr  5 18:56:33 data-laptop kernel: [65426.948048] usb 5-1: new high speed USB device using ehci_hcd and address 6
> Apr  5 18:56:33 data-laptop kernel: [65427.132049] usb 5-1: configuration #1 chosen from 1 choice
> Apr  5 18:56:33 data-laptop kernel: [65427.152066] scsi4 : SCSI emulation for USB Mass Storage devices
> Apr  5 18:56:38 data-laptop kernel: [65432.153182] scsi 4:0:0:0: Direct-Access     Samsung  Mighty Drive     PMAP PQ: 0 ANSI: 0 CCS
> Apr  5 18:56:38 data-laptop kernel: [65432.454122] sd 4:0:0:0: [sdc] 2014208 512-byte hardware sectors (1031 MB)
> Apr  5 18:56:38 data-laptop kernel: [65432.454867] sd 4:0:0:0: [sdc] Write Protect is off
> Apr  5 18:56:38 data-laptop kernel: [65432.458744] sd 4:0:0:0: [sdc] 2014208 512-byte hardware sectors (1031 MB)
> Apr  5 18:56:38 data-laptop kernel: [65432.459866] sd 4:0:0:0: [sdc] Write Protect is off
> Apr  5 18:56:38 data-laptop kernel: [65432.461202]  sdc: sdc1
> Apr  5 18:56:38 data-laptop kernel: [65432.462224] sd 4:0:0:0: [sdc] Attached SCSI removable disk
> Apr  5 18:56:38 data-laptop kernel: [65432.462547] sd 4:0:0:0: Attached scsi generic sg2 type 0
> Apr  5 18:56:58 data-laptop kernel: [65451.669308] usb 5-1: USB disconnect, address 6


confused,

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