From owner-freebsd-questions@FreeBSD.ORG Mon Feb 16 23:27:21 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CBB416A4CF for ; Mon, 16 Feb 2004 23:27:21 -0800 (PST) Received: from agminet02.oracle.com (agminet02.oracle.com [141.146.126.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41BE343D1D for ; Mon, 16 Feb 2004 23:27:21 -0800 (PST) (envelope-from niraj17@iitbombay.org) Received: from rgmgw4.us.oracle.com (rgmgw4.us.oracle.com [138.1.191.13]) i1H7R7lb020137; Mon, 16 Feb 2004 23:27:07 -0800 Received: from rgmgw4.us.oracle.com (localhost [127.0.0.1]) i1H7R7b20986; Tue, 17 Feb 2004 00:27:07 -0700 (MST) Received: from iitbombay.org (indl195ec.idc.oracle.com [152.69.162.195]) i1H7R3b20812; Tue, 17 Feb 2004 00:27:03 -0700 (MST) Message-ID: <4031C246.1080604@iitbombay.org> Date: Tue, 17 Feb 2004 12:57:02 +0530 From: Niraj Kumar User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <402C55C9.9040809@iitbombay.org> <200402160100.19104.vkushnir@Alfacom.net> <4030458B.1080007@iitbombay.org> <200402170028.30788.vkushnir@Alfacom.net> In-Reply-To: <200402170028.30788.vkushnir@Alfacom.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Vladimir Kushnir Subject: Re: Linux patch for reading ufs2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2004 07:27:21 -0000 Hi , Okay ,I was able to reproduce the problem at my machine. I have a feeling that the this error can be avoided if you use CONFIG_LBD in your kernel configuration. ( Device Drivers -> Block Devices - > Support for large block devices ) Please use this option and see whether the problem is still there or not . Meanwhile , I am trying to figure out a better/complete solution. Niraj Vladimir Kushnir wrote: >Hi, >This is /usr/ports/distfiles/emovix-0.8.0.tar.gz - regular file, "ls -li": >1842130 -rw-r--r-- 1 vkushnir wheel 8636010 Jan 5 >23:43 /usr/ports/distfiles/emovix-0.8.0.tar.gz > >I don't know precisely what's relevant but after (lengthy indeed) debugging >information Linux gives: >...... >Feb 15 18:33:58 localhost kernel: (fs/ufs/inode.c, 543), ufs_read_inode: >ENTER, ino 1842130 >Feb 15 18:33:58 localhost kernel: (fs/ufs/inode.c, 636), ufs_read_inode: >Reading ufs2 inode, ino 184213 >Feb 15 18:33:58 localhost kernel: (fs/ufs/inode.c, 704), ufs_read_inode: EXIT >Feb 15 18:34:06 localhost kernel: attempt to access beyond end of device >Feb 15 18:34:06 localhost kernel: hde10: rw=0, want=2147483880, limit=42732580 >Feb 15 18:34:06 localhost kernel: Buffer I/O error on device hde10, logical >block 536870969 >Feb 15 18:34:06 localhost kernel: attempt to access beyond end of device >Feb 15 18:34:06 localhost kernel: hde10: rw=0, want=2147483884, limit=42732580 >Feb 15 18:34:06 localhost kernel: Buffer I/O error on device hde10, logical >block 536870970 >Feb 15 18:34:06 localhost kernel: attempt to access beyond end of device >Feb 15 18:34:06 localhost kernel: hde10: rw=0, want=2147483888, limit=42732580 >Feb 15 18:34:06 localhost kernel: Buffer I/O error on device hde10, logical >block 536870971 >Feb 15 18:34:06 localhost kernel: attempt to access beyond end of device >Feb 15 18:34:06 localhost kernel: hde10: rw=0, want=2147483892, limit=42732580 >Feb 15 18:34:06 localhost kernel: Buffer I/O error on device hde10, logical >block 536870972 >and so on - several blocks in this region (here hd10 == ad0s2e, /usr, mounted >under Linux with "-r -t ufs -o ufstype=ufs2"). And finally it refuses to copy >or untar this file. This is the only information I cn see there. >At the same time when I boot into FreeBSD - no problems whatsoever. > >On Monday 16 February 2004 06:22, Niraj Kumar wrote: > > >>Hi, >> >>Thanks for testing this stuff. >> >>Vladimir Kushnir wrote: >> >> >>>>First off - thanks a bunch, now I don't need to reboot every time I >>>>forgot to copy some files to Linux. >>>>Tested and works here: ad0: 57241MB ; >>>>ad0s2 - current -CURRENT (everything in UFS2); >>>>ad0s5 - Mandrake 9.2 + kernel 2.6.2 + p{1,2}.txt >>>> >>>>There is a file though (emovix distro in ports/distfiles) which Linux >>>>gives an input/output error on. More precisely, it gives me >>>>"attempt to access beyond end of device >>>>Buffer I/O error on device hde10, logical block ..." (several blocks). >>>>Under FreeBSD - no errors on this file so it doesn't seem like HD >>>>problem. >>>> >>>> >>Well , what kind of file is this ? Is it a normal file or some device >>file , or symobolic link etc ...? >>Can you send me the 'dmesg' output for this error (if there is any) ? >>FYI , I have enabled some debugging messages in this patch , so you >>should be getting a lot >>of debugging messages in 'dmesg' . >> >>Any other input on this problem is welcome. >> >>Niraj >> >> >> > >Regards, >Vladimir >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >