Re: Bug (?) - softraid

2013-02-05 Thread Maxime Villard
Le 02/02/2013 16:18, Kenneth R Westerback a écrit :
 On Sat, Feb 02, 2013 at 03:02:51PM +0100, Maxime Villard wrote:
 Hi,
 I have a Thinkpad T61, with an extractible cd drive like this one:
 http://www.notebookcheck.biz/typo3temp/pics/b7bc6b4b90.jpg
 
 If I unplug this drive when the system is fully booted - and logged
 in -, I get a strange bug.
 
 When I unplug:
cd0 detached
scsibus0 detached
atapiscsi0 detached
softraid0: i/o error on block 162290672 target 0 b_error 6  -- 
  SOMETIMES IT'S 'b_error 0'
 
 here, nothing works. Most of the time, the keyboard goes off and I
 cannot do anything like switching tty or simply typing 'reboot'.
 Sometimes it also writes '/home: create/symlink failed, no inodes free'.
 
 Is that a bug or a missing feature? I should be able to keep control on
 the system even if I unplug the drive like a savage, no?
 Depends what your softraid configuration is.
 
  Ken
 
 
Sorry for the late answer. I don't have a big softraid configuration,
I have encrypted /home /root /altroot /var /usr, but I didn't touch cd0.



Re: Bug (?) - softraid

2013-02-02 Thread Kenneth R Westerback
On Sat, Feb 02, 2013 at 03:02:51PM +0100, Maxime Villard wrote:
 Hi,
 I have a Thinkpad T61, with an extractible cd drive like this one:
 http://www.notebookcheck.biz/typo3temp/pics/b7bc6b4b90.jpg
 
 If I unplug this drive when the system is fully booted - and logged
 in -, I get a strange bug.
 
 When I unplug:
   cd0 detached
   scsibus0 detached
   atapiscsi0 detached
   softraid0: i/o error on block 162290672 target 0 b_error 6  -- SOMETIMES 
 IT'S 'b_error 0'
 
 here, nothing works. Most of the time, the keyboard goes off and I
 cannot do anything like switching tty or simply typing 'reboot'.
 Sometimes it also writes '/home: create/symlink failed, no inodes free'.
 
 Is that a bug or a missing feature? I should be able to keep control on
 the system even if I unplug the drive like a savage, no?

Depends what your softraid configuration is.

 Ken

 
 
 OpenBSD 5.3-beta (GENERIC.MP) #25: Fri Feb  1 16:29:00 MST 2013
 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 4217044992 (4021MB)
 avail mem = 4082298880 (3893MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (73 entries)
 bios0: vendor LENOVO version 7LETC7WW (2.27 ) date 04/08/2010
 bios0: LENOVO 64644YG
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT ASF! SSDT 
 SSDT SSDT SSDT SSDT
 acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) IGBE(S4) EXP0(S4) 
 EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB2(S3) USB3(S3) 
 USB4(S3) EHC0(S3) EHC1(S3) HDEF(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpiec0 at acpi0
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 2194.86 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 199MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 1995.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,NXE,LONG,LAHF,PERF
 cpu1: 4MB 64b/line 16-way L2 cache
 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 2, remapped to apid 1
 acpimcfg0 at acpi0 addr 0xf000, bus 0-63
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (AGP_)
 acpiprt2 at acpi0: bus 2 (EXP0)
 acpiprt3 at acpi0: bus 3 (EXP1)
 acpiprt4 at acpi0: bus 4 (EXP2)
 acpiprt5 at acpi0: bus 5 (EXP3)
 acpiprt6 at acpi0: bus 13 (EXP4)
 acpiprt7 at acpi0: bus 21 (PCI1)
 acpicpu0 at acpi0: C3, C2, C1, PSS
 acpicpu1 at acpi0: C3, C2, C1, PSS
 acpipwrres0 at acpi0: PUBS
 acpitz0 at acpi0: critical temperature is 127 degC
 acpitz1 at acpi0: critical temperature is 100 degC
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: SLPB
 acpibat0 at acpi0: BAT0 model 93P5030 serial   290 type LION oem SANYO
 acpibat1 at acpi0: BAT1 not present
 acpiac0 at acpi0: AC unit online
 acpithinkpad0 at acpi0
 acpidock0 at acpi0: GDCK not docked (0)
 cpu0: Enhanced SpeedStep 2194 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c
 vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xe000, size 0x1000
 inteldrm0 at vga1: apic 1 int 16
 drm0 at inteldrm0
 Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured
 em0 at pci0 dev 25 function 0 Intel ICH8 IGP M AMT rev 0x03: msi, address 
 00:1e:37:d4:07:a5
 uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 20
 uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 21
 ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 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 0x03: msi
 azalia0: codecs: Analog Devices AD1984, Conexant/0x2bfa, using Analog Devices 
 AD1984
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03: msi
 pci1 at ppb0 bus 2
 ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x03: msi
 pci2 at ppb1 bus 3
 iwn0 at pci2 dev 0 function 0 Intel Wireless WiFi Link 4965 rev 0x61: msi, 
 MIMO 2T3R, MoW2, address 00:1f:3b:69:98:83
 ppb2 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x03: msi
 pci3 at ppb2 bus 4
 ppb3 at pci0 dev 28 function 3 Intel 82801H PCIE rev 0x03: msi
 pci4 at ppb3 bus 5
 ppb4 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x03: msi
 pci5 at ppb4