4.2-RELEASE: screen dies with mc

2000-11-26 Thread Oleg Semyonov

Hi!

I've upgraded 4.1-RELEASE to 4.2-RELEASE via make world.
All was fine, but now when I try to run mc (Midnight
Commander 4.5.51) under screen 3.9.8 (text mode multiscreen
manager) the latest dies with signal 6 or 11.

I've been using FreeBSD versions from 2.2.5 to 4.1,
but there was no problem like described until 4.2.

I tried to recompile screen and mc with ncurses or slang -
no change. Note: I'm using cons25/cons25r term. When
I set, for example, ansi or vt100 before starting the
screen, all is fine. Further, the cons25r-m (cons25-m)
terminal is also OK, and running mc -c (force color mode)
does not follow to crash. But I think it is not right.

What's the reason? What can I do with that?
Please, cc your reply to my email.

Thanks!
Oleg ([EMAIL PROTECTED])




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



Re: 4.2-RELEASE: screen dies with mc

2000-11-26 Thread Kris Kennaway

On Sun, Nov 26, 2000 at 11:21:03AM +0200, Oleg Semyonov wrote:
 Hi!
 
 I've upgraded 4.1-RELEASE to 4.2-RELEASE via make world.
 All was fine, but now when I try to run mc (Midnight
 Commander 4.5.51) under screen 3.9.8 (text mode multiscreen
 manager) the latest dies with signal 6 or 11.

See PR ports/23059. It is a bug in the screen port, not a bug in
FreeBSD.

Kris

 PGP signature


4.1..4.2-BETA freeze by high disk activity

2000-11-26 Thread oleg dashevskii

Hello,

I experience these troubles since I've installed 4.1-RELEASE, now I
have 4.2-BETA (not RELEASE yet), but it's all the same.

When a big disk activity occurs (e.g. some package installation with
lots of small files, make buildworld or rm -rf /usr/obj/*), my
FreeBSD box can suddenly but completely freeze. After some time it
reboots on its own.

I've attached the `dmesg` output. It's a 5MVP3 "Gemini" mainboard
with the VIA APOLLO MVP3 chipset.

Softupdates are set on /usr.

/od



Copyright (c) 1992-2000 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.2-BETA #0: Tue Nov 14 12:36:08 NOVT 2000
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPINNER
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD-K6(tm) 3D processor (350.80-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
  AMD Features=0x8800SYSCALL,3DNow!
real memory  = 67108864 (65536K bytes)
avail memory = 62046208 (60592K bytes)
Preloaded elf kernel "kernel" at 0xc034c000.
K6-family MTRR support enabled (2 registers)
md0: Malloc disk
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib2: VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge at device 1.0 on pci0
pci1: PCI bus on pcib2
pci1: Matrox MGA G100 AGP graphics accelerator at 0.0 irq 9
isab0: VIA 82C586 PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: VIA 82C586 ATA33 controller port 0xe000-0xe00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: VIA 83C572 USB controller port 0xe400-0xe41f irq 0 at device 7.2 on pci0
uhci0: Invalid irq 0
uhci0: Please switch on USB support and switch PNP-OS to 'No' in BIOS
device_probe_and_attach: uhci0 attach returned 6
pcib1: Host to PCI bridge on motherboard
pci2: PCI bus on pcib1
isa0: too many dependant configs (8)
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 IntelliMouse, device ID 3
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 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2 at port 0x3e8-0x3ef irq 5 on isa0
sio2: type 16550A
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
ep0: 3Com 3C509-TPC EtherLink III at port 0x390-0x39f irq 11 on isa0
ep0: Ethernet address 00:60:97:ce:1d:96
sbc0: Creative SB16/SB32 at port 0x220-0x22f,0x300-0x301,0x388-0x38b irq 9 drq 0,5 
on isa0
pcm0: SB DSP 4.16 on sbc0
IP packet filtering initialized, divert enabled, rule-based forwarding disabled, 
default to deny, logging limited to 100 packets/entry by default
ad0: 8063MB FUJITSU MPE3084AE [16383/16/63] at ata0-master UDMA33
acd0: CDROM HITACHI CDR-8335 at ata1-slave using PIO4
Mounting root from ufs:/dev/ad0s2a
WARNING: / was not properly dismounted



weird situation

2000-11-26 Thread Marcos Kleber Sanches Matos



well I read the handbook, but isn't there the info 
I need !!! so let me boring you...
I have a hd with 20 MB... the fat is something like 
these now :


PArtition STATUS 
Type System 
Usage
C: 
1 
A 
Pri-DOS FAT 
32 
5% - my boot 
partition
 
2 
Non-DOS 
23%- bsd
 
3 
EXT 
DOS 
72% - files ( win formated 
)

to mount the 1 partion is easy ( ...-t msdos... ), 
the 2 is the bsd so there's no problem .. but the 3 I can't mount !!! I've tried 
every way the mount --help indicates !!! ufs nfs... please help me because I use 
to store appz to bsd in these partition, and now I can take it to 
test...

tkz anyway


Strange log entry

2000-11-26 Thread Kaltashkin Eugene

Hi ppls

I see in log messages these text, what is it ?
Hard Drive or Controller or Driver ?
OS 4.2-BETA cvsupped 20.11.2000

MB Intel 440 GX.

 (da0:ahc0:0:0:0): SCB 0x3a - timed out in Data-out phase, SEQADDR == 0x48
 STACK == 0x5c, 0x15e, 0x174, 0x83
 SXFRCTL0 == 0x80
 SCB count = 170
 QINFIFO entries: 45 46 56 68 59 34 130 66 52 12 142 152 117 36 18 137 113 10 26 125 
38 50 53 124 39 23 2 114 158 
 Waiting Queue entries: 
 Disconnected Queue entries: 
 QOUTFIFO entries: 
 Sequencer Free SCB List: 28 25 0 19 26 13 23 17 9 2 20 31 8 22 6 24 15 3 5 1 10 7 18 
21 30 16 27 29 4 14 12 
 Pending list: 158 114 2 23 39 124 53 50 38 125 26 10 113 137 18 36 117 152 142 12 52 
66 130 34 59 68 56 46 45 58 
 Kernel Free SCB list: 47 7 153 33 31 122 126 134 105 48 155 127 149 119 13 6 121 29 
65 147 3 0 101 154 54 118 67 22 150 128 15 143 69 116 16 139 164 103 123 63 120 4 132 
55 37 43 102 166 165 5 133 100 28 110 146 35 30 42 9 27 11 24 138 145 141 41 136 167 
104 17 169 14 21 25 156 20 8 51 1 19 151 32 157 64 135 144 148 57 111 49 140 129 112 
159 168 44 40 131 62 61 60 79 78 77 76 75 74 73 72 71 70 89 88 87 86 85 84 83 82 81 
80 99 98 97 96 95 94 93 92 91 90 109 108 107 106 163 162 161 160 
 sg[0] - Addr 0x944e000 : Length 4096
 sg[1] - Addr 0xf19f000 : Length 4096
 sg[2] - Addr 0x208 : Length 4096
 sg[3] - Addr 0xc2f1000 : Length 4096
 sg[4] - Addr 0x1932000 : Length 4096
 sg[5] - Addr 0x1473000 : Length 4096
 sg[6] - Addr 0x7c94000 : Length 4096
 sg[7] - Addr 0x50f5000 : Length 4096
 sg[8] - Addr 0xb956000 : Length 4096
 sg[9] - Addr 0x8c57000 : Length 4096
 sg[10] - Addr 0xc758000 : Length 4096
 sg[11] - Addr 0xf319000 : Length 4096
 sg[12] - Addr 0xc59a000 : Length 4096
 sg[13] - Addr 0x775b000 : Length 4096
 sg[14] - Addr 0x675c000 : Length 4096
 sg[15] - Addr 0x39dd000 : Length 4096
 (da0:ahc0:0:0:0): BDR message in message buffer
 (da0:ahc0:0:0:0): SCB 0x3a - timed out in Data-out phase, SEQADDR == 0x49
 STACK == 0x5c, 0x15e, 0x174, 0x83
 SXFRCTL0 == 0x80
 SCB count = 170
 QINFIFO entries: 45 46 56 68 59 34 130 66 52 12 142 152 117 36 18 137 113 10 26 125 
38 50 53 124 39 23 2 114 158 
 Waiting Queue entries: 
 Disconnected Queue entries: 
 QOUTFIFO entries: 
 Sequencer Free SCB List: 28 25 0 19 26 13 23 17 9 2 20 31 8 22 6 24 15 3 5 1 10 7 18 
21 30 16 27 29 4 14 12 
 Pending list: 158 114 2 23 39 124 53 50 38 125 26 10 113 137 18 36 117 152 142 12 52 
66 130 34 59 68 56 46 45 58 
 Kernel Free SCB list: 47 7 153 33 31 122 126 134 105 48 155 127 149 119 13 6 121 29 
65 147 3 0 101 154 54 118 67 22 150 128 15 143 69 116 16 139 164 103 123 63 120 4 132 
55 37 43 102 166 165 5 133 100 28 110 146 35 30 42 9 27 11 24 138 145 141 41 136 167 
104 17 169 14 21 25 156 20 8 51 1 19 151 32 157 64 135 144 148 57 111 49 140 129 112 
159 168 44 40 131 62 61 60 79 78 77 76 75 74 73 72 71 70 89 88 87 86 85 84 83 82 81 
80 99 98 97 96 95 94 93 92 91 90 109 108 107 106 163 162 161 160 
 sg[0] - Addr 0x944e000 : Length 4096
 sg[1] - Addr 0xf19f000 : Length 4096
 sg[2] - Addr 0x208 : Length 4096
 sg[3] - Addr 0xc2f1000 : Length 4096
 sg[4] - Addr 0x1932000 : Length 4096
 sg[5] - Addr 0x1473000 : Length 4096
 sg[6] - Addr 0x7c94000 : Length 4096
 sg[7] - Addr 0x50f5000 : Length 4096
 sg[8] - Addr 0xb956000 : Length 4096
 sg[9] - Addr 0x8c57000 : Length 4096
 sg[10] - Addr 0xc758000 : Length 4096
 sg[11] - Addr 0xf319000 : Length 4096
 sg[12] - Addr 0xc59a000 : Length 4096
 sg[13] - Addr 0x775b000 : Length 4096
 sg[14] - Addr 0x675c000 : Length 4096
 sg[15] - Addr 0x39dd000 : Length 4096
 (da0:ahc0:0:0:0): no longer in timeout, status = 34b
 ahc0: Issued Channel A Bus Reset. 30 SCBs aborted
Best Regards.
ZHECKA-RIPN
--



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



Re: weird situation

2000-11-26 Thread Manuel Enrique Garcia Cuesta

Marcos,

=== Marcos Kleber Sanches Matos escribía
(Sun, Nov 26, 2000 at 07:32:25AM -0200):

 well I read the handbook, but isn't there the info I need !!! so let me boring you...
 I have a hd with 20 MB... the fat is something like these now :
 
 
 PArtition STATUS Type  System Usage
 C: 1 A  Pri-DOS FAT 325%  - my boot 
partition
 2 Non-DOS   23%   - bsd
 3 EXT DOS  72%- files ( win 
formated )
 
 to mount the 1 partion is easy ( ...-t msdos... ), the 2 is the bsd so there's no 
problem .. but the 3 I can't mount !!! I've tried every way the mount --help 
indicates !!! ufs nfs... please help me because I use to store appz to bsd in these 
partition, and now I can take it to test...
 

DOS Extended partitions are mapped starting from /dev/da0s5
(or whatever your device is ) on (da0s5, da0s6, da0s7, etc ... ).

 -t msdos is correct, just supply the right device name.

 tkz anyway

HTH
Manuel Garcia




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



Re: Strange log entry

2000-11-26 Thread Manuel Enrique Garcia Cuesta

Eugene,

=== Kaltashkin Eugene escribia
(Sun, Nov 26, 2000 at 02:38:53PM +):

 Hi ppls
 
 I see in log messages these text, what is it ?
 Hard Drive or Controller or Driver ?
 OS 4.2-BETA cvsupped 20.11.2000
 
 MB Intel 440 GX.
 

snip

  (da0:ahc0:0:0:0): no longer in timeout, status = 34b
  ahc0: Issued Channel A Bus Reset. 30 SCBs aborted
 Best Regards.
 ZHECKA-RIPN


I've just seen something like this in one SCSI drive of mine.
Meanwhile you get a better help you might try reseating the SCSI
host adapter and the connectors on both sides. Also, I believe the
SCSI cable doesn't like having sharp folds in it. I admit this a
bit like Easter-egging, but at least for me it worked.

HTH
Manuel Garcia





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



4.2-RELEASE ata0-master probe failed(solved)

2000-11-26 Thread Tai-hwa Liang

Hi,

According to my injected debugging message, the first time
"inb(scp-altioaddr)" was executed in ata_intr(), it returns 0xd0(busy):

/* if drive is busy it didn't interrupt */
if (inb(scp-altioaddr)  ATA_S_BUSY)
return;

The booting message then said: "ata0-master: ata_comand: timeout
waiting for intr," and stopped to interact with my hard disk attached on
ata0-master anymore. However, if I forced an interrupt clear before busy
return, the timeout condition can be resolved  all further disk I/O
operations went normally:

/* if drive is busy it didn't interrupt */
if (inb(scp-altioaddr)  ATA_S_BUSY)
{
/* clear interrupt */
inb(scp-ioaddr + ATA_STATUS);
return;
}

Include the above hacks, there are two other temporary "fixes"
against ata-all.c, 1.50.2.14. All of them work in my 4.2-R box. The first
is to replace the status checking routine in ata_intr() with the old one
(in 1.50.2.7):

--- /sys/dev/ata/ata-all.c.old  Fri Nov 24 11:19:59 2000
+++ /sys/dev/ata/ata-all.c  Sat Nov 25 00:20:25 2000
@@ -1120,12 +1120,18 @@
 }
 DELAY(1);

