I did strace here is the end of file. it seems
interecting:

...

fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(4,
1), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...})
= 0
write(1, "Cdrecord 1.9 (i686-pc-linux-gnu)"..., 72) =
72
fstat64(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(4,
1), ...}) = 0
brk(0x8075000)                          = 0x8075000
open("/dev/sg0", O_RDWR)                = 3
ioctl(3, TIOCGKISS, 0xbfffe150)         = 0
write(1, "Linux sg driver version: 3.1.17\n", 32) = 32
ioctl(3, CDROMAUDIOBUFSIZ, 0xbfffe0f8)  = 0
ioctl(3, 0x5386, 0xbfffe0f4)            = 0
fcntl64(3, F_GETFL)                     = 0x2 (flags
O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
read(3, 0xbfffe078, 136)                = -1 EAGAIN
(Resource temporarily unavailable)
fcntl64(3, F_SETFL, O_RDWR)             = 0
ioctl(3, TIOCSCCINI, 0xbfffe06c)        = 0
open("/dev/sg1", O_RDWR)                = ?
ERESTARTSYS (To be restarted)
--- SIGINT (Interrupt) ---
+++ killed by SIGINT +++

The full file is at
http://igorvrt.freeservers.com/Linux
strace.txt

What's up with /dev/sg1?  That's where it hangs.

Thanks for all help.

Igor.

--- Seth Kurtzberg <[EMAIL PROTECTED]> wrote:
> Having a corrupted library that is still able to run
> is not impossible, but 
> also not very likely.  On the other hand, if you
> have another availble, drop 
> it in and see what happens.
> 
> Try running cdrecord with strace, and find how where
> it stops.
> 
> On Tuesday 28 May 2002 01:17 pm, Mr Igor Vertiletsky
> wrote:
> > Hi All:
> >
> > I am using RH 7.1 with ide cd-writer it was
> working
> > fine, I used it to make cd's and read cd's as
> well. On
> > day all of a sudden when I ran #cdrecord -scanbus,
> the
> > program just froze:
> >
> > # cdrecord -scanbus
> > Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C)
> > 1995-2000 J�rg Schilling
> > Linux sg driver version: 3.1.17
> >
> > ^C gets me out of this, but no matter what I try I
> > cannot get past this. Cdparanoia also complains.
> >
> > My ide-scsi driver seems to be ok. it is attached
> and
> > functionning. I can mount and read cd's without
> > problems.
> >
> >
> > #cat /proc/scsi/scsi
> > Attached devices:
> > Host: scsi0 Channel: 00 Id: 00 Lun: 00
> >   ...
> > Host: scsi1 Channel: 00 Id: 00 Lun: 00
> >   Vendor: MITSUMI  Model: CR-2801TE        Rev:
> 1.10
> >   Type:   CD-ROM                           ANSI
> SCSI
> > revision: 02
> >
> > As you can see the drive is attached.
> >
> > I am beginning to think that it could be something
> > with sg drive. Could it get corrupted when system
> lost
> > power? I also read that there are some problems
> with
> > 3.1.17 and should be upgraded to 3.1.19. Should I
> do
> > it and if yes - how?
> >
> > Thanks.
> >
> > Igor.
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> 
> -- 
> Seth Kurtzberg
> MIS Corp.
> Office:  (480) 661-1849
> Fax: (480) 614-8909
> email:  [EMAIL PROTECTED]
> pager:  888-605-9296 or email [EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to