Re: /usr/include/stdlib.h:51: syntax error before size_t

2002-10-08 Thread Hanspeter Roth

  On Oct 07 at 16:28, Giorgos Keramidas spoke:

 By grepping through buildworld logs I saw this passing by:
 
   # cd /usr/src/include; make buildincludes; make installincludes

I did `make includes' which obviously does both buildincludes and
installincludes.
Afterwords I was able to buildworld.

-Hanspeter

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



Promise tx2 ata100 and Atapi-Dma

2002-10-08 Thread Hanspeter Roth

Hello,

I'm trying to run burncd on CD-RW connected via Promise TX2 ATA100
with UDMA2 (UDMA33) enabled.
Reading a CD with DMA is no problem.
Attempting to burn with DMA enabled hangs the system. This is the
case for current as well as 4.6.2-Release.

Is there work in progress on this issue?

-Hanspeter

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



Re: Promise tx2 ata100 and Atapi-Dma

2002-10-08 Thread Hanspeter Roth

  On Oct 08 at 14:32, Soeren Schmidt spoke:

 It seems Hanspeter Roth wrote:
 What burner is this ? (dmesg please!)

PLEXTOR CD-R   PX-W4012A 1.02

http://home.datacomm.ch/~hampi/dmesg/freebsd

  Is there work in progress on this issue?
 
 Its not an issue as such, its more like a feature of some ATAPI
 devices I'm afraid...

The Plextor connected to the onboard SiS 5591 ATA100 controller
burns with DMA without problem.

-Hanspeter

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



booting on Promise tx2 ata100

2002-10-08 Thread Hanspeter Roth

  On Oct 08 at 13:39, Ceri Davies spoke:

 On Tue, Oct 08, 2002 at 02:20:15PM +0200, Hanspeter Roth wrote:
 kern/43601 states that it's currently not possible to boot current with
 one of these controllers - I'm having the same problem.
 Did you need to do anything special for this to boot ?

I thought I had booted 4.6.2-Release on the TX2 ATA100.
If you relocate your disk you might need to adjust fstab.
It seems disks are addressed absolutely in FreeBSD.

-Hanspeter

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



Re: stdlib.h:57: redeclaration of C++ built-in type `wchar_t'

2002-10-07 Thread Hanspeter Roth

  On Oct 06 at 17:02, Terry Lambert spoke:

 You failed to delete the old header files when you upgraded your
 compiler.  The easiest answer is man rm.  8-).

Hm. I tought I had `*default delete use-rel-suffix' in the supfile.
Do I still have to delete old files myself?
Is /usr/include/stdlib.h obsolete?

-Hanspeter

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



/usr/include/stdlib.h:51: syntax error before size_t

2002-10-07 Thread Hanspeter Roth

  On Oct 07 at 02:43, Terry Lambert spoke:

 /usr/include/* is obsolete.  Install the new ones instead.

When I rename /usr/include and copy /usr/src/include/* to
/usr/include I get:

=== usr.bin/yacc
/usr/obj/usr/src/i386/usr/src/usr.bin/yacc created for /usr/src/usr.bin/yacc
rm -f .depend
mkdep -f .depend -a-D__FBSDID=__RCSID  /usr/src/usr.bin/yacc/closure.c 
/usr/src/usr.bin/yacc/error.c /usr/src/usr.bin/yacc/lalr.c /usr/src/usr.bin/yacc/lr0.c 
/usr/src/usr.bin/yacc/main.c /usr/src/usr.bin/yacc/mkpar.c 
/usr/src/usr.bin/yacc/output.c /usr/src/usr.bin/yacc/reader.c 
/usr/src/usr.bin/yacc/skeleton.c /usr/src/usr.bin/yacc/symtab.c 
/usr/src/usr.bin/yacc/verbose.c /usr/src/usr.bin/yacc/warshall.c
/usr/src/usr.bin/yacc/closure.c:43:23: sys/cdefs.h: No such file or directory


When I copy /usr/src/include/* over the existing /usr/include I get:


=== usr.bin/yacc
/usr/obj/usr/src/i386/usr/src/usr.bin/yacc created for /usr/src/usr.bin/yacc
rm -f .depend
mkdep -f .depend -a-D__FBSDID=__RCSID  /usr/src/usr.bin/yacc/closure.c 
/usr/src/usr.bin/yacc/error.c /usr/src/usr.bin/yacc/lalr.c /usr/src/usr.bin/yacc/lr0.c 
/usr/src/usr.bin/yacc/main.c /usr/src/usr.bin/yacc/mkpar.c 
/usr/src/usr.bin/yacc/output.c /usr/src/usr.bin/yacc/reader.c 
/usr/src/usr.bin/yacc/skeleton.c /usr/src/usr.bin/yacc/symtab.c 
/usr/src/usr.bin/yacc/verbose.c /usr/src/usr.bin/yacc/warshall.c
echo yacc: /usr/lib/libc.a   .depend
cc -O -pipe-D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/closure.c
In file included from /usr/src/usr.bin/yacc/closure.c:46:
/usr/include/stdlib.h:51: syntax error before size_t


Is there something more to consider before building world?
Did I copy the wrong include directory (/usr/src/include)?

-Hanspeter

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



make includes

2002-10-07 Thread Hanspeter Roth

  On Oct 07 at 14:17, Mark Murray spoke:

 Look in src/Makefile* for the right way to fix your includes.
 
 (IIRC there is a target, maybe called doincludes to do this).

I made `includes' and then `libraries'.
Now `buildworld' succeeded! Thanks.

How did you know this?
Is there a guide how to upgrade from stable to current?
(src/UPDATING only mentions something about /usr/include/g++.)

-Hanspeter

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



Intended Audience

2002-10-07 Thread Hanspeter Roth

  On Oct 07 at 16:44, Mark Murray spoke:

  How did you know this?
 
 I read the makefiles.

This sounds like several hours of work.
Thank you for letting me benefit of your time.

 No. CURRENT is not really documented that way. Developers are supposed
 to Use the Source, Luke! :-)

So the intended audience for CURRENT are developers?
Or maybe also testers?
What if somebody wants to know whether his hardware configuration is
supported (supposed it's not supported by Stable)?

-Hanspeter

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



stdlib.h:57: redeclaration of C++ built-in type `wchar_t'

2002-10-06 Thread Hanspeter Roth

Hello,

when running buildworld I get:

=== gnu/usr.bin/gperf/doc
c++  -O -pipe-D__FBSDID=__RCSID 
-I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/usr/src/gnu/usr.bin/gperf 
-c /usr/src/contrib/gperf/src/bool-array.cc
c++  -O -pipe-D__FBSDID=__RCSID 
-I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/usr/src/gnu/usr.bin/gperf 
-c /usr/src/contrib/gperf/src/gen-perf.cc
In file included from /usr/src/contrib/gperf/src/gen-perf.cc:23:
/usr/include/stdlib.h:57: redeclaration of C++ built-in type `wchar_t'
*** Error code 1


#ifdef  _BSD_SIZE_T_
typedef _BSD_SIZE_T_size_t;
#undef  _BSD_SIZE_T_

How can I resolve this redeclaration?

-Hanspeter

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



installing DP1 via ftp

2002-09-30 Thread Hanspeter Roth

Hello,

I've installed DP1 from CD. It doesn't like the Promise ATA100 TX2.
`boot -c' just behaves exactly like normal boot and stops in the
debugger.

Thus I thought I could install via FTP. But what will I get?
Will I get a `current' current?
Or will I get DP1 from April again?

-Hanspeter

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



Re: Fatal trap 12

2002-09-30 Thread Hanspeter Roth

  On Sep 30 at 11:59, John Baldwin spoke:

 
 These messages above that you left out are very important. :(
 Also, if you can get a trace by typing 't' at the db prompt
 that can be very helpful as well.

Ok. I hope there aren't to many mistakes.

vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa
unknown: PNP0401 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0700 can't assign resources (port)
unknown: PNP0f13 can't assign resources (irq)
unknown: PNP0303 can't assign resources (port)
unknown: PNP0c02 can't assign resources (port)
Tiemcounters tick every 10.000 msec
ad0: 76351MB SAMSUNG SP8004H [155127/16/63] at ata0-master UDMA100
acd0: CD-RW Memorex SixteenMAXX 1040 at ata1-master PIO4
acd1: CD-RW PLEXTOR CD-R PX-W4012A at ata2-master PIO4
acd2: CD-RW PLEXTOR CD-R PX-W4012A at ata3-master PIO4
acd3: CD-RW PLEXTOR CD-R PX-W4012A at ata4-master PIO4
acd4: CD-RW PLEXTOR CD-R PX-W4012A at ata5-master PIO4
Mounting root from ufs:/dev/ad0s3a


Fatal trap 12: page fault while in kernal mode
fault virtual address   = 0xdeadc0de
fault code  = supervisor write, page not present
instruction pointer = 0x8:0xc044d03e
stack pointer   = 0x10:0xcd214a94
frame pointer   = 0x10:0xcd214c9a
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 1 (init)
kernel: type 12 trap, code=0
Stopped at  generic_bcopy+0x1a: repe movsl  (%esi),%es:(%edi)
db Context switches not allowd in the debugger.
db 
db trace
generic_bcopy(c0f079c0,cd214cf0,0,0,cd214cd8) at generic_bcopy+0x1a
start_init(0,cd214d48,c04b26b1,348,0) at start_init+0x45e
fork_exit(c02b28b0,0,cd214d48) at fork_exit+0xa5
fork_trampoline() at fork_trampoline+0x1a
--- trap 0, eip = 0, esp = 0xcd214d7c, ebp = 0x2f ---
db


I have also attached a dmesg. I tought it would be one from Release.
But it seems to be a concatenation of Current and Release...

-Hanspeter


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-CURRENT #: Sat Sep 28 18:14:51 CEST 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel /boot/kernel/kernel at 0xc065f000.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 1160341146 Hz
CPU: AMD Athlon(TM) XP 1800+ (1160.34-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x662  Stepping = 2
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc040AMIE,DSP,3DNow!
real memory  = 268419072 (262128K bytes)
avail memory = 253677568 (247732K bytes)
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
Using $PIR table, 9 entries at 0xc00f1e30
pcib0: Host to PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
agp0: SIS Generic host to PCI bridge mem 0xf000-0xf3ff at device 0.0 on pci0
pcib1: PCIBIOS PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 2.0 on pci0
isa0: ISA bus on isab0
ohci0: SiS 5571 USB controller mem 0xef00-0xef000fff irq 9 at device 2.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SiS 5571 USB controller on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: SiS 5571 USB controller mem 0xee80-0xee800fff irq 9 at device 2.3 on pci0
usb1: OHCI version 1.0, legacy support
usb1: SiS 5571 USB controller on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
atapci0: SiS 5591 ATA100 controller port 0xb800-0xb80f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
atapci1: Promise TX2 ATA100 controller port 
0x8800-0x880f,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007 mem 
0xee00-0xee003fff irq 10 at device 9.0 on pci0
ata2: at 0xa000 on atapci1
ata3: at 0x9400 on atapci1
pci0: multimedia, audio at device 10.0 (no driver attached)
rl0: RealTek 8139 10/100BaseTX port 0x8000-0x80ff mem 0xed80-0xed8000ff irq 9 at 
device 11.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
/usr/src/sys/vm/uma_core.c:1307: could sleep with rl0 locked from 
/usr/src/sys/pci/if_rl.c:872
rl0: Ethernet address: 00:02:44:67:ad:1b
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
/usr/src/sys/vm/uma_core.c:1307: could sleep with rl0 locked from 
/usr/src/sys/pci/if_rl.c:597
atapci2: Promise TX2 ATA133 

Re: Fatal trap 12

2002-09-30 Thread Hanspeter Roth

  On Sep 30 at 15:16, John Baldwin spoke:

  Fatal trap 12: page fault while in kernal mode
  fault virtual address = 0xdeadc0de
 
 This means someone is trying to access memory that has been free'd.

How do I make someone not to do such bad things? :-)

 Hmm, unfortunately generic_bcopy() is in asm, and so it doesn't have
 a true frame and we end up skipping over the frame in execve()
 where it is called from.  There are only 3 bcopy's in execve(), but
 I'm not sure which is likely to have been the problematic one.

Did I smash upgrade?
Or doesn't Current just like my hardware?

-Hanspeter

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



Re: installing DP1 via ftp

2002-09-30 Thread Hanspeter Roth

  On Sep 30 at 19:40, Hanspeter Roth spoke:

 Thus I thought I could install via FTP. But what will I get?
 Will I get a `current' current?
 Or will I get DP1 from April again?

I've interrupted after /bin has been downloaded. And what do I see?

