Re: OpenBSD hangs in X, but mouse can still move (ThinkPad T470)
On Wed, 31 Aug 2022 17:01:32 +0100 Hashim Mahmoud wrote: > (Sorry, I accidentally pressed Send in the middle of typing, ignore > the previous message...) > > I've been using OpenBSD on a ThinkPad T470 for a couple of days now, > and the experience is very nice. However, I've noticed an issue that > occurred twice today: while I'm using cwm and a bunch of apps > (Firefox, Claws Mail, KeepassXC, xterm, nothing special), OpenBSD > completely freezes, but the mouse cursor can still move. I can't even > switch to a different tty with ctrl+alt+F. But it seems that > function keys still work, as pressing the mute button activates the > red LED light on it (though pressing the backlight keys does > nothing). Closing the lid to try to suspend the laptop fails, but the > green LED power light and red ThinkPad light on the cover blink as > they do when about to suspend, though they never stop blinking as the > laptop never suspends. Nothing strange in Xorg.0.log and > Xorg.0.log.old, and I'm not sure what else I need to check. > > The first time this happened I was just using Firefox, and the second > time this happened was immediately after I started picom (I don't > usually use it but wanted to see it this time). > > Any idea what's going on? In case anybody else comes across this problem, I was able to ssh into the machine and get some logs (though shutting down would only stop the cursor from moving and nothing else). I would get `__await_execution: stub` on my console three times, and then `Asynchronous wait on fence :Xorg[73369]:2e16 timed out (hint:0x81724fe0s)` after about 10 seconds and then the freeze occurs. I looked around the internet a bit and turns out that using the intel(4) driver on newer hardware is not recommended, so I just removed my xorg.conf.d, which reverted me back to the modesetting(4) driver, and everything works fine now. Though there are some drm errors in the console, they seem to have no effect on me whatsoever.
Re: OpenBSD Hangs On
Hi As suggested earlier, i've upgrade system to 6.7 and my problem solved. Thanks On Mon, Jun 22, 2020, 16:20 jin wrote: > Hello > > I've a virtual appliance on kvm and it hangs on every 3 days > period approximately. The problem been there since its installation which > was in March. When it happens, I can only make hard shutdown/reboot to > recover my system from this issue because the system doesn't respond me. > I'm using version 6.6 of OpenBSD and i already applied the all syspatches. > I'm not certain but it looks like the problem could be related with syslog > deamon. May be it is too early to make an assumption but log messages > (/var/log/messages) show that syslog daemon keeps restarting itself in 4 > hours periods. > > Could someone please point me to how to increase verbosity of the logs ? > I'ld like to dig myself as much as possible. > > Fatih > Sincerely > > dmesg output > > OpenBSD 6.6 (GENERIC) #7: Thu Mar 12 10:32:29 MDT 2020 > r...@syspatch-66-amd64.openbsd.org: > /usr/src/sys/arch/amd64/compile/GENERIC > real mem = 1056817152 (1007MB) > avail mem = 1012228096 (965MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf5940 (9 entries) > bios0: vendor SeaBIOS version " > rel-1.12.1-0-ga5cab58e9a3f-prebuilt.qemu.org" date 04/01/2014 > bios0: QEMU Standard PC (i440FX + PIIX, 1996) > acpi0 at bios0: ACPI 1.0 > acpi0: sleep states S3 S4 S5 > acpi0: tables DSDT FACP APIC HPET > acpi0: wakeup devices > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Westmere E56xx/L56xx/X56xx (Nehalem-C), 2295.15 MHz, 06-2c-01 > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,HV,NXE,LONG,LAHF,ARAT,MELTDOWN > cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB > 64b/line 16-way L2 cache > cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped > cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 1000MHz > ioapic0 at mainbus0: apid 0 pa 0xfec0, version 11, 24 pins > acpihpet0 at acpi0: 1 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpicpu0 at acpi0: C1(@1 halt!) > "ACPI0006" at acpi0 not configured > acpipci0 at acpi0 PCI0: _OSC failed > acpicmos0 at acpi0 > "PNP0A06" at acpi0 not configured > "PNP0A06" at acpi0 not configured > "PNP0A06" at acpi0 not configured > "QEMU0002" at acpi0 not configured > "ACPI0010" at acpi0 not configured > cpu0: using IvyBridge MDS workaround > pvbus0 at mainbus0: KVM > pvclock0 at pvbus0 > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02 > pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00 > pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, > channel 0 wired to compatibility, channel 1 wired to compatibility > pciide0: channel 0 disabled (no drives) > pciide0: channel 1 disabled (no drives) > uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 0 int 11 > piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 0 > int 9 > iic0 at piixpm0 > vga1 at pci0 dev 2 function 0 "Bochs VGA" rev 0x02 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00 > vio0 at virtio0: address 52:54:00:a5:1f:57 > virtio0: msix shared > eap0 at pci0 dev 4 function 0 "Ensoniq AudioPCI" rev 0x00: apic 0 int 11 > audio0 at eap0 > midi0 at eap0: > virtio1 at pci0 dev 5 function 0 "Qumranet Virtio Storage" rev 0x00 > vioblk0 at virtio1 > scsibus1 at vioblk0: 2 targets > sd0 at scsibus1 targ 0 lun 0: > sd0: 51200MB, 512 bytes/sector, 104857600 sectors > virtio1: msix shared > virtio2 at pci0 dev 6 function 0 "Qumranet Virtio Memory Balloon" rev 0x00 > viomb0 at virtio2 > virtio2: apic 0 int 10 > isa0 at pcib0 > isadma0 at isa0 > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pms0 at pckbc0 (aux slot) > wsmouse0 at pms0 mux 0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > usb0 at uhci0: USB revision 1.0 > uhub0 at usb0 configuration 1 interface 0 "Intel UHCI root hub" rev > 1.00/1.00 addr 1 > uhidev0 at uhub0 port 1 configuration 1 interface 0 "QEMU QEMU USB Tablet" > rev 2.00/0.00 addr 2 > uhidev0: iclass 3/0 > ums0 at uhidev0: 3 buttons, Z dir > wsmouse1 at ums0 mux 0 > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (496659ef9c4468e2.a) swap on sd0b dump on sd0b > WARNING: / was not properly unmounted > fd0 at fdc0 drive 1: density unknown >
Re: OpenBSD Hangs On
Paddy, I wastnt engaging in FUD, I was describing a situation which I and others experienced where there were certain releases of KVM / Linux Hypervisors which on Intel platforms on which OpenBSD would Freeze, the console would slow down and eventually become unresponsive, if I recall correctly Proxmox 4.x worked ... and I think the versions up to 5.0-5.1 Didnt work so well and version 6.x of proxmox seems to work well hosting OpenBSD... the kernel preemption timer and some Hypervisor kernel versions apparently were the source of the bug ALl the Best ... On Sun, 19 Jul 2020 at 23:43, Patrick Dohman wrote: > > > > On Jun 23, 2020, at 11:31 AM, Tom Smyth > wrote: > > > > But newerversions of kvm / linux kernels are unaffected > > By the bug fyi > > Sounds like FUD. > B.T.W where is Boba’s ride? > Regards > Patrick > > -- Kindest regards, Tom Smyth.
Re: OpenBSD Hangs On
> On Jul 19, 2020, at 5:44 PM, Tom Smyth wrote: > > Im not sure what you mean? I can has all your VM’s in carbonite. Regards Patrick
Re: OpenBSD Hangs On
Im not sure what you mean? On Sun, 19 Jul 2020 at 23:43, Patrick Dohman wrote: > > > > On Jun 23, 2020, at 11:31 AM, Tom Smyth > wrote: > > > > But newerversions of kvm / linux kernels are unaffected > > By the bug fyi > > Sounds like FUD. > B.T.W where is Boba’s ride? > Regards > Patrick > > -- Kindest regards, Tom Smyth.
Re: OpenBSD Hangs On
> On Jun 23, 2020, at 11:31 AM, Tom Smyth wrote: > > But newerversions of kvm / linux kernels are unaffected > By the bug fyi Sounds like FUD. B.T.W where is Boba’s ride? Regards Patrick
Re: OpenBSD Hangs On
But newerversions of kvm / linux kernels are unaffected By the bug fyi On Tuesday, 23 June 2020, jin wrote: > Thanks! > > On Tue, Jun 23, 2020, 01:40 Tom Smyth > wrote: > >> Hi Jinn >> This issue we came across a few years ago , >> it affects certain versions of KVM / Proxmox... >> if you disable Intel Preemption timer... in the Hypervisor Linux >> kernel >> if you do a search misc lists ... with KVM and freeze and OpenBSD >> you will see lots of discussions and the exact settings to put in the KVM >> Hypervisor >> it may relieve your situation.. >> >> >> Thanks >> Tom Smyth >> >> On Mon, 22 Jun 2020 at 14:30, jin >> wrote: >> >>> Hello >>> >>> I've a virtual appliance on kvm and it hangs on every 3 days >>> period approximately. The problem been there since its installation which >>> was in March. When it happens, I can only make hard shutdown/reboot to >>> recover my system from this issue because the system doesn't respond me. >>> I'm using version 6.6 of OpenBSD and i already applied the all >>> syspatches. >>> I'm not certain but it looks like the problem could be related with >>> syslog >>> deamon. May be it is too early to make an assumption but log messages >>> (/var/log/messages) show that syslog daemon keeps restarting itself in 4 >>> hours periods. >>> >>> Could someone please point me to how to increase verbosity of the logs ? >>> I'ld like to dig myself as much as possible. >>> >>> Fatih >>> Sincerely >>> >>> dmesg output >>> >>> OpenBSD 6.6 (GENERIC) #7: Thu Mar 12 10:32:29 MDT 2020 >>> r...@syspatch-66-amd64.openbsd.org: >>> /usr/src/sys/arch/amd64/compile/GENERIC >>> real mem = 1056817152 (1007MB) >>> avail mem = 1012228096 (965MB) >>> mpath0 at root >>> scsibus0 at mpath0: 256 targets >>> mainbus0 at root >>> bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf5940 (9 entries) >>> bios0: vendor SeaBIOS version "rel-1.12.1-0-ga5cab58e9a3f- >>> prebuilt.qemu.org" >>> date 04/01/2014 >>> bios0: QEMU Standard PC (i440FX + PIIX, 1996) >>> acpi0 at bios0: ACPI 1.0 >>> acpi0: sleep states S3 S4 S5 >>> acpi0: tables DSDT FACP APIC HPET >>> acpi0: wakeup devices >>> acpitimer0 at acpi0: 3579545 Hz, 24 bits >>> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat >>> cpu0 at mainbus0: apid 0 (boot processor) >>> cpu0: Westmere E56xx/L56xx/X56xx (Nehalem-C), 2295.15 MHz, 06-2c-01 >>> cpu0: >>> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA, >>> CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL, >>> SSSE3,CX16,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,HV,NXE,LONG, >>> LAHF,ARAT,MELTDOWN >>> cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB >>> 64b/line 16-way L2 cache >>> cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped >>> cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped >>> cpu0: smt 0, core 0, package 0 >>> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges >>> cpu0: apic clock running at 1000MHz >>> ioapic0 at mainbus0: apid 0 pa 0xfec0, version 11, 24 pins >>> acpihpet0 at acpi0: 1 Hz >>> acpiprt0 at acpi0: bus 0 (PCI0) >>> acpicpu0 at acpi0: C1(@1 halt!) >>> "ACPI0006" at acpi0 not configured >>> acpipci0 at acpi0 PCI0: _OSC failed >>> acpicmos0 at acpi0 >>> "PNP0A06" at acpi0 not configured >>> "PNP0A06" at acpi0 not configured >>> "PNP0A06" at acpi0 not configured >>> "QEMU0002" at acpi0 not configured >>> "ACPI0010" at acpi0 not configured >>> cpu0: using IvyBridge MDS workaround >>> pvbus0 at mainbus0: KVM >>> pvclock0 at pvbus0 >>> pci0 at mainbus0 bus 0 >>> pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02 >>> pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00 >>> pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, >>> channel >>> 0 wired to compatibility, channel 1 wired to compatibility >>> pciide0: channel 0 disabled (no drives) >>> pciide0: channel 1 disabled (no drives) >>> uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 0 int >>> 11 >>> piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 0 >>> int >>> 9 >>> iic0 at piixpm0 >>> vga1 at pci0 dev 2 function 0 "Bochs VGA" rev 0x02 >>> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) >>> wsdisplay0: screen 1-5 added (80x25, vt100 emulation) >>> virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00 >>> vio0 at virtio0: address 52:54:00:a5:1f:57 >>> virtio0: msix shared >>> eap0 at pci0 dev 4 function 0 "Ensoniq AudioPCI" rev 0x00: apic 0 int 11 >>> audio0 at eap0 >>> midi0 at eap0: >>> virtio1 at pci0 dev 5 function 0 "Qumranet Virtio Storage" rev 0x00 >>> vioblk0 at virtio1 >>> scsibus1 at vioblk0: 2 targets >>> sd0 at scsibus1 targ 0 lun 0: >>> sd0: 51200MB, 512 bytes/sector, 104857600 sectors >>> virtio1: msix shared >>> virtio2 at pci0 dev 6 function 0 "Qumranet Virtio Memory Balloon" rev >>> 0x00 >>> viomb0 at virtio2 >>> virtio2: apic 0 int 10 >>> isa0 at pcib0 >>> isadma0 at isa0 >>> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 >>> pckbc0 at isa0 port 0x60/5 irq
Re: OpenBSD Hangs On
Thanks! On Tue, Jun 23, 2020, 01:40 Tom Smyth wrote: > Hi Jinn > This issue we came across a few years ago , > it affects certain versions of KVM / Proxmox... > if you disable Intel Preemption timer... in the Hypervisor Linux kernel > if you do a search misc lists ... with KVM and freeze and OpenBSD > you will see lots of discussions and the exact settings to put in the KVM > Hypervisor > it may relieve your situation.. > > > Thanks > Tom Smyth > > On Mon, 22 Jun 2020 at 14:30, jin > wrote: > >> Hello >> >> I've a virtual appliance on kvm and it hangs on every 3 days >> period approximately. The problem been there since its installation which >> was in March. When it happens, I can only make hard shutdown/reboot to >> recover my system from this issue because the system doesn't respond me. >> I'm using version 6.6 of OpenBSD and i already applied the all syspatches. >> I'm not certain but it looks like the problem could be related with syslog >> deamon. May be it is too early to make an assumption but log messages >> (/var/log/messages) show that syslog daemon keeps restarting itself in 4 >> hours periods. >> >> Could someone please point me to how to increase verbosity of the logs ? >> I'ld like to dig myself as much as possible. >> >> Fatih >> Sincerely >> >> dmesg output >> >> OpenBSD 6.6 (GENERIC) #7: Thu Mar 12 10:32:29 MDT 2020 >> r...@syspatch-66-amd64.openbsd.org: >> /usr/src/sys/arch/amd64/compile/GENERIC >> real mem = 1056817152 (1007MB) >> avail mem = 1012228096 (965MB) >> mpath0 at root >> scsibus0 at mpath0: 256 targets >> mainbus0 at root >> bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf5940 (9 entries) >> bios0: vendor SeaBIOS version " >> rel-1.12.1-0-ga5cab58e9a3f-prebuilt.qemu.org" >> date 04/01/2014 >> bios0: QEMU Standard PC (i440FX + PIIX, 1996) >> acpi0 at bios0: ACPI 1.0 >> acpi0: sleep states S3 S4 S5 >> acpi0: tables DSDT FACP APIC HPET >> acpi0: wakeup devices >> acpitimer0 at acpi0: 3579545 Hz, 24 bits >> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat >> cpu0 at mainbus0: apid 0 (boot processor) >> cpu0: Westmere E56xx/L56xx/X56xx (Nehalem-C), 2295.15 MHz, 06-2c-01 >> cpu0: >> >> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,HV,NXE,LONG,LAHF,ARAT,MELTDOWN >> cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB >> 64b/line 16-way L2 cache >> cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped >> cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped >> cpu0: smt 0, core 0, package 0 >> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges >> cpu0: apic clock running at 1000MHz >> ioapic0 at mainbus0: apid 0 pa 0xfec0, version 11, 24 pins >> acpihpet0 at acpi0: 1 Hz >> acpiprt0 at acpi0: bus 0 (PCI0) >> acpicpu0 at acpi0: C1(@1 halt!) >> "ACPI0006" at acpi0 not configured >> acpipci0 at acpi0 PCI0: _OSC failed >> acpicmos0 at acpi0 >> "PNP0A06" at acpi0 not configured >> "PNP0A06" at acpi0 not configured >> "PNP0A06" at acpi0 not configured >> "QEMU0002" at acpi0 not configured >> "ACPI0010" at acpi0 not configured >> cpu0: using IvyBridge MDS workaround >> pvbus0 at mainbus0: KVM >> pvclock0 at pvbus0 >> pci0 at mainbus0 bus 0 >> pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02 >> pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00 >> pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, >> channel >> 0 wired to compatibility, channel 1 wired to compatibility >> pciide0: channel 0 disabled (no drives) >> pciide0: channel 1 disabled (no drives) >> uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 0 int 11 >> piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 0 >> int >> 9 >> iic0 at piixpm0 >> vga1 at pci0 dev 2 function 0 "Bochs VGA" rev 0x02 >> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) >> wsdisplay0: screen 1-5 added (80x25, vt100 emulation) >> virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00 >> vio0 at virtio0: address 52:54:00:a5:1f:57 >> virtio0: msix shared >> eap0 at pci0 dev 4 function 0 "Ensoniq AudioPCI" rev 0x00: apic 0 int 11 >> audio0 at eap0 >> midi0 at eap0: >> virtio1 at pci0 dev 5 function 0 "Qumranet Virtio Storage" rev 0x00 >> vioblk0 at virtio1 >> scsibus1 at vioblk0: 2 targets >> sd0 at scsibus1 targ 0 lun 0: >> sd0: 51200MB, 512 bytes/sector, 104857600 sectors >> virtio1: msix shared >> virtio2 at pci0 dev 6 function 0 "Qumranet Virtio Memory Balloon" rev 0x00 >> viomb0 at virtio2 >> virtio2: apic 0 int 10 >> isa0 at pcib0 >> isadma0 at isa0 >> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 >> pckbc0 at isa0 port 0x60/5 irq 1 irq 12 >> pckbd0 at pckbc0 (kbd slot) >> wskbd0 at pckbd0: console keyboard, using wsdisplay0 >> pms0 at pckbc0 (aux slot) >> wsmouse0 at pms0 mux 0 >> pcppi0 at isa0 port 0x61 >> spkr0 at pcppi0 >> usb0 at uhci0: USB revision 1.0 >> uhub0 at usb0 configuration
Re: OpenBSD Hangs On
Hi Jinn This issue we came across a few years ago , it affects certain versions of KVM / Proxmox... if you disable Intel Preemption timer... in the Hypervisor Linux kernel if you do a search misc lists ... with KVM and freeze and OpenBSD you will see lots of discussions and the exact settings to put in the KVM Hypervisor it may relieve your situation.. Thanks Tom Smyth On Mon, 22 Jun 2020 at 14:30, jin wrote: > Hello > > I've a virtual appliance on kvm and it hangs on every 3 days > period approximately. The problem been there since its installation which > was in March. When it happens, I can only make hard shutdown/reboot to > recover my system from this issue because the system doesn't respond me. > I'm using version 6.6 of OpenBSD and i already applied the all syspatches. > I'm not certain but it looks like the problem could be related with syslog > deamon. May be it is too early to make an assumption but log messages > (/var/log/messages) show that syslog daemon keeps restarting itself in 4 > hours periods. > > Could someone please point me to how to increase verbosity of the logs ? > I'ld like to dig myself as much as possible. > > Fatih > Sincerely > > dmesg output > > OpenBSD 6.6 (GENERIC) #7: Thu Mar 12 10:32:29 MDT 2020 > r...@syspatch-66-amd64.openbsd.org: > /usr/src/sys/arch/amd64/compile/GENERIC > real mem = 1056817152 (1007MB) > avail mem = 1012228096 (965MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf5940 (9 entries) > bios0: vendor SeaBIOS version " > rel-1.12.1-0-ga5cab58e9a3f-prebuilt.qemu.org" > date 04/01/2014 > bios0: QEMU Standard PC (i440FX + PIIX, 1996) > acpi0 at bios0: ACPI 1.0 > acpi0: sleep states S3 S4 S5 > acpi0: tables DSDT FACP APIC HPET > acpi0: wakeup devices > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Westmere E56xx/L56xx/X56xx (Nehalem-C), 2295.15 MHz, 06-2c-01 > cpu0: > > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,HV,NXE,LONG,LAHF,ARAT,MELTDOWN > cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB > 64b/line 16-way L2 cache > cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped > cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 1000MHz > ioapic0 at mainbus0: apid 0 pa 0xfec0, version 11, 24 pins > acpihpet0 at acpi0: 1 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpicpu0 at acpi0: C1(@1 halt!) > "ACPI0006" at acpi0 not configured > acpipci0 at acpi0 PCI0: _OSC failed > acpicmos0 at acpi0 > "PNP0A06" at acpi0 not configured > "PNP0A06" at acpi0 not configured > "PNP0A06" at acpi0 not configured > "QEMU0002" at acpi0 not configured > "ACPI0010" at acpi0 not configured > cpu0: using IvyBridge MDS workaround > pvbus0 at mainbus0: KVM > pvclock0 at pvbus0 > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02 > pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00 > pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel > 0 wired to compatibility, channel 1 wired to compatibility > pciide0: channel 0 disabled (no drives) > pciide0: channel 1 disabled (no drives) > uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 0 int 11 > piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 0 int > 9 > iic0 at piixpm0 > vga1 at pci0 dev 2 function 0 "Bochs VGA" rev 0x02 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00 > vio0 at virtio0: address 52:54:00:a5:1f:57 > virtio0: msix shared > eap0 at pci0 dev 4 function 0 "Ensoniq AudioPCI" rev 0x00: apic 0 int 11 > audio0 at eap0 > midi0 at eap0: > virtio1 at pci0 dev 5 function 0 "Qumranet Virtio Storage" rev 0x00 > vioblk0 at virtio1 > scsibus1 at vioblk0: 2 targets > sd0 at scsibus1 targ 0 lun 0: > sd0: 51200MB, 512 bytes/sector, 104857600 sectors > virtio1: msix shared > virtio2 at pci0 dev 6 function 0 "Qumranet Virtio Memory Balloon" rev 0x00 > viomb0 at virtio2 > virtio2: apic 0 int 10 > isa0 at pcib0 > isadma0 at isa0 > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pms0 at pckbc0 (aux slot) > wsmouse0 at pms0 mux 0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > usb0 at uhci0: USB revision 1.0 > uhub0 at usb0 configuration 1 interface 0 "Intel UHCI root hub" rev > 1.00/1.00 addr 1 > uhidev0 at uhub0 port 1 configuration 1 interface 0 "QEMU QEMU USB Tablet" > rev 2.00/0.00 addr 2 > uhidev0: iclass 3/0 > ums0 at
Re: OpenBSD hangs when i unplug USB disk
On 11/20/2012 1:32 PM, Marcos Laufer wrote: Peter Hessler wrote: On 2012 Nov 20 (Tue) at 12:45:09 -0300 (-0300), Marcos Laufer wrote: :Ok , i've just tried it on a OpenBSD 5.1 and unplugging the USB works :just fine, no crash, no freeze. : :The weird thing and i don't understand why, is that you guys had good :results with old OpenBSD versions and i didn't. : No, nobody bothered with older versions. We run -current, or 5.1 at the latest. I'm sorry, but some people bothered, even asked me to send info because this worked with old versions of the OS to them and not to me. So i guess it has something to do with the firmware on the disk, i don't really know. But if it works on 5.1 then that's enough for me. I'm sorry the problem is not solved. I installed OpenBSD 5.2 , attempted to format the disk and it ends with an error (i can only see it on console and didn't write it down) , and after that the device is detached and the port disabled. I am not in the datacenter right now so i can't unplug it and plug it in again (although now it does not hang the OS when doing this) to try again: umass0 at uhub0 port 3 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed sd1: 953837MB, 512 bytes/sector, 1953458176 sectors ses0 at scsibus2 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed ses0: unable to read enclosure configuration vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (dbca6b23415fa5d6.a) swap on sd0b dump on sd0b WARNING: R/W mount of /mnt denied. Filesystem is not clean - run fsck sd1 detached ses0 detached scsibus2 detached umass0 detached umass0 at uhub0 port 3 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed sd1: 953837MB, 512 bytes/sector, 1953458176 sectors ses0 at scsibus2 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed ses0: unable to read enclosure configuration sd1 detached ses0 detached scsibus2 detached umass0 detached uhub0: device problem, disabling port 3 umass0 at uhub0 port 4 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed sd1: 953837MB, 512 bytes/sector, 1953458176 sectors ses0 at scsibus2 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed ses0: unable to read enclosure configuration sd1 detached ses0 detached scsibus2 detached umass0 detached umass0 at uhub0 port 4 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed sd1: 953837MB, 512 bytes/sector, 1953458176 sectors ses0 at scsibus2 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed ses0: unable to read enclosure configuration sd1 detached ses0 detached scsibus2 detached umass0 detached uhub0: device problem, disabling port 4
Re: OpenBSD hangs when i unplug USB disk
On 12/17/2012 2:23 PM, Marcos Ariel Laufer wrote: On 11/20/2012 1:32 PM, Marcos Laufer wrote: Peter Hessler wrote: On 2012 Nov 20 (Tue) at 12:45:09 -0300 (-0300), Marcos Laufer wrote: :Ok , i've just tried it on a OpenBSD 5.1 and unplugging the USB works :just fine, no crash, no freeze. : :The weird thing and i don't understand why, is that you guys had good :results with old OpenBSD versions and i didn't. : No, nobody bothered with older versions. We run -current, or 5.1 at the latest. I'm sorry, but some people bothered, even asked me to send info because this worked with old versions of the OS to them and not to me. So i guess it has something to do with the firmware on the disk, i don't really know. But if it works on 5.1 then that's enough for me. I'm sorry the problem is not solved. I installed OpenBSD 5.2 , attempted to format the disk and it ends with an error (i can only see it on console and didn't write it down) , and after that the device is detached and the port disabled. I am not in the datacenter right now so i can't unplug it and plug it in again (although now it does not hang the OS when doing this) to try again: umass0 at uhub0 port 3 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed sd1: 953837MB, 512 bytes/sector, 1953458176 sectors ses0 at scsibus2 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed ses0: unable to read enclosure configuration vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (dbca6b23415fa5d6.a) swap on sd0b dump on sd0b WARNING: R/W mount of /mnt denied. Filesystem is not clean - run fsck sd1 detached ses0 detached scsibus2 detached umass0 detached umass0 at uhub0 port 3 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed sd1: 953837MB, 512 bytes/sector, 1953458176 sectors ses0 at scsibus2 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed ses0: unable to read enclosure configuration sd1 detached ses0 detached scsibus2 detached umass0 detached uhub0: device problem, disabling port 3 umass0 at uhub0 port 4 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed sd1: 953837MB, 512 bytes/sector, 1953458176 sectors ses0 at scsibus2 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed ses0: unable to read enclosure configuration sd1 detached ses0 detached scsibus2 detached umass0 detached umass0 at uhub0 port 4 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed sd1: 953837MB, 512 bytes/sector, 1953458176 sectors ses0 at scsibus2 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed ses0: unable to read enclosure configuration sd1 detached ses0 detached scsibus2 detached umass0 detached uhub0: device problem, disabling port 4 Here's full dmesg when rebooting and tried to mount the sd1a partition afterwards. OpenBSD 5.2 (GENERIC) #0: Fri Dec 14 23:58:18 ART 2012 r...@un8.huxley.com.ar:/u/system/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Xeon(TM) CPU 3.06GHz (GenuineIntel 686-class) 3.07 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR real mem = 3220738048 (3071MB) avail mem = 3157274624 (3011MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf, SMBIOS rev. 2.3 @ 0xec000 (42 entries) bios0: vendor HP version P31 date 01/28/2004 bios0: HP ProLiant DL360 G3 acpi0 at bios0: rev 0 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP APIC SPCR acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 133MHz cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 16 pins ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins ioapic2 at mainbus0: apid 4 pa 0xfec02000, version 11, 16 pins ioapic3 at mainbus0: apid 5 pa 0xfec03000, version 11, 16 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PCI1) acpiprt2 at acpi0: bus 4 (PCI2) acpicpu0 at acpi0 acpitz0 at acpi0: critical temperature is
Re: OpenBSD hangs when i unplug USB disk
Marcos Ariel Laufer wrote: On 11/18/2012 12:35 PM, Paul de Weerd wrote: On Thu, Nov 15, 2012 at 01:04:02PM -0300, Marcos Laufer wrote: | I did this quite often a couple of weeks ago. Haven't tried for a | while (no need) and have upgraded to newer snaps a bunch of times | since. Tonight I'll confirm I can unplug safely on the latest snap. | | Thank you Paul, i look forward for the results of your testing tonight. Apologies for the late response; my Thursday plans got changed at the last minute. However, I've verified that unplugging works fine with the latest snapshot. So no regressions from my POV. Paul 'WEiRD' de Weerd Damn, why mine isn't working fine then? Do you have i386 or AMD? I'll try latest 5.1 and 5.2 tomorrow and see what happens. Ok , i've just tried it on a OpenBSD 5.1 and unplugging the USB works just fine, no crash, no freeze. The weird thing and i don't understand why, is that you guys had good results with old OpenBSD versions and i didn't. Regards, Marcos
Re: OpenBSD hangs when i unplug USB disk
On Mon, Nov 19, 2012 at 06:14:49PM -0300, Marcos Ariel Laufer wrote: | However, I've verified that unplugging works fine with the latest | snapshot. So no regressions from my POV. | | Damn, why mine isn't working fine then? Do you have i386 or AMD? | I'll try latest 5.1 and 5.2 tomorrow and see what happens. I've tested all currently connected disks on my machine: sd0 at scsibus1 targ 1 lun 0: WD, My Passport 0740, 1003 SCSI4 0/direct fixed sd1 at scsibus2 targ 1 lun 0: WD, My Passport 0748, 1010 SCSI4 0/direct fixed sd2 at scsibus3 targ 1 lun 0: WD, My Passport 0730, 1015 SCSI4 0/direct fixed sd3 at scsibus4 targ 1 lun 0: WD, My Passport 070A, 1032 SCSI2 0/direct fixed sd4 at scsibus5 targ 1 lun 0: WD, My Passport 0748, 1010 SCSI4 0/direct fixed sd5 at scsibus6 targ 1 lun 0: WD, My Passport 0748, 1010 SCSI4 0/direct fixed which is running: kern.version=OpenBSD 5.2-current (GENERIC.MP) #112: Tue Nov 13 12:57:16 MST 2012 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP and I've not been able to reproduce the issue (dmesg with detach and re-attach cycle for all disks included below). In the past, I ran i386 on another machine which also used a My Password disk (1008) and did not have this issue there either, so I don't think it's an i386-only problem... Cheers, Paul 'WEiRD' de Weerd OpenBSD 5.2-current (GENERIC.MP) #112: Tue Nov 13 12:57:16 MST 2012 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2144333824 (2044MB) avail mem = 2064830464 (1969MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0450 (76 entries) bios0: vendor Dell Inc. version 2.1.0 date 12/04/2006 bios0: Dell Inc. OptiPlex 745 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET SLIC SSDT SSDT SSDT acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI2(S5) PCI3(S5) PCI1(S5) PCI5(S5) PCI6(S5) MOU_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz, 2658.43 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu0: 4MB 64b/line 16-way L2 cache cpu0: apic clock running at 265MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz, 2658.07 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu1: 4MB 64b/line 16-way L2 cache ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 8 acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 4 (PCI4) acpiprt1 at acpi0: bus 2 (PCI2) acpiprt2 at acpi0: bus -1 (PCI3) acpiprt3 at acpi0: bus 1 (PCI1) acpiprt4 at acpi0: bus 3 (PCI5) acpiprt5 at acpi0: bus -1 (PCI6) acpiprt6 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpibtn0 at acpi0: VBTN cpu0: Enhanced SpeedStep 2658 MHz: speeds: 2667, 2400, 2133, 1867, 1600 MHz memory map conflict 0x7fe03c00/0x1fc400 pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel 82Q965 Host rev 0x02 ppb0 at pci0 dev 1 function 0 Intel 82Q965 PCIE rev 0x02: msi pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon X1300 Pro rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 8 int 16 drm0 at radeondrm0 ATI Radeon X1300 Pro Sec rev 0x00 at pci1 dev 0 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x02: apic 8 int 16 uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x02: apic 8 int 17 ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x02: apic 8 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x02: msi azalia0: codecs: Analog Devices AD1983 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x02: msi pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x02: msi pci3 at ppb2 bus 3 bge0 at pci3 dev 0 function 0 Broadcom BCM5754 rev 0x02, BCM5754/5787 A2 (0xb002): apic 8 int 16, address 00:18:8b:6a:6d:87 brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY, rev. 0 uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x02: apic 8 int 23 uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x02: apic 8 int 17 uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x02: apic 8 int 18 ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x02: apic 8 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev
Re: OpenBSD hangs when i unplug USB disk
On 2012 Nov 20 (Tue) at 12:45:09 -0300 (-0300), Marcos Laufer wrote: :Ok , i've just tried it on a OpenBSD 5.1 and unplugging the USB works :just fine, no crash, no freeze. : :The weird thing and i don't understand why, is that you guys had good :results with old OpenBSD versions and i didn't. : No, nobody bothered with older versions. We run -current, or 5.1 at the latest. -- Did you know that Spiro Agnew is an anagram of Grow a Penis?
Re: OpenBSD hangs when i unplug USB disk
Peter Hessler wrote: On 2012 Nov 20 (Tue) at 12:45:09 -0300 (-0300), Marcos Laufer wrote: :Ok , i've just tried it on a OpenBSD 5.1 and unplugging the USB works :just fine, no crash, no freeze. : :The weird thing and i don't understand why, is that you guys had good :results with old OpenBSD versions and i didn't. : No, nobody bothered with older versions. We run -current, or 5.1 at the latest. I'm sorry, but some people bothered, even asked me to send info because this worked with old versions of the OS to them and not to me. So i guess it has something to do with the firmware on the disk, i don't really know. But if it works on 5.1 then that's enough for me.
Re: OpenBSD hangs when i unplug USB disk
On 11/18/2012 12:35 PM, Paul de Weerd wrote: On Thu, Nov 15, 2012 at 01:04:02PM -0300, Marcos Laufer wrote: | I did this quite often a couple of weeks ago. Haven't tried for a | while (no need) and have upgraded to newer snaps a bunch of times | since. Tonight I'll confirm I can unplug safely on the latest snap. | | Thank you Paul, i look forward for the results of your testing tonight. Apologies for the late response; my Thursday plans got changed at the last minute. However, I've verified that unplugging works fine with the latest snapshot. So no regressions from my POV. Paul 'WEiRD' de Weerd Damn, why mine isn't working fine then? Do you have i386 or AMD? I'll try latest 5.1 and 5.2 tomorrow and see what happens.
Re: OpenBSD hangs when i unplug USB disk
On Thu, Nov 15, 2012 at 01:04:02PM -0300, Marcos Laufer wrote: | I did this quite often a couple of weeks ago. Haven't tried for a | while (no need) and have upgraded to newer snaps a bunch of times | since. Tonight I'll confirm I can unplug safely on the latest snap. | | Thank you Paul, i look forward for the results of your testing tonight. Apologies for the late response; my Thursday plans got changed at the last minute. However, I've verified that unplugging works fine with the latest snapshot. So no regressions from my POV. Paul 'WEiRD' de Weerd -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/
Re: OpenBSD hangs when i unplug USB disk
Kenneth R Westerback wrote: On Thu, Nov 15, 2012 at 12:48:03PM -0300, Marcos Laufer wrote: Kenneth R Westerback wrote: On Wed, Nov 14, 2012 at 04:22:20PM -0300, Marcos Laufer wrote: Hello, i'd like to inform a problem when dettaching an external 1TB USB disk drive , the system just freezes, i can't type anything. Also It stops responding to ping. If i don't unplug it then i can use the disk normally, i can copy and delete files with no problem. But as soon as i unplug the USB cord, the machine freezes. I've tested it on several machines, different OpenBSD versions starting from 4.3, i'm not asking for support, i know old OpenBSD versions are no longer supported, but this seemed pretty odd, i suppose that plugging and unplugging a USB disk should not cause any problems on any OS version. These are the lines on dmesg about this disk: Nov 14 16:00:31 hq /bsd: umass0 at uhub0 Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration Best regards, Marcos As an experiment, try going into boot's config (-c at the boot) and disable ses. Then see if a) the ses device is still present, and b) if the absence of the ses device(s) alleviate the symptoms. Ken Hello, i've just tried this. The ses device is not present when i disable it at boot time, but the problem persists, if i unplug the USB cord (no matter if the partition is mounted or not) the OS just freezes. So i guess it is not related to the ses driver. This are the dmesg lines of this experiment: Nov 15 12:32:52 hq /bsd: umass0 at uhub0 Nov 15 12:32:52 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 15 12:32:52 hq /bsd: umass0: using SCSI over Bulk-Only Nov 15 12:32:52 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 15 12:32:52 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 15 12:32:59 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 15 12:32:59 hq /bsd: uk0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Arrg. Need to kill all reference to that second device. Try a kernel with this diff. It should prevent probing anything but lun 0. Ken Index: umass_scsi.c === RCS file: /cvs/src/sys/dev/usb/umass_scsi.c,v retrieving revision 1.38 diff -u -p -r1.38 umass_scsi.c --- umass_scsi.c 17 Jul 2011 22:46:48 - 1.38 +++ umass_scsi.c 15 Nov 2012 17:17:06 - @@ -92,7 +92,7 @@ umass_scsi_attach(struct umass_softc *sc scbus = umass_scsi_setup(sc); scbus-sc_link.adapter_target = UMASS_SCSIID_HOST; - scbus-sc_link.luns = sc-maxlun + 1; + scbus-sc_link.luns = 1; scbus-sc_link.flags = ~SDEV_ATAPI; scbus-sc_link.flags |= SDEV_UMASS; Ken, i've applied your patch on an old OpenBSD 4.5 i use for testing purposes and the problem got solved. Now i can unplug the USB disk and no freeze at all. Is it safe to apply it on older and newer OpenBSD versions as well? These are the new dmesg lines: umass0 at uhub0 port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed sd0: 953837MB, 512 bytes/sec, 1953458176 sec total and after unpluggin the USB cord i get: sd0 detached scsibus0 detached umass0 detached And the OS does not freeze anymore. Thank you very much!
Re: OpenBSD hangs when i unplug USB disk
On Fri, Nov 16, 2012 at 12:02:11PM -0300, Marcos Laufer wrote: Kenneth R Westerback wrote: On Thu, Nov 15, 2012 at 12:48:03PM -0300, Marcos Laufer wrote: Kenneth R Westerback wrote: On Wed, Nov 14, 2012 at 04:22:20PM -0300, Marcos Laufer wrote: Hello, i'd like to inform a problem when dettaching an external 1TB USB disk drive , the system just freezes, i can't type anything. Also It stops responding to ping. If i don't unplug it then i can use the disk normally, i can copy and delete files with no problem. But as soon as i unplug the USB cord, the machine freezes. I've tested it on several machines, different OpenBSD versions starting from 4.3, i'm not asking for support, i know old OpenBSD versions are no longer supported, but this seemed pretty odd, i suppose that plugging and unplugging a USB disk should not cause any problems on any OS version. These are the lines on dmesg about this disk: Nov 14 16:00:31 hq /bsd: umass0 at uhub0 Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration Best regards, Marcos As an experiment, try going into boot's config (-c at the boot) and disable ses. Then see if a) the ses device is still present, and b) if the absence of the ses device(s) alleviate the symptoms. Ken Hello, i've just tried this. The ses device is not present when i disable it at boot time, but the problem persists, if i unplug the USB cord (no matter if the partition is mounted or not) the OS just freezes. So i guess it is not related to the ses driver. This are the dmesg lines of this experiment: Nov 15 12:32:52 hq /bsd: umass0 at uhub0 Nov 15 12:32:52 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 15 12:32:52 hq /bsd: umass0: using SCSI over Bulk-Only Nov 15 12:32:52 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 15 12:32:52 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 15 12:32:59 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 15 12:32:59 hq /bsd: uk0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Arrg. Need to kill all reference to that second device. Try a kernel with this diff. It should prevent probing anything but lun 0. Ken Index: umass_scsi.c === RCS file: /cvs/src/sys/dev/usb/umass_scsi.c,v retrieving revision 1.38 diff -u -p -r1.38 umass_scsi.c --- umass_scsi.c 17 Jul 2011 22:46:48 - 1.38 +++ umass_scsi.c 15 Nov 2012 17:17:06 - @@ -92,7 +92,7 @@ umass_scsi_attach(struct umass_softc *sc scbus = umass_scsi_setup(sc); scbus-sc_link.adapter_target = UMASS_SCSIID_HOST; -scbus-sc_link.luns = sc-maxlun + 1; +scbus-sc_link.luns = 1; scbus-sc_link.flags = ~SDEV_ATAPI; scbus-sc_link.flags |= SDEV_UMASS; Ken, i've applied your patch on an old OpenBSD 4.5 i use for testing purposes and the problem got solved. Now i can unplug the USB disk and no freeze at all. Is it safe to apply it on older and newer OpenBSD versions as well? These are the new dmesg lines: umass0 at uhub0 port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed sd0: 953837MB, 512 bytes/sec, 1953458176 sec total and after unpluggin the USB cord i get: sd0 detached scsibus0 detached umass0 detached And the OS does not freeze anymore. Thank you very much! I had deliberately NOT copied misc@ so random diagnostic patches are not floating around for the more excitable of our community to apply and forget about. :-) The diff is not the solution. It merely confirms that it is the ses* devices that are the problem. http://wdc.custhelp.com/app/answers/detail/a_id/3739/~/what-is-the-ses-driver,-why-is-it-needed,-and-how-to-get-the-driver-popup-to is a fascinating page that google found for me. If you have windows or os x available you might be able to disable the ses functionality, which would be a better solution. The proper OpenBSD solution is likely to involve upgrading the ses driver to properly get disconnected. Ken
Re: OpenBSD hangs when i unplug USB disk
On Wed, Nov 14, 2012 at 04:22:20PM -0300, Marcos Laufer wrote: Hello, i'd like to inform a problem when dettaching an external 1TB USB disk drive , the system just freezes, i can't type anything. Also It stops responding to ping. If i don't unplug it then i can use the disk normally, i can copy and delete files with no problem. But as soon as i unplug the USB cord, the machine freezes. I've tested it on several machines, different OpenBSD versions starting from 4.3, i'm not asking for support, i know old OpenBSD versions are no longer supported, but this seemed pretty odd, i suppose that plugging and unplugging a USB disk should not cause any problems on any OS version. These are the lines on dmesg about this disk: Nov 14 16:00:31 hq /bsd: umass0 at uhub0 Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration Best regards, Marcos I procured the device and tried it here. It's interesting that some laptops get the ses device and some don't. Will play with it some more on the device that can see the ses to see if we can reproduce the problem and perhaps get a solution. So far no machine has hung even when they see the ses device, although we haven't tried doing any i/o to it. Ken
Re: OpenBSD hangs when i unplug USB disk
did you unmount it first? Marcos Laufer mar...@ipv4networks.com wrote: Hello, i'd like to inform a problem when dettaching an external 1TB USB disk drive , the system just freezes, i can't type anything. Also It stops responding to ping. If i don't unplug it then i can use the disk normally, i can copy and delete files with no problem. But as soon as i unplug the USB cord, the machine freezes. I've tested it on several machines, different OpenBSD versions starting from 4.3, i'm not asking for support, i know old OpenBSD versions are no longer supported, but this seemed pretty odd, i suppose that plugging and unplugging a USB disk should not cause any problems on any OS version. These are the lines on dmesg about this disk: Nov 14 16:00:31 hq /bsd: umass0 at uhub0 Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration Best regards, Marcos -- Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Re: OpenBSD hangs when i unplug USB disk
Of course!! I *always* umount the disk before unplugging it. That didn't stop the OS from freezing. I've been using OpenBSD since 2.6, this never happened to me with any other USB hard disks. This one in particular i bought it a couple of days ago. On 11/15/2012 6:19 AM, David Diggles wrote: did you unmount it first? Marcos Laufer mar...@ipv4networks.com wrote: Hello, i'd like to inform a problem when dettaching an external 1TB USB disk drive , the system just freezes, i can't type anything. Also It stops responding to ping. If i don't unplug it then i can use the disk normally, i can copy and delete files with no problem. But as soon as i unplug the USB cord, the machine freezes. I've tested it on several machines, different OpenBSD versions starting from 4.3, i'm not asking for support, i know old OpenBSD versions are no longer supported, but this seemed pretty odd, i suppose that plugging and unplugging a USB disk should not cause any problems on any OS version. These are the lines on dmesg about this disk: Nov 14 16:00:31 hq /bsd: umass0 at uhub0 Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration Best regards, Marcos
Re: OpenBSD hangs when i unplug USB disk
On Thu, Nov 15, 2012 at 07:45:40AM -0300, Marcos Ariel Laufer wrote: Of course!! I *always* umount the disk before unplugging it. That didn't stop the OS from freezing. I've been using OpenBSD since 2.6, this never happened to me with any other USB hard disks. This one in particular i bought it a couple of days ago. This particular disk has ses(4). That is uncommmon for a USB disk. My guess the problem has something to do with that. Cc'ing dlg@, maybe he has a clue. -Otto On 11/15/2012 6:19 AM, David Diggles wrote: did you unmount it first? Marcos Laufer mar...@ipv4networks.com wrote: Hello, i'd like to inform a problem when dettaching an external 1TB USB disk drive , the system just freezes, i can't type anything. Also It stops responding to ping. If i don't unplug it then i can use the disk normally, i can copy and delete files with no problem. But as soon as i unplug the USB cord, the machine freezes. I've tested it on several machines, different OpenBSD versions starting from 4.3, i'm not asking for support, i know old OpenBSD versions are no longer supported, but this seemed pretty odd, i suppose that plugging and unplugging a USB disk should not cause any problems on any OS version. These are the lines on dmesg about this disk: Nov 14 16:00:31 hq /bsd: umass0 at uhub0 Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration Best regards, Marcos
Re: OpenBSD hangs when i unplug USB disk
On Thu, Nov 15, 2012 at 11:53:07AM +0100, Otto Moerbeek wrote: | On Thu, Nov 15, 2012 at 07:45:40AM -0300, Marcos Ariel Laufer wrote: | | Of course!! | I *always* umount the disk before unplugging it. That didn't stop the OS | from freezing. | I've been using OpenBSD since 2.6, this never happened to me with any | other USB hard disks. This one in particular i bought it a couple of | days ago. | | This particular disk has ses(4). That is uncommmon for a USB disk. My | guess the problem has something to do with that. | | Cc'ing dlg@, maybe he has a clue. I have no problems whatsoever (mounting, umounting, using the disks, etc) with mine: umass0 at uhub0 port 3 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.10 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: WD, My Passport 0748, 1010 SCSI4 0/direct fixed sd0: 1907697MB, 512 bytes/sector, 3906963456 sectors ses0 at scsibus1 targ 1 lun 1: WD, SES Device, 1010 SCSI4 13/enclosure services fixed ses0: unable to read enclosure configuration umass1 at uhub0 port 4 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.10 addr 3 umass1: using SCSI over Bulk-Only scsibus2 at umass1: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: WD, My Passport 0748, 1010 SCSI4 0/direct fixed sd1: 1907697MB, 512 bytes/sector, 3906963456 sectors ses1 at scsibus2 targ 1 lun 1: WD, SES Device, 1010 SCSI4 13/enclosure services fixed ses1: unable to read enclosure configuration umass2 at uhub1 port 3 configuration 1 interface 0 Western Digital My Passport 0740 rev 2.10/10.03 addr 2 umass2: using SCSI over Bulk-Only scsibus3 at umass2: 2 targets, initiator 0 sd2 at scsibus3 targ 1 lun 0: WD, My Passport 0740, 1003 SCSI4 0/direct fixed sd2: 953837MB, 512 bytes/sector, 1953458176 sectors ses2 at scsibus3 targ 1 lun 1: WD, SES Device, 1003 SCSI4 13/enclosure services fixed ses2: unable to read enclosure configuration umass3 at uhub1 port 4 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.10 addr 3 umass3: using SCSI over Bulk-Only scsibus4 at umass3: 2 targets, initiator 0 sd3 at scsibus4 targ 1 lun 0: WD, My Passport 0748, 1010 SCSI4 0/direct fixed sd3: 1907697MB, 512 bytes/sector, 3906963456 sectors ses3 at scsibus4 targ 1 lun 1: WD, SES Device, 1010 SCSI4 13/enclosure services fixed ses3: unable to read enclosure configuration umass4 at uhub1 port 5 configuration 1 interface 0 Western Digital My Passport 0730 rev 2.10/10.15 addr 4 umass4: using SCSI over Bulk-Only scsibus5 at umass4: 2 targets, initiator 0 sd4 at scsibus5 targ 1 lun 0: WD, My Passport 0730, 1015 SCSI4 0/direct fixed sd4: 953837MB, 512 bytes/sector, 1953458176 sectors ses4 at scsibus5 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed ses4: unable to read enclosure configuration umass5 at uhub1 port 6 configuration 1 interface 0 Western Digital My Passport 070A rev 2.00/10.32 addr 5 umass5: using SCSI over Bulk-Only scsibus6 at umass5: 2 targets, initiator 0 sd5 at scsibus6 targ 1 lun 0: WD, My Passport 070A, 1032 SCSI2 0/direct fixed sd5: 953199MB, 512 bytes/sector, 1952151552 sectors cd1 at scsibus6 targ 1 lun 1: WD, Virtual CD 070A, 1032 SCSI2 5/cdrom removable ses5 at scsibus6 targ 1 lun 2: WD, SES Device, 1032 SCSI2 13/enclosure services fixed ses5: unable to read enclosure configuration Paul 'WEiRD' de Weerd -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/
Re: OpenBSD hangs when i unplug USB disk
Of course!! I *always* umount the disk before unplugging it. That didn't stop the OS from freezing. I've been using OpenBSD since 2.6, this never happened to me with any other USB hard disks. This one in particular i bought it a couple of days ago. On 11/15/2012 1:58 AM, Paulm wrote: You *do* know about mount(8)/umount(8), right? On Wed, Nov 14, 2012 at 04:22:20PM -0300, Marcos Laufer wrote: Hello, i'd like to inform a problem when dettaching an external 1TB USB disk drive , the system just freezes, i can't type anything. Also It stops responding to ping. If i don't unplug it then i can use the disk normally, i can copy and delete files with no problem. But as soon as i unplug the USB cord, the machine freezes. I've tested it on several machines, different OpenBSD versions starting from 4.3, i'm not asking for support, i know old OpenBSD versions are no longer supported, but this seemed pretty odd, i suppose that plugging and unplugging a USB disk should not cause any problems on any OS version. These are the lines on dmesg about this disk: Nov 14 16:00:31 hq /bsd: umass0 at uhub0 Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration Best regards, Marcos
Re: OpenBSD hangs when i unplug USB disk
On Thu, 15 Nov 2012 07:45:40 -0300 Marcos Ariel Laufer mar...@ipversion4.com wrote: I've been using OpenBSD since 2.6, this never happened to me with any other USB hard disks. This one in particular i bought it a couple of days ago. I wonder if it freezes other OS or causes problems before even the bios boot selection?
Re: OpenBSD hangs when i unplug USB disk
On Wed, Nov 14, 2012 at 04:22:20PM -0300, Marcos Laufer wrote: Hello, i'd like to inform a problem when dettaching an external 1TB USB disk drive , the system just freezes, i can't type anything. Also It stops responding to ping. If i don't unplug it then i can use the disk normally, i can copy and delete files with no problem. But as soon as i unplug the USB cord, the machine freezes. I've tested it on several machines, different OpenBSD versions starting from 4.3, i'm not asking for support, i know old OpenBSD versions are no longer supported, but this seemed pretty odd, i suppose that plugging and unplugging a USB disk should not cause any problems on any OS version. These are the lines on dmesg about this disk: Nov 14 16:00:31 hq /bsd: umass0 at uhub0 Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration Best regards, Marcos As an experiment, try going into boot's config (-c at the boot) and disable ses. Then see if a) the ses device is still present, and b) if the absence of the ses device(s) alleviate the symptoms. Ken
Re: OpenBSD hangs when i unplug USB disk
On Thu, Nov 15, 2012 at 12:02:38PM +0100, Paul de Weerd wrote: On Thu, Nov 15, 2012 at 11:53:07AM +0100, Otto Moerbeek wrote: | On Thu, Nov 15, 2012 at 07:45:40AM -0300, Marcos Ariel Laufer wrote: | | Of course!! | I *always* umount the disk before unplugging it. That didn't stop the OS | from freezing. | I've been using OpenBSD since 2.6, this never happened to me with any | other USB hard disks. This one in particular i bought it a couple of | days ago. | | This particular disk has ses(4). That is uncommmon for a USB disk. My | guess the problem has something to do with that. | | Cc'ing dlg@, maybe he has a clue. I have no problems whatsoever (mounting, umounting, using the disks, etc) with mine: Did you also try unplugging it? If that works and since the OP did not state the newest version he tried this on, we can probably conclude this is already fixed. -Otto umass0 at uhub0 port 3 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.10 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: WD, My Passport 0748, 1010 SCSI4 0/direct fixed sd0: 1907697MB, 512 bytes/sector, 3906963456 sectors ses0 at scsibus1 targ 1 lun 1: WD, SES Device, 1010 SCSI4 13/enclosure services fixed ses0: unable to read enclosure configuration umass1 at uhub0 port 4 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.10 addr 3 umass1: using SCSI over Bulk-Only scsibus2 at umass1: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: WD, My Passport 0748, 1010 SCSI4 0/direct fixed sd1: 1907697MB, 512 bytes/sector, 3906963456 sectors ses1 at scsibus2 targ 1 lun 1: WD, SES Device, 1010 SCSI4 13/enclosure services fixed ses1: unable to read enclosure configuration umass2 at uhub1 port 3 configuration 1 interface 0 Western Digital My Passport 0740 rev 2.10/10.03 addr 2 umass2: using SCSI over Bulk-Only scsibus3 at umass2: 2 targets, initiator 0 sd2 at scsibus3 targ 1 lun 0: WD, My Passport 0740, 1003 SCSI4 0/direct fixed sd2: 953837MB, 512 bytes/sector, 1953458176 sectors ses2 at scsibus3 targ 1 lun 1: WD, SES Device, 1003 SCSI4 13/enclosure services fixed ses2: unable to read enclosure configuration umass3 at uhub1 port 4 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.10 addr 3 umass3: using SCSI over Bulk-Only scsibus4 at umass3: 2 targets, initiator 0 sd3 at scsibus4 targ 1 lun 0: WD, My Passport 0748, 1010 SCSI4 0/direct fixed sd3: 1907697MB, 512 bytes/sector, 3906963456 sectors ses3 at scsibus4 targ 1 lun 1: WD, SES Device, 1010 SCSI4 13/enclosure services fixed ses3: unable to read enclosure configuration umass4 at uhub1 port 5 configuration 1 interface 0 Western Digital My Passport 0730 rev 2.10/10.15 addr 4 umass4: using SCSI over Bulk-Only scsibus5 at umass4: 2 targets, initiator 0 sd4 at scsibus5 targ 1 lun 0: WD, My Passport 0730, 1015 SCSI4 0/direct fixed sd4: 953837MB, 512 bytes/sector, 1953458176 sectors ses4 at scsibus5 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed ses4: unable to read enclosure configuration umass5 at uhub1 port 6 configuration 1 interface 0 Western Digital My Passport 070A rev 2.00/10.32 addr 5 umass5: using SCSI over Bulk-Only scsibus6 at umass5: 2 targets, initiator 0 sd5 at scsibus6 targ 1 lun 0: WD, My Passport 070A, 1032 SCSI2 0/direct fixed sd5: 953199MB, 512 bytes/sector, 1952151552 sectors cd1 at scsibus6 targ 1 lun 1: WD, Virtual CD 070A, 1032 SCSI2 5/cdrom removable ses5 at scsibus6 targ 1 lun 2: WD, SES Device, 1032 SCSI2 13/enclosure services fixed ses5: unable to read enclosure configuration Paul 'WEiRD' de Weerd -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/
Re: OpenBSD hangs when i unplug USB disk
On Thu, Nov 15, 2012 at 04:18:14PM +0100, Otto Moerbeek wrote: | I have no problems whatsoever (mounting, umounting, using the disks, | etc) with mine: | | Did you also try unplugging it? If that works and since the OP did not | state the newest version he tried this on, we can probably conclude | this is already fixed. I did this quite often a couple of weeks ago. Haven't tried for a while (no need) and have upgraded to newer snaps a bunch of times since. Tonight I'll confirm I can unplug safely on the latest snap. Cheers, Paul 'WEiRD' de Weerd -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/
Re: OpenBSD hangs when i unplug USB disk
Kenneth R Westerback wrote: On Wed, Nov 14, 2012 at 04:22:20PM -0300, Marcos Laufer wrote: Hello, i'd like to inform a problem when dettaching an external 1TB USB disk drive , the system just freezes, i can't type anything. Also It stops responding to ping. If i don't unplug it then i can use the disk normally, i can copy and delete files with no problem. But as soon as i unplug the USB cord, the machine freezes. I've tested it on several machines, different OpenBSD versions starting from 4.3, i'm not asking for support, i know old OpenBSD versions are no longer supported, but this seemed pretty odd, i suppose that plugging and unplugging a USB disk should not cause any problems on any OS version. These are the lines on dmesg about this disk: Nov 14 16:00:31 hq /bsd: umass0 at uhub0 Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration Best regards, Marcos As an experiment, try going into boot's config (-c at the boot) and disable ses. Then see if a) the ses device is still present, and b) if the absence of the ses device(s) alleviate the symptoms. Ken Hello, i've just tried this. The ses device is not present when i disable it at boot time, but the problem persists, if i unplug the USB cord (no matter if the partition is mounted or not) the OS just freezes. So i guess it is not related to the ses driver. This are the dmesg lines of this experiment: Nov 15 12:32:52 hq /bsd: umass0 at uhub0 Nov 15 12:32:52 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 15 12:32:52 hq /bsd: umass0: using SCSI over Bulk-Only Nov 15 12:32:52 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 15 12:32:52 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 15 12:32:59 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 15 12:32:59 hq /bsd: uk0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed
Re: OpenBSD hangs when i unplug USB disk
Kevin Chadwick wrote: On Thu, 15 Nov 2012 07:45:40 -0300 Marcos Ariel Laufer mar...@ipversion4.com wrote: I've been using OpenBSD since 2.6, this never happened to me with any other USB hard disks. This one in particular i bought it a couple of days ago. I wonder if it freezes other OS or causes problems before even the bios boot selection? Hello, i've also just tried this right now. It does not freeze Windows XP. Also, the machine does not freeze when plugging and unplugging the cord if done before boot selection. All my machines are i386.
Re: OpenBSD hangs when i unplug USB disk
Paul de Weerd wrote: On Thu, Nov 15, 2012 at 04:18:14PM +0100, Otto Moerbeek wrote: | I have no problems whatsoever (mounting, umounting, using the disks, | etc) with mine: | | Did you also try unplugging it? If that works and since the OP did not | state the newest version he tried this on, we can probably conclude | this is already fixed. I did this quite often a couple of weeks ago. Haven't tried for a while (no need) and have upgraded to newer snaps a bunch of times since. Tonight I'll confirm I can unplug safely on the latest snap. Cheers, Paul 'WEiRD' de Weerd Thank you Paul, i look forward for the results of your testing tonight. Best regards, Marcos
Re: OpenBSD hangs when i unplug USB disk
You *do* know about mount(8)/umount(8), right? On Wed, Nov 14, 2012 at 04:22:20PM -0300, Marcos Laufer wrote: Hello, i'd like to inform a problem when dettaching an external 1TB USB disk drive , the system just freezes, i can't type anything. Also It stops responding to ping. If i don't unplug it then i can use the disk normally, i can copy and delete files with no problem. But as soon as i unplug the USB cord, the machine freezes. I've tested it on several machines, different OpenBSD versions starting from 4.3, i'm not asking for support, i know old OpenBSD versions are no longer supported, but this seemed pretty odd, i suppose that plugging and unplugging a USB disk should not cause any problems on any OS version. These are the lines on dmesg about this disk: Nov 14 16:00:31 hq /bsd: umass0 at uhub0 Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 Western Digital My Passport 0748 rev 2.10/10.15 addr 2 Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure services fixed Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration Best regards, Marcos
Re: OpenBSD hangs hard on a flashrd system with either 5.2 current or 5.1 stable with athn(4) patches
just run standard OpenBSD. Or talk to the flashrd people. Fair point. I put on the 2012-10-04 snapshot and the system immediately became stable. I'll reply again once I've sorted a completely working wireless configuration (Android/athn aren't getting on, sadly) I have the yesterday snapshot too on my AP, an my android works fine with it. Do you mean that other wireles clients work fine with your AP, but android does not? and isolated the reason it wasn't working with flashrd. Please send it to the appropriate list.
Re: OpenBSD hangs hard on a flashrd system with either 5.2 current or 5.1 stable with athn(4) patches
So, every time I increase the size of the ramdisk, I tempt fate. In other point of view, it's also the textbook definition as to why custom kernels aren't supported here. Clearly, something's missing. Peter Kay [syllops...@syllopsium.co.uk] wrote: I have a Pentium III system running 5.1 current with athn(4) hostap power saving patches or 5.2 current. It has the slightly unusual configuration of an ISA video card (X not used) and a 64 bit PCI NIC hacked to run in a 32 bit slot, but is otherwise a bog standard desktop. It's running flashrd due to using an IDE to compact flash adaptor. 5.1 release is entirely stable (it may have hung once, perhaps, in months of operation). Once I put on 5.2 current (from a few days ago) or 5.1 stable with the latest athn patches the system hangs hard, in around 20 minutes to an hour. No response from network, console or anything suspicious in the log if I leave a tail -f /var/log/messages running. I suspect the athn patches aren't the problem, but they're the whole reason I'm trying to patch the firewall. I can try other hardware on a temporary basis, but what's the best method of diagnosing failure/possible things to try? Yes, flashrd does run a custom kernel, but the differences aren't that major and 5.1 release is reliable. dmesg : OpenBSD 5.1-stable (FLASHRD) #0: Mon Sep 3 04:52:51 BST 2012 r...@fwbuilder.syllopsium.com:/usr/src/sys/arch/i386/compile/FLASHRD cpu0: Intel Pentium III (GenuineIntel 686-class, 512KB L2 cache) 502 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE real mem = 267907072 (255MB) avail mem = 250122240 (238MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/23/99, BIOS32 rev. 0 @ 0xfb220, SMBIOS rev. 2.2 @ 0xf0800 (34 entries) bios0: vendor Award Software International, Inc. version HW.27.04(QHW.04.00) date 04/23/1999 bios0: Hewlett-Packard HP Vectra apm0 at bios0: Power Management spec V1.2 (slowidle) acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf/0xb6a0 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf00/144 (7 entries) pcibios0: PCI Exclusive IRQs: 3 10 11 15 pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371SB ISA rev 0x00) pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc/0x8000 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xe000, size 0x400 ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03 pci1 at ppb0 bus 1 clcs0 at pci0 dev 4 function 0 Cirrus Logic CS4280/46xx CrystalClear rev 0x01: irq 3 ac97: codec id 0x43525903 (Cirrus Logic CS4297 rev 3) ac97: codec features headphone, 18 bit DAC, 18 bit ADC, No 3D Stereo piixpcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x02 pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: CF Card wd0: 1-sector PIO, LBA, 961MB, 1969632 sectors wd0(pciide0:0:0): using PIO mode 4 pciide0: channel 1 ignored (disabled) uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 15 piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x02: polling iic0 at piixpm0 spdmem0 at iic0 addr 0x50: 128MB SDRAM non-parity PC100CL3 spdmem1 at iic0 addr 0x51: 128MB SDRAM non-parity PC133CL3 athn0 at pci0 dev 15 function 0 Atheros AR5416 rev 0x01: irq 11 athn0: MAC AR5416 rev 2, RF AR2133 (3T2R), ROM rev 5, address b0:48:7a:ec:9f:34 ppb1 at pci0 dev 16 function 0 DEC 21154 PCI-PCI rev 0x02 pci2 at ppb1 bus 2 fxp0 at pci2 dev 4 function 0 Intel 8255x rev 0x05, i82558: irq 3, address 00:08:c7:91:b5:2a inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0 fxp1 at pci2 dev 5 function 0 Intel 8255x rev 0x05, i82558: irq 10, address 00:08:c7:91:b5:2b inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 0 isa0 at piixpcib0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard vga0 at isa0 port 0x3b0/48 iomem 0xa/131072 wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (80x25, vt100 emulation) cannot support dma lance devices pcppi0 at isa0 port 0x61 spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1 mtrr: Pentium Pro MTRR support vscsi0 at root scsibus0 at vscsi0: 256 targets softraid0 at root scsibus1 at softraid0: 256 targets root on rd0a swap on rd0b dump on rd0b clcs0: image download error WARNING: /flash was not properly unmounted Thanks for any help Peter -- Keep them laughing half the time, scared of you the other half. And always keep them guessing. -- Clair George
Re: OpenBSD hangs hard on a flashrd system with either 5.2 current or 5.1 stable with athn(4) patches
On 7 September 2012 12:27, Nick Holland n...@holland-consulting.netwrote: On 09/07/12 03:58, Peter Kay wrote: I have a Pentium III system running 5.1 current with athn(4) hostap power saving patches or 5.2 current. It has the slightly unusual configuration of an ISA video card (X not used) and a 64 bit PCI NIC hacked to run in a 32 bit slot, but is otherwise a bog standard desktop. It's running flashrd due to using an IDE to compact flash adaptor. No. You have a 1GB flash card, that's easily twice what you need to install standard OpenBSD, at which point, we would care about the results. ... just run standard OpenBSD. Or talk to the flashrd people. Fair point. I put on the 2012-10-04 snapshot and the system immediately became stable. I'll reply again once I've sorted a completely working wireless configuration (Android/athn aren't getting on, sadly) and isolated the reason it wasn't working with flashrd.
Re: OpenBSD hangs hard on a flashrd system with either 5.2 current or 5.1 stable with athn(4) patches
On 09/07/12 03:58, Peter Kay wrote: I have a Pentium III system running 5.1 current with athn(4) hostap power saving patches or 5.2 current. It has the slightly unusual configuration of an ISA video card (X not used) and a 64 bit PCI NIC hacked to run in a 32 bit slot, but is otherwise a bog standard desktop. It's running flashrd due to using an IDE to compact flash adaptor. No. You have a 1GB flash card, that's easily twice what you need to install standard OpenBSD, at which point, we would care about the results. ... I can try other hardware on a temporary basis, but what's the best method of diagnosing failure/possible things to try? Yes, flashrd does run a custom kernel, but the differences aren't that major and 5.1 release is reliable. just run standard OpenBSD. Or talk to the flashrd people. Nick. dmesg : OpenBSD 5.1-stable (FLASHRD) #0: Mon Sep 3 04:52:51 BST 2012 r...@fwbuilder.syllopsium.com:/usr/src/sys/arch/i386/compile/FLASHRD ... pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: CF Card wd0: 1-sector PIO, LBA, 961MB, 1969632 sectors wd0(pciide0:0:0): using PIO mode 4 ...
Re: openBSD hangs on install
The good news is that the snapshot install works. -- Jason Wagstaff ~When practicing unconditional acceptance start with your self On Tue, Jun 22, 2010 at 7:22 PM, patrick keshishian pkesh...@gmail.com wrote: On Tue, Jun 22, 2010 at 12:41 PM, Jason Wagstaff wagsta...@gmail.com wrote: Tomas, Yes it does work with the latest snapshot and the last snapshot before the 4.7 release. It just doesn't work with the released version of 4.7. Sounds similar to what was discussed here: http://www.mail-archive.com/misc@openbsd.org/msg88586.html --patrick It hangs most often during bas47.tgz and comp47.tgz. From the local mirror using http it gets to base47.tgz and never starts the download. bsd 100% |*| 7062 KB 00:01 bsd.rd 100% |*| 2385 KB 00:00 bsd.mp 100% |*| 7074 KB 00:01 base47.tgz 0% | | 0 --:-- ETA -- Jason Wagstaff ~When practicing unconditional acceptance start with your self On Tue, Jun 22, 2010 at 12:52 PM, Tomas Bodzar tomas.bod...@gmail.com wrote: Did you try latest snapshot? Just to be sure that there is not some repair available or that problem is still same. On Tue, Jun 22, 2010 at 7:43 PM, Jason Wagstaff wagsta...@gmail.com wrote: I have a sparc64 t2000+ box and during installation of release 4.7 it hangs while installing the sets. When it hangs it is at a random spot each time. I have tried to install from cd, ftp, http and a local http mirror. All of them fail at some point during the installation of the sets. Any ideas how I can get it to do a full install? -- Jason Wagstaff ~When practicing unconditional acceptance start with your self
Re: openBSD hangs on install
Did you try latest snapshot? Just to be sure that there is not some repair available or that problem is still same. On Tue, Jun 22, 2010 at 7:43 PM, Jason Wagstaff wagsta...@gmail.com wrote: I have a sparc64 t2000+ box and during installation of release 4.7 B it hangs while installing the sets. B When it hangs it is at a random spot each time. B I have tried to install from cd, ftp, http and a local http mirror. B All of them fail at some point during the installation of the sets. B Any ideas how I can get it to do a full install? -- Jason Wagstaff ~When practicing unconditional acceptance start with your self
Re: openBSD hangs on install
On Tue, Jun 22, 2010 at 12:43 PM, Jason Wagstaff wagsta...@gmail.com wrote: I have a sparc64 t2000+ box and during installation of release 4.7 it hangs while installing the sets. When it hangs it is at a random spot each time. I have tried to install from cd, ftp, http and a local http mirror. All of them fail at some point during the installation of the sets. Any ideas how I can get it to do a full install? D'load the install47.iso and burn a bootable disc. From installation guide: install47.iso is an ISO9660 image, containing all the standard install files. This file can be used to create a CD that can do a stand-alone OpenBSD install. -- Jason Wagstaff ~When practicing unconditional acceptance start with your self
Re: openBSD hangs on install
On Tue, Jun 22, 2010 at 12:53 PM, Neal Hogan nealho...@gmail.com wrote: On Tue, Jun 22, 2010 at 12:43 PM, Jason Wagstaff wagsta...@gmail.com wrote: I have a sparc64 t2000+ box and during installation of release 4.7 it hangs while installing the sets. When it hangs it is at a random spot each time. I have tried to install from cd, ftp, http and a local http mirror. All of them fail at some point during the installation of the sets. Any ideas how I can get it to do a full install? D'load the install47.iso and burn a bootable disc. From installation guide: install47.iso is an ISO9660 image, containing all the standard install files. This file can be used to create a CD that can do a stand-alone OpenBSD install. Sorry read/replied too fast. I see that you tried the cd method. -- Jason Wagstaff ~When practicing unconditional acceptance start with your self
Re: openBSD hangs on install
On Tue, Jun 22, 2010 at 12:41 PM, Jason Wagstaff wagsta...@gmail.com wrote: Tomas, Yes it does work with the latest snapshot and the last snapshot before the 4.7 release. It just doesn't work with the released version of 4.7. Sounds similar to what was discussed here: http://www.mail-archive.com/misc@openbsd.org/msg88586.html --patrick It hangs most often during bas47.tgz and comp47.tgz. From the local mirror using http it gets to base47.tgz and never starts the download. bsd 100% |*| 7062 KB00:01 bsd.rd 100% |*| 2385 KB00:00 bsd.mp 100% |*| 7074 KB00:01 base47.tgz 0% | | 0 --:-- ETA -- Jason Wagstaff ~When practicing unconditional acceptance start with your self On Tue, Jun 22, 2010 at 12:52 PM, Tomas Bodzar tomas.bod...@gmail.com wrote: Did you try latest snapshot? Just to be sure that there is not some repair available or that problem is still same. On Tue, Jun 22, 2010 at 7:43 PM, Jason Wagstaff wagsta...@gmail.com wrote: I have a sparc64 t2000+ box and during installation of release 4.7 it hangs while installing the sets. When it hangs it is at a random spot each time. I have tried to install from cd, ftp, http and a local http mirror. All of them fail at some point during the installation of the sets. Any ideas how I can get it to do a full install? -- Jason Wagstaff ~When practicing unconditional acceptance start with your self