problem with ISA-controllers - maybe general?

ANdrei andrei at abc.ro
Fri Apr 2 05:23:53 PST 2004


posted this in freebsd-scsi also, but got no reply and time's pressing me a 
bit... maybe someone here knows an answer...

here we go:

didn't find anything in the archives, i hope this hasn't come up yet

i'm having the following FreeBSD-machine:

4.9-STABLE FreeBSD 4.9-STABLE #12:

it-s a PC-chips mainboard with an AMD K6-2 450MHz, i have an ISA Creative 
Vibra16x Souncard, 1xPCI TV-Tuner, 1xPCI 100MBps Ethernet-card, 1xPCI 10Mbps 
Ethernet CArd, 1xAGP Riva TNT2, and a free ISA-Slot

now i want to use his slot for a SCSI Host Adapter.
I have the following i can use:
BusTek BT545S  (with Bios)
Adaptec AHA-1542C (with BIOS)
Adaptec AVA-1505 (no BIos)

all are ISA. I want to use them only for a 8x HP SCSI CD-writer, no other things 
   i plan to use on them.

compiled the kernel with the following new lines:

options         SCSI_DELAY=20000        #Delay (in ms) before probing SCSI
device          scbus                   #base SCSI code
device          da                      #SCSI direct access devices (aka disks)
device          cd                      #SCSI CD-ROMs
device          pass                    #CAM passthrough driver

# CAM OPTIONS:
options         CAMDEBUG
options         CAM_DEBUG_BUS=-1
options         CAM_DEBUG_TARGET=-1
options         CAM_DEBUG_LUN=-1
options         CAM_DEBUG_FLAGS="CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB"
options         CAM_MAX_HIGHPOWER=4
options         SCSI_NO_SENSE_STRINGS
options         SCSI_NO_OP_STRINGS
options         SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device

options         CHANGER_MIN_BUSY_SECONDS=2
options         CHANGER_MAX_BUSY_SECONDS=10

options         SA_IO_TIMEOUT="(4)"
options         SA_SPACE_TIMEOUT="(60)"
options         SA_REWIND_TIMEOUT="(2*60)"
options         SA_ERASE_TIMEOUT="(4*60)"
options         SA_1FM_AT_EOD


options         SCSI_PT_DEFAULT_TIMEOUT="60"

options         SES_ENABLE_PASSTHROUGH

#device          bt0     at isa? port IO_BT0
#device          adv0    at isa?
#device          adw
#device          aha0    at isa? port 0x330 irq 11
#device          aha0    at isa? port 0x330 irq 11 drq 5
device          aic0    at isa? port 0x340 irq 11
#device          ncv
#device          nsp
#device          stg0    at isa? port 0x140 irq 11

#device          scbus2 at aha0                   #base SCSI code WIRED TO AHA0
#device          scbus1 at bt0                   #base SCSI code WIRED TO BT0
device          scbus0  at aic0                   #base SCSI code WIRED TO AIC0
device          cd0 at scbus?

