niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » hardware
Does an USB microphone work on Linux?
Post new topic   Reply to topic Page 25 of 27 [395 Posts] View previous topic :: View next topic
Goto page:  Previous  1, 2, 3, ..., 23, 24, 25, 26, 27 Next
Author Message
void
*nix forums beginner


Joined: 02 Mar 2005
Posts: 7

PostPosted: Tue May 23, 2006 4:40 pm    Post subject: Re: How to run smartctl with a 3ware controller? Reply with quote

Bruce Allen wrote:
Quote:
On Linux, smartmontools supports SATA drives behind 3ware controllers,
and has supported them for several years.

My drives are PATA.


Quote:
I think the problem
experienced by the person who started this thead can probably be fixed
by replacing the SCSI device /dev/sdb by the character device
/dev/twe0. More recent versions of smartmontools give better warnings
about this.

Hence something like:

smartctl -d 3ware,1 -a /dev/twe0

OK, I can try that. Although I must admit after reading Michael's post, I'm a little afraid to try anything again!


Quote:
(You may need /dev/twa0 on some 3ware controllers. You change the '0'
to a different number to reference different controllers.)

The twe0 is for 6000, 7000, or 8000 series 3ware controllers, and the twa0 is for 9000 series controllers.
Back to top
dnoyeB
*nix forums beginner


Joined: 27 Mar 2006
Posts: 31

PostPosted: Tue May 23, 2006 7:37 pm    Post subject: Re: How to run smartctl with a 3ware controller? Reply with quote

void wrote:
Quote:
The Windows version of smartctl doesn't support 3ware controllers, so I'm trying to use the KNOPPIX cd to run smartctl.

I tried to run the following command:

smartctl -a -d 3ware,1 /dev/sdb


but here's the output I got:

smartctl version 5.32 Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: [No Information Found]
Serial Number: [No Information Found]
Firmware Version: [No Information Found]
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 1
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Mon May 22 05:08:50 2006 EDT
SMART is only available in ATA Version 3 Revision 3 or greater.
We will try to proceed in spite of this.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.


Is there something wrong with the command I'm using? Here's the output from dmesg, which makes me think /dev/sdb is the correct device to reference:

