Re: Boot hangs at /bin/sh?, can't see USB keyboard

2006-07-13 Thread Erik Norgaard

Michael P. Soulier wrote:

On 12/07/06 Erik Nørgaard said:


The keyboard usually works on the boot menu as the bios is in control.
So, exit the menu to load the kernel modules you need, usb, ukbd and
uhid I think should do. Then boot into single user mode.

For next time, this happens, I suggest you build a kernel with usb
keyboard support built in. I think the GENERIC kernel now supports usb
keyboards by default, which explains why the boot option has been removed.


I just booted and installed with the boot with usb keyboard option in 5.4,
and it's worked ever since. I'm not sure why. I suppose that I should find out
in case it breaks.


AFAIK the usb keyboard menu was a 5.x thing, since then usb keyboards 
have become so common that usb keyboard support is included in the 
GENERIC kernel. The OP refered to 6.1.


If you don't want to include support in the kernel, just make sure to 
load the modules at boot, check loader.conf. If you installed the with 
usb keyboard then this might have been set for you.


Cheers, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot hangs at /bin/sh?, can't see USB keyboard

2006-07-13 Thread Alex Zbyslaw

Bill Moran wrote:


In response to Chris Shenton [EMAIL PROTECTED]:
 


If not, any suggestions on how to get it to boot to a point where I
could fix the /etc/fstab?  Only thing I can think of is burn a
bootable FreeBSD disk, boot from it, then mount the hard drive and fix
fstab from that.  
   



That might be faster ... get a FreeSBIE disk.

 

The FreeBSD installation CD will also do just fine with fixit shell.  
Any CD from 5.X onwards should mount UFS2 partitions even if you are 
running some later OS version.  Given your USB trouble, a 5.X CD might 
even be preferred since it has the boot option you want.


--Alex


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot hangs at /bin/sh?, can't see USB keyboard

2006-07-13 Thread Chris Shenton
Bill Moran [EMAIL PROTECTED] writes:

 On some Dells, there is a BIOS option to boot with USB legacy support
 (or some similar wording) or without USB support at all.  Having the
 correct setting is pivotal to getting the USB keyboard to work.  The
 correct setting varies from model to model.  What fun.

I didn't see any option like this on my Dimension 9150. :-(

 Additionally, sometimes escaping the boot loader and setting
 hint.atkbd.0.flags=0x1 is still required on some hardware (even with
 6.1).

I'll look into this.


 That might be faster ... get a FreeSBIE disk.

Tried this, very nice LiveCD.  But I couldn't figure out how to get it
to see and then mount my SATA disk partition so I could fix its
/etc/fstab.  Perhaps I missed something, but the
/scripts/mount_disks.sh didn't seem to find the hard drives.


Alex Zbyslaw [EMAIL PROTECTED] wrote:

 The FreeBSD installation CD will also do just fine with fixit shell.
 Any CD from 5.X onwards should mount UFS2 partitions even if you are
 running some later OS version.  Given your USB trouble, a 5.X CD might
 even be preferred since it has the boot option you want.

Since I couldn't figure out how to get FreeSBIE to mount the hard
drives, I started downloading the FreeBSD-6.1 install CDs.  While
waiting, I got the dead box to boot over the net from my main box
(which boots a small diskless box I run in the kitchen).  That at
least brought it up to the point where I could ssh into the box then
fix the /etc/fstab.

Kinda round-about but it worked.  :-)


Erik Nørgaard [EMAIL PROTECTED] wrote:

 The keyboard usually works on the boot menu as the bios is in control.
 So, exit the menu to load the kernel modules you need, usb, ukbd and
 uhid I think should do. Then boot into single user mode.

I tried this, but when it started to boot it said the modules were
already installed and then hung at the point where it sees atkbdc0.


 For next time, this happens, I suggest you build a kernel with usb
 keyboard support built in. I think the GENERIC kernel now supports usb
 keyboards by default, which explains why the boot option has been removed.

