Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2005 08:23:07 -0800 (PST)
From:      Doug Ambrisko <ambrisko@ambrisko.com>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        stable@FreeBSD.org
Subject:   Re: stable sata patch: panic at kernel boot (can't dump)
Message-ID:  <200502161623.j1GGN7qs073842@ambrisko.com>
In-Reply-To: <20050216181719.T29389@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Dmitry Morozovsky writes:
| On Wed, 16 Feb 2005, Doug Ambrisko wrote:
| 
| DA> | trying to boot RELENG_4 kernel with your patches (sata_7) on our FTP I got 
| DA> | kernel panic (page fault in kernel mode, pid 2, no dump possible). Hardware 
| DA> | involved:
| DA> | 
| DA> | root@kucha:~# grep ata /var/run/dmesg.boot 
| DA> | atapci0: <Promise ATA66 controller> port 0xa000-0xa03f,0x9c00-0x9c03,0x9800-0x9807,0x9400-0x9403,0x9000-0x9007 mem 0xed100000-0xed11ffff irq 11 at device 8.0 on pci0
| DA> | ata2: at 0x9000 on atapci0
| DA> | ata3: at 0x9800 on atapci0
| DA> | atapci1: <CMD 649 ATA100 controller> port 0xb400-0xb40f,0xb000-0xb003,0xac00-0xac07,0xa800-0xa803,0xa400-0xa407 irq 10 at device 9.0 on pci0
| DA> | ata4: at 0xa400 on atapci1
| DA> | ata5: at 0xac00 on atapci1
| DA> | atapci2: <VIA 8233 ATA133 controller> port 0xbc00-0xbc0f at device 17.1 on pci0
| DA> | ata0: at 0x1f0 irq 14 on atapci2
| DA> | ata1: at 0x170 irq 15 on atapci2
| DA> | ad0: 238475MB <WDC WD2500JB-00EVA0> [484521/16/63] at ata0-master UDMA100
| DA> | ad2: 114473MB <WDC WD1200JB-00CRA1> [232581/16/63] at ata1-master UDMA100
| DA> | ad4: 76319MB <WDC WD800JB-00CRA1> [155061/16/63] at ata2-master UDMA66
| DA> | ad6: 76319MB <WDC WD800BB-00CJA1> [155061/16/63] at ata3-master UDMA66
| DA> | ad8: 57241MB <WDC WD600BB-00CCB0> [116301/16/63] at ata4-master UDMA100
| DA> | 
| DA> | Kernel paniced just after sio0/sio1, where basic RELENG_4 starts ata channel 
| DA> | probes. No serial console at the moment, alas.
| DA> | 
| DA> | Unfortunately I can't bring this machine out of service for long time; however, 
| DA> | we can survive occasional reboots/crashes. What other info can I provide to 
| DA> | debug this?
| DA> 
| DA> I'd like some clarification.  Does the system boot sometimes and other times
| DA> is doesn't?  Once the system is up does it stay up for a while?  It doesn't 
| DA> seem like you are not using RAID.  I have a couple more ata bug fixes that
| DA> I need to roll into another patchset.  It fixes a bug in which DMA transfers
| DA> have not been cancelled when the controller is reset.  I fixed another
| DA> panic situation in version 8 that happens on boot if you have a bad sector
| DA> at the beginning of the drive.  I'd wait to version 9.  I should be able
| DA> to get that out later today.
| 
| Sorry to not being specific enough ;-)
| 
| No, the system panics reliably, just after sio initializing (for me it seems 
| ata drives probes phase). I did not use hardware RAID, I use vinum over these 5 
| drives.
| 
| Without the patchset system stays up for months acting as ftp/cvsupd/nfsd 
| server without any single issue.

You are not using any SATA drives or have any SATA adapters correct.
I haven't tried using vinum with my patch set.  That might be a problem.  
I'm not sure if anyone has tried vinum with my patch set most people use
ata-raid if anything at all.

I'm not sure if I'll have time today to setup vinum to test with.  If you
are not using SATA or ata-raid you will only see some minimal advantages
with this patch set.

Thanks,

Doug A.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502161623.j1GGN7qs073842>