public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.20 hardlock w/ hdparm
@ 2002-06-15  7:54 Zwane Mwaikambo
  2002-06-15  9:36 ` Bartlomiej Zolnierkiewicz
  2002-06-17 13:31 ` Lionel Bouton
  0 siblings, 2 replies; 6+ messages in thread
From: Zwane Mwaikambo @ 2002-06-15  7:54 UTC (permalink / raw)
  To: Martin Dalecki; +Cc: Lionel Bouton, Linux Kernel

Hi Lionel, Martin,
2.5.20, hdparm + IDE deadlocks on my testbox

kernel:Linux version 2.5.20+prempt (zwane@montezuma.mastecende.com) (gcc version
2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #24 SMP Wed Jun 5 21:48:07 SAST 2002

ata subsys:
ATA/ATAPI device driver v7.0.0
ATA: PCI bus speed 33.3MHz
ATA: Silicon Integrated Systems [SiS] 5513 [IDE], PCI slot 00:00.1
PCI: No IRQ known for interrupt pin A of device 00:00.1. Please try using pci=biosirq.
ATA: chipset rev.: 208
ATA: non-legacy mode: IRQ probe delayed
SiS620
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio
hda: WDC WD75DA-00AWA1, DISK drive
hdb: WDC AC11200L, DISK drive
hdc: ST310212A, DISK drive
hdd: ATAPI CDROM, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
 hda: 14666400 sectors w/2048KiB Cache, CHS=15520/15/63, UDMA(66)
 hda: [PTBL] [912/255/63] hda1 hda2 hda3 hda4
 hdb: 2503872 sectors w/256KiB Cache, CHS=2484/16/63, DMA
 hdb: [PTBL] [621/64/63] hdb1
 hdc: 20005650 sectors w/512KiB Cache, CHS=19846/16/63, UDMA(66)
 hdc: [PTBL] [1245/255/63] hdc1 hdc2 hdc3
 hdc2: <netbsd: hdc5 hdc6 >
hdd: ATAPI 50X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12

strace hdparm /dev/hda:
lseek(3, 0, SEEK_SET)                   = 0
lseek(3, 0, SEEK_SET)                   = 0
lseek(3, 0, SEEK_SET)                   = 0
lseek(3, 0, SEEK_SET)                   = 0
getitimer(ITIMER_REAL, {it_interval={1000, 0}, it_value={993, 770000}}) = 0
write(1, "128 MB in  4.35 seconds = 29.43 "..., 39128 MB in  4.35 seconds = 29.43 MB/sec) = 39
fsync(3)                                = 0
ioctl(3, BLKFLSBUF, 0)                  = 0
ioctl(3, 0x31f, 0)                      = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
shmdt(0x4001f000)                       = 0
shmget(IPC_PRIVATE, 1048576, 0x180|0600) = 32768
shmctl(32768, 0x10b /* SHM_??? */, 0)   = 0
shmat(32768, 0, 0)                      = 0x4001f000
shmctl(32768, 0x100 /* SHM_??? */, 0)   = 0
sync()                                  = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({3, 0}, {3, 0})
*** dead as a doorpost ***
write(1, " Timing buffered disk reads:  ", 30 Timing buffered disk reads:  ) = 30
setitimer(ITIMER_REAL, {it_interval={1000, 0}, it_value={1000, 0}}, NULL) = 0
getitimer(ITIMER_REAL, {it_interval={1000, 0}, it_value={1000, 0}}) = 0
read(3, "3\300\216\320\274\0|\373P\7P\37\374\276\33|\277\33\6PW"..., 1048576) = 1048576

I was going to test a disk w/o DMA (try to cover all the bases) but i got the
following repeatedly until it locks up again;
hdb: lost interrupt
hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
hdb: drive not ready for command

Now i'm not 100% sure wether this is even an ATA problem (although my SCSI 
based testbox survived) and pretty certain its not an SiS controller 
problem but i'll try and find the point where it deadlocks, pretty bad 
bug report, please tell me which information you'd really want.

btw Martin you seem to like pain so get ready for when i whip out the old 
Quantum mavericks, 486 (SiS) and Opti621 card ;)

Thanks,
	Zwane Mwaikambo
-- 
http://function.linuxpower.ca
		



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

* Re: 2.5.20 hardlock w/ hdparm
  2002-06-15  9:36 ` Bartlomiej Zolnierkiewicz
@ 2002-06-15  9:18   ` Zwane Mwaikambo
  0 siblings, 0 replies; 6+ messages in thread
From: Zwane Mwaikambo @ 2002-06-15  9:18 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: Martin Dalecki, Lionel Bouton, Linux Kernel

On Sat, 15 Jun 2002, Bartlomiej Zolnierkiewicz wrote:

> > btw Martin you seem to like pain so get ready for when i whip out the old
> > Quantum mavericks, 486 (SiS) and Opti621 card ;)
> 				   ^^^^^^^^^^^^
> I'm just cleaning driver for it :-)

Do you have a dual interface one? Mine has only the primary. I'll 
definitely be testing ;)

Cheers,
	Zwane Mwaikambo
-- 
http://function.linuxpower.ca
		


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

* Re: 2.5.20 hardlock w/ hdparm
  2002-06-15  7:54 2.5.20 hardlock w/ hdparm Zwane Mwaikambo
@ 2002-06-15  9:36 ` Bartlomiej Zolnierkiewicz
  2002-06-15  9:18   ` Zwane Mwaikambo
  2002-06-17 13:31 ` Lionel Bouton
  1 sibling, 1 reply; 6+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2002-06-15  9:36 UTC (permalink / raw)
  To: Zwane Mwaikambo; +Cc: Martin Dalecki, Lionel Bouton, Linux Kernel


On Sat, 15 Jun 2002, Zwane Mwaikambo wrote:

> Hi Lionel, Martin,
> 2.5.20, hdparm + IDE deadlocks on my testbox
>
> kernel:Linux version 2.5.20+prempt (zwane@montezuma.mastecende.com) (gcc version
> 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #24 SMP Wed Jun 5 21:48:07 SAST 2002
>
> ata subsys:
> ATA/ATAPI device driver v7.0.0
> ATA: PCI bus speed 33.3MHz
> ATA: Silicon Integrated Systems [SiS] 5513 [IDE], PCI slot 00:00.1
> PCI: No IRQ known for interrupt pin A of device 00:00.1. Please try using pci=biosirq.
> ATA: chipset rev.: 208
> ATA: non-legacy mode: IRQ probe delayed
> SiS620
>     ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio
>     ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio
> hda: WDC WD75DA-00AWA1, DISK drive
> hdb: WDC AC11200L, DISK drive
> hdc: ST310212A, DISK drive
> hdd: ATAPI CDROM, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
>  hda: 14666400 sectors w/2048KiB Cache, CHS=15520/15/63, UDMA(66)
>  hda: [PTBL] [912/255/63] hda1 hda2 hda3 hda4
>  hdb: 2503872 sectors w/256KiB Cache, CHS=2484/16/63, DMA
>  hdb: [PTBL] [621/64/63] hdb1
>  hdc: 20005650 sectors w/512KiB Cache, CHS=19846/16/63, UDMA(66)
>  hdc: [PTBL] [1245/255/63] hdc1 hdc2 hdc3
>  hdc2: <netbsd: hdc5 hdc6 >
> hdd: ATAPI 50X CD-ROM drive, 128kB Cache, UDMA(33)
> Uniform CD-ROM driver Revision: 3.12
>
> strace hdparm /dev/hda:
> lseek(3, 0, SEEK_SET)                   = 0
> lseek(3, 0, SEEK_SET)                   = 0
> lseek(3, 0, SEEK_SET)                   = 0
> lseek(3, 0, SEEK_SET)                   = 0
> getitimer(ITIMER_REAL, {it_interval={1000, 0}, it_value={993, 770000}}) = 0
> write(1, "128 MB in  4.35 seconds = 29.43 "..., 39128 MB in  4.35 seconds = 29.43 MB/sec) = 39
> fsync(3)                                = 0
> ioctl(3, BLKFLSBUF, 0)                  = 0
> ioctl(3, 0x31f, 0)                      = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> nanosleep({1, 0}, {1, 0})               = 0
> shmdt(0x4001f000)                       = 0
> shmget(IPC_PRIVATE, 1048576, 0x180|0600) = 32768
> shmctl(32768, 0x10b /* SHM_??? */, 0)   = 0
> shmat(32768, 0, 0)                      = 0x4001f000
> shmctl(32768, 0x100 /* SHM_??? */, 0)   = 0
> sync()                                  = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> nanosleep({3, 0}, {3, 0})
> *** dead as a doorpost ***
> write(1, " Timing buffered disk reads:  ", 30 Timing buffered disk reads:  ) = 30
> setitimer(ITIMER_REAL, {it_interval={1000, 0}, it_value={1000, 0}}, NULL) = 0
> getitimer(ITIMER_REAL, {it_interval={1000, 0}, it_value={1000, 0}}) = 0
> read(3, "3\300\216\320\274\0|\373P\7P\37\374\276\33|\277\33\6PW"..., 1048576) = 1048576
>
> I was going to test a disk w/o DMA (try to cover all the bases) but i got the
> following repeatedly until it locks up again;
> hdb: lost interrupt
> hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
> hdb: drive not ready for command
>
> Now i'm not 100% sure wether this is even an ATA problem (although my SCSI
> based testbox survived) and pretty certain its not an SiS controller
> problem but i'll try and find the point where it deadlocks, pretty bad
> bug report, please tell me which information you'd really want.
>
> btw Martin you seem to like pain so get ready for when i whip out the old
> Quantum mavericks, 486 (SiS) and Opti621 card ;)
				   ^^^^^^^^^^^^
I'm just cleaning driver for it :-)


>
> Thanks,
> 	Zwane Mwaikambo
> --
> http://function.linuxpower.ca
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>


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

* Re: 2.5.20 hardlock w/ hdparm
  2002-06-15  7:54 2.5.20 hardlock w/ hdparm Zwane Mwaikambo
  2002-06-15  9:36 ` Bartlomiej Zolnierkiewicz