mnt/bin # ll
total 7810
-r-xr-xr-x  2 root  wheel   70376 Apr  7 01:44 [
-r-xr-xr-x  1 root  wheel   70952 Apr  7 01:44 cat
-r-xr-xr-x  1 root  wheel   69336 Apr  7 01:45 chflags
-r-xr-xr-x  1 root  wheel   64484 Apr  7 01:44 chio

It seems to be DP1 from April.

-Hanspeter

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



Re: Fatal trap 12

2002-09-30 Thread Hanspeter Roth

  On Sep 30 at 15:16, John Baldwin spoke:

 Hmm, unfortunately generic_bcopy() is in asm, and so it doesn't have
 a true frame and we end up skipping over the frame in execve()
 where it is called from.  There are only 3 bcopy's in execve(), but
 I'm not sure which is likely to have been the problematic one.

Mounting root from ufs:/dev/ad0s3a
calling bcopy 416
bcopy 416 returned
calling bcopy 556


Fatal trap 12: ...


416 and 556 denote linenumbers in kern_exec.c.

-Hanspeter

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



Re: installing DP1 via ftp

2002-09-30 Thread Hanspeter Roth

  On Sep 30 at 14:16, Kris Kennaway spoke:

 release bits, or you can just download new installation media from the
 desired snapshot (this is the preferred option) and use that to
 install with.

I can only see /pub/FreeBSD/snapshots/i386/5.0-20020302-PREVIEW.
Is there a more recent snapshot?

-Hanspeter

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



Re: Fatal trap 12

2002-09-30 Thread Hanspeter Roth

  On Sep 30 at 17:19, John Baldwin spoke:

 
 On 30-Sep-2002 Hanspeter Roth wrote:
  416 and 556 denote linenumbers in kern_exec.c.
 
 Thanks!  That's here:
 
 if (ps_arg_cache_limit = i + sizeof(struct pargs)) {
 bcopy(imgp-stringbase, newargs-ar_args, i);
 p-p_args = newargs;
 newargs = NULL;
 }

Yes.

 BTW, is this on DP1?

No. This one is an attempt to upgrade from 4-Stable.
(I'm trying to find out which approach is less painful. Thus I also
tried the DP1 image on a different slice.)

-Hanspeter

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



Re: current make depend: 'ar_args' has incomplete type help

2002-09-29 Thread Hanspeter Roth

  On Sep 29 at 15:48, suken woo spoke:

 i do it as your indication,but i get cpp core dump

Ok. I must admit I'm a current-newbie.
Maybe I've done wrong assumptions.
I think there are several approaches to a current system.

1. download the current installation floppies and install via ftp
   from scratch. I have no experience how long this would take.

2. download the developer-preview cds and install from scratch. I'm
   now about to download them.

3. upgrade from a 4.6.2-Release or 4-Stable. I first tried from
   4.6.2-Release but I gave up. Then I tried from a 4-Stable. Then I
   realized that the version 3.2 of gcc might be required. (I got
   some compilation errors.) Then I tried buildworld/installworld.
   But I had several core-dumps. Even single `test -e' failed.
   I tried to patch several Makefiles. Finally I managed to
   installworld and installkernel. But then booting hung at apci.ko.
   Asking here on the current list I got no answers from the
   current-gurus.

I'm about to doubt, that the latter attempt is supposed to work at
all.
Thus I'm trying another approach. I'm about to download the 5.0-DP1
images...
(Maybe installing from floppy would take shorer...)

-Hanspeter

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



Re: current make depend: 'ar_args' has incomplete type help

2002-09-29 Thread Hanspeter Roth

  On Sep 29 at 15:48, suken woo spoke:

 i do it as your indication,but i get cpp core dump

Is there enough free space on /tmp and /usr/obj?

-Hanspeter

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



Re: current make depend: 'ar_args' has incomplete type help

2002-09-29 Thread Hanspeter Roth

  On Sep 29 at 13:56, Hanspeter Roth spoke:

Asking here on the current list I got no answers from the
current-gurus.

Sorry, this is not true...

-Hanspeter

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



Fatal trap 12

2002-09-29 Thread Hanspeter Roth

  On Sep 29 at 12:25, Mitsuru IWASAKI spoke:

 If you think this is caused by acpi.ko, just disable acpi.ko loading.
 Please read thru loader(8) and device.hints(5).

Yes, this is it. I've now disabled acpi and the boot process comes
further.


vga0: Generic ISA VGA at port 0x3c0-0x3df iomem ...
unknown: PNP0401 can't assign resources (port)
unknown: PNP0f13 can't assign resources (irq)

...

Mounting root from ufs:/dev/ad0s3a

Fatal trap 12: page fault while in kernal mode
fault virtual address   = ...
...
current process = 1 (init)
kernel: type 12 trap, code=0
Stopped at  generic_bcopy+0x1a: repe movsl  (%esi),%es:(%edi)
db Context switches not allowd in the debugger.
db


The ad0s3x devices are the same as in 4.6:

crw-r-  2 root  operator  116, 0x00040002 Sep 28 19:44 ad0s3
crw-r-  2 root  operator  116, 0x0004 Sep 28 19:44 ad0s3a
crw-r-  2 root  operator  116, 0x00040001 Sep 28 19:44 ad0s3b
crw-r-  2 root  operator  116, 0x00040002 Sep 28 19:44 ad0s3c
...


What can I do with the Fatal trap 12?

-Hanspeter

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



Re: current make depend: 'ar_args' has incomplete type help

2002-09-28 Thread Hanspeter Roth

  On Sep 27 at 22:56, wsk spoke:

 
 folks:
 after succeed buildworld ,i custom mykernel and get the error messages 
 from make depend.
[...]
 In file included from ../../../sys/buf.h:271,
  from ../../../i386/i386/genassym.c:46:
 ../../../sys/proc.h:117: field `ar_args' has incomplete type

I had the same. I tried to build and install the kernel first.
Maybe, it's because you have an old compiler installed.
Try installing world first.

Alternatively you might try to patch proc.h.

--- proc.h  Fri Sep 27 22:09:29 2002
+++ proc.h.orig Fri Sep 27 21:49:33 2002
@@ -114,7 +114,7 @@
 struct pargs {
u_int   ar_ref; /* Reference count. */
u_int   ar_length;  /* Length. */
-   u_char  *ar_args;   /* Arguments. */
+   u_char  ar_args[];  /* Arguments. */
 };
 
 /*-

-Hanspeter

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



booting hangs at acpi.ko

2002-09-28 Thread Hanspeter Roth

Hello,

I'm trying to upgrade from 4.6-Stable to Current. I had some
difficulties to make buildworld/buildkernel complete. Then I created
an empty /boot/device.hints to make.

Now when trying to boot it hangs:

Booting [/boot/kernel/kernel]...
/boot/kernel/acpi.ko text=0x37174 data=0x1a84+0x6e0 syms=[0x4+0x5540+0x4+0x702d/
]

Is there a way this can be solved?
Or should I install 4.6.2 again and upgrade again?

-Hanspeter

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



Dma via Promise ATA 100/133 TX2

2002-09-23 Thread Hanspeter Roth


Hello,

I'm running 4.6.2-Release. I have 4 CD-RWs connected via Promise
ATA 100/133 TX2.
Burning with 3 drives consumes almost all CPU power.
When enabling Wdma2/Udma2? the system hangs immediately. This is the
case with burncd as well as with cdrecord.

Has there been improvement with Dma to Atapi CD-RW on Promise
ATA 100/133 TX2 in Freebsd-Current?

-Hanspeter

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



Re: Dma via Promise ATA 100/133 TX2

2002-09-23 Thread Hanspeter Roth

  On Sep 23 at 11:39, Soeren Schmidt spoke:

 It seems Hanspeter Roth wrote:
  
  Hello,
  
  I'm running 4.6.2-Release. I have 4 CD-RWs connected via Promise
  ATA 100/133 TX2.
  Burning with 3 drives consumes almost all CPU power.
  When enabling Wdma2/Udma2? the system hangs immediately. This is the
  case with burncd as well as with cdrecord.
 
 That should work, provided your burners support DMA properly.
 What make are those burners ? dmesg please!!

PLEXTOR CD-R   PX-W4012A 1.02

So I should give it a try!?

-Hanspeter


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 4.6.2-RELEASE #4: Sat Sep 21 22:08:35 CEST 2002
user@host:/usr/src/sys2/compile/A1
Timecounter i8254  frequency 1193182 Hz
CPU: AMD Athlon(TM) XP 1800+ (1160.34-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x662  Stepping = 2
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc040AMIE,DSP,3DNow!
real memory  = 268419072 (262128K bytes)
sio0: gdb debugging port
avail memory = 257232896 (251204K bytes)
Preloaded elf kernel kernel at 0xc03ee000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f1e30
apm0: APM BIOS on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib2: PCI to PCI bridge (vendor=1039 device=0001) at device 1.0 on pci0
pci1: PCI bus on pcib2
pci1: ATI model 5446 graphics accelerator at 0.0 irq 11
isab0: PCI to ISA bridge (vendor=1039 device=0018) at device 2.0 on pci0
isa0: ISA bus on isab0
ohci0: SiS 5571 USB controller mem 0xef00-0xef000fff irq 9 at device 2.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SiS 5571 USB controller on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: SiS 5571 USB controller mem 0xee80-0xee800fff irq 9 at device 2.3 on pci0
usb1: OHCI version 1.0, legacy support
usb1: SiS 5571 USB controller on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
atapci0: SiS 5591 ATA100 controller port 0xb800-0xb80f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
atapci1: Promise TX2 ATA100 controller port 
0x8800-0x880f,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007 mem 
0xee00-0xee003fff irq 10 at device 9.0 on pci0
ata2: at 0xa000 on atapci1
ata3: at 0x9400 on atapci1
pcm0: AudioPCI ES1373-B port 0x8400-0x843f irq 5 at device 10.0 on pci0
rl0: RealTek 8139 10/100BaseTX port 0x8000-0x80ff mem 0xed80-0xed8000ff irq 9 at 
device 11.0 on pci0
rl0: Ethernet address: 00:02:44:67:ad:1b
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atapci2: Promise TX2 ATA133 controller port 
0x6400-0x640f,0x6800-0x6803,0x7000-0x7007,0x7400-0x7403,0x7800-0x7807 mem 
0xed00-0xed003fff irq 9 at device 12.0 on pci0
ata4: at 0x7800 on atapci2
ata5: at 0x7000 on atapci2
pcib1: SiS 5591 host to AGP bridge on motherboard
pci2: PCI bus on pcib1
orm0: Option ROM at iomem 0xc-0xc7fff on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
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
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x90 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
i4bisppp: 4 ISDN SyncPPP device(s) attached
i4b: ISDN call control device attached
i4btel: 2 ISDN telephony interface device(s) attached
i4brbch: 4 raw B channel access device(s) attached
i4bipr: 4 IP over raw HDLC ISDN device(s) attached (VJ header compression)
i4bctl: ISDN system control port attached
i4btrc: 4 ISDN trace device(s) attached
IP Filter: v3.4.27 initialized.  Default = block all, Logging = enabled
ad0: 76351MB SAMSUNG SP8004H [155127/16/63] at ata0-master UDMA100
acd0: CD-RW Memorex SixteenMAXX 1040 at ata1-master PIO4
acd1: CD-RW PLEXTOR CD-R PX-W4012A at ata2-master PIO4
acd2: CD-RW PLEXTOR CD-R PX-W4012A at ata3-master PIO4
acd3: CD-RW

Re: Dma via Promise ATA 100/133 TX2

2002-09-23 Thread Hanspeter Roth

  On Sep 23 at 13:48, Vallo Kallaste spoke:

 Back to the 4.5-something I had problems with the Plextor CD-RW
 drive, Promise ATA-66 and DMA. We had email discussion about it and
 you claimed that Promise support for ATAPI DMA is almost missing,

I think the guys of the Linux-kernel list have discussed about DMA
of certain Promise controllers. It seems to be a known issue.

Are there alternative controllers that support DMA with ATAPI
drives?

 but I guess you have better things to remember. The combo did work
 well with PIO4. Sounds similar.

PIO4 is sufficient for a single drive. I'm trying to burn on 4
drives concurrently.

-Hanspeter

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



buildkernel: field `ar_args' has incomplete type

2002-09-23 Thread Hanspeter Roth

Hello,

I have installed 4.5-Release and cvsuped to Current.
Now make buildkernel on GENERIC failes:

rm -f .olddep
if [ -f .depend ]; then mv .depend .olddep; fi
make _kernel-depend
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstric
t-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-
extensions -ansi -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/s
rc/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt
_global.h -mpreferred-stack-boundary=2 -ffreestanding /usr/src/sys/i386/i386/gen
assym.c
In file included from /usr/src/sys/sys/buf.h:271,
 from /usr/src/sys/i386/i386/genassym.c:46:
/usr/src/sys/sys/proc.h:117: field `ar_args' has incomplete type
*** Error code 1

Did I miss something?

-Hanspeter

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