Re: How to upgrade kernel with gmirror boot?

2009-09-27 Thread Chris Shenton


On Sep 26, 2009, at 5:47 PM, Stefan Bethke wrote:


Am 26.09.2009 um 21:04 schrieb Chris Shenton:


PS: Current "gmirror list" output:

$ gmirror list
Geom name: boot
State: COMPLETE
Components: 1

   ^^^

There's your problem: your mirror consist of only ad6s1a.  You need  
to add ad4s1a using gmirror insert, or tell your BIOS to boot from  
the second disk.


That was it, exactly. I've been running with a broken mirror all this  
time, doh!  Added the second disk partition and was able to build and  
install kernel and boot from it.


Many thanks.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


How to upgrade kernel with gmirror boot?

2009-09-26 Thread Chris Shenton
I've got a couple FreeBSD 7.0 systems which I am trying to upgrade. I
had used ZFS for everything except the boot where I had used a gmirror.
I didn't really understand it all then, but it's been working fine.

The problem is that now with I "make buildworld" and "make
installkernel" I get the old original kernel, not the new one.  I
suspect it's because I'm not installing the kernel in the boot partition
that's actually being used, but am out of my depth here and need some
advice.

Here's how I created the gmirror and installed onto it back then, per my
notes. I had 2x 1TB drives and wanted to use a gmirror for the boot and
ZFS for the rest:

