[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Several problems with 2.6.0-test9



Hi.

I succeeded in building 2.6.0-test9 kernel. I used gcc-3.3.2. I noticed
that egcs64 is no longer supported (I used to build 2.5.67+ kernels with
it), but it doesn't matter, gcc 3.2.3 and 3.3.x seem fine.

The new kernel boots well, but there are some problems:

1) DMA on integrated CMD0646 controller seems fine after boot (hdparm -Tt
etc.) but after writing some data an error appears and after successful
reset DMA is off (see end of dmesg_2.6)

2) CMD0680 IDE card is detected with some errors (see dmesg_2.6), if there
is a disks present in one of its IDE slots, the card panics the kernel

3) 3com 905C card panics the kernel

If you have any ideas about what's wrong or what should I try please let
me know.

-- Honza Houstek

        \|/ ____ \|/
        "@'/ ,. \`@"
        /_| \__/ |_\
           \__U_/

(this picture appears on the console just before the kernel panics)
00:00.0 Host bridge: Sun Microsystems Computer Corp. Ultra IIi
00:01.0 PCI bridge: Sun Microsystems Computer Corp. Simba Advanced PCI Bridge (rev 13)
00:01.1 PCI bridge: Sun Microsystems Computer Corp. Simba Advanced PCI Bridge (rev 13)
01:01.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
01:01.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal (rev 01)
01:02.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro 215GP (rev 5c)
01:03.0 IDE interface: CMD Technology Inc PCI0646 (rev 03)
02:02.0 RAID bus controller: CMD Technology Inc PCI0680 (rev 02)
02:03.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 24)
  0:     301502  timer:dead
  4:     486320  ide2:7e0
  5:     163099  eth0:7e1
  8:          0  parport0:7e2
 12:          0  serial(sab82532):7eb
 15:          1  SABRE UE:7ee, SABRE CE:7ef, SABRE PCIERR:7f0, power:7e5
  0:      90854  timer:dead
  4:       5448  su(mouse):7ea, ide0:7d4, ide1:7d4, ide2:7e0
  6:       8012  eth1:7d8
  9:        387  su(kbd):7e9
 12:         11  serial(sab82532):7eb
 15:          0  SABRE UE:7ee, SABRE CE:7ef, SABRE PCIERR:7f0, power:7e5
PROMLIB: Sun IEEE Boot Prom 3.19.4 1999/04/28 15:05
Linux version 2.6.0 (root@sarlacc) (gcc version 3.2.3 (Debian)) #2 Tue Oct 28 01:49:19 CET 2003
ARCH: SUN4U
Ethernet address: 08:00:20:b0:db:9d
On node 0 totalpages: 32289
  DMA zone: 32289 pages, LIFO batch:7
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: root=/dev/hde4 ro
PID hash table entries: 2048 (order 11: 32768 bytes)
Console: colour dummy device 80x25
Memory: 253624k available (2152k kernel code, 536k data, 120k init) [fffff80000000000,0000000017f46000]
Calibrating delay loop... 539.03 BogoMIPS
Dentry cache hash table entries: 32768 (order: 5, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 4, 131072 bytes)
Mount-cache hash table entries: 512 (order: 0, 8192 bytes)
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
PCI: Probing for controllers.
PCI: Found SABRE, main regs at 000001fe00000000, wsync at 000001fe00001c20
SABRE: Shared PCI config space at 000001fe01000000
SABRE: DVMA at c0000000 [20000000]
PCI-IRQ: Routing bus[ 2] slot[ 2] map[0] to INO[14]
PCI0(PBMA): Bus running at 33MHz
PCI-IRQ: Routing bus[ 1] slot[ 1] map[0] to INO[21]
PCI-IRQ: Routing bus[ 1] slot[ 2] map[0] to INO[0f]
PCI-IRQ: Routing bus[ 1] slot[ 3] map[0] to INO[20]
PCI0(PBMB): Bus running at 33MHz
ebus0: [auxio] [power] [SUNW,pll] [se] [su] [su] [ecpp] [fdthree] [eeprom] [flashprom] [SUNW,CS4231]
power: Control reg at 000001fff1724000 ... powerd running.
ikconfig 0.7 with /proc/config*
SGI XFS for Linux with ACLs, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
Console: switching to mono PROM 80x34
pty: 256 Unix98 ptys configured
rtc_init: no PC rtc found
sunhme.c:v2.02 24/Aug/2003 David S. Miller (davem@redhat.com)
eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:b0:db:9d 
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SiI680: IDE controller at PCI slot 0000:02:02.0
SiI680: chipset revision 2
SiI680: BASE CLOCK == 133 
SiI680: 100% native mode on irq 4,7d4
    ide0: MMIO-DMA at 0x1ff00002000-0x1ff00002007 -- Error, MMIO ports already in use.
    ide1: MMIO-DMA at 0x1ff00002008-0x1ff0000200f -- Error, MMIO ports already in use.
CMD646: IDE controller at PCI slot 0000:01:03.0
CMD646: chipset revision 3
CMD646: chipset revision 0x03, MultiWord DMA Force Limited
CMD646: 100% native mode on irq 4,7e0
    ide2: BM-DMA at 0x1fe02c00020-0x1fe02c00027, BIOS settings: hde:pio, hdf:pio
    ide3: BM-DMA at 0x1fe02c00028-0x1fe02c0002f, BIOS settings: hdg:pio, hdh:pio
hde: ST3120026A, ATA DISK drive
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Using anticipatory io scheduler
ide2 at 0x1fe02c00000-0x1fe02c00007,0x1fe02c0000a on irq 4,7e0
hde: max request size: 1024KiB
hde: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63, (U)DMA
 hde: hde1 hde2 hde3 hde4 hde5
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET: Registered protocol family 1
NET: Registered protocol family 17
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hde4, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hde4) for (hde4)
reiserfs: replayed 15 transactions in 0 seconds
Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Adding 1020104k swap on /dev/hde2.  Priority:0 extents:1
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hde5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hde5) for (hde5)
Using r5 hash to sort names
eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
ioctl32(hdparm:571): Unknown cmd fd(3) cmd(00000330){00} arg(0002b494) on /dev/hde
ioctl32(hdparm:571): Unknown cmd fd(3) cmd(0000031a){00} arg(0002b484) on /dev/hde
SABRE0: Uncorrectable Error, primary error type[DMA Read:Translation Error]
SABRE0: bytemask[00ff] dword_offset[0] was_block(1)
SABRE0: UE AFAR [0000000017e7f800]
SABRE0: UE Secondary errors [(none)]
SABRE0: IOMMU Error, type[Invalid Error]
SABRE0: IOMMU TAG(3)[RAW(0000000000c6ff00)error(Invalid Error)wr(0)sz(8K)vpg(dfe00000)]
SABRE0: IOMMU DATA(3)[RAW(000000006fe00000)valid(1)used(1)cache(0)ppg(0000000000000000)
hde: dma_timer_expiry: dma status == 0x22
hde: DMA timeout error
hde: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }

hde: status timeout: status=0xd0 { Busy }

hde: no DRQ after issuing MULTWRITE_EXT
ide2: reset: success
hde: dma_intr: bad DMA status (dma_stat=1)
hde: dma_intr: status=0x50 { DriveReady SeekComplete }

hde: dma_intr: bad DMA status (dma_stat=1)
hde: dma_intr: status=0x50 { DriveReady SeekComplete }

hde: dma_intr: bad DMA status (dma_stat=1)
hde: dma_intr: status=0x50 { DriveReady SeekComplete }

hde: dma_intr: bad DMA status (dma_stat=1)
hde: dma_intr: status=0x50 { DriveReady SeekComplete }

hde: DMA disabled
ide2: reset: success
PROMLIB: Sun IEEE Boot Prom 3.19.4 1999/04/28 15:05
Linux version 2.4.22-hh (root@sarlacc) (gcc version 3.2.3 (Debian)) #1 Sun Sep 21 17:25:20 CEST 2003
ARCH: SUN4U
Ethernet address: 08:00:20:b0:db:9d
On node 0 totalpages: 32248
zone(0): 49059 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Found CPU 0 (node=f006d428,mid=0)
Found 1 CPU prom device tree node(s).
Kernel command line: root=/dev/hde4
Console: mono PROM 80x34
Calibrating delay loop... 539.03 BogoMIPS
Memory: 253328k available (2040k kernel code, 312k data, 344k init) [fffff80000000000,0000000017f46000]
Dentry cache hash table entries: 32768 (order: 6, 524288 bytes)
Inode cache hash table entries: 16384 (order: 5, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 8192 bytes)
Buffer cache hash table entries: 8192 (order: 3, 65536 bytes)
Page-cache hash table entries: 32768 (order: 5, 262144 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing for controllers.
PCI: Found SABRE, main regs at 000001fe00000000, wsync at 000001fe00001c20
SABRE: Shared PCI config space at 000001fe01000000
SABRE: DVMA at c0000000 [20000000]
PCI-IRQ: Routing bus[ 2] slot[ 2] map[0] to INO[14]
PCI-IRQ: Routing bus[ 2] slot[ 3] map[0] to INO[18]
PCI0(PBMA): Bus running at 33MHz
PCI-IRQ: Routing bus[ 1] slot[ 1] map[0] to INO[21]
PCI-IRQ: Routing bus[ 1] slot[ 2] map[0] to INO[0f]
PCI-IRQ: Routing bus[ 1] slot[ 3] map[0] to INO[20]
PCI0(PBMB): Bus running at 33MHz
ebus0: [auxio] [power] [SUNW,pll] [se] [su] [su] [ecpp] [fdthree] [eeprom] [flashprom] [SUNW,CS4231]
PCIO serial driver version 1.54
su(mouse) at 0x1fff13062f8 (irq = 4,7ea) is a 16550A
Sun Mouse-Systems mouse driver version 1.00
su(kbd) at 0x1fff13083f8 (irq = 9,7e9) is a 16550A
Sun TYPE 5 keyboard detected without keyclick
SAB82532 serial driver version 1.65
ttyS00 at 0x1fff1400000 (irq = 12,7eb) is a SAB82532 V3.2
ttyS01 at 0x1fff1400040 (irq = 12,7eb) is a SAB82532 V3.2
power: Control reg at 000001fff1724000 ... powerd running.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
pty: 256 Unix98 ptys configured
rtc_init: no PC rtc found
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
loop: loaded (max 8 devices)
sunhme.c:v2.01 26/Mar/2002 David S. Miller (davem@redhat.com)
eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:b0:db:9d 
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
02:03.0: 3Com PCI 3c905B Cyclone 100baseTx at 0x1fe02000480. Vers LK1.1.16
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SiI680: IDE controller at PCI slot 02:02.0
SiI680: chipset revision 2
SiI680: not 100% native mode: will probe irqs later
SiI680: BASE CLOCK == 133 
    ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio
    ide1: MMIO-DMA , BIOS settings: hdc:pio, hdd:pio
CMD646: IDE controller at PCI slot 01:03.0
CMD646: chipset revision 3
CMD646: chipset revision 0x03, MultiWord DMA Force Limited
CMD646: 100% native mode on irq 4,7e0
    ide2: BM-DMA at 0x1fe02c00020-0x1fe02c00027, BIOS settings: hde:pio, hdf:pio
    ide3: BM-DMA at 0x1fe02c00028-0x1fe02c0002f, BIOS settings: hdg:pio, hdh:pio
hda: ST3160023A, ATA DISK drive
hdc: ST3160023A, ATA DISK drive
hde: ST3120026A, ATA DISK drive
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide0 at 0x1ff00002080-0x1ff00002087,0x1ff0000208a on irq 4,7d4
ide1 at 0x1ff000020c0-0x1ff000020c7,0x1ff000020ca on irq 4,7d4
ide2 at 0x1fe02c00000-0x1fe02c00007,0x1fe02c0000a on irq 4,7e0
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 312581808 sectors (160042 MB) w/8192KiB Cache, CHS=19457/255/63, UDMA(100)
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 312581808 sectors (160042 MB) w/8192KiB Cache, CHS=19457/255/63, UDMA(100)
hde: attached ide-disk driver.
hde: host protected area => 1
hde: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=14593/255/63, (U)DMA
Partition check:
 hda: hda1 hda2
 hdc: hdc1 hdc2
 hde: hde1 hde2 hde3 hde4 hde5
md: linear personality registered as nr 1
md: raid1 personality registered as nr 3
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
ip_conntrack version 2.1 (989 buckets, 7912 max) - 416 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide2(33,4)) ...
for (ide2(33,4))
ide2(33,4):Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Adding Swap: 1020104k swap-space (priority 0)
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide1(22,1)) ...
for (ide1(22,1))
ide1(22,1):Using r5 hash to sort names
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,1)) ...
for (ide0(3,1))
ide0(3,1):Using r5 hash to sort names
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide2(33,5)) ...
for (ide2(33,5))
ide2(33,5):Using r5 hash to sort names
eth1.211: add 01:00:5e:00:00:01 mcast address to master interface

Reply to: