FreeBSD newbie here (experience with Solaris/Linux, just not FreeBSD specifically). I've had a co-located server for the last 7 years sitting in a building I had never been in until last night. It was set[ ]up by someone there based on my loose specifications and has been working perfectly as our website, forums, commerce engine ever since.
So I finally decided I probablyoutta ought to go see this thing and do a backup. I set up a FreeBSD machine on a spare system in my office just to get familiar with it before driving down and I connected that same USB drive to this temporary machine just fine. The commands I used to get it all formatted and ready where as follows.
Tested it out before I left with the following.
Everything seemed to work fine. The results from
So I drove down to the data center, got my access cleared up to the machine and proceeded to hook up my USB keyboard and their LCD screen. The keyboard lights flickered for a second when I first plugged it in, but nothing after that. No NumLock light, etc., and nothing worked. I saw the console text up on the monitor, but nothing I typed showed up or had any effect. So the system just didn't recognize the keyboard. I moved it to different USB ports with the same effect. I borrowed two more USB keyboards from the data center front desk, but had the same result. The system just wasn't recognizing the keyboards. So I borrowed a PS/2 style keyboard and was in business.
I logged in, hooked up the USB drive but got NO response again. No errors in any of the logs I could fine, no new drives showing up in
And
My question is this.
What now? How do I proceed from here to debug this? Is there some way to check that the USB ports are even being "monitored" by the system? Because they sure don't seem to be to me. If they are, then how do I debug why the drive isn't showing up somewhere?
Any help would be appreciated. I'll gladly RTFM too if someone will point me to the appropriate manual. I've searched through Google and these forums (which doesn't search well for "USB" since it's only a 3-letter word and gets ignored in indexing it seems).
Thanks in advance!
So I finally decided I probably
Code:
gpart destroy -F da0
gpart create -s MBR da0
fdisk -BI /dev/da0
bsdlabel -w -B /dev/da0s1
newfs /dev/da0s1a
Tested it out before I left with the following.
Code:
mount /dev/da0s1a /mnt/da0
cd da0
df -k .
cd ..
umount da0
Everything seemed to work fine. The results from
df looked fine, no error messages anywhere, etc., etc.So I drove down to the data center, got my access cleared up to the machine and proceeded to hook up my USB keyboard and their LCD screen. The keyboard lights flickered for a second when I first plugged it in, but nothing after that. No NumLock light, etc., and nothing worked. I saw the console text up on the monitor, but nothing I typed showed up or had any effect. So the system just didn't recognize the keyboard. I moved it to different USB ports with the same effect. I borrowed two more USB keyboards from the data center front desk, but had the same result. The system just wasn't recognizing the keyboards. So I borrowed a PS/2 style keyboard and was in business.
I logged in, hooked up the USB drive but got NO response again. No errors in any of the logs I could fine, no new drives showing up in
geom disk list, nothing. uname reports:
Code:
FreeBSD server 6.2-STABLE FreeBSD 6.2-STABLE
And
sysctl for hw.usb reports:
Code:
[root@server /usr/ports/mail/postfix]# sysctl hw.usb
sysctl: unknown oid 'hw.usb'
My question is this.
What now? How do I proceed from here to debug this? Is there some way to check that the USB ports are even being "monitored" by the system? Because they sure don't seem to be to me. If they are, then how do I debug why the drive isn't showing up somewhere?
Any help would be appreciated. I'll gladly RTFM too if someone will point me to the appropriate manual. I've searched through Google and these forums (which doesn't search well for "USB" since it's only a 3-letter word and gets ignored in indexing it seems).
Thanks in advance!