Barry,

I think I know the problem you have.

When "device scbus0" changed to "device scbus" in LINT and I applied
that to my config file I found I could no longer wire down my disks
to scbus0 unless I changed the base SCSI code line back to "device
scbus0".

This is what I have:

device          scbus0                  # Base SCSI code
device          da0     at scbus0 target 0
device          da1     at scbus0 target 1
device          da2     at scbus0 target 2
device          da3     at scbus0 target 3
device          da4     at scbus0 target 4
device          da5     at scbus0 target 5
device          da6     at scbus0 target 6

And it works fine.


On Mon, 7 Feb 2000, tele danmarQ kvindeservice wrote:

> On Mon, 7 Feb 1900, Noted Usenet Pedophile Barry Bouwsma wrote:
> 
> > More about this later.
> 
> Here's more now:
> 
> 
> Here is FreeBSD-*STABLE* as it properly wires the devices to where
> I want them to be (highlighted by ^^^^^)
> 
> The kernel configuration looks like this (meat stripped away)
> 
> 
> machine               "i386"
> cpu           "I586_CPU"
> ident         FLUFFY
> 
> controller    ahc0            # AHA2940 and onboard AIC7xxx devices
> 
> controller    scbus0          # SCSI bus (required)
> device                da0             # Direct Access (disks)
> device                cd0             # CD
> device                pass0           # Passthrough device (direct SCSI)
> 
> device                wt0     at isa? port 0x308 bio irq 3 drq 3
> 
> disk          da0 at scbus0 target 1
> 
> 
> Feb  6 18:30:22 netscum syslogd: exiting on signal 15
> Feb  6 20:25:42 netscum /kernel: Copyright (c) 1992-1999 FreeBSD Inc.
> Feb  6 20:25:42 netscum /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
> Feb  6 20:25:42 netscum /kernel: The Regents of the University of California. All 
>rights reserved.
> Feb  6 20:25:42 netscum /kernel: FreeBSD 3.4-STABLE #5: Sat Jan 29 03:35:23 CET 2000
> Feb  6 20:25:42 netscum /kernel: [EMAIL PROTECTED]:/usr/src/sys/compile/FLUFFY
> Feb  6 20:25:42 netscum /kernel: Timecounter "i8254"  frequency 1193182 Hz
> Feb  6 20:25:42 netscum /kernel: CPU: Pentium/P55C (167.05-MHz 586-class CPU)
> Feb  6 20:25:42 netscum /kernel: Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
> Feb  6 20:25:42 netscum /kernel: 
>Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
> Feb  6 20:25:43 netscum /kernel: real memory  = 67108864 (65536K bytes)
> Feb  6 20:25:43 netscum /kernel: config> di wdc1
> Feb  6 20:25:43 netscum /kernel: config> q
> Feb  6 20:25:43 netscum /kernel: avail memory = 61956096 (60504K bytes)
> Feb  6 20:25:43 netscum /kernel: Preloaded elf kernel "kernel" at 0xc031c000.
> Feb  6 20:25:43 netscum /kernel: Preloaded userconfig_script "/boot/kernel.conf" at 
>0xc031c09c.
> [...]
> Feb  6 20:25:43 netscum /kernel: ide_pci0: <Intel PIIX3 Bus-master IDE controller> 
>rev 0x00 on pci0.7.1
> Feb  6 20:25:43 netscum /kernel: ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x00 
>int a irq 11 on pci0.10.0
> Feb  6 20:25:43 netscum /kernel: ahc0: aic7880 Single Channel A, SCSI Id=7, 16/255 
>SCBs
> [...]
> Feb  6 20:25:43 netscum /kernel: wt0 not probed due to drq conflict with pcm1 at 1
> Feb  6 20:25:44 netscum /kernel: ppc0 at 0x378 irq 7 flags 0x40 on isa
> Feb  6 20:25:44 netscum /kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in 
>COMPATIBLE mode
> Feb  6 20:25:44 netscum /kernel: ppc0: FIFO with 16/16/16 bytes threshold
> Feb  6 20:25:44 netscum /kernel: lnc0 not found at 0x280
> Feb  6 20:25:44 netscum /kernel: vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on 
>isa
> Feb  6 20:25:44 netscum /kernel: npx0 on motherboard
> Feb  6 20:25:44 netscum /kernel: npx0: INT 16 interface
> Feb  6 20:25:44 netscum /kernel: Intel Pentium detected, installing workaround for 
>F00F bug
> Feb  6 20:25:44 netscum /kernel: IP packet filtering initialized, divert enabled, 
>rule-based forwarding disabled, default to accept, logging limited to 100 
>packets/entry by default
> Feb  6 20:25:44 netscum /kernel: ccd0-3: Concatenated disk drivers
> Feb  6 20:25:44 netscum /kernel: changing root device to da0s3a
> Feb  6 20:25:44 netscum /kernel: da1 at ahc0 bus 0 target 0 lun 0
>                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Feb  6 20:25:44 netscum /kernel: da1: <IBM DPES-31080 S31Q> Fixed Direct Access 
>SCSI-2 device 
> Feb  6 20:25:44 netscum /kernel: da1: 10.000MB/s transfers (10.000MHz, offset 15), 
>Tagged Queueing Enabled
> Feb  6 20:25:44 netscum /kernel: da1: 1034MB (2118144 512 byte sectors: 255H 63S/T 
>131C)
> Feb  6 20:25:44 netscum /kernel: cd0 at ahc0 bus 0 target 6 lun 0
> Feb  6 20:25:44 netscum /kernel: cd0: <SONY CD-ROM CDU-561 1.9i> Removable CD-ROM 
>SCSI-2 device 
> Feb  6 20:25:44 netscum /kernel: cd0: 4.032MB/s transfers (4.032MHz, offset 15)
> Feb  6 20:25:44 netscum /kernel: cd0: cd present [328664 x 2048 byte records]
> Feb  6 20:25:44 netscum /kernel: da0 at ahc0 bus 0 target 1 lun 0
>                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Feb  6 20:25:44 netscum /kernel: da0: <IBM DCAS-34330 S65A> Fixed Direct Access 
>SCSI-2 device 
> Feb  6 20:25:44 netscum /kernel: da0: 10.000MB/s transfers (10.000MHz, offset 15)
> Feb  6 20:25:44 netscum /kernel: da0: 4134MB (8467200 512 byte sectors: 255H 63S/T 
>527C)
> Feb  6 20:25:44 netscum /kernel: da2 at ahc0 bus 0 target 2 lun 0
> Feb  6 20:25:44 netscum /kernel: da2: <IBM DORS-32160W WA6A> Fixed Direct Access 
>SCSI-2 device 
> Feb  6 20:25:44 netscum /kernel: da2: 10.000MB/s transfers (10.000MHz, offset 15), 
>Tagged Queueing Enabled
> Feb  6 20:25:44 netscum /kernel: da2: 2063MB (4226725 512 byte sectors: 255H 63S/T 
>263C)
> Feb  6 20:25:44 netscum xntpd[143]: xntpd version=3.4e (beta multicast); Sun Jan 30 
>02:55:29 CET 2000 (1)
> 
> 
> 
> 
> Here is the FreeBSD-*CURRENT* boot, *not* when things fail, but so
> you can see what things look like when the wired device is in fact
> the first device.
> 
> 
> The relevant parts of the kernel configuration file look like this:
> 
> 
> machine               i386
> cpu           I586_CPU
> ident         UNSTABLE
> maxusers      32
> 
> device                ahc             # AHA2940 and onboard AIC7xxx devices
> 
> 
> device                scbus           # SCSI bus (required)
> device                da              # Direct Access (disks)
> device                cd              # CD
> device                pass            # Passthrough device (direct SCSI access)
> 
> 
> device        scbus0 at ahc0          # Single bus device
> device        da0 at scbus0 target 1
> 
> 
> 
> FreeBSD 4.0-CURRENT #8: Mon Feb  7 17:42:18 CET 2000
>     [EMAIL PROTECTED]:/usr/src/sys/compile/UNSTABLE
> [...]
> ahc0: <Adaptec 2940 SCSI adapter> port 0xd800-0xd8ff mem 0xf9800000-0xf9800fff irq 
>10 at device 11.0 on pci0
> ahc0: aic7870 Single Channel A, SCSI Id=7, 16/255 SCBs
> [...]
> pca0 at port 0x40 on isa0
> joy0 at port 0x201 on isa0
> IP packet filtering initialized, divert disabled, rule-based forwarding disabled, 
>logging limited to 100 packets/entry by default
> IPsec: Initialized Security Association Processing.
> (da0:ahc0:0:1:0): Duplicate Wired Device entry!
> (da0:ahc0:0:1:0): Second device will not be wired
> (da0:ahc0:0:1:0): Duplicate Wired Device entry!
> (da0:ahc0:0:1:0): Second device will not be wired
> Mounting root from ufs:/dev/da0s1a
> da1 at ahc0 bus 0 target 2 lun 0
> da1: <IBM DPES-31080 S31Q> Fixed Direct Access SCSI-2 device 
> da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
> da1: 1034MB (2118144 512 byte sectors: 255H 63S/T 131C)
> da0 at ahc0 bus 0 target 1 lun 0
> da0: <IBM DCAS-34330 S65A> Fixed Direct Access SCSI-2 device 
> da0: 10.000MB/s transfers (10.000MHz, offset 15)
> da0: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C)
> cd0 at ahc0 bus 0 target 6 lun 0
> cd0: <SONY CD-ROM CDU-561 1.9i> Removable CD-ROM SCSI-2 device 
> cd0: 4.032MB/s transfers (4.032MHz, offset 15)
> cd0: Attempt to query device size failed: NOT READY, Medium not present
> da2 at ahc0 bus 0 target 4 lun 0
> da2: <IBM DORS-32160W WA6A> Fixed Direct Access SCSI-2 device 
> da2: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
> da2: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
> fxp0: starting DAD for fe80:0001::0290:27ff:fe27:6115
> fxp0: DAD complete for fe80:0001::0290:27ff:fe27:6115 - no duplicates found
> 
> 
> 
> What it looks like when it fails is pretty much what I typed in for
> my first message, da0 being asigned to target 0, while target 1 (the
> desired da0) was assigned to da1.  The remainder is comparable to
> what you see above.
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 



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

Reply via email to