I seem to have painted myself in a corner somehow.
I can't upgrade without getting the data off of the system and it doesn't want to play nice with USB drives.

The system:
- amd64
- generic.mp kernel
- OpenBSD 3.9
- contains an hardware raid card (AMI) creating 2 "virtual" sd drives: sd0 and sd1
Cannot touch them really, they contain precious data.

When I hook up an USB drive, I get  :

umass0 at uhub1 port 1 configuration 1 interface 0
umass0: LaCie LaCie HardDrive USB, rev 2.00/0.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus4 at umass0: 2 targets

but no sd drive is assigned. (nor do any of those in existence aside of sd0 and sd1 from the raid controller do anything).

There are NO other USB devices used on that system, not even a keyboard.

The system is showing age and I'd like to upgrade it, but without having an offline copy of the data that's not going to happen. And the LTO-3 tape drive is flacky at best, so I'd like to by some really big external drives as backup (the AMI provides about 3Tbyte of space)

So I'd need to know how to trigger the kernel to let me do something with that umass0 by "linking" it to a sd2 or so.

Might there be too many scsibusses for the generic kernel?

scsibus0: atapi CDROM
scsibus1: adaptec controller
scsibus2: AMI
scsibus3: AMI
scsibus4: USB

I could try to look at old school BSD stuff and think about building a new kernel, but the amount
of "don't do that" seems to be high, so is there a better path ? Where ?

I know it's an old release, trying to fix that, but in order to get there ...

SWA


# dmesg
OpenBSD 3.9 (GENERIC.MP) #736: Thu Mar  2 04:02:03 MST 2006
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/ GENERIC.MP
real mem = 2146410496 (2096104K)
avail mem = 1835237376 (1792224K)
using 22937 buffers containing 214847488 bytes (209812K) of memory
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (AMD      HAMMER      )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Opteron(tm) Processor 246, 2004.80 MHz
cpu0: FPU ,VME ,DE ,PSE ,TSC ,MSR ,PAE ,MCE ,CX8 ,APIC ,SEP ,MTRR ,PGE ,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG, 3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Opteron(tm) Processor 246, 2004.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,SSE3,NXE,MMXX,FFXSR,LONG, 3DNOW2,3DNOW cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type PCI
mpbios: bus 3 is type PCI
mpbios: bus 4 is type PCI
mpbios: bus 5 is type ISA
ioapic0 at mainbus0 apid 2: pa 0xffff80000373bf24, version 11, 24 pins
ioapic1 at mainbus0 apid 3: pa 0xffff80000373be24, version 11, 4 pins
ioapic2 at mainbus0 apid 4: pa 0xffff80000373bd24, version 11, 4 pins
pci0 at mainbus0 bus 0: configuration mode 1
ppb0 at pci0 dev 6 function 0 "AMD 8111 PCI-PCI" rev 0x07
pci1 at ppb0 bus 1
ohci0 at pci1 dev 0 function 0 "AMD 8111 USB" rev 0x0b: apic 2 int 19 (irq 11), version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: AMD OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci1 dev 0 function 1 "AMD 8111 USB" rev 0x0b: apic 2 int 19 (irq 11), version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: AMD OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
vga1 at pci1 dev 6 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "AMD AMD8111 LPC" rev 0x05
pciide0 at pci0 dev 7 function 1 "AMD 8111 IDE" rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <_NEC, DVD_RW ND-3550A, 1.05> SCSI0 5/ cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
amdpm0 at pci0 dev 7 function 3 "AMD 8111 Power" rev 0x05: rng active
iic0 at amdpm0
admcts0 at iic0 addr 0x2c
ppb1 at pci0 dev 10 function 0 "AMD 8131 PCIX" rev 0x12
pci2 at ppb1 bus 2
ahd0 at pci2 dev 1 function 0 "Adaptec AHA-29320A U320" rev 0x10: apic 3 int 1 (irq 5)
ahd0: aic7901, U320 Wide Channel A, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs
scsibus1 at ahd0: 16 targets
st0 at scsibus1 targ 4 lun 0: <HP, Ultrium 3-SCSI, G2AD> SCSI3 1/ sequential removable
st0: density code 0x44, variable blocks, write-enabled
bge0 at pci2 dev 3 function 0 "Broadcom BCM5702X" rev 0x02, BCM5703 A2 (0x1002): apic 3 int 3 (irq 11), address 00:50:45:5d:e8:e4
brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
bge1 at pci2 dev 4 function 0 "Broadcom BCM5702X" rev 0x02, BCM5703 A2 (0x1002): apic 3 int 3 (irq 11), address 00:50:45:5d:e8:e5
brgphy1 at bge1 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
aapic0 at pci0 dev 10 function 1 "AMD 8131 PCIX IOAPIC" rev 0x01
ppb2 at pci0 dev 11 function 0 "AMD 8131 PCIX" rev 0x12
pci3 at ppb2 bus 3
ppb3 at pci3 dev 1 function 0 vendor "Intel", unknown product 0x0335 rev 0x07
pci4 at ppb3 bus 4
ami0 at pci4 dev 14 function 0 "Symbios Logic MegaRAID SATA 4x/8x" rev 0x07: apic 4 int 1 (irq 5) LSI 3008 32b
ami0: FW 813G, BIOS vH425, 128MB RAM
ami0: 1 channels, 0 FC loops, 2 logical drives
scsibus2 at ami0: 40 targets
sd0 at scsibus2 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct fixed sd0: 763872MB, 763872 cyl, 64 head, 32 sec, 512 bytes/sec, 1564409856 sec total sd1 at scsibus2 targ 1 lun 0: <AMI, Host drive #01, > SCSI2 0/direct fixed sd1: 2097150MB, 2097150 cyl, 64 head, 32 sec, 512 bytes/sec, 4294963200 sec total
scsibus3 at ami0: 16 targets
em0 at pci3 dev 2 function 0 "Intel PRO/1000MT (82545GM)" rev 0x04: apic 4 int 2 (irq 10), address 00:04:23:cb:21:f9
aapic1 at pci0 dev 11 function 1 "AMD 8131 PCIX IOAPIC" rev 0x01
pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb1 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
pchb2 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb3 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
pchb4 at pci0 dev 25 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb5 at pci0 dev 25 function 1 "AMD AMD64 Address Map" rev 0x00
pchb6 at pci0 dev 25 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb7 at pci0 dev 25 function 3 "AMD AMD64 Misc Cfg" rev 0x00
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
dkcsum: sd0 matches BIOS drive 0x80
dkcsum: sd1 matches BIOS drive 0x81
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02

Reply via email to