Re: Problem with cvsup

1999-07-18 Thread Tugrul Galatali



On 18 Jul 1999, Dag-Erling Smorgrav wrote:

 obituary [EMAIL PROTECTED] writes:
  If anyone can shed some light on my situation (or has experienced
  similar troubles themselves) I'd be most grateful to hear from you.
 
 You forgot to attach the output of 'ipfw -a l'.
 

The exact cvsup command would also be nice I think. Are you using
"-P m" as the FAQ hints at if you are behind a firewall?

http://www.polstra.com/projects/freeware/CVSup/faq.html#fwhang

 DES
 -- 
 Dag-Erling Smorgrav - [EMAIL PROTECTED]



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



Re: UPDATE4: ATA/ATAPI driver new version available.

1999-03-28 Thread Tugrul Galatali

There seems to be an oopsie with the includes on a system without PCI in
ata-dma.c:

 #include ata.h
+#include sys/types.h
+
 #if NATA  0
-#include pci.h
 #if NPCI  0
+#include pci.h
 #include sys/param.h
 #include sys/systm.h
 #include sys/kernel.h

My 486 still spits this out tho:

[...]
ata0 at 0x1f0-0x1f7 irq 14 on isa
[...]
ad0: WDC AC2850F/28.25E40 ATA-? disk at ata0 as master
ad0: 814MB (1667232 sectors), 1654 cyls, 16 heads, 63 S/T, 512 B/S
ad0: piomode=3, dmamode=1, udmamode=-1
ad0: 16 secs/int, 0 depth queue, PIO mode
changing root device to wd0s1a
ad0: invalid primary partition table: no magic
changing root device to wd0a
ad0: invalid primary partition table: no magic
error 22: panic: cannot mount root (2)

My PIIX3 box isn't happy with this update either:

[...]
ata-pci0: Intel PIIX3 IDE controller rev 0x00 on pci0.7.1
ata-pci0: Busmastering DMA supported
[...]
ata0 at 0x01f0 irq 14 on ata-pci0
[...]
ata0: master: settting up WDMA2 mode on PIIX3/4 chip OK
ad0: WDC AC22100H/11.09I14 ATA-? disk at ata0 as master
ad0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S
ad0: piomode=4, dmamode=2, udmamode=-1
ad0: 16 secs/int, 0 depth queue, DMA mode
acd0: HITACHI CDR-8330/0007 CDROM drive at ata0 as slave 
acd0: drive speed 1779 - 4134KB/sec, 128KB cache
acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
changing root device to wd0s1a
[...]
acd0: rezero failed -- Whenever I try to mount my cdrom drive. With or
without a cd in there. mount gives me mount: Input/output error

I can't eject the cd tray either after I mount the drive. Its fine
after boot but before I attempt to mount something.

Tugrul Galatali





To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



New ata driver failure on a ISA machine.

1999-03-03 Thread Tugrul
I deleted the annoucement email, but looking over LINT, the
following lines seemed appropiate for my 486:

controller  ata0at isa? port IO_WD1 bio irq 14
device  atadisk0

First problem I had was that the kernel would not link without
defining:

controller  pci0

Second, at boot:

[...]
ata0 at 0x1f0-0x1f7 irq 14 on isa
[...]
ad0: QUANTUM LP240A GM240A01X/4.0 ATA-? disk at ata0 as master
ad0: 0MB (0 sectors), 723 cyls, 13 heads, 51 S/T, 512 B/S
ad0: 16 secs/int, 0 depth queue
changing root device to ad0a
error 22: panic cannot mount root (2)

Here is what happens on the old driver:

[...]
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
wdc0: unit 0 (wd0): QUANTUM LP240A GM240A01X, multi-block-8
wd0: 234MB (479349 sectors), 723 cyls, 13 heads, 51 S/T, 512 B/S
[...]

Did I miss something? Either you can provide tips or I can provide
debug info :-)

Tugrul Galatali




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: CALL FOR TESTERS of new ATA/ATAPI driver..

1999-03-01 Thread Tugrul

The new driver fails to build when devfs is also in the config. I
made a simple change of static void *devfs_token to void *devfs_token
on line 183 in ata-all.h and all seems good.
Good work, no more stinky delay :-)

Tugrul Galatali



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: gcc

1999-02-28 Thread Tugrul


On Mon, 1 Mar 1999, Peter Jeremy wrote:

 There's a catch-22 here:  We can't prove the stability of EGCS until we
 start using it.  Even if we don't make EGCS the base compiler, we need
 a standard documented mechanism for doing `make world' with EGCS as well
 as agreement that bug reports using ECGS will be considered.
 

I'd personally love an option for make world to use egcs installed
from the port tree. And perhaps a new mailing list just for throwing
random egcs complaints at. Right now I'm manually building the source
tree with egcs to see how I fair. Any failures I get from building thus
far are replicable with the built in gcc, so egcs doesn't seem to choke on
the code all too much.
The kernel code is a slightly different matter. I get the
following errors:

[20:10]galat...@callisto:/usr/src/sys/compile/CALLISTO# make CC=egcc -k
egcc -c -O3 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -ansi
-nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -DVM_STACK -include
opt_global.h -elf  ../../i386/i386/identcpu.c
../../i386/i386/identcpu.c: In function `printcpuinfo':
../../i386/i386/identcpu.c:558: warning: unknown conversion type character
`b' in format
../../i386/i386/identcpu.c:558: warning: too many arguments for format
../../i386/i386/identcpu.c: In function `print_AMD_info':
../../i386/i386/identcpu.c:902: internal error--insn does not satisfy its
constraints:
(insn:HI 278 454 279 (set (reg:SI 2 %ecx)
(subreg:SI (lshiftrt:DI (reg:DI 1 %edx)
(const_int 22)) 0)) 250 {lshrdi3_const_int_subreg} (nil)
(expr_list:REG_DEAD (reg:SI 1 %edx)
(nil)))
toplev.c:1431: Internal compiler error in function fatal_insn
*** Error code 1 (continuing)
egcc -c -O3 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -ansi
-nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -DVM_STACK -include
opt_global.h -elf  ../../i386/i386/pmap.c
../../i386/i386/pmap.c: In function `pmap_setdevram':
../../i386/i386/pmap.c:555: internal error--insn does not satisfy its
constraints:
(insn:HI 107 330 109 (set (reg:SI 1 %edx)
(subreg:SI (lshiftrt:DI (reg:DI 0 %eax)
(const_int 12)) 0)) 250 {lshrdi3_const_int_subreg} (nil)
(expr_list:REG_DEAD (reg:SI 0 %eax)
(nil)))
toplev.c:1431: Internal compiler error in function fatal_insn
*** Error code 1 (continuing)
`kernel' not remade because of errors.
[20:10]galat...@callisto:/usr/src/sys/compile/CALLISTO# 

Fun fun fun :-)
I built those two files with gcc and rebooted with the output.
Seemed fine.

Tugrul Galatali




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: gcc

1999-02-28 Thread Tugrul


On Sun, 28 Feb 1999, Tugrul wrote:
 
 [20:10]galat...@callisto:/usr/src/sys/compile/CALLISTO# make CC=egcc -k
[...errors...]
 [20:10]galat...@callisto:/usr/src/sys/compile/CALLISTO# 
 

Never mind, those errors are not faults in EGCS it seems. PGCC
introduces those problems. I built my kernel with plain old egcs 1.1.1 and
its just fine.
When I get home tomorrow I should have a completely EGCS compiled
system. So far so good.

Tugrul Galatali



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: SiS 5591

1999-02-27 Thread Tugrul

Seems to work alright here. dmesg and dd tests follow.

[before]
mercury# dd if=/dev/zero of=/tmp/zero bs=1024k count=32
32+0 records in
32+0 records out
33554432 bytes transferred in 6.013635 secs (5579725 bytes/sec)
mercury#

[after]
mercury# dd if=/dev/zero of=/tmp/zero bs=1024k count=32
32+0 records in
32+0 records out
33554432 bytes transferred in 5.892770 secs (5634706 bytes/sec)
mercury# 

Not much gain with this drive :/

Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 3.1-STABLE #0: Sun Feb 28 01:32:47 EST 1999
galat...@mercury.novastar.com:/usr/src/sys/compile/MERCURY
Timecounter i8254  frequency 1193225 Hz
CPU: Pentium/P55C (166.45-MHz 586-class CPU)
  Origin = GenuineIntel  Id = 0x543  Stepping=3
  Features=0x8001bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX
real memory  = 33554432 (32768K bytes)
avail memory = 29986816 (29284K bytes)
Preloaded elf kernel kernel at 0xf02b7000.
Probing for devices on PCI bus 0:
chip0: Host to PCI bridge (vendor=1039 device=5571) rev 0x01 on pci0.0.0
chip1: SiS 85c503 rev 0x01 on pci0.1.0
ide_pci0: SiS 5591 Bus-master IDE Controller rev 0xc1 int a irq 14 on pci0.1.1
vga0: S3 Trio 64 graphics accelerator rev 0x06 int a irq 10 on pci0.7.0
xl0: 3Com 3c905 Fast Etherlink XL 10/100BaseTX rev 0x00 int a irq 11 on 
pci0.15.0
xl0: Ethernet address: 00:60:08:20:72:c8
xl0: autoneg complete, link status good (half-duplex, 10Mbps)
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color 16 virtual consoles, flags=0x0
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 not found
ppc0 at 0x378 irq 7 on isa
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
pca0 on motherboard
pca0: PC speaker audio driver
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
wdc0: unit 0 (wd0): ST32531A, DMA, 32-bit, multi-block-16
wd0: 2439MB (4995648 sectors), 4956 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa
wdc1: unit 0 (atapi): NEC CD-ROM DRIVE:251/4.14, removable, 
iordy
acd0: drive speed 689KB/sec, 128KB cache
acd0: supported read types: CD-DA
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable changer, unlocked
acd0: changer slot 0 no disk
acd1: changer slot 1 no disk
acd2: changer slot 2 no disk
acd3: changer slot 3 no disk
vga0 at 0x3b0-0x3df maddr 0xa msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
apm0 on isa
apm: found APM BIOS version 1.2
Intel Pentium detected, installing workaround for F00F bug
IP packet filtering initialized, divert disabled, rule-based forwarding 
disabled, unlimited logging
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates

Tugrul Galatali




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message