unable to access NTFS 500 GB usb HDD:GEOM: da0: partition 1 does not start on a track boundary ?

2010-11-27 Thread Mubeesh ali
Hi LIST,

I am trying to access  a western digital USB hard disk. It seems to
recognize it , KDE pops up with the autorun actions but if i open the
folder it is empty. the logs show the error

GEOM: da0: partition 1 does not start on a track boundary . please
advice...thanks

[ad...@pcbsd-8681 /usr/home/admin]$ dmesg | tail
cd1 at umass-sim0 bus 0 scbus2 target 0 lun 1
cd1: WD Virtual CD 070A 1032 Removable CD-ROM SCSI-4 device
cd1: 40.000MB/s transfers
cd1: cd present [342016 x 2048 byte records]
GEOM: da0: partition 1 does not start on a track boundary.
GEOM: da0: partition 1 does not end on a track boundary.
ses0 at umass-sim0 bus 0 scbus2 target 0 lun 2
ses0: WD SES Device 1032 Fixed Enclosure Services SCSI-4 device
ses0: 40.000MB/s transfers
ses0: SCSI-3 SES Device


tail-f /var/log/messages
Nov 27 08:55:18 pcbsd-8681 root: Unknown USB device: vendor 0x1058
product 0x070a bus uhub3
Nov 27 08:55:18 pcbsd-8681 kernel: ugen1.3: Western Digital at usbus1
Nov 27 08:55:18 pcbsd-8681 kernel: umass0: Western Digital My
Passport 070A, class 0/0, rev 2.00/10.32, addr 3 on usbus1
Nov 27 08:55:18 pcbsd-8681 kernel: umass0:  SCSI over Bulk-Only; quirks = 0x
Nov 27 08:55:19 pcbsd-8681 kernel: umass0:2:0:-1: Attached to scbus2
Nov 27 08:55:19 pcbsd-8681 kernel: da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
Nov 27 08:55:19 pcbsd-8681 kernel: da0: WD My Passport 070A 1032
Fixed Direct Access SCSI-4 device
Nov 27 08:55:19 pcbsd-8681 kernel: da0: 40.000MB/s transfers
Nov 27 08:55:19 pcbsd-8681 kernel: da0: 476270MB (975400960 512 byte
sectors: 255H 63S/T 60715C)
Nov 27 08:55:19 pcbsd-8681 kernel: (probe0:umass-sim0:0:0:1): TEST
UNIT READY. CDB: 0 0 0 0 0 0
Nov 27 08:55:19 pcbsd-8681 kernel: (probe0:umass-sim0:0:0:1): CAM
status: SCSI Status Error
Nov 27 08:55:19 pcbsd-8681 kernel: (probe0:umass-sim0:0:0:1): SCSI
status: Check Condition
Nov 27 08:55:19 pcbsd-8681 kernel: (probe0:umass-sim0:0:0:1): SCSI
sense: UNIT ATTENTION asc:28,0 (Not ready to ready change, medium may
have changed)
Nov 27 08:55:19 pcbsd-8681 kernel: cd1 at umass-sim0 bus 0 scbus2 target 0 lun 1
Nov 27 08:55:19 pcbsd-8681 kernel: cd1: WD Virtual CD 070A 1032
Removable CD-ROM SCSI-4 device
Nov 27 08:55:19 pcbsd-8681 kernel: cd1: 40.000MB/s transfers
Nov 27 08:55:19 pcbsd-8681 kernel: cd1: cd present [342016 x 2048 byte records]
Nov 27 08:55:19 pcbsd-8681 kernel: GEOM: da0: partition 1 does not
start on a track boundary.
Nov 27 08:55:19 pcbsd-8681 kernel: GEOM: da0: partition 1 does not end
on a track boundary.
Nov 27 08:55:19 pcbsd-8681 kernel: ses0 at umass-sim0 bus 0 scbus2
target 0 lun 2
Nov 27 08:55:19 pcbsd-8681 kernel: ses0: WD SES Device 1032 Fixed
Enclosure Services SCSI-4 device
Nov 27 08:55:19 pcbsd-8681 kernel: ses0: 40.000MB/s transfers
Nov 27 08:55:19 pcbsd-8681 kernel: ses0: SCSI-3 SES Device
^C

-- 
Best  Regards,

Mubeesh Ali.V.M
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Help with USB Card Reader

2010-11-27 Thread Andrea Venturoli

Hello.
I've got a hama branded USB 2.0 Card Reader 19 in 1, which I'd like to 
use with 8.1/i386.


