--- b h <[EMAIL PROTECTED]> wrote:

> 
> --- b h <[EMAIL PROTECTED]> wrote:
> > --- Tom Cosgrove
> > <[EMAIL PROTECTED]>
> > wrote:
> > 
> > > >>> b h 31-Dec-05 04:05 >>>
> > > :
> > > > then, when I press RETURN and attempt to 
> > > >
> > > > # fsck_ffs /dev/rsd0a
> > > > ** /dev/rsd0a
> > > > cannot alloc 36537985 bytes for typemap
> > > > #
> > > >
> > > > while dmesg also says I have:
> > > >
> > > > real mem  = 1072472064 (1047336K)
> > > > avail mem = 972025756 (949244K)
> > > 
> > > This message comes from setup() in
> > > /usr/src/sbin/fsck_ffs/setup.c,
> > > after it has performed a lot of other
> allocations.
> > > 
> > > How big is the partition on this disk?  How full
> > is
> > > it?  You probably
> > > do need to put more memory in the machine to
> fsck
> > > this disk.
> > > 
> > > See FAQ 14.7
> > >
> >
> (http://www.openbsd.org/faq/faq14.html#LargeDrive),
> > > under
> > > "fsck(8) time and memory requirements".
> > > 
> > > Thanks
> > > 
> > > Tom
> > > 
> > 
> > Hi Tom,
> > thanks for the reply.  I'm sorry I didn't attach
> > disklabel.  It is one partition.  So it's
> advertised
> > as a 300GB usb drive, the partition is roughly
> that
> > size.  But I have 1GB of memory in the machine
> (and
> > it
> > looks like it's all being detected as described
> > earlier in dmesg).  And I had read the time and
> > memory
> > requirements, and the rule of thumb is 1MB (of
> > available) RAM for 1GB of disk, which I believe I
> > have
> > covered a few times over.  I made sure of this
> when
> > I
> > created the obscenely large partition a year ago.
> I
> > do
> > believe it is fairly full.  sd0a is the only
> > partition
> > that is not coming up clean as also described
> > before. 
> > I don't mind waiting for really long fsck times,
> > therefore I thought I could get away with the
> large
> > partitions.  Any other ideas/analysis?  thanks
> > 
> > I'll type in a copy of my fstab....
> > /dev/wd0a / ffs rw 1 1
> > /dev/wd0h /home ffs rw,nodev,nosuid 1 2
> > /dev/wd0d /tmp ffs rw,nodev,nosuid 1 2
> > /dev/wd0g /usr ffs rw,nodev 1 2
> > /dev/wd0e /var ffs rw,nodev,nosuid 1 2
> > /dev/wd0i /data ffs rw,nodev,nosuid 1 2
> > /dev/wd1a /mnt/data1 ffs rw,nodev,nosuid 1 2
> > /dev/wd2a /mnt/data2 ffs rw,nodev,nosuid 1 2
> > /dev/wd3a /mnt/data3 ffs rw,nodev,nosuid 1 2
> > /dev/sd0a /mnt/data4 ffs rw,nodev,nosuid 1 2
> > 
> > 
> > and the disklabel on sd0a says (pardon any typo
> > mistakes pls)
> > 
> > type: SCSI
> > disk: SCSI disk
> > label: OneTouch II
> > flags:
> > byles/sector: 512
> > sectors/track: 32
> > tracks/cylinder: 64
> > sectors/cylinder: 2048
> > cylinders: 286188
> > total sectors: 586114704
> > rpm: 3600
> > interleave: 1
> > trackskew: 0
> > cylinderskew: 0
> > headswitch: 0          # microseconds
> > track-to-track seek: 0 # microseconds
> > drivedata: 0
> > 
> > #    size     offset   fstype     [fsize bsize
> cpg]
> > a:  586112992     32   4.2BSD    2048 16384 323 #
> > Cyl 
> >  0*-286187
> > c:  586114704      0   unused       0     0     #
> > Cyl 
> >  0 -286188*
> > 
> 
> 
> Hi,
> 
> I still haven't heard back anything on this problem
> I
> was having.  I did end up reinstalling, to get the
> complete OS loaded, then fsck'd it from there. 
> However, I'd like to understand what I was doing
> wrong, since I assume it was due to my probs.
> 
> I couldn't fsck the drive with it plugged in (see
> original msg)
> I couldn't boot the machine without the USB drive
> plugged in, it still said file system was not clean.
> I used ed (my skills in that are very limited), but
> I
> managed to get "noauto" added to that filesystem to
> see if I could get past it in booting.  No luck
> there
> either
> I used ed, and changed the "2" to a "1" for fsck
> order, (since all the other filesystems on "2" are
> also very large (even though they were all marked
> clean).  This did not fix the problem, still, with a
> "1" for fsck order, it stopped with the same
> original
> error.
> 
> So, the only way I got by it was reinstalling, which
> makes me think there had to have been a better way,
> likely something very small I was missing.
> 
> Anyone can help me out in case it happens again in
> the
> future?
> thanks
> b
> 


D'oh, now that I have a booted, working system, I
should have included this in the last email:

OpenBSD 3.8-current (GENERIC) #532: Fri Dec 30
20:57:40 MST 2005
   
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz
("GenuineIntel" 686-class) 3 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CN
XT-ID
real mem  = 1072472064 (1047336K)
avail mem = 971927552 (949148K)
using 4278 buffers containing 53727232 bytes (52468K)
of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 06/12/03,
BIOS32 rev. 0 @ 0xf0010
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf53d0/240
(13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel
82801EB/ER LPC" rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0xd000! 0xcd000/0x1800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82875P Host" rev
0x02
ppb0 at pci0 dev 1 function 0 "Intel 82875P AGP" rev
0x02
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon 9800 Pro"
rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100
emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"ATI Radeon 9800 Pro Sec" rev 0x00 at pci1 dev 0
function 1 not configured
ppb1 at pci0 dev 3 function 0 "Intel 82875P PCI-CSA"
rev 0x02
pci2 at ppb1 bus 2
em0 at pci2 dev 1 function 0 "Intel PRO/1000CT
(82547EI)" rev 0x00: irq 5, address 00:0c:6e:6e:f9:74
uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB"
rev 0x02: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB"
rev 0x02: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801EB/ER USB"
rev 0x02: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801EB/ER USB"
rev 0x02: irq 10
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER
USB2" rev 0x02: irq 11
ehci0: timed out waiting for BIOS
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb2 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev
0xc2
pci3 at ppb2 bus 3
"VIA VT6306 FireWire" rev 0x80 at pci3 dev 3 function
0 not configured
"Ralink RT2460A" rev 0x00 at pci3 dev 13 function 0
not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER
LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801EB/ER
IDE" rev 0x02: DMA, channel 0 configured to
compatibility, channel 1 con
figured to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC
WD1200BB-00CAA0>
wd0: 16-sector PIO, LBA, 114473MB, 234441648 sectors
wd1 at pciide0 channel 0 drive 1: <Maxtor 96147H8>
wd1: 16-sector PIO, LBA, 58623MB, 120060864 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <ATAPI, CD-RW 40X12,
V.MW> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
pciide1 at pci0 dev 31 function 2 "Intel 82801EB SATA"
rev 0x02: DMA, channel 0 configured to native-PCI,
channel 1 configur
ed to native-PCI
pciide1: using irq 5 for native-PCI interrupt
wd2 at pciide1 channel 0 drive 0: <ST3400832AS>
wd2: 16-sector PIO, LBA48, 381554MB, 781422768 sectors
wd2(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd3 at pciide1 channel 1 drive 0: <ST3400832AS>
wd3: 16-sector PIO, LBA48, 381554MB, 781422768 sectors
wd3(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801EB/ER
SMBus" rev 0x02: irq 5
iic0 at ichiic0
lm1 at iic0 addr 0x2f: W83791D
lm1: satellites at addr 0x49 and addr 0x48
auich0 at pci0 dev 31 function 5 "Intel 82801EB/ER
AC97" rev 0x02: irq 5, ICH5 AC97
ac97: codec id 0x41445375 (Analog Devices AD1985)
ac97: codec features headphone, 20 bit DAC, No 3D
Stereo
audio0 at auich0
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83627THF
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte
fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte
fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ff65 netmask ff65 ttymask ffe7
pctr: user-level cycle counter enabled
umass0 at uhub4 port 4 configuration 1 interface 0
umass0: Maxtor OneTouch II, rev 2.00/2.03, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: <Maxtor, OneTouch II,
023g> SCSI4 0/direct fixed
sd0: 286188MB, 286188 cyl, 64 head, 32 sec, 512
bytes/sec, 586114704 sec total
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
dkcsum: wd2 matches BIOS drive 0x82
dkcsum: wd3 matches BIOS drive 0x83
dkcsum: sd0 matches BIOS drive 0x84
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
umass1 at uhub4 port 3 configuration 1 interface 0
umass1: PLEXTOR Corp. USB Storage Adapter, rev
2.00/0.00, addr 3
umass1: using ATAPI over Bulk-Only
scsibus2 at umass1: 2 targets
cd1 at scsibus2 targ 1 lun 0: <PLEXTOR, DVDR PX-716A,
1.04> SCSI0 5/cdrom removable

# df -h
Filesystem     Size    Used   Avail Capacity  Mounted
on
/dev/wd0a      502M   27.1M    450M     6%    /
/dev/wd0h     14.8G    9.1M   14.0G     0%    /home
/dev/wd0d      4.9G    2.0K    4.7G     0%    /tmp
/dev/wd0g      9.8G    1.1G    8.3G    12%    /usr
/dev/wd0e      9.8G    8.5M    9.3G     0%    /var
/dev/wd0i     68.2G   63.9G    927M    99%   
/mnt/data
/dev/wd1a     56.3G   39.4G   14.1G    74%   
/mnt/data1
/dev/wd2a      367G    230G    119G    66%   
/mnt/data2
/dev/wd3a      367G    286G   62.1G    82%   
/mnt/data3
/dev/sd0a      275G    236G   25.1G    90%   
/mnt/data4
Just $16.99/mo. or less. 
dsl.yahoo.com 

Reply via email to