Did a minimal install onto a 1GB ad4s1a.
fdisk -BI ad6
bslabel ad4s1 > /tmp/label
bsdlabel -RB ad6s1 /tmp/label
gmirror label boot ad6s1a
newfs /dev/mirror/boot
mount /dev/mirror/boot /mnt
find -x / | cpio -pmd /mnt
rm -rf /mnt/var/* /mnt/usr/* /mnt/tmp/*
reboot
gmirror insert boot ad4s1a

Rebooting I believe is now booting from the gmirror comprised of ad4s1a
and ad6s1a:

$ df -h / /boot
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/mirror/boot 989M634M276M70%/
/dev/mirror/boot 989M634M276M70%/

After "make installkernel" my /boot/GENERIC is still from 2008, when I
did the original installation.  My /boot/kernel is new, from the
installkernel.

What am I missing? It seems I am not "installkernel"-ing to the right place
where the boot loader is looking. 

Thanks.

PS: Current "gmirror list" output:

$ gmirror list
Geom name: boot
State: COMPLETE
Components: 1
Balance: split
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 2728037890
Providers:
1. Name: mirror/boot
   Mediasize: 1073741312 (1.0G)
   Sectorsize: 512
   Mode: r1w1e1
Consumers:
1. Name: ad6s1a
   Mediasize: 1073741824 (1.0G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 2864447916
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


PATCH: FreeBSD-7-BETA4 'bge' ether for Dell T105 server

2007-12-23 Thread Chris Shenton
Thanks to Max Laier's help, the ether device is now working with the 'bge'
driver.  Here is a patch that makes it work.  I just recompiled the
kernel afterwards and it comes up.

PS: the T105 is now $399 but includes 1GB RAM and 2x160GB disk,
in addition to the dual-core 1.8GHz Opteron and DVD reader.

(Is there a better way to do this? sorry for the CC's, wasn't sure which
was appropriate for getting this into the tree.)


$ pwd
/usr/src/sys/dev/bge
$ diff -c if_bge.c*
*** if_bge.cMon Nov 26 12:33:28 2007
--- if_bge.c.NEWSun Dec 23 15:44:40 2007
***
*** 169,174 
--- 169,175 
{ BCOM_VENDORID,BCOM_DEVICEID_BCM5715S },
{ BCOM_VENDORID,BCOM_DEVICEID_BCM5720 },
{ BCOM_VENDORID,BCOM_DEVICEID_BCM5721 },
+   { BCOM_VENDORID,BCOM_DEVICEID_BCM5722 },
{ BCOM_VENDORID,BCOM_DEVICEID_BCM5750 },
{ BCOM_VENDORID,BCOM_DEVICEID_BCM5750M },
{ BCOM_VENDORID,BCOM_DEVICEID_BCM5751 },
$ diff -c if_bgereg.h*
*** if_bgereg.h Tue May 22 15:22:58 2007
--- if_bgereg.h.NEW Sun Dec 23 15:44:53 2007
***
*** 2011,2016 
--- 2011,2017 
  #define   BCOM_DEVICEID_BCM5715S  0x1679
  #define   BCOM_DEVICEID_BCM5720   0x1658
  #define   BCOM_DEVICEID_BCM5721   0x1659
+ #define   BCOM_DEVICEID_BCM5722   0x165a
  #define   BCOM_DEVICEID_BCM5750   0x1676
  #define   BCOM_DEVICEID_BCM5750M  0x167C
  #define   BCOM_DEVICEID_BCM5751   0x1677
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD on Dell T105? ($350 dual-core Opteron)

2007-12-20 Thread Chris Shenton
[I'm adding -current as there are other discussions of hardware
 compatibility there, trim if appropriate]

Chris Shenton <[EMAIL PROTECTED]> writes:

>   
> http://www.dell.com/downloads/global/products/pedge/en/pe_T105_spec_sheet.pdf
>
>   Processors  Single AMD Opteron TM  1000 series at up to 2.8GHz;
>   Single AMD SempronTM LE1250 at 2.2GHz 
>
>   HyperTransportTMHyperTransport at 2000MT/s 
>
>   Chipset nVidia CK8-04 Pro 
>
>   Network Interfaces   Single embedded Gigabit3 NIC 


I installed FreeBSD 7.0-BETA4 amd64 this morning and it boots fine,
detects both CPUs, but can't seem to find a driver for the ethernet. It
doesn't offer anything at install time (only slip and ppp) and shows
nothing in ifconfig when running.

The one thing I see in dmesg is:

  pci2:  at device 0.0 (no driver attached)

Some pages I've found say this is a Broadcom 5721J chipset:

  
http://www1.ap.dell.com/content/products/features.aspx/servers_Q4_W5_2007-12-01_pedge_t105_Q421211?c=my&cs=mybsd1&l=en&s=bsd

An Ubuntu message says they see it with a Broadcom NetXtreme BCM5722
driver:

  
http://ubuntuforums.org/showthread.php?p=3961378

Any suggestions on how I can poke at it to find what kind of hardware
it's using and what driver I need to use for it? 

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


Re: FreeBSD on Dell T105? ($350 dual-core Opteron)

2007-12-10 Thread Chris Shenton
I should perhaps have mentioned that Dell offers this with SUSE Linux
Enterprise Server 10 and Red Hat Enterprise Linux 5 x32 and x64, if that
helps illuminate. 

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


Re: FreeBSD on Dell T105? ($350 dual-core Opteron)

2007-12-10 Thread Chris Shenton
Ivan Voras <[EMAIL PROTECTED]> writes:

> The CPU will certainly work. I can't dig out any decent data on the
> motherboard, but it it's NVIDIA MCP55, then it will also work (just had
> a Barcelona-class Opteron with MCP55 the other day and it's fine).

The spec sheet says the following, does this help?

  http://www.dell.com/downloads/global/products/pedge/en/pe_T105_spec_sheet.pdf

  Processors  Single AMD Opteron TM  1000 series at up to 2.8GHz;
  Single AMD SempronTM LE1250 at 2.2GHz 

  HyperTransportTMHyperTransport at 2000MT/s 

  Cache   Up to 2MB AMD Opteron TM 
  512K AMD Sempron TM 

  Chipset nVidia CK8-04 Pro 

  Memory  512MB-8GB DDR1 677/800 

  I/O slots   Two PCI Express TM  x8; 
  One PCI Express x1;
  One PCI 32 bit/33MHz, 5v 

  Drive ControllerEmbedded SATA; optional SAS 

  RAID Controller Optional SAS 6i/R for SAS or SATA RAID 

  Drive Bays  2 x 3.5 cabled SATA or SAS 
  2 x 5.25 optional DVD-ROM, CD-RW/DVD combo or 
optional  
  internal TBU 

  Network Interfaces   Single embedded Gigabit3 NIC 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD on Dell T105? ($350 dual-core Opteron)

2007-12-07 Thread Chris Shenton
Dell's got a decent deal on their PowerEdge T105 box with an 1.8GHz AMD
dual-core Opteron, 512MB RAM, 80GB disk, and Gigabit ether: $350.

I'd love to pick one of these up if FreeBSD was known to work on it,
especially FreeBSD-7.

Any reports of success or failure?  I couldn't find anything on Google,
the FreeBSD mailing list search, nor on
http://www.freebsd.org/platforms/amd64/motherboards.html

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


firefox hangs second time it's run

2007-02-20 Thread Chris Shenton
I was running 6.2-PRERELEASE (?) happily until a couple days ago when
I cvsupped to get 6.2-RELEASE, actually 6.2-STABLE.  Now when I start
firefox it works -- the first time.  If I stop it, then start again,
it never materializes on the screen.  Logging out, killing XDM doesn't
help; a reboot it required (and I have to remove it's lock and
.parentlock files)

"top" has shown it in STATE "kserel" burning very little CPU.  "ps" shows:

  [EMAIL PROTECTED]:bin<112> ps -axw|grep fire
   1739  ??  I  0:00.00 /bin/sh -c firefox
   1740  ??  I  0:00.00 /bin/sh /usr/local/bin/firefox
   1744  ??  I  0:00.00 /bin/sh /usr/local/lib/firefox/run-mozilla.sh 
/usr/local/lib/firefox/firefox-bin
   1748  ??  S  0:02.30 /usr/local/lib/firefox/firefox-bin

I can try and kill -9 it, but it just sits there, as top says:

  PID USERNAMETHR PRI NICE   SIZERES STATETIME   WCPU COMMAND
 1748 chris 3  960 66408K 42528K STOP 0:02  0.00% firefox-bin

but it never dies.  

Any ideas?

I'm using portupgrade to make sure all my dependencies are up to
date.  Anything else I should look for? 

Thanks.

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


Re: FreeBSD 6.1-PREREALEASE , Xorg 6.9

2006-03-31 Thread Chris Shenton
Rumen Palov <[EMAIL PROTECTED]> writes:

> Last week I have been upgraded ports Xorg 6.8 to Xorg 6.9 , firefox
> from 1.5 to 1.5.0.1. After that strange behavior starts:) When I
> open some pages with FireFox or ThunderBird I see blue zones instead
> of background images , sometimes when I switch to other application
> ,( terminal for example) , half of a screen become in the same blue
> color. I downgrade FireFox to old version ( stable for my box) but
> problem continue again. I make base , kernel build every day and try
> to keep soft up to date .. but..

Check the past month's discussion on freebsd-x11.  Some of us have
been having the same problem with 6.9.  Don't have a resolution yet :-(

I see it first in Mozilla but some other X apps too like Emacs I believe.
My system locks hard unless I disable DRI but then the blue blotches
make it impossible to use.  
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: XFree 4.3.0 update : xterm won't comeup

2003-03-18 Thread Chris Shenton
pirat <[EMAIL PROTECTED]> writes:

> i have just finished upgrade my small machine to 4.8rc with xfree86 to 4.3.0
> my window manager is blackbox-0.65 and here is my uname -a

> once in blackbox, i hardly get xterm popped up for me, as a plain
> user.  i have no idea up to now.

I encountered this as well.  Fired up xterm from a command line
(within Emacs, which did work still) and it couldn't load some
library, possibly libXft.so.1 ? IIRC libXft.so.2 did exist but that's
not what xterm was looking for. 

I also had "rxvt" installed (from ports) and that worked fine so I
used that to su and rebuild X11, first the server, then the clients,
from ports.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message


Re: Two pam/ssh questions.

2001-06-08 Thread Chris Shenton

"Patrick Bihan-Faou" <[EMAIL PROTECTED]> writes:

> > > Second, I 'cvsup'd a couple of days ago, did a 'make world' last night
> > > and now am getting "sshd[NNN]: PAM setcred failed[6]: Permission denied"
> > > errors whenever I tried to ssh in from the outside.
> 
> I am running in the same problem. In my setup, this occurs only when I am
> using RSA or DSA authentication (instead of clear-text password).

Dang. I *just* posted a query to -questions on exactly this, with
4.3-STABLE built from cvsup a few minutes ago, pam.conf updated via
mergemaster.

I removed my ~/.ssh/authorized_keys on the server and was able to
login instead of getting the PAM setcred problem on the server.

At least I'm running again. But would be nice to have the RSA auth
working so I don't have to ship passwords around.

Thanks for the tip. I'll follow changes to pam more closely.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: mail.local & qmail

2001-06-07 Thread Chris Shenton

[EMAIL PROTECTED] (Wolfgang Zenker) writes:

> If your user maildirs are on a nfs mounted file- system, forget
> about the version conflict and move your maildirs somewhere
> else. Mailspools and similar stuff on nfs mounted filesystems tend
> not to work; not least because file locking on nfs is generally
> unreliable or simply nonexistant.

qmail's "Maildir" format *is* NFS-safe and was designed specifically
to work around the NFS-maybe-lock problems. Works well and allows
scaling. 

Other mailbox formats, including olde style UNIX /var/mail/username or
~username/Mail are not NFS-safe so this could be your problem.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: Next STABLE release going to be 4.4?

2001-04-30 Thread Chris Shenton

> >Maybe I'm missing something.. why would it be confusing?

Christopher Schulte <[EMAIL PROTECTED]> writes:

> 'A complete operating system based on 4.4BSD.'

Not as silly as the inevitable stupidity: Pentium 5.

:-) / 2

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: 4.2R on Thinkpad 560x: disk spin-up/down, *slow* (3.x was fine)

2000-12-05 Thread Chris Shenton

On 04 Dec 2000 17:03:00 +0100, Dag-Erling Smorgrav <[EMAIL PROTECTED]> said:

Dag-Erling> I had similar problems on a 600E (and worse; the machine
Dag-Erling> would sometimes arbitrarily decide to suspend, even though
Dag-Erling> the AC adapter was on-line; then it would resume and let
Dag-Erling> me press a few keys before suspending again, then resume
Dag-Erling> etc). It all went away when I flashed my BIOS to the
Dag-Erling> latest version available on IBM's support website.

Excellent suggestion -- thanks.

BTW: I just backed out and installed 3.5.1-RELEASE and it doesn't
suffer from the disk spin-up/down problem. So something's changed in
4.x but it wouldn't hurt to flash a modern BIOS.

Thanks!



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message