This thing has four slots, only one of which I'd like to populate with 
an SD card.

However I've had no luck so far.

If I insert the card and then plug the reader into an USB port, I get:

root: Unknown USB device: vendor 0x0dda product 0x2005 bus uhub2
kernel: ugen2.2: Hama at usbus2
kernel: umass0: i| on usbus2
kernel: umass0:  SCSI over Bulk-Only; quirks = 0x
kernel: umass0:2:0:-1: Attached to scbus2

However, no da device is created in /dev; I only get ugen2.2

When I unplug it, I get:
kernel: ugen2.2: Hama at usbus2 (disconnected)
kernel: umass0: at uhub2, port 2, addr 2 (disconnected)
kernel: (probe0:umass-sim0:0:0:0): AutoSense failed



If I plug the reader WITHOUT the SD card, I get:
root: Unknown USB device: vendor 0x0dda product 0x2005 bus uhub2
kernel: ugen2.2: Hama at usbus2
kernel: umass0: i| on usbus2
kernel: umass0:  SCSI over Bulk-Only; quirks = 0x
kernel: umass0:2:0:-1: Attached to scbus2
kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition
kernel: (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 
(Medium not present)

kernel: da2 at umass-sim0 bus 0 scbus2 target 0 lun 0
kernel: da2: Hama CF  Card Reader 9317 Removable Direct Access SCSI-0 
device

kernel: da2: 40.000MB/s transfers
kernel: da2: Attempt to query device size failed: NOT READY, Medium not 
present

kernel: (probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0
kernel: (probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error
kernel: (probe0:umass-sim0:0:0:1): SCSI status: Check Condition
kernel: (probe0:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 
(Medium not present)

kernel: da3 at umass-sim0 bus 0 scbus2 target 0 lun 1
kernel: da3: Hama SM  Card Reader 9317 Removable Direct Access SCSI-0 
device

kernel: da3: 40.000MB/s transfers
kernel: da3: Attempt to query device size failed: NOT READY, Medium not 
present

kernel: (probe0:umass-sim0:0:0:2): TEST UNIT READY. CDB: 0 40 0 0 0 0
kernel: (probe0:umass-sim0:0:0:2): CAM status: SCSI Status Error
kernel: (probe0:umass-sim0:0:0:2): SCSI status: Check Condition
kernel: (probe0:umass-sim0:0:0:2): SCSI sense: NOT READY asc:3a,0 
(Medium not present)

kernel: da4 at umass-sim0 bus 0 scbus2 target 0 lun 2
kernel: da4: Hama SD  Card Reader 9317 Removable Direct Access SCSI-0 
device

kernel: da4: 40.000MB/s transfers
kernel: da4: Attempt to query device size failed: NOT READY, Medium not 
present

kernel: (probe0:umass-sim0:0:0:3): TEST UNIT READY. CDB: 0 60 0 0 0 0
kernel: (probe0:umass-sim0:0:0:3): CAM status: SCSI Status Error
kernel: (probe0:umass-sim0:0:0:3): SCSI status: Check Condition
kernel: (probe0:umass-sim0:0:0:3): SCSI sense: NOT READY asc:3a,0 
(Medium not present)

kernel: da5 at umass-sim0 bus 0 scbus2 target 0 lun 3
kernel: da5: Hama MS  Card Reader 9317 Removable Direct Access SCSI-0 
device

kernel: da5: 40.000MB/s transfers
kernel: da5: Attempt to query device size failed: NOT READY, Medium not 
present


Inserting the SD card afterwards gives no messages at all; mount 
/dev/da4 /mnt/, fdisk /dev/da4 or any other command result in an 
Input/output error.


Here are some (possibly useful?) further info:
# camcontrol devlist
SEAGATE ST318406LW 0109  at scbus0 target 1 lun 0 (pass0,da0)
PLEXTOR CD-ROM PX-40TS 1.12  at scbus0 target 4 lun 0 (pass1,cd0)
IOMEGA ZIP 100 E.08  at scbus0 target 5 lun 0 (pass2,da1)
BENQ DVD DC DW1670 103   at scbus1 target 0 lun 0 (pass3,cd1)
Hama CF  Card Reader 9317at scbus2 target 0 lun 0 (da2,pass4)
Hama SM  Card Reader 9317at scbus2 target 0 lun 1 (da3,pass5)
Hama SD  Card Reader 9317at scbus2 target 0 lun 2 (da4,pass6)
Hama MS  Card Reader 9317at scbus2 target 0 lun 3 (da5,pass7)

# usbconfig
ugen0.1: OHCI root HUB ATI at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON
ugen1.1: OHCI root HUB ATI at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON
ugen2.1: EHCI root HUB ATI at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=ON
ugen3.1: OHCI root HUB ATI at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON
ugen4.1: OHCI root HUB ATI at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON
ugen5.1: EHCI root HUB ATI at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=ON
ugen6.1: OHCI root HUB ATI at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON
ugen3.2: Trackball Logitech at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) 
pwr=ON
ugen0.2: Smart-UPS 1500 FW:653.13.I USB FW:7.3 American Power 
Conversion at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
ugen3.3: USB COMPOUND HUB SAMSUNG at usbus3, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=SAVE
ugen3.4: product 0x8002 SAMSUNG at usbus3, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
ugen2.2: Card Reader Hama at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=ON



Any help is 

Re: Help with USB Card Reader

2010-11-27 Thread Andrea Venturoli

On 11/27/10 14:42, Andrea Venturoli wrote:

Hello.
I've got a hama branded USB 2.0 Card Reader 19 in 1, which I'd like to
use with 8.1/i386.


Sorry, my fault.
It seems this reader cannot work with SDHCs; in fact it works with MMCs.

 bye
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


BUG: freebsd.org/ru/releases

2010-11-27 Thread Коньков Евгений
HI, Freebsd-questions.

http://www.freebsd.org/ru/releases/
on this page is wrong information about releases.

Old release is 6.0 and last is 8.1 on march 2006!! year.


-- 
С уважением,
 Коньков  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


next question....

2010-11-27 Thread Dave
On 26 Nov 2010 at 12:11, Arthur Chance wrote:

 -- 
 Although the wombat is real and the dragon is not, few know what a
 wombat looks like, but everyone knows what a dragon looks like.
 
  -- Avram Davidson, _Adventures in Unhistory_

Hmm..  A Wombat...
That's a recoilless anti-tank gun if I remember?
Do not stand behind one, when it's fired!
http://www.britains-smallwars.com/Falklands/b-weapons.htm#wombat
I digress


Anyway.

Some progress here..

I have managed at long last to get the OS's own ftp server to behave how 
I want it again (except it's port usage, but I'll work on that later).

(I failed to get pure-ftp installed.  Something in it's dependancies 
doesn't like V8.0 I think.  Come to that, I have to force Sysinstall to 
look for V8.1 stuff, as all the V8.0 stuff has been archived it seems.   
This system was built from a boot disk, and a net based install.)

Anyway.

I've also now got SSH working, and I can connect and login from any 
number of other (Windows) PC's using PuTTY, it works well.

The GPS timed NTP server system also still works well.

But, when logged in as a regular (non root) user, I cant 'su' or 'sudo' 
to achieve root privelages if needed.

(Using PuTTY, so I can now copy paste screen output to here.)

I get this, regardless of how I log in, at the machine's console, or via 
SSH.

login as: site
Password:
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.

FreeBSD 8.0-RELEASE (PPSGENERIC) #0: Wed Apr 14 22:55:09 BST 2010

Welcome to FreeBSD!

.
.  [stuff snipped for brevity]
.

$ su
su: Sorry
$ sudo
sudo: not found
$ uname -a
FreeBSD FBSD.67MK181QZ 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Apr 14 
22:55:09 BST 2010
r...@fbsd.67mk181qz:/usr/obj/usr/src/sys/PPSGENERIC  i386
$
$


What have I done bad now?

For the moment (because I need to, as I want to run this thing 
headless, no physical keyboard or display)  I've enabled root login 
over ssh.  Yes, I realise the risks, but the ssh port will never be 
exposed to the world, just the rest of my lan, and yes, that could be bad 
if something got in. 


Cheers.

Dave B.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Dave
On 26 Nov 2010 at 9:53, Ryan Coleman wrote:

 
 On Nov 26, 2010, at 8:53 AM, Chris Brennan wrote:
 
  On Fri, Nov 26, 2010 at 6:30 AM, Dave d...@g8kbv.demon.co.uk
  wrote:
  
   Yes, I found that, good info.  I'm relying on the freebsd.org site
   man
  pages and documentation among others, as I'm finding it too
  inconvenient (bad short term memory) using the man pages on the
  system.  At least I can have the website pages open on a nearby
  laptop.
  
  There are two options that I know of that could make this part
  easier for you
  
  1) screen (tried and true) can do split windows/multiple windows
  although I've never been able to correctly figure it out
 I second screen.
 
 /usr/ports/sysutils/screen/
 
 
 

Ryan, thanks, but no 'ports' is installed on this box, it was built with 
a net install, from a V8.0 boot disk, earlier this year (April if memory 
serves.)

I find now, that Sysinstall's ports management utility, has to be told 
to go look for V8.1 stuff (the Options page) else it just whinges about 
not being able to login to the repository ftp servers.

Cheers.

Dave B.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: next question....

2010-11-27 Thread Chris Brennan
On Sat, Nov 27, 2010 at 12:01 PM, Dave d...@g8kbv.demon.co.uk wrote:

 $ su
 su: Sorry
 $ sudo
 sudo: not found
 $ uname -a
 FreeBSD FBSD.67MK181QZ 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Apr 14
 22:55:09 BST 2010
 r...@fbsd.67mk181qz:/usr/obj/usr/src/sys/PPSGENERIC  i386
 $
 $



You need to add yourself to the 'wheel' group to su or you need to add the
proper line to /usr/local/etc/sudoers to sudo correctly.

When su'ing, pass 'su -' (assumes the path of the user your changing to).

When sudo'ing, pass 'sudo su -' (same principle applies, but you don't need
to to be in wheel to use this command)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Dave
On 26 Nov 2010 at 22:18, Polytropon wrote:

 On Fri, 26 Nov 2010 09:53:51 -0500, Chris Brennan
 xa...@xaerolimit.net wrote:  There are two options that I know of
 that could make this part easier for  you   1) screen (tried and
 true) can do split windows/multiple windows although  I've never been
 able to correctly figure it out   2) tmux (the pretentious upstart),
 it's a quick install and it's built in  help (^b?) is eternally
 useful and it's options make more sense then screen  (to me at least)
 
 Along with the Spanish Inquisition, there are three! Three!
 Three options: screen, tmux, and the native solution of
 virtual terminals via Alt+PFx switch. This even allows
 you to use the mouse-driven edit buffer (copy + paste),
 e. g. if you need to compose a command line using the
 examples listed in the man page.
 
 If you're accessing a system remotely, there is also the
 option of opening -- FOUR! Four options! -- the option
 of opening more than one connection to the remote system,
 and each of them in an own xterm (or KDE Konsole tab
 which I would say if I had been using KDE, but I haven't).
 Of course, this solution also allows you copy + paste
 operations. Other means of accessibility are provided by
 the window manager you're using.
 
 Nobody expects the Spanish Inquisition! :-)
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 

