From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 4 16:31:42 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4A9B1A7D; Wed, 4 Sep 2013 16:31:42 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from mail-ve0-x233.google.com (mail-ve0-x233.google.com [IPv6:2607:f8b0:400c:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C5B36208D; Wed, 4 Sep 2013 16:31:41 +0000 (UTC) Received: by mail-ve0-f179.google.com with SMTP id c13so355336vea.24 for ; Wed, 04 Sep 2013 09:31:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=XKa27OKDe9ewp7I9s+bvP097LtkA+VxHI3Fh9yDbWCk=; b=frtCXDU6t24rPHRkOrb2X2Aa1jhUxb6+6DY9/2xktyww57uJ0CqenvLPxKmQqKP61f bTFyYtzsLCOOVf2Z2HjuJBSFUn+9ShEL5zUGpFgNSztb5D2wxvG4JukPoSS6pAMTqo1I Zj5BM1KsLooN5a01V0pN/XHskzazNgIMaiM3PsKT0HEE0K4y4CsOC6MZMgLtozgQ3Hfy 8aoPvQpbmDV0R8W5V88Kw+IFErJObBeibb9NErqbpTsCwMDpxbGBDETduRyqlBZTlyF7 vxkpip8oeFjY3o/XugpsSg/tuMh0LAw7MepfePTD4QOSiDlZ72JhDo+kWSQKvpEWkrEG OomQ== X-Received: by 10.58.197.5 with SMTP id iq5mr849761vec.30.1378312300764; Wed, 04 Sep 2013 09:31:40 -0700 (PDT) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.58.221.9 with HTTP; Wed, 4 Sep 2013 09:31:20 -0700 (PDT) In-Reply-To: <5226DAB0.1060303@FreeBSD.org> References: <520D4ADB.50209@FreeBSD.org> <5224511D.4090503@FreeBSD.org> <20130903134251.GB43281@caravan.chchile.org> <5226DAB0.1060303@FreeBSD.org> From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Wed, 4 Sep 2013 18:31:20 +0200 X-Google-Sender-Auth: JDxTeJui3sHLgm5FliEs0nhysPc Message-ID: Subject: Re: [RFC][CFT] GEOM direct dispatch and fine-grained CAM locking To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, "freebsd-current@freebsd.org" , freebsd-geom@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Sep 2013 16:31:42 -0000 On Wed, Sep 4, 2013 at 9:01 AM, Alexander Motin wrote: > >> - HP EliteBook 8460p (amd64: r255188) with DVD replaced by a second >> hardrive (where fbsd is installed): It crash just after the message >> "GEOM: new disk ada1" during boot >> >> screenshot of the crash screen: >> http://goo.gl/tW1VIx >> >> A little more information: >> addr2line -e /boot/kernel/kernel.symbols 0xffffffff8083abd3 >> /usr/src/sys/geom/geom_io.c:129 > > > Unfortunately I can't reproduce that and have not enough clues. It may be > specific to some GEOM class. Could you describe/show all GEOM topology, file > systems, etc. you have there? > gpart show > sysctl kern.geom.confxml > ... Here are: - ada0: internal laptop hard-drive - ada1: the hard-drive that replace my DVD reader (partition 2: /boot in clear, partition 3: geli encrypted partition) => There is no special boot-loader, I manually select the hard-drive during Hardware: ahci0: port 0x4088-0x408f,0x4094-0x4097,0x4080-0x4087,0x4090-0x4093,0x4040-0x405f mem 0xd4827000-0xd48277ff irq 19 at device 31.2 on pci0 ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA-8 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada0: Command Queueing enabled ada0: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: ATA-8 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) ada1: quirks=0x1<4K> ada1: Previously was known as ad6 Regarding partition: root@laptop:/root # gpart show => 63 625142385 ada0 MBR (298G) 63 1985 - free - (992k) 2048 31457280 1 ntfs (15G) 31459328 4194304 2 ntfs [active] (2.0G) 35653632 589486768 3 ntfs (281G) 625140400 2048 - free - (1.0M) => 34 976773101 ada1 GPT (465G) 34 6 - free - (3.0k) 40 128 1 freebsd-boot (64k) 168 4194304 2 freebsd-ufs (2.0G) 4194472 972578656 3 freebsd-ufs (463G) 976773128 7 - free - (3.5k) And here is the long output of geom configuration: root@laptop:/root # sysctl kern.geom.confxml kern.geom.confxml: FD RAID DEV ada1p3.eli 4 r0w0e0 gpt/boot 4 r0w0e0 gptid/1c841adf-3cde-11e2-8cfc-a0b3cc295ab2 4 r0w0e0 ada1p3 3 r0w0e0 ada1p2 3 r0w0e0 ada1p1 3 r0w0e0 ntfs/System 4 r1w1e0 ntfs/BDEDrive 4 r0w0e0 ntfs/Recovery 4 r0w0e0 ada1 2 r0w0e0 ada0s3 3 r0w0e0 ada0s2 3 r0w0e0 ada0s1 3 r0w0e0 ada0 2 r0w0e0 ELI ada1p3.eli 3 928 928 BOOT 0 6 hardware 256 AES-XTS ACTIVE r1w1e1 r1w1e1 ada1p3.eli 497960271360 512 0 0 PART ada1 2 GPT 128 34 976773134 63 16 OK false r2w2e5 r1w1e1 ada1p3 497960271872 512 4096 0 4194472 976773127 3 freebsd-ufs 2147569664 497960271872 516e7cb6-6ecf-11d6-8ff8-00022d09712b c8e5c3ff-3cde-11e2-8cfc-a0b3cc295ab2 r1w1e2 ada1p2 2147483648 512 4096 0 168 4194471 2 freebsd-ufs 86016 2147483648 516e7cb6-6ecf-11d6-8ff8-00022d09712b 874bc9a6-3cde-11e2-8cfc-a0b3cc295ab2 r0w0e0 ada1p1 65536 512 4096 0 40 167 1 freebsd-boot 20480 65536 83bd6b9d-7f41-11dc-be0b-001560b84f0f 1c841adf-3cde-11e2-8cfc-a0b3cc295ab2 ada0 2 MBR 4 63 625142447 63 16 OK false r1w1e2 r1w1e1 ada0s3 301817225216 512 0 1074790400 35653632 625140399 3 ntfs 18254659584 301817225216 7 r0w0e0 ada0s2 2147483648 512 0 3222274048 31459328 35653631 2 ntfs 16107175936 2147483648 7 active r0w0e0 ada0s1 16106127360 512 0 1048576 2048 31459327 1 ntfs 1048576 16106127360 7 LABEL ada1p2 3 r1w1e2 r1w1e1 gpt/boot 2147483648 512 4096 0 0 2147483648 4194304 0 0 ada1p1 3 r0w0e0 r0w0e0 gptid/1c841adf-3cde-11e2-8cfc-a0b3cc295ab2 65536 512 4096 0 0 65536 128 0 0 ada0s3 3 r1w1e1 r1w1e0 ntfs/System 301817225216 512 0 1074790400 0 301817225216 589486768 0 0 ada0s2 3 r0w0e0 r0w0e0 ntfs/BDEDrive 2147483648 512 0 3222274048 0 2147483648 4194304 0 0 ada0s1 3 r0w0e0 r0w0e0 ntfs/Recovery 16106127360 512 0 1048576 0 16106127360 31457280 0 0 SWAP VFS ffs.gpt/boot 4 r1w1e1 ffs.ada1p3.eli 4 r1w1e1 MD DISK ada1 1 r2w2e5 ada1 500107862016 512 4096 0 16 63 WD-WX81A1179372 50014ee601049a6a WDC WD5000BPKT-00PK4T0 ada0 1 r1w1e2 ada0 320072933376 512 0 0 16 63 82JRT2VVT 5000039431d04c9c TOSHIBA MK3261GSYN