Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 1999 14:40:53 +0100
From:      rene@xs4all.nl
To:        questions@freebsd.org
Subject:   Fwd: RE: trying to format IDE disk
Message-ID:  <0611.991207@xs4all.nl>

next in thread | raw e-mail | index | archive | help
Hi. I've tried getting a reply to my problem with formatting my HD
under freeBSD (stated below), but unfortunately did not succeed with
the suggestion offered.

I've tried a couple of things since (see way below), and was wondering
if any of you might take a looksy to see if there are tell-tale signs
;-)

This is a forwarded message
From: Allen Pulsifer <pulsifer@mediaone.net>
To: rene@xs4all.nl <rene@xs4all.nl>
Date: Sunday, December 05, 1999, 21:59:39
Subject: trying to format IDE disk

===8<==============Original message text===============
I've never done this, but you probably need to format the
partition (know in unix as a "slice"), not the disk.
The partition names go something like wd2s0.
/stand/sysinstall includes a menu items to partition and
format a disk.

> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of rene@xs4all.nl
> Sent: Sunday, December 05, 1999 1:39 PM
> To: questions@FreeBSD.ORG
> Subject: trying to format IDE disk
> 
> 
> Hello questions,
> 
>   I'm trying to format this 10G IDE disk I have lying around here
>   doing nothing... I'm also a complete newbie to freeBSD ;)
> 
>   I tried running the following command, but don't quite get the
>   error-messages it passes me; can anyone gimme any hints here?
> 
> router# fdisk /dev/wd2
> fdisk: can't open device /dev/wd2
> fdisk: cannot open disk /dev/wd2: Input/output error
> router# Dec  6 02:28:56 router /kernel: wd2: can't handle 272 heads from partition table (truncating to 16)
> Dec  6 02:28:56 router /kernel: wd2: can't handle 272 heads from partition table (truncating to 16)
> Dec  6 02:28:56 router /kernel: wd2: cannot handle 319 sectors (max 255)
> Dec  6 02:28:56 router /kernel: wd2: cannot handle 319 sectors (max 255)
> Dec  6 02:28:56 router /kernel: wd2: wdcontrol: recal failed reading fsbn 0 (status 50<rdy,seekdone> error 0)
> Dec  6 02:28:56 router /kernel: wd2: wdcontrol: recal failed reading fsbn 0 (status 50<rdy,seekdone> error 0)
> Dec  6 02:28:56 router /kernel: wd2: error reading primary partition table reading fsbn 0
> Dec  6 02:28:56 router /kernel: wd2: error reading primary partition table reading fsbn 0
> 
> 
>   appendix I : dmesg output
> 
> dmesg
> Copyright (c) 1992-1999 FreeBSD Inc.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California. All rights reserved.
> FreeBSD 3.2-STABLE #0: Fri May 28 06:41:37 CEST 1999
>     rene@router.outerheaven.net:/usr/src/sys/compile/MESSENGER-EXPERIMENTAL
> Timecounter "i8254"  frequency 1193182 Hz
> Timecounter "TSC"  frequency 167045960 Hz
> CPU: Pentium/P55C (167.05-MHz 586-class CPU)
>   Origin = "GenuineIntel"  Id = 0x543  Stepping=3
>   Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
> real memory  = 67043328 (65472K bytes)
> avail memory = 62296064 (60836K bytes)
> Preloaded elf kernel "kernel" at 0xc02c7000.
> Probing for devices on PCI bus 0:
> chip0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> rev 0x04 on pci0.0.0
> chip1: <AcerLabs M5243 PCI-PCI bridge> rev 0x04 on pci0.1.0
> chip2: <PCI to 0x80 bridge (vendor=10b9 device=7101)> rev 0x00 on pci0.3.0
> chip3: <AcerLabs M1533 portable PCI-ISA bridge> rev 0xc3 on pci0.7.0
> ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x00 int a irq 5 on pci0.10.0
> ahc0: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs
> vga0: <S3 ViRGE DX/GX graphics accelerator> rev 0x01 int a irq 10 on pci0.11.0
> xl0: <3Com 3c905B-TX Fast Etherlink XL> rev 0x30 int a irq 11 on pci0.12.0
> xl0: Ethernet address: 00:10:5a:c0:33:b3
> xl0: autoneg complete, link status good (half-duplex, 100Mbps)
> ide_pci0: <Acer Aladdin IV/V (M5229) Bus-master IDE controller> rev 0xc1 int a irq 0 on pci0.15.0
> Probing for devices on PCI bus 1:
> Probing for PnP devices:
> Probing for devices on the ISA bus:
> sc0 on isa
> sc0: VGA color <16 virtual consoles, flags=0x0>
> atkbdc0 at 0x60-0x6f on motherboard
> atkbd0 irq 1 on isa
> psm0 not found
> sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
> sio0: type 16550A
> sio1 at 0x2f8-0x2ff irq 3 on isa
> sio1: type 16550A
> fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: 1.44MB 3.5in
> wdc0 not found at 0x1f0
> wdc1 at 0x170-0x177 irq 15 on isa
> wdc1: unit 0 (wd2): <IBM-ETUA-351111 ! ! ! ! ! ! ! ! ! ! ! !>
> wd2: 173536MB (355401728 sectors), 4096 cyls, 272 heads, 319 S/T, 512 B/S
> wdc1: unit 1 (atapi): <HITACHI CDR-7730/0008a>, removable, iordy
> acd0: drive speed 689KB/sec, 128KB cache
> acd0: supported read types: CD-DA
> acd0: Audio: play, 128 volume levels
> acd0: Mechanism: ejectable tray
> acd0: Medium: CD-ROM unknown medium, unlocked
> wt0 not found at 0x300
> mcd0 not found at 0x300
> matcdc0 not found at 0x230
> scd0 not found at 0x230
> ppc0 at 0x378 irq 7 flags 0x40 on isa
> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/7 bytes threshold
> lpt0: <generic printer> on ppbus 0
> lpt0: Interrupt-driven port
> ppi0: <generic parallel i/o> on ppbus 0
> plip0: <PLIP network interface> on ppbus 0
> ep0 not found at 0x300
> vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
> npx0 on motherboard
> npx0: INT 16 interface
> Waiting 5 seconds for SCSI devices to settle
> changing root device to da0s1a
> da0 at ahc0 bus 0 target 4 lun 0
> da0: <IBM DORS-32160 S82C> Fixed Direct Access SCSI-2 device 
> da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
> da0: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
> wd2: can't handle 272 heads from partition table (truncating to 16)
> wd2: cannot handle 319 sectors (max 255)
> wd2: wdcontrol: recal failed reading fsbn 0 (status 50<rdy,seekdone> error 0)
> wd2: error reading primary partition table reading fsbn 0
> 
> 
>   
> 
> Greetings, 
>  rene <mailto:rene@xs4all.nl>
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


===8<===========End of original message text===========

The next things I tried are:

router# ls /dev/wd2*
/dev/wd2        /dev/wd2c       /dev/wd2f       /dev/wd2s1      /dev/wd2s4
/dev/wd2a       /dev/wd2d       /dev/wd2g       /dev/wd2s2
/dev/wd2b       /dev/wd2e       /dev/wd2h       /dev/wd2s3


router# fdisk /dev/wd2s1
fdisk: can't open device /dev/wd2s1
fdisk: cannot open disk /dev/wd2s1: Input/output error
router# Dec  7 21:23:19 router /kernel: wd2: cannot handle 319 sectors (max 255)
Dec  7 21:23:19 router /kernel: wd2: cannot handle 319 sectors (max 255)
Dec  7 21:23:19 router /kernel: wd2: wdcontrol: recal failed reading fsbn 0 (status 50<rdy,seekdone> error 0)
Dec  7 21:23:19 router /kernel: wd2: wdcontrol: recal failed reading fsbn 0 (status 50<rdy,seekdone> error 0)
Dec  7 21:23:19 router /kernel: wd2: error reading primary partition table reading fsbn 0
Dec  7 21:23:19 router /kernel: wd2: error reading primary partition table reading fsbn 0
^C
(Aborted after about +- 30 sec)

router# /stand/sysInstall

                 lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
                 x Probing devices, please wait (this can take a while)...Dec  7 21:19:54 router /kernel: wd2: cannot handle 319 sectors (max 255)qqqqqqqqqqqqqqqqqqqqqqj
Dec  7 21:19:54 router /kernel: wd2: cannot handle 319 sectors (max 255)
Dec  7 21:19:54 router /kernel: wd2: wdcontrol: recal failed reading fsbn 0 (status 50<rdy,seekdone> error 0)
Dec  7 21:19:54 router /kernel: wd2: wdcontrol: recal failed reading fsbn 0 (status 50<rdy,seekdone> error 0)
Dec  7 21:19:54 router /kernel: wd2: error reading primary partition table reading fsbn 0
Dec  7 21:19:54 router /kernel: wd2: error reading primary partition table reading fsbn 0
Dec  7 21:19:54 router /kernel: wd2: cannot handle 319 sectors (max 255)
Dec  7 21:19:54 router /kernel: wd2: cannot handle 319 sectors (max 255)
Dec  7 21:19:54 router /kernel: wd2: wdcontrol: recal failed reading fsbn 0 (status 50<rdy,seekdone> error 0)
Dec  7 21:19:54 router /kernel: wd2: wdcontrol: recal failed reading fsbn 0 (status 50<rdy,seekdone> error 0)Dec  7 21:lqqqqqqqqqqqqqqqqqqqqq /stand/sysinstall Main Menu qqqqqqqqqqqqqqqqqqqqqkfsbn 0Dec  7 21:x Welcome to the FreeBSD installation and configuration tool.  Please   xfsbn 0Dec  7 21:x select one of the options below by using the arrow keys or typing the xDec  7 21:x first character of the option name you're interested in.  Invoke an   xDec  7 21:x option by pressing [ENTER] or [TAB-ENTER] to exit the installation.   x 50<rdy,seekdone> erx lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk xDec  7 21:x x 1 Usage        Quick start - How to use this menu system          x x 50<rdy,seekdone> erx x 2 Novice       Begin a novice installation (for beginners)        x xDec  7 21:x x 3 Express      Begin a quick installation (for the impatient)     x xfsbn 0Dec  7 21:x x 4 Custom       Begin a custom installation (for experts)          x xfsbn 0Dec  7 2!
1:x x 5 Configure    Do post-install configuration of FreeBSD           x xDec  7 21:x x D Doc          Installation instructions, README, etc.            x xDec  7 21:x x K Keymap       Select keyboard type                               x x 50<rdy,seekdone> erx x O Options      View/Set various installation options              x xDec  7 21:x x F Fixit        Enter repair mode with CDROM/floppy or start shell x x 50<rdy,seekdone> erx x U Upgrade      Upgrade an existing system                         x xDec  7 21:x x L Load Config  Load default install configuration                 x xfsbn 0Dec  7 21:x x I Index        Glossary of functions                              x xfsbn 0Dec  7 21:x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj xDec  7 21:tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqquDec  7 21:x                         Select    [Exit Install]                      x 52<rdy,seekdone,indmqqqqqqqqqqqqqqqqqq[ Press F1 for !
Installation Guide ]qqqqqqqqqqqqqqqqqqj
Dec  7 21:19:57 router /kernel: wd2: wdcontrol: recal failed reading fsbn 0 (status 52<rdy,seekdone,index> error 0)
Dec  7 21:19:57 router /kernel: wd2: error reading primary partition table reading fsbn 0
Dec  7 21:19:57 router /kernel: wd2: error reading primary partition table reading fsbn 0


Greetings,
 rene <mailto:rene@xs4all.nl>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0611.991207>