Wednesday, January 31, 2018

at/batch(1) and ssh-agent(1) environment variables

Hi,

at/batch(1) appears to not retain SSH_AUTH_SOCK and SSH_AGENT_PID
environment variables when commands are executed. According to the man
page:

"(...) The working directory, the environment (except for the variables
TERM, TERMCAP, DISPLAY, and _), and the umask are retained from the
time of invocation. An at or batch command invoked from a su(1) shell
will retain the current user ID."

Why are those variables not preserved?

My use case is an automated backup to a remote server with ssh public
key authentication (passphrased). Since cron + ssh-agent needs some
kind of workaround (e.g. predetermined socket location, Keychain etc.),
I intend to run the backup script with batch from ~/.xsession after
ssh-agent was started by default in /etc/X11/xenodm/Xsession. The
machine is not running continuously.

Example:

$ env
_=/usr/bin/env
LOGNAME=erwin
WINDOWPATH=ttyC4
WINDOWID=12582925
XTERM_SHELL=/bin/ksh
JAVA_HOME=/usr/local/jdk-1.7.0/
HOME=/home/erwin
LC_CTYPE=en_US.UTF-8
VISUAL=/usr/bin/mg
XTERM_VERSION=XTerm/OpenBSD(330)
DISPLAY=:0
SSH_AGENT_PID=73270
HOSTNAME=pc0.erwingeerdink.com
EDITOR=/usr/bin/mg
ENV=/home/erwin/.kshrc
PATH=/home/erwin/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:.
SSH_AUTH_SOCK=/tmp/ssh-MmReEdpAhc7D/agent.15964
PAGER=less
TERM=xterm
SHELL=/bin/ksh
USER=erwin
XTERM_LOCALE=en_US.UTF-8
$ echo 'env' | at now
commands will be executed using /bin/ksh
job 1517394411.c at Wed Jan 31 11:26:51 2018
$ doas cat /var/cron/log | fgrep '1517394411.c'
doas (erwin@pc0.erwingeerdink.com) password:
Jan 31 11:26:51 pc0 at[16305]: (erwin) CREATE (1517394411.c)
Jan 31 11:26:51 pc0 cron[27096]: (erwin) ATJOB (1517394411.c)
$ cat /var/mail/erwin
(...)

Your "at" job on pc0.erwingeerdink.com
"/var/cron/atjobs/1517394411.c"

produced the following output:

_=/usr/bin/env
LOGNAME=erwin
WINDOWPATH=ttyC4
WINDOWID=12582925
XTERM_SHELL=/bin/ksh
HOME=/home/erwin
JAVA_HOME=/usr/local/jdk-1.7.0/
LC_CTYPE=en_US.UTF-8
VISUAL=/usr/bin/mg
XTERM_VERSION=XTerm/OpenBSD(330)
HOSTNAME=pc0.erwingeerdink.com
EDITOR=/usr/bin/mg
ENV=/home/erwin/.kshrc
PATH=/home/erwin/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:.
PAGER=less
XTERM_LOCALE=en_US.UTF-8
USER=erwin
$


