RE: Mounting OpenBSD partitions

2006-12-05 Thread Daniel Anson


-Original Message-
From: Craig Rodrigues [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 05, 2006 10:36 PM
To: Daniel Anson
Subject: Re: Mounting OpenBSD partitions

On Tue, Dec 05, 2006 at 10:23:16PM -0600, Daniel Anson wrote:
> I had an old OpenBSD box with some info on it that I need.  I now runn
> FBSD so my question is this:  how can I mount the OpenBSD disk under
FBSD.
> The fdisk is as follows:

What version of FreeBSD are you running?
meddussa# uname -a
FreeBSD medussa.satx.rr.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May
7 04:42:56 UTC 2006   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
i386

What is the output of:
ls /dev/ad1* 
meddussa# ls /dev/ad1
/dev/ad1/dev/ads14

Also, what do you get with:
file - < /dev/ad1
meddussa# file - < /dev/ad1
/dev/stdin: x86 boot sector
-- 
Craig Rodrigues
[EMAIL PROTECTED]
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Mounting OpenBSD partitions

2006-12-05 Thread Daniel Anson
I had an old OpenBSD box with some info on it that I need.  I now runn FBSD so 
my question is this:  how can I mount the OpenBSD disk under FBSD.  The fdisk 
is as follows:

meddussa# fdisk /dev/ad1
*** Working on device /dev/ad1 ***
parameters extracted from in-core disklabel are:
cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:

The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:
sysid 166 (0xa6),(OpenBSD)
start 63, size 234436482 (114470 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
meddussa# 

Any help would be appreciated.

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


vr speed issues

2006-12-05 Thread Nenhum _de_Nos

On 12/4/06, Charles Sprickman <[EMAIL PROTECTED]> wrote:

On Mon, 4 Dec 2006, Jorn Argelo wrote:

> Jamie Clark wrote:
>> Steven Hartland wrote:
>>> Charles Sprickman wrote:
> Backing up the 4.10 box was within an acceptable margin of wire
> speed (~8MB/s on 100M ethernet) given that a router was in the
> middle. That's roughly how the box has always performed.
>
> After installing 6.1_RELEASE and updating to RELENG_6 I started the
> restore. Maxed out at about 380kB/s. Now I tested the backup speed
> again and it has also dropepd to 380k.
>>>
>>> That speed is indicative of a FD / HD mismatch between the switch
>>> and the NIC if its hard coded try setting auto if its auto try
>>> hardcoding. N.B. Ensure both ends are set in the same way i.e. hard/auto
>>> or problems start.
>> Both are auto and show 100 FD. The switch port stats show zeros on all the
>> error counters.
>>
>> Good thinking though. I wouldn't yet rule out an external influence as I
>> have not performed any in-depth diagnosis of this - but I can't think of
>> anything obvious aside from the OS upgrade.
>>
>> -Jamie
>> ___
>> freebsd-stable@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> Well my two embedded vr NICs work just fine. I get 8 - 9 MByte / second with
> FTP, using vsftpd, and 3-4 Mbyte / sec with SCP. Though this could also be
> current CPU issues, as the box is quite busy and the Via C3 isn't all that
> fast. I am running 6.2-PRERELEASE. Also, did you try device polling? Maybe
> that helps, although I currently don't have it in my kernel configuration.
>
> Here's an ifconfig output, let me know if you need anything else.

Can you snip the relevant section of "pciconf -vl" to see the chip
version?  It seems like this only happens with some of the Via Rhine II
chips.

Thanks,

Charles

> [EMAIL PROTECTED] ~> ifconfig
>
> vr0: flags=8843 mtu 1500
>   inet 10.0.0.1 netmask 0xff00 broadcast 10.0.0.255
>   ether 00:40:63:df:e5:ee
>   media: Ethernet autoselect (100baseTX )
>   status: active
> vr1: flags=8843 mtu 1500
>   inet 192.168.1.5 netmask 0xff00 broadcast 192.168.1.255
>   ether 00:40:63:df:e5:4e
>   media: Ethernet autoselect (100baseTX )
>   status: active
>
> Cheers,
>
> Jorn


just to give more info, i have a EPoX old KT600 Motherboard and had
difficult times running linux here. some 2.6.x kernel's driver had my
NIC resseting when in quite stress ... when then the card would stop
working for some time. when i installed FreeBSD in it (think 6.1 till
now, could bo 6.0R also) it stopped. i cant say it is the best NIC
ever, but it is usable and no longer hangs when someone does a big
samba copy throught it.

[EMAIL PROTECTED]:18:0:  class=0x02 card=0x300c1695 chip=0x30651106 
rev=0x78 hdr=0x00
   vendor   = 'VIA Technologies Inc'
   device   = 'VT6102 Rhine II PCI Fast Ethernet Controller'
   class= network
   subclass = ethernet

also had this one (standalone pci card):
[EMAIL PROTECTED]:8:0:   class=0x02 card=0x01051106 chip=0x31061106 
rev=0x86 hdr=0x00
   vendor   = 'VIA Technologies Inc'
   device   = 'VT6105M/LOM Rhine III PCI Fast Ethernet Controller'
   class= network
   subclass = ethernet

and the same thing happened

matheus

--
We will call you cygnus,
The God of balance you shall be
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


/vm: mount pending error: blocks -7320419172370415403 files 4

2006-12-05 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Fresh install of 6-STABLE, upgraded to the latest RC ... ran for about 24 
hours, and then crashed ... not a heavy load on it or anything ...

And background FSCK shows:

Dec  5 15:40:10 venus fsck: /dev/da0s1g: UNKNOWN FILE TYPE I=1626048
Dec  5 15:40:10 venus fsck: /dev/da0s1g: UNEXPECTED SOFT UPDATE INCONSISTENCY; 
RUN fsck MANUALLY.

Never seen either for error messages before ...am running a MANUAL FSCK on the 
drive now ...

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFdcu54QvfyHIvDvMRAndiAJ9MtV7HiV84DKNacSYk21NDaPx1FgCcCXf6
gMmw3i9tI395AuZMXr3LPwA=
=4WXW
-END PGP SIGNATURE-

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


FreeBSD 6.2-RC1: Upgrade Issues

2006-12-05 Thread Khaled Moussa
I just upgraded my FreeBSD 6.1 Release to FreeBSD 6.2-RC1 through CVSup.
All went smooth and OK with buildworld, build & install my custom
kernel, installworld, and mergemaster and system works finely except of
the 2 following issues:

1- During boot, I get the following error messages after ipv6 messages: 

  * get_llflag() failed, anyway I'll try 
  * sendmsg on plip0: Can't assign requested address 
  * sendmsg on plip0: Can't assign requested address 
  * sendmsg on plip0: Can't assign requested address

Commenting the "ipv6_enable=yes" entry in /etc/rc.conf, these messages
don't appear?

2- Upon restarting or shutting down the system, I get the following
error messages on swap partition:


  * GEOM_ELI: Detached ad0s1b.eli on last close. 
  * swap_pager: I/O error - pagein failed; blkno #, size #, error 5 
  * panic: swap_pager_force_pagein: read from swap failed 
  * Cannot dump. No dump device defined 
  * Automatic reboot in 15 seconds - press any key on console to
reboot or switch off system.

Switching power off, however, doesn't work also and reboot is the only
option available through KB.
I have an extra swap file (256M) under /usr also 
Any clues on managing the above problems are appreciated.
Khaled Moussa  

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


FreeBSD 6.2-RC1: Upgrade Issues

2006-12-05 Thread Khaled Moussa
I just upgraded my FreeBSD 6.1 Release to FreeBSD 6.2-RC1 through CVSup.
All went smooth and OK with buildworld, build & install my custom
kernel, installworld, and mergemaster and system works finely except of
the 2 following issues:

1- During boot, I get the following error messages after ipv6 messages:

  * get_llflag() failed, anyway I'll try 
  * sendmsg on plip0: Can't assign requested address 
  * sendmsg on plip0: Can't assign requested address 
  * sendmsg on plip0: Can't assign requested address

Commenting the "ipv6_enable=yes" entry in /etc/rc.conf, these messages
don't appear?

2- Upon restarting or shutting down the system, I get the following
error messages on swap partition:


  * GEOM_ELI: Detached ad0s1b.eli on last close.
  * swap_pager: I/O error - pagein failed; blkno #, size #, error 5
  * panic: swap_pager_force_pagein: read from swap failed
  * Cannot dump. No dump device defined
  * Automatic reboot in 15 seconds - press any key on console to
reboot or switch off system.

Switching power off, however, doesn't work also and reboot is the only
option available through KB. 
Any clues on managing the above problems are appreciated.
Khaled Moussa  

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


Re: strange behavior of ioapic on PDSME motherboard

2006-12-05 Thread Hiroki Sato
John Baldwin <[EMAIL PROTECTED]> wrote
  in <[EMAIL PROTECTED]>:

jh> On Sunday 03 December 2006 22:55, Hiroki Sato wrote:
jh> > Hiroki Sato <[EMAIL PROTECTED]> wrote
jh> >   in <[EMAIL PROTECTED]>:
jh> >  John, are there any big changes of ioapic support between RELENG_6
jh> >  and CURRENT?  I would like your comments to narrow down the cause.
jh> >  The 7.0-CURRENT November snapshot could probe the mpt (as a very slow
jh> >  device, though), and both em and mpt worked with acpi/ioapic enabled.
jh> >  I had a look at the changes in sys/i386/i386, but I am not sure
jh> >  if which is likely (or not)...
jh>
jh> There aren't any non-cosmetic changes in the apic code between 6.x and HEAD.

 Okay, thanks.  So these symptoms are not directly related to mpt(4)
 and apic code at least.  I will continue to investigate what is the
 cause, anyway.

--
| Hiroki SATO



pgpibwzVkkyTo.pgp
Description: PGP signature


Re: ggate still broken on 6.2-RC1 for amd64.

2006-12-05 Thread Ulrich Spoerlein
David Gilbert wrote:
> GGate is still broken on 6.2-RC1 for amd64.
> 
> I have verified that the patch in kern/104829 has been applied (it's
> in the tree).
> 
> I have also added the patch in amd64/91799 --- without it, ggated
> doesn't work at all.  This should definately make it into 6.2
> 
> But the ggated/ggatec in 6.2-RC1 connects now (and is happy about
> that).  In fact, the tasting on the ggatec side that happens due to
> new disks showing up works, too.  However, any attempt to pass
> significant traffic causes ggatec to seeminly lock up.
> 
> In my configuration, I have a gmirror running with a local disk
> (already) and I want to "gmirror insert" the ggate disk.  When I do
> so, I get 50 write requests queued (I upped the gmirror buffer count
> to 50 to make syncronization happen faster) and things never move from
> there.

/me too. Though I tested this on two FreeBSD/i386 SMP machines with
gmirror + ggated combination. There *is* traffic going on, but it is
somewhere around 50kB/s (sic! no kidding!).

Also, forcefully removing the ggate0 provider (ggatec destroy -fu0),
which should not impact the mirror operation in any way, panic'ed the
system.

I can't rebuild this test scenario on -CURRENT right now, but will do so
time permitting. Maybe this is related to the gmirror deadlock I
reported. But I no longer have SMP hardware to play with ...

Ulrich Spoerlein
-- 
A: Yes.
>Q: Are you sure?
> >A: Because it reverses the logical flow of conversation.
> >>Q: Why is top posting frowned upon?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"