From owner-freebsd-scsi Tue Dec 29 17:43:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA12278 for freebsd-scsi-outgoing; Tue, 29 Dec 1998 17:43:37 -0800 (PST) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA12221 for ; Tue, 29 Dec 1998 17:43:29 -0800 (PST) (envelope-from sthaug@nethelp.no) From: sthaug@nethelp.no Received: (qmail 27333 invoked by uid 1001); 30 Dec 1998 01:43:10 +0000 (GMT) To: nsouch@teaser.fr Cc: freebsd-current@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: Request fo help with Zip Drive on vpo0 in -current] In-Reply-To: Your message of "Wed, 30 Dec 1998 01:48:00 +0100" References: <26784.914978880@verdi.nethelp.no> X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Wed, 30 Dec 1998 02:43:10 +0100 Message-ID: <27331.914982190@verdi.nethelp.no> Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > What finally made it work for me was: EPP mode in the BIOS, and > > controller ppc0 at isa? port ? tty irq 7 > > in the kernel config. Ie. no flags at all. With this setup, my Zip drive > is detected as > > da1 at vpo0 bus 0 target 6 lun 0 > da1: Removable Direct Access SCSI-2 device > da1: 196608 512 byte sectors: 64H 32S/T 96C A followup: There is probably a timing-related issue here. If I remove the various CAMDEBUG options, the Zip drive isn't detected. With the CAMDEBUG options (and thus lots of extra printout), it is detected. Verbose boot or not makes no difference. A diff between the boot -v messages: 211a212,222 > (probe7:vpo0:0:6:0): INQUIRY. CDB: 12 1 80 0 ff 0 > (probe7:vpo0:0:6:0): ILLEGAL REQUEST asc:24,0 > (probe7:vpo0:0:6:0): Invalid field in CDB > (noperiph:xpt0:0:X:X): xpt_compile_path > (noperiph:xpt0:0:X:X): xpt_setup_ccb > (noperiph:xpt0:0:X:X): xpt_action > (noperiph:xpt0:0:X:X): xpt_free_path > (noperiph:xpt0:0:X:X): xpt_release_path > (noperiph:xpt0:0:X:X): xpt_compile_path > (noperiph:xpt0:0:X:X): xpt_setup_ccb > (noperiph:xpt0:0:X:X): xpt_action 215a227,231 > (noperiph:xpt0:0:X:X): xpt_free_path > (noperiph:xpt0:0:X:X): xpt_release_path > (noperiph:xpt0:0:X:X): xpt_compile_path > (noperiph:xpt0:0:X:X): xpt_setup_ccb > (noperiph:xpt0:0:X:X): xpt_action 224,225c240,243 < Considering FFS root f/s. < changing root device to da0s1a --- > pass2 at vpo0 bus 0 target 6 lun 0 > pass2: Removable Direct Access SCSI-2 device > (noperiph:xpt0:0:X:X): xpt_free_path > (noperiph:xpt0:0:X:X): xpt_release_path 230a249,253 > da1 at vpo0 bus 0 target 6 lun 0 > da1: Removable Direct Access SCSI-2 device > da1: 96MB (196608 512 byte sectors: 64H 32S/T 96C) > Considering FFS root f/s. > changing root device to da0s1a Below is the complete boot -v output from a kernel with the CAMDEBUG options. Steinar Haug, Nethelp consulting, sthaug@nethelp.no ---------------------------------------------------------------------- Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #2: Wed Dec 30 02:23:08 CET 1998 sthaug@overdi.nethelp.no:/local/freebsd/src/sys/compile/OVERDI Calibrating clock(s) ... TSC clock: 133278140 Hz, i8254 clock: 1193692 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method Timecounter "TSC" frequency 133221833 Hz CPU: Pentium/P54C (133.22-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52b Stepping=11 Features=0x1bf real memory = 67108864 (65536K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00270000 - 0x03ff7fff, 64520192 bytes (15752 pages) config> quit avail memory = 62771200 (61300K bytes) Found BIOS32 Service Directory header at 0xf00fb2e0 Entry = 0xfb790 (0xf00fb790) Rev = 0 Len = 1 PCI BIOS entry at 0xb7c0 Other BIOS signatures found: ACPI: 00000000 $PnP: 000fc040 Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=122d8086) Probing for devices on PCI bus 0: found-> vendor=0x8086, dev=0x122d, revid=0x02 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 chip0: rev 0x02 on pci0.0.0 CPU Inactivity timer: clocks Peer Concurrency: enabled CPU-to-PCI Write Bursting: enabled PCI Streaming: enabled Bus Concurrency: enabled Cache: 512K dual-bank pipelined-burst secondary; L1 enabled DRAM: no memory hole, 66 MHz refresh Read burst timing: x-2-2-2/x-3-3-3 Write burst timing: x-2-2-2 RAS-CAS delay: 3 clocks found-> vendor=0x8086, dev=0x122e, revid=0x02 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 chip1: rev 0x02 on pci0.7.0 I/O Recovery Timing: 8-bit 1 clocks, 16-bit 1 clocks Extended BIOS: enabled Lower BIOS: enabled Coprocessor IRQ13: enabled Mouse IRQ12: disabled Interrupt Routing: A: IRQ10, B: IRQ11, C: disabled, D: IRQ9 MB0: IRQ15, MB1: IRQ7 found-> vendor=0x8086, dev=0x1230, revid=0x02 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[0]: type 4, range 32, base 00003000, size 4 ide_pci0: rev 0x02 on pci0.7.1 intel_piix_status: primary master/slave sample = 5, master/slave recovery = 4 intel_piix_status: primary master fastDMAonly disabled, pre/post disabled, intel_piix_status: IORDY sampling disabled, intel_piix_status: fast PIO disabled intel_piix_status: primary master/slave sample = 5, master/slave recovery = 4 intel_piix_status: primary slave fastDMAonly disabled, pre/post disabled, intel_piix_status: IORDY sampling disabled, intel_piix_status: fast PIO disabled ide_pci: busmaster 0 status: 04 from port: 00003002 intel_piix_status: secondary master/slave sample = 5, master/slave recovery = 4 intel_piix_status: secondary master fastDMAonly disabled, pre/post disabled, intel_piix_status: IORDY sampling disabled, intel_piix_status: fast PIO disabled intel_piix_status: secondary master/slave sample = 5, master/slave recovery = 4 intel_piix_status: secondary slave fastDMAonly disabled, pre/post disabled, intel_piix_status: IORDY sampling disabled, intel_piix_status: fast PIO disabled ide_pci: busmaster 1 status: 04 from port: 0000300a found-> vendor=0x1000, dev=0x0001, revid=0x02 class=01-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[0]: type 4, range 32, base 00006000, size 8 map[1]: type 1, range 32, base f1100000, size 8 ncr0: rev 0x02 int a irq 10 on pci0.17.0 ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo ncr0: single-ended, open drain IRQ driver found-> vendor=0x1011, dev=0x0009, revid=0x22 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[0]: type 4, range 32, base 00006100, size 7 map[1]: type 1, range 32, base f1102000, size 7 de0: rev 0x22 int a irq 11 on pci0.18.0 de0: ACCTON EN1207 21140A [10-100Mb/s] pass 2.2 de0: address 00:00:e8:3a:b8:a9 bpf: de0 attached found-> vendor=0x1002, dev=0x4758, revid=0x03 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[0]: type 1, range 32, base f0000000, size 24 vga0: rev 0x03 on pci0.19.0 found-> vendor=0x8086, dev=0x1229, revid=0x02 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[0]: type 3, range 32, base f1101000, size 12 map[1]: type 4, range 32, base 00006200, size 5 map[2]: type 1, range 32, base f1000000, size 20 fxp0: rev 0x02 int a irq 9 on pci0.20.0 fxp0: Ethernet address 00:a0:c9:42:b7:5a bpf: fxp0 attached Probing for devices on the ISA bus: video: RTC equip. code:0x0f, DCC code:0xf9 video: CRTC:0x3d4, video option:0x60, rows:80, cols:25, font height:16 video: param table EGA/VGA:0xf00c02d4, CGA/MDA:0 video: rows_offset:1 video#0: adapter type:VGA (5), flags:0x7f, CRTC:0x3d4 video#0: init mode:24, bios mode:3, current mode:24 video#0: window:0xf00b8000 size:32k gran:32k, buf:0xf0000000 size:0k video#0: mode:0, flags:0x1 T 40x25, font:8x8, win:0xb8000 video#0: mode:1, flags:0x1 T 40x25, font:8x8, win:0xb8000 video#0: mode:2, flags:0x1 T 80x25, font:8x8, win:0xb8000 video#0: mode:3, flags:0x1 T 80x25, font:8x8, win:0xb8000 video#0: mode:19, flags:0x1 T 40x25, font:8x14, win:0xb8000 video#0: mode:20, flags:0x1 T 40x25, font:8x14, win:0xb8000 video#0: mode:21, flags:0x1 T 80x25, font:8x14, win:0xb8000 video#0: mode:22, flags:0x1 T 80x25, font:8x14, win:0xb8000 video#0: mode:23, flags:0x1 T 40x25, font:8x16, win:0xb8000 video#0: mode:25, flags:0x0 T 80x25, font:8x16, win:0xb0000 video#0: mode:24, flags:0x1 T 80x25, font:8x16, win:0xb8000 video#0: mode:7, flags:0x0 T 80x25, font:8x14, win:0xb0000 video#0: mode:112, flags:0x1 T 80x43, font:8x8, win:0xb8000 video#0: mode:113, flags:0x1 T 80x43, font:8x8, win:0xb8000 video#0: mode:33, flags:0x0 T 80x30, font:8x16, win:0xb0000 video#0: mode:32, flags:0x1 T 80x30, font:8x16, win:0xb8000 video#0: mode:31, flags:0x0 T 80x50, font:8x8, win:0xb0000 video#0: mode:30, flags:0x1 T 80x50, font:8x8, win:0xb8000 video#0: mode:35, flags:0x0 T 80x60, font:8x8, win:0xb0000 video#0: mode:34, flags:0x1 T 80x60, font:8x8, win:0xb8000 video#0: mode:4, flags:0x3 G 320x200x2, 1 plane(s), font:8x8, win:0xb8000 video#0: mode:5, flags:0x3 G 320x200x2, 1 plane(s), font:8x8, win:0xb8000 video#0: mode:6, flags:0x3 G 640x200x1, 1 plane(s), font:8x8, win:0xb8000 video#0: mode:13, flags:0x3 G 320x200x4, 4 plane(s), font:8x8, win:0xa0000 video#0: mode:14, flags:0x3 G 640x200x4, 4 plane(s), font:8x8, win:0xa0000 video#0: mode:15, flags:0x2 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000 video#0: mode:17, flags:0x2 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000 video#0: mode:16, flags:0x3 G 640x350x2, 2 plane(s), font:8x14, win:0xa0000 video#0: mode:18, flags:0x3 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000 video#0: mode:26, flags:0x3 G 640x480x4, 4 plane(s), font:8x16, win:0xa0000 video#0: mode:27, flags:0x3 G 640x480x4, 4 plane(s), font:8x16, win:0xa0000 video#0: mode:28, flags:0x3 G 320x200x8, 1 plane(s), font:8x8, win:0xa0000 video#0: mode:37, flags:0x3 G 320x240x8, 1 plane(s), font:8x8, win:0xa0000 VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: the current keyboard controller command byte 0047 kbdio: DIAGNOSE status:0055 kbdio: TEST_KBD_PORT status:0000 kbdio: RESET_KBD return code:00fa kbdio: RESET_KBD status:00aa sc0: keyboard device ID: ab41 sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ppc: parallel port found at 0x378 ppc0: SMC registers CR1=0xb6 CR4=0x1 EPP SPP ppc0 at 0x378 irq 7 on isa ppc0: SMC FDC37C665GT chipset (EPP/PS2/NIBBLE) in COMPATIBLE mode vpo0: on ppbus 0 vpo0: EPP 1.9 mode sio0: irq maps: 0x9 0x19 0x9 0x9 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1: irq maps: 0x1 0x9 0x1 0x1 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 wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa wdc0: unit 0 (wd0): , 32-bit, multi-block-16 wd0: 4134MB (8467200 sectors), 8400 cyls, 16 heads, 63 S/T, 512 B/S wd0: ATA INQUIRE valid = 0007, dmamword = 0407, apio = 0003, udma = 0007 npx0 on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 174428745 bytes/sec bzero() bandwidth = 87588683 bytes/sec imasks: bio c0084040, tty c003009a, net c0060a00 BIOS Geometries: 0:020efe3f 0..526=527 cylinders, 0..254=255 heads, 1..63=63 sectors 0 accounted for Device configuration finished. Intel Pentium detected, installing workaround for F00F bug bpf: tun0 attached bpf: ppp0 attached new masks: bio c0084040, tty c003009a, net c0070a9a bpf: lo0 attached Waiting 2 seconds for SCSI devices to settle ncr0: restart (scsi reset). (probe7:vpo0:0:6:0): INQUIRY. CDB: 12 1 80 0 ff 0 (probe7:vpo0:0:6:0): ILLEGAL REQUEST asc:24,0 (probe7:vpo0:0:6:0): Invalid field in CDB (noperiph:xpt0:0:X:X): xpt_compile_path (noperiph:xpt0:0:X:X): xpt_setup_ccb (noperiph:xpt0:0:X:X): xpt_action (noperiph:xpt0:0:X:X): xpt_free_path (noperiph:xpt0:0:X:X): xpt_release_path (noperiph:xpt0:0:X:X): xpt_compile_path (noperiph:xpt0:0:X:X): xpt_setup_ccb (noperiph:xpt0:0:X:X): xpt_action sa0 at ncr0 bus 0 target 0 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: Serial Number sa0: 5.0MB/s transfers (5.0MHz, offset 8) (noperiph:xpt0:0:X:X): xpt_free_path (noperiph:xpt0:0:X:X): xpt_release_path (noperiph:xpt0:0:X:X): xpt_compile_path (noperiph:xpt0:0:X:X): xpt_setup_ccb (noperiph:xpt0:0:X:X): xpt_action pass0 at ncr0 bus 0 target 0 lun 0 pass0: Removable Sequential Access SCSI-2 device pass0: Serial Number pass0: 5.0MB/s transfers (5.0MHz, offset 8) pass1 at ncr0 bus 0 target 2 lun 0 pass1: Fixed Direct Access SCSI-2 device pass1: Serial Number B3FS9312 pass1: 10.0MB/s transfers (10.0MHz, offset 8), Tagged Queueing Enabled pass2 at vpo0 bus 0 target 6 lun 0 pass2: Removable Direct Access SCSI-2 device (noperiph:xpt0:0:X:X): xpt_free_path (noperiph:xpt0:0:X:X): xpt_release_path da0 at ncr0 bus 0 target 2 lun 0 da0: Fixed Direct Access SCSI-2 device da0: Serial Number B3FS9312 da0: 10.0MB/s transfers (10.0MHz, offset 8), Tagged Queueing Enabled da0: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C) da1 at vpo0 bus 0 target 6 lun 0 da1: Removable Direct Access SCSI-2 device da1: 96MB (196608 512 byte sectors: 64H 32S/T 96C) Considering FFS root f/s. changing root device to da0s1a da0s1: type 0xa5, start 63, end = 8466254, size 8466192 : OK ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message