dmesg:
OpenBSD 6.2 (GENERIC.MP) #2: Sun Dec 10 21:14:42 CET 2017
root@syspatch-62-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8034123776 (7661MB)
avail mem = 7783612416 (7423MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (53 entries)
bios0: vendor Award Software International, Inc. version "F4" date
10/19/2012 bios0: Gigabyte Technology Co., Ltd. GA-78LMT-USB3
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP MSDM HPET MCFG TAMG APIC SSDT
acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5
(S3) USB6(S3) SBAZ(S4) P2P_(S5) PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6
(S4) PCE7(S4) PCE9(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz acpimcfg0 at acpi0 addr 0xe0000000, bus
0-255 acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD FX(tm)-8320 Eight-Core Processor, 33398.65 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache cpu0: ITLB 48
4KB entries fully associative, 24 4MB entries fully associative cpu0:
DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: TSC frequency 33398645960 Hz cpu0: smt 0, core 0, package 0 mtrr:
Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic
clock running at 200MHz cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD FX(tm)-8320 Eight-Core Processor, 3515.55 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache cpu1: ITLB 48
4KB entries fully associative, 24 4MB entries fully associative cpu1:
DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: smt 0, core 3, package 0 cpu2 at mainbus0: apid 2 (application
processor) cpu2: AMD FX(tm)-8320 Eight-Core Processor, 3515.55 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
cpu2: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache cpu2: ITLB 48
4KB entries fully associative, 24 4MB entries fully associative cpu2:
DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu2: smt 0, core 7, package 0 cpu3 at mainbus0: apid 3 (application
processor) cpu3: AMD FX(tm)-8320 Eight-Core Processor, 3515.55 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
cpu3: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache cpu3: ITLB 48
4KB entries fully associative, 24 4MB entries fully associative cpu3:
DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu3: smt 0, core 6, package 0 cpu4 at mainbus0: apid 4 (application
processor) cpu4: AMD FX(tm)-8320 Eight-Core Processor, 3515.55 MHz
cpu4:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
cpu4: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache cpu4: ITLB 48
4KB entries fully associative, 24 4MB entries fully associative cpu4:
DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu4: smt 0, core 1, package 0 cpu5 at mainbus0: apid 5 (application
processor) cpu5: AMD FX(tm)-8320 Eight-Core Processor, 3515.55 MHz
cpu5:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
cpu5: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache cpu5: ITLB 48
4KB entries fully associative, 24 4MB entries fully associative cpu5:
DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu5: smt 0, core 2, package 0 cpu6 at mainbus0: apid 6 (application
processor) cpu6: AMD FX(tm)-8320 Eight-Core Processor, 3515.55 MHz
cpu6:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
cpu6: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache cpu6: ITLB 48
4KB entries fully associative, 24 4MB entries fully associative cpu6:
DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu6: smt 0, core 4, package 0 cpu7 at mainbus0: apid 7 (application
processor) cpu7: AMD FX(tm)-8320 Eight-Core Processor, 3515.55 MHz
cpu7:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
cpu7: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache cpu7: ITLB 48
4KB entries fully associative, 24 4MB entries fully associative cpu7:
DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu7: smt 0, core 5, package 0 ioapic0 at mainbus0: apid 2 pa
0xfec00000, version 21, 24 pins , remapped to apid 2 acpiprt0 at acpi0:
bus 0 (PCI0) acpiprt1 at acpi0: bus 3 (P2P_) acpiprt2 at acpi0: bus -1
(PCE2) acpiprt3 at acpi0: bus -1 (PCE3) acpiprt4 at acpi0: bus -1
(PCE4) acpiprt5 at acpi0: bus -1 (PCE5) acpiprt6 at acpi0: bus 2 (PCE6)
acpiprt7 at acpi0: bus -1 (PCE7) acpiprt8 at acpi0: bus -1 (PCE9)
acpiprt9 at acpi0: bus -1 (PCEA) acpiprt10 at acpi0: bus -1 (PCEB)
acpiprt11 at acpi0: bus -1 (PCEC) acpiprt12 at acpi0: bus 1 (AGP_)
acpicpu0 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS
acpicpu1 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS
acpicpu2 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS
acpicpu3 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS
acpicpu4 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS
acpicpu5 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS
acpicpu6 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS
acpicpu7 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS
acpibtn0 at acpi0: PWRB
"PNP0700" at acpi0 not configured
"PNP0400" at acpi0 not configured
"PNP0C14" at acpi0 not configured
cpu0: 33398 MHz: speeds: 3500 2900 2300 1700 1400 MHz
pci0 at mainbus0 bus 0
0:0:0: mem address conflict 0xe0000000/0x20000000
pchb0 at pci0 dev 0 function 0 "AMD RS780 Host" rev 0x00
ppb0 at pci0 dev 1 function 0 "AMD RS780 PCIE" rev 0x00
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 5 function 0 "ATI Radeon HD 3000" rev 0x00
drm0 at radeondrm0
radeondrm0: apic 2 int 18
azalia0 at pci1 dev 5 function 1 "ATI RS780 HD Audio" rev 0x00: msi
azalia0: no supported codecs
ppb1 at pci0 dev 6 function 0 "AMD RS780 PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL
(0x2c80), msi, address 94:de:80:7a:b6:5c rgephy0 at re0 phy 7:
RTL8169S/8110S/8211 PHY, rev. 5 ahci0 at pci0 dev 17 function 0 "ATI
SBx00 SATA" rev 0x00: apic 2 int 22, AHCI 1.1 ahci0: port 0: 3.0Gb/s
ahci0: port 1: 3.0Gb/s
ahci0: port 2: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, SAMSUNG HM321HI, 2AJ1> SCSI3
0/direct fixed naa.50024e920458c4aa sd0: 305245MB, 512 bytes/sector,
625142448 sectors sd1 at scsibus1 targ 1 lun 0: <ATA, WDC WD10EZRX-00L,
01.0> SCSI3 0/direct fixed naa.50014ee2089db39b sd1: 953869MB, 512
bytes/sector, 1953525168 sectors cd0 at scsibus1 targ 2 lun 0: <ATAPI,
iHAS122 W, PL06> ATAPI 5/cdrom removable ohci0 at pci0 dev 18 function
0 "ATI SB700 USB" rev 0x00: apic 2 int 16, version 1.0, legacy support
ohci1 at pci0 dev 18 function 1 "ATI SB700 USB" rev 0x00: apic 2 int
16, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 "ATI
SB700 USB2" rev 0x00: apic 2 int 17 usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "ATI EHCI root hub" rev
2.00/1.00 addr 1 ohci2 at pci0 dev 19 function 0 "ATI SB700 USB" rev
0x00: apic 2 int 18, version 1.0, legacy support ohci3 at pci0 dev 19
function 1 "ATI SB700 USB" rev 0x00: apic 2 int 18, version 1.0, legacy
support ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic
2 int 19 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 configuration 1
interface 0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0
dev 20 function 0 "ATI SBx00 SMBus" rev 0x3c: SMI iic0 at piixpm0
spdmem0 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-10600 spdmem1 at iic0
addr 0x53: 4GB DDR3 SDRAM PC3-10600 pciide0 at pci0 dev 20 function 1
"ATI SB700 IDE" rev 0x00: DMA, channel 0 configured to compatibility,
channel 1 configured to compatibility azalia1 at pci0 dev 20 function 2
"ATI SBx00 HD Audio" rev 0x00: apic 2 int 16 azalia1: codecs:
Realtek/0x0887 audio0 at azalia1 pcib0 at pci0 dev 20 function 3 "ATI
SB700 ISA" rev 0x00 ppb2 at pci0 dev 20 function 4 "ATI SB600 PCI" rev
0x00 pci3 at ppb2 bus 3
ohci4 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 2 int
18, version 1.0, legacy support pchb1 at pci0 dev 24 function 0 "AMD
AMD64 15/0xh Link Cfg" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD
AMD64 15/0xh Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD
AMD64 15/0xh DRAM Cfg" rev 0x00 km0 at pci0 dev 24 function 3 "AMD
AMD64 15/0xh Misc Cfg" rev 0x00 pchb4 at pci0 dev 24 function 4 "AMD
AMD64 15/0xh CPU Power" rev 0x00 pchb5 at pci0 dev 24 function 5 "AMD
AMD64 15/0xh Host" rev 0x00 usb2 at ohci0: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "ATI OHCI root hub" rev
1.00/1.00 addr 1 usb3 at ohci1: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "ATI OHCI root hub" rev
1.00/1.00 addr 1 usb4 at ohci2: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "ATI OHCI root hub" rev
1.00/1.00 addr 1 usb5 at ohci3: USB revision 1.0
uhub5 at usb5 configuration 1 interface 0 "ATI OHCI root hub" rev
1.00/1.00 addr 1 isa0 at pcib0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x2e/2: IT8728F rev 1, EC port 0x228
usb6 at ohci4: USB revision 1.0
uhub6 at usb6 configuration 1 interface 0 "ATI OHCI root hub" rev
1.00/1.00 addr 1 fdc0: drive 0: unknown device type 0xd0
umass0 at uhub1 port 1 configuration 1 interface 0 "Generic Mass
Storage Device" rev 2.00/1.00 addr 2 umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd2 at scsibus2 targ 1 lun 0: <Generic-, SD/MMC, 1.00> SCSI0 0/direct
removable sd3 at scsibus2 targ 1 lun 1: <Generic-, Compact Flash, 1.01>
SCSI0 0/direct removable sd4 at scsibus2 targ 1 lun 2: <Generic-,
SM/xD-Picture, 1.02> SCSI0 0/direct removable sd5 at scsibus2 targ 1
lun 3: <Generic-, MS/MS-Pro, 1.03> SCSI0 0/direct removable uhidev0 at
uhub1 port 1 configuration 1 interface 1 "Generic Mass Storage Device"
rev 2.00/1.00 addr 2 uhidev0: iclass 3/0, 4 report ids uhid0 at uhidev0
reportid 4: input=7, output=0, feature=0 uhidev1 at uhub2 port 1
configuration 1 interface 0 "Logitech USB-PS/2 Optical Mouse" rev
2.00/27.20 addr 2 uhidev1: iclass 3/1 ums0 at uhidev1: 8 buttons, Z and
W dir wsmouse0 at ums0 mux 0
uhidev2 at uhub2 port 2 configuration 1 interface 0 "vendor 0x145f
Trust Keyboard" rev 2.00/1.00 addr 3 uhidev2: iclass 3/1
ukbd0 at uhidev2: 8 variable keys, 6 key codes
wskbd0 at ukbd0: console keyboard
uhidev3 at uhub2 port 2 configuration 1 interface 1 "vendor 0x145f
Trust Keyboard" rev 2.00/1.00 addr 3 uhidev3: iclass 3/0, 2 report ids
uhid1 at uhidev3 reportid 1: input=2, output=0, feature=0
uhid2 at uhidev3 reportid 2: input=1, output=0, feature=0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd1a (05df074d1c3ed437.a) swap on sd1b dump on sd1b
radeondrm0: 1024x768, 32bpp
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using
wskbd0 wsdisplay0: screen 1-5 added (std, vt100 emulation)
atascsi_passthru_done, timeout
atascsi_passthru_done, timeout
atascsi_passthru_done, timeout
atascsi_passthru_done, timeout
atascsi_passthru_done, timeout
atascsi_passthru_done, timeout
atascsi_passthru_done, timeout
atascsi_passthru_done, timeout
sd2 detached
sd3 detached
sd4 detached
sd5 detached
scsibus2 detached
umass0 detached
uhid0 detached
uhidev0 detached
umass0 at uhub4 port 1 configuration 1 interface 0 "Generic Mass
Storage Device" rev 2.00/1.00 addr 2 umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd2 at scsibus2 targ 1 lun 0: <Generic-, SD/MMC, 1.00> SCSI0 0/direct
removable sd3 at scsibus2 targ 1 lun 1: <Generic-, Compact Flash, 1.01>
SCSI0 0/direct removable sd4 at scsibus2 targ 1 lun 2: <Generic-,
SM/xD-Picture, 1.02> SCSI0 0/direct removable sd5 at scsibus2 targ 1
lun 3: <Generic-, MS/MS-Pro, 1.03> SCSI0 0/direct removable uhidev0 at
uhub4 port 1 configuration 1 interface 1 "Generic Mass Storage Device"
rev 2.00/1.00 addr 2 uhidev0: iclass 3/0, 4 report ids uhid0 at uhidev0
reportid 4: input=7, output=0, feature=0 atascsi_passthru_done, timeout
atascsi_passthru_done, timeout

No comments:

Post a Comment