Re: Laptop advice

2008-03-27 Thread Joe Demeny
On Monday 24 March 2008 06:04:17 am Jason P. Thomas wrote:
> Joe Demeny wrote:
> > I need to get a budget-priced laptop, such as one of these:
> >
> > http://www.newegg.com/Product/Product.aspx?Item=N82E16834101123
> > http://www.newegg.com/Product/Product.aspx?Item=N82E16834114430
> >
> > Does anyone have experience with these?
> >
> > Any suggestions for other comparable choices?
>
>  From personal experience, getting a laptop to work under FreeBSD (or
> even Linux) is a hair pulling experience.  It took me about six months
> of tinkering off and on to get a Broadcom(yuck!) wifi adapter to work in
> my HP laptop last year.  In the interim, I found a work around that was
> about $30.  I purchased a usb wifi adapter that used the rum driver.  At
> the time, I had to run -current to get that particular driver, but I
> never had a problem with the computer or the adapter under -current.
> The most headaches I've gotten with laptops have always involved the
> wifi cards.  Consequently, every laptop I've installed FreeBSD and Linux
> on had a Broadcom(yuck!) wifi chipset.  Everything else has been well
> supported, graphics, sound, power management, pointing devices, and usb
> devices.  I even managed to use FreeBSD to connect to the robots I had
> to use in one of my master's classes last year.  That was pleasantly
> surprising.
>
> --Jay

Thank you all for your advice. I am familiar with the Hardware Notes. The 
problem is that from the specs it's hard to tell what is in the computer. The 
Gateway web site lists this under the specs: "Integrated Realtek 802.11b/g 
Wireless Networking" for "Wireless Network"; same for the Toshiba.

This is why I wondered if anyone has one of these laptops...

In the end, the best advice seems to be indeed to take the FreeBSD CD to the 
brick-and-mortar store...

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


Laptop advice

2008-03-21 Thread Joe Demeny
I need to get a budget-priced laptop, such as one of these:

http://www.newegg.com/Product/Product.aspx?Item=N82E16834101123
http://www.newegg.com/Product/Product.aspx?Item=N82E16834114430

Does anyone have experience with these?

Any suggestions for other comparable choices?

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


Re: Trying to recover data from FreeBSD 4.11 system *SOLVED*

2008-02-15 Thread Joe Demeny
On Thursday 14 February 2008 05:49:45 pm Roland Smith wrote:
> On Thu, Feb 14, 2008 at 03:55:42PM -0500, Joe Demeny wrote:
> > Actually, I can now mount my old 4.x boot drive cleanly when I hook up
> > this drive in a 6.2 machine.
> >
> > However, I think I need to get the old boot drive to be able to boot, so
> > I could then get to my other old drives, which are Vinum RAID-1.
> >
> > I don't know if and how could I mount 4.x Vinum partitions under 6.2...
>
> Have you tried gvinum(8)? Try loading geom_vinum.ko and see if any
> devices appear in /dev/gvinum. IIRC, the on-disk metadata hasn't changed
> between vinum and gvinum.
>
> Roland

gvinum(8) worked perfectly, thank you!

After adding geom_vinum_load=YES to /boot/loader.conf and rebooting, I tried 
to see if I could find my old partitions:

# gvinum list
1 drive:
D samsung6_1State: up   /dev/ad1s1  A: 575/6102 MB (9%)

1 volume:
V home2 State: down Plexes:   1 Size:   5527 MB

2 plexes:
P home2.p0C State: down Subdisks: 1 Size:   5527 MB
P home2.p1C State: down Subdisks: 0 Size:  0  B

2 subdisks:
S home2.p0.s0   State: staleD: samsung6_1   Size:   5527 MB
S home2.p1.s0   State: staleD: samsung6_2   Size:   5527 MB

Then I tried:

# gvinum start home2
1 drive:
D samsung6_1State: up   /dev/ad1s1  A: 575/6102 MB (9%)

1 volume:
V home2 State: up   Plexes:   1 Size:   5527 MB

2 plexes:
P home2.p0C State: up   Subdisks: 1 Size:   5527 MB
P home2.p1C State: down Subdisks: 0 Size:  0  B

2 subdisks:
S home2.p0.s0   State: up   D: samsung6_1   Size:   5527 MB
S home2.p1.s0   State: staleD: samsung6_2   Size:   5527 MB

Everything came up, except the plex home2.p1 - no surprise, since that drive 
is dead and isn't even hooked up to this machine.

Finally, I tried to mount the home2 volume:

# mount /dev/gvinum/home2 /mnt

All my old files were there.

Thank you again for your help.

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


Re: Trying to recover data from FreeBSD 4.11 system

2008-02-14 Thread Joe Demeny
On Thursday 14 February 2008 03:46:14 pm Tim Daneliuk wrote:
> Joe Demeny wrote:
> > On Thursday 14 February 2008 12:04:11 pm you wrote:
> >> On Thu, Feb 14, 2008 at 01:08:35AM -0500, Joe Demeny wrote:
> >> [...]
> >>
> >> Use fdisk to find out how it sees the drive.  Do fdisk ad1
> >> and check out what it says.   Especially look to see what slices
> >> that fdisk thinks it has.   Maybe there is only an  s1  active
> >> with anything in it.  That would be easiest and very common.
> >>
> >> Then use bsdlabel to look at what partitions are defined in any
> >> of the slices. do ad1s1  (for slice 1,  ad1d2  as well
> >> if there is a slice 2 being used, etc)
> >> From root, do  bsdlabel ad1d1 and see what partitions are defines.
> >> Remember that partition 'c' is not a real partition, but a label to
> >> define the whole slice to the system (it will have a type of 'unused')
> >> and that in most cases partition 'b' is used for swap (and will have
> >> a type of 'swap'), though it does not have to be swap.
> >> The other partitions; a, d, e, f, g, h, could be real partitions with
> >> something on them.   Almost certainly the 'a' partition will be root
> >> on a bootable slice.
> >
> > It turns out that I mixed up my drives. I found the boot drive - it could
> > not boot with my old custom kernel (unknown processor class...). I fell
> > back on kernel.GENERIC, which booted - to a point. It seems to bog down
> > when it tries to recognize the keyboard.
> >
> > I guess at this point my choices are:
> >
> > 1) build a new 4.x kernel on the new hardware
> > 2) find a working old computer and try my boot drive.
> >
> > Thank you all for your help...
>
> Another possible path:  Boot Freesbie or PC-BSD from CD-ROM and mount your
> old drives from there.  It might take running an fsck to clean up the old
> filesystems (depending on whether or not you clobbered them while trying to
> get this all to work).  'Just a thought - I take no responsibility if you
> hose your data though :)

Actually, I can now mount my old 4.x boot drive cleanly when I hook up this 
drive in a 6.2 machine.

However, I think I need to get the old boot drive to be able to boot, so I 
could then get to my other old drives, which are Vinum RAID-1.

I don't know if and how could I mount 4.x Vinum partitions under 6.2...

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


Re: Trying to recover data from FreeBSD 4.11 system

2008-02-14 Thread Joe Demeny
On Thursday 14 February 2008 12:04:11 pm you wrote:
> On Thu, Feb 14, 2008 at 01:08:35AM -0500, Joe Demeny wrote:
> [...]

> Use fdisk to find out how it sees the drive.  Do fdisk ad1
> and check out what it says.   Especially look to see what slices
> that fdisk thinks it has.   Maybe there is only an  s1  active
> with anything in it.  That would be easiest and very common.
>
> Then use bsdlabel to look at what partitions are defined in any
> of the slices. do ad1s1  (for slice 1,  ad1d2  as well
> if there is a slice 2 being used, etc)
> From root, do  bsdlabel ad1d1 and see what partitions are defines.
> Remember that partition 'c' is not a real partition, but a label to
> define the whole slice to the system (it will have a type of 'unused')
> and that in most cases partition 'b' is used for swap (and will have
> a type of 'swap'), though it does not have to be swap.
> The other partitions; a, d, e, f, g, h, could be real partitions with
> something on them.   Almost certainly the 'a' partition will be root
> on a bootable slice.

It turns out that I mixed up my drives. I found the boot drive - it could not 
boot with my old custom kernel (unknown processor class...). I fell back on 
kernel.GENERIC, which booted - to a point. It seems to bog down when it tries 
to recognize the keyboard.

I guess at this point my choices are:

1) build a new 4.x kernel on the new hardware
2) find a working old computer and try my boot drive.

Thank you all for your help...

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


Re: Trying to recover data from FreeBSD 4.11 system

2008-02-14 Thread Joe Demeny
On Thursday 14 February 2008 04:49:05 am you wrote:
> > possibly try fsck - i don't know (my first FreeBSD was 5.*) but maybe UFS
> > changed a bit?
>
> Nope, I have had machines that I upgraded from 4 to 5 and 6 without
> changing the hard disk, and without changing the file system.
>
> > So, I installed this drive as the second hard drive in a FreeBSD 6.2
> > system and I tried to mount it, but I got "incorrect super block".
>
> With no old disk installed, what is your mounted disks/partitions?
> Result of mount -p.

Old disk is installed, but nothing is mounted from it:

# mount -p
/dev/ad0s2a /   ufs rw  1 1
devfs   /devdevfs rw0 0
/dev/ad0s2e /tmpufs rw  2 2
/dev/ad0s2f /usrufs rw  2 2
/dev/ad0s2d /varufs rw  2 2

> If you have it what was the result of mount -p on the old machine.

I don't have that, unfortunately.

> What is the result of "fdisk /dev/ad0" ?

# fdisk /dev/ad0
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=310101 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=310101 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:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
start 63, size 40965687 (20002 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 40965750, size 271610955 (132622 Meg), flag 80 (active)
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:

The data for partition 4 is:


> Install the old hard disk, what is the result of "fdisk /dev/ad1" ?

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

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=13232 heads=15 sectors/track=63 (945 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:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 12498507 (6102 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 777/ head 254/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:


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


Re: Trying to recover data from FreeBSD 4.11 system

2008-02-13 Thread Joe Demeny
On Thursday 14 February 2008 01:43:19 am you wrote:
> This One Time, at Band Camp, Joe Demeny <[EMAIL PROTECTED]> said, On Thu, 
Feb 14, 2008 at 01:08:35AM -0500:
> > I have an old Cyrix computer which doesn't post any more.
> >
> > It had 3 hard drives. The boot drive had the / partition as well as /usr
> > and /var, and the other 2 drives were configured with Vinum RAID 1 for
> > /home.
> >
> > I hooked up what used to be the boot drive in a new system and it showed
> > what looked like some hex numbers and then the error message "BTX
> > halted".
> >
> > So, I installed this drive as the second hard drive in a FreeBSD 6.2
> > system and I tried to mount it, but I got "incorrect super block".
> >
> > Looks like I have /dev/ad1, /dev/ad1s1, /dev/ad1s1c, and /dev/ad1s1e.
> >
> > Is there a way to mount these filesystems?
>
> When you try to mount it, what'd you get in dmesg ??

This is the end of dmesg:

[...]
Timecounter "TSC" frequency 2411127194 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 152627MB  at ata0-master UDMA33
ad1: 6105MB  at ata0-slave UDMA33
Trying to mount root from ufs:/dev/ad0s2a

I don't think that my attempts to mount /dev/ad1 shows up in dmesg...

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


Trying to recover data from FreeBSD 4.11 system

2008-02-13 Thread Joe Demeny
I have an old Cyrix computer which doesn't post any more.

It had 3 hard drives. The boot drive had the / partition as well as /usr 
and /var, and the other 2 drives were configured with Vinum RAID 1 for /home.

I hooked up what used to be the boot drive in a new system and it showed what 
looked like some hex numbers and then the error message "BTX halted".

So, I installed this drive as the second hard drive in a FreeBSD 6.2 system 
and I tried to mount it, but I got "incorrect super block".

Looks like I have /dev/ad1, /dev/ad1s1, /dev/ad1s1c, and /dev/ad1s1e.

Is there a way to mount these filesystems?

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


Re: make installworld failed

2008-01-22 Thread Joe Demeny
On Monday 21 January 2008 02:49:22 pm Paul Procacci wrote:
> Do you have any partitions mounted with noexec?
>
> I just got a very similar problem and it was due to me having /tmp mounted
> with noexec.
>
> On Mon, Jan 21, 2008 at 01:49:11PM -0500, Joe Demeny wrote:
> > After building world and kernel, installed kernel, but got an error when
> > I tried make installworld:
> >
> > # [...]

Indeed, that was the problem, thank you... should have thought of this!

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


make installworld failed

2008-01-21 Thread Joe Demeny
After building world and kernel, installed kernel, but got an error when I 
tried make installworld:

# make installworld
mkdir -p /tmp/install.uV1yfKEs
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find grep 
install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl  test 
true uname wc zic; do  cp `which $prog` /tmp/install.uV1yfKEs;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  
CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin  
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font  
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac  
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.uV1yfKEs
 /usr/obj/usr/src/make.i386/make -f 
Makefile.inc1 reinstall
awk: Permission denied
"/usr/src/Makefile.inc1", line 101: 
warning: "awk '/^#define[[:space:]]*__FreeBSD_version/ { print 
$3 }'  /usr/include/osreldate.h" returned non-zero status
echo:Permission denied
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

This is FreeBSD 6.3-PRERELEASE (just installed new kernel...)

I'm wondering why do I get this error?

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


/usr/ports/Tools/make_readmes: Permission denied

2007-08-28 Thread Joe Demeny

After running make index && make readmes (as root) after cvsupping my
ports tree, I get this error message:

/usr/ports/Tools/make_readmes: Permission denied
*** Error code 126

Stop in /usr/ports.

This is a  FreeBSD 6.2-STABLE machine.

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