linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Schlichter <schlicht@uni-mannheim.de>
To: B.Zolnierkiewicz@elka.pw.edu.pl
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Processes receive SIGSEGV if TCQ is enabled
Date: Thu, 30 Oct 2003 16:01:55 +0100	[thread overview]
Message-ID: <200310301601.55588.schlicht@uni-mannheim.de> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 3216 bytes --]

Hello,

today I tried to test TCQ with the linux-2.6.0-test9-mm1 kernel. The config.gz 
is attached. But after enabling TCQ with 'hdparm -Q1 /dev/hda' newly started 
processes die due to a received SIGSEGV. No bad kernel messages appear...

Disabling TCQ again doesn't help, only e reboot does...
When I let the kernel enable TCQ at boot time, it set the TCQ buffer depth to 
8 and even the init script was killed!

Here some additional information:

schlicht@bigboss:~> uname -a
Linux bigboss 2.6.0-test9-mm1 #1 Thu Oct 30 14:45:35 CET 2003 i686 unknown 
unknown GNU/Linux
schlicht@bigboss:~> hdparm -i /dev/hda

/dev/hda:

 Model=IBM-DTLA-307030, FwRev=TX4OA50C, SerialNo=YK0YKT61943
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
 BuffType=DualPortCache, BuffSize=1916kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=60036480
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1:

 * signifies the current active mode

schlicht@bigboss:~> hdparm -i /dev/hdb
/dev/hdb: No such device or address
schlicht@bigboss:~> cat /proc/ide/via
----------VIA BusMastering IDE Configuration----------------
Driver Version:                     3.38
South Bridge:                       VIA vt8235
Revision:                           ISA 0x0 IDE 0x6
Highest DMA rate:                   UDMA133
BM-DMA base:                        0xec00
PCI clock:                          33.3MHz
Master Read  Cycle IRDY:            0ws
Master Write Cycle IRDY:            0ws
BM IDE Status Register Read Retry:  yes
Max DRDY Pulse Width:               No limit
-----------------------Primary IDE-------Secondary IDE------
Read DMA FIFO flush:          yes                 yes
End Sector FIFO flush:         no                  no
Prefetch Buffer:              yes                 yes
Post Write Buffer:            yes                 yes
Enabled:                      yes                 yes
Simplex only:                  no                  no
Cable Type:                   80w                 40w
-------------------drive0----drive1----drive2----drive3-----
Transfer Mode:       UDMA       PIO       DMA      UDMA
Address Setup:      120ns     120ns     120ns     120ns
Cmd Active:          90ns      90ns      90ns      90ns
Cmd Recovery:        30ns      30ns      30ns      30ns
Data Active:         90ns     330ns      90ns      90ns
Data Recovery:       30ns     270ns      30ns      30ns
Cycle Time:          22ns     600ns     120ns      60ns
Transfer Rate:   88.8MB/s   3.3MB/s  16.6MB/s  33.3MB/s
schlicht@bigboss:~> mount
/dev/hda5 on / type reiserfs (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw)


Regards
   Thomas

P.S.: My hdparm version v5.4 sets the queuing depth only to 1 even if I 
provide e.g. '-Q8'...

[-- Attachment #1.2: config.gz --]
[-- Type: application/x-gzip, Size: 13517 bytes --]

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2003-10-30 15:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-30 15:01 Thomas Schlichter [this message]
2003-10-30 17:48 ` Processes receive SIGSEGV if TCQ is enabled Bartlomiej Zolnierkiewicz
2003-10-31 13:00   ` Jens Axboe
2003-10-31 13:11     ` Thomas Schlichter
2003-10-31 14:44       ` Ivan Gyurdiev
2003-10-30 21:33 ` Andrew Morton
2003-10-30 22:10   ` Thomas Schlichter
2003-10-30 22:44     ` Ivan Gyurdiev
2003-10-30 23:40       ` Nick Piggin
2003-10-31  7:28         ` Thomas Schlichter
2003-10-31  7:37           ` Nick Piggin

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=200310301601.55588.schlicht@uni-mannheim.de \
    --to=schlicht@uni-mannheim.de \
    --cc=B.Zolnierkiewicz@elka.pw.edu.pl \
    --cc=linux-ide@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).