2002-01-19 07:10:32

by Anton Tinchev

[permalink] [raw]
Subject: Sharing Interrupt+HPT366 Problem on BP6

Linux version 2.4.16 (root@matrix) (gcc version 2.95.3 20010315 (release)) #8 Sat Jan 19 08:03:53 EET 2002
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000010000000 (usable)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
On node 0 totalpages: 65536
zone(0): 4096 pages.
zone(1): 61440 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=linux ro root=301
Initializing CPU#0
Detected 367.508 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 734.00 BogoMIPS
Memory: 255816k/262144k available (1105k kernel code, 5944k reserved, 298k data, 208k init, 0k highmem)
Dentry-cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: Before vendor init, caps: 0183fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After vendor init, caps: 0183fbff 00000000 00000000 00000000
CPU: After generic, caps: 0183fbff 00000000 00000000 00000000
CPU: Common caps: 0183fbff 00000000 00000000 00000000
CPU: Intel Celeron (Mendocino) stepping 05
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch ([email protected])
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb5c0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 0: assuming transparent
Unknown bridge resource 2: assuming transparent
PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
PCI: Found IRQ 10 for device 00:07.2
PCI: Sharing IRQ 10 with 00:11.0
Limiting direct PCI/PCI transfers.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd
Journalled Block Device driver loaded
Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
block: 128 slots per queue, batch=32
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
HPT366: onboard version of chipset, pin1=1 pin2=2
HPT366: IDE controller on PCI bus 00 dev 98
PCI: Found IRQ 11 for device 00:13.0
PCI: Sharing IRQ 11 with 00:13.1
HPT366: chipset revision 1
HPT366: not 100% native mode: will probe irqs later
ide2: BM-DMA at 0xe000-0xe007, BIOS settings: hde:DMA, hdf:DMA
HPT366: IDE controller on PCI bus 00 dev 99
PCI: Found IRQ 11 for device 00:13.1
PCI: Sharing IRQ 11 with 00:13.0
HPT366: chipset revision 1
HPT366: not 100% native mode: will probe irqs later
ide3: BM-DMA at 0xec00-0xec07, BIOS settings: hdg:DMA, hdh:pio
hda: Maxtor 2B010H1, ATA DISK drive
hde: Maxtor 4W060H4, ATA DISK drive
hdf: Maxtor 4W060H4, ATA DISK drive
hdg: Maxtor 4W060H4, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide2 at 0xd800-0xd807,0xdc02 on irq 11
ide3 at 0xe400-0xe407,0xe802 on irq 11
hda: 19541088 sectors (10005 MB) w/2048KiB Cache, CHS=1216/255/63, UDMA(33)
hde: 120033900 sectors (61457 MB) w/2048KiB Cache, CHS=119081/16/63, UDMA(66)
hdf: 120033900 sectors (61457 MB) w/2048KiB Cache, CHS=119081/16/63, UDMA(66)
hdg: 120033900 sectors (61457 MB) w/2048KiB Cache, CHS=119081/16/63, UDMA(66)
Partition check:
hda: hda1 hda2 hda3 hda4
hde: hde1
hdf: hdf1
hdg: [PTBL] [7471/255/63] hdg1
dmfe: Davicom DM9xxx net driver, version 1.36.3 (2001-11-06)
PCI: Found IRQ 10 for device 00:11.0
PCI: Sharing IRQ 10 with 00:07.2
eth0: Davicom DM9102 at pci00:11.0, 00:80:ad:00:69:5d, irq 10.
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 635.600 MB/sec
32regs : 451.200 MB/sec
pII_mmx : 825.600 MB/sec
p5_mmx : 867.200 MB/sec
raid5: using function: p5_mmx (867.200 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
[events: 00000001]
[events: 00000001]
[events: 00000001]
md: autorun ...
md: considering hdg1 ...
md: adding hdg1 ...
md: adding hdf1 ...
md: adding hde1 ...
md: created md0
md: bind<hde1,1>
md: bind<hdf1,2>
md: bind<hdg1,3>
md: running: <hdg1><hdf1><hde1>
md: hdg1's event counter: 00000001
md: hdf1's event counter: 00000001
md: hde1's event counter: 00000001
md: md0: raid array is not clean -- starting background reconstruction
md0: max total readahead window set to 496k
md0: 2 data-disks, max readahead per data-disk: 248k
raid5: device hdg1 operational as raid disk 2
raid5: device hdf1 operational as raid disk 1
raid5: device hde1 operational as raid disk 0
raid5: allocated 3291kB for md0
raid5: raid level 5 set md0 active with 3 out of 3 devices, algorithm 2
raid5: raid set md0 not clean; reconstructing parity
RAID5 conf printout:
--- rd:3 wd:3 fd:0
disk 0, s:0, o:1, n:0 rd:0 us:1 dev:hde1
disk 1, s:0, o:1, n:1 rd:1 us:1 dev:hdf1
disk 2, s:0, o:1, n:2 rd:2 us:1 dev:hdg1
RAID5 conf printout:
--- rd:3 wd:3 fd:0
disk 0, s:0, o:1, n:0 rd:0 us:1 dev:hde1
disk 1, s:0, o:1, n:1 rd:1 us:1 dev:hdf1
disk 2, s:0, o:1, n:2 rd:2 us:1 dev:hdg1
md: updating md0 RAID superblock on device
md: hdg1 [events: 00000002]<6>(write) hdg1's sb offset: 60010688
md: syncing RAID array md0
md: minimum _guaranteed_ reconstruction speed: 100 KB/sec/disc.
md: using maximum available idle IO bandwith (but not more than 100000 KB/sec) for reconstruction.
md: using 124k window, over a total of 60010688 blocks.
md: hdf1 [events: 00000002]<6>(write) hdf1's sb offset: 60016704
md: hde1 [events: 00000002]<6>(write) hde1's sb offset: 60016704
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
ip_conntrack (2048 buckets, 16384 max)
ip_tables: (c)2000 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 208k freed
Adding Swap: 891596k swap-space (priority -1)
EXT3 FS 2.4-0.9.15, 06 Nov 2001 on ide0(3,1), internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.15, 06 Nov 2001 on ide0(3,2), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.15, 06 Nov 2001 on ide0(3,3), internal journal
EXT3-fs: mounted filesystem with ordered data mode.


Attachments:
dmesk.works.txt (10.56 kB)
dmesg.lockups.txt (7.32 kB)
Download all attachments

2002-01-19 09:44:21

by Martin Eriksson

[permalink] [raw]
Subject: Re: Sharing Interrupt+HPT366 Problem on BP6

----- Original Message -----
From: "Anton Tinchev" <[email protected]>
To: "Linux Kernel" <[email protected]>
Sent: Saturday, January 19, 2002 6:11 PM
Subject: Sharing Interrupt+HPT366 Problem on BP6


> There some problems with HPT366 maybe
>
> I used 3 disks for raid level 5
> 2 on the one of the channels
> 1 on the other channel
>
> Few second after starting raid (it start background recovery) the system
> locks totaly
> not even the Magic SysRq key works, only reset
>
> The HPT366 uses IRQ sharing (same IRQ on both chnnes)
>
> When i use only one channel, everiting is OK:
> 2 on the one of the channels
> 1 on the ordinary PIIX ide controler
>
> The configuration is:
> Abit BP6 MB
> Single Celeron 366 processor
> 1X10G hdd
> 3X60G hdd
> 256MB ram
> Davicom 100MB/s NIC
> S3 Trio3D AGP VGA
> Attached both dmesg:

<snip>

Have you tried the ATA patches from Andre Hedrick?

http://www.linuxdiskcert.org

Those cured all my HPT366 problems.

_____________________________________________________
| Martin Eriksson <[email protected]>
| MSc CSE student, department of Computing Science
| Ume? University, Sweden

- ABIT BP6(RU) - 2xCeleron 400 - 128MB/PC100/C2 Acer
- Maxtor 10/5400/U33 HPT P/M - Seagate 6/5400/U33 HPT S/M
- 2xDE-530TX - 1xTulip - Linux 2.4.17+ide+preempt

2002-01-19 11:26:39

by Ville Herva

[permalink] [raw]
Subject: Re: Sharing Interrupt+HPT366 Problem on BP6

On Sat, Jan 19, 2002 at 09:11:09AM -0800, you [Anton Tinchev] claimed:
>
> The configuration is:
> Abit BP6 MB
> Single Celeron 366 processor
> 1X10G hdd
> 3X60G hdd
> 256MB ram
> Davicom 100MB/s NIC
> S3 Trio3D AGP VGA

Which slot did you put your nic (and other pci cards)? Don't put them in
slot #3 (it shares the IRQ with HPT366). And even if slot 3 is empty, try
switching the slow and see if it makes difference.

Also, make sure you have the newest bios.

I have BP6 here, three drives HPT366:

hda: IBM-DCAA-34330, ATA DISK drive
hdb: CD-532E-A, ATAPI CD/DVD-ROM drive
hdd: CR-4804TE, ATAPI CD/DVD-ROM drive
hde: IBM-DJNA-352030, ATA DISK drive
hdf: IBM-DTTA-351680, ATA DISK drive
hdg: SAMSUNG SV6004H, ATA DISK drive
hdh: SAMSUNG SV6004H, ATA DISK drive

No problems.


-- v --

[email protected]

2002-01-19 14:50:15

by Anton Tinchev

[permalink] [raw]
Subject: Re: Sharing Interrupt+HPT366 Problem on BP6

Without NIC hangs too...
I tried every combination that i can imagine and the result is:
Drives on only one channel - system works
Drives on both channels - system hangs

Ville Herva wrote:

> On Sat, Jan 19, 2002 at 09:11:09AM -0800, you [Anton Tinchev] claimed:
> >
> > The configuration is:
> > Abit BP6 MB
> > Single Celeron 366 processor
> > 1X10G hdd
> > 3X60G hdd
> > 256MB ram
> > Davicom 100MB/s NIC
> > S3 Trio3D AGP VGA
>
> Which slot did you put your nic (and other pci cards)? Don't put them in
> slot #3 (it shares the IRQ with HPT366). And even if slot 3 is empty, try
> switching the slow and see if it makes difference.
>
> Also, make sure you have the newest bios.
>
> I have BP6 here, three drives HPT366:
>
> hda: IBM-DCAA-34330, ATA DISK drive
> hdb: CD-532E-A, ATAPI CD/DVD-ROM drive
> hdd: CR-4804TE, ATAPI CD/DVD-ROM drive
> hde: IBM-DJNA-352030, ATA DISK drive
> hdf: IBM-DTTA-351680, ATA DISK drive
> hdg: SAMSUNG SV6004H, ATA DISK drive
> hdh: SAMSUNG SV6004H, ATA DISK drive
>
> No problems.
>
> -- v --
>
> [email protected]
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/