Date: Thu, 2 Sep 1999 18:54:46 +0200 (MET DST) From: Nick Hibma <nick.hibma@jrc.it> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, FreeBSD current mailing list <freebsd-current@FreeBSD.ORG> Subject: Re: yes! or should I say Oh no! (CD ROM problems) Message-ID: <Pine.GS4.4.10.9909021819210.3090-200000@elect8> In-Reply-To: <1625.936288755@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---559023410-1847939343-936291286=:3090 Content-Type: TEXT/PLAIN; charset=US-ASCII > >No. Insert CD, run cda /dev/rcd0c toc, error message in > >/var/log/messages. Eject CD reinsert it, same command, it works. > > So it fails the first time after a reboot and never again > until reboot ? > > Or is it just heads-or-tails everytime ? The machine is normally up for several weeks at a time, so it's head-or-tails, with it being ok most of the time. When it goes wrong it goes wrong for several changes of CD"s, but all of a sudden it starts to work again. I'm sorry I can't be more precise, but the error occurs at random places. > As you can see it would pass through the third block, but not > the two first, so if you could place a couple of strategic > printfs and see which one of these it fails on (only print on > the error, otherwise your printout will come en each and every > transfer.) See attached diff against CURRENT in case any one else wants to have a go at it. > Is this by any chance a mixed-cd, ie both sound&data tracks ? Nope, off the shelf sound CD. Nick -- ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy ---559023410-1847939343-936291286=:3090 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="subr_diskslice.c.diff" Content-ID: <Pine.GS4.4.10.9909021854460.3090@elect8> Content-Description: Content-Disposition: attachment; filename="subr_diskslice.c.diff" Content-Transfer-Encoding: BASE64 LS0tIHN1YnJfZGlza3NsaWNlLmMub3JpZwlUaHUgU2VwICAyIDE4OjIxOjMz IDE5OTkNCisrKyBzdWJyX2Rpc2tzbGljZS5jCVRodSBTZXAgIDIgMTg6Mzc6 NDggMTk5OQ0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c3NwLT5kc3Nfc2VjbXVsdCAtIDEpKD0NCislZCkgIT0gMFxuIiwNCisJ CQkJYmxrbm8sIHNzcC0+ZHNzX3NlY211bHQgLSAxKTsNCiAJCQlnb3RvIGJh ZF9ibGtubzsNCisJCX0NCiAJCXNlY25vID0gYmxrbm8gPj4gc3NwLT5kc3Nf c2Vjc2hpZnQ7DQogCQluc2VjID0gYnAtPmJfYmNvdW50ID4+IChERVZfQlNI SUZUICsgc3NwLT5kc3Nfc2Vjc2hpZnQpOw0KIAl9IGVsc2Ugew0KLQkJaWYg KGJwLT5iX2Jjb3VudCAlIHNzcC0+ZHNzX3NlY3NpemUpDQorCQlpZiAoYnAt PmJfYmNvdW50ICUgc3NwLT5kc3Nfc2Vjc2l6ZSkgew0KKwkJCXByaW50Zigi UEhLNCBicC0+Yl9iY291bnQoPSVsZCkgJSUgc3NwLT5kc3Nfc2Vjc2l6ZSg9 JWQpICE9IDBcbiIsDQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICBicC0+Yl9iY291bnQsIHNzcC0+ZHNzX3NlY3NpemUgLSAxKTsNCiAJCQln b3RvIGJhZF9iY291bnQ7DQotCQlpZiAoYmxrbm8gJSBzc3AtPmRzc19zZWNt dWx0KQ0KKwkJfQ0KKwkJaWYgKGJsa25vICUgc3NwLT5kc3Nfc2VjbXVsdCkg ew0KKwkJCXByaW50ZigiUEhLNSBibGtubyg9JWQpICUlIHNzcC0+ZHNzX3Nl Y211bHQoPSVkKSAhPSAwXG4iLA0KKwkJCQlibGtubywgc3NwLT5kc3Nfc2Vj bXVsdCk7DQogCQkJZ290byBiYWRfYmxrbm87DQorCQl9DQogCQlzZWNubyA9 IGJsa25vIC8gc3NwLT5kc3Nfc2VjbXVsdDsNCiAJCW5zZWMgPSBicC0+Yl9i Y291bnQgLyBzc3AtPmRzc19zZWNzaXplOw0KIAl9DQo= ---559023410-1847939343-936291286=:3090-- 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?Pine.GS4.4.10.9909021819210.3090-200000>