Re: Migrate harddisk with FreeBSD into new machine

2008-08-18 Thread C.M. Burns



Christian Laursen schrieb:

"C.M. Burns" <[EMAIL PROTECTED]> writes:

  

OK, it's monday and I'm back at work ;)
The controller is a "LSI Logic / Symbios Logic 53c1030 PCI-X
Fusion-MPT Dual Ultra320 SCSI".
I booted into a loader prompt and entered "load amr". Result was a
/boot/kernel/amr.ko text=xx data=xx syms=xxx
so I guess the driver has been loaded successfully.



Try "load mpt" instead. That should give you /dev/da0*.

  
a "load mpt" gave me no output, just another "OK" prompt. tried "load 
mpt.ko" which gave me a


/boot/kernel/mpt.ko text=xx data=xx syms=xxx

but sadly no more devices in the list...





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


Re: Migrate harddisk with FreeBSD into new machine

2008-08-18 Thread Christian Laursen
"C.M. Burns" <[EMAIL PROTECTED]> writes:

> OK, it's monday and I'm back at work ;)
> The controller is a "LSI Logic / Symbios Logic 53c1030 PCI-X
> Fusion-MPT Dual Ultra320 SCSI".
> I booted into a loader prompt and entered "load amr". Result was a
> /boot/kernel/amr.ko text=xx data=xx syms=xxx
> so I guess the driver has been loaded successfully.

Try "load mpt" instead. That should give you /dev/da0*.

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


Re: Migrate harddisk with FreeBSD into new machine

2008-08-18 Thread C.M. Burns



Dan Nelson schrieb:

In the last episode (Aug 14), C.M. Burns said:
  

Dan Nelson schrieb:


In the last episode (Aug 14), C.M. Burns said:
  

maybe there is a way to use the "loader prompt" to manually load
the module? it is a buslogic bt948 controller. i would rather not
compile a new kernel :)


I was going to suggest building the buslogic driver as a module and
then loading it from floppy at the loader prompt, but it doesn't
look like the "bt" driver is available in module form.  Do you
maybe have an Adaptec SCSI card you could use instead, at least
until you can rebuild the kernel?  I know modules for those are on
the install CD (newer cards will be managed by the ahc or ahd
drivers).
  

I could switch to an LSI logic megaraid controller, but i have to
check the version when i am back at work on monday. how can i load
modules from floppy disk at loader prompt?



run "lsdev" to determine which bios device is your floppy (most likely
disk0), then run "load disk0:/amr.ko".  The loader will read ufs,
msdos, cd9660, and ext2 filesystems, so you could load the module from
any number of sources.  I don't know if the megaraid controller will
make your two disks visible to the host without you configuring them
for hardware raid, though.

  


OK, it's monday and I'm back at work ;)
The controller is a "LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT 
Dual Ultra320 SCSI".

I booted into a loader prompt and entered "load amr". Result was a
/boot/kernel/amr.ko text=xx data=xx syms=xxx
so I guess the driver has been loaded successfully.

If I then enter "autoboot" to start booting, system still cannot found 
root. If I enter "?" to show valid boot devices, I only get acd0 
(CD-ROM) and fd0, so I think the amr.ko could not detect the controller...


any ideas? Is the amr.ko to old for this controller? is there a new one 
around?


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


Re: Migrate harddisk with FreeBSD into new machine

2008-08-18 Thread DA Forsyth
Message: 2
Date: Thu, 14 Aug 2008 22:40:57 +0200
From: "C.M. Burns" <[EMAIL PROTECTED]>
Subject: Re: Migrate harddisk with FreeBSD into new machine
To: freebsd-questions@freebsd.org
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed


[...]
>> the kernel?  I know modules for those are on the install CD (newer
>> cards will be managed by the ahc or ahd drivers).
>>
>>   

> I could switch to an LSI logic megaraid controller, but i have to
> check the version when i am back at work on monday. how can i load
> modules from floppy disk at loader prompt? 

I would rebuild the kernel on the old machine, incorporating the 
needed modules, then move the disk.


--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/


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


Re: Migrate harddisk with FreeBSD into new machine

