Date: Sat, 15 Mar 2003 21:29:16 -0700 From: Scott Long <scott_long@btc.adaptec.com> To: FUJITA Kazutoshi <fujita@soum.co.jp> Cc: andy@siliconlandmark.com, freebsd-current@freebsd.org Subject: Re: UDF: bad file descriptor Message-ID: <3E73FD9C.8040004@btc.adaptec.com> In-Reply-To: <20030316.131536.74752056.fujita@soum.co.jp> References: <20030316.052351.74752614.fujita@soum.co.jp> <20030316.060650.71086272.fujita@soum.co.jp> <20030315210054.U36274@alpha.siliconlandmark.com> <20030316.131536.74752056.fujita@soum.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Sorry for neglecting UDF for so long. Regarding this problem, what program was used to generate the UDF filesystem on the disk? If the disk doesn't have much data on it, would it be possible to 'dd' an image of the disk to a file and send me the file? Scott FUJITA Kazutoshi wrote: > From: Andre Guibert de Bruet <andy@siliconlandmark.com> > Subject: Re: UDF: bad file descriptor > Date: Sat, 15 Mar 2003 21:09:55 -0500 (EST) > Message-ID: <20030315210054.U36274@alpha.siliconlandmark.com> > >>># /bin/ls -l >>>ls: VR_MOVIE.VRO: Bad file descriptor >>>total 111 >>>drw-rw-rw- 1 root wheel 2048 Mar 12 13:33 . >>>drw-rw-rw- 4 root wheel 2048 Mar 16 18:00 .. >>>-rw-rw-rw- 1 root wheel 56980 Mar 16 18:01 VR_MANGR.BUP >>>-rw-rw-rw- 1 root wheel 56980 Mar 16 18:01 VR_MANGR.IFO >> >>Sounds like the lstat on VR_MOVIE.VRO is failing. Does 'truss ls -l' >>display anything relevant? > > > It seems there is no relevant. > > # truss /bin/ls -l > ioctl(1,TIOCGETA,0xbfbff3b0) = 0 (0x0) > ioctl(1,TIOCGWINSZ,0xbfbff414) = 0 (0x0) > getuid() = 0 (0x0) > readlink("/etc/malloc.conf",0xbfbff300,63) ERR#2 'No such file or directory' > issetugid() = 0 (0x0) > getuid() = 0 (0x0) > mmap(0x0,4096,0x3,0x1002,-1,0x0) = 671887360 (0x280c3000) > break(0x80d5000) = 0 (0x0) > break(0x80d6000) = 0 (0x0) > break(0x80d7000) = 0 (0x0) > break(0x80d8000) = 0 (0x0) > lstat(".",0x80d7148) = 0 (0x0) > open(".",0x0,00) = 3 (0x3) > fchdir(0x3) = 0 (0x0) > open(".",0x0,00) = 4 (0x4) > stat(".",0xbfbff2c0) = 0 (0x0) > open(".",0x4,00) = 5 (0x5) > fstat(5,0xbfbff2c0) = 0 (0x0) > fcntl(0x5,0x2,0x1) = 0 (0x0) > __sysctl(0xbfbff170,0x2,0x80cf4dc,0xbfbff16c,0x0,0x0) = 0 (0x0) > fstatfs(0x5,0xbfbff1c0) = 0 (0x0) > break(0x80d9000) = 0 (0x0) > fstat(5,0xbfbff2c0) = 0 (0x0) > fchdir(0x5) = 0 (0x0) > getdirentries(0x5,0x80d8000,0x1000,0x80d5054) = 96 (0x60) > lstat(".",0x80d7248) = 0 (0x0) > lstat("..",0x80d7348) = 0 (0x0) > lstat("VR_MOVIE.VRO",0x80d7448) ERR#9 'Bad file descriptor' > lstat("VR_MANGR.BUP",0x80d7548) = 0 (0x0) > lstat("VR_MANGR.IFO",0x80d7648) = 0 (0x0) > getdirentries(0x5,0x80d8000,0x1000,0x80d5054) = 0 (0x0) > lseek(5,0x0,0) = 0 (0x0) > close(5) = 0 (0x0) > fchdir(0x3) = 0 (0x0) > fchdir(0x4) = 0 (0x0) > close(4) = 0 (0x0) > stat("/etc/nsswitch.conf",0xbfbfed60) = 0 (0x0) > open("/etc/nsswitch.conf",0x0,0666) = 4 (0x4) > break(0x80da000) = 0 (0x0) > ioctl(4,TIOCGETA,0xbfbfec60) ERR#25 'Inappropriate ioctl for device' > fstat(4,0xbfbfebb0) = 0 (0x0) > break(0x80de000) = 0 (0x0) > read(0x4,0x80da000,0x4000) = 0 (0x0) > ioctl(4,TIOCGETA,0xbfbfec40) ERR#25 'Inappropriate ioctl for device' > close(4) = 0 (0x0) > geteuid() = 0 (0x0) > stat("/etc/spwd.db",0xbfbfeca0) = 0 (0x0) > open("/etc/spwd.db",0x0,00) = 4 (0x4) > fcntl(0x4,0x2,0x1) = 0 (0x0) > read(0x4,0x80d8200,0x104) = 260 (0x104) > lseek(4,0x5000,0) = 20480 (0x5000) > read(0x4,0x80da000,0x1000) = 4096 (0x1000) > lseek(4,0x4000,0) = 16384 (0x4000) > read(0x4,0x80db000,0x1000) = 4096 (0x1000) > open("/etc/group",0x0,0666) = 5 (0x5) > fstat(5,0xbfbfec80) = 0 (0x0) > break(0x80e2000) = 0 (0x0) > lseek(5,0x0,1) = 0 (0x0) > lseek(5,0x0,0) = 0 (0x0) > stat("/etc/nsswitch.conf",0xbfbfed40) = 0 (0x0) > read(0x5,0x80de000,0x4000) = 378 (0x17a) > ls: write(2,0xbfbfe4d0,4) = 4 (0x4) > VR_MOVIE.VRO: Bad file descriptorwrite(2,0xbfbfe4f0,33) = 33 (0x21) > > write(2,0x80c4733,1) = 1 (0x1) > fstat(1,0xbfbfe850) = 0 (0x0) > ioctl(1,TIOCGETA,0xbfbfe890) = 0 (0x0) > total 111 > write(1,0x80dc000,10) = 10 (0xa) > pathconf(0xbfbfe9d0,0x3b) ERR#22 'Invalid argument' > gettimeofday(0xbfbfed78,0x0) = 0 (0x0) > access("/etc/localtime",4) = 0 (0x0) > open("/etc/localtime",0x0,00) = 6 (0x6) > fstat(6,0xbfbfecc0) = 0 (0x0) > read(0x6,0xbfbfc9a0,0x1f08) = 73 (0x49) > close(6) = 0 (0x0) > drw-rw-rw- 1 root wheel 2048 Mar 12 13:33 . > write(1,0x80dc000,48) = 48 (0x30) > drw-rw-rw- 4 root wheel 2048 Mar 16 18:00 .. > write(1,0x80dc000,49) = 49 (0x31) > -rw-rw-rw- 1 root wheel 56980 Mar 16 18:01 VR_MANGR.BUP > write(1,0x80dc000,59) = 59 (0x3b) > -rw-rw-rw- 1 root wheel 56980 Mar 16 18:01 VR_MANGR.IFO > write(1,0x80dc000,59) = 59 (0x3b) > exit(0x1) > process exit, rval = 256 > > > Regards, > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E73FD9C.8040004>