@ 2002-06-17 13:31 ` Lionel Bouton
  2002-06-17 14:02   ` Martin Dalecki
  2002-06-17 15:05   ` Zwane Mwaikambo
  1 sibling, 2 replies; 6+ messages in thread
From: Lionel Bouton @ 2002-06-17 13:31 UTC (permalink / raw)
  To: Zwane Mwaikambo; +Cc: Martin Dalecki, Linux Kernel

Zwane Mwaikambo wrote:

>Hi Lionel, Martin,
>2.5.20, hdparm + IDE deadlocks on my testbox
>  
>

I don't follow 2.5 dev (yet). I merely follow Andre's work on 2.4 and 
code a new chipset capabilities detection code in order to support newer 
 chipsets.
Is the v0.13 driver driver already forward ported to 2.5 by somebody ?
If there's a need (some 2.5 developpers needing a more uptodate driver 
and uncomfortable with forward porting IDE chipset drivers), I'll do it...

>kernel:Linux version 2.5.20+prempt (zwane@montezuma.mastecende.com) (gcc version
>2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #24 SMP Wed Jun 5 21:48:07 SAST 2002
>
>ata subsys:
>ATA/ATAPI device driver v7.0.0
>ATA: PCI bus speed 33.3MHz
>ATA: Silicon Integrated Systems [SiS] 5513 [IDE], PCI slot 00:00.1
>PCI: No IRQ known for interrupt pin A of device 00:00.1. Please try using pci=biosirq.
>ATA: chipset rev.: 208
>ATA: non-legacy mode: IRQ probe delayed
>SiS620
>

Unless the SiS620 is not compatable with the 630 IDE support spec or 
affected by some bugs I corrected for PIO mode timings (unlikely as they 
were unnoticed for a quiet long time) since sis5513.c v0.11 this should 
not be an IDE chipset problem.

>[...] btw Martin you seem to like pain so get ready for when i whip out the old 
>Quantum mavericks, 486 (SiS) and Opti621 card ;)
>  
>

Hum, 486 SiS chipsets might bring pain to me also...
I've received several bugreports for old SiS IDE chipset (ie pre ATA66) 
that I couldn't solve without disabling the SiS driver or passing 
"ide=nodma". I've triple-checked the specs and couldn't see the problem.

>Thanks,
>	Zwane Mwaikambo
>  
>
LB


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

* Re: 2.5.20 hardlock w/ hdparm
  2002-06-17 13:31 ` Lionel Bouton
@ 2002-06-17 14:02   ` Martin Dalecki
  2002-06-17 15:05   ` Zwane Mwaikambo
  1 sibling, 0 replies; 6+ messages in thread
From: Martin Dalecki @ 2002-06-17 14:02 UTC (permalink / raw)
  To: Lionel Bouton; +Cc: Zwane Mwaikambo, Linux Kernel

Użytkownik Lionel Bouton napisał:
> Zwane Mwaikambo wrote:
> 
>> Hi Lionel, Martin,
>> 2.5.20, hdparm + IDE deadlocks on my testbox
>>  
>>
> 
> I don't follow 2.5 dev (yet). I merely follow Andre's work on 2.4 and 
> code a new chipset capabilities detection code in order to support newer 
> chipsets.
> Is the v0.13 driver driver already forward ported to 2.5 by somebody ?

Yeep. In fact my main devel box is based on SiS 635...

> If there's a need (some 2.5 developpers needing a more uptodate driver 
> and uncomfortable with forward porting IDE chipset drivers), I'll do it...

Please just keep an eye on it. The internal interface for host chip
setup should now be much more... well palatable :-).

> Hum, 486 SiS chipsets might bring pain to me also...
> I've received several bugreports for old SiS IDE chipset (ie pre ATA66) 
> that I couldn't solve without disabling the SiS driver or passing 
> "ide=nodma". I've triple-checked the specs and couldn't see the problem.


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

* Re: 2.5.20 hardlock w/ hdparm
  2002-06-17 13:31 ` Lionel Bouton
  2002-06-17 14:02   ` Martin Dalecki
@ 2002-06-17 15:05   ` Zwane Mwaikambo
  1 sibling, 0 replies; 6+ messages in thread
From: Zwane Mwaikambo @ 2002-06-17 15:05 UTC (permalink / raw)
  To: Lionel Bouton; +Cc: Martin Dalecki, Linux Kernel

On Mon, 17 Jun 2002, Lionel Bouton wrote:

> Unless the SiS620 is not compatable with the 630 IDE support spec or 
> affected by some bugs I corrected for PIO mode timings (unlikely as they 
> were unnoticed for a quiet long time) since sis5513.c v0.11 this should 
> not be an IDE chipset problem.

Nope definitely not, i've had a chance to dig a little deeper.

> Hum, 486 SiS chipsets might bring pain to me also...
> I've received several bugreports for old SiS IDE chipset (ie pre ATA66) 
> that I couldn't solve without disabling the SiS driver or passing 
> "ide=nodma". I've triple-checked the specs and couldn't see the problem.

That one is just for fun ;) ditto for the 386 w/ IDE box i just got =)

Cheers,
	Zwane
-- 
http://function.linuxpower.ca
		


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

end of thread, other threads:[~2002-06-17 15:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-15  7:54 2.5.20 hardlock w/ hdparm Zwane Mwaikambo
2002-06-15  9:36 ` Bartlomiej Zolnierkiewicz
2002-06-15  9:18   ` Zwane Mwaikambo
2002-06-17 13:31 ` Lionel Bouton
2002-06-17 14:02   ` Martin Dalecki
2002-06-17 15:05   ` Zwane Mwaikambo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox