**** BEGIN LOGGING AT Sun Aug 28 02:59:56 2005 Aug 28 06:41:35 ~last Aug 28 06:41:37 caplink811_log was the last one who has spoken in this channel... Aug 28 07:02:55 lo Aug 28 13:43:11 hi Aug 28 13:43:46 morning Aug 28 13:44:09 is there anyone around who has a clue why my slug (with unslung 5.5) refuses to recognise my disk if it is on usb1 and does recognise if it is on disk2?) Aug 28 13:44:30 hi caplink811_log here it is still evening ... 22.44 Aug 28 13:44:43 same tz, here too, but Aug 28 13:44:47 ~slugtime Aug 28 13:44:47 rumour has it, slugtime is 40 hour days 10 hours in 4 timezones with overlap Aug 28 13:45:10 lol Aug 28 13:45:34 recognize at boot, or recognize when you hotplug the hd? Aug 28 13:45:47 when hotplugging Aug 28 13:45:50 doesn't recognize i mean Aug 28 13:45:51 doesn't boot either Aug 28 13:46:14 hm, have you read this ? Aug 28 13:46:38 http://groups.yahoo.com/group/nslu2-linux/message/7489 Aug 28 13:46:48 had a problem, slug didn't shutdown, waited quite a while, then pulled the plug Aug 28 13:46:53 if your slug doesn't boot with an unslingt disk Aug 28 13:47:05 managed to get into it when it was on port 2, ran an fsck Aug 28 13:47:16 let me check your url Aug 28 13:48:02 does the slug boot before with a disk attached at port 1 anytime before? Aug 28 13:49:22 capbot, no boot with unslung is pls, have a look at the mailing list at message http://groups.yahoo.com/group/nslu2-linux/message/7489 Aug 28 13:49:22 caplink811_log: okay Aug 28 13:49:23 yes Aug 28 13:49:43 ~no boot with unslung Aug 28 13:49:56 let me give this a try Aug 28 13:49:58 ~boot with unslung Aug 28 13:49:58 pls, have a look at the mailing list at message http://groups.yahoo.com/group/nslu2-linux/message/7489 Aug 28 13:50:16 effem, so forget the link Aug 28 13:50:56 if you boot without hd attached, and then hotplug at port one, is it possible to mout /dev/sda1 manually? Aug 28 13:51:26 yes, just did that Aug 28 13:51:44 ran unsling again, now going to reboot Aug 28 13:52:14 let's see what happens. Aug 28 13:52:16 ~forget boot with unslung Aug 28 13:52:17 caplink811_log: i forgot boot with unslung Aug 28 13:52:45 capbot noboot with unslung is pls, have a look at the mailing list at message http://groups.yahoo.com/group/nslu2-linux/message/7489 Aug 28 13:52:45 caplink811_log: okay Aug 28 13:53:07 ~noboot with unslung Aug 28 13:53:07 pls, have a look at the mailing list at message http://groups.yahoo.com/group/nslu2-linux/message/7489 Aug 28 13:53:10 don't know what caused the problem Aug 28 13:53:12 ~thanks Aug 28 13:53:13 bitte, caplink811_log Aug 28 13:55:00 effem, what is the state now, everything is running, or the problem is still there? Aug 28 13:57:09 it's not fixed yet, still working on it, hang on Aug 28 14:02:01 effem, btw, have you any other device available e.g. mem stick or another hd to plug it on port 1? just to be sure that the disk and not the port is the problem Aug 28 14:02:20 i'll try that Aug 28 14:02:47 after removing .sda1root and hotplugging the disk was not recognized Aug 28 14:03:03 one moment (my pc is in the living room and the slug is hidden in the attic) Aug 28 14:03:20 could mount the disk and connect on the 2nd port Aug 28 14:03:28 web i/f now does not see the disk... Aug 28 14:03:30 brb Aug 28 14:04:35 np, if you hotplugged the disk then should /proc/hd_conn exist Aug 28 14:05:00 and cat /proc/scsi/scsi should give you a result equal to this Aug 28 14:05:25 Attached devices: Aug 28 14:05:25 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Aug 28 14:05:25 Vendor: SAMSUNG Model: SP0802N Rev: 0 0 Aug 28 14:05:25 Type: Direct-Access ANSI SCSI revision: 02 Aug 28 14:05:25 [ Aug 28 14:06:58 # cat scsi Aug 28 14:06:58 Attached devices: Aug 28 14:06:58 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Aug 28 14:06:58 Vendor: LEXAR Model: JUMPDRIVE Rev: 1.02 Aug 28 14:06:58 Type: Direct-Access ANSI SCSI revision: 02 Aug 28 14:07:11 it recognises the stick, but it is not mounted Aug 28 14:07:14 well, so the disk is recognised from the os Aug 28 14:07:31 odd thing it does not see the hd (which I put in slot 2 when putting the stick in slot 1) Aug 28 14:07:41 hm Aug 28 14:08:06 the web says disk1 status not installed (ditto for disk2) Aug 28 14:08:23 df on the cmd line also says it is not mounted Aug 28 14:08:49 the disk is in an enclosure with a power supply, or is it a 2.5" disk which is powered from the slug? Aug 28 14:09:10 3.5" with spire enclosure; has been running for more than 2 months Aug 28 14:09:14 k Aug 28 14:09:44 that the stick isn't mounted maybe ok, if you didn't use it / format it on the slug Aug 28 14:10:29 ok, didn't do that, it was just a FAT stick I had lying around Aug 28 14:10:35 thought it would recognize it anyway Aug 28 14:11:17 k, so pls plug the disk at port 1, one or two stairs would be ok at the evening ;-) Aug 28 14:11:29 yup, thats very healthy ... Aug 28 14:16:39 effem, accident on the stairs, or just a large house Aug 28 14:16:43 hmm. this is odd Aug 28 14:16:53 no, just another problem Aug 28 14:17:11 when I swapped the disk to port 1 the led didn't turn on. Aug 28 14:17:20 reinserting the stick also didn't cause the led to go on Aug 28 14:17:24 so I rebooted Aug 28 14:17:29 then plugged in the disk Aug 28 14:17:43 it is not mounted but /dev/scsi/scsi says: Aug 28 14:17:43 # cat scsi Aug 28 14:17:43 Attached devices: Aug 28 14:17:43 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Aug 28 14:17:43 Vendor: Maxtor 4 Model: R160L0 Rev: RAMB Aug 28 14:17:43 Type: Direct-Access ANSI SCSI revision: 02 Aug 28 14:17:53 so it sees the disk Aug 28 14:18:23 k, so try mount /dev/sda1 /mnt/tmpmnt the dir should exists imho Aug 28 14:18:54 while you were typing i did mount/dev/sda1 /share/hdd/data Aug 28 14:18:59 had the same idea Aug 28 14:19:01 that works Aug 28 14:19:51 mom, just some trouble with the cat Aug 28 14:21:18 well, you've done a fsck, but also on /dev/sd2 too? Aug 28 14:21:31 nope Aug 28 14:21:33 lets try taht Aug 28 14:22:34 you mean /dev/sda2? Aug 28 14:24:13 the conf partition, on port 1 /dev/sda2, or when you attached the disk on port 2 /dev/sdb2 Aug 28 14:25:42 lol Aug 28 14:25:43 # fsck.ext3 -r /dev/sda2 Aug 28 14:25:43 e2fsck 1.34 (25-Jul-2003) Aug 28 14:25:43 /dev/sda2: recovering journal Aug 28 14:25:43 /dev/sda2 has gone 13023 days without being checked, check forced. Aug 28 14:25:52 no problems with the disk Aug 28 14:25:56 13023 .... Aug 28 14:26:14 ~13000/365 Aug 28 14:26:14 35.616438356164 Aug 28 14:26:27 aw, your hd is 35 years old... Aug 28 14:26:58 must have been pretty expensive at that point in time; its a 160 GB Aug 28 14:27:05 1 jan 1970 .... Aug 28 14:27:32 yepp Aug 28 14:28:13 i think i expect when I plug a disk that it is automounted Aug 28 14:28:17 isn't it Aug 28 14:29:24 i would expect the same.. so, the disk/partitions are ok, the disk is recognised by the os, and everything can mounted manually Aug 28 14:30:11 if you mount the conf partition manually, is there a .dongle file Aug 28 14:30:42 yep, created 19.38 Aug 28 14:31:18 oops, misread, not today but on june 24 ! Aug 28 14:32:27 the day of the 1st format of the disk, so all preconditions are ok Aug 28 14:33:38 nice idea Aug 28 14:33:46 lol Aug 28 14:34:25 hm, running of from ideas, maybe helpful to reflash and reunsling, but dunno Aug 28 14:34:50 cause it seems that the hd is in a well condition Aug 28 14:34:51 yeah was thinking of that one as well Aug 28 14:35:05 is there any idea how these things happen? Aug 28 14:35:38 nope, i'm happy, that my system is rock solid, and don't cause any problems Aug 28 14:36:00 mine used to be rock solid until i tried to compile something Aug 28 14:36:02 [root@linus joerg]$ uptime Aug 28 14:36:02 23:35:38 up 72 days, 3:27, 0 users, load average: 1.00, 1.00, 1.00 Aug 28 14:36:12 vg Aug 28 14:36:24 hm, running native environment on the slug too Aug 28 14:36:48 i was logged in as root had a zip file in the root home dir and did rm lib* Aug 28 14:37:04 i'm quite sure i was in the the root home dir Aug 28 14:37:35 i wanted to compile libptp so I could write some code to auto import pictures from my cam Aug 28 14:38:21 oh well, i have reflashed before Aug 28 14:38:35 my slug also had the always on and turbo mods Aug 28 14:38:35 anyway, if you delete the contents of /lib, or /opt/lib, the slug should recognised the disk if it is hotplugged Aug 28 14:38:41 yes Aug 28 14:40:01 (and both lib and opt/lib are still there ...) Aug 28 14:40:18 with files in? Aug 28 14:40:21 yep Aug 28 14:40:39 do you happen to know what daemon proc does the auto mounting? Aug 28 14:41:08 smbd is running as is nmbd (although I do not know where the latter is for) Aug 28 14:41:43 so, not my evening, i'm dunno, what causes the problems, and, unfortunatly i've no ideas, anymore Aug 28 14:41:57 oh, imho, usb_detect Aug 28 14:42:18 hmm, that one is not running Aug 28 14:43:05 USB_Detect Aug 28 14:43:06 no usb_detect on the flash memory Aug 28 14:43:15 case sensitive Aug 28 14:43:53 or do_umount , not sure about that Aug 28 14:44:15 do_umount is running, also have /var/run/usb_det.pid Aug 28 14:44:23 no files with USB / Aug 28 14:44:52 usb_det.pid is from 21.50 Aug 28 14:45:16 last reboot is probably at 23.06 as the other files in /var/run are from that date Aug 28 14:45:22 should be two processes Aug 28 14:45:40 371 root 1876 S /usr/sbin/USB_Detect Aug 28 14:45:40 373 root 1872 S /usr/sbin/USB_Detect Aug 28 14:46:07 they are on the fs, but not running! Aug 28 14:46:46 yepp, pid should from last reboot Aug 28 14:47:30 GREAT!!!!!! Aug 28 14:47:39 what? Aug 28 14:48:07 just renamed usb_det.pid Aug 28 14:48:13 USB_Detect is called from /etc/rc.d/rc.quickset Aug 28 14:48:14 and started USB_Detect manually Aug 28 14:48:29 and it runs Aug 28 14:48:44 before renaming the pid file USB_Detect would simply return Aug 28 14:48:45 well, so its time to reboot with the disk attached Aug 28 14:49:09 I will, hang on Aug 28 14:49:35 its rebooting Aug 28 14:50:27 if this is successful, you could make an entry at the wiki, could be that other people running in the same problem Aug 28 14:50:36 ~nslu2-wiki Aug 28 14:50:37 it has been said that nslu2-wiki is the short-hand way of saying "Have a look at the NSLU2-Linux Wiki at http://www.nslu2-linux.org/". Aug 28 14:51:14 imho the faq section is a good place Aug 28 14:52:50 yup. Aug 28 14:53:03 just rebooted, the disk is recognised and automatically mounted Aug 28 14:53:08 nice Aug 28 14:53:19 no boot from the hd as .sda1root was removed Aug 28 14:53:22 just unslung again Aug 28 14:53:28 so many problems on one pid file, ts Aug 28 14:53:45 yup Aug 28 14:54:07 yippie, it worked Aug 28 14:54:25 ~emulate rwhitby Aug 28 14:54:25 just another satisfied customer Aug 28 14:54:28 :) Aug 28 14:55:20 thanks alot Aug 28 14:55:30 I'll update the wiki Aug 28 14:55:55 btw do you have a good pointer on how to set up a cross dev env? Aug 28 14:55:56 np. have learn too about the slug Aug 28 14:56:18 problem is my unix is quite rusty. used to program a lot in the 80's Aug 28 14:56:41 and it's machanismn Aug 28 14:57:25 same by me, started with sco and linux 0.9, and become a win user Aug 28 14:58:42 tried some linux versions between, but win is so comfortable (lol) and used at work primary Aug 28 14:59:01 unix v7 here (actually I might have a dangling photo copy of the lions book with the annotated v6 src) Aug 28 14:59:26 have been working on minix for 68000 (atari st) in the late 80's Aug 28 15:00:24 when i moved last year i clean up around 1 meter of sco manuals Aug 28 15:00:30 lol Aug 28 15:00:45 had a bunch of ultrix manuals, but discarded them a while ago Aug 28 15:00:53 morning ByronT_ Aug 28 15:01:13 paperless office ;-) Aug 28 15:02:59 yup Aug 28 15:03:06 leet's do the wiki and then go to sleep Aug 28 15:03:13 catch u later and thanks alot! Aug 28 15:03:15 well, heading off to bed now, have to go to hamburg tomorrow, 600km bidirectional, 7 hours on the road :-( Aug 28 15:03:35 good night Aug 28 15:17:37 caplink811_log if you are still there; the wiki has been changed Aug 28 15:17:48 good night and good travel tomorrow. Aug 28 15:17:50 bye Aug 28 15:18:21 ~praise Effem Aug 28 15:35:12 I'm having trouble accessing my slug from the internet Aug 28 15:36:00 I've enabled DMZ on my router to my wifi hub and DMZ from it to the slug Aug 28 15:36:45 when I type in the IP for my router I get a prompt for username and password Aug 28 15:37:16 I've tried all the usernames and passwords for the slug, router, and hub with no success **** ENDING LOGGING AT Mon Aug 29 02:59:56 2005