Re: buildworld error

2013-01-31 Thread Jesse
yes, that may be the reason.

I write a simple c++ program in the built-complete system. and compile it:
clang++ hello.cpp -std=c++11 -stdlib=libc++ -o hello
it reports undefined reference to bad_alloc errors message same as someones
discuss in this mail list.

I find that it is because -stdlib=libc++ will link /usr/lib/libc++.so.
If compile and link the c++ code like this it reports no error:
clang++ hello.cpp -c -o hello.o -std=c++11 -stdlib=libc++
clang++ hello.o -o hello /usr/lib/libc++.a
The second command will force clang++ to link the static libc++ instead of
the shared lib.
I think the current src build the libc++.so by false. Maybe libc++.so lacks
some object files to wrap.

ar -tv /usr/lib/libc++.a will print all of the necessary object files.


On Thu, Jan 31, 2013 at 7:20 PM, O. Hartmann ohart...@zedat.fu-berlin.dewrote:

 On 01/31/13 05:43, O. Hartmann wrote:
  Am 01/31/13 05:06, schrieb Jesse:
  z
 
  On 1/31/13, Jesse je...@glx.me wrote:
  i set these  in make.conf:
  CXXFLAGS+=-stdlib=libc++
  CXXFLAGS+=-std=c++11
 
  i comment them and rebuild world ok
  but it works at previous revision.
 
  On 1/30/13, Dimitry Andric d...@freebsd.org wrote:
  On 2013-01-30 10:37, Jesse wrote:
  I just update /usr/src and make buildworld. The building proccess
 stop
  as
  errors:
 
  === lib/clang/libllvmx86asmparser (all)
  === lib/clang/libllvmx86codegen (all)
  === lib/clang/libllvmx86desc (all)
  === lib/clang/libllvmx86disassembler (all)
  === lib/clang/libllvmx86info (all)
  === lib/clang/libllvmx86instprinter (all)
  === lib/clang/libllvmx86utils (all)
  === lib/clang/libllvmdebuginfo (all)
  === lib/clang/libllvmexecutionengine (all)
  === lib/clang/libllvminterpreter (all)
  === lib/clang/libllvmjit (all)
  === lib/clang/libllvmmcdisassembler (all)
  === lib/clang/libllvmmcjit (all)
  === lib/clang/libllvmruntimedyld (all)
  === lib/clang/include (all)
  1 error
  *** [everything] Error code 2
  1 error
  *** [buildworld] Error code 2
  1 error
 
  Because you are making buildworld with -j, the actual error message is
  not visible.  Try searching back in the log to find the actual error,
  and post that.  Alternatively, make buildworld without -j.
 
 
  ___
  freebsd-current@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-current
  To unsubscribe, send any mail to 
 freebsd-current-unsubscr...@freebsd.org
 
 
 
  I see the very same issue and reported this already. Since I'm not a
  professional developer, I'm not quite sure what and how to report the
  issue in exactly and accurate.
 
  In my case, this issue came out of the blue. I also have set
 
  CXXFLAGS+= -stdlib=libc++  -std=c++11
 
  but in /etc/src.conf. Commenting out -std=c++11 makes the build of
  world fail with something like
 
  [...]
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  In file included from
 
 /usr/src/lib/atf/libatf-c++/../../../contrib/atf/atf-c++/detail/application.cpp:42:
  In file included from
 /usr/obj/usr/src/tmp/usr/include/c++/v1/iostream:38:
  In file included from /usr/obj/usr/src/tmp/usr/include/c++/v1/ios:216:
  In file included from
 /usr/obj/usr/src/tmp/usr/include/c++/v1/__locale:15:
  In file included from /usr/obj/usr/src/tmp/usr/include/c++/v1/string:434:
  In file included from
 /usr/obj/usr/src/tmp/usr/include/c++/v1/algorithm:594:
  In file included from /usr/obj/usr/src/tmp/usr/include/c++/v1/memory:597:
  /usr/obj/usr/src/tmp/usr/include/c++/v1/__functional_base:22:1: error:
  inline namespaces are a C++11 feature [-Werror,-Wc++11-extensions]
  [...]
 
  which sounds strange to me, since I completely erase /usr/obj before
  building and I do not use a ccache or any other similar facility.
 
  Regards,
  Oliver
 
 


 I can confirm, that disabling CXXFLAGS+= -stdlib=libc++
 -std=c++11 completely solves the problem.

 Using -stdlib=libc++ building the system's sources decalres CURRENT broken.


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


buildworld errors

2013-01-30 Thread Jesse
I updated /usr/src and buildworld just now.
The building process stopped at here. It's FreeBSD 10.0

=== lib/clang/libllvmlinker (all)
=== lib/clang/libllvmmc (all)
=== lib/clang/libllvmmcparser (all)
=== lib/clang/libllvmobject (all)
=== lib/clang/libllvmscalaropts (all)
=== lib/clang/libllvmselectiondag (all)
=== lib/clang/libllvmsupport (all)
=== lib/clang/libllvmtablegen (all)
=== lib/clang/libllvmtarget (all)
=== lib/clang/libllvmtransformutils (all)
=== lib/clang/libllvmvectorize (all)
=== lib/clang/libllvmarmasmparser (all)
=== lib/clang/libllvmarmcodegen (all)
=== lib/clang/libllvmarmdesc (all)
=== lib/clang/libllvmarmdisassembler (all)
=== lib/clang/libllvmarminfo (all)
=== lib/clang/libllvmarminstprinter (all)
=== lib/clang/libllvmmipsasmparser (all)
=== lib/clang/libllvmmipscodegen (all)
=== lib/clang/libllvmmipsdesc (all)
=== lib/clang/libllvmmipsdisassembler (all)
=== lib/clang/libllvmmipsinfo (all)
=== lib/clang/libllvmmipsinstprinter (all)
=== lib/clang/libllvmpowerpccodegen (all)
=== lib/clang/libllvmpowerpcdesc (all)
=== lib/clang/libllvmpowerpcinfo (all)
=== lib/clang/libllvmpowerpcinstprinter (all)
=== lib/clang/libllvmx86asmparser (all)
=== lib/clang/libllvmx86codegen (all)
=== lib/clang/libllvmx86desc (all)
=== lib/clang/libllvmx86disassembler (all)
=== lib/clang/libllvmx86info (all)
=== lib/clang/libllvmx86instprinter (all)
=== lib/clang/libllvmx86utils (all)
=== lib/clang/libllvmdebuginfo (all)
=== lib/clang/libllvmexecutionengine (all)
=== lib/clang/libllvminterpreter (all)
=== lib/clang/libllvmjit (all)
=== lib/clang/libllvmmcdisassembler (all)
=== lib/clang/libllvmmcjit (all)
=== lib/clang/libllvmruntimedyld (all)
=== lib/clang/include (all)
1 error
*** [everything] Error code 2
1 error
*** [buildworld] Error code 2
1 error
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: buildworld error

2013-01-30 Thread Jesse
i set these  in make.conf:
CXXFLAGS+=-stdlib=libc++
CXXFLAGS+=-std=c++11

i comment them and rebuild world ok
but it works at previous revision.

On 1/30/13, Dimitry Andric d...@freebsd.org wrote:
 On 2013-01-30 10:37, Jesse wrote:
 I just update /usr/src and make buildworld. The building proccess stop as
 errors:

 === lib/clang/libllvmx86asmparser (all)
 === lib/clang/libllvmx86codegen (all)
 === lib/clang/libllvmx86desc (all)
 === lib/clang/libllvmx86disassembler (all)
 === lib/clang/libllvmx86info (all)
 === lib/clang/libllvmx86instprinter (all)
 === lib/clang/libllvmx86utils (all)
 === lib/clang/libllvmdebuginfo (all)
 === lib/clang/libllvmexecutionengine (all)
 === lib/clang/libllvminterpreter (all)
 === lib/clang/libllvmjit (all)
 === lib/clang/libllvmmcdisassembler (all)
 === lib/clang/libllvmmcjit (all)
 === lib/clang/libllvmruntimedyld (all)
 === lib/clang/include (all)
 1 error
 *** [everything] Error code 2
 1 error
 *** [buildworld] Error code 2
 1 error

 Because you are making buildworld with -j, the actual error message is
 not visible.  Try searching back in the log to find the actual error,
 and post that.  Alternatively, make buildworld without -j.

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


Re: buildworld error

2013-01-30 Thread Jesse
z

On 1/31/13, Jesse je...@glx.me wrote:
 i set these  in make.conf:
 CXXFLAGS+=-stdlib=libc++
 CXXFLAGS+=-std=c++11

 i comment them and rebuild world ok
 but it works at previous revision.

 On 1/30/13, Dimitry Andric d...@freebsd.org wrote:
 On 2013-01-30 10:37, Jesse wrote:
 I just update /usr/src and make buildworld. The building proccess stop
 as
 errors:

 === lib/clang/libllvmx86asmparser (all)
 === lib/clang/libllvmx86codegen (all)
 === lib/clang/libllvmx86desc (all)
 === lib/clang/libllvmx86disassembler (all)
 === lib/clang/libllvmx86info (all)
 === lib/clang/libllvmx86instprinter (all)
 === lib/clang/libllvmx86utils (all)
 === lib/clang/libllvmdebuginfo (all)
 === lib/clang/libllvmexecutionengine (all)
 === lib/clang/libllvminterpreter (all)
 === lib/clang/libllvmjit (all)
 === lib/clang/libllvmmcdisassembler (all)
 === lib/clang/libllvmmcjit (all)
 === lib/clang/libllvmruntimedyld (all)
 === lib/clang/include (all)
 1 error
 *** [everything] Error code 2
 1 error
 *** [buildworld] Error code 2
 1 error

 Because you are making buildworld with -j, the actual error message is
 not visible.  Try searching back in the log to find the actual error,
 and post that.  Alternatively, make buildworld without -j.


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


Re: 5.2-BETA dsp.c duplicate lock

2003-12-02 Thread Jesse Guardiani
Maxime Henrion wrote:

 Mathew Kanner wrote:
 [patch ripped]
 
 Maxime,
 I think it would be better to isolate the changes (DUP_OK flag
 and lock creation) to just the channel code, no need to touch every
 driver.
 
 Yes, but to do this I'd need either to make the channel code use
 mtx_init() directly, which would defeat the purpose of the USING_MUTEX
 define, or to completely unifdef -U it.  Since I had no idea if this code
 was actually used or not, I went the safe way and just changed the
 snd_mtxcreate() wrapper interface to accept mutex options.  For what it's
 worth, there is at least one direct invokation of mtx_init() in the sound
 drivers, so it seems this define is actually already broken.
 
 This needs to be sorted out before committing this patch if we need to,
 but for now, I just wanted to see if using MTX_DUPOK solved the problem or
 not.

I'll try to test later today. Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.2-BETA dsp.c duplicate lock

2003-12-01 Thread Jesse Guardiani
Jesse Guardiani wrote:

 I get this every time I `startx`. I didn't see it in
 the archive either:
 
 
 acquiring duplicate lock of same type: pcm channel
  1st pcm0:record:0 @ /usr/src/sys/dev/sound/pcm/dsp.c:144
  2nd pcm0:virtual:0 @ /usr/src/sys/dev/sound/pcm/dsp.c:146
 Stack backtrace:
 backtrace(c089b7e5,c3c96a54,c0a8f35a,92,200246) at backtrace+0x17
 witness_lock(c3c6aa80,8,c0a8f35a,92,2002) at witness_lock+0x672
 _mtx_lock_flags(c3c6aa80,0,c0a8f35a,92,c4) at _mtx_lock_flags+0xba
 getchns(c3d07700,e473faf0,e473faf4,3000,c3b86980) at getchns+0x1b5
 dsp_poll(c3d07700,c4,c403e640,c097fce0,0) at dsp_poll+0x46
 spec_poll(e473fb48,e473fb68,c06d600c,e473fb48,c0937ca0) at spec_poll+0x180
 spec_vnoperate(e473fb48,c0937ca0,c438db2c,c4,c4361a80) at
 spec_vnoperate+0x18 vn_poll(c4599110,c4,c4361a80,c403e640,c4361a80) at
 vn_poll+0x3c pollscan(c403e640,e473fbd8,3,3e1,18) at pollscan+0xb3
 poll(c403e640,e473fd14,c08b631d,3ee,3) at poll+0x252
 syscall(2f,2f,2f,,bfbfe748) at syscall+0x2c0
 Xint0x80_syscall() at Xint0x80_syscall+0x1d
 --- syscall (209), eip = 0x2869322f, esp = 0xbfbfe70c, ebp = 0xbfbfe768
 ---
 

I this a known LOR? Or do I need to submit a pr?

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


another 5.2-BETA lock order reversal

2003-11-28 Thread Jesse Guardiani
Checked the archive and didn't see this one listed yet:

lock order reversal
 1st 0xc4047134 filedesc structure (filedesc structure)[EMAIL 
PROTECTED]/usr/src/sys/kern/sys_
generic.c:896
 2nd 0xc0956a80 Giant (Giant)[EMAIL PROTECTED]/usr/src/sys/fs/specfs/spec_vnops.c:377
Stack backtrace:
backtrace(c089b89c,c0956a80,c0897b1f,c0897b1f,c0893352) at backtrace+0x17
witness_lock(c0956a80,8,c0893352,179,0) at witness_lock+0x672
_mtx_lock_flags(c0956a80,0,c0893352,179,c089bea3) at _mtx_lock_flags+0xba
spec_poll(e476fafc,e476fb1c,c06d600c,e476fafc,c0937ca0) at spec_poll+0x134
spec_vnoperate(e476fafc,c0937ca0,c3c7e410,40,c435d680) at spec_vnoperate+0x18
vn_poll(c45992a8,40,c435d680,c43323c0,c435d680) at vn_poll+0x3c
selscan(c43323c0,e476fb9c,e476fb8c,1,4) at selscan+0x141
kern_select(c43323c0,1,bfbfe890,0,bfbfe810) at kern_select+0x37f
select(c43323c0,e476fd14,c08b631d,3ee,5) at select+0x66
syscall(2f,2f,2f,0,0) at syscall+0x2c0
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (93), eip = 0x2845b94f, esp = 0xbfbfe7cc, ebp = 0xbfbfe928 ---

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


LOR w/5.2-BETA

2003-11-27 Thread Jesse Guardiani
I got this LOR today after upgrading my IBM Thinkpad A30p from 5.1-RELEASE
to 5.2-BETA:


lock order reversal
 1st 0xc43d8ad4 vm object (vm object) @ /usr/src/sys/vm/swap_pager.c:1323
 2nd 0xc098cf60 swap_pager swhash (swap_pager swhash) @ /usr/src/sys/vm/swap_pag
er.c:1838
 3rd 0xc10368c4 vm object (vm object) @ /usr/src/sys/vm/uma_core.c:876
Stack backtrace:
backtrace(c089b8b5,c10368c4,c08afa80,c08afa80,c08b0961) at backtrace+0x17
witness_lock(c10368c4,8,c08b0961,36c,c3c7da80) at witness_lock+0x672
_mtx_lock_flags(c10368c4,0,c08b0961,36c,c3c7da94) at _mtx_lock_flags+0xba
obj_alloc(c3c7da80,1000,d2a6ba03,101,c095b220) at obj_alloc+0x3f
slab_zalloc(c3c7da80,1,8,c08b0961,68c) at slab_zalloc+0xb3
uma_zone_slab(c3c7da80,1,c08b0961,68c,c3c7db20) at uma_zone_slab+0xd6
uma_zalloc_internal(c3c7da80,0,1,5c1,c08ae87a,72e) at uma_zalloc_internal+0x3e
uma_zalloc_arg(c3c7da80,0,1,72e,2) at uma_zalloc_arg+0x3ab
swp_pager_meta_build(c43d8ad4,19,0,2,0) at swp_pager_meta_build+0x174
swap_pager_putpages(c43d8ad4,d2a6bbd0,1,0,d2a6bb40) at swap_pager_putpages+0x32d

default_pager_putpages(c43d8ad4,d2a6bbd0,1,0,d2a6bb40) at default_pager_putpages
+0x2e
vm_pageout_flush(d2a6bbd0,1,0,eb,0) at vm_pageout_flush+0x17a
vm_pageout_clean(c160b7a8,0,c08b077c,32a,0) at vm_pageout_clean+0x305
vm_pageout_scan(0,0,c08b077c,5a9,1f4) at vm_pageout_scan+0x64c
vm_pageout(0,d2a6bd48,c0895fd8,311,0) at vm_pageout+0x31b
fork_exit(c07e7e60,0,d2a6bd48) at fork_exit+0xb4
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd2a6bd7c, ebp = 0 ---

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.2-BETA dsp.c duplicate lock

2003-11-27 Thread Jesse Guardiani
I get this every time I `startx`. I didn't see it in
the archive either:


acquiring duplicate lock of same type: pcm channel
 1st pcm0:record:0 @ /usr/src/sys/dev/sound/pcm/dsp.c:144
 2nd pcm0:virtual:0 @ /usr/src/sys/dev/sound/pcm/dsp.c:146