3ware Storage Controller device driver for Linux v1.26.02.001.
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:11.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
scsi1 : 3ware Storage Controller
3w-xxxx: scsi1: Found a 3ware Storage Controller at 0xd800, IRQ: 11.
Vendor: 3ware Model: Logical Disk 0 Rev: 1.2
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sdb: 234491008 512-byte hdwr sectors (120059 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 234491008 512-byte hdwr sectors (120059 MB)
SCSI device sdb: drive cache: write back
sdb: sdb1 sdb2 < sdb5
Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0


read the smartctl files. they give specific 3ware examples. for mine i
have (note: mine is sda)

/dev/twe0 -d 3ware,0 -a -s (S/../.././02|L/../../6/03) -m xxx@xxx.com
/dev/twe0 -d 3ware,1 -a -s (S/../.././02|L/../../6/03) -m xxx@xxx.com


you have to use this /dev/twe0 type of thing. There are examples all
through the smart files. I think even 3ware gives examples.

so you dont access it through /dev/sda or /dev/sdb

twe is the 2 port ide version.

--
Thank you,



"Then said I, Wisdom [is] better than strength: nevertheless the poor
man's wisdom [is] despised, and his words are not heard." Ecclesiastes 9:16
Back to top
Michael Heiming
*nix forums Guru


Joined: 19 Feb 2005
Posts: 1423

PostPosted: Tue May 23, 2006 8:03 pm    Post subject: Re: How to run smartctl with a 3ware controller? Reply with quote

In comp.os.linux.hardware Arno Wagner <me@privacy.net>:
Quote:
In comp.sys.ibm.pc.hardware.storage Michael Heiming <michael+USENET@www.heiming.de> wrote:
In comp.os.linux.hardware Folkert Rienstra <see_reply-to@myweb.nl>:
"Arno Wagner" <me@privacy.net> wrote in message news:4df8dnF1a5a0uU3@individual.net
In comp.sys.ibm.pc.hardware.storage void <void@no.spam.com> wrote:
Eric Gisin wrote:

No, the 3ware drivers to not support SMART. You need to put drives on non-RAID IDE.

The Windows drivers don't support SMART, but the Linux drivers do.
3ware tech support told me that. Even the smartctl man pages say they
support 3ware.

RAID bus controller: 3ware Inc 7xxx/8xxx-series PATA/SATA-RAID (rev 01)

Whatever the man page says, from experience smartctl doesn't work
at all with my 3ware controller, you can be lucky if you don't
crash the whole system with it...

Have you tried with a kernel >= 2.6.15? Before that there was no
SMART support for SATA, no matter what the controller. Unless you
count very old kernels, before libata was used for SATA.

Not that I'm aware off, perhaps I'll try it out just before
rebooting to 2.6.17. Seems I missed 2.6.16, still run 2.6.15,
which has only 63 days uptime. Simply can't be bothered to reboot
this frequently, this ain't no doze. ;-)

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 104: backup tape overwritten with copy of system
manager's favourite CD
Back to top
void
*nix forums beginner


Joined: 02 Mar 2005
Posts: 7

PostPosted: Tue May 23, 2006 11:04 pm    Post subject: Re: How to run smartctl with a 3ware controller? Reply with quote

dnoyeB wrote:
Quote:
read the smartctl files. they give specific 3ware examples. for mine i have (note: mine is sda)

/dev/twe0 -d 3ware,0 -a -s (S/../.././02|L/../../6/03) -m xxx@xxx.com
/dev/twe0 -d 3ware,1 -a -s (S/../.././02|L/../../6/03) -m xxx@xxx.com


you have to use this /dev/twe0 type of thing. There are examples all through the smart files. I think even 3ware gives examples.

so you dont access it through /dev/sda or /dev/sdb

twe is the 2 port ide version.

It turns out that the Knoppix CD contains version 5.32 of smartctl, and that version does not support using the twe or twa devices (that was added in version 5.33).

So looks like I have to figure out why /dev/sdb didn't work.
Back to top
Folkert Rienstra
*nix forums beginner


Joined: 20 Feb 2005
Posts: 8

PostPosted: Tue May 23, 2006 11:19 pm    Post subject: Re: How to run smartctl with a 3ware controller? Reply with quote

"Arno Wagner" <me@privacy.net> wrote in message news:4dg4lpF1adg3vU1@individual.net
Quote:
In comp.sys.ibm.pc.hardware.storage Michael Heiming <michael+USENET@www.heiming.de> wrote:
In comp.os.linux.hardware Folkert Rienstra <see_reply-to@myweb.nl>:
"Arno Wagner" <me@privacy.net> wrote in message news:4df8dnF1a5a0uU3@individual.net
In comp.sys.ibm.pc.hardware.storage void <void@no.spam.com> wrote:
Eric Gisin wrote:

No, the 3ware drivers to not support SMART. You need to put drives on non-RAID IDE.

The Windows drivers don't support SMART, but the Linux drivers do.
3ware tech support told me that. Even the smartctl man pages say they
support 3ware.

RAID bus controller: 3ware Inc 7xxx/8xxx-series PATA/SATA-RAID (rev 01)

Whatever the man page says, from experience smartctl doesn't work
at all with my 3ware controller, you can be lucky if you don't
crash the whole system with it...

Have you tried with a kernel >= 2.6.15? Before that there was no
SMART support for SATA, no matter what the controller. Unless you
count very old kernels, before libata was used for SATA.

"3ware controllers are currently ONLY supported under Linux
and FreeBSD."

However you may need to have the drivers in the kernel, either as module
or commpiled in. Not sure Knoppix has them. If not, you find them
under Drivers -> SCSI device support -> SCSI low-level drivers
in the kernel configuration, since Linux treats SATA as SCSI.

In which case they obviously don't support SMART.
Nice one, Arnie.

Go away Folkert.

Ooh, I finally escaped from Arnie's killfile.

Quote:
Of course the Linux SCSI layer does not support ATA SMART.
But there is a standard by the SCSI comitee for passing ATA
commands through SCSI

and that is how SMART is supported for SATA.

Not necessarily:

"In most environments where SCSI/ATA Translation is employed, there is a need to provide a
mechanism to issue ATA commands directly to the attached ATA device underlying the SCSI
device presented through the SATL*. In some environments (e.g. when the SATL is implemented
in an HBA with direct-attach ATA devices), the HBA may provide a vendor-specific interface
to permit direct access to the devices through ATA command/response protocol."
* SATL, SCSI to ATA Translation Layer

This is how it worked for IDE (S.M.A.R.T. driver interface to IDE drivers)
(well, in Windows anyway) and how it may still work for SATA too.

Quote:
The parameter for smartctl is like this:
smartctl -a -d ata /dev/<scsi-device> and it works with kernels >= 2/6/15.

If you had done minimal research, you would know this.

Always resorting to the flight forward, aren't you, Arnie.
Actually, I was jesting the person (you) who on so many occasions has said that S.M.A.R.T. was
not supported on USB external storage devices because of USB using SCSI command protocol.

Quote:

Incidentially I found out last weekend, that this also works for PATA
drives connected via the PATA->SATA connverter I have. Nice.

Like there is anything remotely SCSI going on on such a con(n)verter.

Quote:

Arno
Back to top
dnoyeB
*nix forums beginner


Joined: 27 Mar 2006
Posts: 31

PostPosted: Wed May 24, 2006 3:37 am    Post subject: Re: How to run smartctl with a 3ware controller? Reply with quote

void wrote:
Quote:
dnoyeB wrote:

read the smartctl files. they give specific 3ware examples. for mine i have (note: mine is sda)

/dev/twe0 -d 3ware,0 -a -s (S/../.././02|L/../../6/03) -m xxx@xxx.com
/dev/twe0 -d 3ware,1 -a -s (S/../.././02|L/../../6/03) -m xxx@xxx.com


you have to use this /dev/twe0 type of thing. There are examples all through the smart files. I think even 3ware gives examples.

so you dont access it through /dev/sda or /dev/sdb

twe is the 2 port ide version.


It turns out that the Knoppix CD contains version 5.32 of smartctl, and that version does not support using the twe or twa devices (that was added in version 5.33).

So looks like I have to figure out why /dev/sdb didn't work.

Because it does not work. I don't have an 'option' to use /dev/sda or
twe, /dev/sda does not work.

i am using 5.36. I may have upgraded just for this.




--
Thank you,



"Then said I, Wisdom [is] better than strength: nevertheless the poor
man's wisdom [is] despised, and his words are not heard." Ecclesiastes 9:16
Back to top
The Ghost In The Machine
*nix forums Guru Wannabe


Joined: 07 Mar 2005
Posts: 124

PostPosted: Thu Jun 01, 2006 6:00 pm    Post subject: Re: Linux Hardware with Dell Reply with quote

In comp.os.linux.advocacy, TomRossi7
<tomrossi7@gmail.com>
wrote
on 1 Jun 2006 09:06:44 -0700
<1149178004.359488.118710@f6g2000cwb.googlegroups.com>:
Quote:
Okay, so go easy on me. I am slowly being wooed away from Microsoft
and am considering setting up an Ubuntu server with no GUI. I was
wondering a couple things about the hardware and would love some
guidance:

1. Could I buy a high-end Dell desktop, drop in a raid controller, and
just install Ubuntu? Are their issues with drivers, particularly the
raid controller scares me.

2. With raid, is it all configured in the hardware and not visible to
the OS? With Windows Server, I can see the drive configuration, but
not sure with Ubuntu and no GUI.

Thanks!
Tom


You might try comp.os.linux.hardware for this sort
of question. Dell does sell Linux workstations
(click on Small Business, then Workstations, then Dell
Linux Workstations). I don't know about RAID, and the
Workstations they sell come with Red Hat Enterprise.
One of the options appears to be RAID 1, but they also
offer a PERC 5/i SAS RAID card.

That's all I know, unfortunately, about all this. :-)

[followups to comp.os.linux.hardware]

--
#191, ewill3@earthlink.net
Windows Vista. Because it's time to refresh your hardware. Trust us.
Back to top
Chris Cole
*nix forums Guru Wannabe


Joined: 11 Mar 2005
Posts: 188

PostPosted: Fri Jun 02, 2006 7:43 am    Post subject: Re: Linux Hardware with Dell Reply with quote

The Ghost In The Machine wrote:

Quote:
In comp.os.linux.advocacy, TomRossi7
tomrossi7@gmail.com
wrote
on 1 Jun 2006 09:06:44 -0700
1149178004.359488.118710@f6g2000cwb.googlegroups.com>:
Okay, so go easy on me. I am slowly being wooed away from Microsoft
and am considering setting up an Ubuntu server with no GUI. I was
wondering a couple things about the hardware and would love some
guidance:

Maybe try another distro other than ubuntu as it's designed for desktops
not servers. Although it can be used as a server it might be more
straight-forward to go for a straight Debian install. YMMV

Quote:
1. Could I buy a high-end Dell desktop, drop in a raid controller,
and
just install Ubuntu? Are their issues with drivers, particularly the
raid controller scares me.

2. With raid, is it all configured in the hardware and not visible
to
the OS? With Windows Server, I can see the drive configuration, but
not sure with Ubuntu and no GUI.

I had an old Dell Precision workstation setup with Suse 9.x and it all
worked well. It had a Raid-0 setup with two Scsi HDDs using the
supplied Raid controller.
HTH
Back to top
Grant
*nix forums Guru


Joined: 07 Mar 2005
Posts: 739

PostPosted: Fri Jun 02, 2006 8:00 pm    Post subject: Re: cf ide drive? Reply with quote

On Fri, 02 Jun 2006 09:13:54 -0700, Captain Dondo <yan@NsOeSiPnAeMr.com> wrote:

Quote:
Somebody posted a link to a very simple cf-card to 44-pin ide connector.
I need one and I can't find the link....

They was: http://cfd.linnix.com/

Light duty construction, but economical. There are more expensive ones
around that have proper front panel mount (3 1/2" floppy bay) with eject
button. Depends what your needs are. I have a PCMCIA and a USB adaptor.
The Linnix one is okay for inside computer box, perhaps in place of HDD.

Note: me not connected with linnix, not even a customer ;)

Grant.
--
http://bugsplatter.mine.nu/
Back to top
Captain Dondo
*nix forums Guru Wannabe


Joined: 28 Feb 2005
Posts: 250

PostPosted: Fri Jun 02, 2006 9:56 pm    Post subject: Re: cf ide drive? Reply with quote

Grant wrote:
Quote:
On Fri, 02 Jun 2006 09:13:54 -0700, Captain Dondo <yan@NsOeSiPnAeMr.com> wrote:


Somebody posted a link to a very simple cf-card to 44-pin ide connector.
I need one and I can't find the link....


They was: http://cfd.linnix.com/

Light duty construction, but economical. There are more expensive ones
around that have proper front panel mount (3 1/2" floppy bay) with eject
button. Depends what your needs are. I have a PCMCIA and a USB adaptor.
The Linnix one is okay for inside computer box, perhaps in place of HDD.

Note: me not connected with linnix, not even a customer ;)

Grant.


That's them, thanks!

This is going to be for a completely sealed unit, so no need for any
fancy gizmos like front panel access (no front panel on this box) or
eject buttons (you need a screwdriver to even get to the box) :-)

--Yan
Back to top
Kvatrich
*nix forums beginner


Joined: 03 Jun 2006
Posts: 1

PostPosted: Sat Jun 03, 2006 2:15 pm    Post subject: Re: Linux Hardware with Dell Reply with quote

Quote:
I don't know about RAID, and the
Workstations they sell come with Red Hat Enterprise.
One of the options appears to be RAID 1, but they also
offer a PERC 5/i SAS RAID card.

I have a Dell Precision 380 workstation and the integrated Serial ATA
controllers on the Dell Precision 370, 380, 470, and 670 --or the SCSI
controller on the 670-- have a built-in RAID that is not supported with
Linux. Dell recommends disabling this feature when using Linux on
those systems, and using the Linux OS software RAID instead. The PERC
card might work on Linux but I'd check in advance with Dell.
Back to top
J.O. Aho
*nix forums Guru


Joined: 19 Feb 2005
Posts: 912

PostPosted: Wed Jun 07, 2006 4:33 pm    Post subject: Re: Three monitors on FC5 Reply with quote

Tore Skogly wrote:
Quote:
I have spent several hours trying to get a three monitor setup to run on a
workstation running Fedora Core 5 with all the latest updates.
I am using one dual head ATI FireGL V3100 PCIExpress and one Matrox G450 PCI
video card.
I have installed the video driver version 8.25.18 from ATI, and running two
monitors connected to the ATI card works perfectly.