I'll check to make sure my custom kernel has this.


Thanks to everyone for your help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Boot hangs at /bin/sh?, can't see USB keyboard

2006-07-12 Thread Chris Shenton
I have a borked entry in my /etc/fstab: the box can't find /dev/da4s1
or something at boot.  So it hangs at boot asking me if I want to use
/bin/sh in single user mode.  But when I bang on the USB keyboard,
FreeBSD doesn't hear the keys.

I recall that previous boot menus offered a boot with USB keyboard
option, but this is no longer on my FreeBSD-6.1 version built from
cvsup a couple months back. 

Any suggestions how to get it to see the USB keyboard in the boot?
This Dell box doesn't have a non-USB keyboard input. 

If not, any suggestions on how to get it to boot to a point where I
could fix the /etc/fstab?  Only thing I can think of is burn a
bootable FreeBSD disk, boot from it, then mount the hard drive and fix
fstab from that.  

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot hangs at /bin/sh?, can't see USB keyboard

2006-07-12 Thread Bill Moran
In response to Chris Shenton [EMAIL PROTECTED]:

 I have a borked entry in my /etc/fstab: the box can't find /dev/da4s1
 or something at boot.  So it hangs at boot asking me if I want to use
 /bin/sh in single user mode.  But when I bang on the USB keyboard,
 FreeBSD doesn't hear the keys.
 
 I recall that previous boot menus offered a boot with USB keyboard
 option, but this is no longer on my FreeBSD-6.1 version built from
 cvsup a couple months back. 
 
 Any suggestions how to get it to see the USB keyboard in the boot?
 This Dell box doesn't have a non-USB keyboard input. 

We have a number of Dell servers here.  The availability of the USB
keyboard is heavily dependent on a number of things: BIOS settings and
the exact hardware model are two of them.

On some Dells, there is a BIOS option to boot with USB legacy support
(or some similar wording) or without USB support at all.  Having the
correct setting is pivotal to getting the USB keyboard to work.  The
correct setting varies from model to model.  What fun.

Additionally, sometimes escaping the boot loader and setting
hint.atkbd.0.flags=0x1 is still required on some hardware (even with
6.1).

The exact combination is achieved by trial and error.  I suggest making
a little matrix and trying all possible combinations until you find the
one that works.

 If not, any suggestions on how to get it to boot to a point where I
 could fix the /etc/fstab?  Only thing I can think of is burn a
 bootable FreeBSD disk, boot from it, then mount the hard drive and fix
 fstab from that.  

That might be faster ... get a FreeSBIE disk.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot hangs at /bin/sh?, can't see USB keyboard

2006-07-12 Thread Erik Nørgaard
Chris Shenton wrote:

 Any suggestions how to get it to see the USB keyboard in the boot?
 This Dell box doesn't have a non-USB keyboard input. 

The keyboard usually works on the boot menu as the bios is in control.
So, exit the menu to load the kernel modules you need, usb, ukbd and
uhid I think should do. Then boot into single user mode.

For next time, this happens, I suggest you build a kernel with usb
keyboard support built in. I think the GENERIC kernel now supports usb
keyboards by default, which explains why the boot option has been removed.

Cheers, Erik
-- 
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Boot hangs at /bin/sh?, can't see USB keyboard

2006-07-12 Thread Michael P. Soulier
On 12/07/06 Erik Nørgaard said:

 The keyboard usually works on the boot menu as the bios is in control.
 So, exit the menu to load the kernel modules you need, usb, ukbd and
 uhid I think should do. Then boot into single user mode.
 
 For next time, this happens, I suggest you build a kernel with usb
 keyboard support built in. I think the GENERIC kernel now supports usb
 keyboards by default, which explains why the boot option has been removed.

I just booted and installed with the boot with usb keyboard option in 5.4,
and it's worked ever since. I'm not sure why. I suppose that I should find out
in case it breaks.

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpHXzTYqdV8U.pgp
Description: PGP signature