i specify that i tried uncommenting all the last "device"-lines (of course only 
one for aha and so on , and individually, matching every time the controller i 
pushed in the slot, but i had no luck. it does not appear in any way whn i boot, 
the kernel only says (for the current listed config, but also for the ones 
before, with small variations):

real memory  = 201326592 (196608K bytes)
config> di pcic0
No such device: pcic0
Invalid command or syntax.  Type `?' for help.
config> di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config> di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config> di ie0
config> di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config> di bt0
config> di aic0
config> di aha0
config> di adv0
No such device: adv0
Invalid command or syntax.  Type `?' for help.
config> en npx0
config> po npx0 0xf0
config> ir npx0 13
config> f npx0 0
config> q
avail memory = 191516672 (187028K bytes)
Preloaded elf kernel "kernel" at 0xc042b000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc042b09c.
netsmb_dev: loaded
K6-family MTRR support enabled (2 registers)
md0: Malloc disk
Using $PIR table, 4 entries at 0xc00fd9f0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <VIA 82C597 (Apollo VP3) host to PCI bridge> mem 0xe0000000-0xe1ffffff at 
device 0.0 on pci0
pcib1: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva TNT2 graphics accelerator> at 0.0 irq 10
isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C586 ATA33 controller> port 0xe000-0xe00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 9 at device 7.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <unknown card> (vendor=0x1106, dev=0x3040) at 7.3
de0: <Digital 21041 Ethernet> port 0xe800-0xe87f mem 0xe7000000-0xe700007f irq 
10 at device 8.0 on pci0
de0: 21041 [10Mb/s] pass 1.1
de0: address 00:80:ad:a9:2f:2d
bktr0: <BrookTree 878> mem 0xe7001000-0xe7001fff irq 9 at device 9.0 on pci0
iicbb0: <I2C bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicbus1: <Philips I2C bus> on iicbb0 master-only
smbus0: <System Management Bus> on bti2c0
bktr0: Hauppauge Model 44854 D142
bktr0: Detected a MSP3415G-B8 at 0x80
bktr0: Hauppauge WinCast/TV, Philips FR1216 PAL FM tuner, msp3400c stereo.
pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 9.1 irq 9
rl0: <RealTek 8139 10/100BaseTX> port 0xec00-0xecff mem 0xe7003000-0xe70030ff 
irq 9 at device 10.0 on pci0
rl0: Ethernet address: 00:c0:df:05:01:2a
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
joy0 at port 0x201 on isa0
sbc0: <Creative ViBRA16X> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 
1,3 on isa0
pcm0: <SB16 DSP 4.16 (ViBRA16X)> on sbc0
joy1: <Generic PnP Joystick> at port 0x200 on isa0
unknown: <PNP0000> can't assign resources
unknown: <PNP0303> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0400> can't assign resources
unknown: <PNP0501> can't assign resources
de0: enabling 10baseT port
DUMMYNET initialized (011031)
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, 
default to deny, unlimited logging
ad0: 8063MB <QUANTUM FIREBALL CR8.4A> [16383/16/63] at ata0-master UDMA33
ad3: 811MB <ST3850A> [1648/16/63] at ata1-slave WDMA2
acd0: CDROM <SAMSUNG SC-140B> at ata1-master PIO4
(noperiph:xpt0:0:-1:-1): xpt_compile_path
(noperiph:xpt0:0:-1:-1): xpt_setup_ccb
(noperiph:xpt0:0:-1:-1): xpt_action
(noperiph:xpt0:0:-1:-1): xpt_free_path
(noperiph:xpt0:0:-1:-1): xpt_release_path
(noperiph:xpt0:0:-1:-1): xpt_compile_path
(noperiph:xpt0:0:-1:-1): xpt_setup_ccb
(noperiph:xpt0:0:-1:-1): xpt_action
(noperiph:xpt0:0:-1:-1): xpt_free_path
(noperiph:xpt0:0:-1:-1): xpt_release_path
(noperiph:xpt0:0:-1:-1): xpt_compile_path
(noperiph:xpt0:0:-1:-1): xpt_setup_ccb
(noperiph:xpt0:0:-1:-1): xpt_action
(noperiph:xpt0:0:-1:-1): xpt_free_path
(noperiph:xpt0:0:-1:-1): xpt_release_path
Mounting root from ufs:/dev/ad0s1a
de0: enabling 10baseT port
de0: abnormal interrupt: receive process stopped
logo_saver: no suitable graphics mode
module_register_init: MOD_LOAD (logo_saver, c1435a44, 0) error 19

nothing more...
the 2 controllers with BIOS both see my CD-RW drive, though i only know how to 
enter the BIOS of the AHA-1542C, as i use one on Windoze, also. So i can assume 
for the 1542C i've configured all ok, it only says "BIOS not installed - no 
INT13H devices found" as i have no HDD on the controller.
on the BT545S i have no idea on how to enter the BIOS, but it also reports my 
CD-RW drive on booting.
I've chosen IRQ11 for all controllers, jumpered everythig correctly, set "Legacy 
ISA" for IRQ11 in the BIOS, and all other jumpers are ok, afaik, as i've looked 
on available docs, and the controllers also report my drive.
only the 1505 has no BIOS, so i don't know if it's ok, but i assume, have looked 
on all the jumpers, and set it up on another Windoze machine with no probs...

so, anybody any idea? i have found nothing on the web, all had problems related 
to the devices, but i can't even *SEE* the controller... i assume there's smtg 
bad about my kernel... if it's needed, i can send my kernel file, don't send it 
now, as this mail is already very long.

thank you for your replies, i badly need an advice, not only because i have to 
use this writer, but also because all my linux-usng co-workers are already 
mocking on me can't say i'm a pro on FreeBSD, but no newbie either...

PS: please reply also to andrei at abc.ro as i'm not on this particular FreeBSD list.


-- 
ANdrei R.
Software Developer
Cronon AG
Regensburg / Germany

------------------------------------[ http://www.goanga.com ]---
      _     _
    o' \.=./ `o   The only people who find what they're looking
       (o o)      for in life are the ones looking for mistakes.
--ooO--(_)--Ooo-------------------------------------------------



More information about the freebsd-hardware mailing list