Hi.

As I now have ssh working, I can indeed have multiple logins running in 
indipendant windows on another box.   (because I have it) I'm using PuTTY 
on Win2k.  http://www.chiark.greenend.org.uk/~sgtatham/putty/

It appears to work well.

I now have another problem of the BSD flavor (inabiltiy to 'su') but I've 
already asked that in another post.

Thanks.

Dave B.

PS: Do I detect a Monty Python fan?  ;-)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


missing digest mail?

2010-11-27 Thread Dave
I just noticed, that I seem to have missed some digest mails, Vol 338, 
issues 4 to 7.  (No list mail between the 24th and 27th November, only 
direct mails from list members.)  Nothing in the spam bucket here either.

Hopefully nothing useful to me passed by.

Regards.

Dave B.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Chris Brennan
 Hi.

 As I now have ssh working, I can indeed have multiple logins running in
 indipendant windows on another box.   (because I have it) I'm using PuTTY
 on Win2k.  
 http://www.chiark.greenend.org.uk/~sgtatham/putty/http://www.chiark.greenend.org.uk/%7Esgtatham/putty/

 It appears to work well.

 I now have another problem of the BSD flavor (inabiltiy to 'su') but I've
 already asked that in another post.

 Thanks.


use screen/tmux/some other app that does this inside of putty to preserve
work in progress. :D



  Dave B.

 PS: Do I detect a Monty Python fan?  ;-)


Bring out your dead! Bring out your dead!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Adam Vande More
On Sat, Nov 27, 2010 at 11:06 AM, Dave d...@g8kbv.demon.co.uk wrote:

 
  /usr/ports/sysutils/screen/
 
 
 

 Ryan, thanks, but no 'ports' is installed on this box, it was built with
 a net install, from a V8.0 boot disk, earlier this year (April if memory
 serves.)

 I find now, that Sysinstall's ports management utility, has to be told
 to go look for V8.1 stuff (the Options page) else it just whinges about
 not being able to login to the repository ftp servers.


As root, type portsnap fetch extract

I also like tmux, it's BSD licensed and BSD-like in that is has easier to
work with default settings.  Once ports are installed you'll want to install
a port managment tool, I prefer portmaster.

Something like the following will get you up and running with portmaster and
install tmux:

cd /usr/ports/ports-mgmt/portmaster
make install clean  rehash
portmaster --no-confirm -D /usr/ports/sysutils/tmux  rehash


-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: BUG: freebsd.org/ru/releases

2010-11-27 Thread Julian H. Stacey
Hi,
Reference:
 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= kes-...@yandex.ru 
 Reply-to: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= kes-...@yandex.ru 
 Date: Sat, 27 Nov 2010 18:38:03 +0200 
 Message-id:   1071667463.20101127183...@yandex.ru 

