Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2001 13:08:51 +0200
From:      Clemens Hermann <haribeau@gmx.de>
To:        Mike Smith <msmith@freebsd.org>
Cc:        scsi@freebsd.org
Subject:   Re: 'mly' driver update/bugfix snapshot available
Message-ID:  <20010618130851.C1070@homer.local>
In-Reply-To: <200106180036.f5I0aXp03022@mass.dis.org> von Mike Smith <msmith@freebsd.org> am 17.Jun.2001 um 17:36:33 (-0700)
References:  <20010618015951.A405@homer.local> <200106180036.f5I0aXp03022@mass.dis.org>

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

--82I3+IH0IqGh5yIs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi Mike,

> You say that it "went through", but it sounds like there were problems 
> before it completed.  What really happened?

The test setup was as follows:
Drive0 and Drive1: 9 GB, System Mirror
Drive2 and Drive3: 36 GB, UserSpace Mirror
Drive4: 36 GB: Spare.

I tested as follows:
- Boot with every drive online
- removed drive0
- after the rebuild went through I re-inserted the drive
- removed drive4
- after the rebuild went through I re-inserted the drive

Each time when I removed a drive the spare drive was synchronized
(according to the lights on the backplane and the messages to syslog).

Afther the above procedure I could no longer access the system. I could
not read files or write files, the according error-messages are
attached. The system was yet unusable after the first synchronisation.

even a "halt" was not possible and after ctrl-alt-del the
synchronization of the array failed. 

During reboot the mylex-bios did not mention problems so all the drives must
have been set online. 

> I really need these messages to be able to help, here. 8(

O.k.. I just had to get another (IDE) drive because the problem really
was that syslog could no longer write to /var/log/messages because it
was on the array.
I attached the messages from the boot on till the shutdown. In the
middle the process I described above took place and produced quite ugly
messages :). The Kernel I used is the 4.3-Release Generic with the only
difference that the mly-driver has been deactivated and your module has
been used.

> > I booted a different kernel) but did not report problems.
> 
> I would have liked to know what happened if you rebooted with the 
> modified driver at this point.

The system boots, checks the drives and everything seems to work fine as
long as I do not remove a drive.
 
> > It might be possible that the error-messages were the result from the
> > driver trying to write to syslog
> 
> Unlikely; the driver just uses the normal kernel printf mechanisms.  If 
> /var was on the array, 

it was

> it's possible that writes were failing and thus 
> nothing ended up in the log.  A transcript from a serial console would be
> helpful here.

I used another drive but anyway I would be interested how I could send
the logs to another machine. Could you give me a pointer how this could
be done via serial or parallel cable?

/ch 

--82I3+IH0IqGh5yIs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=messages