Stack backtrace:
backtrace(c089b7e5,c3c96a54,c0a8f35a,92,200246) at backtrace+0x17
witness_lock(c3c6aa80,8,c0a8f35a,92,2002) at witness_lock+0x672
_mtx_lock_flags(c3c6aa80,0,c0a8f35a,92,c4) at _mtx_lock_flags+0xba
getchns(c3d07700,e473faf0,e473faf4,3000,c3b86980) at getchns+0x1b5
dsp_poll(c3d07700,c4,c403e640,c097fce0,0) at dsp_poll+0x46
spec_poll(e473fb48,e473fb68,c06d600c,e473fb48,c0937ca0) at spec_poll+0x180
spec_vnoperate(e473fb48,c0937ca0,c438db2c,c4,c4361a80) at spec_vnoperate+0x18
vn_poll(c4599110,c4,c4361a80,c403e640,c4361a80) at vn_poll+0x3c
pollscan(c403e640,e473fbd8,3,3e1,18) at pollscan+0xb3
poll(c403e640,e473fd14,c08b631d,3ee,3) at poll+0x252
syscall(2f,2f,2f,,bfbfe748) at syscall+0x2c0
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (209), eip = 0x2869322f, esp = 0xbfbfe70c, ebp = 0xbfbfe768 ---

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB 1.0 IDE to ATAPI drive enclosure failure