+#if0
 /* if drive is busy it didn't interrupt */
 if (inb(scp-altioaddr)  ATA_S_BUSY)
return;

 /* clear interrupt and get status */
 scp-status = inb(scp-ioaddr + ATA_STATUS);
+#else
+/* get status, if drive is busy it didn't interrupt so return */
+if ((scp-status = inb(scp-ioaddr + ATA_STATUS))  ATA_S_BUSY)
+   return;
+#endif

 if (scp-status  ATA_S_ERROR)
scp-error = inb(scp-ioaddr + ATA_ERROR);
@@ -1264,37 +1270,37 @@
 /* wait for BUSY to go inactive */
 for (timeout = 0; timeout  31; timeout++) {
if (status0  ATA_S_BUSY) {
-outb(scp-ioaddr + ATA_DRIVE, ATA_D_IBM | ATA_MASTER);
-DELAY(10);
-status0 = inb(scp-ioaddr + ATA_STATUS);
-if (!(status0  ATA_S_BUSY)) {
-/* check for ATAPI signature while its still there */
+   outb(scp-ioaddr + ATA_DRIVE, ATA_D_IBM | ATA_MASTER);
+   DELAY(10);
+   status0 = inb(scp-ioaddr + ATA_STATUS);
+   if (!(status0  ATA_S_BUSY)) {
+   /* check for ATAPI signature while its still there */
a = inb(scp-ioaddr + ATA_CYL_LSB);
b = inb(scp-ioaddr + ATA_CYL_MSB);
if (bootverbose)
ata_printf(scp, ATA_MASTER,
   "ATAPI probe a=%02x b=%02x\n", a, b);
if (a == ATAPI_MAGIC_LSB  b == ATAPI_MAGIC_MSB)
-scp-devices |= ATA_ATAPI_MASTER;
-}
-}
-if (status1  ATA_S_BUSY) {
-outb(scp-ioaddr + ATA_DRIVE, ATA_D_IBM | ATA_SLAVE);
-DELAY(10);
-status1 = inb(scp-ioaddr + ATA_STATUS);
-if (!(status1  ATA_S_BUSY)) {
-/* check for ATAPI signature while its still there */
+   scp-devices |= ATA_ATAPI_MASTER;
+   }
+   }
+   if (status1  ATA_S_BUSY) {
+   outb(scp-ioaddr + ATA_DRIVE, ATA_D_IBM | ATA_SLAVE);
+   DELAY(10);
+   status1 = inb(scp-ioaddr + ATA_STATUS);
+   if (!(status1  ATA_S_BUSY)) {
+   /* check for ATAPI signature while its still there */
a = inb(scp-ioaddr + ATA_CYL_LSB);
b = inb(scp-ioaddr + ATA_CYL_MSB);
if (bootverbose)
ata_printf(scp, ATA_SLAVE,
   "ATAPI probe a=%02x b=%02x\n", a, b);
if (a == ATAPI_MAGIC_LSB  b == ATAPI_MAGIC_MSB)
-scp-devices |= ATA_ATAPI_SLAVE;
-}
-}
+   scp-devices |= ATA_ATAPI_SLAVE;
+   }
+   }
if (*mask == 0x01)  /* wait for master only */
-   if (!(status0  ATA_S_BUSY))
+   if (!(status0  ATA_S_BUSY))
break;
if (*mask == 0x02)  /* wait for slave only */
if (!(status1  ATA_S_BUSY))
@@ -1319,27 +1325,27 @@

 if (*mask  0x01  ostat0 != 0x00  !(scp-devices  ATA_ATAPI_MASTER)) {
 outb(scp-ioaddr + ATA_DRIVE, ATA_D_IBM | ATA_MASTER);
-DELAY(10);
+   DELAY(10);
outb(scp-ioaddr + ATA_ERROR, 0x58);
outb(scp-ioaddr + ATA_CYL_LSB, 0xa5);
a = inb(scp-ioaddr + ATA_ERROR);
b = inb(scp-ioaddr + ATA_CYL_LSB);
if (bootverbose)
ata_printf(scp, ATA_MASTER, "ATA probe a=%02x b=%02x\n", a, b);
-if (a != 0x58  b == 0xa5)
-scp-devices |= ATA_ATA_MASTER;
+   if (a != 0x58  b == 0xa5)
+   scp-devices |= ATA_ATA_MASTER;
 }
 if (*mask  0x02  ostat1 != 0x00  !(scp-devices  ATA_ATAPI_SLAVE)) {
 outb(scp-ioaddr + ATA_DRIVE, ATA_D_IBM | ATA_SLAVE);
-DELAY(10);
+   DELAY(10);
outb(scp-ioaddr + ATA_ERROR, 0x58);
outb(scp-ioaddr + ATA_CYL_LSB, 0xa5);
a = inb(scp-ioaddr + ATA_ERROR);

Re: Strange log entry

2000-11-26 Thread Igor Timkin

I have the same problem in MP current. If U160 disk connected to own U160 SCSI
channel I see such errors. If I reconnect U160 disk to another channel
(I run 39160) with U80 disks then there are no errors.

Kaltashkin Eugene writes:
 Hi ppls
 
 I see in log messages these text, what is it ?
 Hard Drive or Controller or Driver ?
 OS 4.2-BETA cvsupped 20.11.2000
 
 MB Intel 440 GX.
 
  (da0:ahc0:0:0:0): SCB 0x3a - timed out in Data-out phase, SEQADDR == 0x48
  STACK == 0x5c, 0x15e, 0x174, 0x83
  SXFRCTL0 == 0x80
  SCB count = 170
  QINFIFO entries: 45 46 56 68 59 34 130 66 52 12 142 152 117 36 18 137 113 10 26 
125 38 50 53 124 39 23 2 114 158 
  Waiting Queue entries: 
  Disconnected Queue entries: 
  QOUTFIFO entries: 
  Sequencer Free SCB List: 28 25 0 19 26 13 23 17 9 2 20 31 8 22 6 24 15 3 5 1 10 7 
18 21 30 16 27 29 4 14 12 
  Pending list: 158 114 2 23 39 124 53 50 38 125 26 10 113 137 18 36 117 152 142 12 
52 66 130 34 59 68 56 46 45 58 
  Kernel Free SCB list: 47 7 153 33 31 122 126 134 105 48 155 127 149 119 13 6 121 
29 65 147 3 0 101 154 54 118 67 22 150 128 15 143 69 116 16 139 164 103 123 63 120 4 
132 55 37 43 102 166 165 5 133 100 28 110 146 35 30 42 9 27 11 24 138 145 141 41 136 
167 104 17 169 14 21 25 156 20 8 51 1 19 151 32 157 64 135 144 148 57 111 49 140 129 
112 159 168 44 40 131 62 61 60 79 78 77 76 75 74 73 72 71 70 89 88 87 86 85 84 83 82 
81 80 99 98 97 96 95 94 93 92 91 90 109 108 107 106 163 162 161 160 
  sg[0] - Addr 0x944e000 : Length 4096
  sg[1] - Addr 0xf19f000 : Length 4096
  sg[2] - Addr 0x208 : Length 4096
  sg[3] - Addr 0xc2f1000 : Length 4096
  sg[4] - Addr 0x1932000 : Length 4096
  sg[5] - Addr 0x1473000 : Length 4096
  sg[6] - Addr 0x7c94000 : Length 4096
  sg[7] - Addr 0x50f5000 : Length 4096
  sg[8] - Addr 0xb956000 : Length 4096
  sg[9] - Addr 0x8c57000 : Length 4096
  sg[10] - Addr 0xc758000 : Length 4096
  sg[11] - Addr 0xf319000 : Length 4096
  sg[12] - Addr 0xc59a000 : Length 4096
  sg[13] - Addr 0x775b000 : Length 4096
  sg[14] - Addr 0x675c000 : Length 4096
  sg[15] - Addr 0x39dd000 : Length 4096
  (da0:ahc0:0:0:0): BDR message in message buffer
  (da0:ahc0:0:0:0): SCB 0x3a - timed out in Data-out phase, SEQADDR == 0x49
  STACK == 0x5c, 0x15e, 0x174, 0x83
  SXFRCTL0 == 0x80
  SCB count = 170
  QINFIFO entries: 45 46 56 68 59 34 130 66 52 12 142 152 117 36 18 137 113 10 26 
125 38 50 53 124 39 23 2 114 158 
  Waiting Queue entries: 
  Disconnected Queue entries: 
  QOUTFIFO entries: 
  Sequencer Free SCB List: 28 25 0 19 26 13 23 17 9 2 20 31 8 22 6 24 15 3 5 1 10 7 
18 21 30 16 27 29 4 14 12 
  Pending list: 158 114 2 23 39 124 53 50 38 125 26 10 113 137 18 36 117 152 142 12 
52 66 130 34 59 68 56 46 45 58 
  Kernel Free SCB list: 47 7 153 33 31 122 126 134 105 48 155 127 149 119 13 6 121 
29 65 147 3 0 101 154 54 118 67 22 150 128 15 143 69 116 16 139 164 103 123 63 120 4 
132 55 37 43 102 166 165 5 133 100 28 110 146 35 30 42 9 27 11 24 138 145 141 41 136 
167 104 17 169 14 21 25 156 20 8 51 1 19 151 32 157 64 135 144 148 57 111 49 140 129 
112 159 168 44 40 131 62 61 60 79 78 77 76 75 74 73 72 71 70 89 88 87 86 85 84 83 82 
81 80 99 98 97 96 95 94 93 92 91 90 109 108 107 106 163 162 161 160 
  sg[0] - Addr 0x944e000 : Length 4096
  sg[1] - Addr 0xf19f000 : Length 4096
  sg[2] - Addr 0x208 : Length 4096
  sg[3] - Addr 0xc2f1000 : Length 4096
  sg[4] - Addr 0x1932000 : Length 4096
  sg[5] - Addr 0x1473000 : Length 4096
  sg[6] - Addr 0x7c94000 : Length 4096
  sg[7] - Addr 0x50f5000 : Length 4096
  sg[8] - Addr 0xb956000 : Length 4096
  sg[9] - Addr 0x8c57000 : Length 4096
  sg[10] - Addr 0xc758000 : Length 4096
  sg[11] - Addr 0xf319000 : Length 4096
  sg[12] - Addr 0xc59a000 : Length 4096
  sg[13] - Addr 0x775b000 : Length 4096
  sg[14] - Addr 0x675c000 : Length 4096
  sg[15] - Addr 0x39dd000 : Length 4096
  (da0:ahc0:0:0:0): no longer in timeout, status = 34b
  ahc0: Issued Channel A Bus Reset. 30 SCBs aborted
 Best Regards.
 ZHECKA-RIPN
 --
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-stable" in the body of the message
 



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



Re: 4.2-RELEASE ata0-master probe failed(solved)

2000-11-26 Thread Soren Schmidt

It seems Tai-hwa Liang wrote:
 Hi,
 
   According to my injected debugging message, the first time
 "inb(scp-altioaddr)" was executed in ata_intr(), it returns 0xd0(busy):

Uhm 0xd0 is SERVICE and READY and BUSY, which doesn't make sense...

 /* if drive is busy it didn't interrupt */
 if (inb(scp-altioaddr)  ATA_S_BUSY)
 return;
 
   The booting message then said: "ata0-master: ata_comand: timeout
 waiting for intr," and stopped to interact with my hard disk attached on
 ata0-master anymore. However, if I forced an interrupt clear before busy
 return, the timeout condition can be resolved  all further disk I/O
 operations went normally:
 
 /* if drive is busy it didn't interrupt */
 if (inb(scp-altioaddr)  ATA_S_BUSY)
 {
   /* clear interrupt */
   inb(scp-ioaddr + ATA_STATUS);
   return;
 }

This effectively disables the whole purpose of using the "alternative
status" register. Using the alt reg does not clear the interrupt
and we do not want to if this drive didn't interrupt. So this hack
breaks the driver on systems with more than one controller on
an interrupt (which is quiet common nowadays).
Your problem might be that the altioaddr is not correct, so we get
bogus status from it...

   Include the above hacks, there are two other temporary "fixes"
 against ata-all.c, 1.50.2.14. All of them work in my 4.2-R box. The first
 is to replace the status checking routine in ata_intr() with the old one
 (in 1.50.2.7):

They are hard to read, they are mostly just whitespace pollution, the only
real changes I see is the above, which wont work unfortunately...

-Søren


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



Re: howto: cvs for minimum space freebsd server (Re: Upgrade problem)

2000-11-26 Thread Giorgos Keramidas

On Sun, Nov 26, 2000 at 02:08:22PM +1300, kit wrote:
 On Sat, Nov 25, 2000 at 06:19:04PM +1100, Jonathan Michaels wrote:
  
  i currently run (and have done so fro, er since v2.0.5-release)
  -release versions. now that the cost of freebsd release cds has
  gone through the roof for me it might be cheaper fo follow
  -stable.
  

 USD prices are painful in this part of the world :(

In my part of the world, too.  However, nothing stops me from downloading the
4.2-RELEASE .iso image and burning it on a cdrom disk of my own.  This seems
to cost a lot less.

- giorgos


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



Re: howto: cvs for minimum space freebsd server (Re: Upgrade problem)

2000-11-26 Thread Wilko Bulte

On Sun, Nov 26, 2000 at 03:40:20PM +0200, Giorgos Keramidas wrote:
 On Sun, Nov 26, 2000 at 02:08:22PM +1300, kit wrote:
  On Sat, Nov 25, 2000 at 06:19:04PM +1100, Jonathan Michaels wrote:
   
   i currently run (and have done so fro, er since v2.0.5-release)
   -release versions. now that the cost of freebsd release cds has
   gone through the roof for me it might be cheaper fo follow
   -stable.
   
 
  USD prices are painful in this part of the world :(
 
 In my part of the world, too.  However, nothing stops me from downloading the
 4.2-RELEASE .iso image and burning it on a cdrom disk of my own.  This seems
 to cost a lot less.

Assuming a non-metered and more or less speeding network link.

-- 
Wilko Bulte Arnhem, the Netherlands
[EMAIL PROTECTED]   http://www.freebsd.org  http://www.nlfug.nl



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



Re: offtopic (Local package initialization)

2000-11-26 Thread Gerhard Sittig

On Sat, Nov 25, 2000 at 21:38 +, Operador del sistema wrote:
 
 I would like to add run apache each time the servers boots,
 what/where are the scripts for "Local package initialization"
 from the boot msg?

Having installed apache you already should have a start script or
a template able to act as one in your /usr/local/etc/rc.d
directory.  Look at /etc/rc and /etc/rc.shutdown (searching for
"local_startup") for more information.  The local_startup
variable is declared in /etc/defaults/rc.conf and could be
overridden in /etc/rc.conf -- although there's rare need to do
so.


virtually yours   82D1 9B9C 01DC 4FB4 D7B4  61BE 3F49 4F77 72DE DA76
Gerhard Sittig   true | mail -s "get gpg key" [EMAIL PROTECTED]
-- 
 If you don't understand or are scared by any of the above
 ask your parents or an adult to help you.


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