Re: USB sound card not playing
Hi, Alexandre Ratchov this PC is old(about 10 yeas old) hitachi server (HA-8000) . the full dmesg is # dmesg OpenBSD 6.5-current (GENERIC.MP) #17: Sun May 12 00:53:38 MDT 2019 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8564375552 (8167MB) avail mem = 8294731776 (7910MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf0d90 (25 entries) bios0: vendor Phoenix Technologies LTD version "F4" date 10/18/2010 bios0: HITACHI HA8000/TS10 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP TCPA SSDT DMAR APIC SLIC MCFG HPET SPCR EINJ HEST BERT SSDT ERST acpi0: wakeup devices PEG_(S4) PEG2(S4) P0P3(S4) P0P5(S4) PEX1(S4) PEX3(S4) PEX4(S4) PEX5(S4) EHI1(S1) EHI2(S1) LAN_(S5) PCIB(S1) 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) Xeon(R) CPU X3430 @ 2.40GHz, 2527.37 MHz, 06-1e-05 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,MELTDOWN cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 132MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz, 2526.99 MHz, 06-1e-05 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz, 2526.99 MHz, 06-1e-05 cpu2: 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,MELTDOWN cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz, 2526.99 MHz, 06-1e-05 cpu3: 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,MELTDOWN cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xe000, bus 0-16 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus -1 (PEG_) acpiprt1 at acpi0: bus -1 (PEG2) acpiprt2 at acpi0: bus 1 (P0P3) acpiprt3 at acpi0: bus 2 (P0P5) acpiprt4 at acpi0: bus 0 (PCI0) acpiprt5 at acpi0: bus 5 (PEX1) acpiprt6 at acpi0: bus 9 (PEX3) acpiprt7 at acpi0: bus 11 (PEX4) acpiprt8 at acpi0: bus 13 (PEX5) acpicpu0 at acpi0: !C2(500@64 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: !C2(500@64 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: !C2(500@64 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: !C2(500@64 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001 acpicmos0 at acpi0 "PNP0A05" at acpi0 not configured acpibtn0 at acpi0: PWRB ipmi at mainbus0 not configured cpu0: Enhanced SpeedStep 2527 MHz: speeds: 2395, 2394, 2261, 2128, 1995, 1862, 1729, 1596, 1463, 1330, 1197 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core DMI" rev 0x11 ppb0 at pci0 dev 3 function 0 "Intel Core PCIE" rev 0x11: msi pci1 at ppb0 bus 1 ppb1 at pci0 dev 5 function 0 "Intel Core PCIE" rev 0x11: msi pci2 at ppb1 bus 2 mfi0 at pci2 dev 0 function 0 "Symbios Logic MegaRAID SAS2108 GEN2" rev 0x03: apic 1 int 16 mfi0: "LSI MegaRAID SAS 9261-8i", firmware 12.11.0-0025, 512MB cache scsibus1 at mfi0: 64 targets sd0 at scsibus1 targ 0 lun 0: SCSI3 0/direct fixed naa.600605b0017435e02467bacc093ad921 sd0: 557952MB, 512 bytes/sector, 1142685696 sectors "Intel Core Management" rev 0x11 at pci0 dev 8 function 0 not configured "Intel Core Control" rev 0x11 at pci0 dev 8 function 2 not configured "Intel Core Misc" rev 0x11 at pci0 dev 8 function 3 not configured "Intel Core QPI Link" rev 0x11 at pci0 dev 16 function 0 not configured "Intel Core QPI Routing" rev 0x11 at pci0 dev 16 function 1 not configured em0 at pci0 dev 25 function 0 "Intel 82578DM" rev 0x05: msi, address 1c:6f:65:3c:7c:15 ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x05: apic
Re: USB sound card not playing
i use 6.6 snapshots and USB sound card . the card play youtube well including sound . -- $ dmesg | grep audio uaudio0 at uhub2 port 4 configuration 1 interface 1 "C-Media Electronics Inc. USB Audio Device" rev 1.10/1.00 addr 5 uaudio0: class v1, full-speed, sync, channels: 2 play, 1 rec, 8 ctls audio0 at uaudio0 uaudio0: can't reset interface uaudio0: can't reset interface audio0 detached uaudio0 detached uaudio0 at uhub3 port 6 configuration 1 interface 1 "C-Media Electronics Inc. USB Audio Device" rev 1.10/1.00 addr 4 uaudio0: class v1, full-speed, sync, channels: 2 play, 1 rec, 8 ctls audio0 at uaudio0 -- from 竹島強
Re: samba : snapshots of 6.5
hi all ! yesterday i newly installed openbsd snapshots , i managed to start samba . hi# date ; /etc/rc.d/samba start ; date Tue May 14 02:36:22 JST 2019 smbd(ok) nmbd(ok) Tue May 14 02:36:48 JST 2019 namely 26 seconds hi# hi# testparm rlimit_max: increasing rlimit_max (128) to minimum Windows limit (16384) Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (128) to minimum Windows limit (16384) Processing section "[homes]" Processing section "[printers]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions # Global parameters [global] dns proxy = No log file = /var/log/samba/smbd.%m max log size = 50 server role = standalone server server string = Samba Server idmap config * : backend = tdb [homes] browseable = No comment = Home Directories read only = No [printers] browseable = No comment = All Printers path = /var/spool/samba printable = Yes - regards
Re: samba : snapshots of 6.5
I think that the microsoft will continue to change its network system in order not to be invaded by free UNIX . If so, the pursuit of samba will be painful . But it is only a personal imagination
Re: samba : snapshots of 6.5
hi,all i reinstall samba by using ports . dell# ps ax| grep bd 72188 p0 S+p 0:00.00 grep bd dell# /etc/rc.d/samba -f start smbd(timeout) dell# ps ax| grep bd 71545 p0 R/1 0:41.36 /usr/local/sbin/smbd -D -D 52315 p0 S+p 0:00.00 grep bd i think '-D -D' is perhaps bad . by the way dell# testparm rlimit_max: increasing rlimit_max (128) to minimum Windows limit (16384) Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (128) to minimum Windows limit (16384) Processing section "[Share]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions # Global parameters [global] disable spoolss = Yes dos charset = CP932 load printers = No map to guest = Bad User netbios name = OPENSAMBA security = USER server string = SAMBA SERVER Version %v wins support = Yes idmap config * : backend = tdb [Share] comment = Share Folder for All Users path = /home/share/ read only = No and virsion is # $OpenBSD: Makefile,v 1.271 2019/04/12 18:21:17 jca Exp $ VERSION = 4.8.11 - regards
samba : snapshots of 6.5
hi all . the samba of snapshots does not start . dell# /etc/rc.d/samba start smbd(timeout) but dell# nmbd -D dell# smbd -D dell# ps ax | grep mbd 52176 ?? Is 0:00.05 /usr/local/sbin/smbd -D -D 87251 ?? S 0:00.05 /usr/local/sbin/smbd -D -D 64985 ?? S 0:00.00 /usr/local/sbin/smbd -D -D 89762 ?? I 0:00.02 /usr/local/sbin/smbd -D -D 74018 ?? Ss 0:00.03 nmbd -D 19823 p0 S+p 0:00.00 grep mbd by the way /comment-out.bat /etc/samba/smb.conf [global] workgroup = WORKGROUP server string = Samba Server server role = standalone server log file = /var/log/samba/smbd.%m max log size = 50 dns proxy = no [homes] comment = Home Directories browseable = no writable = yes and dell# testparm rlimit_max: increasing rlimit_max (128) to minimum Windows limit (16384) Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (128) to minimum Windows limit (16384) Processing section "[homes]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions # Global parameters [global] dns proxy = No log file = /var/log/samba/smbd.%m max log size = 50 server role = standalone server server string = Samba Server idmap config * : backend = tdb [homes] browseable = No comment = Home Directories read only = No -- from 竹島強
what is the excellent USB wifi as wifi router made by openbsd
hi all . i made a wifi router by openbsd . but my USB wifi is too old , so slow speed . do you know some good USB wifis ? the next is my setting . i386# ./comment-out.bat /etc/rc.local /root/wifi-router.bat-rum0 /etc/rc.d/dhcpd -f restart i386# cat /root/wifi-router.bat-rum0 ifconfig rum0 inet 192.168.17.1 netmask 255.255.255.0 \ media autoselect mediaopt hostap nwid abc \ wpakey 123456789 chan 1 up i386# ./comment-out.bat /etc/dhcpd.interfaces rum0 i386# ./comment-out.bat /etc/dhcpd.conf option domain-name "my.domain"; option domain-name-servers 8.8.8.8; subnet 192.168.17.0 netmask 255.255.255.0 { option routers 192.168.17.1; range 192.168.17.10 192.168.17.19; } i386# ./comment-out.bat /etc/hostname.fxp0 dhcp i386# ./comment-out.bat /etc/sysctl.conf machdep.allowaperture=2 # See xf86(4) net.inet.ip.forwarding=1# 1=Permit forwarding (routing) of IPv4 packets i386# ./comment-out.bat /etc/pf.conf ext=fxp0 icmp_types = "{echoreq, unreach}" set block-policy return set loginterface $ext set skip on lo0 match in all scrub (no-df max-mss 1440) match out on $ext inet from !($ext:network) to any nat-to ($ext:0) block log all pass out quick pass in quick inet proto { tcp udp gre } from any to any pass in quick inet proto icmp all icmp-type $icmp_types keep state
Re : Voice Typing in Google Docs is OK
sorry , very sorry . it is my mistake . Voice Typing in Google Docs is not OK in snapshots at present . my PC is triple boot , so i mistake . --- regards
Voice Typing in Google Docs is OK
hi all . i try openbsd snapshots(6.4) . Voice Typing in Google Documents in Japanese run well . it very nice because it is not impossible using manjaro linix (No1 at DistroWatch Page Hit Ranking) . --- regards
clone of openbsd by dd
hi all . i do backup hard disk by booting archlinux's install USB memory and dd . because one liner ' while true ; do ; sleep 10 ; killall -USR1 dd ; done ' is effective on another screen ( alt + F2 ) . so i know the progressive state of dd on original screen ( alt + F1) . reversely i do archlinux's hard disk by booting openbsd's install USB memory and dd ( espetially it is made by btrfs ) . --- regards
Re: how to switch to a snapshot?
hi i usually boot PC by the USB memory of install63.fs ( =snapshots ). the method is dd if=./install63.fs of=/dev/rsd1c bs=1m <-openbsd dd if=./install63.fs of=/dev/sdb bs=32k <-linux and do Upgrade and start snapshots , then pkg_add -u . that's the main stream . --- regards
Re: samba at snapshots
i thank for kasak's nice advices of samba . yesteday's perhaps today's snapshot is stable . i am looking forward to 6.4 . --- regards
samba at snapshots
hi all . it is supprising openbsd snapshots runs samba . and windows 10 accesses "OpenSamba" . but this may contain some errors . then please point them . 1)/etc/samba/smb.conf [global] workgroup = WORKGROUP server string = SAMBA SERVER Version %v netbios name = OpenSamba security = user passdb backend = tdbsam dos charset = CP932 unix charset = UTF-8 wins support = yes load printers = no disable spoolss = yes [homes] comment = Home Directories valid users = %S, %D%w%S browseable = No read only = No inherit acls = Yes [Share] comment = Share Folder for All Users path = /home/share/ browsable = yes writable = yes read only = no 2) /etc/rc.d/samba restart nmbd(ok) smbd(ok) smbd(ok) nmbd(ok) 3) testparm Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (128) to minimum Windows limit (16384) Processing section "[homes]" Processing section "[Share]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions Global parameters [global] disable spoolss = Yes dos charset = CP932 load printers = No netbios name = OPENSAMBA security = USER server string = SAMBA SERVER Version %v wins support = Yes idmap config * : backend = tdb [homes] browseable = No comment = Home Directories inherit acls = Yes read only = No valid users = %S %D%w%S [Share] comment = Share Folder for All Users path = /home/share/ read only = No --- regards
Re: how to know the progressive state of dd
thanks for kind advises . on linux - # dd if=/dev/sdb of=./OpenBSD-8G-snapshot.img bs=32k 58195+0 records in 58194+0 records out 1906900992 bytes (1.9 GB, 1.8 GiB) copied, 25.1818 s, 75.7 MB/s 109011+0 records in 109010+0 records out 3572039680 bytes (3.6 GB, 3.3 GiB) copied, 56.2196 s, 63.5 MB/s 154198+0 records in 154198+0 records out 5052760064 bytes (5.1 GB, 4.7 GiB) copied, 87.9162 s, 57.5 MB/s 185970+0 records in 185970+0 records out 6093864960 bytes (6.1 GB, 5.7 GiB) copied, 116.37 s, 52.4 MB/s 227547+0 records in 227546+0 records out 7456227328 bytes (7.5 GB, 6.9 GiB) copied, 147.202 s, 50.7 MB/s 241920+0 records in 241920+0 records out 7927234560 bytes (7.9 GB, 7.4 GiB) copied, 154.806 s, 51.2 MB/s regards
how to know the progressive state of dd
hi all . on Linux dd-progress.bat < --- while true do date killall -USR1 dd echo echo sleep 30 done but killall is not possibele on OpenBSD . --- regards
xscreensaver on lumina (6.3) does not work well
hi all . xscreensaver on lumina (snapshots) works well , but xscreensaver on lumina (6.3) does not work well . namely i cannnot restore screen by moving mouse or typing keyboard . and urtwn0 and run0 by snapshots works well , but urtwn0 by 6.3 did not get address from wifi router . --- regards
Re: print usb printer by [ Google Cloud Print for Chromium ]
hi . it is fun that i do the print command on OpenBSD's chrome at the company , then i get the printing at my home's printer which is registerd on ArchLinux's chromium . namely internet printing ! [Google Cloud Print for Chromium] is interesting ! --- http://openbsd-akita.blogspot.com/2018/06/use-openbsds-x-as-daily-use-inclluting.html
Re: print usb printer by [ Google Cloud Print for Chromium ]
hi all . i do not understand lpr . so my settings are # ls -l /usr/bin/lpr lrwxr-xr-x 1 root wheel 18 Jun 1 05:52 /usr/bin/lpr -> /home/snap/lpr.bat # cat /home/snap/lpr.bat lp -dEP-901A then seamonkey and leafpad print easily . --- regards
Re: print usb printer by [ Google Cloud Print for Chromium ]
hi i can not distinguish between lp and lpr . anyway /etc/printcap 709a-wifi|709a-wifi:rm=bsd.my.domain:rp=709a-wifi: and the setting of print on leafpad is 'lp -d709a-wifi ' . it goes well . regards ps my /etc/cups/cupsd.conf is LogLevel warn PageLogFormat Listen localhost:631 Listen /var/run/cups/cups.sock Browsing On BrowseLocalProtocols dnssd DefaultAuthType Basic WebInterface Yes Order allow,deny Order allow,deny AuthType Default Require user @SYSTEM Order allow,deny AuthType Default Require user @SYSTEM Order allow,deny JobPrivateAccess default JobPrivateValues default SubscriptionPrivateAccess default SubscriptionPrivateValues default Order deny,allow Require user @OWNER @SYSTEM Order deny,allow AuthType Default Require user @SYSTEM Order deny,allow AuthType Default Require user @SYSTEM Order deny,allow Require user @OWNER @SYSTEM Order deny,allow Order deny,allow JobPrivateAccess default JobPrivateValues default SubscriptionPrivateAccess default SubscriptionPrivateValues default AuthType Default Order deny,allow AuthType Default Require user @OWNER @SYSTEM Order deny,allow AuthType Default Require user @SYSTEM Order deny,allow AuthType Default Require user @SYSTEM Order deny,allow AuthType Default Require user @OWNER @SYSTEM Order deny,allow Order deny,allow JobPrivateAccess default JobPrivateValues default SubscriptionPrivateAccess default SubscriptionPrivateValues default AuthType Negotiate Order deny,allow AuthType Negotiate Require user @OWNER @SYSTEM Order deny,allow AuthType Default Require user @SYSTEM Order deny,allow AuthType Default Require user @SYSTEM Order deny,allow AuthType Negotiate Require user @OWNER @SYSTEM Order deny,allow Order deny,allow
Re: print usb printer by [ Google Cloud Print for Chromium ]
hi all . i at last find i can print if i use the printer which has both cups driver and wifi interface (for example EP-709A). so i do not need to use [ Google Cloud Print for Chromium ] . and i think it is impossible to print USB only printers . at this sate openbsd become everyday OS . --- regards
Re: cloning to smaller hard disk
> Your initial system and final system were One Big Partition layouts -- about this , i did it on a linux previously . namely (cd /m1;tar cvpf - altroot ) | (cd /m2 ; tar xpf - ) (cd /m1;tar cvpf - bin ) | (cd /m2 ; tar xpf - ) (cd /m1;tar cvpf - boot ) | (cd /m2 ; tar xpf - ) (cd /m1;tar cvpf - bsd ) | (cd /m2 ; tar xpf - ) (cd /m1;tar cvpf - bsd.rd ) | (cd /m2 ; tar xpf - ) (cd /m1;tar cvpf - dev ) | (cd /m2 ; tar xpf - ) (cd /m1;tar cvpf - etc )| (cd /m2 ; tar xpf - ) (cd /m1;tar cvpf - grub ) | (cd /m2 ; tar xpf - ) (cd /m1;tar cvpf - home ) | (cd /m2 ; tar xpf - ) (cd /m1;tar cvpf - m-sd2 )| (cd /m2 ; tar xpf - ) (cd /m1;tar cvpf - mnt ) | (cd /m2 ; tar xpf - ) (cd /m1;tar cvpf - root ) | (cd /m2 ; tar xpf - ) (cd /m1;tar cvpf - sbin ) | (cd /m2 ; tar xpf - ) (cd /m1;tar cvpf - sys ) | (cd /m2 ; tar xpf - ) (cd /m1;tar cvpf - tmp ) | (cd /m2 ; tar xpf - ) (cd /m1;tar cvpf - usr ) | (cd /m2 ; tar xpf - ) (cd /m1;tar cvpf - var ) | (cd /m2 ; tar xpf - ) but this is too complex to do , so i simplified that the test openbsd HDD has only one big partiton a . becase my PC has 10GB memory , so it does not need swap . regards
Re: =?UTF-8?Q?Re:_=ef=bf=bccloning_to_smaller_hard_disk?
my way has a weak point that the kernel of the small HDD may become different from that of the big HDD by of using ' upgrade ' . ( it is good in case of virsion up 6.2->6.3 ) are there sophistcated methods not chainging kernel ? i used 'upgrade' process to load the boot loader to small HDD . - regards
cloning to smaller hard disk
hi all . i manage to clone bigger HDD(sd1) to smaller HDD(sd0) this is dangerous , so please test . and there may be some errors , then please point them out . 1) boot pc by USB stick ( indtall53.fs) 2)chose install 3) acertain disks by ! 4) exit 5) which disk is the root dik ? ---> sd0 then formatting sd0 6)which disk do you want to initialize? --->sd1 then controll + c <--- important 7)mkdir -p /m1 mkdir -p /m2 mount /dev/sd1a /m1 mount /dev/sd0a /m0 8) (cd m1 ; tar cvpf - .)|( cd /m0 ; tar xpf -) 10) halt -p 11) remove bigger HDD (namely smaller HDD only inserted) 12 ) reboot and then choose upgrade 13)mkdir /m0 mount /dev/sd0a /m0 14) echo '/dev/sd0a / ffs rw,wxallowed 1 1' > /m0/etc/fstab <--- this is essential 15) then do uggrade menu again --- regards details is on http://openbsd-akita.blogspot.jp/2018/04/cloning-to-smaller-hard-disk.html
my first experience of growfs
hi all . i found a very nice page ( http://fuguita.org/index.php?BBS%2F3 ) . so i follow it , then i manage to clone HDD1 to HDD2 ( fdisk , disklabel & growfs ) 1) HDD1 < HDD2 2) dd HDD1 to HDD2 (by archlinux) 3) power on HDD2 boot bsd.rd fdisk -e sd0 -> edit 3 disklabel -E sd0 -> b -> c a fsck -fy /dev/rsd0a growfs /dev/rsd0a /dev/rsd0a reboot detail is on http://openbsd-akita.blogspot.jp/2018/04/growfs.html but there may be some mistake , please point out them . --- regards
Re: print usb printer by [ Google Cloud Print for Chromium ]
using [ Google Cloud Print for Chromium ] , i also print text files besides pdf files . for example 1) chrome test.txt 2) right click , then the print menu appears . (cups is not installed)
6.3 snapshots runs well .
i installed 6.3 snapshots . it runs well lumina & japanese input method (scim-anthy) . thanks
Re: print usb printer by [ Google Cloud Print for Chromium ]
i write down in more detailed manner but in japanese in https://qiita.com/tyokai/items/0cb47bd08cf6ec45de93 . - regards
t610 of hp runs openbsd including X
hi all i recently get it about 40$. it consumes only 15W . so it is sutable for www server . it iwas already installed puppy linux on flash memory by seller . i already have 2.5 inch sata hard disk which was installed Uefi openbsd. so i attach it to sata interface on board . i prepare cat /initrd/mnt/dev_save/menu.lst # menu.lst produced by grub4dosconfig-v1.9.1 color white/blue black/cyan white/black cyan/black #splashimage=/splash.xpm timeout 10 default 0 title OpenBSD chainloader (hd1,3)+1 rootnoverify (hd1,3) boot that is all . regards detail is http://openbsd-akita.blogspot.jp/2017/12/hp-t610.html ( written in japanese)
Re: no sound by "Intel 6321ESB HD Audio"
thanks for reading . fedora on mac pro 2006 can play audio file . any way i follow you . first ### # dmesg OpenBSD 6.2 (GENERIC.MP) #0: Thu Oct 12 19:53:18 CEST 2017 r...@syspatch-62-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/ GENERIC.MP real mem = 4272590848 (4074MB) avail mem = 4136087552 (3944MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe00f0 (67 entries) bios0: vendor Apple Computer, Inc. version "MP11.88Z.005C.B08.0707021221" date 07/02/07 bios0: Apple Computer, Inc. MacPro1,1 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT ECDT FACP HPET APIC MCFG SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices P2P5(S4) P2P3(S4) ARPT(S4) RP04(S4) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) EHCI(S3) AC9M(S4) EC__(S3) NRP4(S4) SRP1(S4) SRP3(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU 5150 @ 2.66GHz, 2660.36 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,DCA,NXE,LONG,LAHF,PERF,SENSOR cpu0: 4MB 64b/line 16-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 332MHz cpu0: mwait min=64, max=64, C-substates=0.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Xeon(R) CPU 5150 @ 2.66GHz, 2660.00 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,DCA,NXE,LONG,LAHF,PERF,SENSOR cpu1: 4MB 64b/line 16-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 6 (application processor) cpu2: Intel(R) Xeon(R) CPU 5150 @ 2.66GHz, 2660.00 MHz cpu2: 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,DCA,NXE,LONG,LAHF,PERF,SENSOR cpu2: 4MB 64b/line 16-way L2 cache cpu2: smt 0, core 0, package 3 cpu3 at mainbus0: apid 7 (application processor) cpu3: Intel(R) Xeon(R) CPU 5150 @ 2.66GHz, 2660.00 MHz cpu3: 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,DCA,NXE,LONG,LAHF,PERF,SENSOR cpu3: 4MB 64b/line 16-way L2 cache cpu3: smt 0, core 1, package 3 ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xd000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (P0P1) acpiprt2 at acpi0: bus 2 (P1P2) acpiprt3 at acpi0: bus 5 (P2P5) acpiprt4 at acpi0: bus 3 (P2P3) acpiprt5 at acpi0: bus 15 (RP04) acpiprt6 at acpi0: bus 16 (PCIB) acpiprt7 at acpi0: bus 8 (NRP4) acpiprt8 at acpi0: bus 12 (SRP1) acpiprt9 at acpi0: bus 14 (SRP3) acpicpu0 at acpi0: C1(1000@1 mwait) acpicpu1 at acpi0: C1(1000@1 mwait) acpicpu2 at acpi0: C1(1000@1 mwait) acpicpu3 at acpi0: C1(1000@1 mwait) "PNP0003" at acpi0 not configured "APP0001" at acpi0 not configured "ACPI0001" at acpi0 not configured acpibtn0 at acpi0: PWRB "APP0006" at acpi0 not configured memory map conflict 0xfff9/0x3 pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel 5000X Host" rev 0x30 ppb0 at pci0 dev 2 function 0 "Intel 5000 PCIE x8" rev 0x30 pci1 at ppb0 bus 1 ppb1 at pci1 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01 pci2 at ppb1 bus 2 ppb2 at pci2 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01: msi pci3 at ppb2 bus 3 ppb3 at pci2 dev 1 function 0 "Intel 6321ESB PCIE" rev 0x01: msi pci4 at ppb3 bus 4 ppb4 at pci2 dev 2 function 0 "Intel 6321ESB PCIE" rev 0x01 pci5 at ppb4 bus 5 em0 at pci5 dev 0 function 0 "Intel 80003ES2" rev 0x01: msi, address 00:17:f2:03:bf:3c em1 at pci5 dev 0 function 1 "Intel 80003ES2" rev 0x01: msi, address 00:17:f2:03:bf:3d "Intel 6321ESB IOxAPIC" rev 0x01 at pci1 dev 0 function 1 not configured ppb5 at pci1 dev 0 function 3 "Intel 6321ESB PCIE-PCIX" rev 0x01 pci6 at ppb5 bus 6 pchb1 at pci0 dev 3 function 0 "Intel 5000 PCIE" rev 0x30 ppb6 at pci0 dev 4 function 0 "Intel 5000 PCIE x16" rev 0x30: msi pci7 at ppb6 bus 8 radeondrm0 at pci7 dev 0 function 0 "ATI Radeon HD 3450" rev 0x00 drm0 at radeondrm0 radeondrm0: msi pchb2 at pci0 dev 5 function 0 "Intel 5000 PCIE" rev 0x30 pchb3 at pci0 dev 6 function 0 "Intel 5000 PCIE" rev 0x30 pchb4 at pci0 dev 7 function 0 "Intel 5000 PCIE" rev 0x30 "Intel I/OAT" rev 0x30 at pci0 dev 8 function 0 not configured pchb5 at pci0 dev 16 function 0 "Intel 5000 Error Reporting" rev 0x30 pchb6 at pci0 dev 16 function 1 "Intel 5000 Error Reporting" rev 0x30 pchb7 at pci0 dev 16 function 2
no sound by "Intel 6321ESB HD Audio"
i install openbsd 6.2 into mac pro 2006 . (boot by fedora's grub ) but i cannot hear sound . $ dmesg | grep audio audio0 at azalia0 $ dmesg | grep azalia azalia0 at pci0 dev 27 function 0 "Intel 6321ESB HD Audio" rev 0x09: msi azalia0: codecs: Realtek ALC885 audio0 at azalia0 are there any advices ? --- regards
Re: macpro boot openbsd 6.2 , but ,,,
conclusion the grub of both debian32 bit and fedora 32 bit can boot openbsd 6.2 amd64 boots easily . the details is http://openbsd-akita.blogspot.jp/2017/10/macpro-2006-runs-openbsd.html the movies of fedora's one is https://www.youtube.com/watch?v=lqK9LIcHiQg but my taste is debian.
print usb printer by [ Google Cloud Print for Chromium ]
hi all . till now i cannot print by USB printer (epson PX-404A) from openbsd . now i suceed to print from openbsd to use[ Google Cloud Print for Chromium ] . HUBarchlinux:USBPX-404A | openbsd PX-404A is an old old USB pringer and of course *not* a Cloud Printer . but openbsd's *chrome* can print the the content by epson PX-404A with Google Cloud Print for Chromium . i am happy to conquer USB printer problem of openbsd to a some degree . --- regards Mac pro (2006) runs openbsd by fedora's grub . https://www.youtube.com/watch?v=lqK9LIcHiQg
Re: macpro boot openbsd 6.2 , but ,,,
hi at noon i attach old and cheap "ATI Radeon HD 2400 XT" insted of " nvidea Geforce GT 7300" , then lumina works well . at present i use manjarolinux's grub to boot openbsd . but this method is impossible to reproduce ( i do not know why ) . this morning i install [ *i686* mint linux ] to UEFI pc's HDD , and shrink mint by gparted and make A6 partition and then install openbsd by USB memory ( dd install62.fs ) . it boots openbsd with mint's grub . this method is the candidate for booting openbsd . regards
Re: macpro boot openbsd 6.2 , but ,,,
thans for good information . your writing is difficult for the MAC newbie like me . i need some time to understand it . by the way i uproad the scene how manjarolinux's grub boots openbsd 6.2 . it is https://youtu.be/VCd8-ttmq4k . i add a commment . it is queer that my manjarolinux's grub can boot openbsd & windows 10 but cannot boot manjarolinux itself . perhaps something is wrong . - regards
Re: macpro boot openbsd 6.2 , but ,,,
sorry correction (wrong) any way the previous openbsd is 6.1 . i use legacy PC and CD(install62.fs ) and install OpenBSD area . [ don’t touch msdos aea (wd0i)] (right) any way the previous openbsd is 6.1 . i use legacy PC and CD(install62.iso ) and install OpenBSD area . [ don’t touch msdos aea (wd0i)] and the interesting is the following http://blog.goo.ne.jp/kazuhirospd/e/a5cc783017c1ff2a699fce129fc72921 says that The screen got dark, and SSD began to access . What began? I was watching the display ..., scared out of one's wits . It came out on the screen with a light blue Windows flag. It is the start screen of Windows 8.1. By the way, this SSD was what I used on the main PC until this time. i thought it stopped with an error on the way . but it washed up as it was. Windows was running natively on MacPRO ! MacOSX could not be installed with my all efforts. but MacPRO run Windows 8.1 with no problem . what a sarcasm it was ! --- but this is not the case for openbsd . and https://everymac.com/mac-answers/snow-leopard-mac-os-x-faq/mac-os-x-snow-leopard-64-bit-macs-64-bit-efi-boot-in-64-bit-mode.html says that -- Intel Core 2 Duo and Xeon processors are 64-bit. However, based on reader reports received, as well as hands-on observation, it is believed that all Macs with 64-bit processors released in 2006 only have a 32-bit EFI, and consequently, only are capable of booting in 32-bit mode. This is of particular disappointment to owners of the first Mac Pro, which despite having a powerful 64-bit processor no doubt has had its "working life" cut short by a 32-bit EFI. - --- regards
macpro boot openbsd 6.2 , but ,,,
hi i have not touched to MAC till now . the other day i got macpro(mid 2006) under $80 at auction . manjarolinux(64bit)’s grub boots openbsd . the result is 1) $ uname -ar OpenBSD mac.my.domain 6.2 GENERIC.MP#134 amd64 2) top load averages: 0.10, 0.13, 0.06 mac.my.domain 17:08:07 33 processes: 32 idle, 1 on processor up 0:11 CPU0 states: 0.6% user, 0.0% nice, 0.3% system, 0.1% interrupt, 99.1% idle CPU1 states: 0.3% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.3% idle CPU2 states: 0.1% user, 0.0% nice, 0.2% system, 0.0% interrupt, 99.7% id CPU3 states: 0.0% user, 0.0% nice, 0.1% system, 0.0% interrupt, 99.8% idle Memory: Real: 23M/291M act/tot Free: 683M Cache: 194M Swap: 0K/5120M 3) the problem is that i can not reproduce tripleboot state (manjarolinux, windows10 and openbsd) . any way the previous openbsd is 6.1 . i use legacy PC and CD(install62.fs ) and install OpenBSD area . [ don’t touch msdos aea (wd0i)] then openbsd 6.2 can be booted by manjarolinux’s grub . 4) failure cd(install62.iso) can boot macpro and end all the installation process include [cp /mnt/user/mdec/BOOT* /mnt2/efi/boot] . but booting this hard disk , [entry point 0xf000158 ] error occurs . 5)failure i could not install openbsd to macpro by install62.fs burned USB memory (power botton +c did not go well ). i want to know the right way to install openbsd into macpro . i hear macpro has many cores , 12 core --- regards
Re: chronium ports
what a fast machine Espie uses ! i am unfamiliar with programing . so i say only from my little expirience . when using 6.0 , a specific PC could not run xfce which was installed by pkg_add . so i installed from ports , then xfce run well . by the way it is astonishing that openbsd's *all* binary is made by source ( ABC & 123 ). this is very educational for young students . the othe hand linux is limitted to kernel and aplication only to general users . --- regards
Re: chronium ports
i build my openbsd snapshots machine from source (kernel , userland and xenodm ) the PC complied from source works more correctly as if ready made suite is not my just size , tailered one is very fit , so i think . --- regards
chronium ports
owing to the great effort of ports maintener , i finsh ' make install ' of chronium's port in openbsd *snapshot* installed PC . but it takes long time ( 18hr ) on my old machime . - # pkg_info | grep chromium chromium-61.0.3163.100p0 Chromium browser # dmesg| grep CPU cpu0: Intel(R) Xeon(R) CPU W3550 @ 3.07GHz, 3200.52 MHz
Re: Japanese Input in xterm
ps in case of roxterm if the character encoding is set to UTF8 , input japanese is OK . i think xterm is poor at japanese . regard
Re: Japanese Input in xterm
hi Niels . i am a japenese , so i write down about japanese input method in http://openbsd-akita.blogspot.jp/2017/10/openbsd-62-lumina.html . i use ibus-anthy . scim-anthy is impossible for me . --- regards
6.2 snapshots and lumina
hi all . i tried amd64 snaphots (9/23) & lumina . the setting is simple --- cat .xsession exec start-lumina-desktop --- after using make world , lumina runs well . the desk top setting of xfce4 also appears on the lumina's desktop . 1) https://wiki.archlinux.org/index.php/Lumina says that Lumina DE is primarily targeted at FreeBSD, not Linux. 2) http://gihyo.jp/admin/serial/01/bsd-yomoyama/0069 says that gnome and kde use linux specific codes , so using them have too big effort for bsd . --- regards http://openbsd-akita.blogspot.jp/2017/09/openbsd-62-snapshots-september-23th.html
Re: how to know the state of the dd's progression
sorry , correct it ./comment-out.bat dd-progress.bat x=`ps ax| grep rsd | cut -d ' ' -f 1 | awk 'NR == 1' ` while true do date kill -INFO $x sleep 3 echo echo done
Re: how to know the state of the dd's progression
thanks for advices . dd if=/dev/rsd0c of=/dev/rsd2c bs=64k and another terminal dd-progress.bat --- x=`ps ax| grep rsd | cut -d ' ' -f 1` while true do date kill -INFO $x sleep 3 echo echo done then on origina; terminal --l 3891396608 bytes transferred in 69.591 secs (55917407 bytes/sec) 61949+0 records in 61949+0 records out 4059889664 bytes transferred in 72.601 secs (55919964 bytes/sec) 64521+0 records in 64521+0 records out appear -- best regards
how to know the state of the dd's progression
hi all . in Linux , i know it by dd-progress.bat --- while true do date killall -USR1 dd echo echo sleep 10 date sleep 10 date sleep 10 done --- what about in OpenBSD ? - regards
Re: print from openbsd to archlinux's USB printer
continued i try and error and try i replace command line "lpr" to " lp -h192.168.1.64:631/printers/EPSON_PX-404A/version=1.1 " then print www page directly to arch's USB printer . but when i restart seamonley , this " lp -h192.168.1.64:631/printers/EPSON_PX-404A/version=1.1 " disapear . it is regrettable . are there any trick to this ? --- regards
Re: print from openbsd to archlinux's USB printer
continued at openbsd use seamonkey , and print page to file (mozilla.pdf) lp -h192.168.1.64:631/printers/EPSON_PX-404A/version=1.1 mozilla.pdf then print it to USB printer which is attached to archlinux --- there must be much more convinient mmethod , it is what ? - regards
print from openbsd to archlinux's USB printer
Hi all. my situation is openbsd--wired-->archlinux(192.168.1.64)--usb cable->USB printer 1) in archlinux cat /etc/cups/cupsd.conf --- MaxLogSize 0 LogLevel warn port 631 #<- Browsing On BrowseLocalProtocols dnssd DefaultAuthType Basic WebInterface Yes Order allow,deny Allow localhost #<- Allow 192.168.1.0/24 #<- Order allow,deny Allow localhost #<- Allow 192.168.1.0/24 #<- AuthType Default Require user @SYSTEM Order allow,deny AuthType Default Require user @SYSTEM Order allow,deny JobPrivateAccess default JobPrivateValues default SubscriptionPrivateAccess default SubscriptionPrivateValues default Order deny,allow Require user @OWNER @SYSTEM Order deny,allow AuthType Default Require user @SYSTEM Order deny,allow AuthType Default Require user @SYSTEM Order deny,allow Require user @OWNER @SYSTEM Order deny,allow Order deny,allow JobPrivateAccess default JobPrivateValues default SubscriptionPrivateAccess default SubscriptionPrivateValues default AuthType Default Order deny,allow AuthType Default Require user @OWNER @SYSTEM Order deny,allow AuthType Default Require user @SYSTEM Order deny,allow AuthType Default Require user @SYSTEM Order deny,allow AuthType Default Require user @OWNER @SYSTEM Order deny,allow Order deny,allow JobPrivateAccess default JobPrivateValues default SubscriptionPrivateAccess default SubscriptionPrivateValues default AuthType Negotiate Order deny,allow AuthType Negotiate Require user @OWNER @SYSTEM Order deny,allow AuthType Default Require user @SYSTEM Order deny,allow AuthType Default Require user @SYSTEM Order deny,allow AuthType Negotiate Require user @OWNER @SYSTEM Order deny,allow Order deny,allow cat /etc/cups/mime.types application/octet-stream cat /etc/cups/mime.convs application/octet-stream application/vnd.cups-raw0 2)openbsd at httpa://192.178.1.64:631 i can print out testpage but i cannot print google's home page . what is lack ? /etc/printcap and more -- regards
Re: xenodm autologin
in my case 3)cat .xsession startxfce4 4)cat /etc/rc.conf.local xenodm_flags= i want to do autologin such as slim . but slim is too old tu use . regards
xenodm autologin
hi all . it is not difficult to start xfce4 via xenodm . is there anyone who can succeed autologin via xenodm ? --- regards
print [cups not supporting printer] by collaboration of linux
hi all . i have a printher(DCP-J925N) that cups does not support. but archlinux can make it usable (by https://github.com/nozaki87/brotherdcpj925n/blob/master/PKGBUILD) . openbsd's cups can do make pdf . so i sent the pdf file to archlinux by scp . and i do ssh to archlinux and lp the pdf file . shell script is the followings. cat scp+ssh.bat scp X.pdf toto@192.168.8.12:/home/toto ssh toto@192.168.8.12 and on archlinux lp X.pdf --- regards
Re: FDE on BeagleBone Black
hi all . using snaphots of october 2nd and ports , i can compile x11vnc . but it taks long hours ( about two days) . i have memorized openbsd on beaglebone black(BBB) openbsd on BBB is very small system , so it can run on everything ( for example door , baby car ) http://akita-arm.blogspot.jp/2016/09/bbb.html - regards
USB printer
Hi all . i try to print with USB printer . differen from linux , it seams hard . does anyone find good URL about printing with USB printer by cups ? - regards