2008-08-14 Thread Dan Nelson
In the last episode (Aug 14), C.M. Burns said:
> Dan Nelson schrieb:
> > In the last episode (Aug 14), C.M. Burns said:
> >> maybe there is a way to use the "loader prompt" to manually load
> >> the module? it is a buslogic bt948 controller. i would rather not
> >> compile a new kernel :)
> >
> > I was going to suggest building the buslogic driver as a module and
> > then loading it from floppy at the loader prompt, but it doesn't
> > look like the "bt" driver is available in module form.  Do you
> > maybe have an Adaptec SCSI card you could use instead, at least
> > until you can rebuild the kernel?  I know modules for those are on
> > the install CD (newer cards will be managed by the ahc or ahd
> > drivers).
> 
> I could switch to an LSI logic megaraid controller, but i have to
> check the version when i am back at work on monday. how can i load
> modules from floppy disk at loader prompt?

run "lsdev" to determine which bios device is your floppy (most likely
disk0), then run "load disk0:/amr.ko".  The loader will read ufs,
msdos, cd9660, and ext2 filesystems, so you could load the module from
any number of sources.  I don't know if the megaraid controller will
make your two disks visible to the host without you configuring them
for hardware raid, though.

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


Re: Migrate harddisk with FreeBSD into new machine

2008-08-14 Thread C.M. Burns



Dan Nelson schrieb:

In the last episode (Aug 14), C.M. Burns said:
  

Derek Ragona schrieb:


At 01:26 PM 8/14/2008, C.M. Burns wrote:
  

I have a problem. A faulty machine was running freeBSD with a two
harddisk software raid. now these two disks should be put into a
new machine, but of course it won't boot because it is new
hardware. Kernel just reports: cannot mount root device from
/dev/mirror/gm0s1a (or sth like this).

question is now, how can i add the correct driver into the initial
ramdisk (if there is such a thing on bsd) so the machine finds the
two drives? second question: how can i afterwards remove the
software mirror and only use one harddisk from that moment on?

any help is very welcom, as i have no idea about bsd. i am a linux
guy ;)


What I would do, is install FreeBSD onto a new separate hard disk.
Disks are cheap.  Once you get the boot disk installed you can
create a custom kernel if necessary to support the RAID.
  
maybe there is a way to use the "loader prompt" to manually load the 
module? it is a buslogic bt948 controller.

i would rather not compile a new kernel :)



I was going to suggest building the buslogic driver as a module and
then loading it from floppy at the loader prompt, but it doesn't look
like the "bt" driver is available in module form.  Do you maybe have an
Adaptec SCSI card you could use instead, at least until you can rebuild
the kernel?  I know modules for those are on the install CD (newer
cards will be managed by the ahc or ahd drivers).

  


I could switch to an LSI logic megaraid controller, but i have to check 
the version when i am back at work on monday.

how can i load modules from floppy disk at loader prompt?


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


Re: Migrate harddisk with FreeBSD into new machine

2008-08-14 Thread Dan Nelson
In the last episode (Aug 14), C.M. Burns said:
> Derek Ragona schrieb:
> > At 01:26 PM 8/14/2008, C.M. Burns wrote:
> >> I have a problem. A faulty machine was running freeBSD with a two
> >> harddisk software raid. now these two disks should be put into a
> >> new machine, but of course it won't boot because it is new
> >> hardware. Kernel just reports: cannot mount root device from
> >> /dev/mirror/gm0s1a (or sth like this).
> >>
> >> question is now, how can i add the correct driver into the initial
> >> ramdisk (if there is such a thing on bsd) so the machine finds the
> >> two drives? second question: how can i afterwards remove the
> >> software mirror and only use one harddisk from that moment on?
> >>
> >> any help is very welcom, as i have no idea about bsd. i am a linux
> >> guy ;)
> >
> > What I would do, is install FreeBSD onto a new separate hard disk.
> > Disks are cheap.  Once you get the boot disk installed you can
> > create a custom kernel if necessary to support the RAID.
>
> maybe there is a way to use the "loader prompt" to manually load the 
> module? it is a buslogic bt948 controller.
> i would rather not compile a new kernel :)

