Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2000 21:34:45 -0800 (PST)
From:      Jamie Bowden <ragnar@sysabend.org>
To:        hackers@FreeBSD.org
Subject:   Possible bug in 3.4
Message-ID:  <Pine.BSF.4.10.10003232110420.62126-100000@moo.sysabend.org>

next in thread | raw e-mail | index | archive | help

I have the following setup on my machine at home:

12:09am animaniacs  /home/jamie %cat /var/run/dmesg.boot 
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.4-RELEASE #1: Fri Mar 10 20:15:03 EST 2000
    jamie@animaniacs:/usr/src/sys/compile/animaniacs
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 233865082 Hz
CPU: AMD-K6tm w/ multimedia extensions (233.87-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x562  Stepping = 2
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
  AMD Features=0x400<<b10>>
real memory  = 134217728 (131072K bytes)
avail memory = 127811584 (124816K bytes)
Preloaded elf kernel "kernel" at 0xc0290000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc029009c.
Probing for devices on PCI bus 0:
chip0: <VIA 82C595 (Apollo VP2) system controller> rev 0x06 on pci0.0.0
chip1: <VIA 82C586 PCI-ISA bridge> rev 0x27 on pci0.7.0
ide_pci0: <VIA 82C586x (Apollo) Bus-master IDE controller> rev 0x06 on
pci0.7.1
uhci0: <VIA 83C572 USB Host Controller> rev 0x02 int d irq 9 on pci0.7.2
ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x01 int a irq 10 on pci0.8.0
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
vga0: <Matrox MGA 2164W graphics accelerator> rev 0x00 int a irq 12 on
pci0.9.0
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x05 int a irq 9 on
pci0.11.0
fxp0: Ethernet address 00:a0:c9:e1:6d:b0
Probing for PnP devices:
CSN 1 Vendor ID: ADP1510 [0x10159004] Serial 0x37b48d60 Comp ID: @@@0000
[0x00000000]
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <8 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
fd1: 1.2MB 5.25in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
wdc0: unit 0 (wd0): <WDC AC22500L>, DMA, 32-bit, multi-block-16
wd0: 2441MB (4999680 sectors), 4960 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa
wdc1: unit 0 (wd2): <WDC AC31000F>, 32-bit, multi-block-16
wd2: 1033MB (2116800 sectors), 2100 cyls, 16 heads, 63 S/T, 512 B/S
ppc0 at 0x378 irq 7 on isa
ppc0: Winbond chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppb0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <HEWLETT-PACKARD DESKJET 680C> MLC,PCL,PML
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
aic0 at 0x340-0x35f irq 11 on isa
aic0: aic6360, disconnection
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
sb0 at 0x220 irq 5 drq 1 on isa
snd0: <SoundBlaster 16 4.11> 
sbxvi0 at drq 5 on isa
snd0: <SoundBlaster 16 4.11> 
sbmidi0 at 0x330 on isa
snd0: <SoundBlaster MPU-401> 
opl0 at 0x388 on isa
snd0: <Yamaha OPL3 FM> 
joy0 at 0x201 on isa
joy0: joystick
usb0: <VIA 83C572 USB Host Controller>
uhub0 at usb0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Waiting 5 seconds for SCSI devices to settle
pass3 at aic0 bus 0 target 3 lun 0
pass3: <HP C6270A 3824> Fixed Processor SCSI-2 device 
pass3: 3.300MB/s transfers
changing root device to da0s4a
da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST34371N 0484> Fixed Direct Access SCSI-2 device 
da1: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da1: 4148MB (8496884 512 byte sectors: 255H 63S/T 528C)
cd0 at ahc0 bus 0 target 6 lun 0
cd0: <PLEXTOR CD-ROM PX-32CS 1.00> Removable CD-ROM SCSI-2 device 
cd0: 20.000MB/s transfers (20.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DDRS-34560W S71D> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing
Enabled
da0: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)

camcontrol shows the following:

12:14am animaniacs  /home/jamie %runas camcontrol devlist -v
scbus-1 on xpt0 bus 0:
<  >                               at scbus-1 target -1 lun -1 (xpt0)
scbus0 on ahc0 bus 0:
<IBM DDRS-34560W S71D>             at scbus0 target 0 lun 0 (pass0,da0)
<SEAGATE ST34371N 0484>            at scbus0 target 1 lun 0 (pass1,da1)
<PLEXTOR CD-ROM PX-32CS 1.00>      at scbus0 target 6 lun 0 (pass2,cd0)
<  >                               at scbus0 target -1 lun -1 ()
scbus1 on aic0 bus 0:
<HP C6270A 3824>                   at scbus1 target 3 lun 0 (pass3)
<  >                               at scbus1 target -1 lun -1 ()

What I am attempting to do is add a tape drive to scbus1 at SCSI ID 4.

aic0 is an Adaptec 1510B PnP ISA card, which works fine as evidenced
above.

The problem is when I add the tape drive to the chain.  The tape device is
internal, with termination on the end of the internal cable.  The scanner
terminates the external segment.  Termination on the card is disabled.

Once I plug the tape drive in, FreeBSD will not boot.  NT and 98 both come
up fine, and recognize the tape drive.  They both use the 4mm DAT device. 
I ran a test backup under 98 just to make sure the drive is functioning
properly.  The drive is a python archive (or maybe the other way around).

If I plug the drive in after boot, and attempt to rescan the SCSI bus
FreeBSD locks up, which isn't a huge surprise, since I can't quiesce the
bus before plugging in the tape drive.  It was worth a shot.

From a cold or warm boot the kernel loads, and when it probes SCSI
devices, the machine locks up if the tape drive is plugged in.

Here's the config file from the machine in question:

12:15am animaniacs  /home/jamie %cat /usr/src/sys/i386/conf/animaniacs 
machine         "i386"
cpu             "I586_CPU"              #aka Pentium(tm)
ident           animaniacs
maxusers        64
options         INCLUDE_CONFIG_FILE     #Include this file in kernel
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep
this!]
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP
THIS!]
options         SCSI_DELAY=5000         #Be pessimistic about Joe SCSI
device
options         IDE_DELAY=5000          #Be optimistic about Joe IDE
device
options         UCONSOLE                #Allow users to grab the console
options         USER_LDT                #allow user-level control of i386
ldt
options         "CPU_FASTER_5X86_FPU"
options         "CPU_WT_ALLOC"
options         "NO_F00F_HACK"
options         "NO_MEMORY_HOLE"
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options         AHC_ALLOW_MEMIO
options         "VM86"
options         VESA                    #needs VM86 defined too!!
options         MROUTING                #Multicast routing
options         "ICMP_BANDLIM"
options         MAXCONS=8               #number of virtual consoles
options         "AUTO_EOI_1"
options         "AUTO_EOI_2"
config          kernel  root on da0
controller      pnp0
controller      isa0
controller      pci0
controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2
disk            fd0     at fdc0 drive 0
disk            fd1     at fdc0 drive 1
controller      wdc0    at isa? port "IO_WD1" bio irq 14 flags 0xa0ffa0ff
disk            wd0     at wdc0 drive 0
controller      wdc1    at isa? port "IO_WD2" bio irq 15 flags 0xa0ffa0ff
disk            wd2     at wdc1 drive 0
controller      aic0    at isa? port ? cam irq ?
controller      ahc0
controller      scbus0  at ahc0         #base SCSI code
controller      scbus1  at aic0
device          da0                     #SCSI direct access devices (aka
disks)
device          pass0                   #CAM passthrough driver
device          cd0                     #SCSI CD-ROMs
device          ch0                     #SCSI media changer
device          sa0                     #SCSI tape device
device          od0                     #SCSI optical device
device          sc0     at isa? tty
controller      atkbdc0 at isa? port IO_KBD tty
device          atkbd0  at isa? tty irq 1
device          vga0    at isa? port ? conflicts
device          npx0    at isa? port IO_NPX iosiz 0x0 flags 0x0 irq 13
device          sio0    at isa? port "IO_COM1" tty irq 4
device          sio1    at isa? port "IO_COM2" tty irq 3
#device         psm0    at isa? tty irq 12
device          fxp0
controller      snd0
device          sb0     at isa? port 0x220 irq 5 drq 1
device          sbxvi0  at isa? drq 5
device          sbmidi0 at isa? port 0x330
device          opl0    at isa? port 0x388
device          joy0    at isa? port "IO_GAME"
controller      uhci0
controller      usb0
device          uhub0
device          ugen0
controller      ppc0    at isa? port? net irq 7
controller      ppbus0
device          lpt0    at ppbus?
device          plip0   at ppbus?
device          ppi0    at ppbus?
pseudo-device   loop                    #Network loopback device
pseudo-device   ether                   #Generic Ethernet
pseudo-device   pty     64              #Pseudo ttys - can go as high as
256
pseudo-device   ppp     2               #Point-to-point protocol
pseudo-device   splash
pseudo-device   gzip                    # Exec gzipped a.out's

Am I just being an idiot and missing something plain as day here, or is
there a real problem?

Jamie Bowden

-- 

"Of course, that's sort of like asking how other than Marketing, 
Microsoft is different from any other software company..."
Kenneth G. Cavness



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10003232110420.62126-100000>