2003-11-27 Thread Jesse Guardiani
Jesse Guardiani wrote:

 This is interesting:
 
 
 [17:[EMAIL PROTECTED]:[~]# camcontrol devlist
 USB 2.0 Storage Device 0100  at scbus1 target 0 lun 0 (da0,pass0)
 
 [17:[EMAIL PROTECTED]:[~]# camcontrol inquiry 1:0:0
 pass0: USB 2.0 Storage Device 0100 Fixed Direct Access SCSI-0 device
 pass0: Serial Number
 pass0: 1.000MB/s transfers
 
 
 So it looks like it's just not recognizing the file system on da0.
 Perhaps I should try `camcontrol format`? It would probably take for ever
 to format a 32Gb disk over a 1M link, but I could leave it on over
 night...
 
 I originally formatted this disk by putting it in my primary drive sled
 in my laptop and running a partitioning program...

I just upgraded to FreeBSD 5.2-BETA and this drive works now! Apparently
something in the umass driver has changed for the better since 5.1-RELEASE
and 4.8-RELEASE (the systems I tested the drive on that didn't work).

Woo hoo!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


ISO IMAGES

2003-11-26 Thread Jesse Guardiani
Will ISO images be released for 5.2-BETA i386?
Or is that strictly an -RC thing?

Thanks.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB 1.0 IDE to ATAPI drive enclosure failure

2003-11-24 Thread Jesse Guardiani
Howdy list,

I'm running FreeBSD 5.1-RELEASE. I just bought a generic
USB 1.1/2.0/firewire external drive enclosure for my 32gb
Travelstar 2.0 12.5mm hard drive.

The device shows up like this:

Nov 18 14:06:16 trevarthan kernel: umass0: Acer Labs USB 2.0 Storage Device, rev 
2.00/1.03, addr 3
Nov 18 14:06:16 trevarthan kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Nov 18 14:06:17 trevarthan kernel: da0: USB 2.0 Storage Device 0100 Fixed Direct 
Access SCSI-0 device
Nov 18 14:06:17 trevarthan kernel: da0: 1.000MB/s transfers
Nov 18 14:06:17 trevarthan kernel: da0: 30520MB (62506080 512 byte sectors: 255H 63S/T 
3890C)

But `ls -al /dev/da*` reveals no slices:

crw-r-  1 root  operator4,  22 Nov 18 13:35 /dev/da0

The hard disk inside this enclosure was formatted with a 10gig
FAT32 partition. It works fine in a Coolmax Gemini 2.5 USB 2.0/1.1
drive enclosure (which shows up as IDE-ATA under Windows XP), and
it works fine in this enclosure as long as I'm running Windows XP
(but it shows up differently than the Gemini under XP: IDE-ATAPI).
It just doesn't work under FreeBSD 5.1-RELEASE or FreeBSD 4.8-RELEASE
for some reason...

I've found the following links relating to similar problems:

http://lists.freebsd.org/pipermail/freebsd-current/2003-August/008504.html

http://lists.freebsd.org/pipermail/freebsd-hardware/2003-July/000393.html

But no solutions. Has the USB code been updated since FreeBSD 5.1-RELEASE?
Is there a chance it will work if I cvsup to -CURRENT?

I contacted the gentleman from the first link above, and he said that
the only thing different about his configuration (other than hardware)
is that:

1.) He connects through a USB hub
2.) He runs -CURRENT from Nov 7th

I can't seem get my hands on a USB hub, so it looks like my only option is -CURRENT.

Does anyone have any clues to help get this drive working? I'm all for debugging
of any kind, including coding. I'm just not sure where to start.

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB 1.0 IDE to ATAPI drive enclosure failure

2003-11-24 Thread Jesse Guardiani
Barney Wolff wrote:

 On Mon, Nov 24, 2003 at 04:44:02PM -0500, Jesse Guardiani wrote:
 
 I'm running FreeBSD 5.1-RELEASE. I just bought a generic
 USB 1.1/2.0/firewire external drive enclosure for my 32gb
 Travelstar 2.0 12.5mm hard drive.
 
 The device shows up like this:
 
 Nov 18 14:06:16 trevarthan kernel: umass0: Acer Labs USB 2.0 Storage
 Device, rev 2.00/1.03, addr 3 Nov 18 14:06:16 trevarthan kernel: da0 at
 umass-sim0 bus 0 target 0 lun 0 Nov 18 14:06:17 trevarthan kernel: da0:
 USB 2.0 Storage Device 0100 Fixed Direct Access SCSI-0 device Nov 18
 14:06:17 trevarthan kernel: da0: 1.000MB/s transfers Nov 18 14:06:17
 trevarthan kernel: da0: 30520MB (62506080 512 byte sectors: 255H 63S/T
 3890C)
 
 But `ls -al /dev/da*` reveals no slices:
 
 If you're using an ohci usb controller, perhaps you need a patch.
 Browse the -current archives for the last week or so.

Sorry, I didn't realize that might be important.

Pretty sure it's UHCI:

[17:[EMAIL PROTECTED]:[~]% usbdevs
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
 addr 2: USB Receiver, Logitech
addr 1: UHCI root hub, Intel


And from dmesg.boot:

uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port 0x1800-0x181f irq 9 at 
device 29.0 on pci0
usb0: Intel 82801CA/CAM (ICH3) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801CA/CAM (ICH3) USB controller USB-B port 0x1820-0x183f irq 11 at 
device 29.1 on pci0
usb1: Intel 82801CA/CAM (ICH3) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801CA/CAM (ICH3) USB controller USB-C port 0x1840-0x185f irq 9 at 
device 29.2 on pci0
usb2: Intel 82801CA/CAM (ICH3) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB 1.0 IDE to ATAPI drive enclosure failure

2003-11-24 Thread Jesse Guardiani
This is interesting:


[17:[EMAIL PROTECTED]:[~]# camcontrol devlist
USB 2.0 Storage Device 0100  at scbus1 target 0 lun 0 (da0,pass0)

[17:[EMAIL PROTECTED]:[~]# camcontrol inquiry 1:0:0
pass0: USB 2.0 Storage Device 0100 Fixed Direct Access SCSI-0 device
pass0: Serial Number
pass0: 1.000MB/s transfers


So it looks like it's just not recognizing the file system on da0.
Perhaps I should try `camcontrol format`? It would probably take for ever
to format a 32Gb disk over a 1M link, but I could leave it on over night...

I originally formatted this disk by putting it in my primary drive sled
in my laptop and running a partitioning program...

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


atheros (ath) driver bridging

2003-09-16 Thread Jesse Guardiani
Howdy list,

Is the ath(4) driver, like the wi(4) driver, incapable of performing
bridging?

For reference, this is from the bridge(4) manpage:

 Bridging requires interfaces to be put in promiscuous mode, and transmit
 packets with Ethernet source addresses.  Some interfaces (e.g. wi(4)) do
 not support this functionality.  Also, bridging is not compatible with
 interfaces which use hardware loopback, because there is no way to tell
 locally generated packets from externally generated ones.

ath(4) manpage:

 
http://www.freebsd.org/cgi/man.cgi?query=athapropos=0sektion=0manpath=FreeBSD+5.1-currentformat=html

wi(4) manpage:

 
http://www.freebsd.org/cgi/man.cgi?query=wisektion=4apropos=0manpath=FreeBSD+5.1-current

bridge(4) manpage:

 
http://www.freebsd.org/cgi/man.cgi?query=bridgeapropos=0sektion=0manpath=FreeBSD+5.1-currentformat=html

Just curious. Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atheros (ath) driver bridging

2003-09-16 Thread Jesse Guardiani
Sam Leffler wrote:

 Is the ath(4) driver, like the wi(4) driver, incapable of performing
 bridging?
 
 Sorry, answered too quickly.  ath and wi have the same restrictions.  You
 can use bridging to hookup a wired and wireless network but not two
 wireless networks.  I can't tell from your posting what you are trying to
 do.

Yes, I was refering to bridging two wireless interfaces.

I suppose that if I had a soekris 4521 box I could run a crossover between the
ethernet interfaces and bridge wi-eth ... eth-wi... :) Just a tad inefficient,
but it might work...

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atheros (ath) driver bridging

2003-09-16 Thread Jesse Guardiani
Sam Leffler wrote:

 Yes, I was referring to bridging two wireless interfaces.
 
 David Young (of netbsd) has plans for WDS support that should fit into the
 existing 802.11 layer.  With his design you should be able to bridge WDS
 links using the standard bridge support.  No ETA.

I appologize for my ignorance, but when you say 'WDS', do you mean
something having to do with 802.11f?

I've been trying to figure out just what WDS is from this thread:

http://lists.personaltelco.net/pipermail/general/2002q1/005791.html

But so far I'm not getting a clear picture. Jason Luther seems to indicate
that WDS is largely proprietary thus far, which makes me wonder how a NetBSD
guy could do anything useful with it. I think it may be IEEE standard
reading time for me:

http://standards.ieee.org/getieee802/802.11.html

Thanks.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: route problems in 5.1-RELEASE

2003-09-12 Thread Jesse Guardiani
Martin Blapp wrote:

 
 Hi,
 
Normally, if I want to swap from wi0 to fxp0, all I
have to do is:

killall dhclient
ifconfig wi0 down
ifconfig fxp0 up
dhclient fxp0
 
 Why don't you just update to 5.X, run mergemaster-
 
 Then just remove the wi0 card and plug in a ethernet
 cable to the internal NIC ? This works wonderful here.
 No manual interaction needed anymore. Dhclient had a bunch
 of fixes for this problem, the rc system had it too. All of
 them are fixed.

Ok. Glad to hear it.

I would update to -CURRENT, but I'm a little worried about my
ATA drive not being detected with the new ATAng stuff. :)

Not to mention the hastle of having to compile all my userland
stuff from source. (You can't use packages with -CURRENT, right?
Or am I mistaken?)

This isn't a beater laptop. I actually use it for real work.
So maybe I'll just wait for 5.2-RELEASE...

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


route problems in 5.1-RELEASE

2003-09-11 Thread Jesse Guardiani
Howdy list,

I'm having major problems with the route command today.
My machine is an IBM Thinkpad A30p laptop, running FreeBSD
5.1-RELEASE.

I have two interfaces. wi0 and fxp0

Normally, if I want to swap from wi0 to fxp0, all I
have to do is:

killall dhclient
ifconfig wi0 down
ifconfig fxp0 up
dhclient fxp0

And I'm done. However, ocassionally this backfires,
like it did today:

My fxp0 interface is up:

fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::2d0:59ff:feaa:70ec%fxp0 prefixlen 64 scopeid 0x3
inet 192.168.1.101 netmask 0xff00 broadcast 192.168.1.255
ether 00:d0:59:aa:70:ec
media: Ethernet autoselect (100baseTX full-duplex)
status: active

And my wi0 interface is down:

wi0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::220:e0ff:fe8a:9061%wi0 prefixlen 64 scopeid 0x2
inet 192.168.1.47 netmask 0xff00 broadcast 192.168.1.255
ether 00:20:e0:8a:90:61
media: IEEE 802.11 Wireless Ethernet autoselect (none)
ssid WingNET 1:WingNET
stationname FreeBSD WaveLAN/IEEE node
channel -1 authmode OPEN powersavemode OFF powersavesleep 100
wepmode MIXED weptxkey 1
wepkey 1:128-bit

But routes to the internet are still wanting to use the wi0
interface for some reason:

[16:[EMAIL PROTECTED]:[~]# route get 206.30.215.2
   route to: 206.30.215.2
destination: 206.30.215.2
gateway: 192.168.1.1
  interface: wi0
  flags: UP,GATEWAY,HOST,DONE,WASCLONED,PROTO3
 recvpipe  sendpipe  ssthresh  rtt,msecrttvar  hopcount  mtu expire
   0 0 0 0 0 0  1500  3584
[16:[EMAIL PROTECTED]:[~]#


I can change the interface on a per-route basis, but not globally:

[16:[EMAIL PROTECTED]:[~]# route change 206.30.215.2 -iface fxp0
change host 206.30.215.2: gateway fxp0
[16:[EMAIL PROTECTED]:[~]# route get 206.30.215.2
   route to: 206.30.215.2
destination: 206.30.215.2
gateway: fxp0:0.d0.59.aa.70.ec
  interface: fxp0
  flags: UP,GATEWAY,HOST,DONE,WASCLONED,PROTO3
 recvpipe  sendpipe  ssthresh  rtt,msecrttvar  hopcount  mtu expire
   0 0 0 0 0 0  1500  3582
[16:[EMAIL PROTECTED]:[~]# route get 206.30.215.4
   route to: 206.30.215.4
destination: default
   mask: default
gateway: 192.168.1.1
  interface: wi0
  flags: UP,GATEWAY,DONE,STATIC,PRCLONING
 recvpipe  sendpipe  ssthresh  rtt,msecrttvar  hopcount  mtu expire
   0 0 0 0 0 0  1500 0
[16:[EMAIL PROTECTED]:[~]#



Some funky combination of:

ifconfig wi0 -alias

And restarting dhclient fixed the problem, but it took forever.


1.) Is this a bug?
2.) If so, has it already been fixed in -CURRENT?

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: route problems in 5.1-RELEASE

2003-09-11 Thread Jesse Guardiani
Kevin Oberman wrote:

 From: Jesse Guardiani [EMAIL PROTECTED]
 Date: Thu, 11 Sep 2003 16:19:42 -0400
 Sender: [EMAIL PROTECTED]
 
 Howdy list,
 
 I'm having major problems with the route command today.
 My machine is an IBM Thinkpad A30p laptop, running FreeBSD
 5.1-RELEASE.
 
 I have two interfaces. wi0 and fxp0
 
 Normally, if I want to swap from wi0 to fxp0, all I
 have to do is:
 
 killall dhclient
 ifconfig wi0 down
 ifconfig fxp0 up
 dhclient fxp0
 
 And I'm done. However, ocassionally this backfires,
 like it did today:
 
 Jesse,
 
 Try changing your list of commands to:
 killall dhclient
 ifconfig wi0 down
 route flush
 ifconfig fxp0 up
 dhclient fxp0
 
 That should fix it up.

Sorry for neglecting to mention it, but I did that, multiple times,
in multiple places.

I _didn't_ do it the FIRST time, but I did do multiple times after
that.

Perhaps I should do it the first time, from now on? Would that
prevent the problem?

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


KSE howto?

2003-09-09 Thread Jesse Guardiani
Howdy list,

Is there a KSE howto guide anywhere?

I'm thinking about updating my FreeBSD 5.1-RELEASE
system to -CURRENT and compiling XFree, KDE, MySQL,
and Apache2 with KSE support, just for fun.

But I don't know how to enable KSE support at compile
time...


Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Benchmarking KSE and SMPng

2003-09-08 Thread Jesse Guardiani
[EMAIL PROTECTED] wrote:

 Quoting Roderick van Domburg [EMAIL PROTECTED]:
 
  Just in case you don't know, there is no 5-STABLE yet. All the 5.x
 Releases have
  been based on -CURRENT.

 Indeed, I stand corrected.

   Question is then which {application,theoretical} benchmarks to run
   under which circumstances. Although I've heard of bonnie et al, I'm
   new to the benchmarking business and welcome any suggestions.
  
  Something that might be interesting to try is running mysql with
  libc_r, linuxthreads, libkse, and libthr, using the included mysql
  benchmarks that
 come
  with mysql. I used those benchmarks to test mysql on a few of the
  machines
 I
  needed to install it on at one point, and I know mysql utilizes
  threads.
 Off
  the top of my head I can't think of anything other than databases that
  performed badly on FreeBSD before due to threading issues.

 How about Apache2 or locked subsystems (I/O and networking spring to
 mind)?

 Good call. I hadn't thought of that because I've always just used the
 preforking mpm in apache.

I'm very interested in hearing what you find from your benchmarks.

I've been wondering how much better KSE currently is in CURRENT ever since
I started running 5.1-RELEASE on my laptop a few months ago. But I don't
have the time to do extensive benchmarking, and I don't have a spare machine
to run them on. (hey, I need my laptop for work.)

I've also heard that 5.x ships with added kernel debugging and such. If that's
true, it might be a good idea to turn that off (not sure how.).

Also, running similar benchmarks on a 4.8 system would make a good comparison.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


atheros (ath) driver, hostAP?

2003-08-28 Thread Jesse Guardiani
Howdy list,

I'm running FreeBSD 5.1-RELEASE, and I'm
considering messing around with some Soekris
boards and making some embedded routers with
built-in wireless access points and VPN stuff.

I know I can do that with the Prism chipsets,
but can I run in hostAP mode with the ath
driver on an Atheros chipset?

Seeing as how I don't run -CURRENT, I can't
just run 'man ath'.

Any info appreciated!

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


dhclient/route buggy under 5.1-RELEASE

2003-08-20 Thread Jesse Guardiani
  gettimeofday(0x28875178,0)
   946 mozilla-bin RET   gettimeofday 0
   946 mozilla-bin CALL  kevent(0xc,0,0,0xbfbfdeb0,0x1,0xbfbfde00)
   946 mozilla-bin RET   kevent 0
   946 mozilla-bin CALL  fstat(0xd,0xbfbfdda0)
   946 mozilla-bin RET   fstat 0
   946 mozilla-bin CALL  close(0xd)
   946 mozilla-bin RET   close 0
   946 mozilla-bin CALL  socket(0x2,0x2,0)
   946 mozilla-bin RET   socket 13/0xd
   946 mozilla-bin CALL  fcntl(0xd,0x3,0)
   946 mozilla-bin RET   fcntl 2
   946 mozilla-bin CALL  fcntl(0xd,0x4,0x6)
   946 mozilla-bin RET   fcntl 0
   946 mozilla-bin CALL  sendto(0xd,0xbfbfe130,0x1c,0,0x28956740,0x10)
   946 mozilla-bin GIO   fd 13 wrote 28 bytes
   \M-m\M-q\^A\0\0\^A\0\0\0\0\0\0
trevarthan\0\0\^A\0\^A
-- END kdump OUTPUT --


I seem to remember someone else having trouble with
this same (or similar) thing a month or so ago.

Again, just an FYI. I'm not sure what caused it.



Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.1 on an A31p

2003-07-31 Thread Jesse Guardiani
Ben Laurie wrote:

 So, after a long pause, I'm trying to get 5.x working on my IBM A31p.
 I've made a boot CD from the 5.1 ISO images, vintage a week or so ago.
 When I boot (in any mode, ACPI on or off, or Safe), it dies immediately
 after discovering firewire:
 
 firewire0: IEEE1394(FireWire) bus on fwohci0
 
 
 
 Fatal trap 12: page fault while in kernel mode
 fault virtual address  = 0x2c
 fault code = supervisor read, page not present
 instruction pointer= 0x8:0xc02e5a50
 stack pointer  = 0x10:0xc0ae39b0
 frame pointer  = 0x10:0xc0ae39b4
 code segment   = base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
 processor eflags   = interrupt enabled, resume, IOPL = 0
 current process= 0 (swapper)
 trap number= 12
 panic: page fault
 
 Now what?

I had the same problem on an IBM A30p with 5.1. Do this
at the boot loader prompt:

set hw.pci.allow_unsupported_io_range=1

That should take care of it. You'll need to place the part after
'set' in your /boot/device.hints file after you complete the install,
otherwise your kernel will continue to fail at boot.

HTH.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


RC1 packages

2003-07-02 Thread Jesse D. Guardiani
Quick question:

If I go ahead and install 5.1-RC1 now from ISO CDROM,
will I have access to packages that are newer than the
ones that come with FreeBSD 5.0-RELEASE? Or will they
be the same packages as 5.0-RELEASE? Or will I not have
access to packages at all? (That was always the case
when I would CVSUP and buildworld on our servers)

I ask because I need at LEAST XFree86 4.2.x for my laptop
display to work properly with my ATI Radeon Mobility LY
on my IBM Thinkpad A30p. And the last time I checked, I
think 5.0-RELEASE only offered XFree86 4.1.x. And I'm not
fond of compiling my x server by hand.

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-23 Thread Jesse Guardiani
Eirik Oeverby wrote:

[...]


 And with ACPI disabled, the machine refuses totally to
 boot, it hangs at 'Mounting root from ...'. If I undock the machine, I
 can boot with and without ACPI, with the latter option being the only
 usable (stable) mode.

Just out of curiosity, have you tried setting

hw.pci.allow_unsupported_io_range=1

in your /boot/device.hints file? I've found that this option fixes many
unbootable laptops - especially thinkpads.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi patch for dell laptop?

2003-06-23 Thread Jesse Guardiani
Eirik Oeverby wrote:

 On Mon, 23 Jun 2003 10:53:32 -0400
 Jesse Guardiani [EMAIL PROTECTED] wrote:
 
  And with ACPI disabled, the machine refuses totally to
  boot, it hangs at 'Mounting root from ...'. If I undock the machine,
  I can boot with and without ACPI, with the latter option being the
  only usable (stable) mode.
 
 Just out of curiosity, have you tried setting
 
 hw.pci.allow_unsupported_io_range=1
 
 in your /boot/device.hints file? I've found that this option fixes
 many unbootable laptops - especially thinkpads.
 
 Hmm.. Yes, I think I have. Atleast it's in my device.hints file now -
 however I don't know if I tried docking it and booting without ACPI
 after I put that line in.. Perhaps I should try again, but my gut
 feeling tells me it's not gonna make any difference. Atleast as long as
 its undocked it had no effect on any of the other problems I'm
 experiencing.

Try again and let me know.


 
 /Eirik

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: APM problem in 5.1-RELEASE

2003-06-20 Thread Jesse Guardiani
Jesse Guardiani wrote:

 Jesse Guardiani wrote:
 
 Jesse Guardiani wrote:
 
 Darryl Okahata wrote:
 
 Jesse Guardiani [EMAIL PROTECTED] wrote:
 
 [...]
 
 Now, if I can just get that lousy CD-ROM to not crash my system on
 resume I'll be a VERY happy man...


I did some more testing on this last night, and it appears that
the atacontrol detach method _does_ work, but only in specialized
circumstances.

I have modified my /etc/rc.suspend to call 'atacontrol detach 1'
_before_ it calls 'apm -z'. I have also modified my /etc/rc.resume
to call 'atacontrol attach 1' _after_ syncing the disks. If anyone
wants to have a look at these files, just let me know.

When it works:
--
1.) I have to be looking at a VTY, not X. (Geez. Just when I thought
I got around this with the kernel option SC_NO_SUSPEND_VTYSWITCH...)

2.) The /dev/acd0 device has to be unused, otherwise the kernel panics.
This means I have to stop playing any CDs and terminate the CD playing
program. I assume this means that the device has to be _not_ open,
but I haven't really performed much testing in this area.


When it doesn't work:
-
1.) If I try to suspend while looking at X, the kernel panics and auto-
reboots.

2.) If I try to suspend while anything is accessing the acd0 device the
 kernel panics and auto-reboots.


Those things aside, I can usually suspend my machine within 8 seconds, as
long as the hard disk isn't under high load. And it comes back on-line in
under 3 seconds. I've tested this 6 or 7 times in a row, swapping back and
forth from X before doing the next suspend, so I'm pretty confident that
it's reliable.

A plus is that the little green drive in use light on the side of my
Ultrabay goes off when the machine is in suspend mode, and since I call:

atacontrol attach 1

Upon resume from suspend, I could very easily swap out my drives while in
suspend mode. I've tested this. Pretty neat!


Things I would like to improve upon:

1.) I need to find some way to automatically kill any processes that are
using (or have opened) the /dev/acd0 device BEFORE executing apm -z
from /etc/rc.suspend.

If I can accomplish that, then I will have successfully eliminated the
stupid human factor that sometimes causes me to forget I have a
program running that uses the /dev/acd0 device.

Does anyone have any ideas here?

2.) I'd love to automate (or do away with) the process of switching to
a VTY from X before executing 'atacontrol detach 1'.

Can anyone give me a _reason_ why I have to do that? It just seems
odd to me.

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: APM problem in 5.1-RELEASE

2003-06-20 Thread Jesse Guardiani
Jesse Guardiani wrote:


 Things I would like to improve upon:
 
 1.) I need to find some way to automatically kill any processes that are
 using (or have opened) the /dev/acd0 device BEFORE executing apm -z
 from /etc/rc.suspend.

OK. The following pipeline does a pretty good job of this:

# Kill any process currently using /dev/acd0
kill -KILL `fstat /dev/acd0 | sed -Ee 's/[[:space:]]+/ /g' | cut -d ' ' -f 3`

It isn't perfect (i.e. if more than one process has /dev/acd0 open, it won't
kill the second process), but I can expand on this to make it fit just about
any need.


[...]

 2.) I'd love to automate (or do away with) the process of switching to
 a VTY from X before executing 'atacontrol detach 1'.

This from Tobias Roth:

-
to do this automatically, change your /etc/rc.suspend and /etc/rc.resume
like this:

/etc.rc.suspend: insert this line just before the 'logger' line:

vidcontrol -s 2  /dev/ttyv0


/etc/rc.resume: insert this line just before the 'logger' line:

vidcontrol -s 1  /dev/ttyv0
-

This works pretty darn well! Thanks Tobias!

I can now suspend my machine from X without fear of kernel panic! 
Thanks for the help everyone!


Here is my rc.suspend, just in case someone else with an IBM Thinkpad A30p
needs it:

-- /etc/rc.suspend --
#!/bin/sh
#
# Copyright (c) 1999  Mitsuru IWASAKI
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#notice, this list of conditions and the following disclaimer in the
#documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $FreeBSD: src/etc/rc.suspend,v 1.4 2000/10/08 19:18:24 obrien Exp $
#

# sample run command file for APM Suspend Event

if [ -r /var/run/rc.suspend.pid ]; then
exit 1
fi

echo $$  /var/run/rc.suspend.pid

# If you have troubles on suspending with PC-CARD modem, try this.
# See also contrib/pccardq.c (Only for PAO users).
# pccardq | awk -F '~' '$5 == filled  $4 ~ /sio/ \
#   { printf(pccardc power %d 0, $1); }' | sh

logger -t apmd suspend at `date +'%Y%m%d %H:%M:%S'`

# Kill any process currently using /dev/acd0
kill -KILL `fstat /dev/acd0 | sed -Ee 's/[[:space:]]+/ /g' | cut -d ' ' -f 3`

# switch to a TTY
vidcontrol -s 1  /dev/ttyv0

# detach buggy CD-ROM before suspending.
sync  sync  sync
atacontrol detach 1
sleep 1

sync  sync  sync
sleep 1

rm -f /var/run/rc.suspend.pid
zzz

exit 0
-- end /etc/rc.suspend --


And here is my /etc/rc.resume:

-- /etc/rc.resume --
#!/bin/sh
#
# Copyright (c) 1999  Mitsuru IWASAKI
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#notice, this list of conditions and the following disclaimer in the
#documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY

Re: APM problem in 5.1-RELEASE

2003-06-19 Thread Jesse Guardiani
Darryl Okahata wrote:

 Jesse Guardiani [EMAIL PROTECTED] wrote:
 
 Help! This APM BIOS suspends fine under Linux (2.4.18
 kernel)! I've tried everything I can think of to
 get suspend working under 5.1-RELEASE!
 
  Wild-a** guess:
 
 ata1-slave: timeout waiting for interrupt
 ata1-slave: ATAPI identify failed
 
  I don't get this in my dmesg (and I have an A31, where apm seems to
 work).  As you say it seems to be hanging during ATA reset, perhaps this
 has something to do with it?  Is there any way to disable the
 ata1-slave?  BIOS?  Kernel setting???

I was actually wondering the same thing. I think the
next time I boot I'll try disabling ata1 altogether 
with a hint and see if that works.

I'll be looking for a setting to disable just the slave
in the meantime...

Thanks.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: APM problem in 5.1-RELEASE

2003-06-19 Thread Jesse Guardiani
Jesse Guardiani wrote:

 Darryl Okahata wrote:
 
 Jesse Guardiani [EMAIL PROTECTED] wrote:
 
 Help! This APM BIOS suspends fine under Linux (2.4.18
 kernel)! I've tried everything I can think of to
 get suspend working under 5.1-RELEASE!
 
  Wild-a** guess:
 
 ata1-slave: timeout waiting for interrupt
 ata1-slave: ATAPI identify failed
 
  I don't get this in my dmesg (and I have an A31, where apm seems to
 work).  As you say it seems to be hanging during ATA reset, perhaps this
 has something to do with it?  Is there any way to disable the
 ata1-slave?  BIOS?  Kernel setting???
 
 I was actually wondering the same thing. I think the
 next time I boot I'll try disabling ata1 altogether
 with a hint and see if that works.
 
 I'll be looking for a setting to disable just the slave
 in the meantime...


OK. Here's an update. This is some funky junk:

First off, I'd like to note, once again, that APM works PERFECTLY under
Linux on this laptop with a 2.4.18 and 2.4.20 kernel. I could even suspend
and resume from X Windows without problems. FreeBSD's APM code must not
be as mature as Linux's, or Linux's APM code has patches applied to deal
with my (possibly) quirky BIOS.


As I said I would do in my last post, I tried to set:

hint.ata.1.disabled=1

at the loader prompt to disable the second ATA channel (and my
CDROM/DVD-ROM). This didn't work. The ata1 device was still detected and
my laptop still froze on resume.

But then I had a brilliant idea: Why not remove the CD-ROM drive from the
bay?

So I did. And Lo, it works! I have posted my APM resume log at the bottom
of this message so everyone can see where my system normally freezes.


#Further APM usage notes:


(All notes are applicable _only_ with the CD-ROM/DVD-ROM REMOVED from the
UltraBay Plus drive bay!)

# ---
# When suspend works
# ---

1.) When logged into a VTY
2.) The _FIRST_ time I use 'zzz', but all further suspends lock the system.
3.) ANYTIME I use Fn+F4, as long as it isn't preceeded by a 'zzz' suspend
AND I'm looking at a VTY (as opposed to X Windows).

# -
# When suspend locks my system
# -

1.) When in X Windows (this never happened in Linux. What gives?)
2.) When I suspend using either Fn+F4 _OR_ 'zzz' after I have used
'zzz' once. (I think this may have something to do with the
fact that 'zzz' doesn't sync the disks and pause before
going into suspend, whereas Fn+F4 does.)


I'm still very interested in getting suspend to work when my CD-ROM is
installed. I can live with the other quirks, but I need my CD-ROM.

Does anyone have any ideas?
Does anyone know how to disable ata1-slave? (ata1-master is my CD-ROM.
Please see previous posts for dmesg.)


-- begin APM resume log --
fwohci0: fwohci_pci_suspend
fwohci0: fwohci_pci_resume: power_state = 0x
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
fwohci0: Initiate bus reset
ata0: resetting devices ..
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
done
ata1: resetting devices ..


 This is where it freezes when my CD-ROM is installed 


done
ums0: at uhub1 port 1 (addr 2) disconnected
ums0: detached
Jun 19 11:56:04 trevarthan kernel: wakeup from sleeping state (slept 00:00:12)
Jun 19 11:56:04 trevarthan moused: unable to open /dev/ums0: No such file or dir
ectory
ums0: Logitech USB Receiver, rev 1.10/16.00, addr 2, iclass 3/1
ums0: 7 buttons and Z dir.
-- end APM resume log --

Thanks!


-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: APM problem in 5.1-RELEASE

2003-06-19 Thread Jesse Guardiani
Tobias Roth wrote:

 On Thu, Jun 19, 2003 at 08:23:09PM +0200, Sheldon Hearn wrote:
 On (2003/06/19 20:06), Tobias Roth wrote:
 
  you compare a stable linux kernel branch with an unstable freebsd
  branch. please make yourself familiar with freebsds (and possibly
  linux') release process before you make statements like this. you will
  only piss off the people that are trying to help you.
 
 While I understand the desire to protect FreeBSD, I don't think you're
 being fair.
 
 Jesse was providing useful information, and drew logical conclusions
 from it.
 
 ok. i hereby apologize to Jesse. i didn't mean to sound too harsh.

Don't sweat it. I understand. I like FreeBSD too.

However, I'd like to note here that I HAVE tried APM support under 4.8-RELEASE
on this laptop, and I couldn't even get 4.8 to detect APM in the BIOS at
kernel boot.

That may very well have been correctable with an obscure kernel option,
but I doubt it. I'm pretty familiar with 4.8 as I run it on all of my
servers.

So, in short, I'm only running 5.1-RELEASE right now because 4.8 wouldn't
detect APM at all...

But I'm not here to gripe about it. I want to fix it. I want to make it
better. I very strongly dislike giving Linux praise over FreeBSD. It's
painful. :)

So let's try to figure out why this CD-ROM keeps me from resuming after
suspend, shall we?

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: APM problem in 5.1-RELEASE

2003-06-19 Thread Jesse Guardiani
Darryl Okahata wrote:

 Jesse Guardiani [EMAIL PROTECTED] wrote:

[...]


Is there any way to disable the ata1-slave?  BIOS?

I looked. No BIOS config options for ATA devices whatsoever.

This is probably because I'm using an IBM Thinkpad with
an Ultrabay 2000 (containing a floppy drive currently)
and an Ultrabay Plus (containing my CD-ROM drive).

I would imagine that the IBM BIOS tells the ATA chipset
what each drive is good for automatically.



 Kernel setting???
 

I hope so, but I haven't found one yet...

Maybe it's a hw sysctl or something...

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: APM problem in 5.1-RELEASE

2003-06-19 Thread Jesse Guardiani
Darryl Okahata wrote:

 Jesse Guardiani [EMAIL PROTECTED] wrote:
 
 1.) When in X Windows (this never happened in Linux. What gives?)
 
  Another WAG: have you tried this kernel option?:
 
 options   SC_NO_SUSPEND_VTYSWITCH
 
 It prevented X11 from crashing my A31 (but didn't help with the display
 corruption).
 

Wo! It works! Hurray for FreeBSD!

Now, if I can just get that lousy CD-ROM to not crash my system on
resume I'll be a VERY happy man...


BTW, what the heck does that option DO?

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: APM problem in 5.1-RELEASE

2003-06-19 Thread Jesse Guardiani
Jesse Guardiani wrote:

 Darryl Okahata wrote:
 
 Jesse Guardiani [EMAIL PROTECTED] wrote:

[...]

 Now, if I can just get that lousy CD-ROM to not crash my system on
 resume I'll be a VERY happy man...


Well, I'm getting a bit closer now.

I rebooted and reinstalled the CD drive, then I executed:

atacontrol detach 1

And suspended the system with Fn+F4. I then resumed the system and
it came back on-line just fine. So I ran this:

atacontrol attach 1

Which successfully reattached my CD drive.

Here's the output I got from 'atacontrol attach 1':

Jun 19 18:46:21 trevarthan kernel: stray irq 15
Jun 19 18:46:31 trevarthan kernel: ata1-slave: timeout waiting for interrupt
Jun 19 18:46:31 trevarthan kernel: ata1-slave: ATAPI identify failed
Jun 19 18:46:31 trevarthan kernel: acd0: DVD-ROM HL-DT-STDVD-ROM GDR8081N at 
ata1-master UDMA33

Does that 'stray irq 15' mean anything to anyone?

I tried scripting this process from /etc/rc.suspend and /etc/rc.resume,
but I was rewarded with an incomplete suspend and an automatic reboot...

drat.

At least I can suspend the laptop now with the CD drive in the bay.
It's slow, but it's better than a reboot. I'm still hoping to iron
this problem out 100% though.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: APM problem in 5.1-RELEASE

2003-06-19 Thread Jesse Guardiani
Jesse Guardiani wrote:

 Jesse Guardiani wrote:
 
 Darryl Okahata wrote:
 
 Jesse Guardiani [EMAIL PROTECTED] wrote:
 
 [...]
 
 Now, if I can just get that lousy CD-ROM to not crash my system on
 resume I'll be a VERY happy man...
 
 
 Well, I'm getting a bit closer now.
 
 I rebooted and reinstalled the CD drive, then I executed:
 
 atacontrol detach 1

Nevermind. After detaching ata 1three times and reattaching
it I was treated to an automatic reboot on the third detach...

Perhaps this drive is buggy? Wish I had another DVD UltraBay
2000 drive to test with...

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


APM problem in 5.1-RELEASE

2003-06-18 Thread Jesse Guardiani
-0xc0200fff irq 10 at device 8.0 on pci2
fxp0: Ethernet address 00:d0:59:aa:70:ec
miibus0: MII bus on fxp0
inphy0: i82562ET 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH3 UDMA100 controller port 
0x1860-0x186f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ichsmb0: Intel 82801CA (ICH3) SMBus controller port 0x1880-0x189f irq 5 at device 
31.3 on pci0
smbus0: System Management Bus on ichsmb0
smb0: SMBus generic I/O on smbus0
pcm0: Intel 82801CA (ICH3) port 0x18c0-0x18ff,0x1c00-0x1cff irq 5 at device 31.5 on 
pci0
pcm0: Cirrus Logic CS4299 AC97 Codec
pci0: simple comms at device 31.6 (no driver attached)
eisa0: EISA bus on motherboard
eisa0: unknown card @[EMAIL PROTECTED] (0x0100) at slot 1
orm0: Option ROMs at iomem 
0xe-0xe,0xdc000-0xd,0xd1000-0xd1fff,0xd-0xd0fff,0xc-0xc on isa0
pmtimer0 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: Enhanced floppy controller (i82077, NE72065 or clone) at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
pcic0 at port 0x3e0 iomem 0xa-0xa1fff irq 3 on isa0
pcic_attach: attach found no sockets
device_probe_and_attach: pcic0 attach returned 6
ppc0: Parallel port at port 0x3bc-0x3c3 irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown: PNP0303 can't assign resources (port)
unknown: PNP0c02 can't assign resources (memory)
unknown: PNP0680 can't assign resources (port)
unknown: PNP0680 can't assign resources (port)
unknown: IBM3780 can't assign resources (irq)
unknown: PNP0501 can't assign resources (port)
unknown: IBM0071 can't assign resources (port)
unknown: PNP0700 can't assign resources (port)
unknown: PNP0400 can't assign resources (port)
Timecounters tick every 10.000 msec
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
ata1-slave: timeout waiting for interrupt
ata1-slave: ATAPI identify failed
ad0: 45780MB IC25T048ATDA05-0 [93015/16/63] at ata0-master UDMA100
acd0: DVD-ROM HL-DT-STDVD-ROM GDR8081N at ata1-master PIO4
Mounting root from ufs:/dev/ad0s3a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 16 files 1
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 68 files 13

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


ACPI mailling list?

2003-06-17 Thread Jesse Guardiani
Howdy list,

Is there an ACPI mailling list I can join
to help debug/test ACPI?

I'm a decent C programmer, and I'd really
like to get ACPI support working on my
IBM Thinkpad A30p. 

Unfortunately, no-one has responded to my
questions about ACPI on this laptop.

Is anyone actively working on ACPI support?

Thanks.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: qmail uses 100% cpu after FreeBSD-5.0 to 5.1 upgrade

2003-06-16 Thread Jesse Guardiani
Thorsten Schroeder wrote:

 Hi,
 
 On Mon, 16 Jun 2003, Don Lewis wrote:
 
  FreeBSD 5.1-CURRENT #1: Thu Jun  5 19:29:29 CEST 2003
 
  fifo_vnops.c:
 
  $FreeBSD: src/sys/fs/fifofs/fifo_vnops.c,v 1.87 2003/06/01 06:24:32
  truckman Exp $
 
 Try upgrading to 1.88 and applying this patch:

 Index: sys/fs/fifofs/fifo_vnops.c
 ===
 RCS file: /home/ncvs/src/sys/fs/fifofs/fifo_vnops.c,v
 retrieving revision 1.88
 diff -u -r1.88 fifo_vnops.c
 --- sys/fs/fifofs/fifo_vnops.c   13 Jun 2003 06:58:11 -  1.88
 +++ sys/fs/fifofs/fifo_vnops.c   16 Jun 2003 08:44:20 -
 [...]
 
 Yes! This seems to work fine :)

I run qmail on my 4.8 servers.

For my sanity, is this a problem in 5.1-RELEASE, or in code after 5.1-RELEASE?
We haven't upgraded to 5.1 yet (and don't intend to for a while), but I thought
I'd ask since this bug would cripple our mail server.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


ACPI problems on 5.1-RELEASE

2003-06-11 Thread Jesse D. Guardiani
Howdy list,

What info do I need to provide, and who do I need to
send it to, so that I can get ACPI into a usable
state on my IBM A30p thinkpad?

The short description of my acpi problems is that I
can suspend the laptop with 'acpiconf -s 3', but not
with 'acpiconf -s 1', and the laptop never comes back
from suspend properly. I have to power down the machine.

When I first installed FreeBSD 5.1-Release on this
laptop, I could get battery status info out of the
'apm' command, but now it isn't working for some
reason.

The following are true if the laptop is on battery
or mains:

apm -l = -1
apm -t = -1
apm -b = 3
apm -a = 1

'apm -b' yields '3', so I assume 'apm' thinks
the battery is always charging...

My gzipped dmesg.boot is attached.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.1-BETA2 FAILURE on IBM A30p Thinkpad