=?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= wrote:
 HI, Freebsd-questions.
 
 http://www.freebsd.org/ru/releases/
 on this page is wrong information about releases.
 
 Old release is 6.0 and last is 8.1 on march 2006!! year.

Please file a change request:   
man send-pr
send-pr
Which both:
- lodgess in bug database till someone fixes it 
- sends a mail to people who have commit privilege to fix it.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 If I've not replied, please resend,
Some personal mail to me received before 12:40 Sun 20 Nov 2010 +01:00,
may have been zapped by spam filter; Fixed 17:30 Thu 25 Nov 2010 CET.
Mail plain text;  Not quoted-printable, or HTML or base 64.
Avoid top posting, it cripples itemised cumulative responses.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: next question....

2010-11-27 Thread Dave
On 27 Nov 2010 at 12:06, Chris Brennan wrote:


 On Sat, Nov 27, 2010 at 12:01 PM, Dave d...@g8kbv.demon.co.uk wrote:
 
  $ su
  su: Sorry
  $ sudo
  sudo: not found
  $ uname -a
  FreeBSD FBSD.67MK181QZ 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Apr
  14 22:55:09 BST 2010
  r...@fbsd.67mk181qz:/usr/obj/usr/src/sys/PPSGENERIC  i386 $ $
 
 
 
 You need to add yourself to the 'wheel' group to su or you need to add
 the proper line to /usr/local/etc/sudoers to sudo correctly.
 
 When su'ing, pass 'su -' (assumes the path of the user your changing
 to).
 
 When sudo'ing, pass 'sudo su -' (same principle applies, but you don't
 need to to be in wheel to use this command)
 

That was quick!

Thanks Chris.

That user now part of the 'wheel' group, and 'su' now works.  I'll also 
remove the ability of root to login remotely.

Many thanks again.

Dave B.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Dave
On 27 Nov 2010 at 11:22, Adam Vande More wrote:

 On Sat, Nov 27, 2010 at 11:06 AM, Dave d...@g8kbv.demon.co.uk wrote:
 
  
   /usr/ports/sysutils/screen/
  
 
  Ryan, thanks, but no 'ports' is installed on this box, it was built
  with a net install, from a V8.0 boot disk, earlier this year (April
  if memory serves.)
 
  I find now, that Sysinstall's ports management utility, has to be
  told to go look for V8.1 stuff (the Options page) else it just
  whinges about not being able to login to the repository ftp servers.
 
 
 As root, type portsnap fetch extract
 
 I also like tmux, it's BSD licensed and BSD-like in that is has easier
 to work with default settings.  Once ports are installed you'll want
 to install a port managment tool, I prefer portmaster.
 
 Something like the following will get you up and running with
 portmaster and install tmux:
 
 cd /usr/ports/ports-mgmt/portmaster
 make install clean  rehash
 portmaster --no-confirm -D /usr/ports/sysutils/tmux  rehash
 
 
 -- 
 Adam Vande More
 

Thanks Adam.

Unless I hear from others a good reason why not, I'll be trying that 
tomorrow, as I'm running out of time today to play any more.   The first 
of this years Xmas party's tonight.   Tomorrow, I might be a little slow 
as a result..

Best Regards to All.

Dave B.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Polytropon
On Sat, 27 Nov 2010 17:06:06 -, Dave d...@g8kbv.demon.co.uk wrote:
 Ryan, thanks, but no 'ports' is installed on this box, it was built with 
 a net install, from a V8.0 boot disk, earlier this year (April if memory 
 serves.)

Use this:

# pkg_add -r screen

Precompiled packaes work without a ports tree installed.
Obtains files via Internet and installs all needed
dependencies.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Chris Brennan
On Sat, Nov 27, 2010 at 12:40 PM, Dave d...@g8kbv.demon.co.uk wrote:

 On 27 Nov 2010 at 11:22, Adam Vande More wrote:

  On Sat, Nov 27, 2010 at 11:06 AM, Dave d...@g8kbv.demon.co.uk wrote:
 
   
