mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "H.Rosmanith (Kernel Mailing List)" <kernel@wildsau.enemy.org>
To: linux-kernel@vger.kernel.org
Subject: Re: SG_GET_VERSION_NUM rejected on scsi device?
Date: Mon, 27 Dec 2004 23:48:54 +0100 (MET)	[thread overview]
Message-ID: <200412272248.iBRMmsgP021883@wildsau.enemy.org> (raw)


> good evening,
> 
> I have a old Plextor CD-R, native scsi, attached to an AHA_2940.
> ...
> now, I do an ioctl(SG_GET_VERSION_NUM) (0x2282), and that fails:
> 
>     open("/dev/sr0", O_RDONLY)              = 3
>     ioctl(3, 0x2282, 0xbffff660)            = -1 EINVAL (Invalid argument)

on the other hand, this ioctl works perfectly with 2.6.10:

    bash-2.05# ./sg_simple /dev/sr0
    v30527
    Some of the INQUIRY command's response:
        PLEXTOR   CD-R   PX-W124TS  1.00
    INQUIRY duration=1 millisecs, resid=40

unfortunately, I cannot switch to 2.6 easily. one reason
is that the pcnet32 driver does not work. at least, with
2.6.10, it does not crash the machine anymore (as it did with
2.6.7), however
NETDEV WATCHDOG: eth1: transmit timed out
eth1: transmit timed out, status 03f3, resetting.

and I do *not* want to buy a new network card just because
I switch kernels.

/herp


             reply	other threads:[~2004-12-27 22:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-27 22:48 H.Rosmanith (Kernel Mailing List) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-12-27 22:02 H.Rosmanith (Kernel Mailing List)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200412272248.iBRMmsgP021883@wildsau.enemy.org \
    --to=kernel@wildsau.enemy.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome