Bug 2396 - /dev/rwd0a was bad
Summary: /dev/rwd0a was bad
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1997-01-07 12:20 UTC by tunny.bbs
Modified: 1997-01-12 19:51 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tunny.bbs 1997-01-07 12:20:01 UTC
When I were working under X11R6, the screen suddenly bedlam(now it seemd
that the reason of my vga card), then I reset the computer.
After the FreeBSD tested hardware, it showd:
Automatic reboot inn progress
/dev/rwd0a: bad file descriptor
can't stat /dev/rwd0a
/dev/wd0a: /dev/wd0a is not a character device
/dev/wd0a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
.........

after I enter the single model sh and use fsck
fsck
/dev/rwd0a: bad file descriptor
can't stat /dev/rwd0a
/dev/rwd0a is not a character device
continue? [yn]

the other disk were find.

How should I do? please direct me. Thanks for any help.

Fix: 

I don't know.
Comment 1 Joerg Wunsch 1997-01-07 23:51:45 UTC
As tunny.bbs@bbs.net.tsinghua.edu.cn wrote:

> after I enter the single model sh and use fsck
> fsck
> /dev/rwd0a: bad file descriptor
> can't stat /dev/rwd0a
> /dev/rwd0a is not a character device
> continue? [yn]
> 
> the other disk were find.
> 
> How should I do? please direct me. Thanks for any help.

You need a fixit floppy, and try to recreate the dead /dev/rwd0a.  You
can find an image for a sample fixit floppy in the directory floppies/
on the CD-ROM.

Backups are certainly also valuable in your situation.

(Better direct this kind of questions to questions@freebsd.org, it's
not strictly a problem report.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Comment 2 Joerg Wunsch freebsd_committer freebsd_triage 1997-01-12 19:50:41 UTC
State Changed
From-To: open->closed

Not a bug report per se. 

Basically, the originator didn't know how to use a fixit floppy. 
The origin of the crash itself looks like some local hardware 
problem.