NetBSD-Bugs archive

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

Re: kern/31110: siside(4) uses too low dma-mode on SiS650 IDE with FUJITSU MHR2020AT attached. patch exist{s|ed}.



d.den.brok%gmx.net@localhost <d.den.brok%gmx.net@localhost> schrieb:
>>Number:         31110
>>Category:       kern
>>Synopsis:       siside(4) uses too low dma-mode on SiS650 IDE with FUJITSU 
>>MHR2020AT attached. patch exist{s|ed}.
>>Confidential:   no
>>Severity:       serious
>>Priority:       medium
>>Responsible:    kern-bug-people
>>State:          open
>>Class:          sw-bug
>>Submitter-Id:   net
>>Arrival-Date:   Wed Aug 31 15:44:00 +0000 2005
>>Originator:     Dennis den Brok
>>Release:        Applies to kernels at least up to 2.1_RC2.
>>Organization:
> -
>>Environment:
> NetBSD 2.1_RC2
>>Description:
> Kernel messages include: 
>
><missing stuff>, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
> wd0(siside0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA 
> data transfers)
>
> This indeed has impact on the drive's speed.
>>How-To-Repeat:
> Boot a NetBSD kernel up to at least version 2.1_RC2 on a system as described.
>>Fix:
> I asked for a solution to this problem about three years ago (time's going by 
> so fast) and was quickly supplied with a working patch from Manuel Bouyer 
> which apparently never made it into CVS repository. Unfortunately, I don't 
> have it anymore (and most probably it wouldn't be recent enough, anyway), 
> maybe Manuel still has it or is able to reproduce it without much effort and 
> can commit it to CVS?
>
>

I found a dmesg of the machine, which I don't have anymore, in question:

NetBSD 1.6Z (ogox) #2: Mon Sep  8 20:13:49 CEST 2003
root@ogox:/usr/obj/sys/arch/i386/compile/ogox
total memory =3D 503 MB
avail memory =3D 463 MB
using 6144 buffers containing 25884 KB of memory
BIOS32 rev. 0 found at 0xfdae0
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium 4 (686-class), 2394.87 MHz, id 0xf24
cpu0: features 3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 3febf9ff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features 3febf9ff<FXSR,SSE,SSE2,SS,HTT,TM>
cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64b/line 4-way
cpu0: L2 cache 512 KB 64b/line 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: 16 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1039 product 0x0650 (rev. 0x01)
agp0 at pchb0: aperture at 0xe0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: vendor 0x1039 product 0x0001 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: vendor 0x1039 product 0x6325 (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 2 function 0
pcib0: vendor 0x1039 product 0x0008 (rev. 0x00)
pciide0 at pci0 dev 2 function 5: Silicon Integrated System 650 IDE
controller (rev. 0xd0)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <FUJITSU MHR2020AT>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 19077 MB, 38760 cyl, 16 head, 63 sec, 512 bytes/sect x 39070080 =
sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using =
DMA
data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <QSI CD-RW/DVD-ROM SBW-081, , NX09> cdrom
removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using =
DMA
data transfers)
auich0 at pci0 dev 2 function 7: SiS 7012 AC-97 Audio
auich0: interrupting at irq 10
auich0: ac97: Avance Logic ALC200/ALC201 codec; headphone, 18 bit DAC, =
18
bit ADC, Realtek 3D
auich0: ac97: ext id 605<AC97_22,AMAP,SPDIF,VRA>
audio0 at auich0: full duplex, mmap, independent
sip0 at pci0 dev 3 function 0: SiS 900 10/100 Ethernet, rev 0x90
sip0: interrupting at irq 5
sip0: Ethernet address 00:50:eb:05:70:84
ukphy0 at sip0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000004, model 0x0020, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vendor 0x14f1 product 0x2f00 (miscellaneous communications, revision =
0x01)
at pci0 dev 5 function 0 not configured
fwohci0 at pci0 dev 7 function 0: vendor 0x1106 product 0x3044 (rev. =
0x46)
fwohci0: interrupting at irq 11
fwohci0: OHCI 1.0, 00:50:eb:04:00:00:9c:6f, 400Mb/s, 2048 max_rec, 8 =
ir_ctx,
8 it_ctx
uhci0 at pci0 dev 8 function 0: vendor 0x1106 product 0x3038 (rev. 0x50)
uhci0: interrupting at irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 8 function 1: vendor 0x1106 product 0x3038 (rev. 0x50)
uhci1: interrupting at irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
vendor 0x1106 product 0x3104 (USB serial bus, interface 0x20, revision =
0x51)
at pci0 dev 8 function 2 not configured
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
isapnp0: no ISA Plug 'n Play devices found
auich0: measured ac97 link rate at 48008 Hz, will use 48000 Hz
fw0 at fwohci0: 00:50:eb:04:00:00:9c:6f:0a:02:ff:ff:f0:01:00:00
ugen0 at uhub0 port 1
ugen0: vendor 0x0763 product 0x1015, rev 1.00/1.21, addr 2
uhub0: port error, restarting port 2
uhidev0 at uhub1 port 1 configuration 1 interface 0
uhidev0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.00, addr 2, iclass =
3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse1 at ums0 mux 0
uhub1: port error, restarting port 2
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)



Home | Main Index | Thread Index | Old Index