You are not logged in.

#1 2004-03-07 05:45:41

LavaPunk
Member
Registered: 2004-03-05
Posts: 129

Arch questions round two

Ok I've been on arch for a very short time still, but have it nicely customized, and most everything I need setup.  Am really enjoying the speed, stability, and ease of use, while learning more than I knew before.  Now I'm just trying to get everything I had before in mandrake working here.

I have a ieee cd writer that I want to setup.  I might not have the correct modules in my kernel I suppose, but mainly I want to know where it should show up in /dev so that I can add a line to fstab for it.

Second I have an Archos Jukebox 6000, basically a removeable 6 gig usb hard drive.  In fstab I have this line added
"/dev/discs/disc1/part1 /mnt/mp3 vfat  user,noauto               0     0"
but "mount /mnt/mp3" returns this
mount: wrong fs type, bad option, bad superblock on /dev/discs/disc1/part1,
       or too many mounted file systems
How can I go about solving this?

Finally I have secured my box pretty nicely, nothing to fancy as it is a single user home desktop, but am happy with the security.  (linuxkungfu.org houses one of the easiest frontends to iptables imo).  I was wondering if there was a security guide for arch so to speak, sort of a "securing arch howto".  Just to compare my idea of secure against a developer.

Great distro though, boy is pacman nice!

Offline

#2 2004-03-07 09:51:28

calexico
Member
Registered: 2004-02-11
Posts: 32

Re: Arch questions round two

About the cd writer, you should look at : http://www.tldp.org/HOWTO/CD-Writing-HOWTO.html. With the 2.4 kernel, you had to start your kernel by passing :

hdb=ide-scsi

if your cdwriter was on hdb. However I think that it's no more necessary in the 2.6 kernel. I'm sure somebody will tell you.

About your jukebox, the line you added cannot correspond to it : /dev/discs/disc1/part1 is in fact /dev/hda1 which is the first partition of your first hard disk. What I recomment is :
- go to Mandrake
- plug your jukebox
- mount it
- look at /etc/mtab for the line and copy it in Arch

Offline

#3 2004-03-07 10:56:31

robot5x
Member
Registered: 2004-01-26
Posts: 266

Re: Arch questions round two

Re the cd writer, calexico is right - it is no longer necessary to use scsi-emulation when using an IDE cd -writer in kernel 2.6 - this thread has some tips -
http://bbs.archlinux.org/viewtopic.php? … +emulation
If it's just setting your drive under ftsab that you want - I have my first cdrom at /dev/cdroms/cdrom0., and my cd writer at /dev/cdroms/cdrom1.

About the usb drive - I have the same line in my fstab and it works fine for me, so it makes me think you don't have the correct modules loaded. To get it working I compiled scsi stuff in the kernel (sg, sr-mod, sg-mod), and then load uhci-hcd and usb-storage from rc.conf.
Hope it helps.

Offline

#4 2004-03-07 11:25:42

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Re: Arch questions round two

-Add usb-storage and sd_mod to /etc/rc.conf
-Mount /dev/sda1

Offline

#5 2004-03-07 11:26:09

calexico
Member
Registered: 2004-02-11
Posts: 32

Re: Arch questions round two

yes sorry did not pay attention /dev/discs/disc0/part1 is hda1 and not /dev/discs/disc1/part1 :

Offline

#6 2004-03-07 14:05:18

morphus
Member
From: Braunschweig
Registered: 2003-08-06
Posts: 145

Re: Arch questions round two

Offline

#7 2004-03-07 14:11:01

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Arch questions round two

he is not asking how to burn he is asking how to get his firewire cd burner working so i think LB06 is a little more on course.


AKA uknowme

I am not your friend

Offline

#8 2004-03-07 14:46:17

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Arch questions round two

hotplug !


Mr Green

Offline

#9 2004-03-07 15:11:00

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Arch questions round two

well i expect for the burner you would have to load some of the ieee modules that are in the kernel. i am not sure if hotplug handles it afterwards or you can control it with your fstab. i am not completely sure what form of naming it would take in the device tree if it appears there at all.


AKA uknowme

I am not your friend

Offline

#10 2004-03-07 16:48:14

LavaPunk
Member
Registered: 2004-03-05
Posts: 129

Re: Arch questions round two