The problem is to get the Matrox G450 card to provide output to the third
monitor connected. All monitors are 19" LCDs running at 1280x1024.

I know I have to configure xorg.conf manually, but I have not been able to
come up with a working configuration yet.
Is there anyone out there that can provide som assistance? Unfortunately I'm
not able to provide the current xorg.conf file.

Post a link to your xorg.conf, I think it would be easier for people to point
out what you need to do.

In theory it don't differ from setting up three monitors from two monitors,
most of the magic lies in "ServerLayout".


//Aho
Back to top
ray
*nix forums Guru


Joined: 20 Feb 2005
Posts: 1127

PostPosted: Wed Jun 07, 2006 6:07 pm    Post subject: Re: Three monitors on FC5 Reply with quote

On Wed, 07 Jun 2006 18:26:26 +0200, Tore Skogly wrote:

Quote:
I have spent several hours trying to get a three monitor setup to run on a
workstation running Fedora Core 5 with all the latest updates.
I am using one dual head ATI FireGL V3100 PCIExpress and one Matrox G450 PCI
video card.
I have installed the video driver version 8.25.18 from ATI, and running two
monitors connected to the ATI card works perfectly.

The problem is to get the Matrox G450 card to provide output to the third
monitor connected. All monitors are 19" LCDs running at 1280x1024.

