You are not logged in.
Pages: 1
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
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
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
-Add usb-storage and sd_mod to /etc/rc.conf
-Mount /dev/sda1
Offline
yes sorry did not pay attention /dev/discs/disc0/part1 is hda1 and not /dev/discs/disc1/part1 :
Offline
Offline
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
hotplug !
Mr Green
Offline
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
Thanks guys, got my mp3 player working, now off to do the cdwriter with hopefully the same result.
Offline
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
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
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
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
Ok got the script and ran it after the burner was reconized and recieve this
No SCSI host adapters found in sysfs
Ideas?
Offline
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
yes I created a script that loads all three modules in the correct order when run 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
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
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
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
Forgot to run the rescan-scsi-bus.sh script, after rerunning it my problem was solved. Thanks to everyone especially Xentac.
Offline
Pages: 1