LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-21-2003, 01:46 PM   #1
jgmarce
LQ Newbie
 
Registered: Feb 2003
Posts: 2

Rep: Reputation: 0
aic7xxx tagged queue option.


I have not been able to change the tag queue length of my
aic7xxx controller for target 0.
I've added several versions of this line to /etc/modules.conf


[root@proxy11 root]# cat /etc/modules.conf
alias parport_lowlevel parport_pc
alias scsi_hostadapter aic7xxx
add options aic7xxx "aic7xxx=tag_info:{{8,8,8,8}}"
alias sound-slot-0 es1371
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias usb-controller usb-uhci
alias eth0 dmfe
[root@proxy11 root]# set -o vi
[root@proxy11 root]# mkinitrd -f /boot/initrd-2.4.18-3-jgm.img 2.4.18-3
[root@proxy11 root]# cat /etc/lilo.conf.ana*
prompt
timeout=50
default=linux
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.18-3
label=linux
initrd=/boot/initrd-2.4.18-3.img
read-only
root=/dev/sda5

image=/boot/vmlinuz-2.4.18-3
label=linux-jgm
initrd=/boot/initrd-2.4.18-3-jgm.img
read-only
root=/dev/sda5
[root@proxy11 root]#

[root@proxy11 root]# head -15 /proc/scsi/aic7*/0
Adaptec AIC7xxx driver version: 6.2.5
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
Channel A Target 0 Negotiation Settings
User: 40.000MB/s transfers (20.000MHz, offset 255, 16bit)
Goal: 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
Curr: 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
Channel A Target 0 Lun 0 Settings
Commands Queued 7227
Commands Active 0
Command Openings 127
Max Tagged Openings 253
Device Queue Frozen Count 0
Channel A Target 1 Negotiation Settings
User: 40.000MB/s transfers (20.000MHz, offset 255, 16bit)
Channel A Target 2 Negotiation Settings
[root@proxy11 root]#


I have been able to create initrd-xx.img files that hang and
I've seen the "Command Openings" move between 127 and 253
but never have I achieved a queue depth of 8.
 
Old 02-22-2003, 01:31 PM   #2
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,818

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Re: aic7xxx tagged queue option.

Quote:
Originally posted by jgmarce
I have not been able to change the tag queue length of my
aic7xxx controller for target 0.
I've added several versions of this line to /etc/modules.conf


[root@proxy11 root]# cat /etc/modules.conf
alias parport_lowlevel parport_pc
alias scsi_hostadapter aic7xxx
add options aic7xxx "aic7xxx=tag_info:{{8,8,8,8}}"
Take look at the file ``/usr/src/linux-2.4/drivers/scsi/README.aic7xxx''. There seems to be something about commas in the command string that affects the way module options need to be specified (to make insmod happy). If I read the caveat correctly, it looks like you might have to enter the options strings as:

"aic7xxx=tag_info:{{8.8.8.8}}"

Looks weird to me but might be worth a try. I'd have a boot floppy or rescue CD available before trying this.

Good luck,

Rick
 
Old 02-24-2003, 09:58 AM   #3
jgmarce
LQ Newbie
 
Registered: Feb 2003
Posts: 2

Original Poster
Rep: Reputation: 0
add options aic7xxx "aic7xxx=tag_info:{{255.255.255.255}}"

Above did not boot.

add options aic7xxx "aic7xxx=tag_info:{{255}}"

Above did not boot.

add options aic7xxx "aic7xxx=tag_info:{{8}}"

The above boots but does not seem to change
the tag queue length, and the problem still
occurs....


[root@proxy11 root]# grep aic7xxx /etc/modules.conf
alias scsi_hostadapter aic7xxx
add options aic7xxx "aic7xxx=tag_info:{{8}}"
[root@proxy11 root]# head -15 /proc/scsi/aic*/0
Adaptec AIC7xxx driver version: 6.2.5
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
Channel A Target 0 Negotiation Settings
User: 40.000MB/s transfers (20.000MHz, offset 255, 16bit)
Goal: 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
Curr: 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
Channel A Target 0 Lun 0 Settings
Commands Queued 6245
Commands Active 0
Command Openings 253
Max Tagged Openings 253
Device Queue Frozen Count 0
Channel A Target 1 Negotiation Settings
User: 40.000MB/s transfers (20.000MHz, offset 255, 16bit)
Channel A Target 2 Negotiation Settings
[root@proxy11 root]# up2date -u

Retrieving list of all available packages...
########################################

Removing installed packages from list of updates...
########################################

Removing packages marked to skip from list...
########################################

Getting headers for available packages...
There was a fatal error communicating with the server. The message was:
Connection aborted by the user
[root@proxy11 root]# tail /var/log/messages
Feb 24 10:44:32 proxy11 -- root[1071]: ROOT LOGIN ON tty1
Feb 24 10:45:08 proxy11 sshd(pam_unix)[1124]: session opened for user root by (uid=0)
Feb 24 10:46:31 proxy11 kernel: scsi0: PCI error Interrupt at seqaddr = 0x7
Feb 24 10:46:31 proxy11 kernel: scsi0: Data Parity Error Detected during address or write data phase
Feb 24 10:46:32 proxy11 kernel: scsi0: PCI error Interrupt at seqaddr = 0x8
Feb 24 10:46:32 proxy11 kernel: scsi0: Data Parity Error Detected during address or write data phase
Feb 24 10:46:32 proxy11 kernel: scsi0: PCI error Interrupt at seqaddr = 0x9
Feb 24 10:46:32 proxy11 kernel: scsi0: Data Parity Error Detected during address or write data phase
Feb 24 10:46:32 proxy11 kernel: scsi0: PCI error Interrupt at seqaddr = 0x7
Feb 24 10:46:32 proxy11 kernel: scsi0: Data Parity Error Detected during address or write data phase
[root@proxy11 root]#
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OMfG TAGGED Lebanese Disease General 2 08-17-2005 03:41 PM
Anyone know how to rip CD's to Tagged m4a, AAC, mp4 files? carl0ski Linux - Software 2 04-17-2005 04:41 PM
raw queue with usb printer (-v option in lpadmin command) rocordial Linux - Hardware 4 02-10-2005 11:36 AM
aic7xxx xfs.s Homzz Slackware 3 04-13-2004 02:02 AM
Deleted qmail queue /var/qmail/queue tris Linux - Software 0 10-24-2003 11:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration