Re: "ffs_mountroot: can't find rootvp" after cvsup and making worldfmen

2005-03-27 Thread Graham Menhennitt
Doug White wrote:
On Sat, 26 Mar 2005, Graham Menhennitt wrote:
 

I just cvsupped to the latest RELENG_5 (as of yesterday) and built and
installed the world and a new kernel. When I boot the new kernel, I get
an error "ffs_mountroot: can't find rootvp". At the "mountroot>" prompt,
whatever I type (even '?') causes a crash and reboot. I can still boot
my old kernel without a problem. The dmesg from the old kernel and a
capture of the boot of the new kernel are below. Noticably absent from
the new one is the line "ad0: 76319MB  [155061/16/63] at
ata0-master UDMA100" which is my only disk drive.
   

Hm .. from the -v output it looks like the first ATA channel is not
resetting properly for the probe. We'll need to get a better idea of when
the problem appears since a lot has changed between January and now.
 

Doug,
I compared the output of "boot -v" for the working and broken kernels. 
It seems that the broken one does fewer loops around the disk probe and 
hence has less lines of
   ata0-master: stat=0x90 err=0x90 lsb=0x90 msb=0x90
than the one that works. Since that line comes from ata-lowlevel.c, I 
cvs'ed versions of that file going back to around when I built the 
working kernel. The following seems to be the change that broke it.

>
--- ata-lowlevel.cMon Mar 28 15:59:57 2005
+++ ata-lowlevel.c_origWed Mar 23 19:17:46 2005
@@ -605,19 +605,26 @@
}
}
if (mask == 0x01)/* wait for master only */
-if (!(stat0 & ATA_S_BUSY) || (stat0 == 0xff && timeout > 5))
+if (!(stat0 & ATA_S_BUSY) || (stat0 == 0xff && timeout > 5) ||
+(stat0 == err && lsb == err && msb == err && timeout > 5))
break;
if (mask == 0x02)/* wait for slave only */
-if (!(stat1 & ATA_S_BUSY) || (stat1 == 0xff && timeout > 5))
+if (!(stat1 & ATA_S_BUSY) || (stat1 == 0xff && timeout > 5) ||
+(stat1 == err && lsb == err && msb == err && timeout > 5))
break;
if (mask == 0x03) {/* wait for both master & slave */
if (!(stat0 & ATA_S_BUSY) && !(stat1 & ATA_S_BUSY))
break;
-if (stat0 == 0xff && timeout > 5)
+if ((stat0 == 0xff && timeout > 5) ||
+(stat0 == err && lsb == err && msb == err && timeout > 5))
mask &= ~0x01;
-if (stat1 == 0xff && timeout > 5)
+if ((stat1 == 0xff && timeout > 5) ||
+(stat1 == err && lsb == err && msb == err && timeout > 5))
mask &= ~0x02;
}
+if (mask == 0 && !(stat0 & ATA_S_BUSY) && !(stat1 & ATA_S_BUSY))
+break;
+
ata_udelay(10);
}   


Anyway, I now have a working kernel. I presume that I should file a PR 
on this.

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


Re: buggy ATA controller: I can install 4.11, but not 5.3 !?!

2005-03-27 Thread Mars Trading
Rob,

I think you may be on to something here.  Not that I'm an expert, 
BTW.  If I remember correctly, 4.11 doesn't use device.hints; 
device irq's and stuff were all included in the kernel 
configuration.

This is no longer the case with 5.x which uses /boot/device.hints to 
tell where attached devices are.  But how does one edit 
device.hints on a boot cd?

Dennis

