Re: Yet another ATA-related Kernel trap 12 :-(

2003-02-27 Thread Soeren Schmidt
It seems Terry Lambert wrote:
> Vladimir Kushnir wrote:
> > Setup: Fujitsu MPG3409AT E disk on external CMD649 controller (the only
> > HD). Kernel trap while booting with timeout for ad0 device. Setting
> > "hw.ata.ata_dma=0" solves the problem. Sources last cvsupped last night
> > (after the last ATA-related commits). Dmesg output attached, but that's
> > about all I can provide - no serial console here.
> 
> This is probably related to the inverted sense-test that was
> recently fixed.

Nope.

> FWIW: the CMD640 series of chips is well known to mung DMA, if
> an interrupt occurs during a transfer.  I can't say for certain
> that the CMD649 has this problem, so you might want to look at
> the vendor errata for the chips.  Personally, I avoid the CMD64x
> controllers entirely, so as to avoid getting a bad one, since I
> have no idea if there is actually a good one in existance.  8-(.

The old CMD640 should be avoided at all costs, the newer CMD646
has problems thats taken care of pr revision. The newer CMD648/649
are OK but are not the best performers...

-Søren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


Re: Yet another ATA-related Kernel trap 12 :-(

2003-02-27 Thread Terry Lambert
Vladimir Kushnir wrote:
> Setup: Fujitsu MPG3409AT E disk on external CMD649 controller (the only
> HD). Kernel trap while booting with timeout for ad0 device. Setting
> "hw.ata.ata_dma=0" solves the problem. Sources last cvsupped last night
> (after the last ATA-related commits). Dmesg output attached, but that's
> about all I can provide - no serial console here.

This is probably related to the inverted sense-test that was
recently fixed.

FWIW: the CMD640 series of chips is well known to mung DMA, if
an interrupt occurs during a transfer.  I can't say for certain
that the CMD649 has this problem, so you might want to look at
the vendor errata for the chips.  Personally, I avoid the CMD64x
controllers entirely, so as to avoid getting a bad one, since I
have no idea if there is actually a good one in existance.  8-(.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


Re: Yet another ATA-related Kernel trap 12 :-(

2003-02-26 Thread Soeren Schmidt
It seems Vladimir Kushnir wrote:
> Setup: Fujitsu MPG3409AT E disk on external CMD649 controller (the only
> HD). Kernel trap while booting with timeout for ad0 device. Setting
> "hw.ata.ata_dma=0" solves the problem. Sources last cvsupped last night
> (after the last ATA-related commits). Dmesg output attached, but that's
> about all I can provide - no serial console here.

I just committed a fix for that.

-Søren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


Yet another ATA-related Kernel trap 12 :-(

2003-02-26 Thread Vladimir Kushnir
Setup: Fujitsu MPG3409AT E disk on external CMD649 controller (the only
HD). Kernel trap while booting with timeout for ad0 device. Setting
"hw.ata.ata_dma=0" solves the problem. Sources last cvsupped last night
(after the last ATA-related commits). Dmesg output attached, but that's
about all I can provide - no serial console here.
Regards,
VladimirCopyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #10: Wed Feb 26 08:31:54 EET 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/KUSHNIR
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0497000.
Preloaded elf module "/boot/kernel/if_tun.ko" at 0xc04970a8.
Preloaded elf module "/boot/kernel/snd_ds1.ko" at 0xc0497154.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0497200.
Preloaded elf module "/boot/kernel/random.ko" at 0xc04972ac.
Preloaded elf module "/boot/kernel/fdc.ko" at 0xc0497358.
Preloaded elf module "/boot/kernel/lpt.ko" at 0xc0497400.
Preloaded elf module "/boot/kernel/ppi.ko" at 0xc04974a8.
Preloaded elf module "/boot/kernel/pps.ko" at 0xc0497550.
Preloaded elf module "/boot/kernel/plip.ko" at 0xc04975f8.
Preloaded elf module "/boot/kernel/mga.ko" at 0xc04976a4.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc049774c.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 451024991 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (451.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
  
Features=0x387f9ff
real memory  = 201261056 (191 MB)
avail memory = 190349312 (181 MB)
Pentium Pro MTRR support enabled
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
pcibios: BIOS version 2.10
Using $PIR table, 6 entries at 0xc00fdf10
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0:  on acpi0
acpi_tz0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 0xe000-0xe3ff at device 
0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
drm0:  mem 
0xe500-0xe57f,0xe400-0xe4003fff,0xe800-0xe9ff irq 11 at device 0.0 
on pci1
info: [drm] AGP at 0xe000 64MB
info: [drm] Initialized mga 3.0.2 20010321 on minor 0
isab0:  at device 2.0 on pci0
isa0:  on isab0
atapci0:  port 0xf000-0xf00f at device 2.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0:  at device 2.2 (no driver attached)
intpm0:  port 0x5000-0x500f irq 9 at device 
2.3 on pci0
intpm0: I/O mapped 5000
intpm0: intr IRQ 9 enabled revision 0
smbus0:  on intsmb0
smb0:  on smbus0
intpm0: PM I/O mapped 4000 
pci0:  at device 14.0 (no driver attached)
atapci1:  port 
0xe400-0xe40f,0xe000-0xe003,0xdc00-0xdc07,0xd800-0xd803,0xd400-0xd407 irq 9 at device 
15.0 on pci0
ata2: at 0xd400 on atapci1
ata3: at 0xdc00 on atapci1
pcm0:  mem 0xeb00-0xeb007fff irq 10 at device 16.0 on pci0
pcm0: 
fdc0:  port 0x3f7,0x3f2-0x3f5 
irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
pps0:  on ppbus0
plip0:  on ppbus0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
orm0:  at iomem 0xc-0xc8fff on isa0
pmtimer0 on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
fb0 at vga0
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
ad0: 39093MB  [79428/16/63] at ata2-master PIO4
acd0: CD-RW <_NEC CD-RW NR-9100A> at ata0-master UDMA33
acd1: CDROM  at ata1-master UDMA33
MBREXT Slice 5 on ad0s3:
[0] f:00 typ:131 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:15711507
[1] f:00 typ:5 s(CHS):255/254/255 e(CHS):255/254/255 s:15711570 l:851445
MBREXT Slice 6 on ad0s3:
[0] f:00 typ:130 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:851382
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
Mounting root from ufs:/dev/ad0s2a
cd1 at ata1 bus 0 target 0 lun 0
cd1:  Removable CD-ROM SCSI-0 device 
cd1: 33.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
cd0 at ata0 bus 0 target 0 lun 0
cd0: <_NEC CD-RW NR-9100A 2.12> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not presen