![]() |
|
|||||||
| OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
Hi !
I was upgrading my imac via ftp , suddently an error message read repeatedly : Quote:
Quote:
thank you very much Note : Mates who are upgrading maccpc .. avoid packages , and build ports instead .. the packages list is older than the install sets .. :-) |
|
||||
|
Your first quote refers to wd0a -- this is partition 'a' on drive wd0. The device driver was unable to write to the drive within a time limit set by the wd(4) driver. "fsbn" is "file system block number". The message should also describes the physical block number within wd0 and may also provide "cn" which is "cylinder number" and "tn" which is "track" number. These latter two are probably not very useful with a modern drive, since the cylinder/track/sector addressing is virtual, and mapped by drive electronics.
The error was eventually corrected -- meaning that after retrying many, many times, perhaps hundreds or thousands of times, the drive electronics eventually confirmed the write had occurred. The second block of messages, regarding "Tx" or "Transmit" is a kernel message produced by the ral(4) or rum(4) Ethernet drivers and have nothing directly to do, I think, with your disk I/O trouble. However if the system was "hung" while the I/O retries were occurring, this could explain a network hiccup. --- Your entirely unrelated "warning" regarding packages should 1) reflect that you mean -current, rather than -release, and 2) does not belong in this thread, and 3) is a transient condition...as you have been told many times, snapshot packages are never exactly in sync with snapshots. They are provided as a courtesy, only.
__________________
OpenBSD LiveCDs/LiveDVDs Last edited by jggimi; 6th April 2012 at 11:46 PM. Reason: typos, clarity |
|
|||
|
Quote:
Quote:
|
|
|||
|
Teacher @jgimmi , and teacher @ocicat : molte gratzie !!!!
your help is much appreciated !! sorry for the inconvenience , I abide by the golden rule .. yet I wanted to save others times by stating that I failed to install packages after an upgrade ( 5.1 GENERIC#172 macppc) .. but again on i386 .. eveything is runing fine : I mean to this very moment I am installing packages without problems (5.1 GENERIC.MP#230 i386) |
|
||||
|
Back to the thread's topic -- your "temporary" I/O error: what might have been the problem, and why did it suddenly resolve after a long time passed by?
Let us assume, for the sake of this discussion, that the timeout was 5 seconds, and your drive spins at a typical 7200rpm. During that 5 seconds, 600 times the sector passed underneath the head and the write failed. Why would it fail ~600 times and then ... suddenly succeed? Keep in mind:
If you are interested in finding out which it was, your drive electronics may be able to tell you. There is data stored on the electronics, through a technology called SMART. The atactl(8) program can read it, but I find sysutil/smartmontools much easier to use.
__________________
OpenBSD LiveCDs/LiveDVDs Last edited by jggimi; 7th April 2012 at 01:14 AM. Reason: typo, addition of SMART paragraph and link. Added seek error as a plausible root cause |
|
||||
|
I've revised my thoughts on possible reasons for the error -- not just a sector access error; seek errors may have caused this also. Posting revised.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
thank you for this detailed explanation!
Quote:
I've read the atactl man page .. it's interesting what kind of information one can get from it .. why isn't there a satactl ? |
|
||||
|
Seek errors are hardware errors. SATA drives are ATA and may be used with atactl.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
I left that pseudo-Note unchanged so that Ocicat & jgimmi 's helpful replies stay relevant .. one more extra reason against using ports on legacy hardware : mozilla-firefox failed to build on old ibook because of memory exhaustion ! .. this was the error message I received a while ago after one night spent on port-building .. :-)
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NetBSD FSBN Problem | SL6-A2000 | NetBSD General | 2 | 9th August 2011 09:13 AM |
| System stops booting after "GEOM_MIRROR: Force device gm0 start due to timeout." | indienick | FreeBSD General | 1 | 25th March 2010 08:46 PM |
| c++: writing to the *this pointer? | robbak | Programming | 2 | 23rd October 2009 06:12 PM |
| /bsd: ral0: device timeout | revzalot | OpenBSD General | 3 | 22nd July 2008 10:15 PM |
| identifying device associated with USB device? | spiderpig | OpenBSD General | 2 | 7th July 2008 05:18 AM |