@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<0> you still have some more sectors you could use
<1> no biggie
<2> it'll do anyway
<1> whats fdisk -E ?
<2> go to disklabel and delete your "k" partition
<1> hrm
<1> sory
<2> then add a new k partition
<2> of type 4.2BSD
<1> wait
<1> disklabel says
<1> a: 144311000 353430 unused 0 0 # Cyl 350*-143516*
<1> c: 241254720 0 unused 0 0 # Cyl 0 -239339
<1> i: 353367 63 unknown # Cyl 0*- 350*
<1> j: 96582717 144665388 MSDOS # Cyl 143517*-239333*
<2> forget about disklabel -d



<1> its the a parition not k
<2> it won't do what you want
<1> no
<1> i did disklabel -E then print
<2> did you do disklabel -d and write it?
<3> someone here that could help me out... i got a 10KB/s uplink now.. so pastebin takes ages to complete... can i paste in chan or in priv to someone... im trying to get a PCI WLAN card to work, but dmesg gives me some errors. 8 Lines.
<2> okay, well, it is "a" now
<1> i might have done disklabel -d sometime before..
<2> ido_, edit partition a
<1> yeah, ok.
<2> and change it to match your old "j" partition
<2> ie, 4.2BSD, offset=353430, size=39070080
<2> then write that and make sure you can still mount it
<2> ie, mount /dev/wd1a /mnt works
<2> then if that works
<1> size 39070080 ?
<2> yes
<1> j was the MSDOS parition..
<1> a: 144311000 353430 4.2BSD 0 0 0 # Cyl 350*-143516*
<1> this is the new one..
<2> not according to the pastebin i am looking at
<0> j was renamed to a during the disklabel snafu
<1> oh, sorry
<1> yes
<1> j was renamed
<2> anyway
<0> you want a to now match what j used to be
<1> and the size was changed
<2> change a to match your old ffs partition
<1> oh, right..
<2> same size, offset, everything
<1> not the full size
<1> true
<2> not the full size
<2> because you are adding a new partition in the empty space
<2> after you verify the old one still works
<1> i'm calling it a instead of j
<1> should i save it now and see it works ok ?
<2> yes
<1> or should i continue on making 'b' with the rest of the free space
<1> ok
<1> how do i verify things ?
<2> just make sure you have an FFS partition that covers the space of where the old one was
<2> verify it by trying to mount it
<2> then look inside and make sure you see what you expect
<3> wi0 at pci0 dev 11 function 0 "Eumitcom WL11000P" rev 0x02: irq 12
<3> wi0: "Belkin, 11Mbps Wireless Notebook Network Adapter, Version 01.02"
<3> wi0: PRISM2 HWB3163 rev.A (0x8002), Firmware 0.3.0 (primary), 0.8.3 (station), address 00:30:bd:60:fd:f7
<2> after you have done it, make a new partition "d" covering the space of the old ext2fs partition
<3> wi0: init failed
<1> hrm
<3> wi0: failed to allocate 1594 bytes on NIC
<3> wi0: tx buffer allocation failed
<1> sudo mount /dev/wd1a /mnt
<1> mount_ffs: /dev/wd1a on /mnt: filesystem must be mounted read-only; you may need to run fsck
<3> wi0: failed to allocate 1594 bytes on NIC
<3> wi0: mgmt. buffer allocation failed
<3> what does that error mean?
<1> however in readonly mode it seems to show the files that were on it
<2> ido_, was it unmounted uncleanly last time you shut it down?
<2> that partition



<1> might have been not
<1> should have been though
<0> ido_: are you doing this from a running system in that partition?
<2> run fsck -n on it and see if it shows up millions of errors or only a couple
<1> what do you mean ?
<1> brb, i'll come back in ~10 minutes or so
<0> you're not running the copy of openbsd you have installed in that partition as you are modifying the disklabel and such are you?
<1> funning fsck at the moment
<1> uux, no openbsd is on wd0
<2> anyway, it is easy from here on in
<2> just make sure the FS is okay
<2> then add a "d" partition starting after the end of "a"
<2> and going to the end of the fdisk slot
<2> then newfs it
<4> can someone help me out with pf
<3> doesnt look like it Kuy
<3> they aer all bussy
<4> hey I am building a snort sensor on OpenBSD. This sensor is just going to be sitting on the span port on the switch what all should i config pf to allow beside ssh to manage the box?
<4> I have all other services disabled. but i want to ensure that i config pf right so that snort can properly log
<2> Kuy, why don't you configure it the way you think it should be? then if it doesn't work use tcpdump to track down anything you missed
<2> then if you get stuck, come and ask here
<4> cool, someone has helped
<4> ok i have config the pf.conf file and still can't ssh from internal hosts
<5> hi
<6> hey other newbie
<5> I am trying to setup a ssh tunnel forwarding a local port to a remote port
<4> >Nigel_VRT< scrub in all
<4> >Nigel_VRT< #de
<5> my pf rules drop everything/allow local net out/allow a certain ip in from the external world
<5> but when I try to ssh from that $trusted_ip to the forwarded port I get connection refused on the client
<5> netstat -a says the socket is listening
<5> when I run tcpdump I see 'R' flag in the packet
<5> what needs to bo done to get this to work?
<1> is there a way to surfice check a drive for bad blocks and relocate them or at least mark them bad ?
<2> dd and badsect
<2> but if you are getting bad blocks you are better to throw the drive out
<2> when modern drives start reporting problems it means they have run out of space to remap them themselves
<2> and that usually means the drive is pretty much done
<1> hrm.
<1> is there a way to check how many are remapped ?
<1> if at all ?
<1> i'm not sure if its a faulty drive
<2> no
<1> HD firmware based.. eh ?
<2> yes
<2> cables can give the appearance of bad sectors
<2> bad cables
<1> would a low level manf. software do that ?
<1> i think the cables should be ok..
<2> no
<1> i mean
<2> with modern drives, once they start reporting errors, just replace them
<1> i haven't really touched them
<0> you might be able to see the reallocated sector count with atactl <drive> readattr
<2> are the cables 80-channel?
<1> yes they are
<1> its a 120 gig driev
<2> what kind of errors are you getting and how often?
<0> just make sure smart is enabled. atactl <drive> smartenable
<1> Model: IC35L120AVV207-1
<1> i think its a ibm gxp180 drive
<1> which was considered to be one of the good series
<1> hrm
<1> actually its after ibm were bought by Hitachi
<1> heh
<1> and the model appears to be Hitachi 180GXP
<1> I wasnt far enough
<1> so my memorey isnt that bad
<1> eh
<1> uux, how can i read the s.m.a.r.t settings ?
<0> ie. atactl wd0 readattr
<1> sudo atactl wd1 smartstatus
<1> No SMART threshold exceeded
<1> 199 Ultra DMA CRC Error Count 0 200 0x000000000000


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #openbsd
or
Go to some related logs:

QMMG.OB
#beginner
sonya brady
#unixhelp
flash simulate click
,weed prons and cons.
Knoppix for PowerPC
how to cook kangoroo meat
#politics
#politics



Home  |  disclaimer  |  contact  |  submit quotes