/usr/ports/sysutils/screen/
   
  
   Ryan, thanks, but no 'ports' is installed on this box, it was built
   with a net install, from a V8.0 boot disk, earlier this year (April
   if memory serves.)
  
   I find now, that Sysinstall's ports management utility, has to be
   told to go look for V8.1 stuff (the Options page) else it just
   whinges about not being able to login to the repository ftp servers.
  
 
  As root, type portsnap fetch extract
 
  I also like tmux, it's BSD licensed and BSD-like in that is has easier
  to work with default settings.  Once ports are installed you'll want
  to install a port managment tool, I prefer portmaster.
 
  Something like the following will get you up and running with
  portmaster and install tmux:
 
  cd /usr/ports/ports-mgmt/portmaster
  make install clean  rehash
  portmaster --no-confirm -D /usr/ports/sysutils/tmux  rehash


No need to specify the full path w/ portmaster ... just portmaster
--no-confirm -D sysutils/tmux is sufficient, portsnap is the best/easiest
way to get the latest snapshot of ports. No real reason not to unless your
using a custom ports or are maintaining your own ports and don't want them
clobbered.



 

 Thanks Adam.

 Unless I hear from others a good reason why not, I'll be trying that
 tomorrow, as I'm running out of time today to play any more.   The first
 of this years Xmas party's tonight.   Tomorrow, I might be a little slow
 as a result..

 Best Regards to All.

 Dave B.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Adam Vande More
On Sat, Nov 27, 2010 at 12:05 PM, Chris Brennan xa...@xaerolimit.netwrote:

 No need to specify the full path w/ portmaster ... just portmaster
 --no-confirm -D sysutils/tmux is sufficient, portsnap is the best/easiest
 way to get the latest snapshot of ports. No real reason not to unless your
 using a custom ports or are maintaining your own ports and don't want them
 clobbered.


There are a couple of reasons specifying the full path is more convenient:

1.  tab-completions work
2.  When dealing with system utilities like whereis(1), the full path is
displayed making double-click+middle click give you correct cmd

portmaster $FULL_PATH - $PORTSDIR is only useful for me in cases where I
remember exactly where the port lives.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Kurt Buff
On Fri, Nov 26, 2010 at 13:18, Polytropon free...@edvax.de wrote:
 On Fri, 26 Nov 2010 09:53:51 -0500, Chris Brennan xa...@xaerolimit.net 
 wrote:
 There are two options that I know of that could make this part easier for
 you

 1) screen (tried and true) can do split windows/multiple windows although
 I've never been able to correctly figure it out

 2) tmux (the pretentious upstart), it's a quick install and it's built in
 help (^b?) is eternally useful and it's options make more sense then screen
 (to me at least)

 Along with the Spanish Inquisition, there are three! Three!
 Three options: screen, tmux, and the native solution of
 virtual terminals via Alt+PFx switch. This even allows
 you to use the mouse-driven edit buffer (copy + paste),
 e. g. if you need to compose a command line using the
 examples listed in the man page.

 If you're accessing a system remotely, there is also the
 option of opening -- FOUR! Four options! -- the option
 of opening more than one connection to the remote system,
 and each of them in an own xterm (or KDE Konsole tab
 which I would say if I had been using KDE, but I haven't).
 Of course, this solution also allows you copy + paste
 operations. Other means of accessibility are provided by
 the window manager you're using.

 Nobody expects the Spanish Inquisition! :-)

That's what I get for waiting a week to look at email...

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Kurt Buff
On Fri, Nov 26, 2010 at 06:53, Chris Brennan xa...@xaerolimit.net wrote:

 On Fri, Nov 26, 2010 at 6:30 AM, Dave d...@g8kbv.demon.co.uk wrote:

    Yes, I found that, good info.  I'm relying on the freebsd.org site man
  pages and documentation among others, as I'm finding it too inconvenient
  (bad short term memory) using the man pages on the system.  At least I
  can have the website pages open on a nearby laptop.
 
 
 There are two options that I know of that could make this part easier for
 you

 1) screen (tried and true) can do split windows/multiple windows although
 I've never been able to correctly figure it out

 2) tmux (the pretentious upstart), it's a quick install and it's built in
 help (^b?) is eternally useful and it's options make more sense then screen
 (to me at least)

 Don't get me wrong, both serve there purpose. Personally, I prefer tmux but
 I still use screen for some things. So the choice comes down to what you
 find that works for you.

For a standard installation, there's also the base console
functionality: ALT+F(n) key combo - each one, F1 up to (IIRC) F12,
gets a different console. I often leave the main console alone to
display system messages while I work at other consoles.

Or, for that matter, multiple ssh sessions.

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Charlie Kester

On Fri 26 Nov 2010 at 14:31:23 PST Chip Camden wrote:

Quoth Polytropon on Friday, 26 November 2010:

FIVE!  Using a tiling window manager like xmonad, just open another
xterm.  Either share a workspace between them, or put one of them in a
different workspace, depending on whether you like to be able to see
both at the same time and/or have multiple monitors.


SIX! sysutils/dvtm tiles console or terminal windows, similar to tmux.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Polytropon
 For a standard installation, there's also the base console
 functionality: ALT+F(n) key combo - each one, F1 up to (IIRC) F12,
 gets a different console.

This depends on how many virtual consoles have been
defined in the /etc/ttys file. I think the default
is 0 up to 7, and 8 (corresponds to PF9) is X. The
consoles for Alt+PF10,11,12 can be added easily.



 I often leave the main console alone to
 display system messages while I work at other consoles.

In former times, this was my STANDARD development
setting (text-mode only), 80x25 each.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: missing digest mail?

2010-11-27 Thread perryh
Dave d...@g8kbv.demon.co.uk wrote:

 I just noticed, that I seem to have missed some digest mails,
 Vol 338, issues 4 to 7.  (No list mail between the 24th and 27th
 November, only direct mails from list members.)  Nothing in the
 spam bucket here either.

 Hopefully nothing useful to me passed by.

http://lists.freebsd.org/pipermail/freebsd-questions/2010-November/date.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Memory leak and swapfile

2010-11-27 Thread Matthew Seaman
On 26/11/2010 18:24, Jack Raats wrote:
 It looks like that there may be a memory leak of my swap space with one
 of the processes that is running.
 Big question: How can I determine which process is responsible.
 
 Any suggestions?

Look for a process with a really big SIZE in top(1) ?

Look for pages being mapped to swap via 'systat -vmstat 1'  Any activity
of the Swap Pager is a bad sign.

It's not so much 'swap space' as some process or processes using up
memory in general: when more memory has been allocated by processes than
will fit into RAM simultaneously, then you'll start getting pages mapped
to swap.  This is not intrinsically a bad thing: a one-time swap out of
a load of otherwise idle memory pages will clear space for more actively
used stuff.  It's generally very bad for performance if processes are
getting continually swapped in and out -- disk IO is pretty slow
compared to RAM.  Use eg. 'systat -vmstat 1' to monitor
swap activity.

It's not necessarily *one* process getting too big.  Processes that fork
multiple copies of themselves (like apache) can fill up RAM by spawning
too many copies of themselves.  In fact, it's a well known apache tuning
trick to limit the maximum number of apache child processes to what will
fit into RAM at one time -- swapping makes a far bigger impact on
performance than queueing up web requests until there's a free worker
process to service them.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Console Messages

2010-11-27 Thread Grant Peel
Hi all,

I am using FreeBSD 8.0 and am getting lots of these:

negative sbsize for uid = 0
+negative sbsize for uid = 0
+negative sbsize for uid = 0
+negative sbsize for uid = 0
+negative sbsize for uid = 0

any ideas what it means or how to cure it?

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Software Update

2010-11-27 Thread Chris Brennan
My fbsd desktop is popping up with Software Update. My question is weather
this pulls updates from packages or ports.

P.s. I think I asked this before but it got lost in some other hubbub.  So
appologies if I did ask already.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Software Update

2010-11-27 Thread RW
On Sat, 27 Nov 2010 19:36:09 -0500
Chris Brennan xa...@xaerolimit.net wrote:

 My fbsd desktop is popping up with Software Update. My question is
 weather this pulls updates from packages or ports.

There are a few applications, such as opera, that can phone home and
check for newer versions. Typically they can't upgrade because they lack
privileges.

Perhaps you could be a little less vague.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Software Update

2010-11-27 Thread Steven Susbauer

On 11/27/2010 07:01 PM, RW wrote:

On Sat, 27 Nov 2010 19:36:09 -0500
Chris Brennanxa...@xaerolimit.net  wrote:


My fbsd desktop is popping up with Software Update. My question is
weather this pulls updates from packages or ports.


There are a few applications, such as opera, that can phone home and
check for newer versions. Typically they can't upgrade because they lack
privileges.

Perhaps you could be a little less vague.


Software Update is provided by gnome-packagekit (or the kde equivalent) 
and will nag if updated packages are available.


To the op, according to 
http://lists.freebsd.org/pipermail/freebsd-ports/2009-September/057056.html 
PackageKit was given support for ports using portupgrade or portaudit.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Software Update

2010-11-27 Thread Chris Brennan
On Sat, Nov 27, 2010 at 8:50 PM, Steven Susbauer ste...@too1337.com wrote:

 On 11/27/2010 07:01 PM, RW wrote:

 On Sat, 27 Nov 2010 19:36:09 -0500
 Chris Brennanxa...@xaerolimit.net  wrote:

  My fbsd desktop is popping up with Software Update. My question is
 weather this pulls updates from packages or ports.


 There are a few applications, such as opera, that can phone home and
 check for newer versions. Typically they can't upgrade because they lack
 privileges.

 Perhaps you could be a little less vague.


 Software Update is provided by gnome-packagekit (or the kde equivalent) and
 will nag if updated packages are available.

 To the op, according to
 http://lists.freebsd.org/pipermail/freebsd-ports/2009-September/057056.htmlPackageKit
  was given support for ports using portupgrade or portaudit.


Thanks Steven, that's what I was looking for.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Digital camera (Canon)

2010-11-27 Thread Ryan Coleman

On Nov 27, 2010, at 9:17 PM, Bernt Hansson wrote:

 Hello list
 
 I have a digital camera, Canon powershoot sx130 is. That I wish to mount. The 
 camera contains an sd-card that I wish to extract the photos from.
 
 ugen2.2: canon inc. at usbus2
 
 %uname -a
 FreeBSD testbox.fqdn 8.1-STABLE FreeBSD 8.1-STABLE #0: Sat Oct 23 22:05:11 
 CEST 2010  amd64


It's FAT32, so I'd try...

mount_msdosfs /dev/ugen2.2

... or something similar___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Digital camera (Canon)

2010-11-27 Thread Chris Hill

On Sun, 28 Nov 2010, Bernt Hansson wrote:

I have a digital camera, Canon powershoot sx130 is. That I wish to 
mount. The camera contains an sd-card that I wish to extract the photos 
from.


ugen2.2: canon inc. at usbus2


I have a Canon Powershot S5IS that behaves similarly. I have found that it 
can't be mounted like a disk drive, even though you would think it should 
work that way. Instead, I have to use gtkam to get the pictures off of it 
- /usr/ports/graphics/gtkam


Also had to change some system stuff in order to be able to do this as an 
ordinary user:


Added to /etc/devfs.conf
# Allow members of group operator to use USB
own usb*root:operator
permusb*0660

...and here is my /etc/devfs.rules in its entirety:
# Added so ordinary users can use the USB camera if they are
# members of group 'usb'
#
[usb_devices=10]
add path 'ugen*' mode 0660 group usb
add path 'da*s*' mode 0660 group usb
#
# 20091231: added the following for 8.0, since usb is handled
# differently now. Hoping this will make gtkam work.
add path 'usb/*' mode 0660 group usb

HTH...

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


zpool won't mount as dataset stuck

2010-11-27 Thread Geoff Roberts


Hi,

In a slight panic here as my main ZFS pool tank won't mount.

I have two ZFS pools on two different drives - a system pool on a  
single disk called data and a mirrored pool on two disks called  
tank.


The tank zpool contains all my jails and non-system boot type data.

I was wanting to test FreeBSD 8.2-PRERELEASE and therefore took a  
snapshot of data and tank:


zfs snapshot -r d...@pre82
zfs snapshot -r t...@pre82

tank seemed to hang on the above command for ages and I had to Ctrl-C.

Long and short is I can see the tank zpool without a problem, but  
whenever I try to import it the disk light flashes every second and  
the datasets won't mount.


I can run a history command on tank and that shows the following  
repeated every second (tgx keeps incrementing by one):


2010-11-28.15:08:33 [internal rollback txg:9645688] dataset = 222  
[user root on systemname.com]
2010-11-28.15:08:34 [internal rollback txg:9645689] dataset = 222  
[user root on systemname.com]



The zpool seems to be stuck.

What should I do from here?

Is there a way to freeze dataset operations so I can at least mount them?

Other thoughts and questions I had:

a) What would be the best way to take a raw image of the zpool so I  
can work on a copy of the zpool rather than the original?


b) Would it be worth trying to import the zpool on FreeBSD current or  
OpenSolaris?


Any help greatly appreciated.

Kind regards,

Geoff




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org