Message-ID: <4DC9IP$CS7@bbs.ustc.edu.cn>
Subject: freebsd-current Digest, Vol 68, Issue 20
Date: Sun, 11 Jul 2004 19:26:49 +0000
From: Galoisz.bbs@bbs.ustc.edu.cn (���博士)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.unix.mbox.zip!g2news1.google.com!news1.google.com!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!pd7cy1no!shaw.ca!news3.optonline.net!news.bylinux.net!netnews.sdu.edu.cn!USTC
Newsgroups: cn.bbs.comp.unix
Organization: 嫺�����
X-Filename: Unix/M.1089574009.A
Lines: 1852
Xref: 74.82.202.154 cn.bbs.comp.unix:1297


Send freebsd-current mailing list submissions to
	freebsd-current@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.freebsd.org/mailman/listinfo/freebsd-current
or, via email, send a message with subject or body 'help' to
	freebsd-current-request@freebsd.org

You can reach the person managing the list at
	freebsd-current-owner@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-current digest..."


Today's Topics:

   1. Re: STI, HLT in acpi_cpu_idle_c1 (Bruce Evans)
   2. full duplex sound card dirve (Richard Neese)
   3. current/perl/spamassassin (asfdqwer xzcvdsf)
   4. ahc driver now borked in -current? (Jordan K. Hubbard)
   5. DVD/CD reading issues with -CURRENT from 2004-06-27
      (Justin Hibbits)
   6. Re: via 8237 and above-udma33 problems  (Gary Jennejohn)
   7. Typo in UPDATING (Andre Guibert de Bruet)
   8. Re: Typo in UPDATING (Simon L. Nielsen)
   9. Re: ahc driver now borked in -current? (Andre Guibert de Bruet)
  10. Re: 5.2.1 p9 --> 5.2 current 20040708 upgrade ATA_IDENTIFY no
      interrupt (jhandvil)
  11. -current kernel panics at boot (Kim Culhan)
  12. Re: ahc driver now borked in -current? (Scott Long)
  13. RE: ahc driver now borked in -current? (Daniel Eriksson)
  14. Re: ahc driver now borked in -current? (Scott Long)
  15. [REMINDER] Call for FreeBSD status reports (Scott Long)
  16. Re: HEADSUP: KDB framework (Marcel Moolenaar)
  17. Re: current now thinks my xe0 is fdc1 ! (M. Warner Losh)
  18. Re: -current kernel panics at boot (Mark Dixon)
  19. -current kernel panics at boot without KDB DDB (Kim Culhan)
  20. Re: -current kernel panics at boot without KDB DDB (Mark Dixon)
  21. Re: current now thinks my xe0 is fdc1 ! (Claude Buisson)
  22. Re: -current kernel panics at boot without KDB DDB (Scott Long)
  23. Re: -current kernel panics at boot (Scott Long)
  24. Re: -current kernel panics at boot without KDB DDB (Bryan Liesner)
  25. [current tinderbox] failure on powerpc/powerpc (FreeBSD Tinderbox)
  26. Re: -current kernel panics at boot without KDB DDB
      (Marcel Moolenaar)
  27. -current panic fixed (Kim Culhan)
  28. Re: top m mode reads zeros (Kim Culhan)
  29. Re: full duplex sound card dirve (Bruce M Simpson)
  30. Re: current/perl/spamassassin (Claus Guttesen)
  31. Re: 5.2.1 p9 --> 5.2 current 20040708 upgrade ATA_IDENTIFY	no
      interrupt (jhandvil)
  32. MIDI anytime soon?  Patches available anywhere?
      (Conrad J. Sabatier)
  33. Re: 5.2.1 p9 --> 5.2 current 20040708 upgrade ATA_IDENTIFY no
      interrupt (Bruce M Simpson)
  34. Re: CDRW causes Thinkpad T41 to panic (Bruce M Simpson)


----------------------------------------------------------------------

Message: 1
Date: Sun, 11 Jul 2004 22:17:26 +1000 (EST)
From: Bruce Evans <bde@zeta.org.au>
Subject: Re: STI, HLT in acpi_cpu_idle_c1
To: Scott Long <scottl@samsco.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040711215816.T1987@epsplex.bde.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Sat, 10 Jul 2004, Scott Long wrote:

> John Baldwin wrote:
> > Once the EOI is sent to the APIC, the processor will except other interrup
ts.
> > However, most of the interrupt code also runs with interrupts disabled.  T
he
> > exception is in ast(), meaning that another interrupt can come in and nest

> > during an ast(), but ast() is not called during nested returns, so it won'
t
> > nest infinitely.  iret doesn't do any sort of EOI magic, all it does is po
pf
> > followed by ret.  The popf usually enables interrupts when it restores the

> > interrupt flag's state.  It might still be a hardware problem in the chips
et,
> > esp. since it always happens on a logical CPU.  The fact that no other box
es
> > in the field besides the two identical boxes you have have demonstrated th
is
> > problem makes me very suspicious with respect to the hardware.
> >
>
> Well, the real question is what happens in when the interrupt context
> has to contest on the proc lock in ast().  What goes to sleep, and how

This never happens, because ast() is never called in interrupt context.

> it wake up?  Does the interrupt context have a real process/thread
> associated with it, or does it pretend to be curthread, or what?  Since
> the whole point of ithreads was to allow sleep locks in interrupt
> handlers, isn't this a major violation?

ast() is only called on return to user mode.  This implies that curthread
is a user thread (the one returning to user mode).  It can never be an
ithread.  Most ast()s are on return from syscalls.  Some are on return
from interrupts, but these are best thought of as being in process context
too.  The interrupt has been completely handled (*) except for the final
return from it.  As an implementation detail, ast() is called directly
before returning.  I believe entry to ast() was originally in hardware on
VAXes.  There was a hardware instruction to schedule an additional trap
on return.  We could still do this in hardware on i386's at least by
scheduling a trace trap, but a direct call is better.  The SMP case still
needs hardware (an IPI) for non-current CPUs.

(*) Except possibly for magic and bugs.  E.g., the iret after an NMI is
special on at least some i386's, but is not handled right.

Bruce

------------------------------

Message: 2
Date: Sat, 10 Jul 2004 11:01:05 -0400
From: Richard Neese <rneese@adelphia.net>
Subject: full duplex sound card dirve
To: current@freebsd.org
Message-ID: <200407101101.05080.rneese@adelphia.net>
Content-Type: text/plain;  charset="us-ascii"

is anyone working on full   duplex drivered for fbsd and soundcards. half the 

apps I use say the sound is only half duplex.  like kphone wich  we   are 
porting and    cpphone   and a few other     including asterisk0 pbx  look at 

te sound card and report it as half duplex. 

I just think its time we get uptodate with full duplex drivers.  I my self am 

new to c/c++ I will help where I can but     have no idea where to start..

RIch

------------------------------

Message: 3
Date: Sat, 10 Jul 2004 11:12:32 -0700 (PDT)
From: asfdqwer xzcvdsf <brueggma@yahoo.com>
Subject: current/perl/spamassassin
To: freebsd-current@freebsd.org
Message-ID: <20040710181232.95705.qmail@web21327.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii


Greetings,

 Spamassassin seems to be using a HUDGE amount of
memory
while just sitting idle.  On other boxes it uses about
a 1/4 of the amount of ram.  Is this something I
should
ask in the spamassassin mailing lists or is this the
right place?

 Should I just look for another filter that uses
less resources?  Like dspam? (Which I don't think has
a milter)

athlon1# pkg_info | egrep "spam|perl"
p5-Mail-SpamAssassin-2.63_2 A highly efficient mail
filter for identifying spam
perl-threaded-5.8.4 Practical Extraction and Report
Language
razor-agents-2.61   A distributed, collaborative, spam
detection and filtering
spamass-milter-0.2.0_4 Sendmail Milter (mail filter)
for SpamAssassin