Jun 18 13:46:25 hiob /kernel: Copyright (c) 1992-2001 The FreeBSD Project.
Jun 18 13:46:25 hiob /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Jun 18 13:46:25 hiob /kernel: The Regents of the University of California. All rights reserved.
Jun 18 13:46:25 hiob /kernel: FreeBSD 4.3-RELEASE #0: Mon Jun 18 02:57:03 CEST 2001
Jun 18 13:46:25 hiob /kernel: root@hiob.linuxlupe.de:/usr/src/sys/compile/TEST
Jun 18 13:46:25 hiob /kernel: Timecounter "i8254"  frequency 1193182 Hz
Jun 18 13:46:25 hiob /kernel: CPU: Pentium III/Pentium III Xeon/Celeron (999.72-MHz 686-class CPU)
Jun 18 13:46:25 hiob /kernel: Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
Jun 18 13:46:25 hiob /kernel: Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
Jun 18 13:46:25 hiob /kernel: real memory  = 1073676288 (1048512K bytes)
Jun 18 13:46:25 hiob /kernel: avail memory = 1041354752 (1016948K bytes)
Jun 18 13:46:25 hiob /kernel: Preloaded elf kernel "kernel" at 0xc0451000.
Jun 18 13:46:25 hiob /kernel: Preloaded elf module "mly.ko" at 0xc045109c.
Jun 18 13:46:25 hiob /kernel: Pentium Pro MTRR support enabled
Jun 18 13:46:25 hiob /kernel: md0: Malloc disk
Jun 18 13:46:25 hiob /kernel: npx0: <math processor> on motherboard
Jun 18 13:46:25 hiob /kernel: npx0: INT 16 interface
Jun 18 13:46:25 hiob /kernel: pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
Jun 18 13:46:25 hiob /kernel: pci0: <PCI bus> on pcib0
Jun 18 13:46:25 hiob /kernel: pci0: <ATI Mach64-GV graphics accelerator> at 2.0 irq 11
Jun 18 13:46:25 hiob /kernel: fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x5400-0x543f mem 0xfb000000-0xfb0fffff,0xfb201000-0xfb201fff irq 10 at device 3.0 on pci0
Jun 18 13:46:25 hiob /kernel: fxp0: Ethernet address 00:d0:b7:b6:c3:06
Jun 18 13:46:25 hiob /kernel: pcib1: <PCI to PCI bridge (vendor=8086 device=0962)> at device 7.0 on pci0
Jun 18 13:46:25 hiob /kernel: pci1: <PCI bus> on pcib1
Jun 18 13:46:25 hiob /kernel: mly0: <Mylex AcceleRAID 170> mem 0xfb500000-0xfb501fff irq 9 at device 7.1 on pci0
Jun 18 13:46:25 hiob /kernel: mly0: AcceleRAID 170  , 1 channel, firmware 6.00-7-00 (20001214), 64MB RAM
Jun 18 13:46:25 hiob /kernel: fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0x5440-0x547f mem 0xfb100000-0xfb1fffff,0xfb202000-0xfb202fff irq 5 at device 9.0 on pci0
Jun 18 13:46:25 hiob /kernel: fxp1: Ethernet address 00:02:b3:1a:e0:84
Jun 18 13:46:25 hiob /kernel: isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0
Jun 18 13:46:25 hiob /kernel: isa0: <ISA bus> on isab0
Jun 18 13:46:25 hiob /kernel: atapci0: <ServerWorks ROSB4 ATA33 controller> port 0x5480-0x548f,0x374-0x377,0x170-0x177 at device 15.1 on pci0
Jun 18 13:46:25 hiob /kernel: ata0: at 0x1f0 irq 14 on atapci0
Jun 18 13:46:25 hiob /kernel: ata1: at 0x170 irq 15 on atapci0
Jun 18 13:46:25 hiob /kernel: ohci0: <OHCI (generic) USB controller> mem 0xfb203000-0xfb203fff irq 9 at device 15.2 on pci0
Jun 18 13:46:25 hiob /kernel: usb0: OHCI version 1.0, legacy support
Jun 18 13:46:25 hiob /kernel: usb0: <OHCI (generic) USB controller> on ohci0
Jun 18 13:46:25 hiob /kernel: usb0: USB revision 1.0
Jun 18 13:46:25 hiob /kernel: uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
Jun 18 13:46:25 hiob /kernel: uhub0: 4 ports with 4 removable, self powered
Jun 18 13:46:25 hiob /kernel: pcib2: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
Jun 18 13:46:25 hiob /kernel: pci2: <PCI bus> on pcib2
Jun 18 13:46:25 hiob /kernel: ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0x5800-0x58ff mem 0xfd000000-0xfd000fff irq 9 at device 4.0 on pci2
Jun 18 13:46:25 hiob /kernel: aic7899: Wide Channel A, SCSI Id=7, 32/255 SCBs
Jun 18 13:46:25 hiob /kernel: ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0x6000-0x60ff mem 0xfd001000-0xfd001fff irq 11 at device 4.1 on pci2
Jun 18 13:46:25 hiob /kernel: aic7899: Wide Channel B, SCSI Id=7, 32/255 SCBs
Jun 18 13:46:25 hiob /kernel: fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
Jun 18 13:46:25 hiob /kernel: fdc0: FIFO enabled, 8 bytes threshold
Jun 18 13:46:25 hiob /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Jun 18 13:46:25 hiob /kernel: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
Jun 18 13:46:25 hiob /kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
Jun 18 13:46:25 hiob /kernel: kbd0 at atkbd0
Jun 18 13:46:25 hiob /kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Jun 18 13:46:25 hiob /kernel: sc0: <System console> at flags 0x100 on isa0
Jun 18 13:46:25 hiob /kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Jun 18 13:46:25 hiob /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
Jun 18 13:46:25 hiob /kernel: sio0: type 16550A
Jun 18 13:46:25 hiob /kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0
Jun 18 13:46:25 hiob /kernel: sio1: type 16550A
Jun 18 13:46:25 hiob /kernel: ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
Jun 18 13:46:25 hiob /kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
Jun 18 13:46:25 hiob /kernel: ppc0: FIFO with 16/16/8 bytes threshold
Jun 18 13:46:25 hiob /kernel: plip0: <PLIP network interface> on ppbus0
Jun 18 13:46:25 hiob /kernel: lpt0: <Printer> on ppbus0
Jun 18 13:46:25 hiob /kernel: lpt0: Interrupt-driven port
Jun 18 13:46:25 hiob /kernel: ppi0: <Parallel I/O> on ppbus0
Jun 18 13:46:25 hiob /kernel: ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
Jun 18 13:46:25 hiob /kernel: ad0: 19569MB <ST320430A> [39761/16/63] at ata0-master UDMA33
Jun 18 13:46:25 hiob /kernel: acd0: CDROM <CD-540E> at ata0-slave using PIO4
Jun 18 13:46:25 hiob /kernel: Waiting 15 seconds for SCSI devices to settle
Jun 18 13:46:25 hiob /kernel: sa0 at ahc0 bus 0 target 3 lun 0
Jun 18 13:46:25 hiob /kernel: sa0: <ECRIX VXA-1 2959> Removable Sequential Access SCSI-2 device 
Jun 18 13:46:25 hiob /kernel: sa0: 80.000MB/s transfers (40.000MHz, offset 32, 16bit)
Jun 18 13:46:25 hiob /kernel: da0 at mly0 bus 0 target 0 lun 0
Jun 18 13:46:25 hiob /kernel: da0: <RAID 1 online > Fixed Direct Access SCSI-3 device 
Jun 18 13:46:25 hiob /kernel: da0: 135.168MB/s transfers
Jun 18 13:46:25 hiob /kernel: da0: 8392MB (17186816 512 byte sectors: 255H 63S/T 1069C)
Jun 18 13:46:25 hiob /kernel: da1 at mly0 bus 0 target 1 lun 0
Jun 18 13:46:25 hiob /kernel: da1: <RAID 1 online > Fixed Direct Access SCSI-3 device 
Jun 18 13:46:25 hiob /kernel: da1: 135.168MB/s transfers
Jun 18 13:46:25 hiob /kernel: da1: 34712MB (71090176 512 byte sectors: 255H 63S/T 4425C)
Jun 18 13:46:25 hiob /kernel: Mounting root from ufs:/dev/da0s1a
Jun 18 13:48:07 hiob login: ROOT LOGIN (root) ON ttyv0
Jun 18 13:49:25 hiob /kernel: mly0: physical device 0:0  device cannot be accessed
Jun 18 13:49:25 hiob /kernel: mly0: logical device 0 (da0)  critical
Jun 18 13:49:25 hiob /kernel: mly0:  unknown event code - 61
Jun 18 13:49:25 hiob /kernel: (da0:mly0:0:0:0): lost device
Jun 18 13:49:25 hiob /kernel: mly0:  unknown event code - 162
Jun 18 13:50:01 hiob /kernel: spec_getpages:(#da/0x20004) I/O read failure: (error=6) bp 0xceb71088 vp 0xd9a28840
Jun 18 13:50:01 hiob /kernel: size: 8192, resid: 8192, a_count: 8192, valid: 0x0
Jun 18 13:50:01 hiob /kernel: nread: 0, reqpage: 0, pindex: 0, pcount: 2
Jun 18 13:51:31 hiob sendmail[251]: f5IBpVX00251: SYSERR(root): collect: Cannot write ./dff5IBpVX00251 (bffsync, uid=0): Device not configured
Jun 18 13:55:25 hiob /kernel: spec_getpages:(#da/0x20004) I/O read failure: (error=6) bp 0xceb71088 vp 0xd9a28840
Jun 18 13:55:25 hiob /kernel: size: 8192, resid: 8192, a_count: 8192, valid: 0x0
Jun 18 13:55:25 hiob /kernel: nread: 0, reqpage: 0, pindex: 0, pcount: 2
Jun 18 13:55:55 hiob /kernel: mly0: logical device 0 (da0)  rebuild completed
Jun 18 13:55:55 hiob /kernel: mly0: physical device 0:4  rebuild completed
Jun 18 13:55:55 hiob /kernel: cam_periph_alloc: attempt to re-allocate valid device da0 rejected
Jun 18 13:55:55 hiob /kernel: daasync: Unable to attach to new device due to status 0x6
Jun 18 13:55:55 hiob /kernel: mly0: physical device 0:4  online
Jun 18 13:56:25 hiob /kernel: mly0: logical device 0 (da0)  online
Jun 18 13:56:30 hiob sendmail[256]: f5IBuUq00256: SYSERR(root): collect: Cannot write ./dff5IBuUq00256 (bffsync, uid=0): Device not configured
Jun 18 13:58:25 hiob /kernel: mly0: physical device 0:0  found
Jun 18 13:58:25 hiob /kernel: mly0: physical device 0:0  standby
Jun 18 13:58:55 hiob /kernel: mly0: physical device 0:4  device cannot be accessed
Jun 18 13:58:55 hiob /kernel: mly0: logical device 0 (da0)  critical
Jun 18 13:58:55 hiob /kernel: mly0:  unknown event code - 61
Jun 18 13:58:55 hiob /kernel: cam_periph_alloc: attempt to re-allocate valid device da0 rejected
Jun 18 13:58:55 hiob /kernel: daasync: Unable to attach to new device due to status 0x6
Jun 18 13:58:55 hiob /kernel: mly0:  unknown event code - 162
Jun 18 14:00:25 hiob /kernel: spec_getpages:(#da/0x20004) I/O read failure: (error=6) bp 0xceb71088 vp 0xd9a28840
Jun 18 14:00:25 hiob /kernel: size: 16384, resid: 16384, a_count: 15976, valid: 0x0
Jun 18 14:00:25 hiob /kernel: nread: 0, reqpage: 0, pindex: 0, pcount: 4
Jun 18 14:00:25 hiob /kernel: spec_getpages:(#da/0x20004) I/O read failure: (error=6) bp 0xceb71088 vp 0xd9a28840
Jun 18 14:00:25 hiob /kernel: size: 8192, resid: 8192, a_count: 8192, valid: 0x0
Jun 18 14:00:25 hiob /kernel: nread: 0, reqpage: 0, pindex: 0, pcount: 2
Jun 18 14:01:20 hiob sendmail[264]: f5IC1K200264: SYSERR(root): collect: Cannot write ./dff5IC1K200264 (bffsync, uid=0): Device not configured
Jun 18 14:01:30 hiob sendmail[263]: f5IC1U100263: SYSERR(root): collect: Cannot write ./dff5IC1U100263 (bffsync, uid=0): Device not configured
Jun 18 14:05:25 hiob /kernel: spec_getpages:(#da/0x20004) I/O read failure: (error=6) bp 0xceb71088 vp 0xd9a28840
Jun 18 14:05:25 hiob /kernel: size: 8192, resid: 8192, a_count: 8192, valid: 0x0
Jun 18 14:05:25 hiob /kernel: nread: 0, reqpage: 0, pindex: 0, pcount: 2
Jun 18 14:05:55 hiob /kernel: mly0: logical device 0 (da0)  rebuild completed
Jun 18 14:05:55 hiob /kernel: mly0: physical device 0:0  rebuild completed
Jun 18 14:05:55 hiob /kernel: cam_periph_alloc: attempt to re-allocate valid device da0 rejected
Jun 18 14:05:55 hiob /kernel: daasync: Unable to attach to new device due to status 0x6
Jun 18 14:05:55 hiob /kernel: mly0: physical device 0:0  online
Jun 18 14:05:55 hiob /kernel: mly0: logical device 0 (probe0)  online
Jun 18 14:06:30 hiob sendmail[268]: f5IC6U100268: SYSERR(root): collect: Cannot write ./dff5IC6U100268 (bffsync, uid=0): Device not configured
Jun 18 14:10:25 hiob /kernel: spec_getpages:(#da/0x20004) I/O read failure: (error=6) bp 0xceb71088 vp 0xd9a28840
Jun 18 14:10:25 hiob /kernel: size: 8192, resid: 8192, a_count: 8192, valid: 0x0
Jun 18 14:10:25 hiob /kernel: nread: 0, reqpage: 0, pindex: 0, pcount: 2
Jun 18 14:11:25 hiob /kernel: mly0: physical device 0:4  found
Jun 18 14:11:25 hiob /kernel: mly0: physical device 0:4  standby
Jun 18 14:11:30 hiob sendmail[272]: f5ICBUR00272: SYSERR(root): collect: Cannot write ./dff5ICBUR00272 (bffsync, uid=0): Device not configured
Jun 18 14:13:56 hiob /kernel: spec_getpages:(#da/0x20004) I/O read failure: (error=6) bp 0xceb71088 vp 0xd9a28840
Jun 18 14:13:56 hiob /kernel: size: 7168, resid: 7168, a_count: 7156, valid: 0x0
Jun 18 14:13:56 hiob /kernel: nread: 0, reqpage: 0, pindex: 0, pcount: 2
Jun 18 14:14:26 hiob /kernel: spec_getpages:(#da/0x20004) I/O read failure: (error=6) bp 0xceb71088 vp 0xd9a28840
Jun 18 14:14:26 hiob /kernel: size: 65536, resid: 65536, a_count: 65536, valid: 0x0
Jun 18 14:14:26 hiob /kernel: nread: 0, reqpage: 0, pindex: 0, pcount: 16
Jun 18 14:14:52 hiob syslogd: exiting on signal 15

--82I3+IH0IqGh5yIs--

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010618130851.C1070>