I have a hard disk connected via a IDE/USB convertor. I was asked to look at the disk because of issues, and with a combination of tools (surprisingly mount and cp did most of what I needed!) have managed to recover most of his files (well the ones that matter anyway). However, I'm getting lots of the following in /var/log/messages: Nov 11 10:44:28 user-desktop kernel: [268615.430217] sd 10:0:0:0: [sdb] Unhandled sense code Nov 11 10:44:28 user-desktop kernel: [268615.430221] sd 10:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE Nov 11 10:44:28 user-desktop kernel: [268615.430225] sd 10:0:0:0: [sdb] Sense Key : Hardware Error [current] Nov 11 10:44:28 user-desktop kernel: [268615.430230] sd 10:0:0:0: [sdb] Add. Sense: No additional sense information Nov 11 10:44:28 user-desktop kernel: [268615.430234] sd 10:0:0:0: [sdb] CDB: Read(10): 28 00 01 00 95 a0 00 00 08 00 Nov 11 10:44:28 user-desktop kernel: [268615.430248] __ratelimit: 41 callbacks suppressed .. and I was just curious to learn what they were telling me about what was wrong with the drive? I've Googled for some of the key phrases but don't seem to get a clear picture. I've seen references to Sense Key etc before with problems in the past (often USB thumb drives) so I figured a little extra knowledge might be no bad thing! -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG
On 11 November 2010 13:35, Mark Rogers <mark@quarella.co.uk> wrote:
However, I'm getting lots of the following in /var/log/messages:
Nov 11 10:44:28 user-desktop kernel: [268615.430217] sd 10:0:0:0: [sdb] Unhandled sense code Nov 11 10:44:28 user-desktop kernel: [268615.430221] sd 10:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE Nov 11 10:44:28 user-desktop kernel: [268615.430225] sd 10:0:0:0: [sdb] Sense Key : Hardware Error [current] Nov 11 10:44:28 user-desktop kernel: [268615.430230] sd 10:0:0:0: [sdb] Add. Sense: No additional sense information Nov 11 10:44:28 user-desktop kernel: [268615.430234] sd 10:0:0:0: [sdb] CDB: Read(10): 28 00 01 00 95 a0 00 00 08 00 Nov 11 10:44:28 user-desktop kernel: [268615.430248] __ratelimit: 41 callbacks suppressed
How about the output of "smartctl -all /dev/sdb"? Tim.
On 11/11/10 13:46, Tim Green wrote:
How about the output of "smartctl -all /dev/sdb"?
"Device does not support SMART" (I assume that was --all) That's probably because it's going via USB? hdparm -i /dev/sdb also gives me nothing useful ("HDIO_DRIVE_CMD(identify) failed: Invalid exchange") -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG
On 11/11/10 13:56, Mark Rogers wrote:
On 11/11/10 13:46, Tim Green wrote:
How about the output of "smartctl -all /dev/sdb"?
"Device does not support SMART" (I assume that was --all)
That's probably because it's going via USB? hdparm -i /dev/sdb also gives me nothing useful ("HDIO_DRIVE_CMD(identify) failed: Invalid exchange")
No there are only about two USB mass storage chipsets that support passthrough of the smart commands, neither of which I can actually find built into a USB-SATA or USB-IDE converter. In fact I am so desperate for one for my own drive recovery purposes I am thinking of building my own around one of those chipsets. As to your question about the entries in messages. Those are basically saying there is a problem getting the data from that block device. In the event that you had a device that supported the full set of SCSI sense keys you would see some diagnostic information here, but really all you are getting is that a read event has failed.
Hi, Can anyone on-list recommend a SIP trunk provider? I'd like to be able to choose my number(s), and location, and not have to take out a mortgage to pay for the calls. Software this end is Asterisk. Cheers, Laurie. -- --------------------------------------------------------------------- Laurie Brown laurie@brownowl.com ---------------------------------------------------------------------
On Sat, 13 Nov 2010 11:54:05 +0000 Laurie Brown <laurie@brownowl.com> wrote:
Hi,
Can anyone on-list recommend a SIP trunk provider? I'd like to be able to choose my number(s), and location, and not have to take out a mortgage to pay for the calls. Software this end is Asterisk.
Cheers, Laurie.
Laurie I use sipgate.co.uk with a Linksys PAP2T (I used to use a Thomson router with SIP connectivity, but I swapped my router for a cisco a while back and then bought the Linksys SIP device). Sipgate offer UK geographical numbers (so you can be in Suffolk but have a London number if you choose). I pay them peanuts per year, and only for the cost of breaking out to the POTS. This URL http://www.sipgate.co.uk/faq/index.php?do=displayArticle&article=540&qw=aste... suggests that they support asterix. Mick -- --------------------------------------------------------------------- Mail: mick@rlogin.net blog: baldric.net fingerprint: E8D2 8882 F7AE DEB7 B2AA 9407 B9EA 82CC 1092 7423 ---------------------------------------------------------------------
I'm not 100% sure, but I think this is something http://www.aaisp.net.uk could provide. Although I don't use them for such a service (hence not knowing for sure) I hear v good thing about them. -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...?
Laurie You can use BT if you want ... http://business.bt.com/broadband-and-internet/internet-communication/broadba... .. if you have their phone then its about free for the "rental" and if you have evening/weekend calls then this transfers to the VoIP line too. I have used the sipgate too. Keith ----------------------------------------
Date: Sat, 13 Nov 2010 11:54:05 +0000 From: laurie@brownowl.com CC: main@lists.alug.org.uk Subject: [ALUG] SIP trunks
Hi,
Can anyone on-list recommend a SIP trunk provider? I'd like to be able to choose my number(s), and location, and not have to take out a mortgage to pay for the calls. Software this end is Asterisk.
Cheers, Laurie. -- --------------------------------------------------------------------- Laurie Brown laurie@brownowl.com ---------------------------------------------------------------------
_______________________________________________ main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
I use gradwell.net, they offer IAX2 trunks which can be a lot easier to manage than SIP. I use trixbox/asterisk in a London office and a Norfolk office, this enables free calls between the two offices and then both offices can dial out via the one IAX2 trunk provided by Gradwell. Cheers, Nick * * On 13/11/2010 11:54, Laurie Brown wrote:
Hi,
Can anyone on-list recommend a SIP trunk provider? I'd like to be able to choose my number(s), and location, and not have to take out a mortgage to pay for the calls. Software this end is Asterisk.
Cheers, Laurie.
On 12/11/10 19:14, Wayne Stallwood wrote:
No there are only about two USB mass storage chipsets that support passthrough of the smart commands, neither of which I can actually find built into a USB-SATA or USB-IDE converter. In fact I am so desperate for one for my own drive recovery purposes I am thinking of building my own around one of those chipsets.
I agree that it does seem that all USB-SATA/IDE devices seem to be built around the lowest cost components with little regard to serious users. How does eSATA compare?
As to your question about the entries in messages. Those are basically saying there is a problem getting the data from that block device. In the event that you had a device that supported the full set of SCSI sense keys you would see some diagnostic information here, but really all you are getting is that a read event has failed.
Fair enough. A read error pretty much agrees with what I already know! (Using myrescue to create an image, the disk has only just finished copying after well over a week; there were only ~150 bad blocks out of 48840246, which is a 200G disk. I'm surprised it took that long given that most of the disk read just fine.) -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG
On 19/11/10 09:38, Mark Rogers wrote:
I agree that it does seem that all USB-SATA/IDE devices seem to be built around the lowest cost components with little regard to serious users.
How does eSATA compare?
Well eSATA devices are just SATA devices with a different connector so as long as your SATA chipset supports hotplug in Linux then you get all the functionality of your internal disks with the hotplug of USB and without the CPU bound (and actually quite slow in respect to modern drives) transfers of USB mass storage. The only real inconvenience is not everything you might want to plug your disk into having eSATA ports and the connector not carrying power (even for laptop disks as with USB)
participants (8)
-
James Bensley -
keithjamieson@hotmail.co.uk -
Laurie Brown -
Mark Rogers -
mick -
Nick Atkins -
Tim Green -
Wayne Stallwood