2003-06-06 Thread Jesse D. Guardiani
Kevin Oberman wrote:

 From: Jesse D. Guardiani [EMAIL PROTECTED]
 Date: Sat, 24 May 2003 02:12:32 -0400
 Sender: [EMAIL PROTECTED]
 
 
 Andre Guibert de Bruet [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  Jesse,
 
  IBM just released (As of 5/20/2003) a new version (1EET70WW (1.16)) of
  your laptop's BIOS. Could you update it and see if it helps any?
 
 These kernel panics still occur with the 1.16 BIOS.
 
 As an update, I have successfully installed 5.0-RELEASE on this laptop
 without any kernel panics. However, neither ACPI or APM works. If I
 disable ACPI then the kernel locks up right before it detects my keyboard
 controller.
 
 I'm beginning to get discouraged.
 
 Does you r kernel configuration have:
 optionsDISABLE_PSE
 optionsDISABLE_PG_G
 
 I just discovered that a kernel built with these options will not boot
 on my ThinkPad T30 unless I remove APM.

Well, apparently Thomas Girard discovered the problem for me. Entering:

set hw.pci.allow_unsupported_io_range=1

at the loader prompt in 5.1-RC1 (and probably both BETAs) fixes everything
right up!

I'll be returning to my favorite O/S, FreeBSD, from Debian Linux with the
release of 5.1-RELEASE.

Hurray!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.1-BETA2 FAILURE on IBM A30p Thinkpad

2003-05-27 Thread Jesse D. Guardiani

Kevin Oberman [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
  From: Jesse D. Guardiani [EMAIL PROTECTED]
  Date: Sat, 24 May 2003 02:12:32 -0400
  Sender: [EMAIL PROTECTED]
 
 
  Andre Guibert de Bruet [EMAIL PROTECTED] wrote in message
  news:[EMAIL PROTECTED]

[...]

 Does you r kernel configuration have:
 options DISABLE_PSE
 options DISABLE_PG_G

I don't know. Does it? I was using the kernel that comes on the CDROM that I
burned from an ISO image. I have no clue what options it is compiled with.
That's part of what I find so frustrating. :)




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GCC 3.2

2002-08-15 Thread Jesse Gross

 It was also about trolling the mailing lists to cause just this
 sort of heated discussion (congradulations on playing into
 Jesse Gross's trolling here).

This was *not* about trolling the mailing list. I wish I were
intelligent enough to predict the behavior of thousands of people, most
of whose names I don't even know, to cause a chain reaction to result
in something like this.

I do know that I did not intend for this particular result to happen,
and am sorry I started this thread.

Believe it or not, sometimes things are actually what they seem, in
this case it really was a simple question.

Terry, please do not bother replying to this message. Unless people
wish to discuss technical details, this thread should be ended.

Jesse Gross

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



[no subject]

2002-01-16 Thread Sarnovsky, Jesse

help

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



No Subject

2001-03-02 Thread Jesse Arnett

unsubscribe freebsd-current
unsubscribe freebsd-security
unsubscribe freebsd-stable




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ssh strangeness in -current...

2000-03-07 Thread Roland Jesse

Brad Knowles [EMAIL PROTECTED] writes:

 but I am wondering if scp with OpenSSH under FreeBSD does actually
 work.

Well, it works fine for me.

r.arthur ~ % uname -rs
FreeBSD 4.0-CURRENT 
r.arthur ~ % ssh -V
SSH Version OpenSSH-1.2.2, protocol version 1.5.
Compiled with SSL. 

Roland


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: buildworld fails at ncurses

2000-03-01 Thread Roland Jesse

Kris Kennaway [EMAIL PROTECTED] writes:

 You don;t have the ncurses port installed?

No, I do not. It does not build. 

I will try doing an update (using sysinstall) to one of the latest
-current snapshots and do the buildworld again from there.

Roland


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: buildworld fails at ncurses

2000-02-29 Thread Roland Jesse

T.E.Dickey wrote:

 I suspect that it is including the wrong version of curses.h (though
 typeCalloc should be in curs.priv.h - which would be unambiguous).

Well, I don't think, that's it:

r.arthur ~ % diff /usr/include/curses.h /usr/src/lib/libcurses/curses.h
r.arthur ~ % diff /usr/include/ncurses.h /usr/src/lib/libncurses/curses.h

Any other ideas of why buildworld fails at ncurses when comming from
-stable?

Roland


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



buildworld fails at ncurses

2000-02-28 Thread Roland Jesse

I cvsupped -current at about 10.30 am (CET). Thats the last lines of
my buildworld log:

cc -o make_hash -O -pipe -I. -I/usr/src/lib/libncurses 
-I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses 
-I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE 
-DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -DMAIN_PROGRAM  
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c
In file included from 
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:43:
/usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:107: syntax error before 
`GCC_PRINTFLIKE'
/usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:252: syntax error before 
`GCC_PRINTFLIKE'
/usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:253: syntax error before 
`GCC_PRINTFLIKE'
/usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:254: syntax error before 
`GCC_PRINTFLIKE'
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:52: syntax 
error before string constant
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:54: warning: 
return-type defaults to `int'
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c: In function 
`MODULE_ID':
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:54: storage 
class specified for parameter `hash_function'
In file included from 
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c:41,
 from 
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:69:
/usr/src/lib/libncurses/curses.priv.h:20: storage class specified for parameter 
`sigaction_t'
/usr/src/lib/libncurses/curses.priv.h:48: storage class specified for parameter 
`newscr'
/usr/src/lib/libncurses/curses.priv.h:60: storage class specified for parameter 
`_outch'
/usr/src/lib/libncurses/curses.priv.h:61: storage class specified for parameter 
`init_acs'
/usr/src/lib/libncurses/curses.priv.h:62: storage class specified for parameter `tstp'
/usr/src/lib/libncurses/curses.priv.h:63: storage class specified for parameter 
`makenew'
/usr/src/lib/libncurses/curses.priv.h:64: storage class specified for parameter 
`timed_wait'
/usr/src/lib/libncurses/curses.priv.h:65: storage class specified for parameter 
`_nc_background'
/usr/src/lib/libncurses/curses.priv.h:66: storage class specified for parameter 
`_nc_render'
/usr/src/lib/libncurses/curses.priv.h:67: storage class specified for parameter 
`_nc_keypad'
/usr/src/lib/libncurses/curses.priv.h:68: storage class specified for parameter 
`_nc_scroll_window'
/usr/src/lib/libncurses/curses.priv.h:75: warning: structure defined inside parms
/usr/src/lib/libncurses/curses.priv.h:75: warning: empty declaration
/usr/src/lib/libncurses/curses.priv.h:91: warning: structure defined inside parms
/usr/src/lib/libncurses/curses.priv.h:92: warning: structure defined inside parms
/usr/src/lib/libncurses/curses.priv.h:92: storage class specified for parameter `SLK'
/usr/src/lib/libncurses/curses.priv.h:126: syntax error before `SLK'
/usr/src/lib/libncurses/curses.priv.h:129: warning: structure defined inside parms
/usr/src/lib/libncurses/curses.priv.h:129: warning: empty declaration
/usr/src/lib/libncurses/curses.priv.h:131: storage class specified for parameter `SP'
/usr/src/lib/libncurses/curses.priv.h:133: storage class specified for parameter 
`_slk_format'
In file included from 
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:69:
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c:46: syntax error 
before `{'
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:76: parameter 
`collisions' is initialized
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:78: syntax 
error before `for'
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:194: parameter 
`col' is initialized
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:196: syntax 
error before `if'
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:230: parameter 
`hash_table' is initialized
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:230: warning: 
implicit declaration of function `typeCalloc'
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:230: syntax 
error before `struct'
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:231: parameter 
`root_name' is initialized
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:232: parameter 
`column' is initialized
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:236: storage 
class specified for parameter `typenames'
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:236: parameter 
`typenames' is initialized
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:236: warning: 
initialization from incompatible pointer type

Linuxthreads /usr/src/include/pthread/uthread/pthread.h

1999-04-04 Thread Roland Jesse
Hi,

Linuxthreads (http://lt.tar.com/) is supposed to compile cleanly
against 4.0-current after March 22. (quote from the mentioned web
page)

However, I cvsuped -current on March 31. As the Makefile for the
linuxthreads port contains:

.if !exists(${SRC_BASE}/include/pthread/uthread/pthread.h)
BROKEN= requires pthread.h from /usr/src/include/pthread/uthread
.endif

and this file does not exist, it failed to do a 'make' in
/usr/ports/devel/linuxthreads.

In case it matters: I am actually running 3.1-stable (as of March 25)
and only cvsuped the -current source without making the world. (I do
not really want to switch over to -current if I don't really have to.)

Any ideas about what I am missing here?

Roland


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message