Glitch with make cleandir

2003-10-30 Thread Harald Hanche-Olsen
I was going to live life dangerously on the bleeding edge for a while,
but it seems I have a problem making it all the way to the edge. ...

Turns out I did not have enough room in /usr, so I got a filesystem
full during make buildkernel.  I thought I'd just clean up, then move
/usr/src to another filesystem and try again.

# chflags -R noschg /usr/obj/usr
# rm -fr /usr/obj/usr
# make cleandir
Makefile.inc1, line 744: warning: String comparison operator should be either == or 
!=
Makefile.inc1, line 744: Malformed conditional ((!defined(NO_RESCUE) ||  
defined(RELEASEDIR))   (${TARGET_ARCH} != ${MACHINE_ARCH} || ${BOOTSTRAPPING}  
501101))
Makefile.inc1, line 744: Missing dependency operator
Makefile.inc1, line 746: if-less endif
Makefile.inc1, line 746: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/src.

The following patch, which as far as I can tell is definitely wrong,
lets me get past this point.  Before I tried that, I turned on various
debugging flags for make, and can see that indeed BOOTSTRAPPING=0, so
using the  comparison operator ought to be all right.

--- Makefile.inc1-SAVE  Sat Oct  4 20:53:38 2003
+++ Makefile.inc1   Thu Oct 30 18:53:07 2003
@@ -741,7 +741,7 @@
 
 .if (!defined(NO_RESCUE) || \
 defined(RELEASEDIR))  \
-(${TARGET_ARCH} != ${MACHINE_ARCH} || ${BOOTSTRAPPING}  501101)
+(${TARGET_ARCH} != ${MACHINE_ARCH} || ${BOOTSTRAPPING} != 501101)
 _crunchide=usr.sbin/crunch/crunchide
 .endif
 

I find this kind of odd.  Is there perhaps a bug in the make program I
am using?  This is on 5.1-RELEASE.

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


Re: ACPI Regression in -CURRENT?

2003-06-11 Thread Harald Hanche-Olsen
+ Stijn Hoop [EMAIL PROTECTED]:

| Hi Thorsten,
| 
| On Tue, Jun 10, 2003 at 03:42:18PM +0200, Thorsten Greiner wrote:
|  some time ago several people (including me) reported ACPI related problems
|  on various Dell laptops resulting in error messages of the form
|  
|  ACPI-0293: *** Warning: Buffer created with zero length in AML
|  
|  During the 5.1 release process these problems have been temporarily fixed.
| 
| This is due to the Dell laptops having an invalid ACPI table in the BIOS.
| The only way to avoid these messages is to tell FreeBSD ACPI to override
| the vendor supplied table with a correct one.
| 
| Mark Santcroos developed a patch which worked on his C640 and my Inspiron
| 4150, which you can find attached. Here are the steps to use it: [...]

I tried that on my Inspiron 4150 with 5.1-RELEASE.  The patch failed,
but only for trivial reasons like different placment of braces.  So I
applied it by hand and followed directions, but the warning messages
did not go away.  I know my efforts did *something* though, as I find
this in dmesg output:

Preloaded acpi_dsdt /boot/acpi_dsdt.aml at 0xc055c1cc.
[...]
ACPI: DSDT was overridden.
ACPI-0375: *** Info: Table [DSDT] replaced by host OS

Also, I still cannot suspend the machine: acpiconf -s number results
in a variety of interesting behaviour, always ending with the machine
in a useless state (except acpiconf -s 5, which does what it should -
like halt -p).  Actually, acpiconf -s 3 seems to almost work: The
screen goes blank, and the machine turns itself off - only to turn
back on immediately, but with the screen remaining blank.  So I hit
Fn-F8 a couple of times, and lo and behold the screen is alive again
and the machine is responsive once more.  I did this from a console,
but when I do Ctrl-Alt-F9 the X server is hosed: Wrong colours,
garbage in the top of the screen, and zero response to any
keypresses.

Can you suspend yours?  Any more clever tricks?  (Hmm, I suppose we
should discuss this on -mobile, but since the thread started here...)

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


Re: ACPI Regression in -CURRENT?

2003-06-11 Thread Harald Hanche-Olsen
+ Stijn Hoop [EMAIL PROTECTED]:

|  I tried that on my Inspiron 4150 with 5.1-RELEASE.  The patch failed,
|  but only for trivial reasons like different placment of braces.
| 
| Note that you have to patch the output of iasl -d, *NOT* the .asl file
| that acpidump generates. There is a difference although they look alike.

Aha.  But the diff you included clearly indicated it was a patch for
insp4150.asl.  When I told patch to patch insp4150.dsl instead, using
your patch, it applied cleanly, and moreover the fix now works to the
extent that I don't get those error messages anymore.

To be precise, I followed your exact instructions with this
difference:

# patch insp4150.dsl insp4150.patch

|  Actually, acpiconf -s 3 seems to almost work: [...]
| 
| According to Mark, this actually should work from within X --
| something to do with DPMS.

Still doesn't for me.  Same result.  Maybe I should learn what DPMS
stands for.

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


Re: release and floppies

2003-04-03 Thread Harald Hanche-Olsen
+ Anton Yudin [EMAIL PROTECTED]:

|   How to fix problem with floppies  1457664 bytes?

By not downloading a new release before it's announced.  Just wait, a
corrected version of 4.8-RELEASE without this problem will appear.
Wait a little longer, for the official announcement.  Then get it.

OK?

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


Re: FreeBSD 5.0 RC3 now available

2003-01-14 Thread Harald Hanche-Olsen
+ Sheldon Hearn [EMAIL PROTECTED]:

| On (2003/01/14 10:22), local.freebsd.current wrote:
| 
|  I'm not trying to get up anyone's nose here, but aren't there
|  objective release criteria?
| 
| Yes.  One of the release criteria is that it come into existence. :-)

Indeed.  There is an old story from the days of the big irons, when
IBM had an objective release criterion stating that no new release
of their OS would be shipped with more than 100 major bugs.

As a result, before each release, the engineers would have a big
meeting with the purpose of redefining major bugs as minor bugs.

I have no idea if the story is true, but there is a lesson in there
somewhere, so in a deeper sense it must be true.

- Harald

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



Re: 5.0-RC1 install: disklabel editor

2002-12-16 Thread Harald Hanche-Olsen
+ Kevin Oberman [EMAIL PROTECTED]:

| In any case, in the disklabel screen down-arrow until you get to the
| partition you want to use as swap. Note the size and press 'D' to
| delete it. Then up-arrow to the entry at the top of the screen for the
| slice the swap will be created in. Press 'C', enter the value for the
| size of the swap space, press enter, and then select Swap. Bingo!
| You have swap.

This fits my memory too, but now after entering the size, I get
directly to the question on naming the mount point.  Before that, if I
remember right, there used to be a question whether I wanted swap or a
file system.  That question no longer appears.

- Harald

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



Re: 5.0-RC1: No /dev/card0

2002-12-16 Thread Harald Hanche-Olsen
+ Brooks Davis [EMAIL PROTECTED]:

| On Mon, Dec 16, 2002 at 03:41:55AM +0100, Harald Hanche-Olsen wrote:
|  ...no /dev/card0 (or /dev/card1) appears, and so pccardc and pccardd
|  fail.  Shouldn't this be automatic, or did I miss something?
| 
| NEWCARD doesn't use pccardd or pccardc.  devd replaces the part of
| pccardd that isn't in the kernel.

Oh duh, that one passed me by.  Whether it's unfinished documentation
or I just didn't see it, I don't know.  Anyway, without running any
daemon (not even devd), I insert my memory cards (adapters holding
CF and SM cards) and they just magically appear as /dev/ad4.  Thanks!

- Harald

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



Re: 5.0-RC1: X server crash

2002-12-16 Thread Harald Hanche-Olsen
+ Marc Fonvieille [EMAIL PROTECTED]:

| I use the same machine under 5.0-CURRENT (RC etc.).  I used to have
| hangs under X, but since I removed
| 
| Load  dri
| 
| from /etc/X11/XF86Config, it is OK.

Didn't make an iota of difference for me.

+ Paolo Pisati [EMAIL PROTECTED]:

| Please, try to run the memtest program (it's in the ports tree):
| i had a SERIOUS problem of memory corruption with 
| my laptop (PIII, Intel815E, ATI Radeon M6, etcetc) with STABLE
| when i loaded the agp module.

It reports no trouble.  It only wants to do 32 MB, but no problem
there at all.

- Harald

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



5.0-RC1 install: disklabel editor

2002-12-15 Thread Harald Hanche-Olsen
For some reason, I can't find a way to create a swap partition using
the disklabel editor - other than by using Auto Defaults - and then I
can't see any way to adjust the size of the resulting swap partition.

This never was a problem with 4.x as far as I can remember...?

(After first discovering this, I figured maybe if I left the
pre-existing b partition as none, the install scripts would be smart
enough to use it as swap.  No way.  And after the scripts complained,
and I had been back through the disklabel editor again, installation
failed with

Error mounting /mnt/dev/ad0s3f on /mnt/usr: No such file or directory

while the other console said

newfs:/mnt/dev/ad0s3f: No such file or directory

After which it went ahead and installed anyway, only to fill up the
root file system, of course.

But this problem went away when I tried again after a reboot, so that
is a minor issue.)

- Harald

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



5.0-RC1: suspend trouble

2002-12-15 Thread Harald Hanche-Olsen
The main reason I decided to try 5.0-RC1 on my brand new Dell Inspiron
4150 is a minor problem with suspending the machine under 4.7: After
wakeup, the fan runs full speed and will not settle until I reboot.

However, with 5.0-RC1 the machine just freezes if I try suspending it.
Theres is no reaction until I hit the power button, which shuts it
down immediately.

Sorry, I am not sure how to get any more detailed information to debug
this.  Let me know what I can do to obtain such information, but fast
- for I will probably go back to 4.7, at least for the next couple of
weeks (I need stability while away during Christmas).

I attach a copy of /var/run/dmesg.boot, in case it helps.

- Harald

ACPI debug layer 0x0  debug level 0x0
Copyright (c) 1992-2002 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.0-RC1 #1: Mon Dec 16 01:06:09 CET 2002
root@odin:/usr/src/sys/i386/compile/ODIN
Preloaded elf kernel /boot/kernel/kernel at 0xc0529000.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 1695007260 Hz
CPU: Pentium 4 (1695.01-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf27  Stepping = 7
  
Features=0xbfebf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,b31
real memory  = 268312576 (255 MB)
avail memory = 255082496 (243 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
acpi0: DELL   CPi R   on motherboard
 evevent-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
 evevent-0625: *** Info: GPE Block1 defined as GPE16 to GPE31
Using $PIR table, 11 entries at 0xc00fbb90
Timecounter ACPI-fast  frequency 3579545 Hz
acpi_cpu0: CPU on acpi0
acpi_tz0: thermal zone on acpi0
acpi_acad0: AC adapter on acpi0
acpi_cmbat0: Control method Battery on acpi0
acpi_cmbat1: Control method Battery on acpi0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82845 host to AGP bridge mem 0xe800-0xebff at device 0.0 on pci0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port 0xbf80-0xbf9f irq 11 at 
device 29.0 on pci0
usb0: Intel 82801CA/CAM (ICH3) USB controller USB-A 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
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xec80-0xecff mem 0xf8fffc00-0xf8fffc7f 
irq 11 at device 0.0 on pci2
xl0: Ethernet address: 00:08:74:96:75:08
miibus0: MII bus on xl0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cbb0: TI1420 PCI-CardBus Bridge at device 1.0 on pci2
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
pcib2: slot 1 INTA is routed to irq 11
cbb1: TI1420 PCI-CardBus Bridge at device 1.1 on pci2
cardbus1: CardBus bus on cbb1
pccard1: 16-bit PCCard bus on cbb1
pcib2: slot 1 INTA is routed to irq 11
pci2: network at device 3.0 (no driver attached)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH3 ATA100 controller port 
0xbfa0-0xbfaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: multimedia, audio at device 31.5 (no driver attached)
pci0: simple comms at device 31.6 (no driver attached)
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port 0x3f7,0x3f2-0x3f5 
irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
npx0: math processor on motherboard
npx0: INT 16 interface
orm0: Option ROMs at iomem 0xcf800-0xc,0xcf000-0xcf7ff,0xc-0xcefff on isa0
pmtimer0 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick 

5.0-RC1: compat4x

2002-12-15 Thread Harald Hanche-Olsen
Shouldn't libposix1e.so.2 have been part of the compat4x package?
I came across at least one program that uses it.

- Harald

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



5.0-RC1: No /dev/card0

2002-12-15 Thread Harald Hanche-Olsen
Despite the following lines in dmesg...

cbb0: TI1420 PCI-CardBus Bridge at device 1.0 on pci2
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
cbb1: TI1420 PCI-CardBus Bridge at device 1.1 on pci2
cardbus1: CardBus bus on cbb1
pccard1: 16-bit PCCard bus on cbb1

...no /dev/card0 (or /dev/card1) appears, and so pccardc and pccardd
fail.  Shouldn't this be automatic, or did I miss something?

- Harald

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



5.0-RC1: X server crash

2002-12-15 Thread Harald Hanche-Olsen
(This is the last of my current batch of 5.0-RC1 problems.)

Yeah, I know, X server problems ought to be reported to the XFree
maintainers.  Is there any interest for details of it here?

The synopsis:  The X server crashes under 5.0-RC1 where it runs fine
with the exact same configuration under 4.7-RELEASE.  It says

Fatal server error:
Caught signal 10.  Server aborting

and then dmesg output says it dies with signal 6 and dumping core.
But I can't find any core dump lying around anywhere.  I'll forward
XFree86.0.log and config files if anybody here wants them, but in the
interest of keeping unwanted list traffic down, I'll lay low until
anybody requests this data.

I'll include this line though:

(--) PCI:*(1:0:0) ATI Radeon Mobility M7 LW rev 0, Mem @ 0xe000/27, 0xfcff/16, 
I/O @ 0xc000/8

The machine is a Dell Inspiron 4150.

- Harald

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