🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #19551

Re: Q:SCSI & DEVS

#19551
From: Marc Eggenberger
Date: Tue, 14 Dec 1999 00:00
53 lines
2232 bytes
[This followup was posted to ch.comp.os.linux and a copy was sent to the 
cited author.]

In article <38568582.3A225BEA@linuxfreak.com>, roboto@linuxfreak.com 
says...

[...]
 
> hol dir die sg_utils von:
> http://www.torque.net/sg/p/sg_utils991208.tgz
> 
> da reicht ein make 

hmmm .. glaubs ned:

ws3:/tmp/sg_utils # make
gcc -g -Wall -pedantic   -c sg_poll.c -o sg_poll.o
sg_poll.c: In function `main':
sg_poll.c:136: storage size of `sg_id' isn't known
sg_poll.c:174: `SG_GET_SCSI_ID' undeclared (first use in this function)
sg_poll.c:174: (Each undeclared identifier is reported only once
sg_poll.c:174: for each function it appears in.)
sg_poll.c:187: `SG_GET_COMMAND_Q' undeclared (first use in this function)
sg_poll.c:194: `SG_SET_COMMAND_Q' undeclared (first use in this function)
sg_poll.c:309: structure has no member named `target_status'
sg_poll.c:310: structure has no member named `host_status'
sg_poll.c:310: structure has no member named `driver_status'
sg_poll.c:311: `SG_MAX_SENSE' undeclared (first use in this function)
sg_poll.c:332: `SG_SET_DEBUG' undeclared (first use in this function)
sg_poll.c:136: warning: unused variable `sg_id'
make: *** [sg_poll.o] Error 1

ist ein SuSe Linux 6.1

mal schauen ob ich das doch noch zum laufen bring ...


> dann:
> ./sginfo -i /dev/sg1
> 
> 
> dann gibts den namen und den vendor des geraetes. das sollte reichen
> und sonst hats noch viel mehgr informationen die du abufen kannst
> (./sginfo -h)
> 
> gruss Dominik
> 
> 
> 

-- 
mfg
Eggenberger Marc
Technical Details
Message-ID: <MPG.12c0bc392d7ac18f9896dd@news.everyware.ch>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <MPG.12c072d32f070c7d9896dc@news.everyware.ch> <38568582.3A225BEA@linuxfreak.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f4b73,c747e548ec862f98
X-Google-Attributes: gidf4b73,public
From: Marc Eggenberger <me@everyware.ch>
Subject: Re: Q:SCSI & DEVS
Date: 1999/12/14
Message-ID: <MPG.12c0bc392d7ac18f9896dd@news.everyware.ch>
X-Deja-AN: 560652356
References: <MPG.12c072d32f070c7d9896dc@news.everyware.ch> <38568582.3A225BEA@linuxfreak.com>
X-Original-NNTP-Posting-Host: ment.everyware.ch
X-Complaints-To: news@ip-plus.net
X-Trace: pollux.ip-plus.net 945200595 25123 194.209.246.3 (14 Dec 1999 19:43:15 GMT)
Organization: EveryWare Ltd.
NNTP-Posting-Date: 14 Dec 1999 19:43:15 GMT
Newsgroups: ch.comp.os.linux