On Monday 28 March 2005 13:31, Rob wrote:
> --- Randy Rowe <[EMAIL PROTECTED]> wrote:
> > On Sun, 2005-03-27 at 00:10 -0800, Rob wrote:
> > > I have a very old Pentium-1 PC (60 MHz).
> > >
> > > I have installed 4.11, without any problems,
> > > although the dmesg output has a line about buggy
> > > ATA controller (see below for dmesg output).
> > > 
> > >
> > > 'dmesg' output after 4.11 installation:
> > >
> > > CPU: Pentium/P5 (58.18-MHz 586-class CPU)
> > > atapci0:  > >   chip data loss possible> at device 1.0 on pci0
> > > atapci0: ATA channel disabled by BIOS
> >
> > If the above line is true, I am surprised that 4.11
> > works.
> > Is the channel really disabled in BIOS?
>
> First of all, I'm not expert in these matters. I'm
> just curious why I can install 4.11, but not 5.3.
> (I wish I could install 5.3 !!).
>
> Indeed, the BIOS is a strange issue.
> In the BIOS setup, I can select
>  1) Standard CHS
>  2) Logical block
>  3) Extended CHS,
>  4) Auto Detected
>
> But whatever I select here, when I get back into the
> the BIOS setup, to verify check my settings, I
> find that 1) is selected. Apparently this is what
> means "disabled by BIOS", but I'm not sure.
>
> The 4.11 dmesg output has following:
>
> 
> CPU: Pentium/P5 (55.18-MHz 586-class CPU)
>   Origin = "GenuineIntel"  Id = 0x517  Stepping = 7
>   Features=0x1bf
> -//-
> atapci0:   chip data loss possible> at device 1.0 on pci0
> atapci0: ATA channel disabled by BIOS
> -//-
> ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
> ata1 at port 0x170-0x177,0x376 irq 15 on isa0
> -//-
> ad0: 520MB  [1057/16/63] at ata0-master
>  BIOSPIO
> 
>
> Notice that the harddisks are on isa0, not on
> atapci0; probably because of this buggy chip and/or
> BIOS problem.
>
> Could it be that 5.3 install cannot (yet?) handle
> harddisks on isa properly?
> Or must I help 5.3 by setting some hints/syscontrols
> before loading the kernel?
>
> Thanks,
> Rob.
>
>
>
> __
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
> ___
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Mars Trading
9620 Kamagong St., Makati,
Manila, Philippines
Phone: (632) 8952241
FAX: (632) 8996124
email: [EMAIL PROTECTED]
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: WIFI access software

2005-03-27 Thread Brandon Fosdick
Jeff Seeman wrote:
> I have a client who has 3 restaurants and wants to provide wifi access
> to the customers. He wants to be able to control who and when it can be
> accessed. He is not planning on charging for the access at the moment
> but certainly would like that ability. I want to use freebsd, but can
> not find a software pkg that will allow me to do this. Does anyone have
> an idea or better yet implemented something like this?

If you don't absolutely have to use FreeBSD there are a number of hacks to wifi 
routers that will do what you want. The Linksys series seems to be the most 
popular. Google for things like HyperWRT, OpenWRT, eWRT, DD-WRT, Sveasoft 
(they're getting evil though).

I think DD-WRT uses chillispot that someone else mentioned.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.4Pre sched_ule SMP XOrg hangs or reboots

2005-03-27 Thread Kris Kennaway
On Sun, Mar 27, 2005 at 04:07:05PM -0500, Derek VerLee wrote:
> Hi, i have become fascinated with getting sched_ule to run reliably, and 
> I've been running tests with about 8 different configurations.  I've 
> listed some of them and the results at my website, at 
> http://noogenesis/freebsd/testing_ule, the index html for which I've 
> also attached to this email.  I have not yet succeeded in getting a core 
> dump from the kernel, any advice on coaxing a kernel panic instead of a 
> hang so that a core dump can be obtained, let me know.

Unfortunately ULE is known to still be broken.  This isn't likely to
be fixed before 5.4-RELEASE.

Kris

pgpeMKaHRJJpB.pgp
Description: PGP signature


Re: buggy ATA controller: I can install 4.11, but not 5.3 !?!

2005-03-27 Thread Rob

--- Randy Rowe <[EMAIL PROTECTED]> wrote:
> On Sun, 2005-03-27 at 00:10 -0800, Rob wrote:
> > 
> > I have a very old Pentium-1 PC (60 MHz).
> > 
> > I have installed 4.11, without any problems,
> > although the dmesg output has a line about buggy
> > ATA controller (see below for dmesg output).
> > 
> > 
> > 'dmesg' output after 4.11 installation:
> > 
> > CPU: Pentium/P5 (58.18-MHz 586-class CPU)
> > atapci0:  >   chip data loss possible> at device 1.0 on pci0
> > atapci0: ATA channel disabled by BIOS
> 
> If the above line is true, I am surprised that 4.11
> works.
> Is the channel really disabled in BIOS?

First of all, I'm not expert in these matters. I'm
just curious why I can install 4.11, but not 5.3.
(I wish I could install 5.3 !!).

Indeed, the BIOS is a strange issue.
In the BIOS setup, I can select
 1) Standard CHS
 2) Logical block
 3) Extended CHS,
 4) Auto Detected

But whatever I select here, when I get back into the
the BIOS setup, to verify check my settings, I
find that 1) is selected. Apparently this is what
means "disabled by BIOS", but I'm not sure.

The 4.11 dmesg output has following:


CPU: Pentium/P5 (55.18-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x517  Stepping = 7
  Features=0x1bf
-//-
atapci0:  at device 1.0 on pci0
atapci0: ATA channel disabled by BIOS
-//-
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
-//-
ad0: 520MB  [1057/16/63] at ata0-master
 BIOSPIO


Notice that the harddisks are on isa0, not on
atapci0; probably because of this buggy chip and/or
BIOS problem.

Could it be that 5.3 install cannot (yet?) handle
harddisks on isa properly?
Or must I help 5.3 by setting some hints/syscontrols
before loading the kernel?

Thanks,
Rob.



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: WIFI access software

2005-03-27 Thread Bruce Campbell
Quoting Danny Braniss <[EMAIL PROTECTED]>:

> > 
> > There is this thing I wrote, called the NAA (network authentication
> appliance)
> > 
> >
> 
http://www.freebsd.uwaterloo.ca/twiki/bin/view/Freebsd/NetworkAuthenticationApp
liance
> 
> We seem to have similar problems :-), I was wondering if you have made any
> progress on the VPN front?

Fraid not.  Some people here looked at the Vernier appliance
(which is FreeBSD inside, by the way) and it does the VPN
thing, but we decided to stay with our locally developed
solution instead, and deal with VPN requirements later.


-- 
Bruce Campbell
Manager, Science Computing
C2-260
University of Waterloo
(519)888-4567 ext 6991


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


Re: file /usr/src/etc/rc.d/network is not installed

2005-03-27 Thread Scott Robbins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, Mar 27, 2005 at 08:56:52PM +0200, Martin Jakob wrote:
> Hi Max,
> 
> thanks for your answer.
> 
> > > my network reconfiguration demands. Yet, bravely copying it to /etc/rc.d
> > > and executing it, does not work. It produces warnings like:
> > > WARNING: $flushroutes is not set properly - see rc.conf(5). or
> > > WARNING: $auto_ifconfig is not set properly - see rc.conf(5)
> > > and the default route is not set.
> > > (yeah, i read rc.conf as advised, but i still have no clue where to set
> > > this variables).


No, they aren't really mentioned there.  After seeing your first post, I
played with it as well.  

I had to google for it, seems to be more of a NetBSD thang.  :)


I also got an error about rtsol.  Both seem to be ipv6 things.  The
rtsol was mentioned in the NetBSD man rc.conf.  


So, anyway, you're not alone.  :)

- -- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Buffy: You know, for someone who teaches human behavior, you 
might try showing some. 
Professor Walsh:It's not my job to coddle my students. 
Buffy: You're right. A human being in pain has nothing to do with 
your job. (leaves) 
Professor Walsh: I like her. 
Riley: Really? You don't think she's a little peculiar? 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCR0Sa+lTVdes0Z9YRAql2AJ9iX7vKTwAosPpZXkZ0+sgoHwRXYgCfQfpK
0Oik3Twq0ODw7RF1Rm5Mqhw=
=GBML
-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]"


Re: FreeBSD 5.3 freezes under heavy hdd load

2005-03-27 Thread James Seward
On Sun, 27 Mar 2005 18:04:42 +0300, Pertti Kosunen
<[EMAIL PROTECTED]> wrote:
> Can PIO modes be used with SATA controller? It should compile in PIO
> mode if it's possible.

I don't think it can - the BIOS on the card only seems to offer
options to do with RAID, but I shall investigate tomorrow.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: installing FreeBSD on partition of a SATA Intel 865 raid0 volume

2005-03-27 Thread Doug White
On Fri, 25 Mar 2005, James Wood wrote:

> How do you setup FreeBSD on a partition of a raid0 volume? I downloaded
> FreeBSD 5.3, then made a 60 GB partition in my raid volume, and then went to
> boot from the CD. It did not see any raid volumes, it just sees two HDs.

