Skip to contentSkip to conversation

pata_sis:sg_write errors

DISCUSSION Jordan Neumeyer 2 participants 4 messages Jan 15, 2007 – Jan 17, 2007 libata

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 21 lines · Jordan Neumeyer

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.

Quoted 6 lines

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.

Signature · 1 line
tejun
#2 lore raw

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.

Quoted 8 lines

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

#3 lore raw
Quoted 6 lines · 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.

Signature · 1 line
tejun