athlon1# ps axuww | grep spam
root    3493  0.0  0.1  3088 2056  ??  Ss    6:43PM  
0:01.31 /usr/local/sbin/spamass-milter -f -p
/var/run/spamass-milter.sock
root   34350  0.0  1.2 26140 25700  ??  Is    6:43PM  
0:00.87 /usr/local/bin/spamd -a -c -d -r
/var/run/spamd.pid (perl5.8.4)
athlon1#


            Thank you for any assistance,
            Eric

athlon1# ls -la /etc/malloc.conf
lrwxr-xr-x  1 root  wheel  2 Jun 13 18:22
/etc/malloc.conf@ -> aj
athlon1# uname -a
FreeBSD athlon1.bsdnut.org 5.2-CURRENT FreeBSD
5.2-CURRENT #1: Fri Jul  2 15:46:11 CDT 2004    
root@athlon1.bsdnut.org:/usr/obj/usr/src/sys/ATHLON 
i386





		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

------------------------------

Message: 4
Date: Sat, 10 Jul 2004 14:51:23 -0700
From: "Jordan K. Hubbard" <jkh@queasyweasel.com>
Subject: ahc driver now borked in -current?
To: freebsd-current@freebsd.org
Message-ID: <49011D34-D2BB-11D8-81E2-000393BB9222@queasyweasel.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed

OK, this is going to be a little hard to give all the right information 
for given that the symptoms I'm reporting don't even allow the box in 
question to get up far enough to generate useful debugging info, but 
I'll give it my best shot anyway.

In short, this is an older dual PIII box with the on-board Adaptec 
Ultra/Wide controller (one of the older ASUS motherboards we all used 
to covet when they cost $600 a pop).  Plugged into that controller are 
two IBM LVD drives, a CDROM drive and an iomega Jaz drive (remember 
those? :).

Running a -current kernel from May 1st, the box works just fine albeit 
with one warning when it tries to probe the Jaz drive, which has no 
media in it.  If you like, I can try stuffing a Jaz disk in there for 
giggles, but the error in question is benign in any case (see below).  
Using a kernel compiled on July 6th, however, I can't get any farther 
than the "Waiting 2 seconds for SCSI devices to settle" message you see 
below, then there's a long delay followed by a dump of the card state 
(sadly, to the screen rather than some non-perishable medium) and lots 
of whining about the number of SCBs which were just aborted.  It 
continues looping in that way, resetting the controller and whining, 
forever.

Unfortunately, the only other machine in this room is a Mac and those 
are notorious for not having serial cards, so it's not even going to be 
easy to wire up a serial console to this baby, but I can always give it 
a shot if someone thinks that data will be really helpful - I'll have 
to go get a USB serial adaptor or something.

Anyway, here's the relevant boot messages from a *functioning* (May 
1st) kernel.  That's the last time the ahc driver worked on my system.  
   Like I said, with the non-functioning kernel, we don't get any 
further than waiting for the SCSI devices to settle and then 
abort/looping:

ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> port 0xb000-0xb0ff mem 
0xdd800000
-0xdd800fff irq 14 at device 6.0 on pci0
ahc0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xb000
ahc0: [GIANT-LOCKED]
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
..
Waiting 2 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
da2 at ahc0 bus 0 target 5 lun 0
da2: <iomega jaz 2GB E.17> Removable Direct Access SCSI-2 device
da2: 20.000MB/s transfers (20.000MHz, offset 15)
da2: Attempt to query device size failed: NOT READY, Medium not present
cd0 at ahc0 bus 0 target 4 lun 0
cd0: <TOSHIBA CD-ROM XM-6401TA 1009> Removable CD-ROM SCSI-2 device
cd0: 20.000MB/s transfers (20.000MHz, offset 16)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DDRS-39130D DC1B> Fixed Direct Access SCSI-2 device
da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged 
Queueing Enabled
da0: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C)
da1 at ahc0 bus 0 target 2 lun 0
da1: <IBM DDRS-39130D DC1B> Fixed Direct Access SCSI-2 device
da1: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged 
Queueing Enabled
da1: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C)
(da2:ahc0:0:5:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da2:ahc0:0:5:0): CAM Status: SCSI Status Error
(da2:ahc0:0:5:0): SCSI Status: Check Condition
(da2:ahc0:0:5:0): NOT READY asc:3a,0
(da2:ahc0:0:5:0): Medium not present
(da2:ahc0:0:5:0): Unretryable error
Opened disk da2 -> 6
(da2:ahc0:0:5:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da2:ahc0:0:5:0): CAM Status: SCSI Status Error
(da2:ahc0:0:5:0): SCSI Status: Check Condition
(da2:ahc0:0:5:0): NOT READY asc:3a,0
(da2:ahc0:0:5:0): Medium not present
(da2:ahc0:0:5:0): Unretryable error
Opened disk da2 -> 6
Mounting root from ufs:/dev/da0s1a

--
Jordan K. Hubbard
Engineering Manager, BSD technology group
Apple Computer


------------------------------

Message: 5
Date: Sat, 10 Jul 2004 20:05:15 -0400
From: Justin Hibbits <jrh29@po.cwru.edu>
Subject: DVD/CD reading issues with -CURRENT from 2004-06-27
To: freebsd-current@freebsd.org
Message-ID: <FCA7A53D-D2CD-11D8-992C-000A95841F44@po.cwru.edu>
Content-Type: text/plain; charset="us-ascii"

Hi,

I updated to -CURRENT a couple weeks ago, for various reasons, from 
5.2.1, but now DVD and CD reading is flaking out.  When trying to play 
DVDs with mplayer, they stop after a random amount of time, probably 
after reading a complete buffer.  With 'dd', trying to create iso 
images of CDs, it stops after a random amount of data is copied.  
Attached is the backtrace of a 'dd' run.

Specs of the system:

5.2-CURRENT as of 2004-06-27
Athlon XP 1800+
ASUS A7V266-E/A motherboard (VIA KT-266 chipset)

The 2 drives I tested are:
iomega Zip-CD CD-RW drive (acd0)
Toshiba DVD-ROM (acd1)

Any more info required, just ask.

Additional, I'm not on the list, so if you could CC me, that'd be 
great, otherwise, I'll just check the archives.

-Justin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trace.bad
Type: application/octet-stream
Size: 872 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040710/
c682fa37/trace-0001.obj
-------------- next part --------------

--
"One World, One Web, One Program"
	- Microsoft Promo Ad
"Ein Volk, Ein Reich, Ein Fuhrer"
	- Adolf Hitler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040710/
c682fa37/PGP-0001.bin

------------------------------

Message: 6
Date: Sun, 11 Jul 2004 13:52:27 +0200
From: Gary Jennejohn <garyj@jennejohn.org>
Subject: Re: via 8237 and above-udma33 problems 
To: sos@DeepCore.dk
Cc: Ion-Mihai Tetcu <itetcu@apropo.ro>
Message-ID: <200407111152.i6BBqRdd015659@peedub.jennejohn.org>
Content-Type: text/plain; charset=us-ascii


=?ISO-8859-1?Q?S=F8ren_Schmidt?= writes:
> Divacky Roman wrote:
> >>>2) if not - how may I tell fbsd to initialize this drive (resp. the
> >>>channel the drive is attached to) to udma33 instead of the default mode.

> >>>I want to boot from that drive so I cannot use atacontrol or whatever
> >>>since it would have hanged before I'd enter user-space system
> >>>initialization
> >>
> >>Put  hw.ata.ata_dma=0
> >>/boot/loader.conf
> > 
> > 
> > I WANT dma! just not udma100 but udma33... so this is not what I want
> > I think there should be some
> > device.hints:dev.ata.adX.mode=blah
> 
> You can just specify no dma in loader.conf and then use atacontrol to 
> set the wanted mode on each device later on in rc.local or whatever you 
> prefer...
> 

Just a data point:

On my amd64 system in 64-bit mode I had to define a bash alias to turn
on DMA. Doing it in rc.local often resulted in so many DMA errors
that the system hung. Probably due to the intense disk activity which
happens during startup.

Strangely enough, the same disk exhibits absolutely no DMA errors when
I boot a 32-bit FreeBSD system.

---
Gary Jennejohn / garyj[at]jennejohn.org gj[at]freebsd.org gj[at]denx.de


------------------------------

Message: 7
Date: Sun, 11 Jul 2004 09:12:57 -0400 (EDT)
From: Andre Guibert de Bruet <andy@siliconlandmark.com>
Subject: Typo in UPDATING
To: current@freebsd.org
Message-ID: <20040711091153.F2496@alpha.siliconlandmark.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Hi,

I spotted the following this morning:

20040702:
 	The native preemption has been added to the kernel scheduler.
 	There is some report that ULE scheduler was broken in some
 	machines and we encourage users using ULE schedluer either
                                                   ^^^^^^^^^
 	stick with an known good kernel, or temporary switch to 4BSD
 	scheduler as a workaround.

Regards,

> Andre Guibert de Bruet | Enterprise Software Consultant >
> Silicon Landmark, LLC. | http://siliconlandmark.com/    >

------------------------------

Message: 8
Date: Sun, 11 Jul 2004 15:27:24 +0200
From: "Simon L. Nielsen" <simon@FreeBSD.org>
Subject: Re: Typo in UPDATING
To: Andre Guibert de Bruet <andy@siliconlandmark.com>
Cc: current@freebsd.org
Message-ID: <20040711132724.GA761@zaphod.nitro.dk>
Content-Type: text/plain; charset="us-ascii"

On 2004.07.11 09:12:57 -0400, Andre Guibert de Bruet wrote:

> I spotted the following this morning:
> 
> 20040702:
> 	The native preemption has been added to the kernel scheduler.
> 	There is some report that ULE scheduler was broken in some
> 	machines and we encourage users using ULE schedluer either
>                                                   ^^^^^^^^^
> 	stick with an known good kernel, or temporary switch to 4BSD
> 	scheduler as a workaround.

Fixed, thanks!

-- 
Simon L. Nielsen
FreeBSD Documentation Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040711/
bef0a843/attachment-0001.bin

------------------------------

Message: 9
Date: Sun, 11 Jul 2004 10:16:51 -0400 (EDT)
From: Andre Guibert de Bruet <andy@siliconlandmark.com>
Subject: Re: ahc driver now borked in -current?
To: "Jordan K. Hubbard" <jkh@queasyweasel.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040711101340.Y2496@alpha.siliconlandmark.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Jordan,

I have seen something similar on one of my systems just a few days ago. 
ACPI turned out to be the culprit. It would boot with it disabled, and 
wouldn't with until I upgraded the BIOS.

Since you have all of this "vintage" hardware around, you still have one 
of those pesky 3.5" floppy drives, right? ;-)

Regards,
Andy

> Andre Guibert de Bruet | Enterprise Software Consultant >
> Silicon Landmark, LLC. | http://siliconlandmark.com/    >

On Sat, 10 Jul 2004, Jordan K. Hubbard wrote:

> OK, this is going to be a little hard to give all the right information for 

> given that the symptoms I'm reporting don't even allow the box in question t
o 
> get up far enough to generate useful debugging info, but I'll give it my bes
t 
> shot anyway.
>
> In short, this is an older dual PIII box with the on-board Adaptec Ultra/Wid
e 
> controller (one of the older ASUS motherboards we all used to covet when the
y 
> cost $600 a pop).  Plugged into that controller are two IBM LVD drives, a 
> CDROM drive and an iomega Jaz drive (remember those? :).
>
> Running a -current kernel from May 1st, the box works just fine albeit with 

> one warning when it tries to probe the Jaz drive, which has no media in it. 

> If you like, I can try stuffing a Jaz disk in there for giggles, but the 
> error in question is benign in any case (see below).  Using a kernel compile
d 
> on July 6th, however, I can't get any farther than the "Waiting 2 seconds fo
r 
> SCSI devices to settle" message you see below, then there's a long delay 
> followed by a dump of the card state (sadly, to the screen rather than some 

> non-perishable medium) and lots of whining about the number of SCBs which 
> were just aborted.  It continues looping in that way, resetting the 
> controller and whining, forever.
>
> Unfortunately, the only other machine in this room is a Mac and those are 
> notorious for not having serial cards, so it's not even going to be easy to 

> wire up a serial console to this baby, but I can always give it a shot if 
> someone thinks that data will be really helpful - I'll have to go get a USB 

> serial adaptor or something.
>
> Anyway, here's the relevant boot messages from a *functioning* (May 1st) 
> kernel.  That's the last time the ahc driver worked on my system.    Like I 

> said, with the non-functioning kernel, we don't get any further than waiting
 
> for the SCSI devices to settle and then abort/looping:
>
> ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> port 0xb000-0xb0ff mem 
> 0xdd800000
> -0xdd800fff irq 14 at device 6.0 on pci0
> ahc0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xb000
> ahc0: [GIANT-LOCKED]
> aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
> ...
> Waiting 2 seconds for SCSI devices to settle
> SMP: AP CPU #1 Launched!
> da2 at ahc0 bus 0 target 5 lun 0
> da2: <iomega jaz 2GB E.17> Removable Direct Access SCSI-2 device
> da2: 20.000MB/s transfers (20.000MHz, offset 15)
> da2: Attempt to query device size failed: NOT READY, Medium not present
> cd0 at ahc0 bus 0 target 4 lun 0
> cd0: <TOSHIBA CD-ROM XM-6401TA 1009> Removable CD-ROM SCSI-2 device
> cd0: 20.000MB/s transfers (20.000MHz, offset 16)
> cd0: Attempt to query device size failed: NOT READY, Medium not present
> da0 at ahc0 bus 0 target 0 lun 0
> da0: <IBM DDRS-39130D DC1B> Fixed Direct Access SCSI-2 device
> da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing 
> Enabled
> da0: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C)
> da1 at ahc0 bus 0 target 2 lun 0
> da1: <IBM DDRS-39130D DC1B> Fixed Direct Access SCSI-2 device
> da1: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing 
> Enabled
> da1: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C)
> (da2:ahc0:0:5:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
> (da2:ahc0:0:5:0): CAM Status: SCSI Status Error
> (da2:ahc0:0:5:0): SCSI Status: Check Condition
> (da2:ahc0:0:5:0): NOT READY asc:3a,0
> (da2:ahc0:0:5:0): Medium not present
> (da2:ahc0:0:5:0): Unretryable error
> Opened disk da2 -> 6
> (da2:ahc0:0:5:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
> (da2:ahc0:0:5:0): CAM Status: SCSI Status Error
> (da2:ahc0:0:5:0): SCSI Status: Check Condition
> (da2:ahc0:0:5:0): NOT READY asc:3a,0
> (da2:ahc0:0:5:0): Medium not present
> (da2:ahc0:0:5:0): Unretryable error
> Opened disk da2 -> 6
> Mounting root from ufs:/dev/da0s1a
>
> --
> Jordan K. Hubbard
> Engineering Manager, BSD technology group
> Apple Computer

------------------------------

Message: 10
Date: Sun, 11 Jul 2004 10:43:21 -0400
From: jhandvil <jhandvil@tampabay.rr.com>
Subject: Re: 5.2.1 p9 --> 5.2 current 20040708 upgrade ATA_IDENTIFY no
	interrupt
To: Ivan Voras <ivoras@fer.hr>
Cc: freebsd-current@freebsd.org
Message-ID: <200407111043.21173.jhandvil@tampabay.rr.com>
Content-Type: text/plain;  charset="iso-8859-1"

On Sunday 11 July 2004 07:34 am, Ivan Voras wrote:
> jhandvil wrote:
> > Just upgraded from 5.2.1 p9 to 5.2-current.  Received the following error

> > during boot (copied by hand, please excuse typo's):
> >
> > ata0-master: FAILURE - ATA_IDENTIFY no interrupt
> > ata0-master: FAILURE - ATA_IDENTIFY no interrupt
> > Mounting root from ufs:/dev/ad0s1a
> > setrootbyname failed
> > ffs_mountroot: can't find rootvp
> > Root mount failed: 6
>
> I have a very similar situation at my machine. Could you try toggling
> WITNESS in the kernel config and report to the list if there are any
> changes?

Thanks for the fast response.  I toggled turned off WITNESS (and turned on 
DDB), and I got the same response.

I tried digging some more.  I know that there was an issue earlier with the 
via 8237 and dma, so I tried disabling dma (hw.ata.ata_dma=0).  This had no 
effect.  I'll attempt to dig around in the PCI driver and the ata driver a 
little more and see if I can add some traces around the interrupt assignment. 
 
Any additional suggestions would be much appreciated.

Great Cthulu sig.  I'm a bit of a H.P. Lovecraft fan myself.

Thanks,
Justin


------------------------------

Message: 11
Date: Sun, 11 Jul 2004 07:39:55 -0700 (PDT)
From: Kim Culhan <w8hdkim@yahoo.com>
Subject: -current kernel panics at boot
To: freebsd-current@FreeBSD.org
Message-ID: <20040711143955.54447.qmail@web50703.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii

Is this a known situation?

Can provide more details if they would be useful

tnx
-kim


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

------------------------------

Message: 12
Date: Sun, 11 Jul 2004 09:07:46 -0600
From: Scott Long <scottl@samsco.org>
Subject: Re: ahc driver now borked in -current?
To: "Jordan K. Hubbard" <jkh@queasyweasel.com>
Cc: freebsd-current@freebsd.org
Message-ID: <40F157C2.8010400@samsco.org>
Content-Type: text/plain; charset=us-ascii; format=flowed

Jordan,

Having the dump card state message will be really useful.  You might
want to examine the message and see if mentions anything about
interrupts not working, or 'SCB already completed'.

BTW, sending problem reports like this to freebsd-scsi@ or directly to
myself of Justin will improve your chances of getting noticed =-)

Scott

Jordan K. Hubbard wrote:
> OK, this is going to be a little hard to give all the right information 
> for given that the symptoms I'm reporting don't even allow the box in 
> question to get up far enough to generate useful debugging info, but 
> I'll give it my best shot anyway.
> 
> In short, this is an older dual PIII box with the on-board Adaptec 
> Ultra/Wide controller (one of the older ASUS motherboards we all used to 
> covet when they cost $600 a pop).  Plugged into that controller are two 
> IBM LVD drives, a CDROM drive and an iomega Jaz drive (remember those? :).
> 
> Running a -current kernel from May 1st, the box works just fine albeit 
> with one warning when it tries to probe the Jaz drive, which has no 
> media in it.  If you like, I can try stuffing a Jaz disk in there for 
> giggles, but the error in question is benign in any case (see below).  
> Using a kernel compiled on July 6th, however, I can't get any farther 
> than the "Waiting 2 seconds for SCSI devices to settle" message you see 
> below, then there's a long delay followed by a dump of the card state 
> (sadly, to the screen rather than some non-perishable medium) and lots 
> of whining about the number of SCBs which were just aborted.  It 
> continues looping in that way, resetting the controller and whining, 
> forever.
> 
> Unfortunately, the only other machine in this room is a Mac and those 
> are notorious for not having serial cards, so it's not even going to be 
> easy to wire up a serial console to this baby, but I can always give it 
> a shot if someone thinks that data will be really helpful - I'll have to 
> go get a USB serial adaptor or something.
> 
> Anyway, here's the relevant boot messages from a *functioning* (May 1st) 
> kernel.  That's the last time the ahc driver worked on my system.    
> Like I said, with the non-functioning kernel, we don't get any further 
> than waiting for the SCSI devices to settle and then abort/looping:
> 
> ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> port 0xb000-0xb0ff mem 
> 0xdd800000
> -0xdd800fff irq 14 at device 6.0 on pci0
> ahc0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xb000
> ahc0: [GIANT-LOCKED]
> aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
> ...
> Waiting 2 seconds for SCSI devices to settle
> SMP: AP CPU #1 Launched!
> da2 at ahc0 bus 0 target 5 lun 0
> da2: <iomega jaz 2GB E.17> Removable Direct Access SCSI-2 device
> da2: 20.000MB/s transfers (20.000MHz, offset 15)
> da2: Attempt to query device size failed: NOT READY, Medium not present
> cd0 at ahc0 bus 0 target 4 lun 0
> cd0: <TOSHIBA CD-ROM XM-6401TA 1009> Removable CD-ROM SCSI-2 device
> cd0: 20.000MB/s transfers (20.000MHz, offset 16)
> cd0: Attempt to query device size failed: NOT READY, Medium not present
> da0 at ahc0 bus 0 target 0 lun 0
> da0: <IBM DDRS-39130D DC1B> Fixed Direct Access SCSI-2 device
> da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing 
> Enabled
> da0: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C)
> da1 at ahc0 bus 0 target 2 lun 0
> da1: <IBM DDRS-39130D DC1B> Fixed Direct Access SCSI-2 device
> da1: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing 
> Enabled
> da1: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C)
> (da2:ahc0:0:5:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
> (da2:ahc0:0:5:0): CAM Status: SCSI Status Error
> (da2:ahc0:0:5:0): SCSI Status: Check Condition
> (da2:ahc0:0:5:0): NOT READY asc:3a,0
> (da2:ahc0:0:5:0): Medium not present
> (da2:ahc0:0:5:0): Unretryable error
> Opened disk da2 -> 6
> (da2:ahc0:0:5:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
> (da2:ahc0:0:5:0): CAM Status: SCSI Status Error
> (da2:ahc0:0:5:0): SCSI Status: Check Condition
> (da2:ahc0:0:5:0): NOT READY asc:3a,0
> (da2:ahc0:0:5:0): Medium not present
> (da2:ahc0:0:5:0): Unretryable error
> Opened disk da2 -> 6
> Mounting root from ufs:/dev/da0s1a
> 
> -- 
> Jordan K. Hubbard
> Engineering Manager, BSD technology group
> Apple Computer
> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


------------------------------

Message: 13
Date: Sun, 11 Jul 2004 17:14:31 +0200
From: "Daniel Eriksson" <daniel_k_eriksson@telia.com>
Subject: RE: ahc driver now borked in -current?
To: <freebsd-current@freebsd.org>
Message-ID:
	<!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQA
AAAwVRcmvYowU2Uccm3NVY8hgEAAAAA@telia.com>
	
Content-Type: text/plain; charset="us-ascii"


Jordan K. Hubbard wrote:

> OK, this is going to be a little hard to give all the right 
> information 
> for given that the symptoms I'm reporting don't even allow the box in 
> question to get up far enough to generate useful debugging info, but 
> I'll give it my best shot anyway.

Here's a me-too report with a slight twist:

Hardware:
---------
ASUS P2B-DS motherboard with 2 x 700MHz P3 and 1GB ECC memory
2 x 3COM 3c905C-TX NICs (xl driver)
1 x Intel 82559 Pro/100 NIC (fxp driver)
1 x HighPoint 1540 SATA card (HPT374 chipset, default ata driver)
 - no SCSI devices connected to the onboard Adaptec aic7890/91 Ultra2 SCSI
controller
 - 9GB ATA disc hooked up to the onboard Intel PIIX4 UDMA33 controller (boot
disc)
 - 4 x 120GB Maxtor SATA discs hooked up to the HighPoint card (vinum RAID-5
array)


Software, semi-working configuration:
-------------------------------------
FreeBSD 5-CURRENT, 2004.06.29.09.00.00
SHED_4BSD, SMP+apic, CPUTYPE?=p3 (but no custom CFLAGS/COPTFLAGS)
ACPI enabled
This combination seems pretty stable. I have never been able to boot with
the SATA discs connected (machine hangs hard just before the discs should be
listed/probed), but booting with no SATA discs and then plugging them in
after boot and running "atacontrol reinit X" works fine.

Software, non-working configuration:
------------------------------------
FreeBSD 5-CURRENT, 2004.07.09.00.00.00
SHED_4BSD, SMP+apic, CPUTYPE?=p3 (but no custom CFLAGS/COPTFLAGS)
 - With ACPI enabled the machine reboots as soon as it starts to probe for
devices/cards (very early in the boot message). I don't have a serial
console so I don't know exactly what scrolls by, but it looks like a panic
message during interrupt routing followed immediately by a reboot.
 - With ACPI disabled the machine boots (provided no SATA discs are
connected, see above), but hangs with some message about "IPI stuck" during
heavy load (sorry, I wasn't around to take down the exact message).


Attached is the dmesg from the semi-working configuration.

/Daniel Eriksson
-------------- next part --------------
Copyright (c) 1992-2004 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.2-CURRENT #0: Tue Jun 29 19:11:13 CEST 2004
    root@sentinel.lokalen.zapto.org:/usr/obj/usr/src/sys/SENTINEL
Preloaded elf kernel "/boot/kernel/kernel" at 0xc08b6000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc08b6244.
ACPI APIC Table: <ASUS   P2B-DS  >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (701.59-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 1073729536 (1023 MB)
avail memory = 1041281024 (993 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  1
 cpu1 (AP): APIC ID:  0
ioapic0 <Version 1.1> irqs 0-23 on motherboard
random: <entropy source, Software, Yarrow>
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS P2B-DS> on motherboard
acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20
acpi0: [GIANT-LOCKED]
pcibios: BIOS version 2.10
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xe6000000-0xe7ffffff at
 device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib1: slot 0 INTA is routed to irq 16
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xb800-0xb80f,0x376,0x170-0x177,
0x3f6,0x1f0-0x1f7 at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xb400-0xb41f at device 
4.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge, PCI-unknown> at device 4.3 (no driver attached)
ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> port 0xb000-0xb0ff mem 0xe30000
00-0xe3000fff irq 19 at device 6.0 on pci0
ahc0: [GIANT-LOCKED]
aic7890/91: Ultra2 Wide Channel A, SCSI Id=15, 32/253 SCBs
atapci1: <HighPoint HPT374 (channel 0+1) UDMA133 controller> port 0x9400-0x94f
f,0x9800-0x9803,0xa000-0xa007,0xa400-0xa403,0xa800-0xa807 irq 19 at 
device 9.0 on pci0
ata2: at 0xa800 on atapci1
ata3: at 0xa000 on atapci1
atapci2: <HighPoint HPT374 (channel 2+3) UDMA133 controller> port 0x7800-0x78f
f,0x8000-0x8003,0x8400-0x8407,0x8800-0x8803,0x9000-0x9007 irq 19 at 
device 9.1 on pci0
ata4: at 0x9000 on atapci2
ata5: at 0x8400 on atapci2
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x7400-0x747f mem 0xe2800000-0xe2
80007f irq 18 at device 10.0 on pci0
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:01:02:73:f4:f5
xl0: [GIANT-LOCKED]
xl1: <3Com 3c905C-TX Fast Etherlink XL> port 0x7000-0x707f mem 0xe2000000-0xe2
00007f irq 17 at device 11.0 on pci0
miibus1: <MII bus> on xl1
xlphy1: <3c905C 10/100 internal PHY> on miibus1
xlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: Ethernet address: 00:50:da:8d:d2:af
xl1: [GIANT-LOCKED]
fxp0: <Intel 82559 Pro/100 Ethernet> port 0x6800-0x683f mem 0xe1000000-0xe10ff
fff,0xe1800000-0xe1800fff irq 16 at device 12.0 on pci0
miibus2: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus2
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:03:47:09:6f:51
fxp0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2
-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
orm0: <Option ROMs> at iomem 0xd0000-0xd17ff,0xcc000-0xcc7ff,0xc8000-0xc87ff,0
xc0000-0xc7fff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to a
ccept, logging unlimited
ad0: 8693MB <IBM-DJNA-370910> [17662/16/63] at ata0-master UDMA33
acd0: CDROM <SAMSUNG CD-ROM SC-148F> at ata1-master PIO4
Waiting 5 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad0s1a

------------------------------

Message: 14
Date: Sun, 11 Jul 2004 09:18:25 -0600
From: Scott Long <scottl@samsco.org>
Subject: Re: ahc driver now borked in -current?
To: Andre Guibert de Bruet <andy@siliconlandmark.com>
Cc: freebsd-current@freebsd.org
Message-ID: <40F15A41.4070505@samsco.org>
Content-Type: text/plain; charset=us-ascii; format=flowed

Andre Guibert de Bruet wrote:
> Jordan,
> 
> I have seen something similar on one of my systems just a few days ago. 
> ACPI turned out to be the culprit. It would boot with it disabled, and 
> wouldn't with until I upgraded the BIOS.

Does this mean that upgrading the BIOS resulting in everything working 
with ACPI again?  What system and BIOS versions?

Scott


------------------------------

Message: 15
Date: Sun, 11 Jul 2004 09:19:42 -0600
From: Scott Long <scottl@samsco.org>
Subject: [REMINDER] Call for FreeBSD status reports
To: current@freebsd.org, stable@freebsd.org
Message-ID: <40F15A8E.4050902@samsco.org>
Content-Type: text/plain; charset=us-ascii; format=flowed

All,

This is a reminder that status reports are due on July 15!

It's time again for the bi-monthly FreeBSD status reports.  We're on an
upward trend in numbers of reports that are submitted, and I'm hoping to
get 25 this time.  As always, reports are encouraged for anything that
relates to FreeBSD development, documentation, independent projects, or
anything else that might be interesting to the community as a whole.
Reports should be one to two paragraphs in length.  The template can be
found at http://www.freebsd.org/news/status/report-sample.xml

Submissions are due to monthly@freebsd.org by July 15.

Thanks,

Scott


------------------------------

Message: 16
Date: Sun, 11 Jul 2004 08:24:19 -0700
From: Marcel Moolenaar <marcel@xcllnt.net>
Subject: Re: HEADSUP: KDB framework
To: Morten Rodal <morten@rodal.no>
Cc: freebsd-current@freebsd.org
Message-ID: <20040711152419.GA56743@dhcp50.pn.xcllnt.net>
Content-Type: text/plain; charset=us-ascii

On Sun, Jul 11, 2004 at 01:55:35PM +0200, Morten Rodal wrote:
> 
> I think it was becase I replaced "options DDB" with "options KDB" instead 
> of adding "options KDB".  This results in no debuggers being registered 
> (and thus the null pointer)?  Perhaps some checks should be added to make 
> sure there really are any debuggers available before using them?

You thought right. There was one place where the check wasn't there
and you found it! Congrats :-)

Fixed nonetheless,

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net

------------------------------

Message: 17
Date: Sun, 11 Jul 2004 10:02:09 -0600 (MDT)
From: "M. Warner Losh" <imp@bsdimp.com>
Subject: Re: current now thinks my xe0 is fdc1 !
To: cbuisson@nerim.net
Cc: current@freebsd.org
Message-ID: <20040711.100209.84036456.imp@bsdimp.com>
Content-Type: Text/Plain; charset=us-ascii

I think that I broke this accidentally.  I have some pending changes
to fdc, but they aren't quite ready yet.  So I've committed a
band-aide fix.

Warner

------------------------------

Message: 18
Date: Sun, 11 Jul 2004 17:12:12 +0100
From: Mark Dixon <mark@markdnet.demon.co.uk>
Subject: Re: -current kernel panics at boot
To: freebsd-current@freebsd.org
Message-ID: <200407111712.19353.mark@markdnet.demon.co.uk>
Content-Type: text/plain; charset="iso-8859-1"

On Sunday 11 Jul 2004 15:39, Kim Culhan wrote:
> Is this a known situation?
>
> Can provide more details if they would be useful
>
> tnx
> -kim

Same here, dies after PNRG, before kickstart is displayed on mine.
-- 
Mark

'If it compiles, ship it'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040711/
54381ce4/attachment-0001.bin

------------------------------

Message: 19
Date: Sun, 11 Jul 2004 09:30:41 -0700 (PDT)
From: Kim Culhan <w8hdkim@yahoo.com>
Subject: -current kernel panics at boot without KDB DDB
To: freebsd-current@FreeBSD.org
Message-ID: <20040711163041.83094.qmail@web50704.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii

To avoid a panic it seems you must have both

options     KDB
options     DDB

In the kernel config

-kim



		
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 

------------------------------

Message: 20
Date: Sun, 11 Jul 2004 17:36:20 +0100
From: Mark Dixon <mark@markdnet.demon.co.uk>
Subject: Re: -current kernel panics at boot without KDB DDB
To: Kim Culhan <w8hdkim@yahoo.com>
Cc: freebsd-current@freebsd.org
Message-ID: <200407111736.20542.mark@markdnet.demon.co.uk>
Content-Type: text/plain; charset="iso-8859-1"

On Sunday 11 Jul 2004 17:30, Kim Culhan wrote:
> To avoid a panic it seems you must have both
>
> options     KDB
> options     DDB
>
> In the kernel config

I think this should be added to UPDATING.

Mark

'If it compiles, ship it'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040711/
0ba5cf4c/attachment-0001.bin

------------------------------

Message: 21
Date: Sun, 11 Jul 2004 18:35:56 +0200
From: Claude Buisson <cbuisson@nerim.net>
Subject: Re: current now thinks my xe0 is fdc1 !
To: "M. Warner Losh" <imp@bsdimp.com>
Cc: current@freebsd.org
Message-ID: <40F16C6C.3060900@nerim.net>
Content-Type: text/plain; charset=us-ascii; format=flowed

M. Warner Losh wrote:
> I think that I broke this accidentally.  I have some pending changes
> to fdc, but they aren't quite ready yet.  So I've committed a
> band-aide fix.
> 
> Warner
> 

Thanks,

I reverted sys/conf/files.i386 to 1.495, sys/modules/fdc/Makefile to 
1.8, sys/dev/fdc/fdc.c to 1.273, ie to the state before your 07/07 
commit, and now it works.

I will be out of touch for 2 weeks, and cannot test your patch now.

Bad luck...

Claude Buisson

------------------------------

Message: 22
Date: Sun, 11 Jul 2004 10:37:32 -0600
From: Scott Long <scottl@samsco.org>
Subject: Re: -current kernel panics at boot without KDB DDB
To: Mark Dixon <mark@markdnet.demon.co.uk>
Cc: Kim Culhan <w8hdkim@yahoo.com>
Message-ID: <40F16CCC.4060405@samsco.org>
Content-Type: text/plain; charset=us-ascii; format=flowed

Mark Dixon wrote:
> On Sunday 11 Jul 2004 17:30, Kim Culhan wrote:
> 
>>To avoid a panic it seems you must have both
>>
>>options     KDB
>>options     DDB
>>
>>In the kernel config
> 
> 
> I think this should be added to UPDATING.
> 
> Mark
> 
> 'If it compiles, ship it'

More likely it should be fixed so that DDB/KDB are not required options.
Marcel?

Scott

------------------------------

Message: 23
Date: Sun, 11 Jul 2004 10:39:09 -0600
From: Scott Long <scottl@samsco.org>
Subject: Re: -current kernel panics at boot
To: Kim Culhan <w8hdkim@yahoo.com>
Cc: freebsd-current@freebsd.org
Message-ID: <40F16D2D.7090808@samsco.org>
Content-Type: text/plain; charset=us-ascii; format=flowed

Kim Culhan wrote:
> Is this a known situation?
> 
> Can provide more details if they would be useful
> 
> tnx
> -kim
> 

Maybe you are seeing the small window of instability from the DDB/KDB
changes?  Part of this was fixed a few minutes ago.

Scott

------------------------------

Message: 24
Date: Sun, 11 Jul 2004 12:42:38 -0400 (EDT)
From: Bryan Liesner <bryan@kishka.net>
Subject: Re: -current kernel panics at boot without KDB DDB
To: Mark Dixon <mark@markdnet.demon.co.uk>
Cc: Kim Culhan <w8hdkim@yahoo.com>
Message-ID: <20040711123834.F569@gravy.kishka.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Sun, 11 Jul 2004, Mark Dixon wrote:

> On Sunday 11 Jul 2004 17:30, Kim Culhan wrote:
>> To avoid a panic it seems you must have both
>>
>> options     KDB
>> options     DDB
>>
>> In the kernel config
>
> I think this should be added to UPDATING.
>

Why? It shouldn't panic if you don't want or need these options 
compiled in.

-Bryan

------------------------------

Message: 25
Date: Sun, 11 Jul 2004 12:44:57 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on powerpc/powerpc
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<powerpc@freebsd.org>
Message-ID: <20040711164457.AE64E7303F@freebsd-current.sentex.ca>

TB --- 2004-07-11 15:51:49 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-11 15:51:49 - starting CURRENT tinderbox run for powerpc/powerp
c
TB --- 2004-07-11 15:51:49 - cleaning the sandbox
TB --- 2004-07-11 15:53:03 - checking out the source tree
TB --- 2004-07-11 15:53:03 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerp
c
TB --- 2004-07-11 15:53:03 - /usr/bin/cvs -f -R -Q -d/home/ncvs checkout -P -A
 src
TB --- 2004-07-11 16:00:42 - WARNING: /home/tinderbox/sandbox/powerpc.diff doe
s not exist
TB --- 2004-07-11 16:00:42 - building world (CFLAGS=-O -pipe)
TB --- 2004-07-11 16:00:42 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerp
c/src
TB --- 2004-07-11 16:00:42 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
TB --- 2004-07-11 16:44:35 - building generic kernel (COPTFLAGS=-O -pipe)
TB --- 2004-07-11 16:44:35 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerp
c/src
TB --- 2004-07-11 16:44:35 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Sun Jul 11 16:44:35 UTC 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
[...]
awk -f /tinderbox/CURRENT/powerpc/powerpc/src/sys/tools/makeobjops.awk /tinder
box/CURRENT/powerpc/powerpc/src/sys/powerpc/powerpc/pic_if.m -h
if [ -f .olddep ]; then mv .olddep .depend; fi
rm -f .newdep
/usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP="cc -E" CC
="cc" xargs mkdep -a -f .newdep -O -pipe  -Wall -Wredundant-decls -Wnested-ext
erns -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast
-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/tinderbox/CURRENT
/powerpc/powerpc/src/sys -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/
dev/acpica -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/altq -I/tinder
box/CURRENT/powerpc/powerpc/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/powe
rpc/powerpc/src/sys/contrib/pf -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/co
ntrib/dev/ath -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/dev/ath/fre
ebsd -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/ngatm -D_KERNEL -inc
lude opt_global.h -msoft-float -fno-common -finline-limit=15000  -msoft-float 
-ffreestanding
/tinderbox/CURRENT/powerpc/powerpc/src/sys/ddb/db_main.c:40:25: machine/kdb.h:
 No such file or directory
/tinderbox/CURRENT/powerpc/powerpc/src/sys/ddb/db_run.c:41:25: machine/kdb.h: 
No such file or directory
/tinderbox/CURRENT/powerpc/powerpc/src/sys/kern/subr_kdb.c:40:25: machine/kdb.
h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /tinderbox/CURRENT/powerpc/powerpc/obj/powerpc/tinderbox/CURRENT/power
pc/powerpc/src/sys/GENERIC.
*** Error code 1

Stop in /tinderbox/CURRENT/powerpc/powerpc/obj/powerpc/tinderbox/CURRENT/power
pc/powerpc/src/sys/GENERIC.
*** Error code 1

Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
*** Error code 1

Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
TB --- 2004-07-11 16:44:57 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-07-11 16:44:57 - ERROR: failed to build generic kernel
TB --- 2004-07-11 16:44:57 - tinderbox aborted


------------------------------

Message: 26
Date: Sun, 11 Jul 2004 09:49:21 -0700
From: Marcel Moolenaar <marcel@xcllnt.net>
Subject: Re: -current kernel panics at boot without KDB DDB
To: Scott Long <scottl@samsco.org>
Cc: Kim Culhan <w8hdkim@yahoo.com>
Message-ID: <20040711164921.GA57105@dhcp50.pn.xcllnt.net>
Content-Type: text/plain; charset=us-ascii

On Sun, Jul 11, 2004 at 10:37:32AM -0600, Scott Long wrote:
> Mark Dixon wrote:
> >On Sunday 11 Jul 2004 17:30, Kim Culhan wrote:
> >
> >>To avoid a panic it seems you must have both
> >>
> >>options     KDB
> >>options     DDB
> >>
> >>In the kernel config
> >
> >
> >I think this should be added to UPDATING.
> >
> >Mark
> >
> >'If it compiles, ship it'
> 
> More likely it should be fixed so that DDB/KDB are not required options.
> Marcel?

DDB, GDB nor KDB are required. They wouldn't be options if they were,
now would they? :-)

The problem was elsewhere and is already fixed. There's no need to keep
speculating like this.

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net

------------------------------

Message: 27
Date: Sun, 11 Jul 2004 10:11:23 -0700 (PDT)
From: Kim Culhan <w8hdkim@yahoo.com>
Subject: -current panic fixed
To: freebsd-current@FreeBSD.org
Cc: marcel@xcllnt.net
Message-ID: <20040711171123.7618.qmail@web50702.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii

> Maybe you are seeing the small window of instability from the
> DDB/KDB
> changes?  Part of this was fixed a few minutes ago.

Yep that fixed it.. thanks muchly
Marcel and Scott

-kim



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

------------------------------

Message: 28
Date: Sun, 11 Jul 2004 10:23:54 -0700 (PDT)
From: Kim Culhan <w8hdkim@yahoo.com>
Subject: Re: top m mode reads zeros
To: Kris Kennaway <kris@obsecurity.org>
Cc: freebsd-current@FreeBSD.org
Message-ID: <20040711172354.88189.qmail@web50703.mail.yahoo.com>
Content-Type: text/plain; charset="us-ascii"

--- Kris Kennaway <kris@obsecurity.org> wrote:
> On Sat, Jul 10, 2004 at 11:01:15AM -0700, Kim Culhan wrote:
> > The recent modifications to top producing
> > the io numbers with the m command don't appear
> > to working correctly here.
> > 
> > Attached is a snapshot of a top display taken
> > while a make world is in progress.
> > 
> > Any thoughts on this?
> 
> I saw this when my kernel was out of sync with the world.
> Double-check this on your system.

This does not appear to be the case here.

The process was to rm -r /usr/obj and /usr/src

cvsup -current and make world & a new kernel

attached is a snapshot of top in m mode while making world
and present dmesg output

-kim



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
-------------- next part --------------
Copyright (c) 1992-2004 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.2-CURRENT #6: Sun Jul 11 12:56:11 EDT 2004
    kimc@heifer.kim.net:/usr/src/sys/i386/compile/heifer
ACPI APIC Table: <IntelR AWRDACPI>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3394.22-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Hyperthreading: 2 logical CPUs
real memory  = 1072627712 (1022 MB)
avail memory = 1040035840 (991 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <IntelR AWRDACPI> on motherboard
acpi0: [GIANT-LOCKED]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci1: <ACPI PCI bus> on pcib1
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port 0xa000-0xa0
1f mem 0xfd000000-0xfd01ffff irq 18 at device 1.0 on pci1
em0: [GIANT-LOCKED]
em0: Ethernet address: 00:30:48:80:aa:d4
em0:  Speed:N/A  Duplex:N/A
pcib2: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
3ware device driver for 9000 series storage controllers, version: 2.50.00.000

twa0: <3ware 9000 series Storage Controller> port 0xb000-0xb0ff mem 0xf9000000
-0xf97fffff,0xf9880000-0xf98800ff irq 24 at device 1.0 on pci2
twa0: [GIANT-LOCKED]
twa0: 4 ports, Firmware FE9X 2.02.00.008, BIOS BE9X 2.02.01.037
pci2: <mass storage, SCSI> at device 4.0 (no driver attached)
uhci0: <UHCI (generic) USB controller> port 0xd400-0xd41f irq 16 at device 29.
0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0xd000-0xd01f irq 19 at device 29.
1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <base peripheral> at device 29.4 (no driver attached)
pci0: <base peripheral, interrupt controller> at device 29.5 (no driver attach
ed)
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pci3: <display, VGA> at device 9.0 (no driver attached)
em1: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port 0xc400-0xc4
3f mem 0xfc000000-0xfc01ffff irq 19 at device 10.0 on pci3
em1: [GIANT-LOCKED]
em1: Ethernet address: 00:30:48:80:aa:d5
em1:  Speed:N/A  Duplex:N/A
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel 6300ESB UDMA100 controller> port 0xf000-0xf00f,0x376,0x170-0x1
77,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0
-0x3f5 irq 6 drq 2 on acpi0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
orm0: <ISA Option ROMs> at iomem 0xc8000-0xc97ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
acd0: CDROM <CD-224E> at ata1-master PIO4
da0 at twa0 bus 0 target 0 lun 0
da0: <3ware Logical Disk 00 1.00> Fixed Direct Access SCSI-0 device 
da0: 100.000MB/s transfers
da0: 152577MB (312477696 512 byte sectors: 255H 63S/T 19450C)
da1 at twa0 bus 0 target 1 lun 0
da1: <3ware Logical Disk 01 1.00> Fixed Direct Access SCSI-0 device 
da1: 100.000MB/s transfers
da1: 152577MB (312477696 512 byte sectors: 255H 63S/T 19450C)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/da0s1a
em0: Link is up 100 Mbps Full Duplex
-------------- next part --------------
last pid: 31139;  load averages:  1.03,  0.87,  0.50    up 0+00:15:32  13:13:3
0
44 processes:  2 running, 42 sleeping
CPU states: 50.0% user,  0.0% nice,  1.2% system,  0.6% interrupt, 48.2% idle

Mem: 40M Active, 163M Inact, 102M Wired, 436K Cache, 111M Buf, 690M Free
Swap: 8000M Total, 8000M Free

  PID USERNAME   READ  WRITE  FAULT  TOTAL PERCENT COMMAND
  231 root          0      0      0      0   0.00% adjkerntz
31138 root          0      0      0      0   0.00% cc1plus
31137 root          0      0      0      0   0.00% c++
31091 root          0      0      0      0   0.00% make
30536 root          0      0      0      0   0.00% sh
30535 root          0      0      0      0   0.00% make
30078 root          0      0      0      0   0.00% top
30011 root          0      0      0      0   0.00% sh
30004 root          0      0      0      0   0.00% make
18449 root          0      0      0      0   0.00% sh
18442 root          0      0      0      0   0.00% make
18441 root          0      0      0      0   0.00% sh
 3010 root          0      0      0      0   0.00% csh
 2751 kimc          0      0      0      0   0.00% su
 2639 kimc          0      0      0      0   0.00% csh
 2610 root          0      0      0      0   0.00% sshd2

------------------------------

Message: 29
Date: Sun, 11 Jul 2004 18:25:03 +0100
From: Bruce M Simpson <bms@spc.org>
Subject: Re: full duplex sound card dirve
To: Richard Neese <rneese@adelphia.net>
Cc: current@freebsd.org
Message-ID: <20040711172503.GA828@empiric.dek.spc.org>
Content-Type: text/plain; charset=us-ascii

On Sat, Jul 10, 2004 at 11:01:05AM -0400, Richard Neese wrote:
> is anyone working on full   duplex drivered for fbsd and soundcards. half th
e 
> apps I use say the sound is only half duplex.  like kphone wich  we   are 
> porting and    cpphone   and a few other     including asterisk0 pbx  look a
t 
> te sound card and report it as half duplex. 

The vast majority of the drivers we ship are full duplex, but it's possible
that the applications concerned might not be getting this information. Many
recent commits have happened in this area, particularly with regard to
Linux emulation.

I'd suggest browsing the source code or using ktrace to determine which
ioctl(s) the affected applications are using (or failing to use).

regards,
BMS

------------------------------

Message: 30
Date: Sun, 11 Jul 2004 19:57:49 +0200 (CEST)
From: Claus Guttesen<cguttesen@yahoo.dk>
Subject: Re: current/perl/spamassassin
To: asfdqwer xzcvdsf <brueggma@yahoo.com>,	freebsd-current@freebsd.org
Message-ID: <20040711175749.70207.qmail@web14102.mail.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1

>  Spamassassin seems to be using a HUDGE amount of
> memory

Have you upgraded perl from 5.8.x to 5.8.4? From
/usr/ports/UPDATING:

20040531:
  AFFECTS: users of lang/perl5.8
  AUTHOR: mat@FreeBSD.org, marcus@FreeBSD.org

  lang/perl5.8 has been updated to 5.8.4. you should
update everything
  depending on perl, that is :

regards
Claus


Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter o
g virusscan

------------------------------

Message: 31
Date: Sun, 11 Jul 2004 14:19:53 -0400
From: jhandvil <jhandvil@tampabay.rr.com>
Subject: Re: 5.2.1 p9 --> 5.2 current 20040708 upgrade ATA_IDENTIFY	no
	interrupt
To: freebsd-current@freebsd.org
Message-ID: <200407111419.53935.jhandvil@tampabay.rr.com>
Content-Type: text/plain;  charset="iso-8859-1"

On Sunday 11 July 2004 10:43 am, jhandvil wrote:
> On Sunday 11 July 2004 07:34 am, Ivan Voras wrote:
> > jhandvil wrote:
> > > Just upgraded from 5.2.1 p9 to 5.2-current.  Received the following
> > > error during boot (copied by hand, please excuse typo's):
> > >
> > > ata0-master: FAILURE - ATA_IDENTIFY no interrupt
> > > ata0-master: FAILURE - ATA_IDENTIFY no interrupt
> > > Mounting root from ufs:/dev/ad0s1a
> > > setrootbyname failed
> > > ffs_mountroot: can't find rootvp
> > > Root mount failed: 6
> >
> > I have a very similar situation at my machine. Could you try toggling
> > WITNESS in the kernel config and report to the list if there are any
> > changes?
>
> Thanks for the fast response.  I toggled turned off WITNESS (and turned on
> DDB), and I got the same response.
>
> I tried digging some more.  I know that there was an issue earlier with the

> via 8237 and dma, so I tried disabling dma (hw.ata.ata_dma=0).  This had no

> effect.  I'll attempt to dig around in the PCI driver and the ata driver a
> little more and see if I can add some traces around the interrupt
> assignment. Any additional suggestions would be much appreciated.

Additional information:  I added a printf at line 236 of ata-queue.c (in 
function ata_completed).  The output shows the values in the ata_request 
structure:

..
command=0xec  (ATA_ATA_IDENTIFY)
flags=0x282 (ATA_R_IMMEDIATE | ATA_R_READ | ATA_R_TIMEOUT)
retries=-1
..

This command is called from ata_identify_devices.  I will trace out further to
 
see what is being passed in the ata_channel struct.  Please let me know any 
additional traces that will help to find the root cause.

Thanks,
Justin


------------------------------

Message: 32
Date: Sun, 11 Jul 2004 13:12:02 -0500 (CDT)
From: "Conrad J. Sabatier" <conrads@cox.net>
Subject: MIDI anytime soon?  Patches available anywhere?
To: freebsd-current@freebsd.org
Message-ID: <XFMail.20040711131202.conrads@cox.net>
Content-Type: text/plain; charset=us-ascii

Still eagerly awaiting the new MIDI stuff here.  Is it ready to be
committed, but just being held up due to Mat's personal business?

I've tried unsuccessfully to locate the patches.  If anyone knows where
they can be found, I'd certainly appreciate it.

I actually started browsing the NetBSD site last night to see what kind
of MIDI support they have.  Looks like they've had MIDI all along, or am
I mistaken?

It's been *way* too long since we've had any kind of MIDI support in
FreeBSD!  It is time!  :-)

Thanks.

-- 
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"

------------------------------

Message: 33
Date: Sun, 11 Jul 2004 19:29:57 +0100
From: Bruce M Simpson <bms@spc.org>
Subject: Re: 5.2.1 p9 --> 5.2 current 20040708 upgrade ATA_IDENTIFY no
	interrupt
To: jhandvil <jhandvil@tampabay.rr.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040711182957.GA769@empiric.dek.spc.org>
Content-Type: text/plain; charset="us-ascii"

On Sun, Jul 11, 2004 at 10:43:21AM -0400, jhandvil wrote:
> > > ata0-master: FAILURE - ATA_IDENTIFY no interrupt
> > > ata0-master: FAILURE - ATA_IDENTIFY no interrupt
> > > Mounting root from ufs:/dev/ad0s1a
> > > setrootbyname failed
> > > ffs_mountroot: can't find rootvp
> > > Root mount failed: 6

This is a very, very similar situation to what I've just observed on
several IBM ThinkPad T41 systems with the Panasonic UJDA755 CDRW module!

Please post as much information about your hardware configuration as you
can; please also see my recent posts to -mobile for descriptions of how
to pull a backtrace in the situation where your machine faults and drops
into the debugger without the ability to 'call doadump'.

I now strongly suspect we have a bug in ata(4). I will backtrack through
green@'s recent commits concerning atapicam as I think this may tell
part of the story (he identified some other issues and suggested fixes,
I have a hunch he is on a similar track).

I'm in a debugging session now and will post further results of my findings
on -mobile.

Regards,
BMS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 167 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040711/
0a876fd0/attachment-0001.bin

------------------------------

Message: 34
Date: Sun, 11 Jul 2004 19:37:02 +0100
From: Bruce M Simpson <bms@spc.org>
Subject: Re: CDRW causes Thinkpad T41 to panic
To: Kent Hauser <kent.hauser@verizon.net>
Cc: Chuck Swiger <cswiger@mac.com>
Message-ID: <20040711183702.GB769@empiric.dek.spc.org>
Content-Type: text/plain; charset=us-ascii

On Wed, May 26, 2004 at 05:21:14PM -1000, Kent Hauser wrote:
> ad0: 35293MB <HTS548040MAT00> [71707/16/63] at ata0-master UDMA100
> ata1-slave: FAILURE - ATAPI_IDENTIFY no interrupt
> ata1-slave: FAILURE - ATAPI_IDENTIFY no interrupt
> acd0: CDRW <UJDA755zDVD/CDRW> at ata1-master UDMA33
> Memory modified after free 0xc44d8a00(508) val=1ff01ff @ 0xc44d8a00

Again, this looks VERY, VERY similar to the behaviour which I observed
and documented on two separate IBM T41 systems this week.

Further details in my earlier posts on -mobile.

Regards,
BMS

------------------------------

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

End of freebsd-current Digest, Vol 68, Issue 20
***********************************************


--
Evariste Galois:
    �����呛��樱������蔷������,����直前......


�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234]