FreeBSD does not recognize the Adaptec HostRAID metadata so you will not
be able to use RAID volumes configured with the HostRAID BIOS. You can use
atacontrol to create FreeBSD software RAIDs, however.

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.4Pre sched_ule SMP XOrg hangs or reboots

2005-03-27 Thread Derek VerLee
Hi, i have become fascinated with getting sched_ule to run reliably, and 
I've been running tests with about 8 different configurations.  I've 
listed some of them and the results at my website, at 
http://noogenesis/freebsd/testing_ule, the index html for which I've 
also attached to this email.  I have not yet succeeded in getting a core 
dump from the kernel, any advice on coaxing a kernel panic instead of a 
hang so that a core dump can be obtained, let me know.

The score is this, I get a hard hang (capslock/numlock do not respond, 
can't ping) when running XOrg, always after loading the program nicotine 
(ports/net/nicotine), which is a python/gtk2 program.  Sometimes, it has 
done a sudden reboot instead of a hang, and I haven't had much luck 
reproducing these results with any other program in X reliably.  Also, I 
have not had any hang at all when not running X.  As far as testing 
goes, ive generally recompiled the kernel with -j8 as a stress test, 
without XOrg, and have had no problems with any configuration.  So the 
bug on my system involving sched_ule seems to be brought out by 
something nicotine is doing within the first minute or so of loading 
up.  I do think that nicotine uses gdk threads, which use the posix 
threads, so the connection could be there...

I'm going to continue to search/test things as I think of them, but any 
advice as to what to check next would be helpful.

One thing that my results there don't list is the following:
Never had a crash or hang with SMP disabled (even with sched_ule enabled).
Also never had a crash or hang with sched_4bsd and SMP enabled.
My system is a Tyan Tiger MP motherboard with dual athlon MPs.
Any other information that you might find helpful to know, let me know. 

Also: what other email lists should I post this too, if any?  Should I 
make this into a problem report?  sched_ule is already known to have 
problems...


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


Re: "ffs_mountroot: can't find rootvp" after cvsup and making worldfmen

2005-03-27 Thread Doug White
On Sat, 26 Mar 2005, Graham Menhennitt wrote:

> >>I just cvsupped to the latest RELENG_5 (as of yesterday) and built and
> >>installed the world and a new kernel. When I boot the new kernel, I get
> >>an error "ffs_mountroot: can't find rootvp". At the "mountroot>" prompt,
> >>whatever I type (even '?') causes a crash and reboot. I can still boot
> >>my old kernel without a problem. The dmesg from the old kernel and a
> >>capture of the boot of the new kernel are below. Noticably absent from
> >>the new one is the line "ad0: 76319MB  [155061/16/63] at
> >>ata0-master UDMA100" which is my only disk drive.

Hm .. from the -v output it looks like the first ATA channel is not
resetting properly for the probe. We'll need to get a better idea of when
the problem appears since a lot has changed between January and now.

Some more stuff to try:

1. Boot up the new kernel off a cold power cycle, in case freebsd is
leaving the controller is some inconsistent state.

2. Download the February 2005 -STABLE snapshot and try booting that.
That can be the first step in a binary search for the offending commit.

> >>
> >>Can somebody please help?
> >>
> >>
> >
> >
> >
> Hi Doug. Thanks for responding.
>
> >If you break out of the beastie menu with '6' then enter:
> >
> >unload
> >boot kernel.old
> >
> >that will get you your old, working kernel. Make a backup of this kernel
> >before doing anything else by 'cd /boot; cp -Rp kernel.old kernel.WORKS'.
> >You can then reference this in loader by doing 'boot kernel.WORKS'.
> >
> >
> Already done that.
>
> >Next we need to determine why the disk did not probe. I'd suggest booting
> >with -v and looking for messages from ata about disk discovery.
> >
> >
> >
> A capture of the "boot -v" is below. It doesn't mean anything to me.
>
> >Did you change anything in your kernel config between these kernels?
> >
> >
> >
> No. My kernel config is below too.
>
> Thanks again for helping,
> Graham
>
> >>Thanks,
> >>Graham
> >>
> >> > old kernel <<
> >>
> >>Copyright (c) 1992-2005 The FreeBSD Project.
> >>Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> >>The Regents of the University of California. All rights reserved.
> >>FreeBSD 5.3-STABLE #18: Fri Jan 21 06:23:06 EST 2005
> >>[EMAIL PROTECTED]:/usr/obj/usr/src/sys/fang
> >>Timecounter "i8254" frequency 1193182 Hz quality 0
> >>CPU: Intel(R) Pentium(R) 4 CPU 1.70GHz (1700.03-MHz 686-class CPU)
> >>  Origin = "GenuineIntel"  Id = 0xf12  Stepping = 2
> >>
> >>Features=0x3febfbff
> >>real memory  = 335478784 (319 MB)
> >>avail memory = 322949120 (307 MB)
> >>npx0: [FAST]
> >>npx0:  on motherboard
> >>npx0: INT 16 interface
> >>acpi0:  on motherboard
> >>acpi0: Power Button (fixed)
> >>Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> >>acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
> >>cpu0:  on acpi0
> >>acpi_button0:  on acpi0
> >>acpi_button1:  on acpi0
> >>pcib0:  port 0x4000-0x40f7,0xcf8-0xcff on acpi0
> >>pci0:  on pcib0
> >>pcib1:  at device 1.0 on pci0
> >>pci1:  on pcib1
> >>pcib2:  at device 30.0 on pci0
> >>pci2:  on pcib2
> >>rl0:  port 0xc000-0xc0ff mem
> >>0xe400-0xe4ff irq 11 at device 9.0 on pci2
> >>miibus0:  on rl0
> >>rlphy0:  on miibus0
> >>rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> >>rl0: Ethernet address: 00:20:ed:1c:da:f9
> >>pci2:  at device 10.0 (no driver attached)
> >>isab0:  at device 31.0 on pci0
> >>isa0:  on isab0
> >>atapci0:  port
> >>0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
> >>ata0: channel #0 on atapci0
> >>ata1: channel #1 on atapci0
> >>uhci0:  port
> >>0xd000-0xd01f irq 5 at device 31.2 on pci0
> >>uhci0: [GIANT-LOCKED]
> >>usb0:  on uhci0
> >>usb0: USB revision 1.0
> >>uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> >>uhub0: 2 ports with 2 removable, self powered
> >>pci0:  at device 31.3 (no driver attached)
> >>uhci1:  port
> >>0xd800-0xd81f irq 12 at device 31.4 on pci0
> >>uhci1: [GIANT-LOCKED]
> >>usb1:  on uhci1
> >>usb1: USB revision 1.0
> >>uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> >>uhub1: 2 ports with 2 removable, self powered
> >>fdc0:  port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
> >>fdc0: [FAST]
> >>sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
> >>acpi0
> >>sio0: type 16550A, console
> >>sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
> >>sio1: type 16550A
> >>ppc0:  port 0x778-0x77b,0x378-0x37f irq
> >>7 on acpi0
> >>ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> >>ppbus0:  on ppc0
> >>ppbus0: IEEE1284 device found
> >>Probing for PnP devices on ppbus0:
> >>lpt0:  on ppbus0
> >>lpt0: Interrupt-driven port
> >>atkbdc0:  at port 0x64,0x60 on isa0
> >>atkbd0:  irq 1 on atkbdc0
> >>kbd0 at atkbd0
> >>atkbd0: [GIANT-LOCKED]
> >>Timecounter "TSC" frequency 1700030560 Hz quality 800
> >>Timecounters tick every 10.000 msec
> >>acpi

Re: SSH hanging

2005-03-27 Thread Max Laier
Sorry for replying late ...

On Saturday 26 March 2005 01:25, Didier Rwitura wrote:
> /etc/shell  ---> /usr/sbin/authpf
<...>
> I am getting
>
> Hello didier, You are authenticated from host "10.0.0.33"
>
> when I connect with ssh but it hangs ... I don't get the prompt

This is intentional.  authpf is not an interactive shell, it is simply for 
authentication purposes.  The codeportion in question:
| while (1) {
| printf("\r\nHello %s, ", luser);
| printf("You are authenticated from host \"%s\"\r\n", ipsrc);
| setproctitle("[EMAIL PROTECTED]", luser, ipsrc);
| print_message(PATH_MESSAGE);
| while (1) {
| sleep(10);
| if (want_death)
| do_death(1);
| }
| }


-- 
/"\  Best regards,  | [EMAIL PROTECTED]
\ /  Max Laier  | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | [EMAIL PROTECTED]
/ \  ASCII Ribbon Campaign  | Against HTML Mail and News


pgplY5XYA57GD.pgp
Description: PGP signature


Re: file /usr/src/etc/rc.d/network is not installed

2005-03-27 Thread Martin Jakob
Hi Max,

thanks for your answer.

> > my network reconfiguration demands. Yet, bravely copying it to /etc/rc.d
> > and executing it, does not work. It produces warnings like:
> > WARNING: $flushroutes is not set properly - see rc.conf(5). or
> > WARNING: $auto_ifconfig is not set properly - see rc.conf(5)
> > and the default route is not set.
> > (yeah, i read rc.conf as advised, but i still have no clue where to set
> > this variables).
> > So, maybe there is a cause this script is not installed?
> 
> It seems that your /etc/defaults/rc.conf is outdated - as is your
> /etc/rc.d 
> collection.  You might want to try to update /etc with the help of 
> mergemaster(8).  Be sure to pass the -i flag to install missing files 
> in /etc/rc.d 
> 

Yesterday i cvsuped (RELENG_5) and started a "make world". I also let run
"mergemaster -i", it updated some files and installed the new file
"rc.bsdextended". To rule out a someway mangled source tree i made a
clean checkout of "/usr/src" and build the world again, but
"/etc/rc.d/network" was not installed.

I looked in cvs again and found, that this script is not linked to the build
in
"/usr/src/etc/rc.d/Makefile".
In Fri Aug 29 13:25:08 2003 there was also some cleaning up in this file
(rev 1.25), the scripts "network1" "network2" "network3" were removed.
I dont know if this actual "/etc/rc.d/network" script is an artifact of this
clean sweep, but the latest changes to this file were made after August
2003,
so i dont think so.

As for the "/etc/defaults/rc.conf" file, i have Revision 1.212.2.13 which is
the
latest version tagged as RELENG_5. Also using Revision 1.243 the script
failed
with theses warnings, and i dont have a idea where to set these variables.

Is actually someone using the script "/etc/rc.d/network"?

Greetings

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


Re: SSH hanging

2005-03-27 Thread Brian Reichert
On Sat, Mar 26, 2005 at 08:47:50PM -0500, Didier Rwitura wrote:
> I am getting 
> 
> Hello didier, You are authenticated from host "10.0.0.33"
> 
> when I connect with ssh but it hangs ... I don't get the prompt
> 
> any help will be appreciated

Try running the ssh daemon in debug mode, and run the ssh clientin
debug mode; that will at least help you clue in as to what specific
stage it's hanging in.

> 
> 
> Thanx
> 
> Didier
> 

-- 
Brian Reichert  <[EMAIL PROTECTED]>
55 Crystal Ave. #286Daytime number: (603) 434-6842
Derry NH 03038-1725 USA BSD admin/developer at large
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.3 freezes under heavy hdd load

2005-03-27 Thread Pertti Kosunen
James Seward wrote:
I am also attempting to upgrade my system to a newer cvs but
unfortunately I can't buildkernel on it - it'll either panic or
generate enough timeouts to make "make" fail. If anyone could point me
at a HOWTO or similar on cross-compiling then I'll compile it on my
other machine instead (2xP3-1Ghz vs my desktop being an Athlon XP
1700+).
Can PIO modes be used with SATA controller? It should compile in PIO 
mode if it's possible.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.3 freezes under heavy hdd load

2005-03-27 Thread James Seward
On Thu, 10 Mar 2005 11:04:50 -0800, Doug Hardie <[EMAIL PROTECTED]> wrote:
> You might want to install the smartmontools port and use it to access
> the disk performance data.  That should give you good information on
> the status of the drives and any problems they have encountered.
> 
Smartmontools reports no problems with the drives; the system doesn't
appear to be over heating at all.

A bit more investigation shows it's panic'ing with "privileged
instruction in non-priviliged mode" in what appears to be lseek().
This may or may not be related to the DMA TIMEOUT problem as I didn't
see any timeouts before any of the panics I've witnessed.

A bit more reading around suggests that the timeout issue is strongly
related to my SI3112 SATA controller so I'm thinking of changing it;
can anyone please recommend an SATA controller they're using which
hasn't given them any problems? (Even better if they have Maxtor
drives hanging off it!)

