/srv/irclogs.ubuntu.com/2006/05/28/#ubuntu-server.txt

=== daxxar [i=daxxar@daxxar.com] has joined #ubuntu-server
gpdnot as many ppl - which is also nice12:19
daxxarI see your point. :-)12:19
gpdyou should repeat your question in here - they seem to know what they are talking about - although quiet12:23
daxxarOkay12:24
daxxarWhat could cause Samba to spontaneously reboot my system? I'm running an Ubuntu Server w/ Dapper RC.12:25
daxxarE.g. entering a subdirectory of my share just *reboots* the whole system. My syslog outputs this at the reboot12:25
daxxarMay 28 00:12:40 datamania mountd[3869] : authenticated mount request from 192.168.0.14:937 for /storage/movies (/storage)12:26
daxxarMay 28 00:15:45 datamania syslogd 1.4.1#17ubuntu7: restart.12:26
daxxar/storage is an LVM mount, it's also exported as NFS.12:26
infinityAnd it's also an automount?12:28
infinitysamba's a red herring here, I think.  Samba would never cause your system to reboot.12:28
daxxarYeah, it's an automount.12:28
infinitymountd could be tickling a kernel bug, though.12:28
daxxarHm, okay12:28
daxxarHmm. Yeah, I think you're right.12:31
daxxarI wasn't (previously) able to reproduce this in anything but the samba sessions.12:31
daxxarBut I attempted a few IO operations via FTP, rebooted it there too now.12:31
daxxarCould it be my FS setup?12:31
daxxarIt's setup for 'largefile' (1mb/inode)12:31
daxxarAnd data written right before the reboot is gone. (Directories created, files created)12:32
daxxarJust to have mentioned it, the memory passed a single full pass of memtest86. I didn't test it beyond that.12:33
daxxarOkay, it's just not that FS. Could it be my network-card?12:33
infinityI don't use automounts at all (haven't for years), so not sure how that could be affecting things.12:34
infinityIs it fine if you access non-mountd directories?12:34
infinity(Set up a temporary samba share on /tmp, for instance)12:34
daxxarNo, accessing /home via FTP crashes it too.12:34
daxxar:o12:34
daxxarUhm, automounts, is that the same as /etc/fstab-entries without 'noauto', or? :o12:34
daxxar(I assumed so when I answered)12:34
infinityWell, no.  See the "mountd" in your syslog?  That's not a samba thing.12:35
infinityI assumed you were using an automounter of some sort that was mounting filesystems on demand.12:35
daxxarOh, nope.12:36
daxxarOr, shouldn't be.12:36
daxxarHrrm. :|12:37
daxxarI guess this is HW-related.12:37
infinityOh, wait.  mountd is the NFS automounter.12:37
infinitySilly me.12:37
infinityYou have NFS exports on that machine as well?12:37
daxxar"dd if=/dev/zero of=test-big bs=1024K count=500" crashed it after ~300MB.12:37
daxxarYes.12:37
infinityYeah, okay.  The above syslog snippet was when connecting with NFS, not with samba.12:38
infinityAnd now I'm less confused.12:38
daxxarAh, okay. :-)12:38
infinityAre you using nfs-user-server or nfs-kernel-server?12:38
daxxarkernel-server12:38
infinityKay, that should be the more stable of the two.12:38
infinityAnyhow, you already confirmed that connecting some other way (like FTP) also crashed the box, yeah?12:38
daxxarYep, and a dd via ssh.12:38
infinityOh, you just said dd crashed.  I need to wake up a bit. :)12:39
daxxarSo I Gess it's hw?: (12:39
infinityFair chance it's hardware, then.12:39
infinitydd doesn't "just crash"  Ever.12:39
infinityIt's far too simple to screw up.12:39
daxxardd didn't *crash*, it made the box reboot. :-)12:39
infinityWell, same thing.12:39
infinityI would only expect dd to bugger the box if either A) you have hardware problems, or B) the kernel REALLY hates you.12:40
infinityAre you using an Ubuntu kernel, or hand-rolled?12:40
daxxarUbuntu12:40
infinityOur kernels definitely shouldn't explode on filesystem access. :)12:40
infinity(This isn't reiserfs, is it?)12:40
daxxarNope, ext3.12:42
daxxarHm.12:42
infinityKay, then I'd look at hardware for sure.12:42
daxxarShutting down the nfs-kernel-server and the smb-server, and running a:12:42
daxxardaxxar@datamania:~$ i=1; while /bin/true; do echo "Pass: $i" && dd if=/dev/zero of=test-big bs=1024K count=50 && rm -f test-big && let i++; done12:42
daxxarPass: 112:42
daxxarI'll see if I manage to crash it now.12:42
=== Mysta [n=Mysta@c-24-98-118-36.hsd1.ga.comcast.net] has joined #ubuntu-server
daxxarPass: 90. *me restarts it with count=100*12:44
daxxarHmm. Now a single process hung, the rm -f test-big at pass #60. strace -p <pid> shows nothing on it.12:46
daxxarCan't kill it either.12:46
frinkillomaybe you should try running 'badblocks' to see if there's some damage on the HD12:46
daxxarHrm. What piece of HW would you suspect is the most likely factor to be the cause?12:46
daxxarThe HD was unwrapped ~6 hours ago. :-P12:46
frinkillobtw, hi ^^12:47
gpdSATA or SCSI ?12:47
daxxarIDE12:47
daxxarHi. :-)12:47
daxxarHmm. The console shows some huge amount of activity atm.12:47
daxxarToo fast to read.12:47
frinkilloI think you should try anyway to eliminate that possibility12:48
daxxarhttp://www.rafb.net/paste/results/z61UNQ99.html12:48
daxxar x ~12:49
frinkillosometimes brand new HDs come faulty from factory (very very rare, but happens)12:49
daxxardaxxar@datamania:~$ sudo init 612:49
daxxarSegmentation fault12:49
daxxar...12:49
daxxar:-P12:49
frinkillowow12:50
daxxarBut that's after the syslogmessages I pasted.12:50
daxxarIt *did* say "a reboot is needed".12:50
daxxar"GRUB loading, please wait..." "Error 17"12:51
Mystahey guys, I wanted to install vmware server beta and wanted to know if the server distro or the regular distro better suited me12:51
frinkillodaxxar: FS crashed?12:52
frinkilloMysta: I think it doesn't matter as they are almost the same... but IIRC, vmware server comes with a gui, so it could be a better idea installing it on a regular (desktop) system12:55
daxxarfrinkillo, yep. Seems so.12:56
daxxarCan't remount it via the rescue mode from the install CD.12:56
daxxarAny way to run badblocks without a full reinstall?12:56
infinityThen you either have a bad disk, or something in the CPU->Cache->RAM pipeline is horribly corrupting data before it gets to the disk.12:56
infinity(Or the driver for your controller sucks... Which controller is it?)12:57
frinkilloyeah, from the rescue CD, try something like 'badblocks -v -s /dev/xxx'12:57
daxxarThe rescue-CD doesn't have badblocks, it seems. :|12:57
frinkillough12:57
daxxarhttp://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_detail.php?UID=15 - That mobo12:57
daxxar12:57
daxxar Intel ICH2 Chipset Chipset12:57
daxxarOnboard ATA controller.12:57
infinityOh, that's very well supported.12:58
daxxarMkay. You saw the error i pasted on rafb.net?12:58
infinitySo, you're looking at a bad disk, or corruption on the way to the disk (bad CPU/cache, bad RAM, or bad motherboard)12:58
daxxarHow many passes of memtest86 would be needed to rule out RAM-problems? I ran a full pass, no errors.12:58
infinityYeah, that didn't tell me much.  Bad paging request could be any of the above as well.12:59
daxxarOkay.12:59
infinityHas that CPU ever been overclocked, by chance?01:00
Mystaanyone/01:00
infinityMysta: If you want to use the GUI, go for a desktop install.01:00
infinityMysta: If you want the server kernel on a desktop install, just "apt-get install linux-server"01:01
daxxarinfinity, underclocked. :o01:02
daxxar(AFAIK)01:02
daxxarIt should be a 1.2GHz P3, but it's clocked at 1.0GHz01:02
infinitydaxxar: And it's never been overclocked in the past?01:02
Mystathx guys01:03
daxxarNot AFAIK. But this CPU was inherited from someone else. ;-)01:03
infinitydaxxar: Only curious because this smells like "burnt cache", which is a common side-effect of overclocking.01:03
daxxar(For some reason, I can't get the multiplier to 9 which it should be, only to 8)01:03
infinitydaxxar: If that someone else was underclocking it to compensate for overclocking it in the past, that might say something. :)01:03
daxxarMkay. Doesn't memtest86 test cache too?01:03
infinityNot reliably, but it tries.01:03
daxxarOkay. Should I use the Ubuntu Dapper Desktop to test the disk, or get the Seagate tool?01:04
infinityYou can disable cache in the BIOS and try to reproduce the crashes, but it'll run REALLY SLOW without a cache.01:04
infinitySeagate's tool is more likely to find real problems on the physical disk.01:04
infinitybadblocks will only find what's exposed to the ATAPI/IDE layer, which should be "nothing" on a modern disk, since the disk's firmware is supposed to be swapping our bad blocks on the fly.01:05
daxxarHm, okay.01:05
infinity(Not that this works as well in practice as it's meant to in theory)01:05
frinkillohmm interesting01:06
infinitys/swapping our/swapping out/01:07
infinityI make more sense with fewer typos.01:07
daxxarIt made sense before the regreplace too. ;)01:09
daxxarSeaTools includes a RAM-test. :p01:11
Mystainfinity: i was searching aptitude for that server kernel by searching for linux-server, and came up short, is that the correct name?01:13
daxxarUgh. 1 hour to run a full scan of the disk. :|01:13
infinityMysta: Yeah.  "linux-server" is probably in restricted, though.  If you only have "main" enabled, "linux-image-server" should do.01:14
Mystak, thx01:14
infinityMysta: If you're on breezy and not dapper, ignore everything I've said, there are no server-tuned kernels on breezy.01:14
daxxarThanks a lot for the help frinkillo, infinity, gpd, :-)01:15
Mystainfinity: ok, thats why. lol. I just realized i ssh'd to my breezy instead of dapper01:15
daxxarI'll let this disktest from Seagate run, see if it finds anything.01:15
daxxarIf not, I'll run memtest86 for a few hours.01:15
frinkillo:)01:16
daxxarIf not, I'll tear my hair out. :|01:16
daxxarIf nothing there, *01:16
Mystais there any documentation on what is different in this kernel compared to a regular one?01:16
Mystanvmd, i found something01:17
frinkillohttps://wiki.ubuntu.com/ServerFaq01:17
Mystathat helps too thx01:18
=== Mysta [n=Mysta@c-24-98-118-36.hsd1.ga.comcast.net] has left #ubuntu-server []
=== eimajenthat [n=jamie@cpe-70-123-133-94.austin.res.rr.com] has joined #ubuntu-server
eimajenthatthe description says "development discussions," is there a general ubuntu-server channel?02:34
daxxarOkay.02:35
daxxar"Full test" completed, no errors.02:35
daxxarSo the problem is not controller / disk. *sighs*02:35
eimajenthatthe description says "development discussions," is there a general ubuntu-server channel?02:36
daxxarI bet people actually could see what you said the first time.02:36
daxxarinfinity, do you think the error could be caused by a defective PSU?02:46
daxxarinfinity, it doesn't seem to be HD, controller or memory. Could be CPU or MB I guess.02:47
daxxar(defective or not powerful enough. It should be 300W.)02:47
=== eimajenthat [n=jamie@cpe-70-123-133-94.austin.res.rr.com] has left #ubuntu-server ["Konversation]
=== Zambezi [i=Hideit@dns-cache2.tixit.se] has joined #ubuntu-server
ZambeziIs it possible to make Ubuntu-server (Breezy) with to modification, more secure? And how? I would like as high security as possible. Please PM or highlight me name so I won't miss an answer.04:33
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
=== gpd [n=gpd@www.grahamdavies.net] has left #ubuntu-server []
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
=== jackc [n=jack@84-72-164-170.dclient.hispeed.ch] has joined #ubuntu-server
=== jackc [n=jack@84-72-164-170.dclient.hispeed.ch] has left #ubuntu-server ["Leaving"]
=== phace [n=phace@85.158.38.58] has joined #ubuntu-server
phacewell how can i get involved with the ubuntu server development ?12:14
=== kermitX_ [n=kermit@unaffiliated/cxg] has joined #ubuntu-server
=== jackc [n=jack@84-72-164-170.dclient.hispeed.ch] has joined #ubuntu-server
daxxarHm, how strange.02:29
daxxarI ran a full pass on memtest86 before installation, no errors. Then, I ran two passes last night before I went to bed, no errors.02:29
daxxarToday, I started a pass, and it found 3 errors before it had run for 5 minutes.02:30
daxxarIf it said it found it at address ~122MB, is it safe to assume there are errors on the memorychip in the first slot, since it's 256MB?02:31
daxxar(The 'channel' field of the errors is blank)02:31
infinityIt's not really save to assume anything, unless you know for sure how the memory controller is interleaving the RAM.02:48
infinitys/save/safe/02:48
infinityYour best bet it to do repetitive memtest runs on the machine witch each stick installed individually.02:49
infinityPain in the ass, but it's the only reliable way to find a single bad stick.02:49
daxxarSo I need to run how many passes on each stick?02:50
daxxarSince this was found 5 minutes into the 4th actual pass.02:50
daxxar= ~5 hours.02:50
daxxarEh, 4.02:50
=== infinity shrugs. Your guess is as good as mine.
infinityRAM errors come and go, depending on how well it decides to hold a charge from one moment to the next.02:52
kermitX_new default phpmyadmin theme sux.. no width contstraints. inputs on far left & submit on far right...03:22
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
=== thefish [n=thefish@unaffiliated/thefish] has joined #ubuntu-server
=== jackc [n=jack@84-72-164-170.dclient.hispeed.ch] has joined #ubuntu-server
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-server
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-server
=== mloman [n=malo@81-224-36-188-no51.tbcn.telia.com] has joined #ubuntu-server
=== sto6ma9ch [n=sto6ma9c@max8-24.rtcol.com] has joined #ubuntu-server
=== lbm [n=lbm@0x555298ca.adsl.cybercity.dk] has joined #ubuntu-server
=== gilprice [n=gilprice@cpe-024-168-203-119.sc.res.rr.com] has joined #ubuntu-server
=== nictuku [n=yves@ubuntu/member/nictuku] has joined #ubuntu-server
=== mloman [n=malo@81-224-36-188-no51.tbcn.telia.com] has left #ubuntu-server []
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-server

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!