Subject: Intel STL2 board and "special" IDE
To: None <netbsd-users@netbsd.org>
From: Wojciech Puchar <wojtek@wojtek.3miasto.net>
List: tech-kern
Date: 08/10/2001 12:10:13
what is broken with pciide? this machine has only 1 IDE channel, netbsd
detects first channel right (but no DMA), detects nonexistant second.

it's not right with custom kernel, but with generic it tried to do wdc1 at
isa0 then, hanged for about minute and then worked but i've got ddb after
ferw minutes work after. with this kernel everything is all right (but
i'mn not using CD-ROM now)


NetBSD 1.5.1 (serwer) #6: Fri Aug 10 04:00:26 PDT 2001
    root@polagent.l.:/usr/src/sys/arch/i386/compile/serwer
cpu0: Intel Pentium III (Coppermine) (686-class), 799.83 MHz
total memory = 255 MB
avail memory = 128 MB
using 11424 buffers containing 117 MB of memory


and this is second question - why these amount of buffers while i did
options  BUFPAGES=30000
?
i.e. it's good at megabytes but why 11424 buffers? what's buffer size?

BIOS32 rev. 0 found at 0xfd85e
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Pequr Technology CNB20LE Host (rev. 0x06)
pchb1 at pci0 dev 0 function 1
pchb1: Pequr Technology CNB20LE Host (rev. 0x06)
pci1 at pchb1 bus 1
pci1: i/o space, memory space enabled
ahc0 at pci1 dev 4 function 0
OptionMode = 3
ahc0: interrupting at irq 9
ahc0: aic7899 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc0 channel 0: 16 targets, 8 luns per target
ahc1 at pci1 dev 4 function 1
OptionMode = 3
ahc1: interrupting at irq 11
ahc1: aic7899 Wide Channel B, SCSI Id=7, 16/255 SCBs
scsibus1 at ahc1 channel 0: 16 targets, 8 luns per target
vga0 at pci0 dev 2 function 0: ATI Technologies Mach64 GV (rev. 0x7a)
wsdisplay0 at vga0: console (80x25, vt100 emulation)
fxp0 at pci0 dev 3 function 0: Intel i82557 Ethernet, rev 8
fxp0: interrupting at irq 10
fxp0: Ethernet address 00:d0:b7:b7:93:bc, 10/100 Mb/s
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 15 function 0
pcib0: Pequr Technology ROSB4 SouthBridge (rev. 0x50)
pciide0 at pci0 dev 15 function 1: Pequr Technology IDE (rev. 0x00)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel configured to compatibility mode
pciide0: primary channel interrupting at irq 14
atapibus0 at pciide0 channel 0
cd0 at atapibus0 drive 0: <LG CD-ROM CRD-8522B, , 1.02> type 5 cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel configured to native-PCI mode
pciide0: couldn't map native-PCI interrupt
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
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
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
biomask fb65 netmask ff65 ttymask ffe7
scsibus0: waiting 2 seconds for devices to settle...
ahc0: target 0 using 16bit transfers
ahc0: target 0 synchronous at 40.0MHz, offset = 0x3f
ahc0: target 0 using tagged queuing
sd0 at scsibus0 target 0 lun 0: <IBM, DDYS-T18350N, S96H> SCSI3 0/direct fixed
sd0: 17501 MB, 15110 cyl, 6 head, 395 sec, 512 bytes/sect x 35843670 sectors
ahc0: target 1 using 16bit transfers
ahc0: target 1 synchronous at 40.0MHz, offset = 0x3f
ahc0: target 1 using tagged queuing
sd1 at scsibus0 target 1 lun 0: <IBM, DDYS-T18350N, S96H> SCSI3 0/direct fixed
sd1: 17501 MB, 15110 cyl, 6 head, 395 sec, 512 bytes/sect x 35843670 sectors
scsibus1: waiting 2 seconds for devices to settle...
Kernelized RAIDframe activated
RAID autoconfigure
Configuring raid0:
RAIDFRAME: protectedSectors is 64
RAIDFRAME: Configure (RAID Level 1): total number of sectors is 35812864 (17486 MB)
RAIDFRAME(RAID Level 1): Using 6 floating recon bufs with no head sep limit
boot device: raid0
root on raid0a dumps on raid0b
raid0: Device already configured!
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)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)