On Mon, May 02, 2011 at 12:31:47PM +0300, Ivo Chutkin wrote: > Hello misc, > I have problem mounting usb disk at boot time (namely Western Digital My > Book 1130) on Alix2d2 board, dmesg below. > I am getting this message and the disk is not mounted: > mount_ffs: /dev/sd0a on /data: Device not configured
It seems the boot does not wait for every possible USB device before mounting from /etc/fstab Try the mount option 'noauto' and mount the drive through hotplugd(8) if you need automatic mount. > > also: > > r...@asterisk1.my.domain > ~ # mount > /dev/wd0a on / type ffs (local) > /dev/wd0e on /home type ffs (local, nodev, nosuid) > /dev/wd0d on /mfs type ffs (local, nodev, nosuid) > > After boot, I can mount it "by hand" without problem issuing: > > r...@asterisk1.my.domain > ~ # mount /dev/sd0a /data > > and: > > r...@asterisk1.my.domain > ~ # mount > /dev/wd0a on / type ffs (local) > /dev/wd0e on /home type ffs (local, nodev, nosuid) > /dev/wd0d on /mfs type ffs (local, nodev, nosuid) > /dev/sd0a on /data type ffs (local) > > > My fstab is: > > /dev/wd0a / ffs rw 1 1 > /dev/wd0e /home ffs rw,nodev,nosuid 1 2 > /dev/wd0d /mfs ffs rw,nodev,nosuid 1 2 > /dev/sd0a /data ffs rw,nodev 0 0 > > How can I mount this disk at boot? > Thanks for the help, > Ivo > > Dmesg: > OpenBSD 4.8-stable (GENERIC) #1: Wed Apr 6 17:51:44 EEST 2011 > r...@mail.bgone.bg:/usr/src/sys/arch/i386/compile/GENERIC > cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" > 586-class) 499 MHz > cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX > real mem = 268009472 (255MB) > avail mem = 253669376 (241MB) > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 11/05/08, BIOS32 rev. 0 @ 0xfd088 > pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 > pcibios0: pcibios_get_intr_routing - function not supported > pcibios0: PCI IRQ Routing information unavailable. > pcibios0: PCI bus #0 is the last bus > bios0: ROM list: 0xe0000/0xa800 > cpu0 at mainbus0: (uniprocessor) > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33 > glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES > vr0 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10, > address 00:0d:b9:20:95:08 > ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI > 0x004063, model 0x0034 > vr1 at pci0 dev 11 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 15, > address 00:0d:b9:20:95:09 > ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI > 0x004063, model 0x0034 > glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, > 32-bit 3579545Hz timer, watchdog, gpio > gpio0 at glxpcib0: 32 pins > pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, > channel 0 wired to compatibility, channel 1 wired to compatibility > wd0 at pciide0 channel 0 drive 0: <TS4GCF133> > wd0: 1-sector PIO, LBA, 3823MB, 7831152 sectors > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 > pciide0: channel 1 ignored (disabled) > ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 12, > version 1.0, legacy support > ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 12 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1 > isa0 at glxpcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > com0: console > com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > usb1 at ohci0: USB revision 1.0 > uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1 > biomask 7be7 netmask ffe7 ttymask ffff > mtrr: K6-family MTRR support (2 registers) > nvram: invalid checksum > softraid0 at root > root on wd0a swap on wd0b dump on wd0b > clock: unknown CMOS layout > umass0 at uhub0 port 2 configuration 1 interface 0 "Western Digital My > Book 1130" rev 2.10/10.12 addr 2 > umass0: using SCSI over Bulk-Only > scsibus0 at umass0: 2 targets, initiator 0 > Automatic boot in progress: starting file system checks. > /dev/rwd0a: file system is clean; not checking > /dev/rwd0e: file system is clean; not checking > /dev/rwd0d: file system is clean; not checking > mount_ffs: /dev/sd0a on /data: Device not configured > setting tty flags > pf enabled > net.inet.ip.forwarding: 0 -> 1 > starting network > DHCPREQUEST on vr0 to 255.255.255.255 port 67 > DHCPACK from 192.168.75.1 (00:1e:58:9f:a5:ff) > bound to 192.168.75.66 -- renewal in 21600 seconds. > starting system logger > starting initial daemons: ntpd. > mount_ffs: /dev/sd0a on /data: Device not configured > savecore: no core dump > checking quotas: done. > building ps databases: kvm dev. > clearing /tmp > starting pre-securelevel daemons:. > setting kernel security level: kern.securelevel: 0 -> 1 > sd0 at scsibus0 targ 1 lun 0: <WD, My Book 1130, 1012> SCSI4 0/direct fixed > sd0: 953837MB, 512 bytes/sec, 1953458176 sec total > ses0 at scsibus0 targ 1 lun 1: <WD, SES Device, 1012> SCSI4 13/enclosure > services fixed > ses0: unable to read enclosure configuration > creating runtime link editor directory cache. > preserving editor files. > starting network daemons: sshd sendmail inetd. > starting local daemons:. > standard daemons: cron. > Mon May 2 09:36:28 EEST 2011 > > OpenBSD/i386 (asterisk1.my.domain) (tty00) -- / Raimo Niskanen, Erlang/OTP, Ericsson AB