Thanks guys, got my mp3 player working, now off to do the cdwriter with hopefully the same result.

Offline

#11 2004-03-07 17:02:59

LavaPunk
Member
Registered: 2004-03-05
Posts: 129

Re: Arch questions round two

Ok I see a problem already, to burn anything my burner needs to be reconized.  So to repeat it isn't... yet.

"cdrecord -scanbus" returns this
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'

While "cdrecord dev=ATAPI -scanbus" finds only my cdrom drive.

in mandrake my cd writer is under "/dev/scd0" in mtab if that helps... and I havn't edited my fstab at all to add my burner... so perhaps I need too?

Offline

#12 2004-03-07 19:12:11

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Arch questions round two

The modules you need for an ieee cd burner are ieee1394, ohci1394 (or whatever your 1394 bus is), and sbp2.  You may also have to use rescan-scsi-bus.sh to actually get access to that drive after loading the modules (it'll say it found it in dmesg, but there will be no way to actually acces it... the scsi bus needs to be updated).

I have a sony vaio and that's what I have to use.  It's an ieee cd burner.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#13 2004-03-07 19:50:27

LavaPunk
Member
Registered: 2004-03-05
Posts: 129

Re: Arch questions round two

Ok I have a kernel recompile with the correct modules, modprobed them and as you said I recieved this in dmesg

ohci1394: fw-host0: SelfID received, but NodeID invalid (probably new bus reset occurred): 0800FFC0

cdrecord -scanbus returns the same stuff as before.  So now it's reconized, how can I set it up?

Offline

#14 2004-03-07 19:51:50

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Arch questions round two

are you using 2.6 or 2.4?  Last I heard, 2.4 needed patching, but anyway...

You need to get the rescan-scsi-bus.sh script and run that to get the scsi device to show up.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#15 2004-03-07 20:43:56

LavaPunk
Member
Registered: 2004-03-05
Posts: 129

Re: Arch questions round two

Ok got the script and ran it after the burner was reconized and recieve this

No SCSI host adapters found in sysfs

Ideas?

Offline

#16 2004-03-07 20:53:12

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Arch questions round two

Did you actually load the sbp2 module?


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#17 2004-03-07 22:28:16

LavaPunk
Member
Registered: 2004-03-05
Posts: 129

Re: Arch questions round two

yes I created a script that loads all three modules in the correct order when run smile  and to make sure I ran the script that "modprobe sbp2" and it was already in the kernel.  Perhaps I need to start the burner, then load the modules?

Offline

#18 2004-03-07 22:36:25

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Arch questions round two

The burner does need to be connected and on before any module loading.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#19 2004-03-07 22:43:09

LavaPunk
Member
Registered: 2004-03-05
Posts: 129

Re: Arch questions round two

ah well that helps a bit.  I turned it on, then ran my script and checked dmesg, it showed this

ohci1394: $Rev: 1097 $ Ben Collins <bcollins@debian.org>
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[11]  MMIO=[ff1ff800-ff1fffff]  Max Packet=[2048]
sbp2: $Rev: 1096 $ Ben Collins <bcollins@debian.org>
ieee1394: Node added: ID:BUS[0-00:1023]  GUID[00d04b010704411e]
ieee1394: Host added: ID:BUS[0-01:1023]  GUID[005042d11202f39c]
scsi0 : SCSI emulation for IEEE-1394 SBP-2 Devices
ieee1394: sbp2: Node 0-00:1023: Using 36byte inquiry workaround
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048]
  Vendor: LACIE     Model: CDBP-241040A      Rev: 6.34
  Type:   CD-ROM                             ANSI SCSI revision: 02

But when I ran "cdrecord -scanbus" I recieved the same error message...

Offline

#20 2004-03-07 22:48:12

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Arch questions round two

Two ideas: load sg, sd_mod, and sr_mod...

If that doesn't work, then you need to run the rescan-scsi-bus.sh script (when you see those two lines at the very end of your dmesg it's good).


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#21 2004-03-07 22:58:42

LavaPunk
Member
Registered: 2004-03-05
Posts: 129

Re: Arch questions round two

Forgot to run the rescan-scsi-bus.sh script, after rerunning it my problem was solved.  Thanks to everyone especially Xentac.

Offline

Board footer

Powered by FluxBB