From owner-freebsd-current@FreeBSD.ORG Sun Jan 16 11:40:56 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D2A01065670 for ; Sun, 16 Jan 2011 11:40:56 +0000 (UTC) (envelope-from marek_sal@wp.pl) Received: from mx4.wp.pl (mx4.wp.pl [212.77.101.8]) by mx1.freebsd.org (Postfix) with ESMTP id B01C78FC1A for ; Sun, 16 Jan 2011 11:40:55 +0000 (UTC) Received: (wp-smtpd smtp.wp.pl 16846 invoked from network); 16 Jan 2011 12:40:53 +0100 Received: from cwx170.internetdsl.tpnet.pl (HELO marekdesktop) (marek_sal@[83.19.131.170]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 16 Jan 2011 12:40:53 +0100 Message-ID: <3A3C33C4497548B796EB98EF3216BEB0@marekdesktop> From: "Marek Salwerowicz" To: "Alexander Motin" References: <4D31FF65.6010000@FreeBSD.org><0A45D61F328244969D19C8A45A03F92D@marekdesktop> <4D32209B.3010705@FreeBSD.org> <815E0E902FA54E6C934B5FB01D31045A@marekdesktop> <4D3233D0.9070108@FreeBSD.org> Date: Sun, 16 Jan 2011 12:40:48 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO 0000000 [ofOX] X-Mailman-Approved-At: Sun, 16 Jan 2011 13:23:29 +0000 Cc: current Subject: Re: Soekris net5501-70 problem with loading ATA modulesonFreeBSD-Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2011 11:40:56 -0000 >>> It would be nice if you enabled verbose kernel messages to get more info. >> Verbose log in attachment - please see it. > > I've meant log with problem. When you are loading modules on-fly. so5501a% sudo kldload ata so5501a% sudo kldload atapci.ko and dmesg: pci0: driver added found-> vendor=0x1022, dev=0x2082, revid=0x00 domain=0, bus=0, slot=1, func=2 class=10-10-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0220, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=10 pci0:0:1:2: reprobing on driver added found-> vendor=0x168c, dev=0x0013, revid=0x01 domain=0, bus=0, slot=17, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0116, statreg=0x0290, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x0a (2500 ns), maxlat=0x1c (7000 ns) intpin=a, irq=15 powerspec 2 supports D0 D3 current D0 pci0:0:17:0: reprobing on driver added found-> vendor=0x1022, dev=0x209a, revid=0x01 domain=0, bus=0, slot=20, func=2 class=01-01-80, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x02a0, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) pci0:0:20:2: reprobing on driver added atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 20.2 on pci0 ata0: on atapci0 ata0: reset tp1 mask=03 ostat0=60 ostat1=50 ata0: stat0=0x20 err=0x20 lsb=0x20 msb=0x20 ata0: stat1=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=20 stat1=50 devices=0x2 ata0: Identifying devices: 00000002 ata0: New devices: 00000002 ata0-slave: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=40 wire ata1: on atapci0 ata1: reset tp1 mask=00 ostat0=ff ostat1=ff ata1: Identifying devices: 00000000 ata1: New devices: 00000000 found-> vendor=0x1022, dev=0x2094, revid=0x02 domain=0, bus=0, slot=21, func=0 class=0c-03-10, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x0230, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=7 pci0:0:21:0: reprobing on driver added found-> vendor=0x1022, dev=0x2095, revid=0x02 domain=0, bus=0, slot=21, func=1 class=0c-03-20, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0230, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=7 pci0:0:21:1: reprobing on driver added pci1: driver added so5501a% so5501a% sudo kldload ataamd so5501a% sudo kldload atadisk dmesg: ad1: Skipping 80pin cable check ad1: Skipping 80pin cable check ad1: setting UDMA33 ad1: 7631MB at ata0-slave UDMA33 ad1: 15630048 sectors [15506C/16H/63S] 1 sectors/interrupt 1 depth queue GEOM: new disk ad1 GEOM: ad1: media size does not match label. so5501a% so5501a% sudo atacontrol list ATA channel 0: Master: no device present Slave: ad1 ATA/ATAPI revision 4 ATA channel 1: Master: no device present Slave: no device present so5501a% So now it works, I am able to mount partition at ad1 ;) -- Marek Salwerowicz