Re: umount at boot possible?
It worked exactly as you explained it and i learned how to use ed on the way. A million thanks Paul! > Sent: Tuesday, February 02, 2021 at 2:38 PM > From: "Paul de Weerd" > To: "misc nick" > Cc: "misc" > Subject: Re: umount at boot possible? > > On Tue, Feb 02, 2021 at 01:30:28PM +0100, misc nick wrote: > | Hello > | > | I have a separate disk that i was mounting as a nfs partition. That disk > crashed (it was very old). Now that OpenBSD 6.7/i386 release system cannot > boot because it can't mount the disk. > | Is it possible to umount the partition or somehow skip mounting it at boot > time and continue booting from the disk that contains the OS? > > Before loading the OpenBSD kernel, at the bootloader type `boot -s`. > This boots the system in single user mode. Now you can manually mount > the root filesystem (`mount -u -w /`), and you can then fix your > /etc/fstab to exclude the broken disk. > > Note that in single user mode, many userland tools are not available > if /usr is on a separate partition (which is a sane default). You'll > have to fix /etc/fstab with tools like cat and ed, or mount /usr. > > Once things are fixed, unmount everything that you manually mounted, > and remount the root filesystem read-only again (`mount -u -r /`). > Then exit the single user shell, the system should continue booting > from there. > > Cheers, > > Paul 'WEiRD' de Weerd > > -- > >[<++>-]<+++.>+++[<-->-]<.>+++[<+ > +++>-]<.>++[<>-]<+.--.[-] > http://www.weirdnet.nl/ >
Re: umount at boot possible?
Thanks for the prompt reply. I will do what you suggested and report back. > Sent: Tuesday, February 02, 2021 at 2:38 PM > From: "Paul de Weerd" > To: "misc nick" > Cc: "misc" > Subject: Re: umount at boot possible? > > On Tue, Feb 02, 2021 at 01:30:28PM +0100, misc nick wrote: > | Hello > | > | I have a separate disk that i was mounting as a nfs partition. That disk > crashed (it was very old). Now that OpenBSD 6.7/i386 release system cannot > boot because it can't mount the disk. > | Is it possible to umount the partition or somehow skip mounting it at boot > time and continue booting from the disk that contains the OS? > > Before loading the OpenBSD kernel, at the bootloader type `boot -s`. > This boots the system in single user mode. Now you can manually mount > the root filesystem (`mount -u -w /`), and you can then fix your > /etc/fstab to exclude the broken disk. > > Note that in single user mode, many userland tools are not available > if /usr is on a separate partition (which is a sane default). You'll > have to fix /etc/fstab with tools like cat and ed, or mount /usr. > > Once things are fixed, unmount everything that you manually mounted, > and remount the root filesystem read-only again (`mount -u -r /`). > Then exit the single user shell, the system should continue booting > from there. > > Cheers, > > Paul 'WEiRD' de Weerd > > -- > >[<++>-]<+++.>+++[<-->-]<.>+++[<+ > +++>-]<.>++[<>-]<+.--.[-] > http://www.weirdnet.nl/ >
umount at boot possible?
Hello I have a separate disk that i was mounting as a nfs partition. That disk crashed (it was very old). Now that OpenBSD 6.7/i386 release system cannot boot because it can't mount the disk. Is it possible to umount the partition or somehow skip mounting it at boot time and continue booting from the disk that contains the OS? Thanks in advance
using webcam with webex
Greetings I can't use my webcam while hosting a webex session from Chrome. Specifically, when i start my session the webcam turns on for an instant and then shuts down. When i try to start the video stream again the webcam flickers on and off a couple of times and then i get a message from webex: "We cannot display your video. Make sure your camera is shared in your browser and is not used in other applications, and then try again.". I have allowed Chrome to use my webcam of course and no other application is using it. I have done everything mentioned here http://www.openbsd.org/faq/faq13.html#webcam. I can test that my webcam is indeed working with ffplay and by using a random online test (https://www.iobit.com/en/webcam-test.php) using Chrome. I can record my webcam's stream with ffmpeg. I have added the device path of my webcam (/dev/video0) to /etc/chromium/unveil.main and /etc/chromium/unveil.utility_video. I'm using OpenBSD-amd64 6.8 release. Is this a known problem or can i do something more to overcome it? Thank you in advance
OpenBSD site
I was wondering how you maintain and update such high quality content in OpenBSD's site. Do you manually edit html files, use a cms, or something else? I am asking to shamelessly copy your best practices. ;-) Thanks, Nick
wireless installation
I would like to install OpenBSD wirelessly, but my card requires additional firmware (iwn) that is not included in the installer. Is there a way to overcome this obstacle?
thinkpad x220 with OpenBSD 6.1
This e-mail is complementary to the one i sent at dm...@openbsd.org. After the completion of the installation process, everything works except: -screen brightness controlled by the keyboard -suspend/resume when i close the lid Both minor issues were resolved when i suspended the laptop from the command line (zzz). Now everything works. Thank you OpenBSD team.
Re: Thinkpad X220, can't control screen brightness via keyboard
My original mail was after a clean OpenBSD 6.0 installation. After installing a load of packages and doing what Henrik said, brightness shortcuts now work. I really don't know what did the trick because i hadn't read the replies to my email and didn't notice if the brightness control came up after suspending or package installation. In any case, thank you all for your replies. > Sent: Sunday, September 18, 2016 at 9:38 AM > From: "Henrik Friedrichsen"> To: misc@openbsd.org > Subject: Re: Thinkpad X220, can't control screen brightness via keyboard > > Try suspending to RAM and waking it up again. Sometimes, the brightness > keys don't work for me either. Suspending + waking up once seems to fix > it.
Thinkpad X220, can't control screen brightness via keyboard
To be more precise, i can't control screen brightness by pressing Fn + Home (increase) or Fn + End (decrease). These are thinkpad's shortcuts for controlling brightness. Controlling brightness by command line works. The shortcuts worked in OpenBSD 5.9. Dmesg: OpenBSD 6.0 (RAMDISK_CD) #2100: Tue Jul 26 13:05:59 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 8451125248 (8059MB) avail mem = 8193282048 (7813MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (64 entries) bios0: vendor LENOVO version "8DET70WW (1.40 )" date 05/14/2015 bios0: LENOVO 4291BD2 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA SSDT SSDT DMAR UEFI UEFI UEFI acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 797.52 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 2 (EXP1) acpiprt3 at acpi0: bus 3 (EXP2) acpiprt4 at acpi0: bus 5 (EXP4) acpiprt5 at acpi0: bus 13 (EXP5) acpiprt6 at acpi0: bus -1 (EXP7) acpicpu at acpi0 not configured acpipwrres at acpi0 not configured acpitz at acpi0 not configured "PNP0C0D" at acpi0 not configured "PNP0C0E" at acpi0 not configured "PNP0303" at acpi0 not configured "LEN0020" at acpi0 not configured "SMO1200" at acpi0 not configured "PNP0C0A" at acpi0 not configured "ACPI0003" at acpi0 not configured "LEN0068" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09 vga1 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09 wsdisplay1 at vga1 mux 1: console (80x25, vt100 emulation) "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address f0:de:f1:75:23:67 ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 16 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 "Intel 6 Series HD Audio" rev 0x04 at pci0 dev 27 function 0 not configured ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb4: msi pci1 at ppb0 bus 2 ppb1 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb4: msi pci2 at ppb1 bus 3 iwn0 at pci2 dev 0 function 0 "Intel Centrino Ultimate-N 6300" rev 0x35: msi, MIMO 3T3R, MoW, address 00:24:d7:59:08:50 ppb2 at pci0 dev 28 function 3 "Intel 6 Series PCIE" rev 0xb4: msi pci3 at ppb2 bus 5 ppb3 at pci0 dev 28 function 4 "Intel 6 Series PCIE" rev 0xb4: msi pci4 at ppb3 bus 13 sdhc0 at pci4 dev 0 function 0 "Ricoh 5U822 SD/MMC" rev 0x07: apic 2 int 16 sdhc0: SDHC 3.0, 50 MHz base clock sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed, dma ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 "Intel QM67 LPC" rev 0x04 at pci0 dev 31 function 0 not configured ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x04: msi, AHCI 1.3 ahci0: port 0: 6.0Gb/s scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0:SCSI3 0/direct fixed naa.500a0751f00afc91 sd0: 238475MB, 512 bytes/sector, 488397168 sectors, thin "Intel 6 Series SMBus" rev 0x04 at pci0 dev 31 function 3 not configured isa0 at mainbus0 pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard, using wsdisplay1 uhub2 at uhub0 port 1 "vendor 0x8087 product 0x0024" rev 2.00/0.00 addr 2 "Broadcom Corp Broadcom Bluetooth Device" rev 2.00/7.48 addr 3 at uhub2 port 4 not configured "Chicony Electronics Co., Ltd. Integrated Camera" rev 2.00/8.54 addr 4 at uhub2 port 6 not configured uhub3 at uhub1 port 1 "vendor 0x8087 product 0x0024" rev 2.00/0.00 addr 2 umass0 at uhub3 port 4 configuration 3 interface 0 "Lenovo F5521gw" rev 2.00/0.00 addr 3 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 softraid0 at root scsibus2 at softraid0: 256 targets root on rd0a swap on rd0b dump on rd0b syncing disks... OpenBSD 6.0 (GENERIC.MP) #2319: Tue Jul 26 13:00:43 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8451125248 (8059MB) avail mem = 8190525440 (7811MB) mpath0 at root scsibus0 at mpath0: 256
no connectiion to phone's AP
I can't connect my Thinkpad x220 to my phone's hotspot (WPA2-PSK). I'm using OpenBSD 5.8/amd64. Before everything, i did a fw_update. Then i created a hostname.iwn0 file: nwid myid wpakey mykey dhcp and then # ifconfig iwn0 up # ifconfig ... iwn0: flags=8843mtu 1500 lladdr 00:20:17:76:98:54 priority: 4 groups: wlan media: IEEE802.11 autoselect (DS1 mode 11g) status: active ieee80211: nwid "SOME OTHER NEARBY WIFI" chan 11 bssid 14:76:12:23:65:12 -83dBm ... It didn't work. As you can see it actually lists a nearby wifi hotspot. Then i tried this http://marc.info/?l=openbsd-misc=142197120017573=2 : # ifconfig iwn0 down # ifconfig iwn0 nwid myid wpakey mykey # ifconfig iwn0 up # ifconfig ... iwn0: flags=8843 mtu 1500 lladdr 00:20:17:76:98:54 priority: 4 groups: wlan media: IEEE802.11 autoselect (DS1 mode 11g) status: active ieee80211: nwid myid chan 6 bssid 34:22:11:ab:65:02 -42dBm wpakey 0x2342342somehex987987 wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip ... Again no deal. The strange thing is that it doesn't connect to my phone's AP even if there is no encrytpion (open). Any clues? Obligatory dmesg: OpenBSD 5.8 (RAMDISK_CD) #1142: Sun Aug 16 02:36:04 MDT 2015 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 8451125248 (8059MB) avail mem = 8193282048 (7813MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (64 entries) bios0: vendor LENOVO version "8DET70WW (1.40 )" date 05/14/2015 bios0: LENOVO 4291BD2 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA SSDT SSDT DMAR UEFI UEFI UEFI acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 797.54 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 2 (EXP1) acpiprt3 at acpi0: bus 3 (EXP2) acpiprt4 at acpi0: bus 5 (EXP4) acpiprt5 at acpi0: bus 13 (EXP5) acpiprt6 at acpi0: bus -1 (EXP7) pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09 vga1 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address f0:de:f1:75:23:67 ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 16 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 "Intel 6 Series HD Audio" rev 0x04 at pci0 dev 27 function 0 not configured ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb4: msi pci1 at ppb0 bus 2 ppb1 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb4: msi pci2 at ppb1 bus 3 iwn0 at pci2 dev 0 function 0 "Intel Centrino Ultimate-N 6300" rev 0x35: msi, MIMO 3T3R, MoW, address 00:24:d7:59:08:50 ppb2 at pci0 dev 28 function 3 "Intel 6 Series PCIE" rev 0xb4: msi pci3 at ppb2 bus 5 ppb3 at pci0 dev 28 function 4 "Intel 6 Series PCIE" rev 0xb4: msi pci4 at ppb3 bus 13 sdhc0 at pci4 dev 0 function 0 "Ricoh 5U822 SD/MMC" rev 0x07: apic 2 int 16 sdmmc0 at sdhc0 ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 "Intel QM67 LPC" rev 0x04 at pci0 dev 31 function 0 not configured ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x04: msi, AHCI 1.3 ahci0: port 0: 3.0Gb/s scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: SCSI3 0/direct fixed naa.5000c5005e24c7e0 sd0: 305245MB, 512 bytes/sector, 625142448 sectors "Intel 6 Series SMBus" rev 0x04 at pci0 dev 31 function 3 not configured isa0 at mainbus0 pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard, using wsdisplay0 uhub2 at uhub0 port 1 "vendor 0x8087 product 0x0024" rev 2.00/0.00 addr 2 umass0 at uhub2 port 2 configuration 1 interface 0 "Memorex TD Classic 003B" rev 2.00/1.10 addr 3 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0:
Re: no connectiion to phone's AP
> > # ifconfig > > ... > > iwn0: flags=8843mtu 1500 > > lladdr 00:20:17:76:98:54 > > priority: 4 > > groups: wlan > > media: IEEE802.11 autoselect (DS1 mode 11g) > > status: active > > ieee80211: nwid "SOME OTHER NEARBY WIFI" chan 11 bssid > > 14:76:12:23:65:12 -83dBm > > ... > > > > It didn't work. As you can see it actually lists a nearby wifi hotspot. > > Because it won't - 'up' only brings the interface up. My bad. I thought it also read hostname.iwn0. > What do you mean by "no deal" - it's clearly connected to 'myid'? > > Have you forgotten to run: > > dhclient iwn0 > > ? Yep. Many thanks to Raf and Peter for their swift replies. Sorry for polluting misc people. Everything works as intented!
mount fails with a micro sd
When i try to mount (via a card adapter) a specific Kingston 32GB micro sd card i get: mount_msdos: /dev/sdXi on /mnt: Inappropriate file type or format (X is the device number) It is strange because i can mount it in windows and linux. I have other micro sd cards that mount normally on my OpenBSD 5.5-Release/amd64. What am i looking at here: hardware failure, driver problem, something else? If there is a way i can diagnose this, let me know.
Re: mount fails with a micro sd
Sent: Wednesday, September 17, 2014 at 7:31 PM From: Josh Grosse j...@jggimi.homeip.net First step: issue: # disklabel sdX This will output either an actual disklabel, if one exists, or it will output a psuedo-disklabel containing any recognized partitions from the drive's MBR partition table. That was it mate. No 'i' partition. Now that i created one everything just works. Thank you for your immediate and accurate response!
rtl8192cu firmware trouble
I'm running OpenBSD 5.5 amd64 release. I am testing a tl-wn821n usb wifi adapter which uses the rtl8192cu chipset (supported by OpenBSD). During boot (with or without the usb attached), i get the following: urtwn0: failed loadfirmware of file urtwn-rtl8192cfwT (error 2) I have run fw_update successfully. The file /etc/firmware/urtwn-rtl8192cfwT exists. However the above message still appears and i can't connect to a network. Any insights?
issues with firefox
Firefox becomes non-responsive for a small amount of time when viewing large (wallpaper sized) jpg images. In OpenBSD 5.4 firefox would block for several seconds. In OpenBSD 5.5 the situation improved considerably but it's still not perfect. The lag persists for a very short but visible amount of time. This bug is specific to OpenBSD and not to the machine, as i have tested it across different machines. This issue does not appear with other BSDs or linux (without flash). Secondly, viewing html video (eg in youtube) continuously lags. The sound is perfect but every other video frame seems to stop for a second or two and then the video jumps to the correct frame. This makes streaming video playback virtually unwatchable. This bug is specific to OpenBSD again. I have tested this at different machines and the result are the same. Once again, this issue does not appear with other BSDs or linux (without flash). Those two problems are much less obvious in OpenBSD-current's firefox, but, especially the second, still exist. I just wanted to report these issues and not complain. It is obvious that there is improvement at every new release of OpenBSD.
Re: issues with firefox
Sent: Tuesday, July 08, 2014 at 9:05 PM From: Stuart Henderson s...@spacehopper.org To: misc@openbsd.org Subject: Re: issues with firefox Any improvement with GENERIC rather than GENERIC.MP? Actually GENERIC.MP performs better than GENERIC.SP. I have discovered through experience that the more powerfull a processor is, the less these problems appear (using GENERIC.MP). Trying to view a youtube video on an atom-based netbook is impossible, while doing the same on a i3 core computer is more or less ok.
Dear undeadly.org admins
Thank you for maintaining for so many years OpenBSD's official news site. I understand that you are not paid for the time you have dedicated. That being said, please fix the fucking archive search. I know i can use google to search undeadly. However, nobody should have to. In addition, when the official OpenBSD news site is broken, it makes the OpenBSD project look broken too. And it's a pity because OpenBSD is far from broken.