Date: Fri, 26 Nov 1999 15:53:30 +1100 From: "John Saunders" <john@nlc.net.au> To: "FreeBSD current" <freebsd-current@FreeBSD.ORG> Subject: Latest kernel quirks Message-ID: <04c201bf37ca$2f8bb630$6cb611cb@scitec.com.au>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
I have just cvsupped and built the latest -current kernel and have noticed
a new quirk plus an old quirk or 2. uname -a output is:
FreeBSD XXXX 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Fri Nov 26 02:06:45 EST
1999 root@pacer.nlc.net.au:/usr/src/sys/compile/PACER i386
1) CMOS clock problem, dmesg output:
"Invalid time in real time clock.
Check and reset the date immediately!"
The system goes to Jan 27 1999 until ntpdate kicks in and fixes it.
However each time I boot the time is bad again. This could be a
hardware glitch although it was perfectly timed to start happening
just as I booted into a newly built kernel...very suspicious.
2) ISA unexpected tag problem, dmesg output:
"pci0: unknown card (vendor=0x121a, dev=0x0001) at 11.0"
"isa0: unexpected tag 14"
The PCI device is a Diamond Monster 3D (3Dfx Voodoo 1). I don't know
if there is a relationship or if it is pue chance that they are
located next to each other. This has been long standing and is not
a recent gremlin, it doesn't seem to affect anything.
3) The new ATA drivers have a display formatting bug that results in the
following output if a CDROM doesn't doesn't supply speed info:
", 512KB buffer, PIO"
Patch is attached with MIME to save tabs and formatting. I think I
sent this to Soren a while ago, although the latest commits from him
didn't fix the problem. Maybe they got lost, as he was very responsive
to a previous patch.
4) My Pioneer DVD drive causes the following:
"atapi: MODE_SENSE_BIG - UNIT ATTENTION skey=6 asc=29 ascq=00 error=00
acd0: <Pioneer DVD-ROM ATAPIModel DVD-103S 0116/E1.16> CDROM drive at
ata1 as slave"
Is the MODE_SENSE_BIG a problem report or a diagnostic output.
Thanks.
-- +------------------------------------------------------------+
. | John Saunders - mailto:john@nlc.net.au (EMail) |
,--_|\ | - http://www.nlc.net.au/ (WWW) |
/ Oz \ | - 02-9489-4932 or 041-822-3814 (Phone) |
\_,--\_/ | NORTHLINK COMMUNICATIONS P/L - Supplying a professional, |
v | and above all friendly, internet connection service. |
+------------------------------------------------------------+
[-- Attachment #2 --]
--- atapi-cd.c.orig Wed Oct 13 23:06:09 1999
+++ atapi-cd.c Wed Oct 13 23:11:06 1999
@@ -259,9 +259,10 @@
cdp->atp->controller->lun,
(cdp->atp->unit == ATA_MASTER) ? "master" : "slave ");
+ printf("acd%d:", cdp->lun);
+ comma = 0;
if (cdp->cap.cur_read_speed) {
- printf("acd%d: ", cdp->lun);
- printf("read %dKB/s", cdp->cap.cur_read_speed * 1000 / 1024);
+ printf(" read %dKB/s", cdp->cap.cur_read_speed * 1000 / 1024);
if (cdp->cap.max_read_speed)
printf(" (%dKB/s)", cdp->cap.max_read_speed * 1000 / 1024);
if ((cdp->cap.cur_write_speed) &&
@@ -271,11 +272,13 @@
if (cdp->cap.max_write_speed)
printf(" (%dKB/s)", cdp->cap.max_write_speed * 1000 / 1024);
}
+ comma = 1;
}
- if (cdp->cap.buf_size)
- printf(", %dKB buffer", cdp->cap.buf_size);
- printf(", %s\n", ata_mode2str(cdp->atp->controller->mode[
- (cdp->atp->unit == ATA_MASTER) ? 0 : 1]));
+ if (cdp->cap.buf_size) {
+ printf("%s %dKB buffer", comma ? "," : "", cdp->cap.buf_size); comma = 1;
+ }
+ printf("%s %s\n", comma ? "," : "", ata_mode2str(cdp->atp->controller->mode[
+ (cdp->atp->unit == ATA_MASTER) ? 0 : 1])); comma = 1;
printf("acd%d: supported read types:", cdp->lun);
comma = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04c201bf37ca$2f8bb630$6cb611cb>