I was going to suggest building the buslogic driver as a module and
then loading it from floppy at the loader prompt, but it doesn't look
like the "bt" driver is available in module form.  Do you maybe have an
Adaptec SCSI card you could use instead, at least until you can rebuild
the kernel?  I know modules for those are on the install CD (newer
cards will be managed by the ahc or ahd drivers).

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


Re: Migrate harddisk with FreeBSD into new machine

2008-08-14 Thread Josh Paetzel
On Thursday 14 August 2008 19:04:14 C.M. Burns wrote:
> Derek Ragona schrieb:
> > At 01:26 PM 8/14/2008, C.M. Burns wrote:
> >> Hi list,
> >>
> >> I have a problem. A faulty machine was running freeBSD with a two
> >> harddisk software raid.
> >> now these two disks should be put into a new machine, but of course
> >> it won't boot because it is new hardware.
> >> Kernel just reports: cannot mount root device from /dev/mirror/gm0s1a
> >> (or sth like this).
> >>
> >> question is now, how can i add the correct driver into the initial
> >> ramdisk (if there is such a thing on bsd) so the machine finds the
> >> two drives?
> >> second question: how can i afterwards remove the software mirror and
> >> only use one harddisk from that moment on?
> >>
> >> any help is very welcom, as i have no idea about bsd. i am a linux guy
> >> ;)
> >>
> >> thanks!
> >
> > What I would do, is install FreeBSD onto a new separate hard disk.
> > Disks are cheap.  Once you get the boot disk installed you can create
> > a custom kernel if necessary to support the RAID.
>
> maybe there is a way to use the "loader prompt" to manually load the
> module? it is a buslogic bt948 controller.
> i would rather not compile a new kernel :)

It sounds like the kernel on the disks doesn't have the driver for the 
buslogic bt948 SCSI controller in it.  Unfortunately, this driver is not 
available to be loaded as a module either.  the GENERIC kernel comes with the 
needed driver (called bt).  You don't have to compile a new kernel, but you 
are going to have to replace the kernel on the disks with one containing the 
needed driver (like GENERIC).   Either way, the recovery procedure involves 
booting off a CD and replacing the on disk kernel.

--
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB


signature.asc
Description: This is a digitally signed message part.


Re: Migrate harddisk with FreeBSD into new machine

2008-08-14 Thread C.M. Burns



Derek Ragona schrieb:

At 01:26 PM 8/14/2008, C.M. Burns wrote:

Hi list,

I have a problem. A faulty machine was running freeBSD with a two 
harddisk software raid.
now these two disks should be put into a new machine, but of course 
it won't boot because it is new hardware.
Kernel just reports: cannot mount root device from /dev/mirror/gm0s1a 
(or sth like this).


question is now, how can i add the correct driver into the initial 
ramdisk (if there is such a thing on bsd) so the machine finds the 
two drives?
second question: how can i afterwards remove the software mirror and 
only use one harddisk from that moment on?


any help is very welcom, as i have no idea about bsd. i am a linux guy ;)

thanks!



What I would do, is install FreeBSD onto a new separate hard disk.  
Disks are cheap.  Once you get the boot disk installed you can create 
a custom kernel if necessary to support the RAID. 

  
maybe there is a way to use the "loader prompt" to manually load the 
module? it is a buslogic bt948 controller.

i would rather not compile a new kernel :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Migrate harddisk with FreeBSD into new machine

2008-08-14 Thread Derek Ragona

At 01:26 PM 8/14/2008, C.M. Burns wrote:

Hi list,

I have a problem. A faulty machine was running freeBSD with a two harddisk 
software raid.
now these two disks should be put into a new machine, but of course it 
won't boot because it is new hardware.
Kernel just reports: cannot mount root device from /dev/mirror/gm0s1a (or 
sth like this).


question is now, how can i add the correct driver into the initial ramdisk 
(if there is such a thing on bsd) so the machine finds the two drives?
second question: how can i afterwards remove the software mirror and only 
use one harddisk from that moment on?


any help is very welcom, as i have no idea about bsd. i am a linux guy ;)

thanks!



What I would do, is install FreeBSD onto a new separate hard disk.  Disks 
are cheap.  Once you get the boot disk installed you can create a custom 
kernel if necessary to support the RAID.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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