I know I have to configure xorg.conf manually, but I have not been able to
come up with a working configuration yet.
Is there anyone out there that can provide som assistance? Unfortunately I'm
not able to provide the current xorg.conf file.

Try the Xinerama howto from tldp.org.
Back to top
Tore Skogly
*nix forums beginner


Joined: 17 Oct 2005
Posts: 12

PostPosted: Wed Jun 07, 2006 7:26 pm    Post subject: Re: Three monitors on FC5 Reply with quote

J.O. Aho wrote:

Quote:

Post a link to your xorg.conf, I think it would be easier for people to
point out what you need to do.

In theory it don't differ from setting up three monitors from two
monitors, most of the magic lies in "ServerLayout".


My xorg.conf file is here: http://tores.homelinux.net/xorg.conf
(It was auto generated by the ATI driver, and might look like a complete
mess...

--
Regards,
ToreS
Back to top
Steve Martin
*nix forums beginner


Joined: 11 Mar 2005
Posts: 19

PostPosted: Sat Jun 10, 2006 11:33 am    Post subject: Re: Three monitors on FC5 Reply with quote

Tore Skogly wrote:
Quote:
I have spent several hours trying to get a three monitor setup to run on a
workstation running Fedora Core 5 with all the latest updates.

[snip]

Quote:
I know I have to configure xorg.conf manually, but I have not been able to
come up with a working configuration yet.
Is there anyone out there that can provide som assistance? Unfortunately I'm
not able to provide the current xorg.conf file.

That's gonna kinda make it hard to tell you what you're doing wrong...
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 25 of 27 [395 Posts] Goto page:  Previous  1, 2, 3, ..., 23, 24, 25, 26, 27 Next
View previous topic :: View next topic
The time now is Wed Dec 03, 2008 9:35 pm | All times are GMT
navigation Forum index » *nix » Linux » hardware
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Need help getting Sony DAT tape drive to work on Irix 6.5 trebor SGI/IRIX 1 Sun Apr 13, 2008 3:19 am
No new posts Help required for configuring the VPN Server in Linux SHERDIL security 0 Sun Nov 19, 2006 2:22 pm
No new posts jinitiator - how do versions work ? Grumps Oracle 0 Fri Jul 21, 2006 9:05 am
No new posts 2 USB webcams on Linux 2.6.15.4 produce a hang Suyog hardware 1 Fri Jul 21, 2006 7:27 am
No new posts Work-needing packages report for Jul 21, 2006 wnpp@debian.org devel 0 Fri Jul 21, 2006 6:50 am

Gas Suppliers | Mortgage Loans | Credit Card Consolidation | Online Advertising | Masini second hand
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 2.6769s ][ Queries: 16 (2.5154s) ][ GZIP on - Debug on ]