I am also attempting to upgrade my system to a newer cvs but
unfortunately I can't buildkernel on it - it'll either panic or
generate enough timeouts to make "make" fail. If anyone could point me
at a HOWTO or similar on cross-compiling then I'll compile it on my
other machine instead (2xP3-1Ghz vs my desktop being an Athlon XP
1700+).

All help appreciated as currently my desktop is becoming unusable and
I fear for the safety of my data with the sheer number of panics being
generated by disk use :)
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: buggy ATA controller: I can install 4.11, but not 5.3 !?!

2005-03-27 Thread Torfinn Ingolfsen
On Sun, 27 Mar 2005 03:06:14 -0800 (PST)
Rob <[EMAIL PROTECTED]> wrote:

> Well, I got stuck during the initial stage of the
> install process; I haven't got any kernel info at
> that point, or have I?

Well, you said that you "get to the point where FDISK
should start,". If this is correct, you are already in the install menu.
And, if you are, you can press "scroll lock" when the install menu comes
up, and then you can use page up / page down to scroll through the
console messages (you can probably use the arrow keys as well).
-- 
Regards,
Torfinn Ingolfsen,
Norway

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


Re: buggy ATA controller: I can install 4.11, but not 5.3 !?!

2005-03-27 Thread Rob
Torfinn Ingolfsen wrote:
> On Sun, 27 Mar 2005 00:10:09 -0800 (PST)
> Rob <[EMAIL PROTECTED]> wrote:
>
>>I have installed 4.11, without any problems,
>>although the dmesg output has a line about buggy
>>ATA controller (see below for dmesg output).
> 
> 
> The controller is broken. For the whole ugly story,
> see  http://mindprod.com/eideflaw.html

Yes, indeed. But I knew about that.

>>When I try to install 5.3 in this PC (using the
>
> What does the dmesg say, if yor press "Scroll Lock"
> and page up in it?
> Is your ata controller and / or disk detected at
> all?

Well, I got stuck during the initial stage of the
install process; I haven't got any kernel info at
that point, or have I?


>>Moreover, 4.11 seems to be running fine on this PC.
>
> Well, if it works, why don't you just keep it?

That's not the issue here. Of course I stick with
4.11; I don't have a choice.

With this email, I want to report that this problem
is 'solved' by 4.11 and prior, but not anymore in
5.3.

Rob.




__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: buggy ATA controller: I can install 4.11, but not 5.3 !?!

2005-03-27 Thread Torfinn Ingolfsen
On Sun, 27 Mar 2005 00:10:09 -0800 (PST)
Rob <[EMAIL PROTECTED]> wrote:

> I have installed 4.11, without any problems,
> although the dmesg output has a line about buggy
> ATA controller (see below for dmesg output).

The controller is broken. For the whole ugly story, see
http://mindprod.com/eideflaw.html

> When I try to install 5.3 in this PC (using the

What does the dmesg say, if yor press "Scroll Lock" and page up in it?
Is your ata controller and / or disk detected at all?

> Moreover, 4.11 seems to be running fine on this PC.

Well, if it works, why don't you just keep it?
-- 
Regards,
Torfinn Ingolfsen,
Norway

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


buggy ATA controller: I can install 4.11, but not 5.3 !?!

2005-03-27 Thread Rob

Hi,

I have a very old Pentium-1 PC (60 MHz).

I have installed 4.11, without any problems,
although the dmesg output has a line about buggy
ATA controller (see below for dmesg output).

When I try to install 5.3 in this PC (using the
three floppies), I get to the point where FDISK
should start, but instead I get an error message
that says something like "No disk is found".

Any ideas why 4.11 can handle this, but 5.3 cannot?

Moreover, 4.11 seems to be running fine on this PC.

Regards,
Rob.



'dmesg' output after 4.11 installation:

CPU: Pentium/P5 (58.18-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x517  Stepping = 7
  Features=0x1bf
real memory  = 25165824 (24576K bytes)
avail memory = 19152896 (18704K bytes)
Preloaded elf kernel "kernel" at 0xc055c000.
Intel Pentium detected, installing workaround for
F00F bug
md0: Malloc disk
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
atapci0:  at device 1.0 on pci0
atapci0: ATA channel disabled by BIOS

[...cut...]

ad0: 520MB 
 [1057/16/63] at ata0-master BIOSPIO
ad1: 2423MB 
 [4924/16/63] at ata0-slave BIOSPIO




__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"