Re: umsm: sparc64
Hi, sparc64 dmesg buffer is populated by the message below and grows on a daily basis; I am writing for general guidance on how to solve this problem. umsm0: this device is not using CDC notify message in intr pipe. Please send your dmesg to , thanks. Please see the dmesg below. Thank you, Kihaguru On Wed, Jul 3, 2019 at 6:44 PM Kihaguru Gathura wrote: > > Try adding umsm to /sys/arch/sparc64/conf/GENERIC and build a new kernel. > > If it works ok, report back, maybe we can add it to the standard kernel. > > Have added umsm to GENERIC and built a new kernel => modem works as > desired at cuaU0 -s 115200. > > Next will build a multiprocessor kernel using GENERIC.MP and continue > testing and using the modem. > > However error messages noted at dmesg (umsm0: this device is not using > CDC notify message in intr pipe.) > > Thank you, > > Kihaguru. > > + > console is /pci@83,4000/isa@7/su@0,3f8 > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > Copyright (c) 1995-2019 OpenBSD. All rights reserved. > https://www.OpenBSD.org > > OpenBSD 6.5 (WWW) #0: Wed Jul 3 13:36:10 EAT 2019 > r...@www.datastore.ke:/usr/src/sys/arch/sparc64/compile/WWW > real mem = 17179869184 (16384MB) > avail mem = 16862699520 (16081MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root: Fujitsu Siemens PRIMEPOWER250 2x SPARC64 V > cpu0 at mainbus0: FJSV,SPARC64-V (rev 5.1) @ 1979 MHz > cpu0: physical 128K instruction (64 b/l), 128K data (64 b/l), 3072K > external (64 b/l) > "FJSV,SPARC64-V" at mainbus0 not configured > psycho0 at mainbus0 addr 0xfffb2000: SUNW,psycho, impl 0, version 4, ign c0 > psycho0: bus range 0-0, PCI bus 0 > psycho0: dvma map fe00-, STC0 enabled > pci0 at psycho0 > ebus0 at pci0 dev 1 function 0 "Sun PCIO EBus2" rev 0x01 > "FJSV,scfc" at ebus0 addr 21-210085, 22-220031, 26-260001, > 27-28 ivec 0x23 not configured > "FJSV,flashprom" at ebus0 addr 0-3f not configured > clock1 at ebus0 addr 25-251fff: mk48t59 > "FJSV,panel" at ebus0 addr 210011-210011 ivec 0x25 not configured > ebus1 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00 > com0 at ebus1 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo > com0: console > com1 at ebus1 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo > hme0 at pci0 dev 1 function 1 "Sun HME" rev 0x01: ivec 0xe1, address > 00:0b:5d:f3:a7:5c > nsphyter0 at hme0 phy 1: DP83843 10/100 PHY, rev. 0 > mpi0 at pci0 dev 2 function 1 "Symbios Logic 53c1030" rev 0x07: ivec 0xe0 > mpi0: 0, firmware 1.0.12.0 > scsibus1 at mpi0: 16 targets, initiator 7 > sym0 at scsibus1 targ 0 lun 0: SCSI2 > 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00RAR_AAN0P5200RAR > sd0 at scsibus0 targ 0 lun 0: SCSI2 > 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00RAR_AAN0P5200RAR > sd0: 70007MB, 512 bytes/sector, 143374738 sectors > sym1 at scsibus1 targ 1 lun 0: SCSI2 > 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00SSL_AAN0P5200SSL > sd1 at scsibus0 targ 1 lun 0: SCSI2 > 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00SSL_AAN0P5200SSL > sd1: 70007MB, 512 bytes/sector, 143374738 sectors > mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 > mpi0: target 1 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 > pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4: > DMA, channel 0 configured to native-PCI, channel 1 configured to > native-PCI > pciide0: using ivec 0xe4 for native-PCI interrupt > atapiscsi0 at pciide0 channel 0 drive 0 > scsibus2 at atapiscsi0: 2 targets > cd0 at scsibus2 targ 0 lun 0: ATAPI > 5/cdrom removable > cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 > pciide0: channel 1 disabled (no drives) > ohci0 at pci0 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec > 0xe9, version 1.0, legacy support > usb0 at ohci0: USB revision 1.0 > uhub0 at usb0 configuration 1 interface 0 "Acer Labs OHCI root hub" > rev 1.00/1.00 addr 1 > psycbrgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2 > timer0 at mainbus0 addr 0xfff8bc00 ivec 0xec, 0xed > umsm0 at uhub0 port 1 configuration 1 interface 0 "HUAWEI HUAWEI > Mobile" rev 2.00/1.02 addr 2 > ucom0 at umsm0 > umsm1 at uhub0 port 1 configuration 1 interface 1 "HUAWEI HUAWEI > Mobile" rev 2.00/1.02 addr 2 > ucom1 at umsm1 > umsm2 at uhub0 port 1 configuration 1 interface 2 "HUAWEI HUAWEI > Mobile" rev 2.00/1.02 addr 2 > ucom2 at umsm2 > umass0 at uhub0 port 1 configuration 1 interface 3 "HUAWEI HUAWEI > Mobile" rev 2.00/1.02 addr 2 > umass0: using SCSI over Bulk-Only > scsibus3 at umass0: 2 targets, initiator 0 > cd1 at scsibus3 targ 1 lun 0: SCSI2 > 5/cdrom removable > umass1 at uhub0 port 1 configuration 1 interface 4 "HUAWEI HUAWEI > Mobile" rev 2.00/1.02 addr 2 > umass1: using SCSI over Bulk-Only > scsibus4 at umass1: 2 targets, initiator 0 > sd2 at scsibus4 targ 1 lun 0: SCSI2 > 0/direct
Re: umsm: sparc64
On 7/4/19, Claudio Jeker wrote: > On Thu, Jul 04, 2019 at 12:52:15PM +0300, Kihaguru Gathura wrote: >> Hereby attached the new multiprocessor kernel with umsm working ok. >> >> The error message appears for each connection made to cuaU. This might >> potentially populate dmesg logs over time. >> >> Error message: >> umsm0: this device is not using CDC notify message in intr pipe. >> Please send your dmesg to , thanks. >> umsm0: intr buffer 0xc1 0x1 0x3 0x0 0x0 0x0 0x0: > > Can you try this USB device on a different OpenBSD machine (e.g. an amd64 > one). I wonder if this is the device just sending a bad message along the > way. The first byte should be 0xa1 (UCDC_NOTIFICATION) and not 0xc1. The device works well without errors on OpenBSD 6.4 amd64 (IBM Thinkpad T60) and OpenBSD 6.5 arm64 ( Raspberry Pi 3 Model B V1.2) The device detaches and has error (umsm2: this device is not using CDC notify message in intr pipe.) on OpenBSD 6.5 amd64 (HP dc5750 MT) of which i already sent email to b...@openbsd.org. Thanks. >> Kihaguru. >> >> www# dmesg >> console is /pci@83,4000/isa@7/su@0,3f8 >> Copyright (c) 1982, 1986, 1989, 1991, 1993 >> The Regents of the University of California. All rights >> reserved. >> Copyright (c) 1995-2019 OpenBSD. All rights reserved. >> https://www.OpenBSD.org >> >> OpenBSD 6.5 (WWW.MP) #0: Thu Jul 4 08:43:43 EAT 2019 >> kihag...@www.datastore.ke:/usr/src/sys/arch/sparc64/compile/WWW.MP >> real mem = 17179869184 (16384MB) >> avail mem = 16862576640 (16081MB) >> mpath0 at root >> scsibus0 at mpath0: 256 targets >> mainbus0 at root: Fujitsu Siemens PRIMEPOWER250 2x SPARC64 V >> cpu0 at mainbus0: FJSV,SPARC64-V (rev 5.1) @ 1979 MHz >> cpu0: physical 128K instruction (64 b/l), 128K data (64 b/l), 3072K >> external (64 b/l) >> cpu1 at mainbus0: FJSV,SPARC64-V (rev 5.1) @ 1979 MHz >> cpu1: physical 128K instruction (64 b/l), 128K data (64 b/l), 3072K >> external (64 b/l) >> psycho0 at mainbus0 addr 0xfffb2000: SUNW,psycho, impl 0, version 4, ign >> c0 >> psycho0: bus range 0-0, PCI bus 0 >> psycho0: dvma map fe00-, STC0 enabled >> pci0 at psycho0 >> ebus0 at pci0 dev 1 function 0 "Sun PCIO EBus2" rev 0x01 >> "FJSV,scfc" at ebus0 addr 21-210085, 22-220031, 26-260001, >> 27-28 ivec 0x23 not configured >> "FJSV,flashprom" at ebus0 addr 0-3f not configured >> clock1 at ebus0 addr 25-251fff: mk48t59 >> "FJSV,panel" at ebus0 addr 210011-210011 ivec 0x25 not configured >> ebus1 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00 >> com0 at ebus1 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo >> com0: console >> com1 at ebus1 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo >> hme0 at pci0 dev 1 function 1 "Sun HME" rev 0x01: ivec 0xe1, address >> 00:0b:5d:f3:a7:5c >> nsphyter0 at hme0 phy 1: DP83843 10/100 PHY, rev. 0 >> mpi0 at pci0 dev 2 function 1 "Symbios Logic 53c1030" rev 0x07: ivec 0xe0 >> mpi0: 0, firmware 1.0.12.0 >> scsibus1 at mpi0: 16 targets, initiator 7 >> sym0 at scsibus1 targ 0 lun 0: SCSI2 >> 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00RAR_AAN0P5200RAR >> sd0 at scsibus0 targ 0 lun 0: SCSI2 >> 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00RAR_AAN0P5200RAR >> sd0: 70007MB, 512 bytes/sector, 143374738 sectors >> sym1 at scsibus1 targ 1 lun 0: SCSI2 >> 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00SSL_AAN0P5200SSL >> sd1 at scsibus0 targ 1 lun 0: SCSI2 >> 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00SSL_AAN0P5200SSL >> sd1: 70007MB, 512 bytes/sector, 143374738 sectors >> mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 >> mpi0: target 1 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 >> pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4: >> DMA, channel 0 configured to native-PCI, channel 1 configured to >> native-PCI >> pciide0: using ivec 0xe4 for native-PCI interrupt >> atapiscsi0 at pciide0 channel 0 drive 0 >> scsibus2 at atapiscsi0: 2 targets >> cd0 at scsibus2 targ 0 lun 0: ATAPI >> 5/cdrom removable >> cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 >> pciide0: channel 1 disabled (no drives) >> ohci0 at pci0 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec >> 0xe9, version 1.0, legacy support >> usb0 at ohci0: USB revision 1.0 >> uhub0 at usb0 configuration 1 interface 0 "Acer Labs OHCI root hub" >> rev 1.00/1.00 addr 1 >> psycho1 at mainbus0 addr 0xfff9e000: SUNW,psycho, impl 0, version 4, ign >> c0 >> psycho1: bus range 128-128, PCI bus 128 >> psycho1: dvma map fe00-, STC0 enabled, STC1 enabled >> pci1 at psycho1 >> bge0 at pci1 dev 1 function 0 "Fujitsu PRIMEPOWER250/450 LAN" rev >> 0x02, BCM5702/5703 A2 (0x1002): ivec 0xc0, address 00:0b:5d:f4:27:5c >> brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2 >> "counter-timer" at mainbus0 addr 0xfff8bc00 not configured >> umsm0 at uhub0 port 1 configuration 1 interface 0 "HUAWEI HUAWEI >> Mobile" rev 2.00/1.02 addr 2 >> ucom0 at umsm0 >> umsm1 at
Re: umsm: sparc64
On 2019/07/04 12:52, Kihaguru Gathura wrote: > Hereby attached the new multiprocessor kernel with umsm working ok. > > The error message appears for each connection made to cuaU. This might > potentially populate dmesg logs over time. > > Error message: > umsm0: this device is not using CDC notify message in intr pipe. > Please send your dmesg to , thanks. > umsm0: intr buffer 0xc1 0x1 0x3 0x0 0x0 0x0 0x0: Please send your dmesg to b...@openbsd.org :-) > Kihaguru. > > www# dmesg > console is /pci@83,4000/isa@7/su@0,3f8 > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > Copyright (c) 1995-2019 OpenBSD. All rights reserved. https://www.OpenBSD.org > > OpenBSD 6.5 (WWW.MP) #0: Thu Jul 4 08:43:43 EAT 2019 > kihag...@www.datastore.ke:/usr/src/sys/arch/sparc64/compile/WWW.MP > real mem = 17179869184 (16384MB) > avail mem = 16862576640 (16081MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root: Fujitsu Siemens PRIMEPOWER250 2x SPARC64 V > cpu0 at mainbus0: FJSV,SPARC64-V (rev 5.1) @ 1979 MHz > cpu0: physical 128K instruction (64 b/l), 128K data (64 b/l), 3072K > external (64 b/l) > cpu1 at mainbus0: FJSV,SPARC64-V (rev 5.1) @ 1979 MHz > cpu1: physical 128K instruction (64 b/l), 128K data (64 b/l), 3072K > external (64 b/l) > psycho0 at mainbus0 addr 0xfffb2000: SUNW,psycho, impl 0, version 4, ign c0 > psycho0: bus range 0-0, PCI bus 0 > psycho0: dvma map fe00-, STC0 enabled > pci0 at psycho0 > ebus0 at pci0 dev 1 function 0 "Sun PCIO EBus2" rev 0x01 > "FJSV,scfc" at ebus0 addr 21-210085, 22-220031, 26-260001, > 27-28 ivec 0x23 not configured > "FJSV,flashprom" at ebus0 addr 0-3f not configured > clock1 at ebus0 addr 25-251fff: mk48t59 > "FJSV,panel" at ebus0 addr 210011-210011 ivec 0x25 not configured > ebus1 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00 > com0 at ebus1 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo > com0: console > com1 at ebus1 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo > hme0 at pci0 dev 1 function 1 "Sun HME" rev 0x01: ivec 0xe1, address > 00:0b:5d:f3:a7:5c > nsphyter0 at hme0 phy 1: DP83843 10/100 PHY, rev. 0 > mpi0 at pci0 dev 2 function 1 "Symbios Logic 53c1030" rev 0x07: ivec 0xe0 > mpi0: 0, firmware 1.0.12.0 > scsibus1 at mpi0: 16 targets, initiator 7 > sym0 at scsibus1 targ 0 lun 0: SCSI2 > 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00RAR_AAN0P5200RAR > sd0 at scsibus0 targ 0 lun 0: SCSI2 > 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00RAR_AAN0P5200RAR > sd0: 70007MB, 512 bytes/sector, 143374738 sectors > sym1 at scsibus1 targ 1 lun 0: SCSI2 > 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00SSL_AAN0P5200SSL > sd1 at scsibus0 targ 1 lun 0: SCSI2 > 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00SSL_AAN0P5200SSL > sd1: 70007MB, 512 bytes/sector, 143374738 sectors > mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 > mpi0: target 1 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 > pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4: > DMA, channel 0 configured to native-PCI, channel 1 configured to > native-PCI > pciide0: using ivec 0xe4 for native-PCI interrupt > atapiscsi0 at pciide0 channel 0 drive 0 > scsibus2 at atapiscsi0: 2 targets > cd0 at scsibus2 targ 0 lun 0: ATAPI > 5/cdrom removable > cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 > pciide0: channel 1 disabled (no drives) > ohci0 at pci0 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec > 0xe9, version 1.0, legacy support > usb0 at ohci0: USB revision 1.0 > uhub0 at usb0 configuration 1 interface 0 "Acer Labs OHCI root hub" > rev 1.00/1.00 addr 1 > psycho1 at mainbus0 addr 0xfff9e000: SUNW,psycho, impl 0, version 4, ign c0 > psycho1: bus range 128-128, PCI bus 128 > psycho1: dvma map fe00-, STC0 enabled, STC1 enabled > pci1 at psycho1 > bge0 at pci1 dev 1 function 0 "Fujitsu PRIMEPOWER250/450 LAN" rev > 0x02, BCM5702/5703 A2 (0x1002): ivec 0xc0, address 00:0b:5d:f4:27:5c > brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2 > "counter-timer" at mainbus0 addr 0xfff8bc00 not configured > umsm0 at uhub0 port 1 configuration 1 interface 0 "HUAWEI HUAWEI > Mobile" rev 2.00/1.02 addr 2 > ucom0 at umsm0 > umsm1 at uhub0 port 1 configuration 1 interface 1 "HUAWEI HUAWEI > Mobile" rev 2.00/1.02 addr 2 > ucom1 at umsm1 > umsm2 at uhub0 port 1 configuration 1 interface 2 "HUAWEI HUAWEI > Mobile" rev 2.00/1.02 addr 2 > ucom2 at umsm2 > umass0 at uhub0 port 1 configuration 1 interface 3 "HUAWEI HUAWEI > Mobile" rev 2.00/1.02 addr 2 > umass0: using SCSI over Bulk-Only > scsibus3 at umass0: 2 targets, initiator 0 > cd1 at scsibus3 targ 1 lun 0: SCSI2 > 5/cdrom removable > umass1 at uhub0 port 1 configuration 1 interface 4 "HUAWEI HUAWEI > Mobile" rev 2.00/1.02 addr 2 > umass1: using SCSI over Bulk-Only > scsibus4 at umass1: 2 targets, initiator 0 > sd2 at scsibus4 targ 1
Re: umsm: sparc64
On Thu, Jul 04, 2019 at 12:52:15PM +0300, Kihaguru Gathura wrote: > Hereby attached the new multiprocessor kernel with umsm working ok. > > The error message appears for each connection made to cuaU. This might > potentially populate dmesg logs over time. > > Error message: > umsm0: this device is not using CDC notify message in intr pipe. > Please send your dmesg to , thanks. > umsm0: intr buffer 0xc1 0x1 0x3 0x0 0x0 0x0 0x0: Can you try this USB device on a different OpenBSD machine (e.g. an amd64 one). I wonder if this is the device just sending a bad message along the way. The first byte should be 0xa1 (UCDC_NOTIFICATION) and not 0xc1. > Kihaguru. > > www# dmesg > console is /pci@83,4000/isa@7/su@0,3f8 > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > Copyright (c) 1995-2019 OpenBSD. All rights reserved. https://www.OpenBSD.org > > OpenBSD 6.5 (WWW.MP) #0: Thu Jul 4 08:43:43 EAT 2019 > kihag...@www.datastore.ke:/usr/src/sys/arch/sparc64/compile/WWW.MP > real mem = 17179869184 (16384MB) > avail mem = 16862576640 (16081MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root: Fujitsu Siemens PRIMEPOWER250 2x SPARC64 V > cpu0 at mainbus0: FJSV,SPARC64-V (rev 5.1) @ 1979 MHz > cpu0: physical 128K instruction (64 b/l), 128K data (64 b/l), 3072K > external (64 b/l) > cpu1 at mainbus0: FJSV,SPARC64-V (rev 5.1) @ 1979 MHz > cpu1: physical 128K instruction (64 b/l), 128K data (64 b/l), 3072K > external (64 b/l) > psycho0 at mainbus0 addr 0xfffb2000: SUNW,psycho, impl 0, version 4, ign c0 > psycho0: bus range 0-0, PCI bus 0 > psycho0: dvma map fe00-, STC0 enabled > pci0 at psycho0 > ebus0 at pci0 dev 1 function 0 "Sun PCIO EBus2" rev 0x01 > "FJSV,scfc" at ebus0 addr 21-210085, 22-220031, 26-260001, > 27-28 ivec 0x23 not configured > "FJSV,flashprom" at ebus0 addr 0-3f not configured > clock1 at ebus0 addr 25-251fff: mk48t59 > "FJSV,panel" at ebus0 addr 210011-210011 ivec 0x25 not configured > ebus1 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00 > com0 at ebus1 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo > com0: console > com1 at ebus1 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo > hme0 at pci0 dev 1 function 1 "Sun HME" rev 0x01: ivec 0xe1, address > 00:0b:5d:f3:a7:5c > nsphyter0 at hme0 phy 1: DP83843 10/100 PHY, rev. 0 > mpi0 at pci0 dev 2 function 1 "Symbios Logic 53c1030" rev 0x07: ivec 0xe0 > mpi0: 0, firmware 1.0.12.0 > scsibus1 at mpi0: 16 targets, initiator 7 > sym0 at scsibus1 targ 0 lun 0: SCSI2 > 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00RAR_AAN0P5200RAR > sd0 at scsibus0 targ 0 lun 0: SCSI2 > 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00RAR_AAN0P5200RAR > sd0: 70007MB, 512 bytes/sector, 143374738 sectors > sym1 at scsibus1 targ 1 lun 0: SCSI2 > 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00SSL_AAN0P5200SSL > sd1 at scsibus0 targ 1 lun 0: SCSI2 > 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00SSL_AAN0P5200SSL > sd1: 70007MB, 512 bytes/sector, 143374738 sectors > mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 > mpi0: target 1 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 > pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4: > DMA, channel 0 configured to native-PCI, channel 1 configured to > native-PCI > pciide0: using ivec 0xe4 for native-PCI interrupt > atapiscsi0 at pciide0 channel 0 drive 0 > scsibus2 at atapiscsi0: 2 targets > cd0 at scsibus2 targ 0 lun 0: ATAPI > 5/cdrom removable > cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 > pciide0: channel 1 disabled (no drives) > ohci0 at pci0 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec > 0xe9, version 1.0, legacy support > usb0 at ohci0: USB revision 1.0 > uhub0 at usb0 configuration 1 interface 0 "Acer Labs OHCI root hub" > rev 1.00/1.00 addr 1 > psycho1 at mainbus0 addr 0xfff9e000: SUNW,psycho, impl 0, version 4, ign c0 > psycho1: bus range 128-128, PCI bus 128 > psycho1: dvma map fe00-, STC0 enabled, STC1 enabled > pci1 at psycho1 > bge0 at pci1 dev 1 function 0 "Fujitsu PRIMEPOWER250/450 LAN" rev > 0x02, BCM5702/5703 A2 (0x1002): ivec 0xc0, address 00:0b:5d:f4:27:5c > brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2 > "counter-timer" at mainbus0 addr 0xfff8bc00 not configured > umsm0 at uhub0 port 1 configuration 1 interface 0 "HUAWEI HUAWEI > Mobile" rev 2.00/1.02 addr 2 > ucom0 at umsm0 > umsm1 at uhub0 port 1 configuration 1 interface 1 "HUAWEI HUAWEI > Mobile" rev 2.00/1.02 addr 2 > ucom1 at umsm1 > umsm2 at uhub0 port 1 configuration 1 interface 2 "HUAWEI HUAWEI > Mobile" rev 2.00/1.02 addr 2 > ucom2 at umsm2 > umass0 at uhub0 port 1 configuration 1 interface 3 "HUAWEI HUAWEI > Mobile" rev 2.00/1.02 addr 2 > umass0: using SCSI over Bulk-Only > scsibus3 at umass0: 2 targets, initiator 0 > cd1 at scsibus3 targ 1 lun 0: SCSI2 > 5/cdrom removable > umass1 at
Re: umsm: sparc64
Hereby attached the new multiprocessor kernel with umsm working ok. The error message appears for each connection made to cuaU. This might potentially populate dmesg logs over time. Error message: umsm0: this device is not using CDC notify message in intr pipe. Please send your dmesg to , thanks. umsm0: intr buffer 0xc1 0x1 0x3 0x0 0x0 0x0 0x0: Kihaguru. www# dmesg console is /pci@83,4000/isa@7/su@0,3f8 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2019 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 6.5 (WWW.MP) #0: Thu Jul 4 08:43:43 EAT 2019 kihag...@www.datastore.ke:/usr/src/sys/arch/sparc64/compile/WWW.MP real mem = 17179869184 (16384MB) avail mem = 16862576640 (16081MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root: Fujitsu Siemens PRIMEPOWER250 2x SPARC64 V cpu0 at mainbus0: FJSV,SPARC64-V (rev 5.1) @ 1979 MHz cpu0: physical 128K instruction (64 b/l), 128K data (64 b/l), 3072K external (64 b/l) cpu1 at mainbus0: FJSV,SPARC64-V (rev 5.1) @ 1979 MHz cpu1: physical 128K instruction (64 b/l), 128K data (64 b/l), 3072K external (64 b/l) psycho0 at mainbus0 addr 0xfffb2000: SUNW,psycho, impl 0, version 4, ign c0 psycho0: bus range 0-0, PCI bus 0 psycho0: dvma map fe00-, STC0 enabled pci0 at psycho0 ebus0 at pci0 dev 1 function 0 "Sun PCIO EBus2" rev 0x01 "FJSV,scfc" at ebus0 addr 21-210085, 22-220031, 26-260001, 27-28 ivec 0x23 not configured "FJSV,flashprom" at ebus0 addr 0-3f not configured clock1 at ebus0 addr 25-251fff: mk48t59 "FJSV,panel" at ebus0 addr 210011-210011 ivec 0x25 not configured ebus1 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00 com0 at ebus1 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo com0: console com1 at ebus1 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo hme0 at pci0 dev 1 function 1 "Sun HME" rev 0x01: ivec 0xe1, address 00:0b:5d:f3:a7:5c nsphyter0 at hme0 phy 1: DP83843 10/100 PHY, rev. 0 mpi0 at pci0 dev 2 function 1 "Symbios Logic 53c1030" rev 0x07: ivec 0xe0 mpi0: 0, firmware 1.0.12.0 scsibus1 at mpi0: 16 targets, initiator 7 sym0 at scsibus1 targ 0 lun 0: SCSI2 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00RAR_AAN0P5200RAR sd0 at scsibus0 targ 0 lun 0: SCSI2 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00RAR_AAN0P5200RAR sd0: 70007MB, 512 bytes/sector, 143374738 sectors sym1 at scsibus1 targ 1 lun 0: SCSI2 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00SSL_AAN0P5200SSL sd1 at scsibus0 targ 1 lun 0: SCSI2 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00SSL_AAN0P5200SSL sd1: 70007MB, 512 bytes/sector, 143374738 sectors mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 mpi0: target 1 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using ivec 0xe4 for native-PCI interrupt atapiscsi0 at pciide0 channel 0 drive 0 scsibus2 at atapiscsi0: 2 targets cd0 at scsibus2 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) ohci0 at pci0 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec 0xe9, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 configuration 1 interface 0 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1 psycho1 at mainbus0 addr 0xfff9e000: SUNW,psycho, impl 0, version 4, ign c0 psycho1: bus range 128-128, PCI bus 128 psycho1: dvma map fe00-, STC0 enabled, STC1 enabled pci1 at psycho1 bge0 at pci1 dev 1 function 0 "Fujitsu PRIMEPOWER250/450 LAN" rev 0x02, BCM5702/5703 A2 (0x1002): ivec 0xc0, address 00:0b:5d:f4:27:5c brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2 "counter-timer" at mainbus0 addr 0xfff8bc00 not configured umsm0 at uhub0 port 1 configuration 1 interface 0 "HUAWEI HUAWEI Mobile" rev 2.00/1.02 addr 2 ucom0 at umsm0 umsm1 at uhub0 port 1 configuration 1 interface 1 "HUAWEI HUAWEI Mobile" rev 2.00/1.02 addr 2 ucom1 at umsm1 umsm2 at uhub0 port 1 configuration 1 interface 2 "HUAWEI HUAWEI Mobile" rev 2.00/1.02 addr 2 ucom2 at umsm2 umass0 at uhub0 port 1 configuration 1 interface 3 "HUAWEI HUAWEI Mobile" rev 2.00/1.02 addr 2 umass0: using SCSI over Bulk-Only scsibus3 at umass0: 2 targets, initiator 0 cd1 at scsibus3 targ 1 lun 0: SCSI2 5/cdrom removable umass1 at uhub0 port 1 configuration 1 interface 4 "HUAWEI HUAWEI Mobile" rev 2.00/1.02 addr 2 umass1: using SCSI over Bulk-Only scsibus4 at umass1: 2 targets, initiator 0 sd2 at scsibus4 targ 1 lun 0: SCSI2 0/direct removable vscsi0 at root scsibus5 at vscsi0: 256 targets softraid0 at root scsibus6bootpath: /pci@83,4000/FJSV,ulsa@2,1/disk@0,0 root on sd0a (e489192361503865.a) swap on sd0b dump on sd0b umsm0: this device is not using CDC notify message in intr pipe. Please send your dmesg to
Re: umsm: sparc64
> Try adding umsm to /sys/arch/sparc64/conf/GENERIC and build a new kernel. > If it works ok, report back, maybe we can add it to the standard kernel. Have added umsm to GENERIC and built a new kernel => modem works as desired at cuaU0 -s 115200. Next will build a multiprocessor kernel using GENERIC.MP and continue testing and using the modem. However error messages noted at dmesg (umsm0: this device is not using CDC notify message in intr pipe.) Thank you, Kihaguru. + console is /pci@83,4000/isa@7/su@0,3f8 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2019 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 6.5 (WWW) #0: Wed Jul 3 13:36:10 EAT 2019 r...@www.datastore.ke:/usr/src/sys/arch/sparc64/compile/WWW real mem = 17179869184 (16384MB) avail mem = 16862699520 (16081MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root: Fujitsu Siemens PRIMEPOWER250 2x SPARC64 V cpu0 at mainbus0: FJSV,SPARC64-V (rev 5.1) @ 1979 MHz cpu0: physical 128K instruction (64 b/l), 128K data (64 b/l), 3072K external (64 b/l) "FJSV,SPARC64-V" at mainbus0 not configured psycho0 at mainbus0 addr 0xfffb2000: SUNW,psycho, impl 0, version 4, ign c0 psycho0: bus range 0-0, PCI bus 0 psycho0: dvma map fe00-, STC0 enabled pci0 at psycho0 ebus0 at pci0 dev 1 function 0 "Sun PCIO EBus2" rev 0x01 "FJSV,scfc" at ebus0 addr 21-210085, 22-220031, 26-260001, 27-28 ivec 0x23 not configured "FJSV,flashprom" at ebus0 addr 0-3f not configured clock1 at ebus0 addr 25-251fff: mk48t59 "FJSV,panel" at ebus0 addr 210011-210011 ivec 0x25 not configured ebus1 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00 com0 at ebus1 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo com0: console com1 at ebus1 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo hme0 at pci0 dev 1 function 1 "Sun HME" rev 0x01: ivec 0xe1, address 00:0b:5d:f3:a7:5c nsphyter0 at hme0 phy 1: DP83843 10/100 PHY, rev. 0 mpi0 at pci0 dev 2 function 1 "Symbios Logic 53c1030" rev 0x07: ivec 0xe0 mpi0: 0, firmware 1.0.12.0 scsibus1 at mpi0: 16 targets, initiator 7 sym0 at scsibus1 targ 0 lun 0: SCSI2 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00RAR_AAN0P5200RAR sd0 at scsibus0 targ 0 lun 0: SCSI2 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00RAR_AAN0P5200RAR sd0: 70007MB, 512 bytes/sector, 143374738 sectors sym1 at scsibus1 targ 1 lun 0: SCSI2 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00SSL_AAN0P5200SSL sd1 at scsibus0 targ 1 lun 0: SCSI2 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00SSL_AAN0P5200SSL sd1: 70007MB, 512 bytes/sector, 143374738 sectors mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 mpi0: target 1 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using ivec 0xe4 for native-PCI interrupt atapiscsi0 at pciide0 channel 0 drive 0 scsibus2 at atapiscsi0: 2 targets cd0 at scsibus2 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) ohci0 at pci0 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec 0xe9, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 configuration 1 interface 0 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1 psycbrgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2 timer0 at mainbus0 addr 0xfff8bc00 ivec 0xec, 0xed umsm0 at uhub0 port 1 configuration 1 interface 0 "HUAWEI HUAWEI Mobile" rev 2.00/1.02 addr 2 ucom0 at umsm0 umsm1 at uhub0 port 1 configuration 1 interface 1 "HUAWEI HUAWEI Mobile" rev 2.00/1.02 addr 2 ucom1 at umsm1 umsm2 at uhub0 port 1 configuration 1 interface 2 "HUAWEI HUAWEI Mobile" rev 2.00/1.02 addr 2 ucom2 at umsm2 umass0 at uhub0 port 1 configuration 1 interface 3 "HUAWEI HUAWEI Mobile" rev 2.00/1.02 addr 2 umass0: using SCSI over Bulk-Only scsibus3 at umass0: 2 targets, initiator 0 cd1 at scsibus3 targ 1 lun 0: SCSI2 5/cdrom removable umass1 at uhub0 port 1 configuration 1 interface 4 "HUAWEI HUAWEI Mobile" rev 2.00/1.02 addr 2 umass1: using SCSI over Bulk-Only scsibus4 at umass1: 2 targets, initiator 0 sd2 at scsibus4 targ 1 lun 0: SCSI2 0/direct removable vscsi0 at root scsibus5 at vscsi0: 256 targets softraid0 at root scsibus6 at softraid0: 256 targets bootpath: /pci@83,4000/FJSV,ulsa@2,1/disk@0,0 root on sd0a (e489192361503865.a) swap on sd0b dump on sd0b umsm0: this device is not using CDC notify message in intr pipe. Please send your dmesg to , thanks. umsm0: intr buffer 0xc1 0x1 0x3 0x0 0x0 0x0 0x0 umsm0: this device is not using CDC notify message in intr pipe. Please send your dmesg to , thanks. umsm0: intr buffer 0xc1 0x1 0x3 0x0 0x0 0x0 0x0 umsm0: this device is not using CDC notify message
Re: umsm: sparc64
On 2019-06-29, Kihaguru Gathura wrote: > Hello, > > umsm is not being detected on this machine for Huawei E303 modem. Only > interface 0 and 1 which are both umass are detected. interface 2 is > umsm but not active please see boot message. Try adding umsm to /sys/arch/sparc64/conf/GENERIC and build a new kernel. If it works ok, report back, maybe we can add it to the standard kernel. Index: GENERIC === RCS file: /cvs/src/sys/arch/sparc64/conf/GENERIC,v retrieving revision 1.312 diff -u -p -r1.312 GENERIC --- GENERIC 11 Jun 2019 01:35:55 - 1.312 +++ GENERIC 2 Jul 2019 09:03:35 - @@ -205,6 +205,8 @@ uipaq* at uhub?# iPAQ serial adapter ucom* at uipaq? uchcom*at uhub?# WinChipHead CH341/340 serial ucom* at uchcom? +umsm* at uhub?# Qualcomm MSM EVDO +ucom* at umsm? uaudio* at uhub? # USB Audio audio* at uaudio? umidi* at uhub?# USB MIDI
umsm: sparc64
Hello, umsm is not being detected on this machine for Huawei E303 modem. Only interface 0 and 1 which are both umass are detected. interface 2 is umsm but not active please see boot message. Any guidance here is highly appreciated. Kihaguru. Jun 29 13:14:37 GMT 2019 PowerOn SelfTest start POST:Testing Flash/SRAM POST:Testing SC POST:Testing XSCF POST:Banner POST:FATAL check POST:Testing Timer1 POST:Testing Tick POST:Testing MMU POST:Testing CPU Type POST:Testing DTAG POST:Memory Probe POST:Testing Memory POST:Testing Softint POST:Testing U2P POST:Testing Slave Device POST:Testing Master Device POST:System Configure POST:OBP Start screen not found. keyboard not found. Keyboard not present. Using ttya for input and output. Fujitsu Siemens PRIMEPOWER250 2x SPARC64 V, No Keyboard OpenBoot 3.18.1-1, 16384 MB memory installed Ethernet address 0:b:5d:f3:a7:5c, Host ID: 80f2a75c. XSCF Version: 4.12.1 {0} ok boot Boot device: /pci@83,4000/FJSV,ulsa@2,1/disk@0,0 File and args: OpenBSD IEEE 1275 Bootblock 1.4 ..>> OpenBSD BOOT 1.11 Can't read disk label. Can't open disk label package Trying bsd... Booting /pci@83,4000/FJSV,ulsa@2,1/disk@0,0:a/bsd 9453456@0x100+112@0x1903f90+202800@0x1c0+3991504@0x1c31830 symbols @ 0xfe9e2400 165+610944+416267 start=0x100 [ using 1028408 bytes of bsd ELF symbol table ] console is /pci@83,4000/isa@7/su@0,3f8 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2018 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 6.4 (GENERIC.MP) #6: Fri Oct 12 09:57:36 MDT 2018 dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC.MP real mem = 17179869184 (16384MB) avail mem = 16862707712 (16081MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root: Fujitsu Siemens PRIMEPOWER250 2x SPARC64 V cpu0 at mainbus0: FJSV,SPARC64-V (rev 5.1) @ 1979 MHz cpu0: physical 128K instruction (64 b/l), 128K data (64 b/l), 3072K external (64 b/l) cpu1 at mainbus0: FJSV,SPARC64-V (rev 5.1) @ 1979 MHz cpu1: physical 128K instruction (64 b/l), 128K data (64 b/l), 3072K external (64 b/l) psycho0 at mainbus0 addr 0xfffb2000: SUNW,psycho, impl 0, version 4, ign c0 psycho0: bus range 0-0, PCI bus 0 psycho0: dvma map fe00-, STC0 enabled pci0 at psycho0 ebus0 at pci0 dev 1 function 0 "Sun PCIO EBus2" rev 0x01 "FJSV,scfc" at ebus0 addr 21-210085, 22-220031, 26-260001, 27-28 ivec 0x23 not configured "FJSV,flashprom" at ebus0 addr 0-3f not configured clock1 at ebus0 addr 25-251fff: mk48t59 "FJSV,panel" at ebus0 addr 210011-210011 ivec 0x25 not configured ebus1 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00 com0 at ebus1 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo com0: console com1 at ebus1 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo hme0 at pci0 dev 1 function 1 "Sun HME" rev 0x01: ivec 0xe1, address 00:0b:5d:f3:a7:5c nsphyter0 at hme0 phy 1: DP83843 10/100 PHY, rev. 0 mpi0 at pci0 dev 2 function 1 "Symbios Logic 53c1030" rev 0x07: ivec 0xe0 mpi0: 0, firmware 1.0.12.0 scsibus1 at mpi0: 16 targets, initiator 7 sym0 at scsibus1 targ 0 lun 0: SCSI2 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00RAR_AAN0P5200RAR sd0 at scsibus0 targ 0 lun 0: SCSI2 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00RAR_AAN0P5200RAR sd0: 70007MB, 512 bytes/sector, 143374738 sectors sym1 at scsibus1 targ 1 lun 0: SCSI2 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00SSL_AAN0P5200SSL sd1 at scsibus0 targ 1 lun 0: SCSI2 0/direct fixed serial.FUJITSU_MAT3073N_SUN72G_000506B00SSL_AAN0P5200SSL sd1: 70007MB, 512 bytes/sector, 143374738 sectors mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 mpi0: target 1 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using ivec 0xe4 for native-PCI interrupt atapiscsi0 at pciide0 channel 0 drive 0 scsibus2 at atapiscsi0: 2 targets cd0 at scsibus2 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) ohci0 at pci0 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec 0xe9, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 configuration 1 interface 0 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1 psycho1 at mainbus0 addr 0xfff9e000: SUNW,psycho, impl 0, version 4, ign c0 psycho1: bus range 128-128, PCI bus 128 psycho1: dvma map fe00-, STC0 enabled, STC1 enabled pci1 at psycho1 bge0 at pci1 dev 1 function 0 "Fujitsu PRIMEPOWER250/450 LAN" rev 0x02, BCM5702/5703 A2 (0x1002): ivec 0xc0, address 00:0b:5d:f4:27:5c brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2 "counter-timer" at mainbus0 addr 0xfff8bc00 not configured umass0 at uhub0 port 2 configuration 1 interface 0 "HUAWEI HUAWEI Mobile" rev