linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pata_sis:sg_write errors
@ 2007-01-15 19:05 Jordan Neumeyer
  2007-01-16  1:54 ` Tejun Heo
  0 siblings, 1 reply; 4+ messages in thread
From: Jordan Neumeyer @ 2007-01-15 19:05 UTC (permalink / raw)
  To: linux-ide

Well recently I've been using libata since my my distribution offered it when
they switched to 2.6.19( maybe? 18) in the initramfs image.  I have a sis 5513
controller, which after a couple of days started acting up and coming up with
the following error:

sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data i$;
 program grip not setting count and/or reply_len properly
printk: 319 messages suppressed.
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data $n;
 program grip not setting count and/or reply_len properly
printk: 321 messages suppressed.
sg_write: data in/out 16464/16464 bytes for SCSI command 0xbe--guessing data $n;
 program grip not setting count and/or reply_len properly
printk: 323 messages suppressed.
sg_write: data in/out 16464/16464 bytes for SCSI command 0xbe--guessing data $n;
 program grip not setting count and/or reply_len properly
printk: 323 messages suppressed.
sg_write: data in/out 16464/16464 bytes for SCSI command 0xbe--guessing data $n;
 program grip not setting count and/or reply_len properly
printk: 324 messages suppressed.

It's repeated over, and over; differing amounts of bytes.  I'm unsure what
invoked such errors, because it only started to happen a few days after use of
the kernel.  Which was 2.6.19-beyond kernel.  I don't believe any additions made
by the beyond kernel affected the libata system.

Has this been fixed in the 2.6.20-rcXs?  

~Jordan Neumeyer 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pata_sis:sg_write errors
  2007-01-15 19:05 pata_sis:sg_write errors Jordan Neumeyer
@ 2007-01-16  1:54 ` Tejun Heo
  2007-01-16 23:04   ` jnengland77
  0 siblings, 1 reply; 4+ messages in thread
From: Tejun Heo @ 2007-01-16  1:54 UTC (permalink / raw)
  To: Jordan Neumeyer; +Cc: linux-ide

Jordan Neumeyer wrote:
> Well recently I've been using libata since my my distribution offered it when
> they switched to 2.6.19( maybe? 18) in the initramfs image.  I have a sis 5513
> controller, which after a couple of days started acting up and coming up with
> the following error:
> 
> sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data i$;
>  program grip not setting count and/or reply_len properly
> printk: 319 messages suppressed.
> sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data $n;
>  program grip not setting count and/or reply_len properly
> printk: 321 messages suppressed.
> sg_write: data in/out 16464/16464 bytes for SCSI command 0xbe--guessing data $n;
>  program grip not setting count and/or reply_len properly
> printk: 323 messages suppressed.
> sg_write: data in/out 16464/16464 bytes for SCSI command 0xbe--guessing data $n;
>  program grip not setting count and/or reply_len properly
> printk: 323 messages suppressed.
> sg_write: data in/out 16464/16464 bytes for SCSI command 0xbe--guessing data $n;
>  program grip not setting count and/or reply_len properly
> printk: 324 messages suppressed.
> 
> It's repeated over, and over; differing amounts of bytes.  I'm unsure what
> invoked such errors, because it only started to happen a few days after use of
> the kernel.  Which was 2.6.19-beyond kernel.  I don't believe any additions made
> by the beyond kernel affected the libata system.
> 
> Has this been fixed in the 2.6.20-rcXs?  

This is not a kernel bug.  The SCSI midlayer is bitching that grip
hasn't set certain parameter while using the sg interface (which
previous kernels have ignored).  grip should be updated to use proper
parameter.  So, no, 2.6.20-rcX won't fix it.  You need to update grip.

-- 
tejun

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pata_sis:sg_write errors
  2007-01-16  1:54 ` Tejun Heo
@ 2007-01-16 23:04   ` jnengland77
  2007-01-17  2:14     ` Tejun Heo
  0 siblings, 1 reply; 4+ messages in thread
From: jnengland77 @ 2007-01-16 23:04 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linux-ide

Hi
Thank you for your help.  So all I need to do is update the sg3_utils?
 It's the only package I can find dealing with sg and scsi? And do I
have to set this parameter or is it automatically set?  I've never
dealt with this scsi system, because all I have are pata disks.  No
sata nor scsi.

> This is not a kernel bug.  The SCSI midlayer is bitching that grip
> hasn't set certain parameter while using the sg interface (which
> previous kernels have ignored).  grip should be updated to use proper
> parameter.  So, no, 2.6.20-rcX won't fix it.  You need to update grip.
>
> --
> tejun
>

~Jordan Neumeyer

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pata_sis:sg_write errors
  2007-01-16 23:04   ` jnengland77
@ 2007-01-17  2:14     ` Tejun Heo
  0 siblings, 0 replies; 4+ messages in thread
From: Tejun Heo @ 2007-01-17  2:14 UTC (permalink / raw)
  To: jnengland77; +Cc: linux-ide

jnengland77 wrote:
> Hi
> Thank you for your help.  So all I need to do is update the sg3_utils?
> It's the only package I can find dealing with sg and scsi? And do I
> have to set this parameter or is it automatically set?  I've never
> dealt with this scsi system, because all I have are pata disks.  No
> sata nor scsi.

You need to update grip, cd ripper.  And, it's not something a user can
change.  The program itself needs to be updated.  So, bug the grip
developers.  The messages are just notices to let people know that those
programs need to be updated and can be safely ignored for the time being.

-- 
tejun

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-01-17  2:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-15 19:05 pata_sis:sg_write errors Jordan Neumeyer
2007-01-16  1:54 ` Tejun Heo
2007-01-16 23:04   ` jnengland77
2007-01-17  2:14     ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).