Re: ATAPI CD still not detected, verbose boot logs available

2003-12-03 Thread Christoph Sold
On Wednesday 03 December 2003 09:55, Soren Schmidt wrote:
> Could you try this simple patch and see if that helps?

Works for me. No problems so far during three reboots.

Log files available at
   http://cheasy.dyndns.org/bootlogs/5.1-2003-11-30-patched/

Thanks for the good work!
-Christoph Sold

Index: ata-lowlevel.c
===
RCS file: /home/ncvs/src/sys/dev/ata/ata-lowlevel.c,v
retrieving revision 1.23
diff -u -r1.23 ata-lowlevel.c
--- ata-lowlevel.c      2 Nov 2003 22:04:53 -       1.23
+++ ata-lowlevel.c      3 Dec 2003 07:50:44 -
@@ -575,7 +575,7 @@
                }
            }
        }
-       if (stat1 & ATA_S_BUSY) {
+       if (!((mask == 0x03) && (stat0 & ATA_S_BUSY)) && (stat1 & 
ATA_S_BUSY)) {
            ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_SLAVE);
            DELAY(10);

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


ATAPI CD still not detected, verbose boot logs available

2003-12-01 Thread Christoph Sold
Hi All,

FreeBSD 5.2-B still does not detect my ATAPI DVD-ROM drive. This used to 
work until Søren's ATAng commits. Other OSes (Win, Linux, Solaris) 
detect the drive appropriately.

# uname -a
FreeBSD kiste.local 5.2-BETA FreeBSD 5.2-BETA #14: Sun Nov 30 18:51:31 
CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
# atacontrol list
ATA channel 0:
Master:  ad0  ATA/ATAPI rev 4
Slave:   no device present
ATA channel 1:
Master:  ad2  ATA/ATAPI rev 7
Slave:  acd0  ATA/ATAPI rev 0

should read (sometimes the drive _is_ detected):

# atacontrol list
ATA channel 0:
Master:  ad0  ATA/ATAPI rev 4
Slave:  acd0 <_NEC DVD_RW ND-1300A/1.07> ATA/ATAPI rev 0
ATA channel 1:
Master:  ad2  ATA/ATAPI rev 7
Slave:  acd1  ATA/ATAPI rev 0

Verbose boot logs, both with and without detecting the DVD burner on 
ATA-0 slave, are available at

   http://cheasy.dyndns.org/bootlogs/

Remote access to the box may be possible for debugging purposes. Other 
help may be available on request.

Thanks for all the good work so far.
Christoph Sold

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


ATAPI CD still not detected, verbose boot logs available

2003-12-01 Thread Christoph Sold
Hi All, 
 
FreeBSD 5.2-B still does not detect my ATAPI DVD-ROM drive. This used to  
work until Søren's ATAng commits. Other OSes (Win, Linux, Solaris)  
detect the drive appropriately. 
 
# uname -a 
FreeBSD kiste.local 5.2-BETA FreeBSD 5.2-BETA #14: Sun Nov 30 18:51:31  
CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386 
# atacontrol list 
ATA channel 0: 
Master:  ad0  ATA/ATAPI rev 4 
Slave:   no device present 
ATA channel 1: 
Master:  ad2  ATA/ATAPI rev 7 
Slave:  acd0  ATA/ATAPI rev 0 
 
should read (sometimes the drive _is_ detected): 
 
# atacontrol list 
ATA channel 0: 
Master:  ad0  ATA/ATAPI rev 4 
Slave:  acd0 <_NEC DVD_RW ND-1300A/1.07> ATA/ATAPI rev 0 
ATA channel 1: 
Master:  ad2  ATA/ATAPI rev 7 
Slave:  acd1  ATA/ATAPI rev 0 
 
Verbose boot logs, both with and without detecting the DVD burner on  
ATA-0 slave, are available at 
 
   http://cheasy.dyndns.org/bootlogs/ 
 
Remote access to the box may be possible for debugging purposes. Other  
help may be available on request. 
 
Thanks for all the good work so far. 
Christoph Sold 
__
WEB.DE FreeMail wird 5 Jahre jung! Feiern Sie mit uns und
nutzen Sie die neuen Funktionen http://f.web.de/features/?mc=021130

smime.p7s
Description: S/MIME Cryptographic Signature


Re: kernel: psmintr: out of sync

2003-10-02 Thread Christoph Sold
Alex Wilkinson wrote:
Hi all,

I am switching between several OS's with a Cybex KVW switch.
I now seem to have a problem with my mouse (after build world/kernel).
FreeBSD 5.1-CURRENT #2: Wed Aug 20 13:28:54 CST 2003
I am getting these messages on the console when I move my mouse, the cursor moves in a 
very
choppy motion (painfully slow).
Oct  1 09:46:17 squirm kernel: psmintr: out of sync ( != 0008).
Oct  1 09:46:17 squirm kernel: psmintr: discard a byte (1).
Oct  1 09:46:17 squirm kernel: psmintr: out of sync ( != 0008).
Oct  1 09:46:17 squirm kernel: psmintr: discard a byte (2).
Oct  1 09:46:18 squirm kernel: psmintr: out of sync ( != 0008).
Oct  1 09:46:18 squirm kernel: psmintr: discard a byte (3).
Oct  1 09:46:18 squirm kernel: psmintr: out of sync ( != 0008).
Oct  1 09:46:18 squirm kernel: psmintr: re-enable the mouse.
Oct  1 09:46:18 squirm kernel: psm: DISABLE_DEV return code:00fa
Oct  1 09:46:18 squirm kernel: psm: ENABLE_DEV return code:00fa
Oct  1 09:46:20 squirm kernel: psmintr: out of sync ( != 0008).
[snip]

Switching the KVM while the mouse is sending data can cause this 
behaviour. Better KVMs interpret the data sent by the mouse and delay 
switches until a complete mouse output has been sent to the computer.

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


ATAng not detecting primary slave device

2003-09-30 Thread Christoph Sold
Hello All,

I set up a box

  (FreeBSD 5.1-CURRENT #0: Tue Sep 23 00:21:31 CEST 2003
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC,
   compiled from the sources the day before)
showing the erratic behaviour. Verbose boot logs are available at

  http://cheasy.dyndns.org/bootlogs/ .

If anybody (Søren?) is interested in access to the box to debug this 
beast, please contact me.

Thanks for the good work so far
-Christoph Sold
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"